Annotation of nono/configure, revision 1.1.1.19

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.15  root        3: # Generated by GNU Autoconf 2.72 for nono 0.0.
1.1       root        4: #
                      5: #
1.1.1.15  root        6: # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
1.1.1.10  root        7: # Inc.
1.1       root        8: #
                      9: #
                     10: # This configure script is free software; the Free Software Foundation
                     11: # gives unlimited permission to copy, distribute and modify it.
                     12: ## -------------------- ##
                     13: ## M4sh Initialization. ##
                     14: ## -------------------- ##
                     15: 
                     16: # Be more Bourne compatible
                     17: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10  root       18: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                     19: then :
1.1       root       20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
1.1.1.15  root       26: else case e in #(
                     27:   e) case `(set -o) 2>/dev/null` in #(
1.1       root       28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.1.1.15  root       32: esac ;;
1.1       root       33: esac
                     34: fi
                     35: 
                     36: 
1.1.1.10  root       37: 
                     38: # Reset variables that may have inherited troublesome values from
                     39: # the environment.
                     40: 
                     41: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                     42: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                     43: # side effect of setting IFS to empty, thus disabling word splitting.)
                     44: # Quoting is to prevent editors from complaining about space-tab.
1.1       root       45: as_nl='
                     46: '
                     47: export as_nl
1.1.1.10  root       48: IFS=" ""       $as_nl"
                     49: 
                     50: PS1='$ '
                     51: PS2='> '
                     52: PS4='+ '
                     53: 
                     54: # Ensure predictable behavior from utilities with locale-dependent output.
                     55: LC_ALL=C
                     56: export LC_ALL
                     57: LANGUAGE=C
                     58: export LANGUAGE
                     59: 
                     60: # We cannot yet rely on "unset" to work, but we need these variables
                     61: # to be unset--not just set to an empty or harmless value--now, to
                     62: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                     63: # also avoids known problems related to "unset" and subshell syntax
                     64: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                     65: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                     66: do eval test \${$as_var+y} \
                     67:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                     68: done
                     69: 
                     70: # Ensure that fds 0, 1, and 2 are open.
                     71: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                     72: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                     73: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root       74: 
                     75: # The user is always right.
1.1.1.10  root       76: if ${PATH_SEPARATOR+false} :; then
1.1       root       77:   PATH_SEPARATOR=:
                     78:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     79:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     80:       PATH_SEPARATOR=';'
                     81:   }
                     82: fi
                     83: 
                     84: 
                     85: # Find who we are.  Look in the path if we contain no directory separator.
                     86: as_myself=
                     87: case $0 in #((
                     88:   *[\\/]* ) as_myself=$0 ;;
                     89:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     90: for as_dir in $PATH
                     91: do
                     92:   IFS=$as_save_IFS
1.1.1.10  root       93:   case $as_dir in #(((
                     94:     '') as_dir=./ ;;
                     95:     */) ;;
                     96:     *) as_dir=$as_dir/ ;;
                     97:   esac
                     98:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root       99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
1.1.1.15  root      104: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.1       root      105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
1.1.1.10  root      110:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root      111:   exit 1
                    112: fi
                    113: 
                    114: 
                    115: # Use a proper internal environment variable to ensure we don't fall
                    116:   # into an infinite loop, continuously re-executing ourselves.
                    117:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    118:     _as_can_reexec=no; export _as_can_reexec;
                    119:     # We cannot yet assume a decent shell, so we have to provide a
                    120: # neutralization value for shells without unset; and this also
                    121: # works around shells that cannot unset nonexistent variables.
                    122: # Preserve -v and -x to the replacement shell.
                    123: BASH_ENV=/dev/null
                    124: ENV=/dev/null
                    125: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    126: case $- in # ((((
                    127:   *v*x* | *x*v* ) as_opts=-vx ;;
                    128:   *v* ) as_opts=-v ;;
                    129:   *x* ) as_opts=-x ;;
                    130:   * ) as_opts= ;;
                    131: esac
                    132: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    133: # Admittedly, this is quite paranoid, since all the known shells bail
1.1.1.15  root      134: # out after a failed 'exec'.
1.1.1.10  root      135: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
                    136: exit 255
1.1       root      137:   fi
                    138:   # We don't want this to propagate to other subprocesses.
                    139:           { _as_can_reexec=; unset _as_can_reexec;}
                    140: if test "x$CONFIG_SHELL" = x; then
1.1.1.15  root      141:   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1.1.1.10  root      142: then :
1.1       root      143:   emulate sh
                    144:   NULLCMD=:
                    145:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    146:   # is contrary to our usage.  Disable this feature.
                    147:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    148:   setopt NO_GLOB_SUBST
1.1.1.15  root      149: else case e in #(
                    150:   e) case \`(set -o) 2>/dev/null\` in #(
1.1       root      151:   *posix*) :
                    152:     set -o posix ;; #(
                    153:   *) :
                    154:      ;;
1.1.1.15  root      155: esac ;;
1.1       root      156: esac
                    157: fi
                    158: "
                    159:   as_required="as_fn_return () { (exit \$1); }
                    160: as_fn_success () { as_fn_return 0; }
                    161: as_fn_failure () { as_fn_return 1; }
                    162: as_fn_ret_success () { return 0; }
                    163: as_fn_ret_failure () { return 1; }
                    164: 
                    165: exitcode=0
                    166: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    167: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    168: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    169: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1.1.1.10  root      170: if ( set x; as_fn_ret_success y && test x = \"\$1\" )
                    171: then :
1.1       root      172: 
1.1.1.15  root      173: else case e in #(
                    174:   e) exitcode=1; echo positional parameters were not saved. ;;
                    175: esac
1.1       root      176: fi
                    177: test x\$exitcode = x0 || exit 1
1.1.1.10  root      178: blah=\$(echo \$(echo blah))
                    179: test x\"\$blah\" = xblah || exit 1
1.1       root      180: test -x / || exit 1"
                    181:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    182:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    183:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1.1.1.10  root      184:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
                    185:   if (eval "$as_required") 2>/dev/null
                    186: then :
1.1       root      187:   as_have_required=yes
1.1.1.15  root      188: else case e in #(
                    189:   e) as_have_required=no ;;
                    190: esac
1.1       root      191: fi
1.1.1.10  root      192:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
                    193: then :
1.1       root      194: 
1.1.1.15  root      195: else case e in #(
                    196:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       root      197: as_found=false
                    198: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    199: do
                    200:   IFS=$as_save_IFS
1.1.1.10  root      201:   case $as_dir in #(((
                    202:     '') as_dir=./ ;;
                    203:     */) ;;
                    204:     *) as_dir=$as_dir/ ;;
                    205:   esac
1.1       root      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.
1.1.1.10  root      211:             as_shell=$as_dir$as_base
1.1       root      212:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1.1.1.10  root      213:                    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
                    214: then :
1.1       root      215:   CONFIG_SHELL=$as_shell as_have_required=yes
1.1.1.10  root      216:                   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
                    217: then :
1.1       root      218:   break 2
                    219: fi
                    220: fi
                    221:           done;;
                    222:        esac
                    223:   as_found=false
                    224: done
                    225: IFS=$as_save_IFS
1.1.1.10  root      226: if $as_found
                    227: then :
                    228: 
1.1.1.15  root      229: else case e in #(
                    230:   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
1.1.1.10  root      231:              as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
                    232: then :
                    233:   CONFIG_SHELL=$SHELL as_have_required=yes
1.1.1.15  root      234: fi ;;
                    235: esac
1.1.1.10  root      236: fi
1.1       root      237: 
                    238: 
1.1.1.10  root      239:       if test "x$CONFIG_SHELL" != x
                    240: then :
1.1       root      241:   export CONFIG_SHELL
                    242:              # We cannot yet assume a decent shell, so we have to provide a
                    243: # neutralization value for shells without unset; and this also
                    244: # works around shells that cannot unset nonexistent variables.
                    245: # Preserve -v and -x to the replacement shell.
                    246: BASH_ENV=/dev/null
                    247: ENV=/dev/null
                    248: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    249: case $- in # ((((
                    250:   *v*x* | *x*v* ) as_opts=-vx ;;
                    251:   *v* ) as_opts=-v ;;
                    252:   *x* ) as_opts=-x ;;
                    253:   * ) as_opts= ;;
                    254: esac
                    255: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    256: # Admittedly, this is quite paranoid, since all the known shells bail
1.1.1.15  root      257: # out after a failed 'exec'.
1.1.1.10  root      258: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1.1       root      259: exit 255
                    260: fi
                    261: 
1.1.1.10  root      262:     if test x$as_have_required = xno
                    263: then :
                    264:   printf "%s\n" "$0: This script requires a shell more modern than all"
                    265:   printf "%s\n" "$0: the shells that I found on your system."
                    266:   if test ${ZSH_VERSION+y} ; then
                    267:     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    268:     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
1.1       root      269:   else
1.1.1.10  root      270:     printf "%s\n" "$0: Please tell [email protected] about your system,
1.1       root      271: $0: including any error possibly output before this
                    272: $0: message. Then install a modern shell, or manually run
                    273: $0: the script under such a shell if you do have one."
                    274:   fi
                    275:   exit 1
1.1.1.15  root      276: fi ;;
                    277: esac
1.1       root      278: fi
                    279: fi
                    280: SHELL=${CONFIG_SHELL-/bin/sh}
                    281: export SHELL
                    282: # Unset more variables known to interfere with behavior of common tools.
                    283: CLICOLOR_FORCE= GREP_OPTIONS=
                    284: unset CLICOLOR_FORCE GREP_OPTIONS
                    285: 
                    286: ## --------------------- ##
                    287: ## M4sh Shell Functions. ##
                    288: ## --------------------- ##
                    289: # as_fn_unset VAR
                    290: # ---------------
                    291: # Portably unset VAR.
                    292: as_fn_unset ()
                    293: {
                    294:   { eval $1=; unset $1;}
                    295: }
                    296: as_unset=as_fn_unset
                    297: 
1.1.1.10  root      298: 
1.1       root      299: # as_fn_set_status STATUS
                    300: # -----------------------
                    301: # Set $? to STATUS, without forking.
                    302: as_fn_set_status ()
                    303: {
                    304:   return $1
                    305: } # as_fn_set_status
                    306: 
                    307: # as_fn_exit STATUS
                    308: # -----------------
                    309: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    310: as_fn_exit ()
                    311: {
                    312:   set +e
                    313:   as_fn_set_status $1
                    314:   exit $1
                    315: } # as_fn_exit
                    316: 
                    317: # as_fn_mkdir_p
                    318: # -------------
                    319: # Create "$as_dir" as a directory, including parents if necessary.
                    320: as_fn_mkdir_p ()
                    321: {
                    322: 
                    323:   case $as_dir in #(
                    324:   -*) as_dir=./$as_dir;;
                    325:   esac
                    326:   test -d "$as_dir" || eval $as_mkdir_p || {
                    327:     as_dirs=
                    328:     while :; do
                    329:       case $as_dir in #(
1.1.1.10  root      330:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root      331:       *) as_qdir=$as_dir;;
                    332:       esac
                    333:       as_dirs="'$as_qdir' $as_dirs"
                    334:       as_dir=`$as_dirname -- "$as_dir" ||
                    335: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    336:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    337:         X"$as_dir" : 'X\(//\)$' \| \
                    338:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root      339: printf "%s\n" X"$as_dir" |
1.1       root      340:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    341:            s//\1/
                    342:            q
                    343:          }
                    344:          /^X\(\/\/\)[^/].*/{
                    345:            s//\1/
                    346:            q
                    347:          }
                    348:          /^X\(\/\/\)$/{
                    349:            s//\1/
                    350:            q
                    351:          }
                    352:          /^X\(\/\).*/{
                    353:            s//\1/
                    354:            q
                    355:          }
                    356:          s/.*/./; q'`
                    357:       test -d "$as_dir" && break
                    358:     done
                    359:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    360:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    361: 
                    362: 
                    363: } # as_fn_mkdir_p
                    364: 
                    365: # as_fn_executable_p FILE
                    366: # -----------------------
                    367: # Test if FILE is an executable regular file.
                    368: as_fn_executable_p ()
                    369: {
                    370:   test -f "$1" && test -x "$1"
                    371: } # as_fn_executable_p
                    372: # as_fn_append VAR VALUE
                    373: # ----------------------
                    374: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    375: # advantage of any shell optimizations that allow amortized linear growth over
                    376: # repeated appends, instead of the typical quadratic growth present in naive
                    377: # implementations.
1.1.1.10  root      378: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                    379: then :
1.1       root      380:   eval 'as_fn_append ()
                    381:   {
                    382:     eval $1+=\$2
                    383:   }'
1.1.1.15  root      384: else case e in #(
                    385:   e) as_fn_append ()
1.1       root      386:   {
                    387:     eval $1=\$$1\$2
1.1.1.15  root      388:   } ;;
                    389: esac
1.1       root      390: fi # as_fn_append
                    391: 
                    392: # as_fn_arith ARG...
                    393: # ------------------
                    394: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    395: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    396: # must be portable across $(()) and expr.
1.1.1.10  root      397: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                    398: then :
1.1       root      399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
1.1.1.15  root      403: else case e in #(
                    404:   e) as_fn_arith ()
1.1       root      405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
1.1.1.15  root      407:   } ;;
                    408: esac
1.1       root      409: fi # as_fn_arith
                    410: 
                    411: 
                    412: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    413: # ----------------------------------------
                    414: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    415: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    416: # script with STATUS, using 1 if that was 0.
                    417: as_fn_error ()
                    418: {
                    419:   as_status=$1; test $as_status -eq 0 && as_status=1
                    420:   if test "$4"; then
                    421:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root      422:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root      423:   fi
1.1.1.10  root      424:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root      425:   as_fn_exit $as_status
                    426: } # as_fn_error
                    427: 
                    428: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    429:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    430:   as_expr=expr
                    431: else
                    432:   as_expr=false
                    433: fi
                    434: 
                    435: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    436:   as_basename=basename
                    437: else
                    438:   as_basename=false
                    439: fi
                    440: 
                    441: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    442:   as_dirname=dirname
                    443: else
                    444:   as_dirname=false
                    445: fi
                    446: 
                    447: as_me=`$as_basename -- "$0" ||
                    448: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    449:         X"$0" : 'X\(//\)$' \| \
                    450:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root      451: printf "%s\n" X/"$0" |
1.1       root      452:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    453:            s//\1/
                    454:            q
                    455:          }
                    456:          /^X\/\(\/\/\)$/{
                    457:            s//\1/
                    458:            q
                    459:          }
                    460:          /^X\/\(\/\).*/{
                    461:            s//\1/
                    462:            q
                    463:          }
                    464:          s/.*/./; q'`
                    465: 
                    466: # Avoid depending upon Character Ranges.
                    467: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    468: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    469: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    470: as_cr_digits='0123456789'
                    471: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    472: 
                    473: 
                    474:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    475:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    476:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    477:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    478:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    479:   sed -n '
                    480:     p
                    481:     /[$]LINENO/=
                    482:   ' <$as_myself |
                    483:     sed '
1.1.1.15  root      484:       t clear
                    485:       :clear
1.1       root      486:       s/[$]LINENO.*/&-/
                    487:       t lineno
                    488:       b
                    489:       :lineno
                    490:       N
                    491:       :loop
                    492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    493:       t loop
                    494:       s/-\n.*//
                    495:     ' >$as_me.lineno &&
                    496:   chmod +x "$as_me.lineno" ||
1.1.1.10  root      497:     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       root      498: 
                    499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    500:   # already done that, so ensure we don't try to do so again and fall
                    501:   # in an infinite loop.  This has already happened in practice.
                    502:   _as_can_reexec=no; export _as_can_reexec
                    503:   # Don't try to exec as it changes $[0], causing all sort of problems
                    504:   # (the dirname of $[0] is not the place where we might find the
                    505:   # original and so on.  Autoconf is especially sensitive to this).
                    506:   . "./$as_me.lineno"
                    507:   # Exit status is that of the last command.
                    508:   exit
                    509: }
                    510: 
1.1.1.10  root      511: 
                    512: # Determine whether it's possible to make 'echo' print without a newline.
                    513: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                    514: # for compatibility with existing Makefiles.
1.1       root      515: ECHO_C= ECHO_N= ECHO_T=
                    516: case `echo -n x` in #(((((
                    517: -n*)
                    518:   case `echo 'xy\c'` in
                    519:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    520:   xy)  ECHO_C='\c';;
                    521:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    522:        ECHO_T='        ';;
                    523:   esac;;
                    524: *)
                    525:   ECHO_N='-n';;
                    526: esac
                    527: 
1.1.1.10  root      528: # For backward compatibility with old third-party macros, we provide
                    529: # the shell variables $as_echo and $as_echo_n.  New code should use
                    530: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                    531: as_echo='printf %s\n'
                    532: as_echo_n='printf %s'
                    533: 
1.1       root      534: rm -f conf$$ conf$$.exe conf$$.file
                    535: if test -d conf$$.dir; then
                    536:   rm -f conf$$.dir/conf$$.file
                    537: else
                    538:   rm -f conf$$.dir
                    539:   mkdir conf$$.dir 2>/dev/null
                    540: fi
                    541: if (echo >conf$$.file) 2>/dev/null; then
                    542:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    543:     as_ln_s='ln -s'
                    544:     # ... but there are two gotchas:
1.1.1.15  root      545:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                    546:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                    547:     # In both cases, we have to default to 'cp -pR'.
1.1       root      548:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    549:       as_ln_s='cp -pR'
                    550:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    551:     as_ln_s=ln
                    552:   else
                    553:     as_ln_s='cp -pR'
                    554:   fi
                    555: else
                    556:   as_ln_s='cp -pR'
                    557: fi
                    558: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    559: rmdir conf$$.dir 2>/dev/null
                    560: 
                    561: if mkdir -p . 2>/dev/null; then
                    562:   as_mkdir_p='mkdir -p "$as_dir"'
                    563: else
                    564:   test -d ./-p && rmdir ./-p
                    565:   as_mkdir_p=false
                    566: fi
                    567: 
                    568: as_test_x='test -x'
                    569: as_executable_p=as_fn_executable_p
                    570: 
                    571: # Sed expression to map a string onto a valid CPP name.
1.1.1.15  root      572: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    573: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.1       root      574: 
                    575: # Sed expression to map a string onto a valid variable name.
1.1.1.15  root      576: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    577: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.1       root      578: 
                    579: 
                    580: test -n "$DJDIR" || exec 7<&0 </dev/null
                    581: exec 6>&1
                    582: 
                    583: # Name of the host.
                    584: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    585: # so uname gets run too.
                    586: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    587: 
                    588: #
                    589: # Initializations.
                    590: #
                    591: ac_default_prefix=/usr/local
                    592: ac_clean_files=
                    593: ac_config_libobj_dir=.
                    594: LIBOBJS=
                    595: cross_compiling=no
                    596: subdirs=
                    597: MFLAGS=
                    598: MAKEFLAGS=
                    599: 
                    600: # Identity of this package.
1.1.1.3   root      601: PACKAGE_NAME='nono'
                    602: PACKAGE_TARNAME='nono'
1.1       root      603: PACKAGE_VERSION='0.0'
1.1.1.3   root      604: PACKAGE_STRING='nono 0.0'
1.1       root      605: PACKAGE_BUGREPORT=''
                    606: PACKAGE_URL=''
                    607: 
                    608: ac_unique_file="wx/wxapp.cpp"
                    609: # Factoring default headers for most tests.
                    610: ac_includes_default="\
1.1.1.10  root      611: #include <stddef.h>
                    612: #ifdef HAVE_STDIO_H
                    613: # include <stdio.h>
1.1       root      614: #endif
1.1.1.10  root      615: #ifdef HAVE_STDLIB_H
1.1       root      616: # include <stdlib.h>
                    617: #endif
                    618: #ifdef HAVE_STRING_H
                    619: # include <string.h>
                    620: #endif
                    621: #ifdef HAVE_INTTYPES_H
                    622: # include <inttypes.h>
                    623: #endif
                    624: #ifdef HAVE_STDINT_H
                    625: # include <stdint.h>
                    626: #endif
1.1.1.10  root      627: #ifdef HAVE_STRINGS_H
                    628: # include <strings.h>
                    629: #endif
                    630: #ifdef HAVE_SYS_TYPES_H
                    631: # include <sys/types.h>
                    632: #endif
                    633: #ifdef HAVE_SYS_STAT_H
                    634: # include <sys/stat.h>
                    635: #endif
1.1       root      636: #ifdef HAVE_UNISTD_H
                    637: # include <unistd.h>
                    638: #endif"
                    639: 
1.1.1.10  root      640: ac_header_cxx_list=
1.1       root      641: ac_subst_vars='LTLIBOBJS
                    642: LIBOBJS
1.1.1.17  root      643: LIBS_ICONV
                    644: CPPFLAGS_ICONV
1.1.1.5   root      645: MSGFMT
1.1.1.17  root      646: LIBS_WXWIDGETS
                    647: CPPFLAGS_WXWIDGETS
1.1.1.10  root      648: WITH_GUI
1.1.1.14  root      649: WX_MAJORMINOR
1.1.1.19! root      650: LIBS_SOUND
        !           651: HOSTSOUND_SNDIO
        !           652: HOSTSOUND_NETBSD
        !           653: HOSTSOUND_ALSA
1.1.1.17  root      654: LIBS_SLIRP
                    655: CPPFLAGS_SLIRP
1.1.1.16  root      656: HOSTNET_SLIRP
1.1.1.8   root      657: HOSTNET_BPF
                    658: HOSTNET_TAP
                    659: HOSTNET_AFPACKET
1.1.1.15  root      660: HOST_HAS_NEON
1.1.1.14  root      661: HOST_HAS_AVX2
1.1.1.3   root      662: WARNFLAGS_CXX
                    663: WARNFLAGS_C
1.1.1.4   root      664: COMPILER
1.1.1.6   root      665: host_os
                    666: host_vendor
                    667: host_cpu
                    668: host
                    669: build_os
                    670: build_vendor
                    671: build_cpu
                    672: build
1.1.1.3   root      673: INSTALL_DATA
                    674: INSTALL_SCRIPT
                    675: INSTALL_PROGRAM
1.1       root      676: ac_ct_CC
                    677: CFLAGS
                    678: CC
                    679: OBJEXT
                    680: EXEEXT
                    681: ac_ct_CXX
                    682: CPPFLAGS
                    683: LDFLAGS
                    684: CXXFLAGS
                    685: CXX
                    686: target_alias
                    687: host_alias
                    688: build_alias
                    689: LIBS
                    690: ECHO_T
                    691: ECHO_N
                    692: ECHO_C
                    693: DEFS
                    694: mandir
                    695: localedir
                    696: libdir
                    697: psdir
                    698: pdfdir
                    699: dvidir
                    700: htmldir
                    701: infodir
                    702: docdir
                    703: oldincludedir
                    704: includedir
1.1.1.10  root      705: runstatedir
1.1       root      706: localstatedir
                    707: sharedstatedir
                    708: sysconfdir
                    709: datadir
                    710: datarootdir
                    711: libexecdir
                    712: sbindir
                    713: bindir
                    714: program_transform_name
                    715: prefix
                    716: exec_prefix
                    717: PACKAGE_URL
                    718: PACKAGE_BUGREPORT
                    719: PACKAGE_STRING
                    720: PACKAGE_VERSION
                    721: PACKAGE_TARNAME
                    722: PACKAGE_NAME
                    723: PATH_SEPARATOR
                    724: SHELL'
                    725: ac_subst_files=''
                    726: ac_user_opts='
                    727: enable_option_checking
1.1.1.14  root      728: enable_avx2
1.1.1.15  root      729: enable_neon
1.1.1.16  root      730: with_libslirp
1.1.1.19! root      731: with_alsa
1.1.1.10  root      732: with_gui
1.1       root      733: '
                    734:       ac_precious_vars='build_alias
                    735: host_alias
                    736: target_alias
                    737: CXX
                    738: CXXFLAGS
                    739: LDFLAGS
                    740: LIBS
                    741: CPPFLAGS
                    742: CCC
                    743: CC
1.1.1.10  root      744: CFLAGS'
1.1       root      745: 
                    746: 
                    747: # Initialize some variables set by options.
                    748: ac_init_help=
                    749: ac_init_version=false
                    750: ac_unrecognized_opts=
                    751: ac_unrecognized_sep=
                    752: # The variables have the same names as the options, with
                    753: # dashes changed to underlines.
                    754: cache_file=/dev/null
                    755: exec_prefix=NONE
                    756: no_create=
                    757: no_recursion=
                    758: prefix=NONE
                    759: program_prefix=NONE
                    760: program_suffix=NONE
                    761: program_transform_name=s,x,x,
                    762: silent=
                    763: site=
                    764: srcdir=
                    765: verbose=
                    766: x_includes=NONE
                    767: x_libraries=NONE
                    768: 
                    769: # Installation directory options.
                    770: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    771: # and all the variables that are supposed to be based on exec_prefix
                    772: # by default will actually change.
                    773: # Use braces instead of parens because sh, perl, etc. also accept them.
                    774: # (The list follows the same order as the GNU Coding Standards.)
                    775: bindir='${exec_prefix}/bin'
                    776: sbindir='${exec_prefix}/sbin'
                    777: libexecdir='${exec_prefix}/libexec'
                    778: datarootdir='${prefix}/share'
                    779: datadir='${datarootdir}'
                    780: sysconfdir='${prefix}/etc'
                    781: sharedstatedir='${prefix}/com'
                    782: localstatedir='${prefix}/var'
1.1.1.10  root      783: runstatedir='${localstatedir}/run'
1.1       root      784: includedir='${prefix}/include'
                    785: oldincludedir='/usr/include'
                    786: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    787: infodir='${datarootdir}/info'
                    788: htmldir='${docdir}'
                    789: dvidir='${docdir}'
                    790: pdfdir='${docdir}'
                    791: psdir='${docdir}'
                    792: libdir='${exec_prefix}/lib'
                    793: localedir='${datarootdir}/locale'
                    794: mandir='${datarootdir}/man'
                    795: 
                    796: ac_prev=
                    797: ac_dashdash=
                    798: for ac_option
                    799: do
                    800:   # If the previous option needs an argument, assign it.
                    801:   if test -n "$ac_prev"; then
                    802:     eval $ac_prev=\$ac_option
                    803:     ac_prev=
                    804:     continue
                    805:   fi
                    806: 
                    807:   case $ac_option in
                    808:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    809:   *=)   ac_optarg= ;;
                    810:   *)    ac_optarg=yes ;;
                    811:   esac
                    812: 
                    813:   case $ac_dashdash$ac_option in
                    814:   --)
                    815:     ac_dashdash=yes ;;
                    816: 
                    817:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    818:     ac_prev=bindir ;;
                    819:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    820:     bindir=$ac_optarg ;;
                    821: 
                    822:   -build | --build | --buil | --bui | --bu)
                    823:     ac_prev=build_alias ;;
                    824:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    825:     build_alias=$ac_optarg ;;
                    826: 
                    827:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    828:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    829:     ac_prev=cache_file ;;
                    830:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    831:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    832:     cache_file=$ac_optarg ;;
                    833: 
                    834:   --config-cache | -C)
                    835:     cache_file=config.cache ;;
                    836: 
                    837:   -datadir | --datadir | --datadi | --datad)
                    838:     ac_prev=datadir ;;
                    839:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    840:     datadir=$ac_optarg ;;
                    841: 
                    842:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    843:   | --dataroo | --dataro | --datar)
                    844:     ac_prev=datarootdir ;;
                    845:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    846:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    847:     datarootdir=$ac_optarg ;;
                    848: 
                    849:   -disable-* | --disable-*)
                    850:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    851:     # Reject names that are not valid shell variable names.
                    852:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root      853:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.1       root      854:     ac_useropt_orig=$ac_useropt
1.1.1.10  root      855:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      856:     case $ac_user_opts in
                    857:       *"
                    858: "enable_$ac_useropt"
                    859: "*) ;;
                    860:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    861:         ac_unrecognized_sep=', ';;
                    862:     esac
                    863:     eval enable_$ac_useropt=no ;;
                    864: 
                    865:   -docdir | --docdir | --docdi | --doc | --do)
                    866:     ac_prev=docdir ;;
                    867:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    868:     docdir=$ac_optarg ;;
                    869: 
                    870:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    871:     ac_prev=dvidir ;;
                    872:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    873:     dvidir=$ac_optarg ;;
                    874: 
                    875:   -enable-* | --enable-*)
                    876:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    877:     # Reject names that are not valid shell variable names.
                    878:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root      879:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.1       root      880:     ac_useropt_orig=$ac_useropt
1.1.1.10  root      881:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      882:     case $ac_user_opts in
                    883:       *"
                    884: "enable_$ac_useropt"
                    885: "*) ;;
                    886:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    887:         ac_unrecognized_sep=', ';;
                    888:     esac
                    889:     eval enable_$ac_useropt=\$ac_optarg ;;
                    890: 
                    891:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    892:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    893:   | --exec | --exe | --ex)
                    894:     ac_prev=exec_prefix ;;
                    895:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    896:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    897:   | --exec=* | --exe=* | --ex=*)
                    898:     exec_prefix=$ac_optarg ;;
                    899: 
                    900:   -gas | --gas | --ga | --g)
                    901:     # Obsolete; use --with-gas.
                    902:     with_gas=yes ;;
                    903: 
                    904:   -help | --help | --hel | --he | -h)
                    905:     ac_init_help=long ;;
                    906:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    907:     ac_init_help=recursive ;;
                    908:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    909:     ac_init_help=short ;;
                    910: 
                    911:   -host | --host | --hos | --ho)
                    912:     ac_prev=host_alias ;;
                    913:   -host=* | --host=* | --hos=* | --ho=*)
                    914:     host_alias=$ac_optarg ;;
                    915: 
                    916:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    917:     ac_prev=htmldir ;;
                    918:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    919:   | --ht=*)
                    920:     htmldir=$ac_optarg ;;
                    921: 
                    922:   -includedir | --includedir | --includedi | --included | --include \
                    923:   | --includ | --inclu | --incl | --inc)
                    924:     ac_prev=includedir ;;
                    925:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    926:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    927:     includedir=$ac_optarg ;;
                    928: 
                    929:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    930:     ac_prev=infodir ;;
                    931:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    932:     infodir=$ac_optarg ;;
                    933: 
                    934:   -libdir | --libdir | --libdi | --libd)
                    935:     ac_prev=libdir ;;
                    936:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    937:     libdir=$ac_optarg ;;
                    938: 
                    939:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    940:   | --libexe | --libex | --libe)
                    941:     ac_prev=libexecdir ;;
                    942:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    943:   | --libexe=* | --libex=* | --libe=*)
                    944:     libexecdir=$ac_optarg ;;
                    945: 
                    946:   -localedir | --localedir | --localedi | --localed | --locale)
                    947:     ac_prev=localedir ;;
                    948:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    949:     localedir=$ac_optarg ;;
                    950: 
                    951:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    952:   | --localstate | --localstat | --localsta | --localst | --locals)
                    953:     ac_prev=localstatedir ;;
                    954:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    955:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    956:     localstatedir=$ac_optarg ;;
                    957: 
                    958:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    959:     ac_prev=mandir ;;
                    960:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    961:     mandir=$ac_optarg ;;
                    962: 
                    963:   -nfp | --nfp | --nf)
                    964:     # Obsolete; use --without-fp.
                    965:     with_fp=no ;;
                    966: 
                    967:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    968:   | --no-cr | --no-c | -n)
                    969:     no_create=yes ;;
                    970: 
                    971:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    972:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    973:     no_recursion=yes ;;
                    974: 
                    975:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    976:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    977:   | --oldin | --oldi | --old | --ol | --o)
                    978:     ac_prev=oldincludedir ;;
                    979:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    980:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    981:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    982:     oldincludedir=$ac_optarg ;;
                    983: 
                    984:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    985:     ac_prev=prefix ;;
                    986:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    987:     prefix=$ac_optarg ;;
                    988: 
                    989:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    990:   | --program-pre | --program-pr | --program-p)
                    991:     ac_prev=program_prefix ;;
                    992:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    993:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    994:     program_prefix=$ac_optarg ;;
                    995: 
                    996:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    997:   | --program-suf | --program-su | --program-s)
                    998:     ac_prev=program_suffix ;;
                    999:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1000:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1001:     program_suffix=$ac_optarg ;;
                   1002: 
                   1003:   -program-transform-name | --program-transform-name \
                   1004:   | --program-transform-nam | --program-transform-na \
                   1005:   | --program-transform-n | --program-transform- \
                   1006:   | --program-transform | --program-transfor \
                   1007:   | --program-transfo | --program-transf \
                   1008:   | --program-trans | --program-tran \
                   1009:   | --progr-tra | --program-tr | --program-t)
                   1010:     ac_prev=program_transform_name ;;
                   1011:   -program-transform-name=* | --program-transform-name=* \
                   1012:   | --program-transform-nam=* | --program-transform-na=* \
                   1013:   | --program-transform-n=* | --program-transform-=* \
                   1014:   | --program-transform=* | --program-transfor=* \
                   1015:   | --program-transfo=* | --program-transf=* \
                   1016:   | --program-trans=* | --program-tran=* \
                   1017:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1018:     program_transform_name=$ac_optarg ;;
                   1019: 
                   1020:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1021:     ac_prev=pdfdir ;;
                   1022:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1023:     pdfdir=$ac_optarg ;;
                   1024: 
                   1025:   -psdir | --psdir | --psdi | --psd | --ps)
                   1026:     ac_prev=psdir ;;
                   1027:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1028:     psdir=$ac_optarg ;;
                   1029: 
                   1030:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1031:   | -silent | --silent | --silen | --sile | --sil)
                   1032:     silent=yes ;;
                   1033: 
1.1.1.10  root     1034:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1035:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1036:   | --run | --ru | --r)
                   1037:     ac_prev=runstatedir ;;
                   1038:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1039:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1040:   | --run=* | --ru=* | --r=*)
                   1041:     runstatedir=$ac_optarg ;;
                   1042: 
1.1       root     1043:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1044:     ac_prev=sbindir ;;
                   1045:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1046:   | --sbi=* | --sb=*)
                   1047:     sbindir=$ac_optarg ;;
                   1048: 
                   1049:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1050:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1051:   | --sharedst | --shareds | --shared | --share | --shar \
                   1052:   | --sha | --sh)
                   1053:     ac_prev=sharedstatedir ;;
                   1054:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1055:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1056:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1057:   | --sha=* | --sh=*)
                   1058:     sharedstatedir=$ac_optarg ;;
                   1059: 
                   1060:   -site | --site | --sit)
                   1061:     ac_prev=site ;;
                   1062:   -site=* | --site=* | --sit=*)
                   1063:     site=$ac_optarg ;;
                   1064: 
                   1065:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1066:     ac_prev=srcdir ;;
                   1067:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1068:     srcdir=$ac_optarg ;;
                   1069: 
                   1070:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1071:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1072:     ac_prev=sysconfdir ;;
                   1073:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1074:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1075:     sysconfdir=$ac_optarg ;;
                   1076: 
                   1077:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1078:     ac_prev=target_alias ;;
                   1079:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1080:     target_alias=$ac_optarg ;;
                   1081: 
                   1082:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1083:     verbose=yes ;;
                   1084: 
                   1085:   -version | --version | --versio | --versi | --vers | -V)
                   1086:     ac_init_version=: ;;
                   1087: 
                   1088:   -with-* | --with-*)
                   1089:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1090:     # Reject names that are not valid shell variable names.
                   1091:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root     1092:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.1       root     1093:     ac_useropt_orig=$ac_useropt
1.1.1.10  root     1094:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1095:     case $ac_user_opts in
                   1096:       *"
                   1097: "with_$ac_useropt"
                   1098: "*) ;;
                   1099:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1100:         ac_unrecognized_sep=', ';;
                   1101:     esac
                   1102:     eval with_$ac_useropt=\$ac_optarg ;;
                   1103: 
                   1104:   -without-* | --without-*)
                   1105:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1106:     # Reject names that are not valid shell variable names.
                   1107:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root     1108:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.1       root     1109:     ac_useropt_orig=$ac_useropt
1.1.1.10  root     1110:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1111:     case $ac_user_opts in
                   1112:       *"
                   1113: "with_$ac_useropt"
                   1114: "*) ;;
                   1115:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1116:         ac_unrecognized_sep=', ';;
                   1117:     esac
                   1118:     eval with_$ac_useropt=no ;;
                   1119: 
                   1120:   --x)
                   1121:     # Obsolete; use --with-x.
                   1122:     with_x=yes ;;
                   1123: 
                   1124:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1125:   | --x-incl | --x-inc | --x-in | --x-i)
                   1126:     ac_prev=x_includes ;;
                   1127:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1128:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1129:     x_includes=$ac_optarg ;;
                   1130: 
                   1131:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1132:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1133:     ac_prev=x_libraries ;;
                   1134:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1135:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1136:     x_libraries=$ac_optarg ;;
                   1137: 
1.1.1.15  root     1138:   -*) as_fn_error $? "unrecognized option: '$ac_option'
                   1139: Try '$0 --help' for more information"
1.1       root     1140:     ;;
                   1141: 
                   1142:   *=*)
                   1143:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1144:     # Reject names that are not valid shell variable names.
                   1145:     case $ac_envvar in #(
                   1146:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.1.1.15  root     1147:       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1.1       root     1148:     esac
                   1149:     eval $ac_envvar=\$ac_optarg
                   1150:     export $ac_envvar ;;
                   1151: 
                   1152:   *)
                   1153:     # FIXME: should be removed in autoconf 3.0.
1.1.1.10  root     1154:     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       root     1155:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.10  root     1156:       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1       root     1157:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1158:     ;;
                   1159: 
                   1160:   esac
                   1161: done
                   1162: 
                   1163: if test -n "$ac_prev"; then
                   1164:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1165:   as_fn_error $? "missing argument to $ac_option"
                   1166: fi
                   1167: 
                   1168: if test -n "$ac_unrecognized_opts"; then
                   1169:   case $enable_option_checking in
                   1170:     no) ;;
                   1171:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1.1.10  root     1172:     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       root     1173:   esac
                   1174: fi
                   1175: 
                   1176: # Check all directory arguments for consistency.
                   1177: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1178:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1179:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.10  root     1180:                libdir localedir mandir runstatedir
1.1       root     1181: do
                   1182:   eval ac_val=\$$ac_var
                   1183:   # Remove trailing slashes.
                   1184:   case $ac_val in
                   1185:     */ )
                   1186:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1187:       eval $ac_var=\$ac_val;;
                   1188:   esac
                   1189:   # Be sure to have absolute directory names.
                   1190:   case $ac_val in
                   1191:     [\\/$]* | ?:[\\/]* )  continue;;
                   1192:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1193:   esac
                   1194:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1195: done
                   1196: 
1.1.1.15  root     1197: # There might be people who depend on the old broken behavior: '$host'
1.1       root     1198: # used to hold the argument of --host etc.
                   1199: # FIXME: To remove some day.
                   1200: build=$build_alias
                   1201: host=$host_alias
                   1202: target=$target_alias
                   1203: 
                   1204: # FIXME: To remove some day.
                   1205: if test "x$host_alias" != x; then
                   1206:   if test "x$build_alias" = x; then
                   1207:     cross_compiling=maybe
                   1208:   elif test "x$build_alias" != "x$host_alias"; then
                   1209:     cross_compiling=yes
                   1210:   fi
                   1211: fi
                   1212: 
                   1213: ac_tool_prefix=
                   1214: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1215: 
                   1216: test "$silent" = yes && exec 6>/dev/null
                   1217: 
                   1218: 
                   1219: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1220: ac_ls_di=`ls -di .` &&
                   1221: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1222:   as_fn_error $? "working directory cannot be determined"
                   1223: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1224:   as_fn_error $? "pwd does not report name of working directory"
                   1225: 
                   1226: 
                   1227: # Find the source files, if location was not specified.
                   1228: if test -z "$srcdir"; then
                   1229:   ac_srcdir_defaulted=yes
                   1230:   # Try the directory containing this script, then the parent directory.
                   1231:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1232: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1233:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1234:         X"$as_myself" : 'X\(//\)$' \| \
                   1235:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     1236: printf "%s\n" X"$as_myself" |
1.1       root     1237:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1238:            s//\1/
                   1239:            q
                   1240:          }
                   1241:          /^X\(\/\/\)[^/].*/{
                   1242:            s//\1/
                   1243:            q
                   1244:          }
                   1245:          /^X\(\/\/\)$/{
                   1246:            s//\1/
                   1247:            q
                   1248:          }
                   1249:          /^X\(\/\).*/{
                   1250:            s//\1/
                   1251:            q
                   1252:          }
                   1253:          s/.*/./; q'`
                   1254:   srcdir=$ac_confdir
                   1255:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1256:     srcdir=..
                   1257:   fi
                   1258: else
                   1259:   ac_srcdir_defaulted=no
                   1260: fi
                   1261: if test ! -r "$srcdir/$ac_unique_file"; then
                   1262:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1263:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1264: fi
1.1.1.15  root     1265: ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1.1       root     1266: ac_abs_confdir=`(
                   1267:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1268:        pwd)`
                   1269: # When building in place, set srcdir=.
                   1270: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1271:   srcdir=.
                   1272: fi
                   1273: # Remove unnecessary trailing slashes from srcdir.
                   1274: # Double slashes in file names in object file debugging info
                   1275: # mess up M-x gdb in Emacs.
                   1276: case $srcdir in
                   1277: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1278: esac
                   1279: for ac_var in $ac_precious_vars; do
                   1280:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1281:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1282:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1283:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1284: done
                   1285: 
                   1286: #
                   1287: # Report the --help message.
                   1288: #
                   1289: if test "$ac_init_help" = "long"; then
                   1290:   # Omit some internal or obsolete options to make the list less imposing.
                   1291:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1292:   cat <<_ACEOF
1.1.1.15  root     1293: 'configure' configures nono 0.0 to adapt to many kinds of systems.
1.1       root     1294: 
                   1295: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1296: 
                   1297: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1298: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1299: 
                   1300: Defaults for the options are specified in brackets.
                   1301: 
                   1302: Configuration:
                   1303:   -h, --help              display this help and exit
                   1304:       --help=short        display options specific to this package
                   1305:       --help=recursive    display the short help of all the included packages
                   1306:   -V, --version           display version information and exit
1.1.1.15  root     1307:   -q, --quiet, --silent   do not print 'checking ...' messages
1.1       root     1308:       --cache-file=FILE   cache test results in FILE [disabled]
1.1.1.15  root     1309:   -C, --config-cache      alias for '--cache-file=config.cache'
1.1       root     1310:   -n, --no-create         do not create output files
1.1.1.15  root     1311:       --srcdir=DIR        find the sources in DIR [configure dir or '..']
1.1       root     1312: 
                   1313: Installation directories:
                   1314:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1315:                           [$ac_default_prefix]
                   1316:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1317:                           [PREFIX]
                   1318: 
1.1.1.15  root     1319: By default, 'make install' will install all the files in
                   1320: '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
                   1321: an installation prefix other than '$ac_default_prefix' using '--prefix',
                   1322: for instance '--prefix=\$HOME'.
1.1       root     1323: 
                   1324: For better control, use the options below.
                   1325: 
                   1326: Fine tuning of the installation directories:
                   1327:   --bindir=DIR            user executables [EPREFIX/bin]
                   1328:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1329:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1330:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1331:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1332:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.10  root     1333:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1       root     1334:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1335:   --includedir=DIR        C header files [PREFIX/include]
                   1336:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1337:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1338:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1339:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1340:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1341:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.1.1.3   root     1342:   --docdir=DIR            documentation root [DATAROOTDIR/doc/nono]
1.1       root     1343:   --htmldir=DIR           html documentation [DOCDIR]
                   1344:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1345:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1346:   --psdir=DIR             ps documentation [DOCDIR]
                   1347: _ACEOF
                   1348: 
                   1349:   cat <<\_ACEOF
1.1.1.6   root     1350: 
                   1351: System types:
                   1352:   --build=BUILD     configure for building on BUILD [guessed]
                   1353:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.1       root     1354: _ACEOF
                   1355: fi
                   1356: 
                   1357: if test -n "$ac_init_help"; then
                   1358:   case $ac_init_help in
1.1.1.3   root     1359:      short | recursive ) echo "Configuration of nono 0.0:";;
1.1       root     1360:    esac
                   1361:   cat <<\_ACEOF
                   1362: 
1.1.1.14  root     1363: Optional Features:
                   1364:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1365:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1366:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1367:   --disable-avx2          disable avx2 support
1.1.1.15  root     1368:   --disable-neon          disable NEON support
1.1.1.14  root     1369: 
1.1.1.10  root     1370: Optional Packages:
                   1371:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1372:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.16  root     1373:   --without-libslirp      disable usermode network (using SLIRP)
1.1.1.19! root     1374:   --with-alsa             enable ALSA support (default:yes on Linux, otherwise
        !          1375:                           no)
1.1.1.10  root     1376:   --without-gui           disable GUI support
                   1377: 
1.1       root     1378: Some influential environment variables:
                   1379:   CXX         C++ compiler command
                   1380:   CXXFLAGS    C++ compiler flags
                   1381:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1382:               nonstandard directory <lib dir>
                   1383:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1384:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1385:               you have headers in a nonstandard directory <include dir>
                   1386:   CC          C compiler command
                   1387:   CFLAGS      C compiler flags
                   1388: 
1.1.1.15  root     1389: Use these variables to override the choices made by 'configure' or to help
1.1       root     1390: it to find libraries and programs with nonstandard names/locations.
                   1391: 
                   1392: Report bugs to the package provider.
                   1393: _ACEOF
                   1394: ac_status=$?
                   1395: fi
                   1396: 
                   1397: if test "$ac_init_help" = "recursive"; then
                   1398:   # If there are subdirs, report their specific --help.
                   1399:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1400:     test -d "$ac_dir" ||
                   1401:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1402:       continue
                   1403:     ac_builddir=.
                   1404: 
                   1405: case "$ac_dir" in
                   1406: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1407: *)
1.1.1.10  root     1408:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     1409:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     1410:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     1411:   case $ac_top_builddir_sub in
                   1412:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1413:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1414:   esac ;;
                   1415: esac
                   1416: ac_abs_top_builddir=$ac_pwd
                   1417: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1418: # for backward compatibility:
                   1419: ac_top_builddir=$ac_top_build_prefix
                   1420: 
                   1421: case $srcdir in
                   1422:   .)  # We are building in place.
                   1423:     ac_srcdir=.
                   1424:     ac_top_srcdir=$ac_top_builddir_sub
                   1425:     ac_abs_top_srcdir=$ac_pwd ;;
                   1426:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1427:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1428:     ac_top_srcdir=$srcdir
                   1429:     ac_abs_top_srcdir=$srcdir ;;
                   1430:   *) # Relative name.
                   1431:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1432:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1433:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1434: esac
                   1435: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1436: 
                   1437:     cd "$ac_dir" || { ac_status=$?; continue; }
1.1.1.10  root     1438:     # Check for configure.gnu first; this name is used for a wrapper for
                   1439:     # Metaconfig's "Configure" on case-insensitive file systems.
1.1       root     1440:     if test -f "$ac_srcdir/configure.gnu"; then
                   1441:       echo &&
                   1442:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1443:     elif test -f "$ac_srcdir/configure"; then
                   1444:       echo &&
                   1445:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1446:     else
1.1.1.10  root     1447:       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       root     1448:     fi || ac_status=$?
                   1449:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1450:   done
                   1451: fi
                   1452: 
                   1453: test -n "$ac_init_help" && exit $ac_status
                   1454: if $ac_init_version; then
                   1455:   cat <<\_ACEOF
1.1.1.3   root     1456: nono configure 0.0
1.1.1.15  root     1457: generated by GNU Autoconf 2.72
1.1       root     1458: 
1.1.1.15  root     1459: Copyright (C) 2023 Free Software Foundation, Inc.
1.1       root     1460: This configure script is free software; the Free Software Foundation
                   1461: gives unlimited permission to copy, distribute and modify it.
                   1462: _ACEOF
                   1463:   exit
                   1464: fi
                   1465: 
                   1466: ## ------------------------ ##
                   1467: ## Autoconf initialization. ##
                   1468: ## ------------------------ ##
                   1469: 
                   1470: # ac_fn_cxx_try_compile LINENO
                   1471: # ----------------------------
                   1472: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1473: ac_fn_cxx_try_compile ()
                   1474: {
                   1475:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1476:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1477:   if { { ac_try="$ac_compile"
                   1478: case "(($ac_try" in
                   1479:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1480:   *) ac_try_echo=$ac_try;;
                   1481: esac
                   1482: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1483: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1484:   (eval "$ac_compile") 2>conftest.err
                   1485:   ac_status=$?
                   1486:   if test -s conftest.err; then
                   1487:     grep -v '^ *+' conftest.err >conftest.er1
                   1488:     cat conftest.er1 >&5
                   1489:     mv -f conftest.er1 conftest.err
                   1490:   fi
1.1.1.10  root     1491:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1492:   test $ac_status = 0; } && {
                   1493:         test -z "$ac_cxx_werror_flag" ||
                   1494:         test ! -s conftest.err
1.1.1.10  root     1495:        } && test -s conftest.$ac_objext
                   1496: then :
1.1       root     1497:   ac_retval=0
1.1.1.15  root     1498: else case e in #(
                   1499:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1500: sed 's/^/| /' conftest.$ac_ext >&5
                   1501: 
1.1.1.15  root     1502:        ac_retval=1 ;;
                   1503: esac
1.1       root     1504: fi
                   1505:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1506:   as_fn_set_status $ac_retval
                   1507: 
                   1508: } # ac_fn_cxx_try_compile
                   1509: 
                   1510: # ac_fn_c_try_compile LINENO
                   1511: # --------------------------
                   1512: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1513: ac_fn_c_try_compile ()
                   1514: {
                   1515:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1516:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1517:   if { { ac_try="$ac_compile"
                   1518: case "(($ac_try" in
                   1519:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1520:   *) ac_try_echo=$ac_try;;
                   1521: esac
                   1522: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1523: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1524:   (eval "$ac_compile") 2>conftest.err
                   1525:   ac_status=$?
                   1526:   if test -s conftest.err; then
                   1527:     grep -v '^ *+' conftest.err >conftest.er1
                   1528:     cat conftest.er1 >&5
                   1529:     mv -f conftest.er1 conftest.err
                   1530:   fi
1.1.1.10  root     1531:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1532:   test $ac_status = 0; } && {
                   1533:         test -z "$ac_c_werror_flag" ||
                   1534:         test ! -s conftest.err
1.1.1.10  root     1535:        } && test -s conftest.$ac_objext
                   1536: then :
1.1       root     1537:   ac_retval=0
1.1.1.15  root     1538: else case e in #(
                   1539:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1540: sed 's/^/| /' conftest.$ac_ext >&5
                   1541: 
1.1.1.15  root     1542:        ac_retval=1 ;;
                   1543: esac
1.1       root     1544: fi
                   1545:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1546:   as_fn_set_status $ac_retval
                   1547: 
                   1548: } # ac_fn_c_try_compile
                   1549: 
1.1.1.10  root     1550: # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
                   1551: # ---------------------------------------------------------
1.1       root     1552: # Tests whether HEADER exists and can be compiled using the include files in
                   1553: # INCLUDES, setting the cache variable VAR accordingly.
1.1.1.10  root     1554: ac_fn_cxx_check_header_compile ()
1.1       root     1555: {
                   1556:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1557:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1558: printf %s "checking for $2... " >&6; }
                   1559: if eval test \${$3+y}
                   1560: then :
                   1561:   printf %s "(cached) " >&6
1.1.1.15  root     1562: else case e in #(
                   1563:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     1564: /* end confdefs.h.  */
                   1565: $4
                   1566: #include <$2>
                   1567: _ACEOF
1.1.1.10  root     1568: if ac_fn_cxx_try_compile "$LINENO"
                   1569: then :
1.1       root     1570:   eval "$3=yes"
1.1.1.15  root     1571: else case e in #(
                   1572:   e) eval "$3=no" ;;
                   1573: esac
1.1       root     1574: fi
1.1.1.15  root     1575: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1576: esac
1.1       root     1577: fi
                   1578: eval ac_res=\$$3
1.1.1.10  root     1579:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1580: printf "%s\n" "$ac_res" >&6; }
1.1       root     1581:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1582: 
1.1.1.10  root     1583: } # ac_fn_cxx_check_header_compile
1.1       root     1584: 
                   1585: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
                   1586: # ---------------------------------------------
                   1587: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1588: # variable VAR accordingly.
                   1589: ac_fn_cxx_check_type ()
                   1590: {
                   1591:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1592:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1593: printf %s "checking for $2... " >&6; }
                   1594: if eval test \${$3+y}
                   1595: then :
                   1596:   printf %s "(cached) " >&6
1.1.1.15  root     1597: else case e in #(
                   1598:   e) eval "$3=no"
1.1       root     1599:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1600: /* end confdefs.h.  */
                   1601: $4
                   1602: int
1.1.1.10  root     1603: main (void)
1.1       root     1604: {
                   1605: if (sizeof ($2))
                   1606:         return 0;
                   1607:   ;
                   1608:   return 0;
                   1609: }
                   1610: _ACEOF
1.1.1.10  root     1611: if ac_fn_cxx_try_compile "$LINENO"
                   1612: then :
1.1       root     1613:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1614: /* end confdefs.h.  */
                   1615: $4
                   1616: int
1.1.1.10  root     1617: main (void)
1.1       root     1618: {
                   1619: if (sizeof (($2)))
                   1620:            return 0;
                   1621:   ;
                   1622:   return 0;
                   1623: }
                   1624: _ACEOF
1.1.1.10  root     1625: if ac_fn_cxx_try_compile "$LINENO"
                   1626: then :
1.1       root     1627: 
1.1.1.15  root     1628: else case e in #(
                   1629:   e) eval "$3=yes" ;;
                   1630: esac
1.1       root     1631: fi
1.1.1.10  root     1632: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     1633: fi
1.1.1.15  root     1634: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1635: esac
1.1       root     1636: fi
                   1637: eval ac_res=\$$3
1.1.1.10  root     1638:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1639: printf "%s\n" "$ac_res" >&6; }
1.1       root     1640:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1641: 
                   1642: } # ac_fn_cxx_check_type
                   1643: 
1.1.1.14  root     1644: # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
                   1645: # ------------------------------------------------------
                   1646: # Tries to find if the field MEMBER exists in type AGGR, after including
                   1647: # INCLUDES, setting cache variable VAR accordingly.
                   1648: ac_fn_cxx_check_member ()
                   1649: {
                   1650:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1651:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   1652: printf %s "checking for $2.$3... " >&6; }
                   1653: if eval test \${$4+y}
                   1654: then :
                   1655:   printf %s "(cached) " >&6
1.1.1.15  root     1656: else case e in #(
                   1657:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.14  root     1658: /* end confdefs.h.  */
                   1659: $5
                   1660: int
                   1661: main (void)
                   1662: {
                   1663: static $2 ac_aggr;
                   1664: if (ac_aggr.$3)
                   1665: return 0;
                   1666:   ;
                   1667:   return 0;
                   1668: }
                   1669: _ACEOF
                   1670: if ac_fn_cxx_try_compile "$LINENO"
                   1671: then :
                   1672:   eval "$4=yes"
1.1.1.15  root     1673: else case e in #(
                   1674:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.14  root     1675: /* end confdefs.h.  */
                   1676: $5
                   1677: int
                   1678: main (void)
                   1679: {
                   1680: static $2 ac_aggr;
                   1681: if (sizeof ac_aggr.$3)
                   1682: return 0;
                   1683:   ;
                   1684:   return 0;
                   1685: }
                   1686: _ACEOF
                   1687: if ac_fn_cxx_try_compile "$LINENO"
                   1688: then :
                   1689:   eval "$4=yes"
1.1.1.15  root     1690: else case e in #(
                   1691:   e) eval "$4=no" ;;
                   1692: esac
1.1.1.14  root     1693: fi
1.1.1.15  root     1694: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1695: esac
1.1.1.14  root     1696: fi
1.1.1.15  root     1697: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1698: esac
1.1.1.14  root     1699: fi
                   1700: eval ac_res=\$$4
                   1701:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1702: printf "%s\n" "$ac_res" >&6; }
                   1703:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1704: 
                   1705: } # ac_fn_cxx_check_member
                   1706: 
1.1       root     1707: # ac_fn_cxx_try_link LINENO
                   1708: # -------------------------
                   1709: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1710: ac_fn_cxx_try_link ()
                   1711: {
                   1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1713:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.1       root     1714:   if { { ac_try="$ac_link"
                   1715: case "(($ac_try" in
                   1716:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1717:   *) ac_try_echo=$ac_try;;
                   1718: esac
                   1719: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1720: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1721:   (eval "$ac_link") 2>conftest.err
                   1722:   ac_status=$?
                   1723:   if test -s conftest.err; then
                   1724:     grep -v '^ *+' conftest.err >conftest.er1
                   1725:     cat conftest.er1 >&5
                   1726:     mv -f conftest.er1 conftest.err
                   1727:   fi
1.1.1.10  root     1728:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1729:   test $ac_status = 0; } && {
                   1730:         test -z "$ac_cxx_werror_flag" ||
                   1731:         test ! -s conftest.err
                   1732:        } && test -s conftest$ac_exeext && {
                   1733:         test "$cross_compiling" = yes ||
                   1734:         test -x conftest$ac_exeext
1.1.1.10  root     1735:        }
                   1736: then :
1.1       root     1737:   ac_retval=0
1.1.1.15  root     1738: else case e in #(
                   1739:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1740: sed 's/^/| /' conftest.$ac_ext >&5
                   1741: 
1.1.1.15  root     1742:        ac_retval=1 ;;
                   1743: esac
1.1       root     1744: fi
                   1745:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1746:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1747:   # interfere with the next link command; also delete a directory that is
                   1748:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1749:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1750:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1751:   as_fn_set_status $ac_retval
                   1752: 
                   1753: } # ac_fn_cxx_try_link
1.1.1.17  root     1754: 
                   1755: # ac_fn_cxx_try_run LINENO
                   1756: # ------------------------
                   1757: # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
                   1758: # executables *can* be run.
                   1759: ac_fn_cxx_try_run ()
                   1760: {
                   1761:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1762:   if { { ac_try="$ac_link"
                   1763: case "(($ac_try" in
                   1764:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1765:   *) ac_try_echo=$ac_try;;
                   1766: esac
                   1767: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1768: printf "%s\n" "$ac_try_echo"; } >&5
                   1769:   (eval "$ac_link") 2>&5
                   1770:   ac_status=$?
                   1771:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1772:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1773:   { { case "(($ac_try" in
                   1774:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1775:   *) ac_try_echo=$ac_try;;
                   1776: esac
                   1777: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1778: printf "%s\n" "$ac_try_echo"; } >&5
                   1779:   (eval "$ac_try") 2>&5
                   1780:   ac_status=$?
                   1781:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1782:   test $ac_status = 0; }; }
                   1783: then :
                   1784:   ac_retval=0
                   1785: else case e in #(
                   1786:   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
                   1787:        printf "%s\n" "$as_me: failed program was:" >&5
                   1788: sed 's/^/| /' conftest.$ac_ext >&5
                   1789: 
                   1790:        ac_retval=$ac_status ;;
                   1791: esac
                   1792: fi
                   1793:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1794:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1795:   as_fn_set_status $ac_retval
                   1796: 
                   1797: } # ac_fn_cxx_try_run
1.1.1.10  root     1798: ac_configure_args_raw=
                   1799: for ac_arg
                   1800: do
                   1801:   case $ac_arg in
                   1802:   *\'*)
                   1803:     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1804:   esac
                   1805:   as_fn_append ac_configure_args_raw " '$ac_arg'"
                   1806: done
                   1807: 
                   1808: case $ac_configure_args_raw in
                   1809:   *$as_nl*)
                   1810:     ac_safe_unquote= ;;
                   1811:   *)
                   1812:     ac_unsafe_z='|&;<>()$`\\"*?[ ''    ' # This string ends in space, tab.
                   1813:     ac_unsafe_a="$ac_unsafe_z#~"
                   1814:     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
                   1815:     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
                   1816: esac
                   1817: 
1.1       root     1818: cat >config.log <<_ACEOF
                   1819: This file contains any messages produced by compilers while
                   1820: running configure, to aid debugging if configure makes a mistake.
                   1821: 
1.1.1.3   root     1822: It was created by nono $as_me 0.0, which was
1.1.1.15  root     1823: generated by GNU Autoconf 2.72.  Invocation command line was
1.1       root     1824: 
1.1.1.10  root     1825:   $ $0$ac_configure_args_raw
1.1       root     1826: 
                   1827: _ACEOF
                   1828: exec 5>>config.log
                   1829: {
                   1830: cat <<_ASUNAME
                   1831: ## --------- ##
                   1832: ## Platform. ##
                   1833: ## --------- ##
                   1834: 
                   1835: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1836: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1837: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1838: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1839: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1840: 
                   1841: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1842: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1843: 
                   1844: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1845: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1846: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1847: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1848: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1849: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1850: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1851: 
                   1852: _ASUNAME
                   1853: 
                   1854: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1855: for as_dir in $PATH
                   1856: do
                   1857:   IFS=$as_save_IFS
1.1.1.10  root     1858:   case $as_dir in #(((
                   1859:     '') as_dir=./ ;;
                   1860:     */) ;;
                   1861:     *) as_dir=$as_dir/ ;;
                   1862:   esac
                   1863:     printf "%s\n" "PATH: $as_dir"
1.1       root     1864:   done
                   1865: IFS=$as_save_IFS
                   1866: 
                   1867: } >&5
                   1868: 
                   1869: cat >&5 <<_ACEOF
                   1870: 
                   1871: 
                   1872: ## ----------- ##
                   1873: ## Core tests. ##
                   1874: ## ----------- ##
                   1875: 
                   1876: _ACEOF
                   1877: 
                   1878: 
                   1879: # Keep a trace of the command line.
                   1880: # Strip out --no-create and --no-recursion so they do not pile up.
                   1881: # Strip out --silent because we don't want to record it for future runs.
                   1882: # Also quote any args containing shell meta-characters.
                   1883: # Make two passes to allow for proper duplicate-argument suppression.
                   1884: ac_configure_args=
                   1885: ac_configure_args0=
                   1886: ac_configure_args1=
                   1887: ac_must_keep_next=false
                   1888: for ac_pass in 1 2
                   1889: do
                   1890:   for ac_arg
                   1891:   do
                   1892:     case $ac_arg in
                   1893:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1894:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1895:     | -silent | --silent | --silen | --sile | --sil)
                   1896:       continue ;;
                   1897:     *\'*)
1.1.1.10  root     1898:       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     1899:     esac
                   1900:     case $ac_pass in
                   1901:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   1902:     2)
                   1903:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   1904:       if test $ac_must_keep_next = true; then
                   1905:        ac_must_keep_next=false # Got value, back to normal.
                   1906:       else
                   1907:        case $ac_arg in
                   1908:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1909:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1910:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1911:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1912:            case "$ac_configure_args0 " in
                   1913:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1914:            esac
                   1915:            ;;
                   1916:          -* ) ac_must_keep_next=true ;;
                   1917:        esac
                   1918:       fi
                   1919:       as_fn_append ac_configure_args " '$ac_arg'"
                   1920:       ;;
                   1921:     esac
                   1922:   done
                   1923: done
                   1924: { ac_configure_args0=; unset ac_configure_args0;}
                   1925: { ac_configure_args1=; unset ac_configure_args1;}
                   1926: 
                   1927: # When interrupted or exit'd, cleanup temporary files, and complete
                   1928: # config.log.  We remove comments because anyway the quotes in there
                   1929: # would cause problems or look ugly.
                   1930: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1931: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   1932: trap 'exit_status=$?
1.1.1.10  root     1933:   # Sanitize IFS.
                   1934:   IFS=" ""     $as_nl"
1.1       root     1935:   # Save into config.log some information that might help in debugging.
                   1936:   {
                   1937:     echo
                   1938: 
1.1.1.10  root     1939:     printf "%s\n" "## ---------------- ##
1.1       root     1940: ## Cache variables. ##
                   1941: ## ---------------- ##"
                   1942:     echo
                   1943:     # The following way of writing the cache mishandles newlines in values,
                   1944: (
                   1945:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1946:     eval ac_val=\$$ac_var
                   1947:     case $ac_val in #(
                   1948:     *${as_nl}*)
                   1949:       case $ac_var in #(
1.1.1.10  root     1950:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   1951: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     1952:       esac
                   1953:       case $ac_var in #(
                   1954:       _ | IFS | as_nl) ;; #(
                   1955:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   1956:       *) { eval $ac_var=; unset $ac_var;} ;;
                   1957:       esac ;;
                   1958:     esac
                   1959:   done
                   1960:   (set) 2>&1 |
                   1961:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1962:     *${as_nl}ac_space=\ *)
                   1963:       sed -n \
                   1964:        "s/'\''/'\''\\\\'\'''\''/g;
                   1965:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1966:       ;; #(
                   1967:     *)
                   1968:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   1969:       ;;
                   1970:     esac |
                   1971:     sort
                   1972: )
                   1973:     echo
                   1974: 
1.1.1.10  root     1975:     printf "%s\n" "## ----------------- ##
1.1       root     1976: ## Output variables. ##
                   1977: ## ----------------- ##"
                   1978:     echo
                   1979:     for ac_var in $ac_subst_vars
                   1980:     do
                   1981:       eval ac_val=\$$ac_var
                   1982:       case $ac_val in
1.1.1.10  root     1983:       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1984:       esac
1.1.1.10  root     1985:       printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     1986:     done | sort
                   1987:     echo
                   1988: 
                   1989:     if test -n "$ac_subst_files"; then
1.1.1.10  root     1990:       printf "%s\n" "## ------------------- ##
1.1       root     1991: ## File substitutions. ##
                   1992: ## ------------------- ##"
                   1993:       echo
                   1994:       for ac_var in $ac_subst_files
                   1995:       do
                   1996:        eval ac_val=\$$ac_var
                   1997:        case $ac_val in
1.1.1.10  root     1998:        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1999:        esac
1.1.1.10  root     2000:        printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     2001:       done | sort
                   2002:       echo
                   2003:     fi
                   2004: 
                   2005:     if test -s confdefs.h; then
1.1.1.10  root     2006:       printf "%s\n" "## ----------- ##
1.1       root     2007: ## confdefs.h. ##
                   2008: ## ----------- ##"
                   2009:       echo
                   2010:       cat confdefs.h
                   2011:       echo
                   2012:     fi
                   2013:     test "$ac_signal" != 0 &&
1.1.1.10  root     2014:       printf "%s\n" "$as_me: caught signal $ac_signal"
                   2015:     printf "%s\n" "$as_me: exit $exit_status"
1.1       root     2016:   } >&5
                   2017:   rm -f core *.core core.conftest.* &&
                   2018:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2019:     exit $exit_status
                   2020: ' 0
                   2021: for ac_signal in 1 2 13 15; do
                   2022:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2023: done
                   2024: ac_signal=0
                   2025: 
                   2026: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2027: rm -f -r conftest* confdefs.h
                   2028: 
1.1.1.10  root     2029: printf "%s\n" "/* confdefs.h */" > confdefs.h
1.1       root     2030: 
                   2031: # Predefined preprocessor variables.
                   2032: 
1.1.1.10  root     2033: printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1.1       root     2034: 
1.1.1.10  root     2035: printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1.1       root     2036: 
1.1.1.10  root     2037: printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1.1       root     2038: 
1.1.1.10  root     2039: printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1.1       root     2040: 
1.1.1.10  root     2041: printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1.1       root     2042: 
1.1.1.10  root     2043: printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1.1       root     2044: 
                   2045: 
                   2046: # Let the site file select an alternate cache file if it wants to.
                   2047: # Prefer an explicitly selected file to automatically selected ones.
                   2048: if test -n "$CONFIG_SITE"; then
1.1.1.10  root     2049:   ac_site_files="$CONFIG_SITE"
1.1       root     2050: elif test "x$prefix" != xNONE; then
1.1.1.10  root     2051:   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1.1       root     2052: else
1.1.1.10  root     2053:   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1       root     2054: fi
1.1.1.10  root     2055: 
                   2056: for ac_site_file in $ac_site_files
1.1       root     2057: do
1.1.1.10  root     2058:   case $ac_site_file in #(
                   2059:   */*) :
                   2060:      ;; #(
                   2061:   *) :
                   2062:     ac_site_file=./$ac_site_file ;;
                   2063: esac
                   2064:   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
                   2065:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2066: printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1.1       root     2067:     sed 's/^/| /' "$ac_site_file" >&5
                   2068:     . "$ac_site_file" \
1.1.1.15  root     2069:       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   2070: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     2071: as_fn_error $? "failed to load site script $ac_site_file
1.1.1.15  root     2072: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     2073:   fi
                   2074: done
                   2075: 
                   2076: if test -r "$cache_file"; then
                   2077:   # Some versions of bash will fail to source /dev/null (special files
                   2078:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2079:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.1.1.10  root     2080:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2081: printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1.1       root     2082:     case $cache_file in
                   2083:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2084:       *)                      . "./$cache_file";;
                   2085:     esac
                   2086:   fi
                   2087: else
1.1.1.10  root     2088:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2089: printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1.1       root     2090:   >$cache_file
                   2091: fi
                   2092: 
1.1.1.10  root     2093: # Test code for whether the C++ compiler supports C++98 (global declarations)
                   2094: ac_cxx_conftest_cxx98_globals='
                   2095: // Does the compiler advertise C++98 conformance?
                   2096: #if !defined __cplusplus || __cplusplus < 199711L
                   2097: # error "Compiler does not advertise C++98 conformance"
                   2098: #endif
1.1       root     2099: 
1.1.1.10  root     2100: // These inclusions are to reject old compilers that
                   2101: // lack the unsuffixed header files.
                   2102: #include <cstdlib>
                   2103: #include <exception>
                   2104: 
                   2105: // <cassert> and <cstring> are *not* freestanding headers in C++98.
                   2106: extern void assert (int);
                   2107: namespace std {
                   2108:   extern int strcmp (const char *, const char *);
                   2109: }
                   2110: 
                   2111: // Namespaces, exceptions, and templates were all added after "C++ 2.0".
                   2112: using std::exception;
                   2113: using std::strcmp;
                   2114: 
                   2115: namespace {
                   2116: 
                   2117: void test_exception_syntax()
                   2118: {
                   2119:   try {
                   2120:     throw "test";
                   2121:   } catch (const char *s) {
                   2122:     // Extra parentheses suppress a warning when building autoconf itself,
                   2123:     // due to lint rules shared with more typical C programs.
                   2124:     assert (!(strcmp) (s, "test"));
                   2125:   }
                   2126: }
1.1       root     2127: 
1.1.1.10  root     2128: template <typename T> struct test_template
                   2129: {
                   2130:   T const val;
                   2131:   explicit test_template(T t) : val(t) {}
                   2132:   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
                   2133: };
1.1       root     2134: 
1.1.1.10  root     2135: } // anonymous namespace
                   2136: '
1.1       root     2137: 
1.1.1.10  root     2138: # Test code for whether the C++ compiler supports C++98 (body of main)
                   2139: ac_cxx_conftest_cxx98_main='
                   2140:   assert (argc);
                   2141:   assert (! argv[0]);
                   2142: {
                   2143:   test_exception_syntax ();
                   2144:   test_template<double> tt (2.0);
                   2145:   assert (tt.add (4) == 6.0);
                   2146:   assert (true && !false);
                   2147: }
                   2148: '
                   2149: 
                   2150: # Test code for whether the C++ compiler supports C++11 (global declarations)
                   2151: ac_cxx_conftest_cxx11_globals='
                   2152: // Does the compiler advertise C++ 2011 conformance?
                   2153: #if !defined __cplusplus || __cplusplus < 201103L
                   2154: # error "Compiler does not advertise C++11 conformance"
                   2155: #endif
                   2156: 
                   2157: namespace cxx11test
                   2158: {
                   2159:   constexpr int get_val() { return 20; }
                   2160: 
                   2161:   struct testinit
                   2162:   {
                   2163:     int i;
                   2164:     double d;
                   2165:   };
                   2166: 
                   2167:   class delegate
                   2168:   {
                   2169:   public:
                   2170:     delegate(int n) : n(n) {}
                   2171:     delegate(): delegate(2354) {}
                   2172: 
                   2173:     virtual int getval() { return this->n; };
                   2174:   protected:
                   2175:     int n;
                   2176:   };
                   2177: 
                   2178:   class overridden : public delegate
                   2179:   {
                   2180:   public:
                   2181:     overridden(int n): delegate(n) {}
                   2182:     virtual int getval() override final { return this->n * 2; }
                   2183:   };
                   2184: 
                   2185:   class nocopy
                   2186:   {
                   2187:   public:
                   2188:     nocopy(int i): i(i) {}
                   2189:     nocopy() = default;
                   2190:     nocopy(const nocopy&) = delete;
                   2191:     nocopy & operator=(const nocopy&) = delete;
                   2192:   private:
                   2193:     int i;
                   2194:   };
                   2195: 
                   2196:   // for testing lambda expressions
                   2197:   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
                   2198:   {
                   2199:     return f(v);
                   2200:   }
                   2201: 
                   2202:   // for testing variadic templates and trailing return types
                   2203:   template <typename V> auto sum(V first) -> V
                   2204:   {
                   2205:     return first;
                   2206:   }
                   2207:   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
                   2208:   {
                   2209:     return first + sum(rest...);
                   2210:   }
                   2211: }
                   2212: '
                   2213: 
                   2214: # Test code for whether the C++ compiler supports C++11 (body of main)
                   2215: ac_cxx_conftest_cxx11_main='
                   2216: {
                   2217:   // Test auto and decltype
                   2218:   auto a1 = 6538;
                   2219:   auto a2 = 48573953.4;
                   2220:   auto a3 = "String literal";
                   2221: 
                   2222:   int total = 0;
                   2223:   for (auto i = a3; *i; ++i) { total += *i; }
                   2224: 
                   2225:   decltype(a2) a4 = 34895.034;
                   2226: }
                   2227: {
                   2228:   // Test constexpr
                   2229:   short sa[cxx11test::get_val()] = { 0 };
                   2230: }
                   2231: {
                   2232:   // Test initializer lists
                   2233:   cxx11test::testinit il = { 4323, 435234.23544 };
                   2234: }
                   2235: {
                   2236:   // Test range-based for
                   2237:   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
                   2238:                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
                   2239:   for (auto &x : array) { x += 23; }
                   2240: }
                   2241: {
                   2242:   // Test lambda expressions
                   2243:   using cxx11test::eval;
                   2244:   assert (eval ([](int x) { return x*2; }, 21) == 42);
                   2245:   double d = 2.0;
                   2246:   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
                   2247:   assert (d == 5.0);
                   2248:   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
                   2249:   assert (d == 5.0);
                   2250: }
                   2251: {
                   2252:   // Test use of variadic templates
                   2253:   using cxx11test::sum;
                   2254:   auto a = sum(1);
                   2255:   auto b = sum(1, 2);
                   2256:   auto c = sum(1.0, 2.0, 3.0);
                   2257: }
                   2258: {
                   2259:   // Test constructor delegation
                   2260:   cxx11test::delegate d1;
                   2261:   cxx11test::delegate d2();
                   2262:   cxx11test::delegate d3(45);
                   2263: }
                   2264: {
                   2265:   // Test override and final
                   2266:   cxx11test::overridden o1(55464);
                   2267: }
                   2268: {
                   2269:   // Test nullptr
                   2270:   char *c = nullptr;
                   2271: }
                   2272: {
                   2273:   // Test template brackets
                   2274:   test_template<::test_template<int>> v(test_template<int>(12));
                   2275: }
                   2276: {
                   2277:   // Unicode literals
                   2278:   char const *utf8 = u8"UTF-8 string \u2500";
                   2279:   char16_t const *utf16 = u"UTF-8 string \u2500";
                   2280:   char32_t const *utf32 = U"UTF-32 string \u2500";
                   2281: }
                   2282: '
                   2283: 
                   2284: # Test code for whether the C compiler supports C++11 (complete).
                   2285: ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
                   2286: ${ac_cxx_conftest_cxx11_globals}
                   2287: 
                   2288: int
                   2289: main (int argc, char **argv)
                   2290: {
                   2291:   int ok = 0;
                   2292:   ${ac_cxx_conftest_cxx98_main}
                   2293:   ${ac_cxx_conftest_cxx11_main}
                   2294:   return ok;
                   2295: }
                   2296: "
                   2297: 
                   2298: # Test code for whether the C compiler supports C++98 (complete).
                   2299: ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
                   2300: int
                   2301: main (int argc, char **argv)
                   2302: {
                   2303:   int ok = 0;
                   2304:   ${ac_cxx_conftest_cxx98_main}
                   2305:   return ok;
                   2306: }
                   2307: "
                   2308: 
                   2309: # Test code for whether the C compiler supports C89 (global declarations)
                   2310: ac_c_conftest_c89_globals='
                   2311: /* Does the compiler advertise C89 conformance?
                   2312:    Do not test the value of __STDC__, because some compilers set it to 0
                   2313:    while being otherwise adequately conformant. */
                   2314: #if !defined __STDC__
                   2315: # error "Compiler does not advertise C89 conformance"
                   2316: #endif
                   2317: 
                   2318: #include <stddef.h>
                   2319: #include <stdarg.h>
                   2320: struct stat;
                   2321: /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
                   2322: struct buf { int x; };
                   2323: struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1.1.1.15  root     2324: static char *e (char **p, int i)
1.1.1.10  root     2325: {
                   2326:   return p[i];
                   2327: }
                   2328: static char *f (char * (*g) (char **, int), char **p, ...)
                   2329: {
                   2330:   char *s;
                   2331:   va_list v;
                   2332:   va_start (v,p);
                   2333:   s = g (p, va_arg (v,int));
                   2334:   va_end (v);
                   2335:   return s;
                   2336: }
                   2337: 
1.1.1.15  root     2338: /* C89 style stringification. */
                   2339: #define noexpand_stringify(a) #a
                   2340: const char *stringified = noexpand_stringify(arbitrary+token=sequence);
                   2341: 
                   2342: /* C89 style token pasting.  Exercises some of the corner cases that
                   2343:    e.g. old MSVC gets wrong, but not very hard. */
                   2344: #define noexpand_concat(a,b) a##b
                   2345: #define expand_concat(a,b) noexpand_concat(a,b)
                   2346: extern int vA;
                   2347: extern int vbee;
                   2348: #define aye A
                   2349: #define bee B
                   2350: int *pvA = &expand_concat(v,aye);
                   2351: int *pvbee = &noexpand_concat(v,bee);
                   2352: 
1.1.1.10  root     2353: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2354:    function prototypes and stuff, but not \xHH hex character constants.
                   2355:    These do not provoke an error unfortunately, instead are silently treated
                   2356:    as an "x".  The following induces an error, until -std is added to get
                   2357:    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
                   2358:    array size at least.  It is necessary to write \x00 == 0 to get something
                   2359:    that is true only with -std.  */
                   2360: int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
                   2361: 
                   2362: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2363:    inside strings and character constants.  */
                   2364: #define FOO(x) '\''x'\''
                   2365: int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
                   2366: 
                   2367: int test (int i, double x);
                   2368: struct s1 {int (*f) (int a);};
                   2369: struct s2 {int (*f) (double a);};
                   2370: int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
                   2371:                int, int);'
                   2372: 
                   2373: # Test code for whether the C compiler supports C89 (body of main).
                   2374: ac_c_conftest_c89_main='
                   2375: ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
                   2376: '
                   2377: 
                   2378: # Test code for whether the C compiler supports C99 (global declarations)
                   2379: ac_c_conftest_c99_globals='
1.1.1.15  root     2380: /* Does the compiler advertise C99 conformance? */
1.1.1.10  root     2381: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
                   2382: # error "Compiler does not advertise C99 conformance"
                   2383: #endif
                   2384: 
1.1.1.15  root     2385: // See if C++-style comments work.
                   2386: 
1.1.1.10  root     2387: #include <stdbool.h>
                   2388: extern int puts (const char *);
                   2389: extern int printf (const char *, ...);
                   2390: extern int dprintf (int, const char *, ...);
                   2391: extern void *malloc (size_t);
1.1.1.15  root     2392: extern void free (void *);
1.1.1.10  root     2393: 
                   2394: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   2395: // dprintf is used instead of fprintf to avoid needing to declare
                   2396: // FILE and stderr.
                   2397: #define debug(...) dprintf (2, __VA_ARGS__)
                   2398: #define showlist(...) puts (#__VA_ARGS__)
                   2399: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   2400: static void
                   2401: test_varargs_macros (void)
                   2402: {
                   2403:   int x = 1234;
                   2404:   int y = 5678;
                   2405:   debug ("Flag");
                   2406:   debug ("X = %d\n", x);
                   2407:   showlist (The first, second, and third items.);
                   2408:   report (x>y, "x is %d but y is %d", x, y);
                   2409: }
                   2410: 
                   2411: // Check long long types.
                   2412: #define BIG64 18446744073709551615ull
                   2413: #define BIG32 4294967295ul
                   2414: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   2415: #if !BIG_OK
                   2416:   #error "your preprocessor is broken"
                   2417: #endif
                   2418: #if BIG_OK
                   2419: #else
                   2420:   #error "your preprocessor is broken"
                   2421: #endif
                   2422: static long long int bignum = -9223372036854775807LL;
                   2423: static unsigned long long int ubignum = BIG64;
                   2424: 
                   2425: struct incomplete_array
                   2426: {
                   2427:   int datasize;
                   2428:   double data[];
                   2429: };
                   2430: 
                   2431: struct named_init {
                   2432:   int number;
                   2433:   const wchar_t *name;
                   2434:   double average;
                   2435: };
                   2436: 
                   2437: typedef const char *ccp;
                   2438: 
                   2439: static inline int
                   2440: test_restrict (ccp restrict text)
                   2441: {
                   2442:   // Iterate through items via the restricted pointer.
                   2443:   // Also check for declarations in for loops.
                   2444:   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
                   2445:     continue;
                   2446:   return 0;
                   2447: }
                   2448: 
                   2449: // Check varargs and va_copy.
                   2450: static bool
                   2451: test_varargs (const char *format, ...)
                   2452: {
                   2453:   va_list args;
                   2454:   va_start (args, format);
                   2455:   va_list args_copy;
                   2456:   va_copy (args_copy, args);
                   2457: 
                   2458:   const char *str = "";
                   2459:   int number = 0;
                   2460:   float fnumber = 0;
                   2461: 
                   2462:   while (*format)
                   2463:     {
                   2464:       switch (*format++)
                   2465:        {
                   2466:        case '\''s'\'': // string
                   2467:          str = va_arg (args_copy, const char *);
                   2468:          break;
                   2469:        case '\''d'\'': // int
                   2470:          number = va_arg (args_copy, int);
                   2471:          break;
                   2472:        case '\''f'\'': // float
                   2473:          fnumber = va_arg (args_copy, double);
                   2474:          break;
                   2475:        default:
                   2476:          break;
                   2477:        }
                   2478:     }
                   2479:   va_end (args_copy);
                   2480:   va_end (args);
                   2481: 
                   2482:   return *str && number && fnumber;
                   2483: }
                   2484: '
                   2485: 
                   2486: # Test code for whether the C compiler supports C99 (body of main).
                   2487: ac_c_conftest_c99_main='
                   2488:   // Check bool.
                   2489:   _Bool success = false;
                   2490:   success |= (argc != 0);
                   2491: 
                   2492:   // Check restrict.
                   2493:   if (test_restrict ("String literal") == 0)
                   2494:     success = true;
                   2495:   char *restrict newvar = "Another string";
                   2496: 
                   2497:   // Check varargs.
                   2498:   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
                   2499:   test_varargs_macros ();
                   2500: 
                   2501:   // Check flexible array members.
                   2502:   struct incomplete_array *ia =
                   2503:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   2504:   ia->datasize = 10;
                   2505:   for (int i = 0; i < ia->datasize; ++i)
                   2506:     ia->data[i] = i * 1.234;
1.1.1.15  root     2507:   // Work around memory leak warnings.
                   2508:   free (ia);
1.1.1.10  root     2509: 
                   2510:   // Check named initializers.
                   2511:   struct named_init ni = {
                   2512:     .number = 34,
                   2513:     .name = L"Test wide string",
                   2514:     .average = 543.34343,
                   2515:   };
                   2516: 
                   2517:   ni.number = 58;
                   2518: 
                   2519:   int dynamic_array[ni.number];
                   2520:   dynamic_array[0] = argv[0][0];
                   2521:   dynamic_array[ni.number - 1] = 543;
                   2522: 
                   2523:   // work around unused variable warnings
                   2524:   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
                   2525:         || dynamic_array[ni.number - 1] != 543);
                   2526: '
                   2527: 
                   2528: # Test code for whether the C compiler supports C11 (global declarations)
                   2529: ac_c_conftest_c11_globals='
1.1.1.15  root     2530: /* Does the compiler advertise C11 conformance? */
1.1.1.10  root     2531: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
                   2532: # error "Compiler does not advertise C11 conformance"
                   2533: #endif
                   2534: 
                   2535: // Check _Alignas.
                   2536: char _Alignas (double) aligned_as_double;
                   2537: char _Alignas (0) no_special_alignment;
                   2538: extern char aligned_as_int;
                   2539: char _Alignas (0) _Alignas (int) aligned_as_int;
                   2540: 
                   2541: // Check _Alignof.
                   2542: enum
                   2543: {
                   2544:   int_alignment = _Alignof (int),
                   2545:   int_array_alignment = _Alignof (int[100]),
                   2546:   char_alignment = _Alignof (char)
                   2547: };
                   2548: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
                   2549: 
                   2550: // Check _Noreturn.
                   2551: int _Noreturn does_not_return (void) { for (;;) continue; }
                   2552: 
                   2553: // Check _Static_assert.
                   2554: struct test_static_assert
                   2555: {
                   2556:   int x;
                   2557:   _Static_assert (sizeof (int) <= sizeof (long int),
                   2558:                   "_Static_assert does not work in struct");
                   2559:   long int y;
                   2560: };
                   2561: 
                   2562: // Check UTF-8 literals.
                   2563: #define u8 syntax error!
                   2564: char const utf8_literal[] = u8"happens to be ASCII" "another string";
                   2565: 
                   2566: // Check duplicate typedefs.
                   2567: typedef long *long_ptr;
                   2568: typedef long int *long_ptr;
                   2569: typedef long_ptr long_ptr;
                   2570: 
                   2571: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
                   2572: struct anonymous
                   2573: {
                   2574:   union {
                   2575:     struct { int i; int j; };
                   2576:     struct { int k; long int l; } w;
                   2577:   };
                   2578:   int m;
                   2579: } v1;
                   2580: '
                   2581: 
                   2582: # Test code for whether the C compiler supports C11 (body of main).
                   2583: ac_c_conftest_c11_main='
                   2584:   _Static_assert ((offsetof (struct anonymous, i)
                   2585:                   == offsetof (struct anonymous, w.k)),
                   2586:                  "Anonymous union alignment botch");
                   2587:   v1.i = 2;
                   2588:   v1.w.k = 5;
                   2589:   ok |= v1.i != 5;
                   2590: '
                   2591: 
                   2592: # Test code for whether the C compiler supports C11 (complete).
                   2593: ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
                   2594: ${ac_c_conftest_c99_globals}
                   2595: ${ac_c_conftest_c11_globals}
                   2596: 
                   2597: int
                   2598: main (int argc, char **argv)
                   2599: {
                   2600:   int ok = 0;
                   2601:   ${ac_c_conftest_c89_main}
                   2602:   ${ac_c_conftest_c99_main}
                   2603:   ${ac_c_conftest_c11_main}
                   2604:   return ok;
                   2605: }
                   2606: "
                   2607: 
                   2608: # Test code for whether the C compiler supports C99 (complete).
                   2609: ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
                   2610: ${ac_c_conftest_c99_globals}
                   2611: 
                   2612: int
                   2613: main (int argc, char **argv)
                   2614: {
                   2615:   int ok = 0;
                   2616:   ${ac_c_conftest_c89_main}
                   2617:   ${ac_c_conftest_c99_main}
                   2618:   return ok;
                   2619: }
                   2620: "
                   2621: 
                   2622: # Test code for whether the C compiler supports C89 (complete).
                   2623: ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
                   2624: 
                   2625: int
                   2626: main (int argc, char **argv)
                   2627: {
                   2628:   int ok = 0;
                   2629:   ${ac_c_conftest_c89_main}
                   2630:   return ok;
                   2631: }
                   2632: "
                   2633: 
                   2634: as_fn_append ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H"
                   2635: as_fn_append ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H"
                   2636: as_fn_append ac_header_cxx_list " string.h string_h HAVE_STRING_H"
                   2637: as_fn_append ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
                   2638: as_fn_append ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H"
                   2639: as_fn_append ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H"
                   2640: as_fn_append ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
                   2641: as_fn_append ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
                   2642: as_fn_append ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H"
                   2643: 
                   2644: # Auxiliary files required by this configure script.
                   2645: ac_aux_files="config.guess config.sub install-sh"
                   2646: 
                   2647: # Locations in which to look for auxiliary files.
                   2648: ac_aux_dir_candidates="${srcdir}/scripts"
                   2649: 
                   2650: # Search for a directory containing all of the required auxiliary files,
                   2651: # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
                   2652: # If we don't find one directory that contains all the files we need,
                   2653: # we report the set of missing files from the *first* directory in
                   2654: # $ac_aux_dir_candidates and give up.
                   2655: ac_missing_aux_files=""
                   2656: ac_first_candidate=:
                   2657: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
                   2658: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2659: as_found=false
                   2660: for as_dir in $ac_aux_dir_candidates
                   2661: do
                   2662:   IFS=$as_save_IFS
                   2663:   case $as_dir in #(((
                   2664:     '') as_dir=./ ;;
                   2665:     */) ;;
                   2666:     *) as_dir=$as_dir/ ;;
                   2667:   esac
                   2668:   as_found=:
                   2669: 
                   2670:   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
                   2671:   ac_aux_dir_found=yes
                   2672:   ac_install_sh=
                   2673:   for ac_aux in $ac_aux_files
                   2674:   do
                   2675:     # As a special case, if "install-sh" is required, that requirement
                   2676:     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
                   2677:     # and $ac_install_sh is set appropriately for whichever one is found.
                   2678:     if test x"$ac_aux" = x"install-sh"
                   2679:     then
                   2680:       if test -f "${as_dir}install-sh"; then
                   2681:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
                   2682:         ac_install_sh="${as_dir}install-sh -c"
                   2683:       elif test -f "${as_dir}install.sh"; then
                   2684:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
                   2685:         ac_install_sh="${as_dir}install.sh -c"
                   2686:       elif test -f "${as_dir}shtool"; then
                   2687:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
                   2688:         ac_install_sh="${as_dir}shtool install -c"
                   2689:       else
                   2690:         ac_aux_dir_found=no
                   2691:         if $ac_first_candidate; then
                   2692:           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
                   2693:         else
                   2694:           break
                   2695:         fi
                   2696:       fi
                   2697:     else
                   2698:       if test -f "${as_dir}${ac_aux}"; then
                   2699:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
                   2700:       else
                   2701:         ac_aux_dir_found=no
                   2702:         if $ac_first_candidate; then
                   2703:           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
                   2704:         else
                   2705:           break
                   2706:         fi
                   2707:       fi
                   2708:     fi
                   2709:   done
                   2710:   if test "$ac_aux_dir_found" = yes; then
                   2711:     ac_aux_dir="$as_dir"
1.1.1.6   root     2712:     break
                   2713:   fi
1.1.1.10  root     2714:   ac_first_candidate=false
                   2715: 
                   2716:   as_found=false
1.1.1.6   root     2717: done
1.1.1.10  root     2718: IFS=$as_save_IFS
                   2719: if $as_found
                   2720: then :
                   2721: 
1.1.1.15  root     2722: else case e in #(
                   2723:   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
                   2724: esac
1.1.1.6   root     2725: fi
                   2726: 
1.1.1.10  root     2727: 
1.1.1.6   root     2728: # These three variables are undocumented and unsupported,
                   2729: # and are intended to be withdrawn in a future Autoconf release.
                   2730: # They can cause serious problems if a builder's source tree is in a directory
                   2731: # whose full name contains unusual characters.
1.1.1.10  root     2732: if test -f "${ac_aux_dir}config.guess"; then
                   2733:   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
                   2734: fi
                   2735: if test -f "${ac_aux_dir}config.sub"; then
                   2736:   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
                   2737: fi
                   2738: if test -f "$ac_aux_dir/configure"; then
                   2739:   ac_configure="$SHELL ${ac_aux_dir}configure"
                   2740: fi
                   2741: 
                   2742: # Check that the precious variables saved in the cache have kept the same
                   2743: # value.
                   2744: ac_cache_corrupted=false
                   2745: for ac_var in $ac_precious_vars; do
                   2746:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2747:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2748:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2749:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2750:   case $ac_old_set,$ac_new_set in
                   2751:     set,)
1.1.1.15  root     2752:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
                   2753: printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1.1.1.10  root     2754:       ac_cache_corrupted=: ;;
                   2755:     ,set)
1.1.1.15  root     2756:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
                   2757: printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1.1.1.10  root     2758:       ac_cache_corrupted=: ;;
                   2759:     ,);;
                   2760:     *)
                   2761:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2762:        # differences in whitespace do not lead to failure.
                   2763:        ac_old_val_w=`echo x $ac_old_val`
                   2764:        ac_new_val_w=`echo x $ac_new_val`
                   2765:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.1.1.15  root     2766:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
                   2767: printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1.1.1.10  root     2768:          ac_cache_corrupted=:
                   2769:        else
1.1.1.15  root     2770:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
                   2771: printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1.1.1.10  root     2772:          eval $ac_var=\$ac_old_val
                   2773:        fi
1.1.1.15  root     2774:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
                   2775: printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
                   2776:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
                   2777: printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
1.1.1.10  root     2778:       fi;;
                   2779:   esac
                   2780:   # Pass precious variables to config.status.
                   2781:   if test "$ac_new_set" = set; then
                   2782:     case $ac_new_val in
                   2783:     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2784:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2785:     esac
                   2786:     case " $ac_configure_args " in
                   2787:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2788:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2789:     esac
                   2790:   fi
                   2791: done
                   2792: if $ac_cache_corrupted; then
1.1.1.15  root     2793:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   2794: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.10  root     2795:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2796: printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1.15  root     2797:   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1.1.1.10  root     2798:            and start over" "$LINENO" 5
                   2799: fi
                   2800: ## -------------------- ##
                   2801: ## Main body of script. ##
                   2802: ## -------------------- ##
                   2803: 
                   2804: ac_ext=c
                   2805: ac_cpp='$CPP $CPPFLAGS'
                   2806: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2807: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2808: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2809: 
                   2810: 
1.1.1.6   root     2811: 
                   2812: 
1.1       root     2813: 
                   2814: # Checks for programs.
1.1.1.10  root     2815: 
                   2816: 
                   2817: 
                   2818: 
                   2819: 
                   2820: 
1.1       root     2821: ac_ext=cpp
                   2822: ac_cpp='$CXXCPP $CPPFLAGS'
                   2823: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2824: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2825: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2826: if test -z "$CXX"; then
                   2827:   if test -n "$CCC"; then
                   2828:     CXX=$CCC
                   2829:   else
                   2830:     if test -n "$ac_tool_prefix"; then
1.1.1.10  root     2831:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2832:   do
                   2833:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2834: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10  root     2835: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2836: printf %s "checking for $ac_word... " >&6; }
                   2837: if test ${ac_cv_prog_CXX+y}
                   2838: then :
                   2839:   printf %s "(cached) " >&6
1.1.1.15  root     2840: else case e in #(
                   2841:   e) if test -n "$CXX"; then
1.1       root     2842:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2843: else
                   2844: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2845: for as_dir in $PATH
                   2846: do
                   2847:   IFS=$as_save_IFS
1.1.1.10  root     2848:   case $as_dir in #(((
                   2849:     '') as_dir=./ ;;
                   2850:     */) ;;
                   2851:     *) as_dir=$as_dir/ ;;
                   2852:   esac
1.1       root     2853:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     2854:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2855:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.1.1.10  root     2856:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2857:     break 2
                   2858:   fi
                   2859: done
                   2860:   done
                   2861: IFS=$as_save_IFS
                   2862: 
1.1.1.15  root     2863: fi ;;
                   2864: esac
1.1       root     2865: fi
                   2866: CXX=$ac_cv_prog_CXX
                   2867: if test -n "$CXX"; then
1.1.1.10  root     2868:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   2869: printf "%s\n" "$CXX" >&6; }
1.1       root     2870: else
1.1.1.10  root     2871:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2872: printf "%s\n" "no" >&6; }
1.1       root     2873: fi
                   2874: 
                   2875: 
                   2876:     test -n "$CXX" && break
                   2877:   done
                   2878: fi
                   2879: if test -z "$CXX"; then
                   2880:   ac_ct_CXX=$CXX
1.1.1.10  root     2881:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2882: do
                   2883:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2884: set dummy $ac_prog; ac_word=$2
1.1.1.10  root     2885: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2886: printf %s "checking for $ac_word... " >&6; }
                   2887: if test ${ac_cv_prog_ac_ct_CXX+y}
                   2888: then :
                   2889:   printf %s "(cached) " >&6
1.1.1.15  root     2890: else case e in #(
                   2891:   e) if test -n "$ac_ct_CXX"; then
1.1       root     2892:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2893: else
                   2894: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2895: for as_dir in $PATH
                   2896: do
                   2897:   IFS=$as_save_IFS
1.1.1.10  root     2898:   case $as_dir in #(((
                   2899:     '') as_dir=./ ;;
                   2900:     */) ;;
                   2901:     *) as_dir=$as_dir/ ;;
                   2902:   esac
1.1       root     2903:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     2904:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2905:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.1.1.10  root     2906:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2907:     break 2
                   2908:   fi
                   2909: done
                   2910:   done
                   2911: IFS=$as_save_IFS
                   2912: 
1.1.1.15  root     2913: fi ;;
                   2914: esac
1.1       root     2915: fi
                   2916: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2917: if test -n "$ac_ct_CXX"; then
1.1.1.10  root     2918:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   2919: printf "%s\n" "$ac_ct_CXX" >&6; }
1.1       root     2920: else
1.1.1.10  root     2921:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2922: printf "%s\n" "no" >&6; }
1.1       root     2923: fi
                   2924: 
                   2925: 
                   2926:   test -n "$ac_ct_CXX" && break
                   2927: done
                   2928: 
                   2929:   if test "x$ac_ct_CXX" = x; then
                   2930:     CXX="g++"
                   2931:   else
                   2932:     case $cross_compiling:$ac_tool_warned in
                   2933: yes:)
1.1.1.10  root     2934: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2935: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     2936: ac_tool_warned=yes ;;
                   2937: esac
                   2938:     CXX=$ac_ct_CXX
                   2939:   fi
                   2940: fi
                   2941: 
                   2942:   fi
                   2943: fi
                   2944: # Provide some information about the compiler.
1.1.1.10  root     2945: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1.1       root     2946: set X $ac_compile
                   2947: ac_compiler=$2
                   2948: for ac_option in --version -v -V -qversion; do
                   2949:   { { ac_try="$ac_compiler $ac_option >&5"
                   2950: case "(($ac_try" in
                   2951:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2952:   *) ac_try_echo=$ac_try;;
                   2953: esac
                   2954: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     2955: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2956:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   2957:   ac_status=$?
                   2958:   if test -s conftest.err; then
                   2959:     sed '10a\
                   2960: ... rest of stderr output deleted ...
                   2961:          10q' conftest.err >conftest.er1
                   2962:     cat conftest.er1 >&5
                   2963:   fi
                   2964:   rm -f conftest.er1 conftest.err
1.1.1.10  root     2965:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     2966:   test $ac_status = 0; }
                   2967: done
                   2968: 
                   2969: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2970: /* end confdefs.h.  */
                   2971: 
                   2972: int
1.1.1.10  root     2973: main (void)
1.1       root     2974: {
                   2975: 
                   2976:   ;
                   2977:   return 0;
                   2978: }
                   2979: _ACEOF
                   2980: ac_clean_files_save=$ac_clean_files
                   2981: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   2982: # Try to create an executable without -o first, disregard a.out.
                   2983: # It will help us diagnose broken compilers, and finding out an intuition
                   2984: # of exeext.
1.1.1.10  root     2985: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   2986: printf %s "checking whether the C++ compiler works... " >&6; }
                   2987: ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1       root     2988: 
                   2989: # The possible output files:
                   2990: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2991: 
                   2992: ac_rmfiles=
                   2993: for ac_file in $ac_files
                   2994: do
                   2995:   case $ac_file in
                   2996:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2997:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2998:   esac
                   2999: done
                   3000: rm -f $ac_rmfiles
                   3001: 
                   3002: if { { ac_try="$ac_link_default"
                   3003: case "(($ac_try" in
                   3004:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3005:   *) ac_try_echo=$ac_try;;
                   3006: esac
                   3007: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3008: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3009:   (eval "$ac_link_default") 2>&5
                   3010:   ac_status=$?
1.1.1.10  root     3011:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3012:   test $ac_status = 0; }
                   3013: then :
1.1.1.15  root     3014:   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
                   3015: # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
1.1       root     3016: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3017: # so that the user can short-circuit this test for compilers unknown to
                   3018: # Autoconf.
                   3019: for ac_file in $ac_files ''
                   3020: do
                   3021:   test -f "$ac_file" || continue
                   3022:   case $ac_file in
                   3023:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3024:        ;;
                   3025:     [ab].out )
                   3026:        # We found the default executable, but exeext='' is most
                   3027:        # certainly right.
                   3028:        break;;
                   3029:     *.* )
1.1.1.10  root     3030:        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
1.1       root     3031:        then :; else
                   3032:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3033:        fi
                   3034:        # We set ac_cv_exeext here because the later test for it is not
1.1.1.15  root     3035:        # safe: cross compilers may not add the suffix if given an '-o'
1.1       root     3036:        # argument, so we may need to know it at that point already.
                   3037:        # Even if this section looks crufty: it has the advantage of
                   3038:        # actually working.
                   3039:        break;;
                   3040:     * )
                   3041:        break;;
                   3042:   esac
                   3043: done
                   3044: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3045: 
1.1.1.15  root     3046: else case e in #(
                   3047:   e) ac_file='' ;;
                   3048: esac
1.1       root     3049: fi
1.1.1.10  root     3050: if test -z "$ac_file"
                   3051: then :
                   3052:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3053: printf "%s\n" "no" >&6; }
                   3054: printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     3055: sed 's/^/| /' conftest.$ac_ext >&5
                   3056: 
1.1.1.15  root     3057: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3058: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3059: as_fn_error 77 "C++ compiler cannot create executables
1.1.1.15  root     3060: See 'config.log' for more details" "$LINENO" 5; }
                   3061: else case e in #(
                   3062:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3063: printf "%s\n" "yes" >&6; } ;;
                   3064: esac
1.1.1.10  root     3065: fi
                   3066: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3067: printf %s "checking for C++ compiler default output file name... " >&6; }
                   3068: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3069: printf "%s\n" "$ac_file" >&6; }
1.1       root     3070: ac_exeext=$ac_cv_exeext
                   3071: 
                   3072: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3073: ac_clean_files=$ac_clean_files_save
1.1.1.10  root     3074: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3075: printf %s "checking for suffix of executables... " >&6; }
1.1       root     3076: if { { ac_try="$ac_link"
                   3077: case "(($ac_try" in
                   3078:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3079:   *) ac_try_echo=$ac_try;;
                   3080: esac
                   3081: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3082: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3083:   (eval "$ac_link") 2>&5
                   3084:   ac_status=$?
1.1.1.10  root     3085:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3086:   test $ac_status = 0; }
                   3087: then :
1.1.1.15  root     3088:   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
                   3089: # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
                   3090: # work properly (i.e., refer to 'conftest.exe'), while it won't with
                   3091: # 'rm'.
1.1       root     3092: for ac_file in conftest.exe conftest conftest.*; do
                   3093:   test -f "$ac_file" || continue
                   3094:   case $ac_file in
                   3095:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3096:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3097:          break;;
                   3098:     * ) break;;
                   3099:   esac
                   3100: done
1.1.1.15  root     3101: else case e in #(
                   3102:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3103: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3104: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.1.1.15  root     3105: See 'config.log' for more details" "$LINENO" 5; } ;;
                   3106: esac
1.1       root     3107: fi
                   3108: rm -f conftest conftest$ac_cv_exeext
1.1.1.10  root     3109: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3110: printf "%s\n" "$ac_cv_exeext" >&6; }
1.1       root     3111: 
                   3112: rm -f conftest.$ac_ext
                   3113: EXEEXT=$ac_cv_exeext
                   3114: ac_exeext=$EXEEXT
                   3115: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3116: /* end confdefs.h.  */
                   3117: #include <stdio.h>
                   3118: int
1.1.1.10  root     3119: main (void)
1.1       root     3120: {
                   3121: FILE *f = fopen ("conftest.out", "w");
1.1.1.15  root     3122:  if (!f)
                   3123:   return 1;
1.1       root     3124:  return ferror (f) || fclose (f) != 0;
                   3125: 
                   3126:   ;
                   3127:   return 0;
                   3128: }
                   3129: _ACEOF
                   3130: ac_clean_files="$ac_clean_files conftest.out"
                   3131: # Check that the compiler produces executables we can run.  If not, either
                   3132: # the compiler is broken, or we cross compile.
1.1.1.10  root     3133: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3134: printf %s "checking whether we are cross compiling... " >&6; }
1.1       root     3135: if test "$cross_compiling" != yes; then
                   3136:   { { ac_try="$ac_link"
                   3137: case "(($ac_try" in
                   3138:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3139:   *) ac_try_echo=$ac_try;;
                   3140: esac
                   3141: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3142: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3143:   (eval "$ac_link") 2>&5
                   3144:   ac_status=$?
1.1.1.10  root     3145:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3146:   test $ac_status = 0; }
                   3147:   if { ac_try='./conftest$ac_cv_exeext'
                   3148:   { { case "(($ac_try" in
                   3149:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3150:   *) ac_try_echo=$ac_try;;
                   3151: esac
                   3152: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3153: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3154:   (eval "$ac_try") 2>&5
                   3155:   ac_status=$?
1.1.1.10  root     3156:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3157:   test $ac_status = 0; }; }; then
                   3158:     cross_compiling=no
                   3159:   else
                   3160:     if test "$cross_compiling" = maybe; then
                   3161:        cross_compiling=yes
                   3162:     else
1.1.1.15  root     3163:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3164: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.10  root     3165: as_fn_error 77 "cannot run C++ compiled programs.
1.1.1.15  root     3166: If you meant to cross compile, use '--host'.
                   3167: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     3168:     fi
                   3169:   fi
                   3170: fi
1.1.1.10  root     3171: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3172: printf "%s\n" "$cross_compiling" >&6; }
1.1       root     3173: 
1.1.1.15  root     3174: rm -f conftest.$ac_ext conftest$ac_cv_exeext \
                   3175:   conftest.o conftest.obj conftest.out
1.1       root     3176: ac_clean_files=$ac_clean_files_save
1.1.1.10  root     3177: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3178: printf %s "checking for suffix of object files... " >&6; }
                   3179: if test ${ac_cv_objext+y}
                   3180: then :
                   3181:   printf %s "(cached) " >&6
1.1.1.15  root     3182: else case e in #(
                   3183:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3184: /* end confdefs.h.  */
                   3185: 
                   3186: int
1.1.1.10  root     3187: main (void)
1.1       root     3188: {
                   3189: 
                   3190:   ;
                   3191:   return 0;
                   3192: }
                   3193: _ACEOF
                   3194: rm -f conftest.o conftest.obj
                   3195: if { { ac_try="$ac_compile"
                   3196: case "(($ac_try" in
                   3197:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3198:   *) ac_try_echo=$ac_try;;
                   3199: esac
                   3200: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3201: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3202:   (eval "$ac_compile") 2>&5
                   3203:   ac_status=$?
1.1.1.10  root     3204:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3205:   test $ac_status = 0; }
                   3206: then :
1.1       root     3207:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3208:   test -f "$ac_file" || continue;
                   3209:   case $ac_file in
                   3210:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3211:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3212:        break;;
                   3213:   esac
                   3214: done
1.1.1.15  root     3215: else case e in #(
                   3216:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     3217: sed 's/^/| /' conftest.$ac_ext >&5
                   3218: 
1.1.1.15  root     3219: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3220: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3221: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.1.1.15  root     3222: See 'config.log' for more details" "$LINENO" 5; } ;;
                   3223: esac
1.1       root     3224: fi
1.1.1.15  root     3225: rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
                   3226: esac
1.1       root     3227: fi
1.1.1.10  root     3228: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3229: printf "%s\n" "$ac_cv_objext" >&6; }
1.1       root     3230: OBJEXT=$ac_cv_objext
                   3231: ac_objext=$OBJEXT
1.1.1.10  root     3232: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
                   3233: printf %s "checking whether the compiler supports GNU C++... " >&6; }
                   3234: if test ${ac_cv_cxx_compiler_gnu+y}
                   3235: then :
                   3236:   printf %s "(cached) " >&6
1.1.1.15  root     3237: else case e in #(
                   3238:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3239: /* end confdefs.h.  */
                   3240: 
                   3241: int
1.1.1.10  root     3242: main (void)
1.1       root     3243: {
                   3244: #ifndef __GNUC__
                   3245:        choke me
                   3246: #endif
                   3247: 
                   3248:   ;
                   3249:   return 0;
                   3250: }
                   3251: _ACEOF
1.1.1.10  root     3252: if ac_fn_cxx_try_compile "$LINENO"
                   3253: then :
1.1       root     3254:   ac_compiler_gnu=yes
1.1.1.15  root     3255: else case e in #(
                   3256:   e) ac_compiler_gnu=no ;;
                   3257: esac
1.1       root     3258: fi
1.1.1.10  root     3259: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3260: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1.1.15  root     3261:  ;;
                   3262: esac
1.1       root     3263: fi
1.1.1.10  root     3264: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3265: printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
                   3266: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   3267: 
1.1       root     3268: if test $ac_compiler_gnu = yes; then
                   3269:   GXX=yes
                   3270: else
                   3271:   GXX=
                   3272: fi
1.1.1.10  root     3273: ac_test_CXXFLAGS=${CXXFLAGS+y}
1.1       root     3274: ac_save_CXXFLAGS=$CXXFLAGS
1.1.1.10  root     3275: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3276: printf %s "checking whether $CXX accepts -g... " >&6; }
                   3277: if test ${ac_cv_prog_cxx_g+y}
                   3278: then :
                   3279:   printf %s "(cached) " >&6
1.1.1.15  root     3280: else case e in #(
                   3281:   e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.1       root     3282:    ac_cxx_werror_flag=yes
                   3283:    ac_cv_prog_cxx_g=no
                   3284:    CXXFLAGS="-g"
                   3285:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3286: /* end confdefs.h.  */
                   3287: 
                   3288: int
1.1.1.10  root     3289: main (void)
1.1       root     3290: {
                   3291: 
                   3292:   ;
                   3293:   return 0;
                   3294: }
                   3295: _ACEOF
1.1.1.10  root     3296: if ac_fn_cxx_try_compile "$LINENO"
                   3297: then :
1.1       root     3298:   ac_cv_prog_cxx_g=yes
1.1.1.15  root     3299: else case e in #(
                   3300:   e) CXXFLAGS=""
1.1       root     3301:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3302: /* end confdefs.h.  */
                   3303: 
                   3304: int
1.1.1.10  root     3305: main (void)
1.1       root     3306: {
                   3307: 
                   3308:   ;
                   3309:   return 0;
                   3310: }
                   3311: _ACEOF
1.1.1.10  root     3312: if ac_fn_cxx_try_compile "$LINENO"
                   3313: then :
1.1       root     3314: 
1.1.1.15  root     3315: else case e in #(
                   3316:   e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.1       root     3317:         CXXFLAGS="-g"
                   3318:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3319: /* end confdefs.h.  */
                   3320: 
                   3321: int
1.1.1.10  root     3322: main (void)
1.1       root     3323: {
                   3324: 
                   3325:   ;
                   3326:   return 0;
                   3327: }
                   3328: _ACEOF
1.1.1.10  root     3329: if ac_fn_cxx_try_compile "$LINENO"
                   3330: then :
1.1       root     3331:   ac_cv_prog_cxx_g=yes
                   3332: fi
1.1.1.15  root     3333: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   3334: esac
1.1       root     3335: fi
1.1.1.15  root     3336: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   3337: esac
1.1       root     3338: fi
1.1.1.10  root     3339: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.15  root     3340:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
                   3341: esac
1.1       root     3342: fi
1.1.1.10  root     3343: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3344: printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
                   3345: if test $ac_test_CXXFLAGS; then
1.1       root     3346:   CXXFLAGS=$ac_save_CXXFLAGS
                   3347: elif test $ac_cv_prog_cxx_g = yes; then
                   3348:   if test "$GXX" = yes; then
                   3349:     CXXFLAGS="-g -O2"
                   3350:   else
                   3351:     CXXFLAGS="-g"
                   3352:   fi
                   3353: else
                   3354:   if test "$GXX" = yes; then
                   3355:     CXXFLAGS="-O2"
                   3356:   else
                   3357:     CXXFLAGS=
                   3358:   fi
                   3359: fi
1.1.1.10  root     3360: ac_prog_cxx_stdcxx=no
                   3361: if test x$ac_prog_cxx_stdcxx = xno
                   3362: then :
                   3363:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
                   3364: printf %s "checking for $CXX option to enable C++11 features... " >&6; }
1.1.1.15  root     3365: if test ${ac_cv_prog_cxx_cxx11+y}
1.1.1.10  root     3366: then :
                   3367:   printf %s "(cached) " >&6
1.1.1.15  root     3368: else case e in #(
                   3369:   e) ac_cv_prog_cxx_cxx11=no
1.1.1.10  root     3370: ac_save_CXX=$CXX
                   3371: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3372: /* end confdefs.h.  */
                   3373: $ac_cxx_conftest_cxx11_program
                   3374: _ACEOF
                   3375: for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
                   3376: do
                   3377:   CXX="$ac_save_CXX $ac_arg"
                   3378:   if ac_fn_cxx_try_compile "$LINENO"
                   3379: then :
                   3380:   ac_cv_prog_cxx_cxx11=$ac_arg
                   3381: fi
                   3382: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   3383:   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
                   3384: done
                   3385: rm -f conftest.$ac_ext
1.1.1.15  root     3386: CXX=$ac_save_CXX ;;
                   3387: esac
1.1.1.10  root     3388: fi
                   3389: 
                   3390: if test "x$ac_cv_prog_cxx_cxx11" = xno
                   3391: then :
                   3392:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3393: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     3394: else case e in #(
                   3395:   e) if test "x$ac_cv_prog_cxx_cxx11" = x
1.1.1.10  root     3396: then :
                   3397:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3398: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     3399: else case e in #(
                   3400:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
1.1.1.10  root     3401: printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
1.1.1.15  root     3402:      CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
                   3403: esac
1.1.1.10  root     3404: fi
                   3405:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
1.1.1.15  root     3406:   ac_prog_cxx_stdcxx=cxx11 ;;
                   3407: esac
1.1.1.10  root     3408: fi
                   3409: fi
                   3410: if test x$ac_prog_cxx_stdcxx = xno
                   3411: then :
                   3412:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
                   3413: printf %s "checking for $CXX option to enable C++98 features... " >&6; }
1.1.1.15  root     3414: if test ${ac_cv_prog_cxx_cxx98+y}
1.1.1.10  root     3415: then :
                   3416:   printf %s "(cached) " >&6
1.1.1.15  root     3417: else case e in #(
                   3418:   e) ac_cv_prog_cxx_cxx98=no
1.1.1.10  root     3419: ac_save_CXX=$CXX
                   3420: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3421: /* end confdefs.h.  */
                   3422: $ac_cxx_conftest_cxx98_program
                   3423: _ACEOF
                   3424: for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
                   3425: do
                   3426:   CXX="$ac_save_CXX $ac_arg"
                   3427:   if ac_fn_cxx_try_compile "$LINENO"
                   3428: then :
                   3429:   ac_cv_prog_cxx_cxx98=$ac_arg
                   3430: fi
                   3431: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   3432:   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
                   3433: done
                   3434: rm -f conftest.$ac_ext
1.1.1.15  root     3435: CXX=$ac_save_CXX ;;
                   3436: esac
1.1.1.10  root     3437: fi
                   3438: 
                   3439: if test "x$ac_cv_prog_cxx_cxx98" = xno
                   3440: then :
                   3441:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3442: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     3443: else case e in #(
                   3444:   e) if test "x$ac_cv_prog_cxx_cxx98" = x
1.1.1.10  root     3445: then :
                   3446:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3447: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     3448: else case e in #(
                   3449:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
1.1.1.10  root     3450: printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
1.1.1.15  root     3451:      CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
                   3452: esac
1.1.1.10  root     3453: fi
                   3454:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
1.1.1.15  root     3455:   ac_prog_cxx_stdcxx=cxx98 ;;
                   3456: esac
1.1.1.10  root     3457: fi
                   3458: fi
                   3459: 
                   3460: ac_ext=c
                   3461: ac_cpp='$CPP $CPPFLAGS'
                   3462: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3463: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3464: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3465: 
                   3466: 
                   3467: 
                   3468: 
                   3469: 
                   3470: 
                   3471: 
                   3472: 
                   3473: 
                   3474: 
1.1       root     3475: ac_ext=c
                   3476: ac_cpp='$CPP $CPPFLAGS'
                   3477: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3478: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3479: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3480: if test -n "$ac_tool_prefix"; then
                   3481:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3482: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.10  root     3483: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3484: printf %s "checking for $ac_word... " >&6; }
                   3485: if test ${ac_cv_prog_CC+y}
                   3486: then :
                   3487:   printf %s "(cached) " >&6
1.1.1.15  root     3488: else case e in #(
                   3489:   e) if test -n "$CC"; then
1.1       root     3490:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3491: else
                   3492: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3493: for as_dir in $PATH
                   3494: do
                   3495:   IFS=$as_save_IFS
1.1.1.10  root     3496:   case $as_dir in #(((
                   3497:     '') as_dir=./ ;;
                   3498:     */) ;;
                   3499:     *) as_dir=$as_dir/ ;;
                   3500:   esac
1.1       root     3501:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3502:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3503:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.10  root     3504:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3505:     break 2
                   3506:   fi
                   3507: done
                   3508:   done
                   3509: IFS=$as_save_IFS
                   3510: 
1.1.1.15  root     3511: fi ;;
                   3512: esac
1.1       root     3513: fi
                   3514: CC=$ac_cv_prog_CC
                   3515: if test -n "$CC"; then
1.1.1.10  root     3516:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3517: printf "%s\n" "$CC" >&6; }
1.1       root     3518: else
1.1.1.10  root     3519:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3520: printf "%s\n" "no" >&6; }
1.1       root     3521: fi
                   3522: 
                   3523: 
                   3524: fi
                   3525: if test -z "$ac_cv_prog_CC"; then
                   3526:   ac_ct_CC=$CC
                   3527:   # Extract the first word of "gcc", so it can be a program name with args.
                   3528: set dummy gcc; ac_word=$2
1.1.1.10  root     3529: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3530: printf %s "checking for $ac_word... " >&6; }
                   3531: if test ${ac_cv_prog_ac_ct_CC+y}
                   3532: then :
                   3533:   printf %s "(cached) " >&6
1.1.1.15  root     3534: else case e in #(
                   3535:   e) if test -n "$ac_ct_CC"; then
1.1       root     3536:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3537: else
                   3538: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3539: for as_dir in $PATH
                   3540: do
                   3541:   IFS=$as_save_IFS
1.1.1.10  root     3542:   case $as_dir in #(((
                   3543:     '') as_dir=./ ;;
                   3544:     */) ;;
                   3545:     *) as_dir=$as_dir/ ;;
                   3546:   esac
1.1       root     3547:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3548:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3549:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.10  root     3550:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3551:     break 2
                   3552:   fi
                   3553: done
                   3554:   done
                   3555: IFS=$as_save_IFS
                   3556: 
1.1.1.15  root     3557: fi ;;
                   3558: esac
1.1       root     3559: fi
                   3560: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3561: if test -n "$ac_ct_CC"; then
1.1.1.10  root     3562:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3563: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3564: else
1.1.1.10  root     3565:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3566: printf "%s\n" "no" >&6; }
1.1       root     3567: fi
                   3568: 
                   3569:   if test "x$ac_ct_CC" = x; then
                   3570:     CC=""
                   3571:   else
                   3572:     case $cross_compiling:$ac_tool_warned in
                   3573: yes:)
1.1.1.10  root     3574: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3575: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3576: ac_tool_warned=yes ;;
                   3577: esac
                   3578:     CC=$ac_ct_CC
                   3579:   fi
                   3580: else
                   3581:   CC="$ac_cv_prog_CC"
                   3582: fi
                   3583: 
                   3584: if test -z "$CC"; then
                   3585:           if test -n "$ac_tool_prefix"; then
                   3586:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3587: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.10  root     3588: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3589: printf %s "checking for $ac_word... " >&6; }
                   3590: if test ${ac_cv_prog_CC+y}
                   3591: then :
                   3592:   printf %s "(cached) " >&6
1.1.1.15  root     3593: else case e in #(
                   3594:   e) if test -n "$CC"; then
1.1       root     3595:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3596: else
                   3597: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3598: for as_dir in $PATH
                   3599: do
                   3600:   IFS=$as_save_IFS
1.1.1.10  root     3601:   case $as_dir in #(((
                   3602:     '') as_dir=./ ;;
                   3603:     */) ;;
                   3604:     *) as_dir=$as_dir/ ;;
                   3605:   esac
1.1       root     3606:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3607:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3608:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.10  root     3609:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3610:     break 2
                   3611:   fi
                   3612: done
                   3613:   done
                   3614: IFS=$as_save_IFS
                   3615: 
1.1.1.15  root     3616: fi ;;
                   3617: esac
1.1       root     3618: fi
                   3619: CC=$ac_cv_prog_CC
                   3620: if test -n "$CC"; then
1.1.1.10  root     3621:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3622: printf "%s\n" "$CC" >&6; }
1.1       root     3623: else
1.1.1.10  root     3624:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3625: printf "%s\n" "no" >&6; }
1.1       root     3626: fi
                   3627: 
                   3628: 
                   3629:   fi
                   3630: fi
                   3631: if test -z "$CC"; then
                   3632:   # Extract the first word of "cc", so it can be a program name with args.
                   3633: set dummy cc; ac_word=$2
1.1.1.10  root     3634: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3635: printf %s "checking for $ac_word... " >&6; }
                   3636: if test ${ac_cv_prog_CC+y}
                   3637: then :
                   3638:   printf %s "(cached) " >&6
1.1.1.15  root     3639: else case e in #(
                   3640:   e) if test -n "$CC"; then
1.1       root     3641:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3642: else
                   3643:   ac_prog_rejected=no
                   3644: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3645: for as_dir in $PATH
                   3646: do
                   3647:   IFS=$as_save_IFS
1.1.1.10  root     3648:   case $as_dir in #(((
                   3649:     '') as_dir=./ ;;
                   3650:     */) ;;
                   3651:     *) as_dir=$as_dir/ ;;
                   3652:   esac
1.1       root     3653:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3654:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3655:     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.1       root     3656:        ac_prog_rejected=yes
                   3657:        continue
                   3658:      fi
                   3659:     ac_cv_prog_CC="cc"
1.1.1.10  root     3660:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3661:     break 2
                   3662:   fi
                   3663: done
                   3664:   done
                   3665: IFS=$as_save_IFS
                   3666: 
                   3667: if test $ac_prog_rejected = yes; then
                   3668:   # We found a bogon in the path, so make sure we never use it.
                   3669:   set dummy $ac_cv_prog_CC
                   3670:   shift
                   3671:   if test $# != 0; then
                   3672:     # We chose a different compiler from the bogus one.
                   3673:     # However, it has the same basename, so the bogon will be chosen
                   3674:     # first if we set CC to just the basename; use the full file name.
                   3675:     shift
1.1.1.10  root     3676:     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1.1       root     3677:   fi
                   3678: fi
1.1.1.15  root     3679: fi ;;
                   3680: esac
1.1       root     3681: fi
                   3682: CC=$ac_cv_prog_CC
                   3683: if test -n "$CC"; then
1.1.1.10  root     3684:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3685: printf "%s\n" "$CC" >&6; }
1.1       root     3686: else
1.1.1.10  root     3687:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3688: printf "%s\n" "no" >&6; }
1.1       root     3689: fi
                   3690: 
                   3691: 
                   3692: fi
                   3693: if test -z "$CC"; then
                   3694:   if test -n "$ac_tool_prefix"; then
                   3695:   for ac_prog in cl.exe
                   3696:   do
                   3697:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3698: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10  root     3699: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3700: printf %s "checking for $ac_word... " >&6; }
                   3701: if test ${ac_cv_prog_CC+y}
                   3702: then :
                   3703:   printf %s "(cached) " >&6
1.1.1.15  root     3704: else case e in #(
                   3705:   e) if test -n "$CC"; then
1.1       root     3706:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3707: else
                   3708: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3709: for as_dir in $PATH
                   3710: do
                   3711:   IFS=$as_save_IFS
1.1.1.10  root     3712:   case $as_dir in #(((
                   3713:     '') as_dir=./ ;;
                   3714:     */) ;;
                   3715:     *) as_dir=$as_dir/ ;;
                   3716:   esac
1.1       root     3717:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3718:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3719:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.10  root     3720:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3721:     break 2
                   3722:   fi
                   3723: done
                   3724:   done
                   3725: IFS=$as_save_IFS
                   3726: 
1.1.1.15  root     3727: fi ;;
                   3728: esac
1.1       root     3729: fi
                   3730: CC=$ac_cv_prog_CC
                   3731: if test -n "$CC"; then
1.1.1.10  root     3732:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3733: printf "%s\n" "$CC" >&6; }
1.1       root     3734: else
1.1.1.10  root     3735:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3736: printf "%s\n" "no" >&6; }
1.1       root     3737: fi
                   3738: 
                   3739: 
                   3740:     test -n "$CC" && break
                   3741:   done
                   3742: fi
                   3743: if test -z "$CC"; then
                   3744:   ac_ct_CC=$CC
                   3745:   for ac_prog in cl.exe
                   3746: do
                   3747:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3748: set dummy $ac_prog; ac_word=$2
1.1.1.10  root     3749: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3750: printf %s "checking for $ac_word... " >&6; }
                   3751: if test ${ac_cv_prog_ac_ct_CC+y}
                   3752: then :
                   3753:   printf %s "(cached) " >&6
1.1.1.15  root     3754: else case e in #(
                   3755:   e) if test -n "$ac_ct_CC"; then
1.1       root     3756:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3757: else
                   3758: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3759: for as_dir in $PATH
                   3760: do
                   3761:   IFS=$as_save_IFS
1.1.1.10  root     3762:   case $as_dir in #(((
                   3763:     '') as_dir=./ ;;
                   3764:     */) ;;
                   3765:     *) as_dir=$as_dir/ ;;
                   3766:   esac
1.1       root     3767:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3768:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3769:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.10  root     3770:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3771:     break 2
                   3772:   fi
                   3773: done
                   3774:   done
                   3775: IFS=$as_save_IFS
                   3776: 
1.1.1.15  root     3777: fi ;;
                   3778: esac
1.1       root     3779: fi
                   3780: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3781: if test -n "$ac_ct_CC"; then
1.1.1.10  root     3782:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3783: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3784: else
1.1.1.10  root     3785:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3786: printf "%s\n" "no" >&6; }
1.1       root     3787: fi
                   3788: 
                   3789: 
                   3790:   test -n "$ac_ct_CC" && break
                   3791: done
                   3792: 
                   3793:   if test "x$ac_ct_CC" = x; then
                   3794:     CC=""
                   3795:   else
                   3796:     case $cross_compiling:$ac_tool_warned in
                   3797: yes:)
1.1.1.10  root     3798: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3799: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3800: ac_tool_warned=yes ;;
                   3801: esac
                   3802:     CC=$ac_ct_CC
                   3803:   fi
                   3804: fi
                   3805: 
                   3806: fi
                   3807: if test -z "$CC"; then
                   3808:   if test -n "$ac_tool_prefix"; then
                   3809:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
                   3810: set dummy ${ac_tool_prefix}clang; ac_word=$2
                   3811: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3812: printf %s "checking for $ac_word... " >&6; }
                   3813: if test ${ac_cv_prog_CC+y}
                   3814: then :
                   3815:   printf %s "(cached) " >&6
1.1.1.15  root     3816: else case e in #(
                   3817:   e) if test -n "$CC"; then
1.1.1.10  root     3818:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3819: else
                   3820: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3821: for as_dir in $PATH
                   3822: do
                   3823:   IFS=$as_save_IFS
                   3824:   case $as_dir in #(((
                   3825:     '') as_dir=./ ;;
                   3826:     */) ;;
                   3827:     *) as_dir=$as_dir/ ;;
                   3828:   esac
                   3829:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3830:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3831:     ac_cv_prog_CC="${ac_tool_prefix}clang"
                   3832:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   3833:     break 2
                   3834:   fi
                   3835: done
                   3836:   done
                   3837: IFS=$as_save_IFS
                   3838: 
1.1.1.15  root     3839: fi ;;
                   3840: esac
1.1.1.10  root     3841: fi
                   3842: CC=$ac_cv_prog_CC
                   3843: if test -n "$CC"; then
                   3844:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3845: printf "%s\n" "$CC" >&6; }
                   3846: else
                   3847:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3848: printf "%s\n" "no" >&6; }
                   3849: fi
                   3850: 
                   3851: 
                   3852: fi
                   3853: if test -z "$ac_cv_prog_CC"; then
                   3854:   ac_ct_CC=$CC
                   3855:   # Extract the first word of "clang", so it can be a program name with args.
                   3856: set dummy clang; ac_word=$2
                   3857: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3858: printf %s "checking for $ac_word... " >&6; }
                   3859: if test ${ac_cv_prog_ac_ct_CC+y}
                   3860: then :
                   3861:   printf %s "(cached) " >&6
1.1.1.15  root     3862: else case e in #(
                   3863:   e) if test -n "$ac_ct_CC"; then
1.1.1.10  root     3864:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3865: else
                   3866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3867: for as_dir in $PATH
                   3868: do
                   3869:   IFS=$as_save_IFS
                   3870:   case $as_dir in #(((
                   3871:     '') as_dir=./ ;;
                   3872:     */) ;;
                   3873:     *) as_dir=$as_dir/ ;;
                   3874:   esac
                   3875:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3876:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3877:     ac_cv_prog_ac_ct_CC="clang"
                   3878:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   3879:     break 2
                   3880:   fi
                   3881: done
                   3882:   done
                   3883: IFS=$as_save_IFS
                   3884: 
1.1.1.15  root     3885: fi ;;
                   3886: esac
1.1.1.10  root     3887: fi
                   3888: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3889: if test -n "$ac_ct_CC"; then
                   3890:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3891: printf "%s\n" "$ac_ct_CC" >&6; }
                   3892: else
                   3893:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3894: printf "%s\n" "no" >&6; }
                   3895: fi
                   3896: 
                   3897:   if test "x$ac_ct_CC" = x; then
                   3898:     CC=""
                   3899:   else
                   3900:     case $cross_compiling:$ac_tool_warned in
                   3901: yes:)
                   3902: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3903: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3904: ac_tool_warned=yes ;;
                   3905: esac
                   3906:     CC=$ac_ct_CC
                   3907:   fi
1.1.1.10  root     3908: else
                   3909:   CC="$ac_cv_prog_CC"
1.1       root     3910: fi
                   3911: 
                   3912: fi
                   3913: 
                   3914: 
1.1.1.15  root     3915: test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3916: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3917: as_fn_error $? "no acceptable C compiler found in \$PATH
1.1.1.15  root     3918: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     3919: 
                   3920: # Provide some information about the compiler.
1.1.1.10  root     3921: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1       root     3922: set X $ac_compile
                   3923: ac_compiler=$2
1.1.1.10  root     3924: for ac_option in --version -v -V -qversion -version; do
1.1       root     3925:   { { ac_try="$ac_compiler $ac_option >&5"
                   3926: case "(($ac_try" in
                   3927:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3928:   *) ac_try_echo=$ac_try;;
                   3929: esac
                   3930: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3931: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3932:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3933:   ac_status=$?
                   3934:   if test -s conftest.err; then
                   3935:     sed '10a\
                   3936: ... rest of stderr output deleted ...
                   3937:          10q' conftest.err >conftest.er1
                   3938:     cat conftest.er1 >&5
                   3939:   fi
                   3940:   rm -f conftest.er1 conftest.err
1.1.1.10  root     3941:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3942:   test $ac_status = 0; }
                   3943: done
                   3944: 
1.1.1.10  root     3945: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
                   3946: printf %s "checking whether the compiler supports GNU C... " >&6; }
                   3947: if test ${ac_cv_c_compiler_gnu+y}
                   3948: then :
                   3949:   printf %s "(cached) " >&6
1.1.1.15  root     3950: else case e in #(
                   3951:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3952: /* end confdefs.h.  */
                   3953: 
                   3954: int
1.1.1.10  root     3955: main (void)
1.1       root     3956: {
                   3957: #ifndef __GNUC__
                   3958:        choke me
                   3959: #endif
                   3960: 
                   3961:   ;
                   3962:   return 0;
                   3963: }
                   3964: _ACEOF
1.1.1.10  root     3965: if ac_fn_c_try_compile "$LINENO"
                   3966: then :
1.1       root     3967:   ac_compiler_gnu=yes
1.1.1.15  root     3968: else case e in #(
                   3969:   e) ac_compiler_gnu=no ;;
                   3970: esac
1.1       root     3971: fi
1.1.1.10  root     3972: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3973: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.1.1.15  root     3974:  ;;
                   3975: esac
1.1       root     3976: fi
1.1.1.10  root     3977: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3978: printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
                   3979: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3980: 
1.1       root     3981: if test $ac_compiler_gnu = yes; then
                   3982:   GCC=yes
                   3983: else
                   3984:   GCC=
                   3985: fi
1.1.1.10  root     3986: ac_test_CFLAGS=${CFLAGS+y}
1.1       root     3987: ac_save_CFLAGS=$CFLAGS
1.1.1.10  root     3988: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3989: printf %s "checking whether $CC accepts -g... " >&6; }
                   3990: if test ${ac_cv_prog_cc_g+y}
                   3991: then :
                   3992:   printf %s "(cached) " >&6
1.1.1.15  root     3993: else case e in #(
                   3994:   e) ac_save_c_werror_flag=$ac_c_werror_flag
1.1       root     3995:    ac_c_werror_flag=yes
                   3996:    ac_cv_prog_cc_g=no
                   3997:    CFLAGS="-g"
                   3998:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3999: /* end confdefs.h.  */
                   4000: 
                   4001: int
1.1.1.10  root     4002: main (void)
1.1       root     4003: {
                   4004: 
                   4005:   ;
                   4006:   return 0;
                   4007: }
                   4008: _ACEOF
1.1.1.10  root     4009: if ac_fn_c_try_compile "$LINENO"
                   4010: then :
1.1       root     4011:   ac_cv_prog_cc_g=yes
1.1.1.15  root     4012: else case e in #(
                   4013:   e) CFLAGS=""
1.1       root     4014:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4015: /* end confdefs.h.  */
                   4016: 
                   4017: int
1.1.1.10  root     4018: main (void)
1.1       root     4019: {
                   4020: 
                   4021:   ;
                   4022:   return 0;
                   4023: }
                   4024: _ACEOF
1.1.1.10  root     4025: if ac_fn_c_try_compile "$LINENO"
                   4026: then :
1.1       root     4027: 
1.1.1.15  root     4028: else case e in #(
                   4029:   e) ac_c_werror_flag=$ac_save_c_werror_flag
1.1       root     4030:         CFLAGS="-g"
                   4031:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4032: /* end confdefs.h.  */
                   4033: 
                   4034: int
1.1.1.10  root     4035: main (void)
1.1       root     4036: {
                   4037: 
                   4038:   ;
                   4039:   return 0;
                   4040: }
                   4041: _ACEOF
1.1.1.10  root     4042: if ac_fn_c_try_compile "$LINENO"
                   4043: then :
1.1       root     4044:   ac_cv_prog_cc_g=yes
                   4045: fi
1.1.1.15  root     4046: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4047: esac
1.1       root     4048: fi
1.1.1.15  root     4049: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4050: esac
1.1       root     4051: fi
1.1.1.10  root     4052: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.15  root     4053:    ac_c_werror_flag=$ac_save_c_werror_flag ;;
                   4054: esac
1.1       root     4055: fi
1.1.1.10  root     4056: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4057: printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
                   4058: if test $ac_test_CFLAGS; then
1.1       root     4059:   CFLAGS=$ac_save_CFLAGS
                   4060: elif test $ac_cv_prog_cc_g = yes; then
                   4061:   if test "$GCC" = yes; then
                   4062:     CFLAGS="-g -O2"
                   4063:   else
                   4064:     CFLAGS="-g"
                   4065:   fi
                   4066: else
                   4067:   if test "$GCC" = yes; then
                   4068:     CFLAGS="-O2"
                   4069:   else
                   4070:     CFLAGS=
                   4071:   fi
                   4072: fi
1.1.1.10  root     4073: ac_prog_cc_stdc=no
                   4074: if test x$ac_prog_cc_stdc = xno
                   4075: then :
                   4076:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
                   4077: printf %s "checking for $CC option to enable C11 features... " >&6; }
                   4078: if test ${ac_cv_prog_cc_c11+y}
                   4079: then :
                   4080:   printf %s "(cached) " >&6
1.1.1.15  root     4081: else case e in #(
                   4082:   e) ac_cv_prog_cc_c11=no
1.1       root     4083: ac_save_CC=$CC
                   4084: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4085: /* end confdefs.h.  */
1.1.1.10  root     4086: $ac_c_conftest_c11_program
                   4087: _ACEOF
                   4088: for ac_arg in '' -std=gnu11
                   4089: do
                   4090:   CC="$ac_save_CC $ac_arg"
                   4091:   if ac_fn_c_try_compile "$LINENO"
                   4092: then :
                   4093:   ac_cv_prog_cc_c11=$ac_arg
                   4094: fi
                   4095: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4096:   test "x$ac_cv_prog_cc_c11" != "xno" && break
                   4097: done
                   4098: rm -f conftest.$ac_ext
1.1.1.15  root     4099: CC=$ac_save_CC ;;
                   4100: esac
1.1.1.10  root     4101: fi
1.1       root     4102: 
1.1.1.10  root     4103: if test "x$ac_cv_prog_cc_c11" = xno
                   4104: then :
                   4105:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4106: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4107: else case e in #(
                   4108:   e) if test "x$ac_cv_prog_cc_c11" = x
1.1.1.10  root     4109: then :
                   4110:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4111: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4112: else case e in #(
                   4113:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
1.1.1.10  root     4114: printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
1.1.1.15  root     4115:      CC="$CC $ac_cv_prog_cc_c11" ;;
                   4116: esac
1.1.1.10  root     4117: fi
                   4118:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
1.1.1.15  root     4119:   ac_prog_cc_stdc=c11 ;;
                   4120: esac
1.1.1.10  root     4121: fi
                   4122: fi
                   4123: if test x$ac_prog_cc_stdc = xno
                   4124: then :
                   4125:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
                   4126: printf %s "checking for $CC option to enable C99 features... " >&6; }
                   4127: if test ${ac_cv_prog_cc_c99+y}
                   4128: then :
                   4129:   printf %s "(cached) " >&6
1.1.1.15  root     4130: else case e in #(
                   4131:   e) ac_cv_prog_cc_c99=no
1.1.1.10  root     4132: ac_save_CC=$CC
                   4133: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4134: /* end confdefs.h.  */
                   4135: $ac_c_conftest_c99_program
                   4136: _ACEOF
                   4137: for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
                   4138: do
                   4139:   CC="$ac_save_CC $ac_arg"
                   4140:   if ac_fn_c_try_compile "$LINENO"
                   4141: then :
                   4142:   ac_cv_prog_cc_c99=$ac_arg
                   4143: fi
                   4144: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4145:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   4146: done
                   4147: rm -f conftest.$ac_ext
1.1.1.15  root     4148: CC=$ac_save_CC ;;
                   4149: esac
1.1.1.10  root     4150: fi
1.1       root     4151: 
1.1.1.10  root     4152: if test "x$ac_cv_prog_cc_c99" = xno
                   4153: then :
                   4154:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4155: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4156: else case e in #(
                   4157:   e) if test "x$ac_cv_prog_cc_c99" = x
1.1.1.10  root     4158: then :
                   4159:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4160: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4161: else case e in #(
                   4162:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
1.1.1.10  root     4163: printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
1.1.1.15  root     4164:      CC="$CC $ac_cv_prog_cc_c99" ;;
                   4165: esac
1.1.1.10  root     4166: fi
                   4167:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
1.1.1.15  root     4168:   ac_prog_cc_stdc=c99 ;;
                   4169: esac
1.1.1.10  root     4170: fi
                   4171: fi
                   4172: if test x$ac_prog_cc_stdc = xno
                   4173: then :
                   4174:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
                   4175: printf %s "checking for $CC option to enable C89 features... " >&6; }
                   4176: if test ${ac_cv_prog_cc_c89+y}
                   4177: then :
                   4178:   printf %s "(cached) " >&6
1.1.1.15  root     4179: else case e in #(
                   4180:   e) ac_cv_prog_cc_c89=no
1.1.1.10  root     4181: ac_save_CC=$CC
                   4182: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4183: /* end confdefs.h.  */
                   4184: $ac_c_conftest_c89_program
1.1       root     4185: _ACEOF
1.1.1.10  root     4186: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       root     4187: do
                   4188:   CC="$ac_save_CC $ac_arg"
1.1.1.10  root     4189:   if ac_fn_c_try_compile "$LINENO"
                   4190: then :
1.1       root     4191:   ac_cv_prog_cc_c89=$ac_arg
                   4192: fi
1.1.1.10  root     4193: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.1       root     4194:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4195: done
                   4196: rm -f conftest.$ac_ext
1.1.1.15  root     4197: CC=$ac_save_CC ;;
                   4198: esac
1.1       root     4199: fi
                   4200: 
1.1.1.10  root     4201: if test "x$ac_cv_prog_cc_c89" = xno
                   4202: then :
                   4203:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4204: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4205: else case e in #(
                   4206:   e) if test "x$ac_cv_prog_cc_c89" = x
1.1.1.10  root     4207: then :
                   4208:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4209: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4210: else case e in #(
                   4211:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1.1.10  root     4212: printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
1.1.1.15  root     4213:      CC="$CC $ac_cv_prog_cc_c89" ;;
                   4214: esac
1.1.1.10  root     4215: fi
                   4216:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
1.1.1.15  root     4217:   ac_prog_cc_stdc=c89 ;;
                   4218: esac
1.1.1.10  root     4219: fi
1.1       root     4220: fi
                   4221: 
                   4222: ac_ext=c
                   4223: ac_cpp='$CPP $CPPFLAGS'
                   4224: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4225: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4226: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4227: 
1.1.1.10  root     4228: 
                   4229: 
                   4230:   # Find a good install program.  We prefer a C program (faster),
1.1.1.3   root     4231: # so one script is as good as another.  But avoid the broken or
                   4232: # incompatible versions:
                   4233: # SysV /etc/install, /usr/sbin/install
                   4234: # SunOS /usr/etc/install
                   4235: # IRIX /sbin/install
                   4236: # AIX /bin/install
                   4237: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   4238: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   4239: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   4240: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   4241: # OS/2's system install, which has a completely different semantic
                   4242: # ./install, which can be erroneously created by make from ./install.sh.
                   4243: # Reject install programs that cannot install multiple files.
1.1.1.10  root     4244: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   4245: printf %s "checking for a BSD-compatible install... " >&6; }
1.1.1.3   root     4246: if test -z "$INSTALL"; then
1.1.1.10  root     4247: if test ${ac_cv_path_install+y}
                   4248: then :
                   4249:   printf %s "(cached) " >&6
1.1.1.15  root     4250: else case e in #(
                   4251:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.1.3   root     4252: for as_dir in $PATH
                   4253: do
                   4254:   IFS=$as_save_IFS
1.1.1.10  root     4255:   case $as_dir in #(((
                   4256:     '') as_dir=./ ;;
                   4257:     */) ;;
                   4258:     *) as_dir=$as_dir/ ;;
                   4259:   esac
                   4260:     # Account for fact that we put trailing slashes in our PATH walk.
                   4261: case $as_dir in #((
                   4262:   ./ | /[cC]/* | \
1.1.1.3   root     4263:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   4264:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   4265:   /usr/ucb/* ) ;;
                   4266:   *)
                   4267:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   4268:     # Don't use installbsd from OSF since it installs stuff as root
                   4269:     # by default.
                   4270:     for ac_prog in ginstall scoinst install; do
                   4271:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     4272:        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1.1.1.3   root     4273:          if test $ac_prog = install &&
1.1.1.10  root     4274:            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4275:            # AIX install.  It has an incompatible calling convention.
                   4276:            :
                   4277:          elif test $ac_prog = install &&
1.1.1.10  root     4278:            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4279:            # program-specific install script used by HP pwplus--don't use.
                   4280:            :
                   4281:          else
                   4282:            rm -rf conftest.one conftest.two conftest.dir
                   4283:            echo one > conftest.one
                   4284:            echo two > conftest.two
                   4285:            mkdir conftest.dir
1.1.1.10  root     4286:            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1.1.1.3   root     4287:              test -s conftest.one && test -s conftest.two &&
                   4288:              test -s conftest.dir/conftest.one &&
                   4289:              test -s conftest.dir/conftest.two
                   4290:            then
1.1.1.10  root     4291:              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1.1.1.3   root     4292:              break 3
                   4293:            fi
                   4294:          fi
                   4295:        fi
                   4296:       done
                   4297:     done
                   4298:     ;;
                   4299: esac
1.1       root     4300: 
1.1.1.3   root     4301:   done
                   4302: IFS=$as_save_IFS
1.1       root     4303: 
1.1.1.3   root     4304: rm -rf conftest.one conftest.two conftest.dir
1.1.1.15  root     4305:  ;;
                   4306: esac
1.1.1.3   root     4307: fi
1.1.1.10  root     4308:   if test ${ac_cv_path_install+y}; then
1.1.1.3   root     4309:     INSTALL=$ac_cv_path_install
                   4310:   else
                   4311:     # As a last resort, use the slow shell script.  Don't cache a
                   4312:     # value for INSTALL within a source directory, because that will
                   4313:     # break other packages using the cache if that directory is
                   4314:     # removed, or if the value is a relative name.
                   4315:     INSTALL=$ac_install_sh
                   4316:   fi
                   4317: fi
1.1.1.10  root     4318: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   4319: printf "%s\n" "$INSTALL" >&6; }
1.1.1.3   root     4320: 
                   4321: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   4322: # It thinks the first close brace ends the variable substitution.
                   4323: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   4324: 
                   4325: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   4326: 
                   4327: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   4328: 
                   4329: 
1.1.1.10  root     4330: # OS
1.1       root     4331: 
                   4332: 
1.1.1.10  root     4333:   # Make sure we can run config.sub.
                   4334: $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
                   4335:   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
                   4336: 
                   4337: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4338: printf %s "checking build system type... " >&6; }
                   4339: if test ${ac_cv_build+y}
                   4340: then :
                   4341:   printf %s "(cached) " >&6
1.1.1.15  root     4342: else case e in #(
                   4343:   e) ac_build_alias=$build_alias
1.1.1.10  root     4344: test "x$ac_build_alias" = x &&
                   4345:   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
                   4346: test "x$ac_build_alias" = x &&
                   4347:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4348: ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
                   4349:   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
1.1.1.15  root     4350:  ;;
                   4351: esac
1.1       root     4352: fi
1.1.1.10  root     4353: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4354: printf "%s\n" "$ac_cv_build" >&6; }
                   4355: case $ac_cv_build in
                   4356: *-*-*) ;;
                   4357: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4358: esac
                   4359: build=$ac_cv_build
                   4360: ac_save_IFS=$IFS; IFS='-'
                   4361: set x $ac_cv_build
                   4362: shift
                   4363: build_cpu=$1
                   4364: build_vendor=$2
                   4365: shift; shift
                   4366: # Remember, the first character of IFS is used to create $*,
                   4367: # except with old shells:
                   4368: build_os=$*
                   4369: IFS=$ac_save_IFS
                   4370: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.1       root     4371: 
                   4372: 
1.1.1.10  root     4373: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4374: printf %s "checking host system type... " >&6; }
                   4375: if test ${ac_cv_host+y}
                   4376: then :
                   4377:   printf %s "(cached) " >&6
1.1.1.15  root     4378: else case e in #(
                   4379:   e) if test "x$host_alias" = x; then
1.1.1.10  root     4380:   ac_cv_host=$ac_cv_build
1.1       root     4381: else
1.1.1.10  root     4382:   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
                   4383:     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
1.1       root     4384: fi
1.1.1.15  root     4385:  ;;
                   4386: esac
1.1       root     4387: fi
1.1.1.10  root     4388: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4389: printf "%s\n" "$ac_cv_host" >&6; }
                   4390: case $ac_cv_host in
                   4391: *-*-*) ;;
                   4392: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4393: esac
                   4394: host=$ac_cv_host
                   4395: ac_save_IFS=$IFS; IFS='-'
                   4396: set x $ac_cv_host
                   4397: shift
                   4398: host_cpu=$1
                   4399: host_vendor=$2
                   4400: shift; shift
                   4401: # Remember, the first character of IFS is used to create $*,
                   4402: # except with old shells:
                   4403: host_os=$*
                   4404: IFS=$ac_save_IFS
                   4405: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1       root     4406: 
                   4407: 
                   4408: 
                   4409: 
1.1.1.10  root     4410: # コンパイラをチェック。今のところ clang/gcc のみ。
                   4411: # (autoconf がやってる gcc かどうかのチェックは clang を検出できず使えない)
                   4412: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler" >&5
                   4413: printf %s "checking for compiler... " >&6; }
                   4414: if test -n "`${CC} -v 2>&1 | grep clang`" ; then
                   4415:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang" >&5
                   4416: printf "%s\n" "clang" >&6; }
                   4417:        COMPILER=CLANG
                   4418: elif test -n "`${CC} -v 2>&1 | grep GCC`"; then
                   4419:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
                   4420: printf "%s\n" "gcc" >&6; }
                   4421:        COMPILER=GCC
1.1       root     4422: else
1.1.1.10  root     4423:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
                   4424: printf "%s\n" "unknown" >&6; }
                   4425:        COMPILER=
1.1       root     4426: fi
                   4427: 
                   4428: 
1.1.1.10  root     4429: # C++ のバージョンをチェック
                   4430: CXX_STD=-std=c++14
                   4431: ac_ext=cpp
                   4432: ac_cpp='$CXXCPP $CPPFLAGS'
                   4433: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4434: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4435: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.1       root     4436: 
1.1.1.10  root     4437: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${CXX_STD}" >&5
                   4438: printf %s "checking for ${CXX_STD}... " >&6; }
                   4439: old_CXXFLAGS="${CXXFLAGS}"
                   4440: CXXFLAGS="${CXX_STD} ${CXXFLAGS}"
1.1       root     4441: 
1.1.1.10  root     4442: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4443: /* end confdefs.h.  */
                   4444: 
                   4445: int
1.1.1.10  root     4446: main (void)
1.1       root     4447: {
                   4448: 
                   4449:   ;
                   4450:   return 0;
                   4451: }
                   4452: _ACEOF
1.1.1.10  root     4453: if ac_fn_cxx_try_compile "$LINENO"
                   4454: then :
                   4455:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4456: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4457: else case e in #(
                   4458:   e) as_fn_error $? "\"*** C++ compiler '${CXX}' doesn't support ${CXX_STD}.\"" "$LINENO" 5 ;;
                   4459: esac
1.1       root     4460: fi
1.1.1.10  root     4461: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4462: CXXFLAGS="${old_CXXFLAGS}"
                   4463: CXX="${CXX} ${CXX_STD}"
                   4464: ac_ext=c
                   4465: ac_cpp='$CPP $CPPFLAGS'
                   4466: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4467: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4468: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4469: 
                   4470: 
1.1.1.10  root     4471: # C コンパイラのワーニングオプション
                   4472: ac_ext=c
                   4473: ac_cpp='$CPP $CPPFLAGS'
                   4474: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4475: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4476: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4477: 
                   4478: 
                   4479: 
                   4480: 
1.1.1.10  root     4481:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wcast-qual" >&5
                   4482: printf %s "checking whether cc accepts -Wcast-qual... " >&6; }
                   4483:        old_CFLAGS="${CFLAGS}"
                   4484:        CFLAGS="${CFLAGS} -Werror -Wcast-qual"
                   4485:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4486: /* end confdefs.h.  */
                   4487: 
1.1.1.17  root     4488: 
1.1       root     4489: int
1.1.1.10  root     4490: main (void)
1.1       root     4491: {
1.1.1.10  root     4492: 
                   4493:   ;
1.1       root     4494:   return 0;
                   4495: }
1.1.1.17  root     4496: 
1.1       root     4497: _ACEOF
1.1.1.10  root     4498: if ac_fn_c_try_compile "$LINENO"
                   4499: then :
1.1.1.17  root     4500: 
                   4501:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4502: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4503:                eval `echo cc_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4504:                WARNFLAGS_C="${WARNFLAGS_C} -Wcast-qual"
1.1.1.17  root     4505: 
1.1.1.15  root     4506: else case e in #(
1.1.1.17  root     4507:   e)
                   4508:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4509: printf "%s\n" "no" >&6; }
                   4510:         ;;
1.1.1.15  root     4511: esac
1.1       root     4512: fi
1.1.1.10  root     4513: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4514:        CFLAGS="${old_CFLAGS}"
1.1       root     4515: 
                   4516: 
1.1.1.10  root     4517:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wextra-semi" >&5
                   4518: printf %s "checking whether cc accepts -Wextra-semi... " >&6; }
                   4519:        old_CFLAGS="${CFLAGS}"
                   4520:        CFLAGS="${CFLAGS} -Werror -Wextra-semi"
                   4521:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4522: /* end confdefs.h.  */
                   4523: 
1.1.1.17  root     4524: 
1.1       root     4525: int
1.1.1.10  root     4526: main (void)
1.1       root     4527: {
                   4528: 
                   4529:   ;
                   4530:   return 0;
                   4531: }
1.1.1.17  root     4532: 
1.1       root     4533: _ACEOF
1.1.1.10  root     4534: if ac_fn_c_try_compile "$LINENO"
                   4535: then :
1.1.1.17  root     4536: 
                   4537:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4538: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4539:                eval `echo cc_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4540:                WARNFLAGS_C="${WARNFLAGS_C} -Wextra-semi"
1.1.1.17  root     4541: 
1.1.1.15  root     4542: else case e in #(
1.1.1.17  root     4543:   e)
                   4544:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4545: printf "%s\n" "no" >&6; }
                   4546:         ;;
1.1.1.15  root     4547: esac
1.1.1.10  root     4548: fi
                   4549: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4550:        CFLAGS="${old_CFLAGS}"
                   4551: 
                   4552: 
                   4553:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wlogical-op" >&5
                   4554: printf %s "checking whether cc accepts -Wlogical-op... " >&6; }
                   4555:        old_CFLAGS="${CFLAGS}"
                   4556:        CFLAGS="${CFLAGS} -Werror -Wlogical-op"
                   4557:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4558: /* end confdefs.h.  */
                   4559: 
1.1.1.17  root     4560: 
1.1       root     4561: int
1.1.1.10  root     4562: main (void)
1.1       root     4563: {
                   4564: 
                   4565:   ;
                   4566:   return 0;
                   4567: }
1.1.1.17  root     4568: 
1.1       root     4569: _ACEOF
1.1.1.10  root     4570: if ac_fn_c_try_compile "$LINENO"
                   4571: then :
1.1.1.17  root     4572: 
                   4573:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4574: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4575:                eval `echo cc_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4576:                WARNFLAGS_C="${WARNFLAGS_C} -Wlogical-op"
1.1.1.17  root     4577: 
1.1.1.15  root     4578: else case e in #(
1.1.1.17  root     4579:   e)
                   4580:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4581: printf "%s\n" "no" >&6; }
                   4582:         ;;
1.1.1.15  root     4583: esac
1.1       root     4584: fi
1.1.1.10  root     4585: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4586:        CFLAGS="${old_CFLAGS}"
1.1       root     4587: 
                   4588: 
1.1.1.10  root     4589:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-prototypes" >&5
                   4590: printf %s "checking whether cc accepts -Wmissing-prototypes... " >&6; }
                   4591:        old_CFLAGS="${CFLAGS}"
                   4592:        CFLAGS="${CFLAGS} -Werror -Wmissing-prototypes"
                   4593:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4594: /* end confdefs.h.  */
                   4595: 
1.1.1.17  root     4596: 
1.1       root     4597: int
1.1.1.10  root     4598: main (void)
1.1       root     4599: {
                   4600: 
                   4601:   ;
                   4602:   return 0;
                   4603: }
1.1.1.17  root     4604: 
1.1       root     4605: _ACEOF
1.1.1.10  root     4606: if ac_fn_c_try_compile "$LINENO"
                   4607: then :
1.1.1.17  root     4608: 
                   4609:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4610: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4611:                eval `echo cc_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4612:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-prototypes"
1.1.1.17  root     4613: 
1.1.1.15  root     4614: else case e in #(
1.1.1.17  root     4615:   e)
                   4616:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4617: printf "%s\n" "no" >&6; }
                   4618:         ;;
1.1.1.15  root     4619: esac
1.1       root     4620: fi
1.1.1.10  root     4621: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4622:        CFLAGS="${old_CFLAGS}"
1.1       root     4623: 
1.1.1.10  root     4624: 
                   4625:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-variable-declarations" >&5
                   4626: printf %s "checking whether cc accepts -Wmissing-variable-declarations... " >&6; }
                   4627:        old_CFLAGS="${CFLAGS}"
                   4628:        CFLAGS="${CFLAGS} -Werror -Wmissing-variable-declarations"
                   4629:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4630: /* end confdefs.h.  */
1.1.1.10  root     4631: 
1.1.1.17  root     4632: 
1.1       root     4633: int
1.1.1.10  root     4634: main (void)
1.1       root     4635: {
                   4636: 
                   4637:   ;
                   4638:   return 0;
                   4639: }
1.1.1.17  root     4640: 
1.1       root     4641: _ACEOF
1.1.1.10  root     4642: if ac_fn_c_try_compile "$LINENO"
                   4643: then :
1.1.1.17  root     4644: 
                   4645:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4646: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4647:                eval `echo cc_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4648:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-variable-declarations"
1.1.1.17  root     4649: 
1.1.1.15  root     4650: else case e in #(
1.1.1.17  root     4651:   e)
                   4652:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4653: printf "%s\n" "no" >&6; }
                   4654:         ;;
1.1.1.15  root     4655: esac
1.1.1.6   root     4656: fi
1.1.1.10  root     4657: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4658:        CFLAGS="${old_CFLAGS}"
1.1.1.6   root     4659: 
1.1.1.11  root     4660: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
                   4661: 
                   4662:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow-local" >&5
                   4663: printf %s "checking whether cc accepts -Wshadow-local... " >&6; }
                   4664:        old_CFLAGS="${CFLAGS}"
                   4665:        CFLAGS="${CFLAGS} -Werror -Wshadow-local"
                   4666:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4667: /* end confdefs.h.  */
                   4668: 
1.1.1.17  root     4669: 
1.1.1.11  root     4670: int
                   4671: main (void)
                   4672: {
                   4673: 
                   4674:   ;
                   4675:   return 0;
                   4676: }
1.1.1.17  root     4677: 
1.1.1.11  root     4678: _ACEOF
                   4679: if ac_fn_c_try_compile "$LINENO"
                   4680: then :
1.1.1.17  root     4681: 
                   4682:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     4683: printf "%s\n" "yes" >&6; }
                   4684:                eval `echo cc_has-Wshadow-local=yes | sed -e 's/-/_/g'`
                   4685:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow-local"
1.1.1.17  root     4686: 
1.1.1.15  root     4687: else case e in #(
1.1.1.17  root     4688:   e)
                   4689:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4690: printf "%s\n" "no" >&6; }
                   4691:         ;;
1.1.1.15  root     4692: esac
1.1.1.11  root     4693: fi
                   4694: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4695:        CFLAGS="${old_CFLAGS}"
                   4696: 
                   4697: if test x"${cc_has_Wshadow_local}" != xyes; then
                   4698: 
                   4699:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow" >&5
                   4700: printf %s "checking whether cc accepts -Wshadow... " >&6; }
                   4701:        old_CFLAGS="${CFLAGS}"
                   4702:        CFLAGS="${CFLAGS} -Werror -Wshadow"
                   4703:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4704: /* end confdefs.h.  */
                   4705: 
1.1.1.17  root     4706: 
1.1.1.11  root     4707: int
                   4708: main (void)
                   4709: {
                   4710: 
                   4711:   ;
                   4712:   return 0;
                   4713: }
1.1.1.17  root     4714: 
1.1.1.11  root     4715: _ACEOF
                   4716: if ac_fn_c_try_compile "$LINENO"
                   4717: then :
1.1.1.17  root     4718: 
                   4719:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     4720: printf "%s\n" "yes" >&6; }
                   4721:                eval `echo cc_has-Wshadow=yes | sed -e 's/-/_/g'`
                   4722:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow"
1.1.1.17  root     4723: 
1.1.1.15  root     4724: else case e in #(
1.1.1.17  root     4725:   e)
                   4726:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4727: printf "%s\n" "no" >&6; }
                   4728:         ;;
1.1.1.15  root     4729: esac
                   4730: fi
                   4731: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4732:        CFLAGS="${old_CFLAGS}"
                   4733: 
                   4734: fi
                   4735: 
                   4736:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wstring-conversion" >&5
                   4737: printf %s "checking whether cc accepts -Wstring-conversion... " >&6; }
                   4738:        old_CFLAGS="${CFLAGS}"
                   4739:        CFLAGS="${CFLAGS} -Werror -Wstring-conversion"
                   4740:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4741: /* end confdefs.h.  */
                   4742: 
1.1.1.17  root     4743: 
1.1.1.15  root     4744: int
                   4745: main (void)
                   4746: {
                   4747: 
                   4748:   ;
                   4749:   return 0;
                   4750: }
1.1.1.17  root     4751: 
1.1.1.15  root     4752: _ACEOF
                   4753: if ac_fn_c_try_compile "$LINENO"
                   4754: then :
1.1.1.17  root     4755: 
                   4756:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     4757: printf "%s\n" "yes" >&6; }
                   4758:                eval `echo cc_has-Wstring-conversion=yes | sed -e 's/-/_/g'`
                   4759:                WARNFLAGS_C="${WARNFLAGS_C} -Wstring-conversion"
1.1.1.17  root     4760: 
1.1.1.15  root     4761: else case e in #(
1.1.1.17  root     4762:   e)
                   4763:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4764: printf "%s\n" "no" >&6; }
                   4765:         ;;
1.1.1.15  root     4766: esac
1.1.1.11  root     4767: fi
                   4768: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4769:        CFLAGS="${old_CFLAGS}"
                   4770: 
1.1.1.15  root     4771: 
                   4772:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wtype-limits" >&5
                   4773: printf %s "checking whether cc accepts -Wtype-limits... " >&6; }
                   4774:        old_CFLAGS="${CFLAGS}"
                   4775:        CFLAGS="${CFLAGS} -Werror -Wtype-limits"
                   4776:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4777: /* end confdefs.h.  */
                   4778: 
1.1.1.17  root     4779: 
1.1.1.15  root     4780: int
                   4781: main (void)
                   4782: {
                   4783: 
                   4784:   ;
                   4785:   return 0;
                   4786: }
1.1.1.17  root     4787: 
1.1.1.15  root     4788: _ACEOF
                   4789: if ac_fn_c_try_compile "$LINENO"
                   4790: then :
1.1.1.17  root     4791: 
                   4792:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     4793: printf "%s\n" "yes" >&6; }
                   4794:                eval `echo cc_has-Wtype-limits=yes | sed -e 's/-/_/g'`
                   4795:                WARNFLAGS_C="${WARNFLAGS_C} -Wtype-limits"
1.1.1.17  root     4796: 
1.1.1.15  root     4797: else case e in #(
1.1.1.17  root     4798:   e)
                   4799:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4800: printf "%s\n" "no" >&6; }
                   4801:         ;;
1.1.1.15  root     4802: esac
1.1.1.11  root     4803: fi
1.1.1.15  root     4804: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4805:        CFLAGS="${old_CFLAGS}"
                   4806: 
1.1.1.10  root     4807: ac_ext=c
                   4808: ac_cpp='$CPP $CPPFLAGS'
                   4809: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4810: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4811: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.6   root     4812: 
1.1.1.4   root     4813: 
                   4814: 
1.1.1.10  root     4815: # C++ コンパイラのワーニングオプション
                   4816: # (AC_LANG は C++ のまま継続する)
1.1.1.3   root     4817: ac_ext=cpp
                   4818: ac_cpp='$CXXCPP $CPPFLAGS'
                   4819: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4820: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4821: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4822: 
                   4823: 
1.1.1.10  root     4824: 
                   4825:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wcast-qual" >&5
                   4826: printf %s "checking whether c++ accepts -Wcast-qual... " >&6; }
                   4827:        old_CXXFLAGS="${CXXFLAGS}"
                   4828:        CXXFLAGS="${CXXFLAGS} -Werror -Wcast-qual"
                   4829:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4830: /* end confdefs.h.  */
                   4831: 
1.1.1.17  root     4832: 
1.1       root     4833: int
1.1.1.10  root     4834: main (void)
1.1       root     4835: {
                   4836: 
                   4837:   ;
                   4838:   return 0;
                   4839: }
1.1.1.17  root     4840: 
1.1       root     4841: _ACEOF
1.1.1.10  root     4842: if ac_fn_cxx_try_compile "$LINENO"
                   4843: then :
1.1.1.17  root     4844: 
                   4845:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4846: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4847:                eval `echo cxx_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4848:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wcast-qual"
1.1.1.17  root     4849: 
1.1.1.15  root     4850: else case e in #(
1.1.1.17  root     4851:   e)
                   4852:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4853: printf "%s\n" "no" >&6; }
                   4854:         ;;
1.1.1.15  root     4855: esac
1.1       root     4856: fi
1.1.1.10  root     4857: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4858:        CXXFLAGS="${old_CXXFLAGS}"
1.1       root     4859: 
                   4860: 
1.1.1.10  root     4861:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wextra-semi" >&5
                   4862: printf %s "checking whether c++ accepts -Wextra-semi... " >&6; }
                   4863:        old_CXXFLAGS="${CXXFLAGS}"
                   4864:        CXXFLAGS="${CXXFLAGS} -Werror -Wextra-semi"
1.1.1.3   root     4865:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4866: /* end confdefs.h.  */
1.1       root     4867: 
1.1.1.17  root     4868: 
1.1.1.3   root     4869: int
1.1.1.10  root     4870: main (void)
1.1.1.3   root     4871: {
1.1       root     4872: 
1.1.1.3   root     4873:   ;
                   4874:   return 0;
                   4875: }
1.1.1.17  root     4876: 
1.1.1.2   root     4877: _ACEOF
1.1.1.10  root     4878: if ac_fn_cxx_try_compile "$LINENO"
                   4879: then :
1.1.1.17  root     4880: 
                   4881:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4882: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4883:                eval `echo cxx_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4884:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wextra-semi"
1.1.1.17  root     4885: 
1.1.1.15  root     4886: else case e in #(
1.1.1.17  root     4887:   e)
                   4888:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4889: printf "%s\n" "no" >&6; }
                   4890:         ;;
1.1.1.15  root     4891: esac
1.1.1.2   root     4892: fi
1.1.1.10  root     4893: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4894:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.2   root     4895: 
1.1       root     4896: 
1.1.1.15  root     4897:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-destructor-override" >&5
                   4898: printf %s "checking whether c++ accepts -Winconsistent-missing-destructor-override... " >&6; }
1.1.1.10  root     4899:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4900:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-destructor-override"
1.1.1.3   root     4901:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4902: /* end confdefs.h.  */
1.1       root     4903: 
1.1.1.17  root     4904: 
1.1.1.3   root     4905: int
1.1.1.10  root     4906: main (void)
1.1.1.3   root     4907: {
1.1       root     4908: 
1.1.1.3   root     4909:   ;
                   4910:   return 0;
                   4911: }
1.1.1.17  root     4912: 
1.1.1.3   root     4913: _ACEOF
1.1.1.10  root     4914: if ac_fn_cxx_try_compile "$LINENO"
                   4915: then :
1.1.1.17  root     4916: 
                   4917:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4918: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4919:                eval `echo cxx_has-Winconsistent-missing-destructor-override=yes | sed -e 's/-/_/g'`
                   4920:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-destructor-override"
1.1.1.17  root     4921: 
1.1.1.15  root     4922: else case e in #(
1.1.1.17  root     4923:   e)
                   4924:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4925: printf "%s\n" "no" >&6; }
                   4926:         ;;
1.1.1.15  root     4927: esac
1.1.1.3   root     4928: fi
1.1.1.10  root     4929: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4930:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4931: 
                   4932: 
1.1.1.15  root     4933:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-override" >&5
                   4934: printf %s "checking whether c++ accepts -Winconsistent-missing-override... " >&6; }
1.1.1.10  root     4935:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4936:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-override"
1.1.1.3   root     4937:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4938: /* end confdefs.h.  */
                   4939: 
1.1.1.17  root     4940: 
1.1.1.3   root     4941: int
1.1.1.10  root     4942: main (void)
1.1.1.3   root     4943: {
                   4944: 
                   4945:   ;
                   4946:   return 0;
                   4947: }
1.1.1.17  root     4948: 
1.1.1.3   root     4949: _ACEOF
1.1.1.10  root     4950: if ac_fn_cxx_try_compile "$LINENO"
                   4951: then :
1.1.1.17  root     4952: 
                   4953:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4954: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4955:                eval `echo cxx_has-Winconsistent-missing-override=yes | sed -e 's/-/_/g'`
                   4956:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-override"
1.1.1.17  root     4957: 
1.1.1.15  root     4958: else case e in #(
1.1.1.17  root     4959:   e)
                   4960:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4961: printf "%s\n" "no" >&6; }
                   4962:         ;;
1.1.1.15  root     4963: esac
1.1.1.3   root     4964: fi
1.1.1.10  root     4965: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4966:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4967: 
                   4968: 
1.1.1.10  root     4969:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wlogical-op" >&5
                   4970: printf %s "checking whether c++ accepts -Wlogical-op... " >&6; }
                   4971:        old_CXXFLAGS="${CXXFLAGS}"
                   4972:        CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op"
1.1.1.3   root     4973:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4974: /* end confdefs.h.  */
                   4975: 
1.1.1.17  root     4976: 
1.1.1.3   root     4977: int
1.1.1.10  root     4978: main (void)
1.1.1.3   root     4979: {
                   4980: 
                   4981:   ;
                   4982:   return 0;
                   4983: }
1.1.1.17  root     4984: 
1.1.1.3   root     4985: _ACEOF
1.1.1.10  root     4986: if ac_fn_cxx_try_compile "$LINENO"
                   4987: then :
1.1.1.17  root     4988: 
                   4989:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4990: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4991:                eval `echo cxx_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4992:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wlogical-op"
1.1.1.17  root     4993: 
1.1.1.15  root     4994: else case e in #(
1.1.1.17  root     4995:   e)
                   4996:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4997: printf "%s\n" "no" >&6; }
                   4998:         ;;
1.1.1.15  root     4999: esac
1.1.1.3   root     5000: fi
1.1.1.10  root     5001: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5002:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5003: 
                   5004: 
1.1.1.10  root     5005:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-prototypes" >&5
                   5006: printf %s "checking whether c++ accepts -Wmissing-prototypes... " >&6; }
                   5007:        old_CXXFLAGS="${CXXFLAGS}"
                   5008:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-prototypes"
1.1.1.3   root     5009:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5010: /* end confdefs.h.  */
                   5011: 
1.1.1.17  root     5012: 
1.1.1.3   root     5013: int
1.1.1.10  root     5014: main (void)
1.1.1.3   root     5015: {
                   5016: 
                   5017:   ;
                   5018:   return 0;
                   5019: }
1.1.1.17  root     5020: 
1.1.1.3   root     5021: _ACEOF
1.1.1.10  root     5022: if ac_fn_cxx_try_compile "$LINENO"
                   5023: then :
1.1.1.17  root     5024: 
                   5025:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5026: printf "%s\n" "yes" >&6; }
1.1.1.11  root     5027:                eval `echo cxx_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5028:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-prototypes"
1.1.1.17  root     5029: 
1.1.1.15  root     5030: else case e in #(
1.1.1.17  root     5031:   e)
                   5032:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5033: printf "%s\n" "no" >&6; }
                   5034:         ;;
1.1.1.15  root     5035: esac
1.1.1.3   root     5036: fi
1.1.1.10  root     5037: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5038:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5039: 
                   5040: 
1.1.1.10  root     5041:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-variable-declarations" >&5
                   5042: printf %s "checking whether c++ accepts -Wmissing-variable-declarations... " >&6; }
                   5043:        old_CXXFLAGS="${CXXFLAGS}"
                   5044:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-variable-declarations"
                   5045:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5046: /* end confdefs.h.  */
1.1.1.3   root     5047: 
1.1.1.17  root     5048: 
1.1.1.10  root     5049: int
                   5050: main (void)
                   5051: {
1.1.1.3   root     5052: 
1.1.1.10  root     5053:   ;
                   5054:   return 0;
                   5055: }
1.1.1.17  root     5056: 
1.1.1.10  root     5057: _ACEOF
                   5058: if ac_fn_cxx_try_compile "$LINENO"
                   5059: then :
1.1.1.17  root     5060: 
                   5061:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5062: printf "%s\n" "yes" >&6; }
1.1.1.11  root     5063:                eval `echo cxx_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5064:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-variable-declarations"
1.1.1.17  root     5065: 
1.1.1.15  root     5066: else case e in #(
1.1.1.17  root     5067:   e)
                   5068:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5069: printf "%s\n" "no" >&6; }
                   5070:         ;;
1.1.1.15  root     5071: esac
1.1.1.10  root     5072: fi
                   5073: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5074:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5075: 
1.1.1.11  root     5076: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
                   5077: 
                   5078:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow-local" >&5
                   5079: printf %s "checking whether c++ accepts -Wshadow-local... " >&6; }
                   5080:        old_CXXFLAGS="${CXXFLAGS}"
                   5081:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow-local"
                   5082:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5083: /* end confdefs.h.  */
                   5084: 
1.1.1.17  root     5085: 
1.1.1.11  root     5086: int
                   5087: main (void)
                   5088: {
                   5089: 
                   5090:   ;
                   5091:   return 0;
                   5092: }
1.1.1.17  root     5093: 
1.1.1.11  root     5094: _ACEOF
                   5095: if ac_fn_cxx_try_compile "$LINENO"
                   5096: then :
1.1.1.17  root     5097: 
                   5098:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5099: printf "%s\n" "yes" >&6; }
                   5100:                eval `echo cxx_has-Wshadow-local=yes | sed -e 's/-/_/g'`
                   5101:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow-local"
1.1.1.17  root     5102: 
1.1.1.15  root     5103: else case e in #(
1.1.1.17  root     5104:   e)
                   5105:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5106: printf "%s\n" "no" >&6; }
                   5107:         ;;
1.1.1.15  root     5108: esac
1.1.1.11  root     5109: fi
                   5110: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5111:        CXXFLAGS="${old_CXXFLAGS}"
                   5112: 
                   5113: if test x"${cxx_has_Wshadow_local}" != xyes; then
                   5114: 
                   5115:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow" >&5
                   5116: printf %s "checking whether c++ accepts -Wshadow... " >&6; }
                   5117:        old_CXXFLAGS="${CXXFLAGS}"
                   5118:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow"
                   5119:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5120: /* end confdefs.h.  */
                   5121: 
1.1.1.17  root     5122: 
1.1.1.11  root     5123: int
                   5124: main (void)
                   5125: {
                   5126: 
                   5127:   ;
                   5128:   return 0;
                   5129: }
1.1.1.17  root     5130: 
1.1.1.11  root     5131: _ACEOF
                   5132: if ac_fn_cxx_try_compile "$LINENO"
                   5133: then :
1.1.1.17  root     5134: 
                   5135:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5136: printf "%s\n" "yes" >&6; }
                   5137:                eval `echo cxx_has-Wshadow=yes | sed -e 's/-/_/g'`
                   5138:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow"
1.1.1.17  root     5139: 
1.1.1.15  root     5140: else case e in #(
1.1.1.17  root     5141:   e)
                   5142:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5143: printf "%s\n" "no" >&6; }
                   5144:         ;;
1.1.1.15  root     5145: esac
1.1.1.11  root     5146: fi
                   5147: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5148:        CXXFLAGS="${old_CXXFLAGS}"
                   5149: 
                   5150: fi
1.1.1.3   root     5151: 
1.1.1.15  root     5152:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wstring-conversion" >&5
                   5153: printf %s "checking whether c++ accepts -Wstring-conversion... " >&6; }
1.1.1.12  root     5154:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5155:        CXXFLAGS="${CXXFLAGS} -Werror -Wstring-conversion"
1.1.1.12  root     5156:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5157: /* end confdefs.h.  */
                   5158: 
1.1.1.17  root     5159: 
1.1.1.12  root     5160: int
                   5161: main (void)
                   5162: {
                   5163: 
                   5164:   ;
                   5165:   return 0;
                   5166: }
1.1.1.17  root     5167: 
1.1.1.12  root     5168: _ACEOF
                   5169: if ac_fn_cxx_try_compile "$LINENO"
                   5170: then :
1.1.1.17  root     5171: 
                   5172:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.12  root     5173: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5174:                eval `echo cxx_has-Wstring-conversion=yes | sed -e 's/-/_/g'`
                   5175:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wstring-conversion"
1.1.1.17  root     5176: 
1.1.1.15  root     5177: else case e in #(
1.1.1.17  root     5178:   e)
                   5179:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5180: printf "%s\n" "no" >&6; }
                   5181:         ;;
1.1.1.15  root     5182: esac
1.1.1.12  root     5183: fi
                   5184: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5185:        CXXFLAGS="${old_CXXFLAGS}"
                   5186: 
                   5187: 
1.1.1.15  root     5188:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-destructor-override" >&5
                   5189: printf %s "checking whether c++ accepts -Wsuggest-destructor-override... " >&6; }
1.1.1.3   root     5190:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5191:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-destructor-override"
1.1.1.3   root     5192:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5193: /* end confdefs.h.  */
                   5194: 
1.1.1.17  root     5195: 
1.1.1.3   root     5196: int
1.1.1.10  root     5197: main (void)
1.1.1.3   root     5198: {
                   5199: 
                   5200:   ;
                   5201:   return 0;
                   5202: }
1.1.1.17  root     5203: 
1.1.1.3   root     5204: _ACEOF
1.1.1.10  root     5205: if ac_fn_cxx_try_compile "$LINENO"
                   5206: then :
1.1.1.17  root     5207: 
                   5208:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5209: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5210:                eval `echo cxx_has-Wsuggest-destructor-override=yes | sed -e 's/-/_/g'`
                   5211:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-destructor-override"
1.1.1.17  root     5212: 
1.1.1.15  root     5213: else case e in #(
1.1.1.17  root     5214:   e)
                   5215:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5216: printf "%s\n" "no" >&6; }
                   5217:         ;;
1.1.1.15  root     5218: esac
1.1.1.3   root     5219: fi
1.1.1.10  root     5220: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5221:        CXXFLAGS="${old_CXXFLAGS}"
                   5222: 
                   5223: 
1.1.1.15  root     5224:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-override" >&5
                   5225: printf %s "checking whether c++ accepts -Wsuggest-override... " >&6; }
                   5226:        old_CXXFLAGS="${CXXFLAGS}"
                   5227:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-override"
                   5228:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5229: /* end confdefs.h.  */
1.1.1.10  root     5230: 
1.1.1.17  root     5231: 
1.1.1.15  root     5232: int
                   5233: main (void)
                   5234: {
1.1.1.14  root     5235: 
1.1.1.15  root     5236:   ;
                   5237:   return 0;
                   5238: }
1.1.1.17  root     5239: 
1.1.1.15  root     5240: _ACEOF
                   5241: if ac_fn_cxx_try_compile "$LINENO"
                   5242: then :
1.1.1.17  root     5243: 
                   5244:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5245: printf "%s\n" "yes" >&6; }
                   5246:                eval `echo cxx_has-Wsuggest-override=yes | sed -e 's/-/_/g'`
                   5247:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-override"
1.1.1.17  root     5248: 
1.1.1.15  root     5249: else case e in #(
1.1.1.17  root     5250:   e)
                   5251:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5252: printf "%s\n" "no" >&6; }
                   5253:         ;;
1.1.1.15  root     5254: esac
                   5255: fi
                   5256: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5257:        CXXFLAGS="${old_CXXFLAGS}"
                   5258: 
1.1.1.19! root     5259: # gcc14 が C++14 に対しても C++20 のエラーを出そうとする。は??
        !          5260: 
        !          5261:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wno-template-id-cdtor" >&5
        !          5262: printf %s "checking whether c++ accepts -Wno-template-id-cdtor... " >&6; }
        !          5263:        old_CXXFLAGS="${CXXFLAGS}"
        !          5264:        CXXFLAGS="${CXXFLAGS} -Werror -Wno-template-id-cdtor"
        !          5265:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5266: /* end confdefs.h.  */
        !          5267: 
        !          5268: 
        !          5269: int
        !          5270: main (void)
        !          5271: {
        !          5272: 
        !          5273:   ;
        !          5274:   return 0;
        !          5275: }
        !          5276: 
        !          5277: _ACEOF
        !          5278: if ac_fn_cxx_try_compile "$LINENO"
        !          5279: then :
        !          5280: 
        !          5281:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5282: printf "%s\n" "yes" >&6; }
        !          5283:                eval `echo cxx_has-Wno-template-id-cdtor=yes | sed -e 's/-/_/g'`
        !          5284:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wno-template-id-cdtor"
        !          5285: 
        !          5286: else case e in #(
        !          5287:   e)
        !          5288:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5289: printf "%s\n" "no" >&6; }
        !          5290:         ;;
        !          5291: esac
        !          5292: fi
        !          5293: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5294:        CXXFLAGS="${old_CXXFLAGS}"
        !          5295: 
1.1.1.15  root     5296: 
                   5297:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wtype-limits" >&5
                   5298: printf %s "checking whether c++ accepts -Wtype-limits... " >&6; }
                   5299:        old_CXXFLAGS="${CXXFLAGS}"
                   5300:        CXXFLAGS="${CXXFLAGS} -Werror -Wtype-limits"
                   5301:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5302: /* end confdefs.h.  */
                   5303: 
1.1.1.17  root     5304: 
1.1.1.15  root     5305: int
                   5306: main (void)
                   5307: {
                   5308: 
                   5309:   ;
                   5310:   return 0;
                   5311: }
1.1.1.17  root     5312: 
1.1.1.15  root     5313: _ACEOF
                   5314: if ac_fn_cxx_try_compile "$LINENO"
                   5315: then :
1.1.1.17  root     5316: 
                   5317:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5318: printf "%s\n" "yes" >&6; }
                   5319:                eval `echo cxx_has-Wtype-limits=yes | sed -e 's/-/_/g'`
                   5320:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wtype-limits"
1.1.1.17  root     5321: 
1.1.1.15  root     5322: else case e in #(
1.1.1.17  root     5323:   e)
                   5324:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5325: printf "%s\n" "no" >&6; }
                   5326:         ;;
1.1.1.15  root     5327: esac
                   5328: fi
                   5329: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5330:        CXXFLAGS="${old_CXXFLAGS}"
                   5331: 
                   5332: 
                   5333:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5
                   5334: printf %s "checking whether c++ accepts -Wvla-extension... " >&6; }
                   5335:        old_CXXFLAGS="${CXXFLAGS}"
                   5336:        CXXFLAGS="${CXXFLAGS} -Werror -Wvla-extension"
                   5337:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5338: /* end confdefs.h.  */
                   5339: 
1.1.1.17  root     5340: 
1.1.1.15  root     5341: int
                   5342: main (void)
                   5343: {
                   5344: 
                   5345:   ;
                   5346:   return 0;
                   5347: }
1.1.1.17  root     5348: 
1.1.1.15  root     5349: _ACEOF
                   5350: if ac_fn_cxx_try_compile "$LINENO"
                   5351: then :
1.1.1.17  root     5352: 
                   5353:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5354: printf "%s\n" "yes" >&6; }
                   5355:                eval `echo cxx_has-Wvla-extension=yes | sed -e 's/-/_/g'`
                   5356:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wvla-extension"
1.1.1.17  root     5357: 
1.1.1.15  root     5358: else case e in #(
1.1.1.17  root     5359:   e)
                   5360:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5361: printf "%s\n" "no" >&6; }
                   5362:         ;;
1.1.1.15  root     5363: esac
                   5364: fi
                   5365: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5366:        CXXFLAGS="${old_CXXFLAGS}"
                   5367: 
                   5368: 
                   5369: 
                   5370: # コンパイラが AVX2 をサポートしているか。
                   5371: # Check whether --enable-avx2 was given.
                   5372: if test ${enable_avx2+y}
                   5373: then :
                   5374:   enableval=$enable_avx2;
                   5375: else case e in #(
                   5376:   e) enable_avx2=yes ;;
                   5377: esac
                   5378: fi
                   5379: 
                   5380: 
                   5381: if test x"${enable_avx2}" != x"no"
                   5382: then :
                   5383: 
                   5384:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports AVX2" >&5
                   5385: printf %s "checking whether the compiler supports AVX2... " >&6; }
                   5386:        if test x"${host_cpu}" = x"x86_64"; then
1.1.1.14  root     5387:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5388:                        old_CXXFLAGS="${CXXFLAGS}"
                   5389:                        CXXFLAGS="${CXXFLAGS} -mavx2"
                   5390:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5391: /* end confdefs.h.  */
                   5392: 
                   5393:                                        #include <x86intrin.h>
                   5394: 
                   5395: int
                   5396: main (void)
                   5397: {
                   5398: 
                   5399:                                        #if !defined(__AVX2__)
                   5400:                                        #error __AVX2__ is not defined by the compiler.
                   5401:                                        #endif
                   5402:                                        __m256i v;
                   5403: 
                   5404:   ;
                   5405:   return 0;
                   5406: }
                   5407: _ACEOF
                   5408: if ac_fn_cxx_try_compile "$LINENO"
                   5409: then :
                   5410: 
                   5411:                                        have_avx2=yes
                   5412: 
                   5413: fi
                   5414: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5415:                        CXXFLAGS="${old_CXXFLAGS}"
                   5416:                fi
                   5417:        fi
                   5418:        if test x"${have_avx2}" = x"yes"; then
                   5419:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5420: printf "%s\n" "yes" >&6; }
                   5421:                printf "%s\n" "#define HAVE_AVX2 1" >>confdefs.h
                   5422: 
                   5423:                HOST_HAS_AVX2=yes
                   5424: 
                   5425:        else
                   5426:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5427: printf "%s\n" "no" >&6; }
                   5428:        fi
                   5429: 
                   5430: fi
                   5431: 
1.1.1.15  root     5432: # コンパイラが NEON をサポートしているか。
                   5433: # Check whether --enable-neon was given.
                   5434: if test ${enable_neon+y}
                   5435: then :
                   5436:   enableval=$enable_neon;
                   5437: else case e in #(
                   5438:   e) enable_neon=yes ;;
                   5439: esac
                   5440: fi
                   5441: 
                   5442: 
                   5443: if test x"${enable_neon}" != x"no"
                   5444: then :
                   5445: 
                   5446:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports NEON" >&5
                   5447: printf %s "checking whether the compiler supports NEON... " >&6; }
                   5448:        if test x"${host_cpu}" = x"aarch64"; then
                   5449:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5450:                        old_CXXFLAGS="${CXXFLAGS}"
                   5451:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5452: /* end confdefs.h.  */
                   5453: 
                   5454:                                #include <arm_neon.h>
                   5455: 
                   5456: int
                   5457: main (void)
                   5458: {
                   5459: 
                   5460:                                uint8x16_t v;
                   5461: 
                   5462:   ;
                   5463:   return 0;
                   5464: }
                   5465: _ACEOF
                   5466: if ac_fn_cxx_try_compile "$LINENO"
                   5467: then :
                   5468: 
                   5469:                                have_neon=yes
                   5470: 
                   5471: fi
                   5472: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5473:                        CXXFLAGS="${old_CXXFLAGS}"
                   5474:                fi
                   5475:        fi
                   5476:        if test x"${have_neon}" = x"yes"; then
                   5477:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5478: printf "%s\n" "yes" >&6; }
                   5479:                printf "%s\n" "#define HAVE_NEON 1" >>confdefs.h
                   5480: 
                   5481:                HOST_HAS_NEON=yes
                   5482: 
                   5483:        else
                   5484:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5485: printf "%s\n" "no" >&6; }
                   5486:        fi
                   5487: 
                   5488: fi
                   5489: 
1.1.1.10  root     5490: # Checks for libraries.
                   5491: 
                   5492: # Checks for header files.
                   5493: ac_header= ac_cache=
                   5494: for ac_item in $ac_header_cxx_list
                   5495: do
                   5496:   if test $ac_cache; then
                   5497:     ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
                   5498:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
                   5499:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
                   5500:     fi
                   5501:     ac_header= ac_cache=
                   5502:   elif test $ac_header; then
                   5503:     ac_cache=$ac_item
                   5504:   else
                   5505:     ac_header=$ac_item
                   5506:   fi
                   5507: done
                   5508: 
                   5509: 
                   5510: 
                   5511: 
                   5512: 
                   5513: 
                   5514: 
                   5515: 
                   5516: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
                   5517: then :
                   5518: 
                   5519: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
                   5520: 
                   5521: fi
1.1.1.19! root     5522: ac_fn_cxx_check_header_compile "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
        !          5523: if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
        !          5524: then :
        !          5525:   printf "%s\n" "#define HAVE_ALSA_ASOUNDLIB_H 1" >>confdefs.h
        !          5526: 
        !          5527: fi
        !          5528: 
1.1.1.10  root     5529: ac_fn_cxx_check_header_compile "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default"
                   5530: if test "x$ac_cv_header_bsd_bsd_h" = xyes
                   5531: then :
                   5532:   printf "%s\n" "#define HAVE_BSD_BSD_H 1" >>confdefs.h
                   5533: 
                   5534: fi
                   5535: 
                   5536: ac_fn_cxx_check_header_compile "$LINENO" "bsd/stdio.h" "ac_cv_header_bsd_stdio_h" "$ac_includes_default"
                   5537: if test "x$ac_cv_header_bsd_stdio_h" = xyes
                   5538: then :
                   5539:   printf "%s\n" "#define HAVE_BSD_STDIO_H 1" >>confdefs.h
                   5540: 
                   5541: fi
                   5542: 
                   5543: ac_fn_cxx_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
                   5544: if test "x$ac_cv_header_byteswap_h" = xyes
                   5545: then :
                   5546:   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
                   5547: 
                   5548: fi
                   5549: 
                   5550: ac_fn_cxx_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
                   5551: if test "x$ac_cv_header_endian_h" = xyes
                   5552: then :
                   5553:   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
                   5554: 
                   5555: fi
                   5556: 
                   5557: ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default"
                   5558: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes
                   5559: then :
                   5560:   printf "%s\n" "#define HAVE_KQUEUE_SYS_EVENT_H 1" >>confdefs.h
                   5561: 
                   5562: fi
                   5563: 
                   5564: ac_fn_cxx_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
                   5565: if test "x$ac_cv_header_pthread_np_h" = xyes
                   5566: then :
                   5567:   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
                   5568: 
                   5569: fi
                   5570: 
1.1.1.15  root     5571: ac_fn_cxx_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
                   5572: if test "x$ac_cv_header_sched_h" = xyes
                   5573: then :
                   5574:   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
                   5575: 
                   5576: fi
                   5577: 
1.1.1.19! root     5578: ac_fn_cxx_check_header_compile "$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default"
        !          5579: if test "x$ac_cv_header_sndio_h" = xyes
        !          5580: then :
        !          5581:   printf "%s\n" "#define HAVE_SNDIO_H 1" >>confdefs.h
        !          5582: 
        !          5583: fi
        !          5584: 
        !          5585: ac_fn_cxx_check_header_compile "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
        !          5586: if test "x$ac_cv_header_sys_audioio_h" = xyes
        !          5587: then :
        !          5588:   printf "%s\n" "#define HAVE_SYS_AUDIOIO_H 1" >>confdefs.h
        !          5589: 
        !          5590: fi
        !          5591: 
1.1.1.15  root     5592: ac_fn_cxx_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default"
                   5593: if test "x$ac_cv_header_sys_cpuset_h" = xyes
                   5594: then :
                   5595:   printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h
                   5596: 
                   5597: fi
                   5598: 
1.1.1.10  root     5599: ac_fn_cxx_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
                   5600: if test "x$ac_cv_header_sys_endian_h" = xyes
                   5601: then :
                   5602:   printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
                   5603: 
                   5604: fi
                   5605: 
                   5606: ac_fn_cxx_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
                   5607: if test "x$ac_cv_header_sys_event_h" = xyes
                   5608: then :
                   5609:   printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
                   5610: 
                   5611: fi
                   5612: 
                   5613: ac_fn_cxx_check_header_compile "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   5614: if test "x$ac_cv_header_net_bpf_h" = xyes
                   5615: then :
                   5616:   printf "%s\n" "#define HAVE_NET_BPF_H 1" >>confdefs.h
                   5617: 
                   5618: fi
                   5619: 
                   5620: ac_fn_cxx_check_header_compile "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default"
                   5621: if test "x$ac_cv_header_net_if_tap_h" = xyes
                   5622: then :
                   5623:   printf "%s\n" "#define HAVE_NET_IF_TAP_H 1" >>confdefs.h
                   5624: 
                   5625: fi
                   5626: 
                   5627: ac_fn_cxx_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default"
                   5628: if test "x$ac_cv_header_linux_if_tun_h" = xyes
                   5629: then :
                   5630:   printf "%s\n" "#define HAVE_LINUX_IF_TUN_H 1" >>confdefs.h
                   5631: 
                   5632: fi
                   5633: 
                   5634: ac_fn_cxx_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
                   5635: if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
                   5636: then :
                   5637:   printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
                   5638: 
                   5639: fi
                   5640: 
                   5641: ac_fn_cxx_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
                   5642: if test "x$ac_cv_header_machine_endian_h" = xyes
                   5643: then :
                   5644:   printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
                   5645: 
                   5646: fi
                   5647: 
                   5648: 
                   5649: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい
                   5650: case "${host_os}" in
                   5651:  linux*)
                   5652:        if test "$ac_cv_header_kqueue_sys_event_h" != "yes"; then
                   5653:                as_fn_error $? "*** kqueue is not found.
                   5654: *** If you use Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5
                   5655:        fi
                   5656:        ;;
                   5657: esac
                   5658: 
                   5659: # Checks for typedefs, structures, and compiler characteristics.
                   5660: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
                   5661: if test "x$ac_cv_type__Bool" = xyes
                   5662: then :
                   5663: 
                   5664: printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
                   5665: 
                   5666: 
                   5667: fi
                   5668: 
1.1.1.15  root     5669:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
                   5670: printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
1.1.1.10  root     5671: if test ${ac_cv_header_stdbool_h+y}
                   5672: then :
                   5673:   printf %s "(cached) " >&6
1.1.1.15  root     5674: else case e in #(
                   5675:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5676: /* end confdefs.h.  */
1.1.1.10  root     5677: #include <stdbool.h>
                   5678: 
1.1.1.15  root     5679:              /* "true" and "false" should be usable in #if expressions and
                   5680:                 integer constant expressions, and "bool" should be a valid
                   5681:                 type name.
                   5682: 
                   5683:                 Although C99 requires bool, true, and false to be macros,
                   5684:                 C23 and C++11 overrule that, so do not test for that.
                   5685:                 Although C99 requires __bool_true_false_are_defined and
                   5686:                 _Bool, C23 says they are obsolescent, so do not require
                   5687:                 them.  */
1.1.1.10  root     5688: 
                   5689:              #if !true
                   5690:                #error "'true' is not true"
                   5691:              #endif
                   5692:              #if true != 1
                   5693:                #error "'true' is not equal to 1"
                   5694:              #endif
                   5695:              char b[true == 1 ? 1 : -1];
                   5696:              char c[true];
                   5697: 
                   5698:              #if false
                   5699:                #error "'false' is not false"
                   5700:              #endif
                   5701:              #if false != 0
                   5702:                #error "'false' is not equal to 0"
                   5703:              #endif
                   5704:              char d[false == 0 ? 1 : -1];
                   5705: 
                   5706:              enum { e = false, f = true, g = false * true, h = true * 256 };
                   5707: 
                   5708:              char i[(bool) 0.5 == true ? 1 : -1];
                   5709:              char j[(bool) 0.0 == false ? 1 : -1];
                   5710:              char k[sizeof (bool) > 0 ? 1 : -1];
                   5711: 
                   5712:              struct sb { bool s: 1; bool t; } s;
                   5713:              char l[sizeof s.t > 0 ? 1 : -1];
                   5714: 
                   5715:              /* The following fails for
                   5716:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
                   5717:              bool m[h];
                   5718:              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
                   5719:              char o[-1 - (bool) 0 < 0 ? 1 : -1];
                   5720:              /* Catch a bug in an HP-UX C compiler.  See
1.1.1.15  root     5721:                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
                   5722:                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
1.1.1.10  root     5723:               */
                   5724:              bool p = true;
                   5725:              bool *pp = &p;
                   5726: 
1.1.1.3   root     5727: int
1.1.1.10  root     5728: main (void)
1.1.1.3   root     5729: {
                   5730: 
1.1.1.10  root     5731:              bool ps = &s;
                   5732:              *pp |= p;
                   5733:              *pp |= ! p;
                   5734: 
                   5735:              /* Refer to every declared value, so they cannot be
                   5736:                 discarded as unused.  */
1.1.1.15  root     5737:              return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
                   5738:                      + !l + !m + !n + !o + !p + !pp + !ps);
1.1.1.10  root     5739: 
1.1.1.3   root     5740:   ;
                   5741:   return 0;
                   5742: }
                   5743: _ACEOF
1.1.1.10  root     5744: if ac_fn_cxx_try_compile "$LINENO"
                   5745: then :
                   5746:   ac_cv_header_stdbool_h=yes
1.1.1.15  root     5747: else case e in #(
                   5748:   e) ac_cv_header_stdbool_h=no ;;
                   5749: esac
1.1.1.3   root     5750: fi
1.1.1.15  root     5751: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   5752: esac
1.1.1.10  root     5753: fi
                   5754: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
                   5755: printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
1.1.1.3   root     5756: 
1.1.1.10  root     5757: #AC_C_INLINE
                   5758: #AC_TYPE_INT16_T
                   5759: #AC_TYPE_INT32_T
                   5760: #AC_TYPE_INT64_T
                   5761: #AC_TYPE_INT8_T
                   5762: #AC_TYPE_SIZE_T
                   5763: #AC_TYPE_UINT16_T
                   5764: #AC_TYPE_UINT32_T
                   5765: #AC_TYPE_UINT64_T
                   5766: #AC_TYPE_UINT8_T
1.1.1.3   root     5767: 
1.1.1.15  root     5768: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t" >&5
                   5769: printf %s "checking for cpuset_t... " >&6; }
1.1.1.10  root     5770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5771: /* end confdefs.h.  */
                   5772: 
1.1.1.15  root     5773:                #if defined(HAVE_SCHED_H)
                   5774:                #include <sched.h>
                   5775:                #endif
                   5776:                #if defined(HAVE_SYS_CPUSET_H)
                   5777:                #include <sys/cpuset.h>
                   5778:                #endif
                   5779: 
1.1.1.3   root     5780: int
1.1.1.10  root     5781: main (void)
1.1.1.3   root     5782: {
                   5783: 
1.1.1.15  root     5784:                cpuset_t set;
1.1.1.10  root     5785: 
1.1.1.3   root     5786:   ;
                   5787:   return 0;
                   5788: }
                   5789: _ACEOF
1.1.1.10  root     5790: if ac_fn_cxx_try_compile "$LINENO"
                   5791: then :
1.1.1.3   root     5792: 
1.1.1.10  root     5793:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5794: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5795:                printf "%s\n" "#define HAVE_CPUSET_T 1" >>confdefs.h
1.1.1.10  root     5796: 
                   5797: 
1.1.1.15  root     5798: else case e in #(
                   5799:   e)
1.1.1.10  root     5800:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5801: printf "%s\n" "no" >&6; }
1.1.1.15  root     5802:         ;;
                   5803: esac
1.1.1.10  root     5804: fi
                   5805: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5806: 
1.1.1.15  root     5807: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t *" >&5
                   5808: printf %s "checking for cpuset_t *... " >&6; }
1.1.1.10  root     5809: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5810: /* end confdefs.h.  */
                   5811: 
1.1.1.15  root     5812:                #if defined(HAVE_SCHED_H)
                   5813:                #include <sched.h>
                   5814:                #endif
                   5815:                #if defined(HAVE_SYS_CPUSET_H)
                   5816:                #include <sys/cpuset.h>
                   5817:                #endif
                   5818: 
1.1.1.3   root     5819: int
1.1.1.10  root     5820: main (void)
1.1.1.3   root     5821: {
                   5822: 
1.1.1.15  root     5823:                cpuset_t *set;
1.1.1.10  root     5824: 
1.1.1.3   root     5825:   ;
                   5826:   return 0;
                   5827: }
                   5828: _ACEOF
1.1.1.10  root     5829: if ac_fn_cxx_try_compile "$LINENO"
                   5830: then :
1.1.1.3   root     5831: 
1.1.1.10  root     5832:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5833: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5834:                printf "%s\n" "#define HAVE_CPUSET_T_P 1" >>confdefs.h
1.1.1.10  root     5835: 
                   5836: 
1.1.1.15  root     5837: else case e in #(
                   5838:   e)
1.1.1.10  root     5839:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5840: printf "%s\n" "no" >&6; }
1.1.1.15  root     5841:         ;;
                   5842: esac
1.1.1.10  root     5843: fi
                   5844: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5845: 
1.1.1.15  root     5846: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpu_set_t" >&5
                   5847: printf %s "checking for cpu_set_t... " >&6; }
1.1.1.10  root     5848: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5849: /* end confdefs.h.  */
                   5850: 
1.1.1.15  root     5851:                #include <sched.h>
                   5852: 
1.1.1.3   root     5853: int
1.1.1.10  root     5854: main (void)
1.1.1.3   root     5855: {
                   5856: 
1.1.1.15  root     5857:                cpu_set_t set;
1.1.1.10  root     5858: 
1.1.1.3   root     5859:   ;
                   5860:   return 0;
                   5861: }
                   5862: _ACEOF
1.1.1.10  root     5863: if ac_fn_cxx_try_compile "$LINENO"
                   5864: then :
1.1.1.3   root     5865: 
1.1.1.10  root     5866:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5867: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5868:                printf "%s\n" "#define HAVE_CPU_SET_T 1" >>confdefs.h
1.1.1.10  root     5869: 
                   5870: 
1.1.1.15  root     5871: else case e in #(
                   5872:   e)
1.1.1.10  root     5873:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5874: printf "%s\n" "no" >&6; }
1.1.1.15  root     5875:         ;;
                   5876: esac
1.1.1.10  root     5877: fi
                   5878: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5879: 
1.1.1.15  root     5880: 
                   5881: # __builtin
                   5882: 
                   5883: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5
                   5884: printf %s "checking for __builtin_assume... " >&6; }
1.1.1.10  root     5885: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5886: /* end confdefs.h.  */
                   5887: 
                   5888: int
1.1.1.10  root     5889: main (void)
1.1.1.3   root     5890: {
                   5891: 
1.1.1.15  root     5892:                __builtin_assume(1);
1.1.1.10  root     5893: 
1.1.1.3   root     5894:   ;
                   5895:   return 0;
                   5896: }
                   5897: _ACEOF
1.1.1.10  root     5898: if ac_fn_cxx_try_compile "$LINENO"
                   5899: then :
1.1.1.3   root     5900: 
1.1.1.10  root     5901:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5902: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5903:                printf "%s\n" "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h
1.1.1.10  root     5904: 
                   5905: 
1.1.1.15  root     5906: else case e in #(
                   5907:   e)
1.1.1.10  root     5908:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5909: printf "%s\n" "no" >&6; }
1.1.1.15  root     5910:         ;;
                   5911: esac
1.1.1.10  root     5912: fi
                   5913: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5914: 
1.1.1.15  root     5915: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse8" >&5
                   5916: printf %s "checking for __builtin_bitreverse8... " >&6; }
1.1.1.10  root     5917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5918: /* end confdefs.h.  */
                   5919: 
                   5920: int
1.1.1.10  root     5921: main (void)
1.1.1.3   root     5922: {
                   5923: 
1.1.1.15  root     5924:                return __builtin_bitreverse8(1);
1.1.1.10  root     5925: 
1.1.1.3   root     5926:   ;
                   5927:   return 0;
                   5928: }
                   5929: _ACEOF
1.1.1.10  root     5930: if ac_fn_cxx_try_compile "$LINENO"
                   5931: then :
1.1.1.3   root     5932: 
1.1.1.10  root     5933:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5934: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5935:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE8 1" >>confdefs.h
1.1.1.10  root     5936: 
                   5937: 
1.1.1.15  root     5938: else case e in #(
                   5939:   e)
1.1.1.10  root     5940:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5941: printf "%s\n" "no" >&6; }
1.1.1.15  root     5942:         ;;
                   5943: esac
1.1.1.10  root     5944: fi
                   5945: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5946: 
1.1.1.16  root     5947: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse16" >&5
                   5948: printf %s "checking for __builtin_bitreverse16... " >&6; }
                   5949: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5950: /* end confdefs.h.  */
                   5951: 
                   5952: int
                   5953: main (void)
                   5954: {
                   5955: 
                   5956:                return __builtin_bitreverse16(1);
                   5957: 
                   5958:   ;
                   5959:   return 0;
                   5960: }
                   5961: _ACEOF
                   5962: if ac_fn_cxx_try_compile "$LINENO"
                   5963: then :
                   5964: 
                   5965:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5966: printf "%s\n" "yes" >&6; }
                   5967:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE16 1" >>confdefs.h
                   5968: 
                   5969: 
                   5970: else case e in #(
                   5971:   e)
                   5972:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5973: printf "%s\n" "no" >&6; }
                   5974:         ;;
                   5975: esac
                   5976: fi
                   5977: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5978: 
                   5979: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse32" >&5
                   5980: printf %s "checking for __builtin_bitreverse32... " >&6; }
                   5981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5982: /* end confdefs.h.  */
                   5983: 
                   5984: int
                   5985: main (void)
                   5986: {
                   5987: 
                   5988:                return __builtin_bitreverse32(1);
                   5989: 
                   5990:   ;
                   5991:   return 0;
                   5992: }
                   5993: _ACEOF
                   5994: if ac_fn_cxx_try_compile "$LINENO"
                   5995: then :
                   5996: 
                   5997:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5998: printf "%s\n" "yes" >&6; }
                   5999:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE32 1" >>confdefs.h
                   6000: 
                   6001: 
                   6002: else case e in #(
                   6003:   e)
                   6004:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6005: printf "%s\n" "no" >&6; }
                   6006:         ;;
                   6007: esac
                   6008: fi
                   6009: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6010: 
1.1.1.15  root     6011: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5
                   6012: printf %s "checking for __builtin_bswap16... " >&6; }
1.1.1.10  root     6013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     6014: /* end confdefs.h.  */
                   6015: 
                   6016: int
1.1.1.10  root     6017: main (void)
1.1.1.3   root     6018: {
                   6019: 
1.1.1.15  root     6020:                return __builtin_bswap16(0);
1.1.1.10  root     6021: 
1.1.1.3   root     6022:   ;
                   6023:   return 0;
                   6024: }
                   6025: _ACEOF
1.1.1.10  root     6026: if ac_fn_cxx_try_compile "$LINENO"
                   6027: then :
1.1.1.3   root     6028: 
1.1.1.10  root     6029:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6030: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6031:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h
1.1.1.3   root     6032: 
                   6033: 
1.1.1.15  root     6034: else case e in #(
                   6035:   e)
1.1.1.10  root     6036:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6037: printf "%s\n" "no" >&6; }
1.1.1.15  root     6038:         ;;
                   6039: esac
1.1.1.3   root     6040: fi
1.1.1.10  root     6041: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6042: 
1.1.1.15  root     6043: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5
                   6044: printf %s "checking for __builtin_bswap32... " >&6; }
1.1.1.10  root     6045: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     6046: /* end confdefs.h.  */
                   6047: 
1.1.1.10  root     6048: int
                   6049: main (void)
                   6050: {
1.1.1.3   root     6051: 
1.1.1.15  root     6052:                return __builtin_bswap32(0);
1.1.1.3   root     6053: 
1.1.1.10  root     6054:   ;
                   6055:   return 0;
                   6056: }
1.1.1.3   root     6057: _ACEOF
1.1.1.10  root     6058: if ac_fn_cxx_try_compile "$LINENO"
                   6059: then :
1.1.1.3   root     6060: 
1.1.1.10  root     6061:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6062: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6063:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h
1.1.1.3   root     6064: 
1.1.1.10  root     6065: 
1.1.1.15  root     6066: else case e in #(
                   6067:   e)
1.1.1.10  root     6068:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6069: printf "%s\n" "no" >&6; }
1.1.1.15  root     6070:         ;;
                   6071: esac
1.1.1.3   root     6072: fi
1.1.1.10  root     6073: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6074: 
1.1.1.15  root     6075: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap64" >&5
                   6076: printf %s "checking for __builtin_bswap64... " >&6; }
1.1.1.10  root     6077: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6078: /* end confdefs.h.  */
                   6079: 
                   6080: int
                   6081: main (void)
                   6082: {
1.1.1.3   root     6083: 
1.1.1.15  root     6084:                return __builtin_bswap64(0);
                   6085: 
1.1.1.10  root     6086:   ;
                   6087:   return 0;
                   6088: }
1.1.1.3   root     6089: _ACEOF
1.1.1.10  root     6090: if ac_fn_cxx_try_compile "$LINENO"
                   6091: then :
1.1.1.3   root     6092: 
1.1.1.10  root     6093:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6094: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6095:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP64 1" >>confdefs.h
1.1.1.3   root     6096: 
                   6097: 
1.1.1.15  root     6098: else case e in #(
                   6099:   e)
1.1.1.10  root     6100:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6101: printf "%s\n" "no" >&6; }
1.1.1.15  root     6102:         ;;
                   6103: esac
1.1.1.10  root     6104: fi
                   6105: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6106: 
1.1.1.15  root     6107: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
                   6108: printf %s "checking for __builtin_expect... " >&6; }
1.1.1.10  root     6109: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6110: /* end confdefs.h.  */
1.1.1.3   root     6111: 
1.1.1.10  root     6112: int
                   6113: main (void)
                   6114: {
1.1.1.3   root     6115: 
1.1.1.15  root     6116:                if (__builtin_expect(1, 1)) return 0;
                   6117: 
1.1.1.10  root     6118:   ;
                   6119:   return 0;
                   6120: }
1.1.1.3   root     6121: _ACEOF
1.1.1.10  root     6122: if ac_fn_cxx_try_compile "$LINENO"
                   6123: then :
1.1.1.3   root     6124: 
1.1.1.10  root     6125:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6126: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6127:                printf "%s\n" "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
                   6128: 
                   6129: 
                   6130: else case e in #(
                   6131:   e)
                   6132:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6133: printf "%s\n" "no" >&6; }
                   6134:         ;;
                   6135: esac
                   6136: fi
                   6137: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6138: 
1.1.1.15  root     6139: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateleft32" >&5
                   6140: printf %s "checking for __builtin_rotateleft32... " >&6; }
                   6141: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6142: /* end confdefs.h.  */
                   6143: 
                   6144: int
                   6145: main (void)
                   6146: {
                   6147: 
                   6148:                return __builtin_rotateleft32(1, 1);
                   6149: 
                   6150:   ;
                   6151:   return 0;
                   6152: }
                   6153: _ACEOF
                   6154: if ac_fn_cxx_try_compile "$LINENO"
                   6155: then :
                   6156: 
                   6157:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6158: printf "%s\n" "yes" >&6; }
                   6159:                printf "%s\n" "#define HAVE___BUILTIN_ROTATELEFT32 1" >>confdefs.h
                   6160: 
                   6161: 
                   6162: else case e in #(
                   6163:   e)
                   6164:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6165: printf "%s\n" "no" >&6; }
                   6166:         ;;
                   6167: esac
                   6168: fi
                   6169: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6170: 
                   6171: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateright32" >&5
                   6172: printf %s "checking for __builtin_rotateright32... " >&6; }
                   6173: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6174: /* end confdefs.h.  */
                   6175: 
                   6176: int
                   6177: main (void)
                   6178: {
                   6179: 
                   6180:                return __builtin_rotateright32(1, 1);
                   6181: 
                   6182:   ;
                   6183:   return 0;
                   6184: }
                   6185: _ACEOF
                   6186: if ac_fn_cxx_try_compile "$LINENO"
                   6187: then :
                   6188: 
                   6189:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6190: printf "%s\n" "yes" >&6; }
                   6191:                printf "%s\n" "#define HAVE___BUILTIN_ROTATERIGHT32 1" >>confdefs.h
                   6192: 
                   6193: 
                   6194: else case e in #(
                   6195:   e)
                   6196:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6197: printf "%s\n" "no" >&6; }
                   6198:         ;;
                   6199: esac
                   6200: fi
                   6201: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6202: 
                   6203: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
                   6204: printf %s "checking for __builtin_unreachable... " >&6; }
                   6205: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6206: /* end confdefs.h.  */
                   6207: 
                   6208: int
                   6209: main (void)
                   6210: {
                   6211: 
                   6212:                __builtin_unreachable();
                   6213: 
                   6214:   ;
                   6215:   return 0;
                   6216: }
                   6217: _ACEOF
                   6218: if ac_fn_cxx_try_compile "$LINENO"
                   6219: then :
                   6220: 
                   6221:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6222: printf "%s\n" "yes" >&6; }
                   6223:                printf "%s\n" "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h
                   6224: 
                   6225: 
                   6226: else case e in #(
                   6227:   e)
                   6228:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6229: printf "%s\n" "no" >&6; }
                   6230:         ;;
                   6231: esac
                   6232: fi
                   6233: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6234: 
                   6235: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5
                   6236: printf %s "checking for __attribute__((__fallthrough__))... " >&6; }
                   6237: old_CXXFLAGS="${CXXFLAGS}"
                   6238: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6239: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6240: /* end confdefs.h.  */
                   6241: 
                   6242: int
                   6243: main (void)
                   6244: {
                   6245: 
                   6246:                extern int x;
                   6247:                switch (x) {
                   6248:                 case 0:
                   6249:                        __attribute__((__fallthrough__));
                   6250:                 case 1:
                   6251:                        break;
                   6252:                }
                   6253: 
                   6254:   ;
                   6255:   return 0;
                   6256: }
                   6257: _ACEOF
                   6258: if ac_fn_cxx_try_compile "$LINENO"
                   6259: then :
                   6260: 
                   6261:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6262: printf "%s\n" "yes" >&6; }
                   6263:                printf "%s\n" "#define HAVE___ATTRIBUTE_FALLTHROUGH 1" >>confdefs.h
                   6264: 
                   6265: 
                   6266: else case e in #(
                   6267:   e)
                   6268:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6269: printf "%s\n" "no" >&6; }
                   6270:         ;;
                   6271: esac
                   6272: fi
                   6273: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6274: CXXFLAGS="${old_CXXFLAGS}"
                   6275: 
                   6276: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__format__))" >&5
                   6277: printf %s "checking for __attribute__((__format__))... " >&6; }
                   6278: old_CXXFLAGS="${CXXFLAGS}"
                   6279: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6281: /* end confdefs.h.  */
                   6282: 
                   6283:                extern int f(const char *f, ...)
                   6284:                        __attribute__((__format__(__printf__, 1, 2)));
                   6285: 
                   6286: int
                   6287: main (void)
                   6288: {
                   6289: 
                   6290:   ;
                   6291:   return 0;
                   6292: }
                   6293: _ACEOF
                   6294: if ac_fn_cxx_try_compile "$LINENO"
                   6295: then :
                   6296: 
                   6297:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6298: printf "%s\n" "yes" >&6; }
                   6299:                printf "%s\n" "#define HAVE___ATTRIBUTE_FORMAT 1" >>confdefs.h
                   6300: 
                   6301: 
                   6302: else case e in #(
                   6303:   e)
                   6304:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6305: printf "%s\n" "no" >&6; }
                   6306:         ;;
                   6307: esac
                   6308: fi
                   6309: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6310: CXXFLAGS="${old_CXXFLAGS}"
                   6311: 
                   6312: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5
                   6313: printf %s "checking for __attribute__((no_sanitize))... " >&6; }
                   6314: old_CXXFLAGS="${CXXFLAGS}"
                   6315: CXXFLAGS="${CXXFLAGS} -Werror"
                   6316: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6317: /* end confdefs.h.  */
                   6318: 
                   6319:                __attribute__((no_sanitize("undefined")))
                   6320:                int func() { return 0; }
                   6321: 
                   6322: int
                   6323: main (void)
                   6324: {
                   6325: 
                   6326:   ;
                   6327:   return 0;
                   6328: }
                   6329: _ACEOF
                   6330: if ac_fn_cxx_try_compile "$LINENO"
                   6331: then :
                   6332: 
                   6333:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6334: printf "%s\n" "yes" >&6; }
                   6335:                printf "%s\n" "#define HAVE___ATTRIBUTE_NO_SANITIZE 1" >>confdefs.h
                   6336: 
                   6337: 
                   6338: else case e in #(
                   6339:   e)
                   6340:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6341: printf "%s\n" "no" >&6; }
                   6342:         ;;
                   6343: esac
                   6344: fi
                   6345: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6346: CXXFLAGS="${old_CXXFLAGS}"
                   6347: 
                   6348: 
                   6349: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5
                   6350: printf %s "checking for __attribute__((__packed__))... " >&6; }
                   6351: old_CXXFLAGS="${CXXFLAGS}"
                   6352: CXXFLAGS="${CXXFLAGS} -Werror"
                   6353: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6354: /* end confdefs.h.  */
                   6355: 
                   6356: int
                   6357: main (void)
                   6358: {
                   6359: 
                   6360:                struct x { char a; int b; } __attribute__((__packed__));
                   6361: 
                   6362:   ;
                   6363:   return 0;
                   6364: }
                   6365: _ACEOF
                   6366: if ac_fn_cxx_try_compile "$LINENO"
                   6367: then :
                   6368: 
                   6369:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6370: printf "%s\n" "yes" >&6; }
                   6371:                printf "%s\n" "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h
                   6372: 
                   6373: 
                   6374: else case e in #(
                   6375:   e)
                   6376:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6377: printf "%s\n" "no" >&6; }
                   6378:         ;;
                   6379: esac
                   6380: fi
                   6381: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6382: CXXFLAGS="${old_CXXFLAGS}"
                   6383: 
                   6384: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5
                   6385: printf %s "checking for __attribute__((__unused__))... " >&6; }
                   6386: old_CXXFLAGS="${CXXFLAGS}"
                   6387: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror"
                   6388: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6389: /* end confdefs.h.  */
                   6390: 
                   6391: int
                   6392: main (void)
                   6393: {
                   6394: 
                   6395:                int a __attribute__((__unused__));
                   6396: 
                   6397:   ;
                   6398:   return 0;
                   6399: }
                   6400: _ACEOF
                   6401: if ac_fn_cxx_try_compile "$LINENO"
                   6402: then :
                   6403: 
                   6404:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6405: printf "%s\n" "yes" >&6; }
                   6406:                printf "%s\n" "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h
                   6407: 
                   6408: 
                   6409: else case e in #(
                   6410:   e)
                   6411:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6412: printf "%s\n" "no" >&6; }
                   6413:         ;;
                   6414: esac
                   6415: fi
                   6416: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6417: CXXFLAGS="${old_CXXFLAGS}"
                   6418: 
                   6419: # Checks for library functions.
                   6420: #AC_FUNC_MALLOC
                   6421: #AC_FUNC_MMAP
                   6422: 
                   6423: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16" >&5
                   6424: printf %s "checking for bswap16... " >&6; }
                   6425: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6426: /* end confdefs.h.  */
                   6427: 
                   6428:                #if defined(HAVE_SYS_ENDIAN_H)
                   6429:                #include <sys/endian.h>
                   6430:                #endif
                   6431: 
                   6432: int
                   6433: main (void)
                   6434: {
                   6435: 
                   6436:                bswap16(0);
                   6437: 
                   6438:   ;
                   6439:   return 0;
                   6440: }
                   6441: _ACEOF
                   6442: if ac_fn_cxx_try_compile "$LINENO"
                   6443: then :
                   6444: 
                   6445:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6446: printf "%s\n" "yes" >&6; }
                   6447:                printf "%s\n" "#define HAVE_BSWAP16 1" >>confdefs.h
                   6448: 
                   6449: 
                   6450: else case e in #(
                   6451:   e)
                   6452:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6453: printf "%s\n" "no" >&6; }
                   6454:         ;;
                   6455: esac
                   6456: fi
                   6457: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6458: 
                   6459: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap32" >&5
                   6460: printf %s "checking for bswap32... " >&6; }
                   6461: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6462: /* end confdefs.h.  */
                   6463: 
                   6464:                #if defined(HAVE_SYS_ENDIAN_H)
                   6465:                #include <sys/endian.h>
                   6466:                #endif
                   6467: 
                   6468: int
                   6469: main (void)
                   6470: {
                   6471: 
                   6472:                bswap32(0);
                   6473: 
                   6474:   ;
                   6475:   return 0;
                   6476: }
                   6477: _ACEOF
                   6478: if ac_fn_cxx_try_compile "$LINENO"
                   6479: then :
                   6480: 
                   6481:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6482: printf "%s\n" "yes" >&6; }
                   6483:                printf "%s\n" "#define HAVE_BSWAP32 1" >>confdefs.h
                   6484: 
                   6485: 
                   6486: else case e in #(
                   6487:   e)
                   6488:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6489: printf "%s\n" "no" >&6; }
                   6490:         ;;
                   6491: esac
                   6492: fi
                   6493: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6494: 
                   6495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap64" >&5
                   6496: printf %s "checking for bswap64... " >&6; }
                   6497: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6498: /* end confdefs.h.  */
                   6499: 
                   6500:                #if defined(HAVE_SYS_ENDIAN_H)
                   6501:                #include <sys/endian.h>
                   6502:                #endif
                   6503: 
                   6504: int
                   6505: main (void)
                   6506: {
                   6507: 
                   6508:                bswap64(0);
                   6509: 
                   6510:   ;
                   6511:   return 0;
                   6512: }
                   6513: _ACEOF
                   6514: if ac_fn_cxx_try_compile "$LINENO"
                   6515: then :
                   6516: 
                   6517:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6518: printf "%s\n" "yes" >&6; }
                   6519:                printf "%s\n" "#define HAVE_BSWAP64 1" >>confdefs.h
                   6520: 
                   6521: 
                   6522: else case e in #(
                   6523:   e)
                   6524:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6525: printf "%s\n" "no" >&6; }
                   6526:         ;;
                   6527: esac
                   6528: fi
                   6529: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6530: 
                   6531: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_16" >&5
                   6532: printf %s "checking for bswap_16... " >&6; }
                   6533: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6534: /* end confdefs.h.  */
                   6535: 
                   6536:                #if defined(HAVE_BYTESWAP_H)
                   6537:                #include <byteswap.h>
                   6538:                #endif
                   6539: 
                   6540: int
                   6541: main (void)
                   6542: {
                   6543: 
                   6544:                bswap_16(0);
                   6545: 
                   6546:   ;
                   6547:   return 0;
                   6548: }
                   6549: _ACEOF
                   6550: if ac_fn_cxx_try_compile "$LINENO"
                   6551: then :
                   6552: 
                   6553:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6554: printf "%s\n" "yes" >&6; }
                   6555:                printf "%s\n" "#define HAVE_BSWAP_16 1" >>confdefs.h
                   6556: 
                   6557: 
                   6558: else case e in #(
                   6559:   e)
                   6560:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6561: printf "%s\n" "no" >&6; }
                   6562:         ;;
                   6563: esac
                   6564: fi
                   6565: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6566: 
                   6567: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_32" >&5
                   6568: printf %s "checking for bswap_32... " >&6; }
                   6569: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6570: /* end confdefs.h.  */
                   6571: 
                   6572:                #if defined(HAVE_BYTESWAP_H)
                   6573:                #include <byteswap.h>
                   6574:                #endif
                   6575: 
                   6576: int
                   6577: main (void)
                   6578: {
                   6579: 
                   6580:                bswap_32(0);
                   6581: 
                   6582:   ;
                   6583:   return 0;
                   6584: }
                   6585: _ACEOF
                   6586: if ac_fn_cxx_try_compile "$LINENO"
                   6587: then :
                   6588: 
                   6589:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6590: printf "%s\n" "yes" >&6; }
                   6591:                printf "%s\n" "#define HAVE_BSWAP_32 1" >>confdefs.h
                   6592: 
                   6593: 
                   6594: else case e in #(
                   6595:   e)
                   6596:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6597: printf "%s\n" "no" >&6; }
                   6598:         ;;
                   6599: esac
                   6600: fi
                   6601: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6602: 
                   6603: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
                   6604: printf %s "checking for bswap_64... " >&6; }
                   6605: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6606: /* end confdefs.h.  */
                   6607: 
                   6608:                #if defined(HAVE_BYTESWAP_H)
                   6609:                #include <byteswap.h>
                   6610:                #endif
                   6611: 
                   6612: int
                   6613: main (void)
                   6614: {
                   6615: 
                   6616:                bswap_64(0);
                   6617: 
                   6618:   ;
                   6619:   return 0;
                   6620: }
                   6621: _ACEOF
                   6622: if ac_fn_cxx_try_compile "$LINENO"
                   6623: then :
                   6624: 
                   6625:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6626: printf "%s\n" "yes" >&6; }
                   6627:                printf "%s\n" "#define HAVE_BSWAP_64 1" >>confdefs.h
1.1.1.3   root     6628: 
1.1.1.10  root     6629: 
1.1.1.15  root     6630: else case e in #(
                   6631:   e)
1.1.1.10  root     6632:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6633: printf "%s\n" "no" >&6; }
1.1.1.15  root     6634:         ;;
                   6635: esac
1.1.1.3   root     6636: fi
1.1.1.10  root     6637: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6638: 
1.1.1.15  root     6639: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap16" >&5
                   6640: printf %s "checking for swap16... " >&6; }
1.1.1.10  root     6641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6642: /* end confdefs.h.  */
1.1.1.3   root     6643: 
1.1.1.15  root     6644:                #if defined(HAVE_SYS_ENDIAN_H)
                   6645:                #include <sys/endian.h>
                   6646:                #endif
                   6647: 
1.1.1.10  root     6648: int
                   6649: main (void)
                   6650: {
1.1.1.3   root     6651: 
1.1.1.15  root     6652:                swap16(0);
1.1.1.3   root     6653: 
1.1.1.10  root     6654:   ;
                   6655:   return 0;
                   6656: }
1.1.1.3   root     6657: _ACEOF
1.1.1.10  root     6658: if ac_fn_cxx_try_compile "$LINENO"
                   6659: then :
1.1.1.3   root     6660: 
1.1.1.10  root     6661:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6662: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6663:                printf "%s\n" "#define HAVE_SWAP16 1" >>confdefs.h
1.1.1.3   root     6664: 
1.1       root     6665: 
1.1.1.15  root     6666: else case e in #(
                   6667:   e)
1.1.1.10  root     6668:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6669: printf "%s\n" "no" >&6; }
1.1.1.15  root     6670:         ;;
                   6671: esac
1.1.1.10  root     6672: fi
                   6673: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6674: 
1.1.1.15  root     6675: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap32" >&5
                   6676: printf %s "checking for swap32... " >&6; }
1.1.1.10  root     6677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6678: /* end confdefs.h.  */
1.1       root     6679: 
1.1.1.15  root     6680:                #if defined(HAVE_SYS_ENDIAN_H)
                   6681:                #include <sys/endian.h>
                   6682:                #endif
                   6683: 
1.1.1.10  root     6684: int
                   6685: main (void)
                   6686: {
1.1       root     6687: 
1.1.1.15  root     6688:                swap32(0);
1.1       root     6689: 
1.1.1.10  root     6690:   ;
                   6691:   return 0;
                   6692: }
1.1       root     6693: _ACEOF
1.1.1.10  root     6694: if ac_fn_cxx_try_compile "$LINENO"
                   6695: then :
1.1       root     6696: 
1.1.1.10  root     6697:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6698: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6699:                printf "%s\n" "#define HAVE_SWAP32 1" >>confdefs.h
1.1       root     6700: 
                   6701: 
1.1.1.15  root     6702: else case e in #(
                   6703:   e)
1.1.1.10  root     6704:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6705: printf "%s\n" "no" >&6; }
1.1.1.15  root     6706:         ;;
                   6707: esac
1.1.1.10  root     6708: fi
                   6709: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6710: 
1.1.1.15  root     6711: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap64" >&5
                   6712: printf %s "checking for swap64... " >&6; }
1.1.1.10  root     6713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6714: /* end confdefs.h.  */
1.1       root     6715: 
1.1.1.10  root     6716:                #if defined(HAVE_SYS_ENDIAN_H)
                   6717:                #include <sys/endian.h>
                   6718:                #endif
1.1       root     6719: 
                   6720: int
1.1.1.10  root     6721: main (void)
1.1       root     6722: {
                   6723: 
1.1.1.15  root     6724:                swap64(0);
1.1       root     6725: 
                   6726:   ;
                   6727:   return 0;
                   6728: }
                   6729: _ACEOF
1.1.1.10  root     6730: if ac_fn_cxx_try_compile "$LINENO"
                   6731: then :
1.1       root     6732: 
1.1.1.10  root     6733:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6734: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6735:                printf "%s\n" "#define HAVE_SWAP64 1" >>confdefs.h
1.1       root     6736: 
                   6737: 
1.1.1.15  root     6738: else case e in #(
                   6739:   e)
1.1.1.10  root     6740:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6741: printf "%s\n" "no" >&6; }
1.1.1.15  root     6742:         ;;
                   6743: esac
1.1.1.10  root     6744: fi
                   6745: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6746: 
1.1.1.15  root     6747: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe16" >&5
                   6748: printf %s "checking for htobe16... " >&6; }
1.1       root     6749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6750: /* end confdefs.h.  */
                   6751: 
1.1.1.15  root     6752:                #if defined(HAVE_ENDIAN_H)
                   6753:                #include <endian.h>
                   6754:                #endif
1.1.1.10  root     6755:                #if defined(HAVE_SYS_ENDIAN_H)
                   6756:                #include <sys/endian.h>
                   6757:                #endif
1.1.1.15  root     6758:                #if defined(HAVE_MACHINE_ENDIAN_H)
                   6759:                #include <machine/endian.h>
                   6760:                #endif
1.1.1.10  root     6761: 
1.1       root     6762: int
1.1.1.10  root     6763: main (void)
1.1       root     6764: {
                   6765: 
1.1.1.15  root     6766:                htobe16(0);
1.1       root     6767: 
                   6768:   ;
                   6769:   return 0;
                   6770: }
                   6771: _ACEOF
1.1.1.10  root     6772: if ac_fn_cxx_try_compile "$LINENO"
                   6773: then :
                   6774: 
                   6775:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6776: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6777:                printf "%s\n" "#define HAVE_HTOBE16 1" >>confdefs.h
1.1.1.10  root     6778: 
                   6779: 
1.1.1.15  root     6780: else case e in #(
                   6781:   e)
1.1.1.10  root     6782:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6783: printf "%s\n" "no" >&6; }
1.1.1.15  root     6784:         ;;
                   6785: esac
1.1       root     6786: fi
1.1.1.10  root     6787: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6788: 
1.1.1.15  root     6789: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_COUNT" >&5
                   6790: printf %s "checking for CPU_COUNT... " >&6; }
1.1       root     6791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6792: /* end confdefs.h.  */
                   6793: 
1.1.1.15  root     6794:                #if defined(HAVE_SCHED_H)
                   6795:                #include <sched.h>
                   6796:                #endif
                   6797:                #if defined(HAVE_SYS_CPUSET_H)
                   6798:                #include <sys/cpuset.h>
1.1.1.10  root     6799:                #endif
                   6800: 
1.1       root     6801: int
1.1.1.10  root     6802: main (void)
1.1       root     6803: {
                   6804: 
1.1.1.15  root     6805:                #if defined(HAVE_CPUSET_T)
                   6806:                cpuset_t set;
                   6807:                #elif defined(HAVE_CPU_SET_T)
                   6808:                cpu_set_t set;
                   6809:                #endif
                   6810:                CPU_COUNT(&set);
1.1       root     6811: 
                   6812:   ;
                   6813:   return 0;
                   6814: }
                   6815: _ACEOF
1.1.1.10  root     6816: if ac_fn_cxx_try_compile "$LINENO"
                   6817: then :
                   6818: 
                   6819:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6820: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6821:                printf "%s\n" "#define HAVE_CPU_COUNT 1" >>confdefs.h
1.1.1.10  root     6822: 
                   6823: 
1.1.1.15  root     6824: else case e in #(
                   6825:   e)
1.1.1.10  root     6826:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6827: printf "%s\n" "no" >&6; }
1.1.1.15  root     6828:         ;;
                   6829: esac
1.1       root     6830: fi
1.1.1.10  root     6831: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6832: 
1.1.1.15  root     6833: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ISSET" >&5
                   6834: printf %s "checking for CPU_ISSET... " >&6; }
1.1       root     6835: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6836: /* end confdefs.h.  */
                   6837: 
1.1.1.15  root     6838:                #if defined(HAVE_SCHED_H)
                   6839:                #include <sched.h>
                   6840:                #endif
                   6841:                #if defined(HAVE_SYS_CPUSET_H)
                   6842:                #include <sys/cpuset.h>
1.1.1.10  root     6843:                #endif
                   6844: 
1.1       root     6845: int
1.1.1.10  root     6846: main (void)
1.1       root     6847: {
                   6848: 
1.1.1.15  root     6849:                #if defined(HAVE_CPUSET_T)
                   6850:                cpuset_t set;
                   6851:                #elif defined(HAVE_CPU_SET_T)
                   6852:                cpu_set_t set;
                   6853:                #endif
                   6854:                CPU_ISSET(0, &set);
1.1       root     6855: 
                   6856:   ;
                   6857:   return 0;
                   6858: }
                   6859: _ACEOF
1.1.1.10  root     6860: if ac_fn_cxx_try_compile "$LINENO"
                   6861: then :
                   6862: 
                   6863:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6864: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6865:                printf "%s\n" "#define HAVE_CPU_ISSET 1" >>confdefs.h
1.1.1.10  root     6866: 
                   6867: 
1.1.1.15  root     6868: else case e in #(
                   6869:   e)
1.1.1.10  root     6870:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6871: printf "%s\n" "no" >&6; }
1.1.1.15  root     6872:         ;;
                   6873: esac
1.1       root     6874: fi
1.1.1.10  root     6875: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6876: 
1.1.1.15  root     6877: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_SET" >&5
                   6878: printf %s "checking for CPU_SET... " >&6; }
1.1.1.2   root     6879: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6880: /* end confdefs.h.  */
                   6881: 
1.1.1.15  root     6882:                #if defined(HAVE_SCHED_H)
                   6883:                #include <sched.h>
                   6884:                #endif
                   6885:                #if defined(HAVE_SYS_CPUSET_H)
                   6886:                #include <sys/cpuset.h>
1.1.1.10  root     6887:                #endif
                   6888: 
1.1.1.2   root     6889: int
1.1.1.10  root     6890: main (void)
1.1.1.2   root     6891: {
                   6892: 
1.1.1.15  root     6893:                #if defined(HAVE_CPUSET_T)
                   6894:                cpuset_t set;
                   6895:                #elif defined(HAVE_CPU_SET_T)
                   6896:                cpu_set_t set;
                   6897:                #endif
                   6898:                CPU_SET(0, &set);
1.1.1.2   root     6899: 
                   6900:   ;
                   6901:   return 0;
                   6902: }
                   6903: _ACEOF
1.1.1.10  root     6904: if ac_fn_cxx_try_compile "$LINENO"
                   6905: then :
                   6906: 
                   6907:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6908: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6909:                printf "%s\n" "#define HAVE_CPU_SET 1" >>confdefs.h
1.1.1.10  root     6910: 
                   6911: 
1.1.1.15  root     6912: else case e in #(
                   6913:   e)
1.1.1.10  root     6914:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6915: printf "%s\n" "no" >&6; }
1.1.1.15  root     6916:         ;;
                   6917: esac
1.1.1.2   root     6918: fi
1.1.1.10  root     6919: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.2   root     6920: 
1.1.1.15  root     6921: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ZERO" >&5
                   6922: printf %s "checking for CPU_ZERO... " >&6; }
1.1       root     6923: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6924: /* end confdefs.h.  */
                   6925: 
1.1.1.15  root     6926:                #if defined(HAVE_SCHED_H)
                   6927:                #include <sched.h>
                   6928:                #endif
                   6929:                #if defined(HAVE_SYS_CPUSET_H)
                   6930:                #include <sys/cpuset.h>
1.1.1.10  root     6931:                #endif
                   6932: 
1.1       root     6933: int
1.1.1.10  root     6934: main (void)
1.1       root     6935: {
                   6936: 
1.1.1.15  root     6937:                #if defined(HAVE_CPUSET_T)
                   6938:                cpuset_t set;
                   6939:                #elif defined(HAVE_CPU_SET_T)
                   6940:                cpu_set_t set;
                   6941:                #endif
                   6942:                CPU_ZERO(&set);
1.1       root     6943: 
                   6944:   ;
                   6945:   return 0;
                   6946: }
                   6947: _ACEOF
1.1.1.10  root     6948: if ac_fn_cxx_try_compile "$LINENO"
                   6949: then :
                   6950: 
                   6951:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6952: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6953:                printf "%s\n" "#define HAVE_CPU_ZERO 1" >>confdefs.h
1.1.1.10  root     6954: 
                   6955: 
1.1.1.15  root     6956: else case e in #(
                   6957:   e)
1.1.1.10  root     6958:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6959: printf "%s\n" "no" >&6; }
1.1.1.15  root     6960:         ;;
                   6961: esac
1.1       root     6962: fi
1.1.1.10  root     6963: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6964: 
1.1.1.15  root     6965: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_create" >&5
                   6966: printf %s "checking for cpuset_create... " >&6; }
1.1       root     6967: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6968: /* end confdefs.h.  */
                   6969: 
1.1.1.15  root     6970:                #include <sched.h>
1.1.1.10  root     6971: 
1.1       root     6972: int
1.1.1.10  root     6973: main (void)
1.1       root     6974: {
                   6975: 
1.1.1.15  root     6976:                cpuset_create();
1.1       root     6977: 
                   6978:   ;
                   6979:   return 0;
                   6980: }
                   6981: _ACEOF
1.1.1.10  root     6982: if ac_fn_cxx_try_compile "$LINENO"
                   6983: then :
                   6984: 
                   6985:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6986: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6987:                printf "%s\n" "#define HAVE_CPUSET_CREATE 1" >>confdefs.h
1.1.1.10  root     6988: 
                   6989: 
1.1.1.15  root     6990: else case e in #(
                   6991:   e)
1.1.1.10  root     6992:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6993: printf "%s\n" "no" >&6; }
1.1.1.15  root     6994:         ;;
                   6995: esac
1.1       root     6996: fi
1.1.1.10  root     6997: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6998: 
1.1.1.15  root     6999: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_isset" >&5
                   7000: printf %s "checking for cpuset_isset... " >&6; }
1.1       root     7001: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7002: /* end confdefs.h.  */
                   7003: 
1.1.1.15  root     7004:                #include <sched.h>
1.1.1.10  root     7005: 
1.1       root     7006: int
1.1.1.10  root     7007: main (void)
1.1       root     7008: {
                   7009: 
1.1.1.15  root     7010:                cpuset_isset(0, NULL);
1.1       root     7011: 
                   7012:   ;
                   7013:   return 0;
                   7014: }
                   7015: _ACEOF
1.1.1.10  root     7016: if ac_fn_cxx_try_compile "$LINENO"
                   7017: then :
                   7018: 
                   7019:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7020: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7021:                printf "%s\n" "#define HAVE_CPUSET_ISSET 1" >>confdefs.h
1.1.1.10  root     7022: 
                   7023: 
1.1.1.15  root     7024: else case e in #(
                   7025:   e)
1.1.1.10  root     7026:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7027: printf "%s\n" "no" >&6; }
1.1.1.15  root     7028:         ;;
                   7029: esac
1.1       root     7030: fi
1.1.1.10  root     7031: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7032: 
1.1.1.15  root     7033: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_set" >&5
                   7034: printf %s "checking for cpuset_set... " >&6; }
1.1       root     7035: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7036: /* end confdefs.h.  */
                   7037: 
1.1.1.15  root     7038:                #include <sched.h>
1.1       root     7039: 
                   7040: int
1.1.1.10  root     7041: main (void)
1.1       root     7042: {
                   7043: 
1.1.1.15  root     7044:                cpuset_set(0, NULL);
1.1       root     7045: 
                   7046:   ;
                   7047:   return 0;
                   7048: }
                   7049: _ACEOF
1.1.1.10  root     7050: if ac_fn_cxx_try_compile "$LINENO"
                   7051: then :
                   7052: 
                   7053:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7054: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7055:                printf "%s\n" "#define HAVE_CPUSET_SET 1" >>confdefs.h
1.1.1.10  root     7056: 
                   7057: 
1.1.1.15  root     7058: else case e in #(
                   7059:   e)
1.1.1.10  root     7060:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7061: printf "%s\n" "no" >&6; }
1.1.1.15  root     7062:         ;;
                   7063: esac
1.1       root     7064: fi
1.1.1.10  root     7065: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7066: 
1.1.1.15  root     7067: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_size" >&5
                   7068: printf %s "checking for cpuset_size... " >&6; }
1.1       root     7069: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7070: /* end confdefs.h.  */
                   7071: 
1.1.1.15  root     7072:                #include <sched.h>
1.1       root     7073: 
                   7074: int
1.1.1.10  root     7075: main (void)
1.1       root     7076: {
                   7077: 
1.1.1.15  root     7078:                cpuset_size(NULL);
1.1       root     7079: 
                   7080:   ;
                   7081:   return 0;
                   7082: }
                   7083: _ACEOF
1.1.1.10  root     7084: if ac_fn_cxx_try_compile "$LINENO"
                   7085: then :
1.1       root     7086: 
1.1.1.10  root     7087:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7088: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7089:                printf "%s\n" "#define HAVE_CPUSET_SIZE 1" >>confdefs.h
1.1       root     7090: 
1.1.1.10  root     7091: 
1.1.1.15  root     7092: else case e in #(
                   7093:   e)
1.1.1.10  root     7094:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7095: printf "%s\n" "no" >&6; }
1.1.1.15  root     7096:         ;;
                   7097: esac
1.1.1.10  root     7098: fi
                   7099: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7100: 
1.1.1.14  root     7101: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
                   7102: printf %s "checking for statfs... " >&6; }
                   7103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7104: /* end confdefs.h.  */
                   7105: 
                   7106:                #include <sys/statfs.h>
                   7107: 
                   7108: int
                   7109: main (void)
                   7110: {
                   7111: 
                   7112:                struct statfs buf;
                   7113:                statfs("", &buf);
                   7114: 
                   7115:   ;
                   7116:   return 0;
                   7117: }
                   7118: _ACEOF
                   7119: if ac_fn_cxx_try_compile "$LINENO"
                   7120: then :
                   7121: 
                   7122:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7123: printf "%s\n" "yes" >&6; }
                   7124:                printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h
                   7125: 
                   7126:                have_statxxfs=statfs
                   7127: 
1.1.1.15  root     7128: else case e in #(
                   7129:   e)
1.1.1.14  root     7130:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7131: printf "%s\n" "no" >&6; }
1.1.1.15  root     7132:         ;;
                   7133: esac
1.1.1.14  root     7134: fi
                   7135: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7136: 
                   7137: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
                   7138: printf %s "checking for statvfs... " >&6; }
                   7139: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7140: /* end confdefs.h.  */
                   7141: 
                   7142:                #include <sys/statvfs.h>
                   7143: 
                   7144: int
                   7145: main (void)
                   7146: {
                   7147: 
                   7148:                struct statvfs buf;
                   7149:                statvfs("", &buf);
                   7150: 
                   7151:   ;
                   7152:   return 0;
                   7153: }
                   7154: _ACEOF
                   7155: if ac_fn_cxx_try_compile "$LINENO"
                   7156: then :
                   7157: 
                   7158:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7159: printf "%s\n" "yes" >&6; }
                   7160:                printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h
                   7161: 
                   7162:                have_statxxfs=statvfs
                   7163: 
1.1.1.15  root     7164: else case e in #(
                   7165:   e)
1.1.1.14  root     7166:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7167: printf "%s\n" "no" >&6; }
1.1.1.15  root     7168:         ;;
                   7169: esac
1.1.1.14  root     7170: fi
                   7171: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7172: 
                   7173: if test -z "${have_statxxfs}"; then
1.1.1.15  root     7174:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7175: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7176: as_fn_error $? "*** No statfs() nor statvfs() found
1.1.1.15  root     7177: See 'config.log' for more details" "$LINENO" 5; }
1.1.1.14  root     7178: fi
                   7179: 
                   7180: ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "
                   7181:                #include <sys/stat.h>
                   7182: 
                   7183: "
                   7184: if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
                   7185: then :
                   7186: 
                   7187:                printf "%s\n" "#define HAVE_STAT_ST_TIMESPEC 1" >>confdefs.h
                   7188: 
                   7189: 
                   7190: fi
                   7191: 
                   7192: 
                   7193: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timegm" >&5
                   7194: printf %s "checking for timegm... " >&6; }
                   7195: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7196: /* end confdefs.h.  */
                   7197: 
                   7198:                #include <time.h>
                   7199: 
                   7200: int
                   7201: main (void)
                   7202: {
                   7203: 
                   7204:                timegm(NULL);
                   7205: 
                   7206:   ;
                   7207:   return 0;
                   7208: }
                   7209: _ACEOF
                   7210: if ac_fn_cxx_try_compile "$LINENO"
                   7211: then :
                   7212: 
                   7213:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7214: printf "%s\n" "yes" >&6; }
                   7215: 
1.1.1.15  root     7216: else case e in #(
                   7217:   e)
1.1.1.14  root     7218:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7219: printf "%s\n" "no" >&6; }
1.1.1.15  root     7220:                { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7221: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7222: as_fn_error $? "*** No timegm() found
1.1.1.15  root     7223: See 'config.log' for more details" "$LINENO" 5; }
                   7224:         ;;
                   7225: esac
1.1.1.14  root     7226: fi
                   7227: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7228: 
1.1.1.10  root     7229: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_getname_np" >&5
                   7230: printf %s "checking for pthread_getname_np... " >&6; }
1.1       root     7231: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7232: /* end confdefs.h.  */
                   7233: 
1.1.1.10  root     7234:                #include <pthread.h>
                   7235:                #if defined(HAVE_PTHREAD_NP_H)
                   7236:                #include <pthread_np.h>
                   7237:                #endif
                   7238: 
1.1       root     7239: int
1.1.1.10  root     7240: main (void)
1.1       root     7241: {
                   7242: 
1.1.1.10  root     7243:                char name[32];
                   7244:                pthread_getname_np(pthread_self(), name, sizeof(name));
1.1       root     7245: 
                   7246:   ;
                   7247:   return 0;
                   7248: }
                   7249: _ACEOF
1.1.1.10  root     7250: if ac_fn_cxx_try_compile "$LINENO"
                   7251: then :
                   7252: 
                   7253:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7254: printf "%s\n" "yes" >&6; }
                   7255:                printf "%s\n" "#define HAVE_PTHREAD_GETNAME_NP 1" >>confdefs.h
                   7256: 
                   7257: 
1.1.1.15  root     7258: else case e in #(
                   7259:   e)
1.1.1.10  root     7260:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7261: printf "%s\n" "no" >&6; }
1.1.1.15  root     7262:         ;;
                   7263: esac
1.1       root     7264: fi
1.1.1.10  root     7265: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7266: 
1.1.1.10  root     7267: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_get_name_np" >&5
                   7268: printf %s "checking for pthread_get_name_np... " >&6; }
1.1       root     7269: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7270: /* end confdefs.h.  */
                   7271: 
1.1.1.10  root     7272:                #include <pthread.h>
                   7273:                #if defined(HAVE_PTHREAD_NP_H)
                   7274:                #include <pthread_np.h>
                   7275:                #endif
                   7276: 
1.1       root     7277: int
1.1.1.10  root     7278: main (void)
1.1       root     7279: {
                   7280: 
1.1.1.10  root     7281:                char name[32];
                   7282:                pthread_get_name_np(pthread_self(), name, sizeof(name));
1.1       root     7283: 
                   7284:   ;
                   7285:   return 0;
                   7286: }
                   7287: _ACEOF
1.1.1.10  root     7288: if ac_fn_cxx_try_compile "$LINENO"
                   7289: then :
1.1       root     7290: 
1.1.1.10  root     7291:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7292: printf "%s\n" "yes" >&6; }
                   7293:                printf "%s\n" "#define HAVE_PTHREAD_GET_NAME_NP 1" >>confdefs.h
1.1       root     7294: 
                   7295: 
1.1.1.15  root     7296: else case e in #(
                   7297:   e)
1.1.1.10  root     7298:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7299: printf "%s\n" "no" >&6; }
1.1.1.15  root     7300:         ;;
                   7301: esac
1.1.1.10  root     7302: fi
                   7303: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7304: 
                   7305: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5
                   7306: printf %s "checking for pthread_setname_np(name)... " >&6; }
1.1       root     7307: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7308: /* end confdefs.h.  */
1.1.1.3   root     7309: 
                   7310:                #include <pthread.h>
                   7311:                #if defined(HAVE_PTHREAD_NP_H)
                   7312:                #include <pthread_np.h>
                   7313:                #endif
                   7314: 
1.1       root     7315: int
1.1.1.10  root     7316: main (void)
1.1       root     7317: {
                   7318: 
                   7319:                pthread_setname_np("");
                   7320: 
                   7321:   ;
                   7322:   return 0;
                   7323: }
                   7324: _ACEOF
1.1.1.10  root     7325: if ac_fn_cxx_try_compile "$LINENO"
                   7326: then :
                   7327: 
                   7328:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7329: printf "%s\n" "yes" >&6; }
                   7330:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_name 1" >>confdefs.h
                   7331: 
                   7332: 
1.1.1.15  root     7333: else case e in #(
                   7334:   e)
1.1.1.10  root     7335:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7336: printf "%s\n" "no" >&6; }
1.1.1.15  root     7337:         ;;
                   7338: esac
1.1       root     7339: fi
1.1.1.10  root     7340: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7341: 
1.1.1.10  root     7342: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5
                   7343: printf %s "checking for pthread_setname_np(thread, name)... " >&6; }
1.1       root     7344: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7345: /* end confdefs.h.  */
1.1.1.3   root     7346: 
                   7347:                #include <pthread.h>
                   7348:                #if defined(HAVE_PTHREAD_NP_H)
                   7349:                #include <pthread_np.h>
                   7350:                #endif
                   7351: 
1.1       root     7352: int
1.1.1.10  root     7353: main (void)
1.1       root     7354: {
                   7355: 
                   7356:                pthread_setname_np(pthread_self(), "");
                   7357: 
                   7358:   ;
                   7359:   return 0;
                   7360: }
                   7361: _ACEOF
1.1.1.10  root     7362: if ac_fn_cxx_try_compile "$LINENO"
                   7363: then :
                   7364: 
                   7365:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7366: printf "%s\n" "yes" >&6; }
                   7367:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name 1" >>confdefs.h
                   7368: 
                   7369: 
1.1.1.15  root     7370: else case e in #(
                   7371:   e)
1.1.1.10  root     7372:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7373: printf "%s\n" "no" >&6; }
1.1.1.15  root     7374:         ;;
                   7375: esac
1.1       root     7376: fi
1.1.1.10  root     7377: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7378: 
1.1.1.10  root     7379: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5
                   7380: printf %s "checking for pthread_setname_np(thread, name, arg)... " >&6; }
1.1       root     7381: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7382: /* end confdefs.h.  */
1.1.1.3   root     7383: 
                   7384:                #include <pthread.h>
                   7385:                #if defined(HAVE_PTHREAD_NP_H)
                   7386:                #include <pthread_np.h>
                   7387:                #endif
                   7388: 
1.1       root     7389: int
1.1.1.10  root     7390: main (void)
1.1       root     7391: {
                   7392: 
                   7393:                pthread_setname_np(pthread_self(), "", (void*)0);
                   7394: 
                   7395:   ;
                   7396:   return 0;
                   7397: }
                   7398: _ACEOF
1.1.1.10  root     7399: if ac_fn_cxx_try_compile "$LINENO"
                   7400: then :
                   7401: 
                   7402:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7403: printf "%s\n" "yes" >&6; }
                   7404:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name_arg 1" >>confdefs.h
                   7405: 
                   7406: 
1.1.1.15  root     7407: else case e in #(
                   7408:   e)
1.1.1.10  root     7409:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7410: printf "%s\n" "no" >&6; }
1.1.1.15  root     7411:         ;;
                   7412: esac
1.1.1.3   root     7413: fi
1.1.1.10  root     7414: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     7415: 
1.1.1.10  root     7416: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_set_name_np(thread, name)" >&5
                   7417: printf %s "checking for pthread_set_name_np(thread, name)... " >&6; }
1.1.1.3   root     7418: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7419: /* end confdefs.h.  */
                   7420: 
                   7421:                #include <pthread.h>
                   7422:                #if defined(HAVE_PTHREAD_NP_H)
                   7423:                #include <pthread_np.h>
                   7424:                #endif
                   7425: 
                   7426: int
1.1.1.10  root     7427: main (void)
1.1.1.3   root     7428: {
                   7429: 
                   7430:                pthread_set_name_np(pthread_self(), "");
                   7431: 
                   7432:   ;
                   7433:   return 0;
                   7434: }
                   7435: _ACEOF
1.1.1.10  root     7436: if ac_fn_cxx_try_compile "$LINENO"
                   7437: then :
                   7438: 
                   7439:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7440: printf "%s\n" "yes" >&6; }
                   7441:                printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP_th_name 1" >>confdefs.h
                   7442: 
                   7443: 
1.1.1.15  root     7444: else case e in #(
                   7445:   e)
1.1.1.10  root     7446:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7447: printf "%s\n" "no" >&6; }
1.1.1.15  root     7448:         ;;
                   7449: esac
                   7450: fi
                   7451: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7452: 
                   7453: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setaffinity_np" >&5
                   7454: printf %s "checking for pthread_setaffinity_np... " >&6; }
                   7455: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7456: /* end confdefs.h.  */
                   7457: 
                   7458:                #include <pthread.h>
                   7459:                #if defined(HAVE_PTHREAD_NP_H)
                   7460:                #include <pthread_np.h>
                   7461:                #endif
                   7462: 
                   7463: int
                   7464: main (void)
                   7465: {
                   7466: 
                   7467:                pthread_setaffinity_np(pthread_self(), 0, NULL);
                   7468: 
                   7469:   ;
                   7470:   return 0;
                   7471: }
                   7472: _ACEOF
                   7473: if ac_fn_cxx_try_compile "$LINENO"
                   7474: then :
                   7475: 
                   7476:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7477: printf "%s\n" "yes" >&6; }
                   7478:                printf "%s\n" "#define HAVE_PTHREAD_SETAFFINITY_NP 1" >>confdefs.h
                   7479: 
1.1       root     7480: 
1.1.1.15  root     7481: else case e in #(
                   7482:   e)
                   7483:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7484: printf "%s\n" "no" >&6; }
                   7485:         ;;
                   7486: esac
1.1       root     7487: fi
1.1.1.10  root     7488: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7489: 
1.1.1.15  root     7490: 
1.1.1.8   root     7491: #
                   7492: # Network
                   7493: #
1.1.1.10  root     7494: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AF_PACKET" >&5
                   7495: printf %s "checking for AF_PACKET... " >&6; }
1.1.1.8   root     7496: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7497: /* end confdefs.h.  */
                   7498: 
                   7499:                #include <sys/socket.h>
                   7500: 
                   7501: int
1.1.1.10  root     7502: main (void)
1.1.1.8   root     7503: {
                   7504: 
                   7505:                AF_PACKET;
                   7506: 
                   7507:   ;
                   7508:   return 0;
                   7509: }
                   7510: _ACEOF
1.1.1.10  root     7511: if ac_fn_cxx_try_compile "$LINENO"
                   7512: then :
                   7513: 
                   7514:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7515: printf "%s\n" "yes" >&6; }
                   7516:                printf "%s\n" "#define HAVE_HOSTNET_AFPACKET 1" >>confdefs.h
1.1.1.8   root     7517: 
                   7518:                HOSTNET_AFPACKET=yes
                   7519: 
1.1.1.19! root     7520:                netdriver_afpacket=yes
1.1.1.10  root     7521: 
1.1.1.15  root     7522: else case e in #(
                   7523:   e)
1.1.1.10  root     7524:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7525: printf "%s\n" "no" >&6; }
1.1.1.19! root     7526:                netdriver_afpacket=no
1.1.1.15  root     7527:         ;;
                   7528: esac
1.1.1.8   root     7529: fi
1.1.1.10  root     7530: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.8   root     7531: 
1.1.1.10  root     7532: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tap(4)" >&5
                   7533: printf %s "checking for tap(4)... " >&6; }
1.1.1.6   root     7534: case "${host_os}" in
                   7535:  linux*)
                   7536:        if test x"$ac_cv_header_linux_if_tun_h" = xyes; then
1.1.1.8   root     7537:                netdriver_tap=yes
1.1.1.6   root     7538:        fi
                   7539:        ;;
                   7540:  openbsd*)
                   7541:        # OpenBSD has no <net/if_tap.h> but supports tap(4).
1.1.1.8   root     7542:        netdriver_tap=yes
1.1.1.6   root     7543:        ;;
1.1.1.8   root     7544:  *)
1.1.1.6   root     7545:        if test x"$ac_cv_header_net_if_tap_h" = xyes; then
1.1.1.8   root     7546:                netdriver_tap=yes
1.1.1.6   root     7547:        fi
1.1.1.8   root     7548:        ;;
                   7549: esac
                   7550: if test x"$netdriver_tap" = xyes; then
1.1.1.10  root     7551:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7552: printf "%s\n" "yes" >&6; }
                   7553:        printf "%s\n" "#define HAVE_HOSTNET_TAP 1" >>confdefs.h
1.1.1.8   root     7554: 
                   7555:        HOSTNET_TAP=yes
                   7556: 
                   7557: else
1.1.1.10  root     7558:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7559: printf "%s\n" "no" >&6; }
1.1       root     7560: fi
                   7561: 
1.1.1.10  root     7562: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf(4)" >&5
                   7563: printf %s "checking for bpf(4)... " >&6; }
1.1.1.8   root     7564: if test x"$ac_cv_header_net_bpf_h" = xyes; then
1.1.1.10  root     7565:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7566: printf "%s\n" "yes" >&6; }
                   7567:        printf "%s\n" "#define HAVE_HOSTNET_BPF 1" >>confdefs.h
1.1.1.8   root     7568: 
                   7569:        HOSTNET_BPF=yes
                   7570: 
1.1.1.19! root     7571:        netdriver_bpf=yes
1.1.1.8   root     7572: else
1.1.1.10  root     7573:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7574: printf "%s\n" "no" >&6; }
1.1.1.19! root     7575:        netdriver_bpf=no
1.1.1.8   root     7576: fi
1.1       root     7577: 
1.1.1.14  root     7578: #
                   7579: # Other libraries
                   7580: #
                   7581: 
                   7582: 
                   7583: 
                   7584: PATHS="none /usr/pkg /usr/local"
                   7585: 
1.1       root     7586: # libbsd on Linux
1.1.1.10  root     7587: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lc" >&5
                   7588: printf %s "checking for getprogname in -lc... " >&6; }
                   7589: if test ${ac_cv_lib_c_getprogname+y}
                   7590: then :
                   7591:   printf %s "(cached) " >&6
1.1.1.15  root     7592: else case e in #(
                   7593:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7594: LIBS="-lc  $LIBS"
                   7595: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7596: /* end confdefs.h.  */
                   7597: 
1.1.1.10  root     7598: namespace conftest {
                   7599:   extern "C" int getprogname ();
                   7600: }
1.1.1.5   root     7601: int
1.1.1.10  root     7602: main (void)
1.1.1.5   root     7603: {
1.1.1.10  root     7604: return conftest::getprogname ();
1.1.1.5   root     7605:   ;
                   7606:   return 0;
                   7607: }
                   7608: _ACEOF
1.1.1.10  root     7609: if ac_fn_cxx_try_link "$LINENO"
                   7610: then :
1.1.1.5   root     7611:   ac_cv_lib_c_getprogname=yes
1.1.1.15  root     7612: else case e in #(
                   7613:   e) ac_cv_lib_c_getprogname=no ;;
                   7614: esac
1.1.1.5   root     7615: fi
1.1.1.10  root     7616: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7617:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7618: LIBS=$ac_check_lib_save_LIBS ;;
                   7619: esac
1.1.1.5   root     7620: fi
1.1.1.10  root     7621: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getprogname" >&5
                   7622: printf "%s\n" "$ac_cv_lib_c_getprogname" >&6; }
                   7623: if test "x$ac_cv_lib_c_getprogname" = xyes
                   7624: then :
                   7625:   printf "%s\n" "#define HAVE_LIBC 1" >>confdefs.h
1.1.1.5   root     7626: 
                   7627:   LIBS="-lc $LIBS"
                   7628: 
                   7629: fi
                   7630: 
1.1.1.10  root     7631: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5
                   7632: printf %s "checking for getprogname in -lbsd... " >&6; }
                   7633: if test ${ac_cv_lib_bsd_getprogname+y}
                   7634: then :
                   7635:   printf %s "(cached) " >&6
1.1.1.15  root     7636: else case e in #(
                   7637:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7638: LIBS="-lbsd  $LIBS"
                   7639: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7640: /* end confdefs.h.  */
                   7641: 
1.1.1.10  root     7642: namespace conftest {
                   7643:   extern "C" int getprogname ();
                   7644: }
1.1       root     7645: int
1.1.1.10  root     7646: main (void)
1.1       root     7647: {
1.1.1.10  root     7648: return conftest::getprogname ();
1.1       root     7649:   ;
                   7650:   return 0;
                   7651: }
                   7652: _ACEOF
1.1.1.10  root     7653: if ac_fn_cxx_try_link "$LINENO"
                   7654: then :
1.1       root     7655:   ac_cv_lib_bsd_getprogname=yes
1.1.1.15  root     7656: else case e in #(
                   7657:   e) ac_cv_lib_bsd_getprogname=no ;;
                   7658: esac
1.1       root     7659: fi
1.1.1.10  root     7660: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7661:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7662: LIBS=$ac_check_lib_save_LIBS ;;
                   7663: esac
1.1       root     7664: fi
1.1.1.10  root     7665: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5
                   7666: printf "%s\n" "$ac_cv_lib_bsd_getprogname" >&6; }
                   7667: if test "x$ac_cv_lib_bsd_getprogname" = xyes
                   7668: then :
1.1.1.6   root     7669:   LIBS="${LIBS} -lbsd"
1.1       root     7670: 
                   7671: fi
                   7672: 
1.1.1.5   root     7673: # なければ停止する
                   7674: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7675: /* end confdefs.h.  */
                   7676: 
                   7677:                #include <stdlib.h>
                   7678:                #include "confdefs.h"
                   7679:                #if defined(HAVE_BSD_BSD_H)
                   7680:                #include <bsd/bsd.h>
                   7681:                #endif
                   7682: 
                   7683: int
1.1.1.10  root     7684: main (void)
1.1.1.5   root     7685: {
                   7686: 
                   7687:                getprogname()
                   7688: 
                   7689:   ;
                   7690:   return 0;
                   7691: }
                   7692: _ACEOF
1.1.1.10  root     7693: if ac_fn_cxx_try_compile "$LINENO"
                   7694: then :
1.1.1.5   root     7695: 
1.1.1.10  root     7696:        # nothing to do on success
                   7697: 
1.1.1.15  root     7698: else case e in #(
                   7699:   e)
1.1.1.10  root     7700:                as_fn_error $? "*** getprogname is not found.
1.1.1.7   root     7701: *** If you use Ubuntu, sudo apt install libbsd-dev" "$LINENO" 5
1.1.1.5   root     7702: 
1.1.1.15  root     7703:  ;;
                   7704: esac
1.1.1.5   root     7705: fi
1.1.1.10  root     7706: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7707: 
                   7708: # libkqueue on Linux
1.1.1.10  root     7709: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5
                   7710: printf %s "checking for kqueue in -lkqueue... " >&6; }
                   7711: if test ${ac_cv_lib_kqueue_kqueue+y}
                   7712: then :
                   7713:   printf %s "(cached) " >&6
1.1.1.15  root     7714: else case e in #(
                   7715:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7716: LIBS="-lkqueue  $LIBS"
                   7717: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7718: /* end confdefs.h.  */
                   7719: 
1.1.1.10  root     7720: namespace conftest {
                   7721:   extern "C" int kqueue ();
                   7722: }
1.1       root     7723: int
1.1.1.10  root     7724: main (void)
1.1       root     7725: {
1.1.1.10  root     7726: return conftest::kqueue ();
1.1       root     7727:   ;
                   7728:   return 0;
                   7729: }
                   7730: _ACEOF
1.1.1.10  root     7731: if ac_fn_cxx_try_link "$LINENO"
                   7732: then :
1.1       root     7733:   ac_cv_lib_kqueue_kqueue=yes
1.1.1.15  root     7734: else case e in #(
                   7735:   e) ac_cv_lib_kqueue_kqueue=no ;;
                   7736: esac
1.1       root     7737: fi
1.1.1.10  root     7738: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7739:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7740: LIBS=$ac_check_lib_save_LIBS ;;
                   7741: esac
1.1       root     7742: fi
1.1.1.10  root     7743: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5
                   7744: printf "%s\n" "$ac_cv_lib_kqueue_kqueue" >&6; }
                   7745: if test "x$ac_cv_lib_kqueue_kqueue" = xyes
                   7746: then :
1.1.1.6   root     7747:   LIBS="${LIBS} -lkqueue"
1.1       root     7748: 
                   7749: fi
                   7750: 
                   7751: 
1.1.1.10  root     7752: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
                   7753: printf %s "checking for gzclose in -lz... " >&6; }
                   7754: if test ${ac_cv_lib_z_gzclose+y}
                   7755: then :
                   7756:   printf %s "(cached) " >&6
1.1.1.15  root     7757: else case e in #(
                   7758:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7759: LIBS="-lz  $LIBS"
                   7760: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7761: /* end confdefs.h.  */
                   7762: 
1.1.1.10  root     7763: namespace conftest {
                   7764:   extern "C" int gzclose ();
                   7765: }
1.1.1.5   root     7766: int
1.1.1.10  root     7767: main (void)
1.1.1.5   root     7768: {
1.1.1.10  root     7769: return conftest::gzclose ();
1.1.1.5   root     7770:   ;
                   7771:   return 0;
                   7772: }
                   7773: _ACEOF
1.1.1.10  root     7774: if ac_fn_cxx_try_link "$LINENO"
                   7775: then :
1.1.1.5   root     7776:   ac_cv_lib_z_gzclose=yes
1.1.1.15  root     7777: else case e in #(
                   7778:   e) ac_cv_lib_z_gzclose=no ;;
                   7779: esac
1.1.1.5   root     7780: fi
1.1.1.10  root     7781: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7782:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7783: LIBS=$ac_check_lib_save_LIBS ;;
                   7784: esac
1.1.1.5   root     7785: fi
1.1.1.10  root     7786: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
                   7787: printf "%s\n" "$ac_cv_lib_z_gzclose" >&6; }
                   7788: if test "x$ac_cv_lib_z_gzclose" = xyes
                   7789: then :
1.1.1.6   root     7790:   LIBS="${LIBS} -lz"
1.1.1.15  root     7791: else case e in #(
                   7792:   e) as_fn_error $? "*** zlib is not found.
1.1.1.7   root     7793: *** If use use Ubuntu, sudo apt install zlib1g-dev" "$LINENO" 5
1.1.1.15  root     7794:  ;;
                   7795: esac
1.1.1.5   root     7796: fi
                   7797: 
                   7798: 
1.1.1.16  root     7799: # libslirp
                   7800: 
                   7801: # Check whether --with-libslirp was given.
                   7802: if test ${with_libslirp+y}
                   7803: then :
                   7804:   withval=$with_libslirp;
                   7805: else case e in #(
                   7806:   e) with_libslirp=yes ;;
                   7807: esac
                   7808: fi
                   7809: 
                   7810: 
                   7811: if test "x$with_libslirp" != "xno"
                   7812: then :
                   7813: 
                   7814: 
                   7815:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libslirp" >&5
                   7816: printf %s "checking for libslirp... " >&6; }
1.1.1.17  root     7817:        old_CPPFLAGS=${CPPFLAGS}
                   7818:        old_LIBS=${LIBS}
1.1.1.16  root     7819:        for path in ${PATHS}; do
                   7820:                case ${path} in
                   7821:                 none)
1.1.1.17  root     7822:                        LIBS="-lslirp"
1.1.1.16  root     7823:                        ;;
                   7824:                 *)
1.1.1.17  root     7825:                        CPPFLAGS="-I${path}/include"
                   7826:                        LIBS="-L${path}/lib -lslirp"
1.1.1.16  root     7827:                        ;;
                   7828:                esac
                   7829:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7830: /* end confdefs.h.  */
                   7831: 
                   7832:                #include <slirp/libslirp.h>
                   7833: 
                   7834: int
                   7835: main (void)
                   7836: {
                   7837: 
                   7838:                slirp_version_string();
                   7839: 
                   7840:   ;
                   7841:   return 0;
                   7842: }
                   7843: _ACEOF
                   7844: if ac_fn_cxx_try_link "$LINENO"
                   7845: then :
                   7846: 
                   7847:                        has_libslirp=yes
1.1.1.17  root     7848: 
                   7849:                                                if test "$cross_compiling" = yes
                   7850: then :
                   7851:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7852: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   7853: as_fn_error $? "cannot run test program while cross compiling
                   7854: See 'config.log' for more details" "$LINENO" 5; }
                   7855: else case e in #(
                   7856:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7857: /* end confdefs.h.  */
                   7858: 
                   7859: 
                   7860:                #include <slirp/libslirp.h>
                   7861: 
                   7862:                                int main() {
                   7863: 
                   7864:                slirp_version_string();
                   7865:        ;
                   7866:                                        return 0;
                   7867:                                }
                   7868: 
                   7869: _ACEOF
                   7870: if ac_fn_cxx_try_run "$LINENO"
                   7871: then :
                   7872: 
                   7873: 
                   7874: else case e in #(
                   7875:   e)
                   7876:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -lslirp"
                   7877:                         ;;
                   7878: esac
                   7879: fi
                   7880: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7881:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   7882: esac
                   7883: fi
                   7884: 
                   7885: 
1.1.1.16  root     7886:                        break
                   7887: 
                   7888: else case e in #(
                   7889:   e)
                   7890:                        has_libslirp=no
                   7891:                 ;;
                   7892: esac
                   7893: fi
                   7894: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7895:     conftest$ac_exeext conftest.$ac_ext
                   7896:        done
                   7897:        if test x"${has_libslirp}" = x"yes"; then
                   7898:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7899: printf "%s\n" "yes" >&6; }
1.1.1.17  root     7900:                CPPFLAGS_libslirp=${CPPFLAGS}
                   7901:                LIBS_libslirp=${LIBS}
1.1.1.16  root     7902:        else
                   7903:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7904: printf "%s\n" "no" >&6; }
                   7905:        fi
1.1.1.17  root     7906:        CPPFLAGS=${old_CPPFLAGS}
                   7907:        LIBS=${old_LIBS}
1.1.1.16  root     7908: 
                   7909:        if test x"${has_libslirp}" = x"yes"; then
                   7910:                printf "%s\n" "#define HAVE_HOSTNET_SLIRP 1" >>confdefs.h
                   7911: 
                   7912:                HOSTNET_SLIRP=yes
                   7913: 
1.1.1.17  root     7914:                CPPFLAGS_SLIRP=${CPPFLAGS_libslirp}
                   7915: 
                   7916:                LIBS_SLIRP=${LIBS_libslirp}
                   7917: 
1.1.1.16  root     7918:        else
                   7919:                as_fn_error $? "*** libslirp is not found.
                   7920: *** If use use pkgsrc, install net/libslirp.
                   7921: *** If you use Ubuntu, sudo apt install libslirp-dev.
                   7922: *** Or specify --without-libslirp (it disables hostnet-driver=usermode)." "$LINENO" 5
                   7923:        fi
                   7924: 
                   7925: else case e in #(
                   7926:   e)
                   7927:        HOSTNET_SLIRP=no
                   7928: 
                   7929:  ;;
                   7930: esac
                   7931: fi
                   7932: 
1.1.1.19! root     7933: # ALSA
        !          7934: case "${host_os}" in
        !          7935:  linux*)
        !          7936:        default_alsa=yes
        !          7937:        ;;
        !          7938:  *)
        !          7939:        default_alsa=no
        !          7940:        ;;
        !          7941: esac
        !          7942: 
        !          7943: # Check whether --with-alsa was given.
        !          7944: if test ${with_alsa+y}
        !          7945: then :
        !          7946:   withval=$with_alsa; with_alsa=${withval}
        !          7947: else case e in #(
        !          7948:   e) with_alsa=${default_alsa} ;;
        !          7949: esac
        !          7950: fi
        !          7951: 
        !          7952: sounddriver_alsa=no
        !          7953: if test x"${with_alsa}" = xyes; then
        !          7954:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
        !          7955: printf %s "checking for snd_pcm_open in -lasound... " >&6; }
        !          7956: if test ${ac_cv_lib_asound_snd_pcm_open+y}
        !          7957: then :
        !          7958:   printf %s "(cached) " >&6
        !          7959: else case e in #(
        !          7960:   e) ac_check_lib_save_LIBS=$LIBS
        !          7961: LIBS="-lasound  $LIBS"
        !          7962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7963: /* end confdefs.h.  */
        !          7964: 
        !          7965: namespace conftest {
        !          7966:   extern "C" int snd_pcm_open ();
        !          7967: }
        !          7968: int
        !          7969: main (void)
        !          7970: {
        !          7971: return conftest::snd_pcm_open ();
        !          7972:   ;
        !          7973:   return 0;
        !          7974: }
        !          7975: _ACEOF
        !          7976: if ac_fn_cxx_try_link "$LINENO"
        !          7977: then :
        !          7978:   ac_cv_lib_asound_snd_pcm_open=yes
        !          7979: else case e in #(
        !          7980:   e) ac_cv_lib_asound_snd_pcm_open=no ;;
        !          7981: esac
        !          7982: fi
        !          7983: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          7984:     conftest$ac_exeext conftest.$ac_ext
        !          7985: LIBS=$ac_check_lib_save_LIBS ;;
        !          7986: esac
        !          7987: fi
        !          7988: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5
        !          7989: printf "%s\n" "$ac_cv_lib_asound_snd_pcm_open" >&6; }
        !          7990: if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes
        !          7991: then :
        !          7992:   has_asound=yes
        !          7993: else case e in #(
        !          7994:   e) has_asound=no ;;
        !          7995: esac
        !          7996: fi
        !          7997: 
        !          7998:        if test x"${ac_cv_header_alsa_asoundlib_h}" = xyes -a \
        !          7999:                x"${ac_cv_lib_asound_snd_pcm_open}" = xyes; then
        !          8000:                printf "%s\n" "#define HAVE_HOSTSOUND_ALSA 1" >>confdefs.h
        !          8001: 
        !          8002:                HOSTSOUND_ALSA=yes
        !          8003: 
        !          8004:                LIBS_SOUND="${LIBS_SOUND} -lasound"
        !          8005:                sounddriver_alsa=yes
        !          8006:        else
        !          8007:                as_fn_error $? "*** <alsa/asoundlib.h> or libasound not found.
        !          8008: *** If you use Ubuntu, sudo apt install libasound2-dev.
        !          8009: *** Or specify --without-alsa (it disables hostsound-driver=alsa)." "$LINENO" 5
        !          8010:        fi
        !          8011: fi
        !          8012: 
        !          8013: # NetBSD audio
        !          8014: if test x"${ac_cv_header_sys_audioio_h}" = xyes; then
        !          8015:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AUDIO_GETINFO" >&5
        !          8016: printf %s "checking for AUDIO_GETINFO... " >&6; }
        !          8017:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8018: /* end confdefs.h.  */
        !          8019: 
        !          8020:                #include <sys/ioctl.h>
        !          8021:                #include <sys/audioio.h>
        !          8022:                #include <unistd.h>
        !          8023: 
        !          8024: int
        !          8025: main (void)
        !          8026: {
        !          8027: 
        !          8028:                struct audio_info info;
        !          8029:                AUDIO_INITINFO(&info);
        !          8030:                ioctl(0, AUDIO_GETINFO, &info);
        !          8031: 
        !          8032:   ;
        !          8033:   return 0;
        !          8034: }
        !          8035: _ACEOF
        !          8036: if ac_fn_cxx_try_compile "$LINENO"
        !          8037: then :
        !          8038: 
        !          8039:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          8040: printf "%s\n" "yes" >&6; }
        !          8041:                printf "%s\n" "#define HAVE_HOSTSOUND_NETBSD 1" >>confdefs.h
        !          8042: 
        !          8043:                HOSTSOUND_NETBSD=yes
        !          8044: 
        !          8045:                sounddriver_netbsd=yes
        !          8046: 
        !          8047: else case e in #(
        !          8048:   e)
        !          8049:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8050: printf "%s\n" "no" >&6; }
        !          8051:                sounddriver_netbsd=no
        !          8052:         ;;
        !          8053: esac
        !          8054: fi
        !          8055: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          8056: fi
        !          8057: 
        !          8058: # OpenBSD sndio
        !          8059: if test x"${ac_cv_header_sndio_h}" = xyes; then
        !          8060:        printf "%s\n" "#define HAVE_HOSTSOUND_SNDIO 1" >>confdefs.h
        !          8061: 
        !          8062:        HOSTSOUND_SNDIO=yes
        !          8063: 
        !          8064:        LIBS_SOUND="${LIBS_SOUND} -lsndio"
        !          8065:        sounddriver_sndio=yes
        !          8066: else
        !          8067:        sounddriver_sndio=no
        !          8068: fi
        !          8069: 
        !          8070: LIBS_SOUND=${LIBS_SOUND}
        !          8071: 
        !          8072: 
1.1       root     8073: # wxWidgets
1.1.1.10  root     8074: 
                   8075: # Check whether --with-gui was given.
                   8076: if test ${with_gui+y}
                   8077: then :
                   8078:   withval=$with_gui;
1.1.1.15  root     8079: else case e in #(
                   8080:   e) with_gui=yes ;;
                   8081: esac
1.1.1.10  root     8082: fi
                   8083: 
                   8084: 
                   8085: if test "x$with_gui" != xno
                   8086: then :
                   8087: 
                   8088:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
                   8089: printf %s "checking for wx-config... " >&6; }
1.1.1.14  root     8090:        wxconfig_paths="${WX_CONFIG} wx-config-3.2 wx-config-3.0 wx-config"
1.1.1.10  root     8091:        wxconfig=""
                   8092:        for c in ${wxconfig_paths}; do
                   8093:                ver=`$c --version 2>&1 | cut -f 1 -d .`
                   8094:                if test "$ver" = "3"; then
                   8095:                        wxconfig=$c
                   8096:                        break
                   8097:                fi
                   8098:        done
                   8099:        if test -z "$wxconfig"; then
1.1.1.14  root     8100:                as_fn_error $? "*** wxWidgets-3.2 nor -3.0 not found in ${wxconfig_paths}
                   8101: *** If you use pkgsrc, install x11/wxGTK32.
1.1.1.7   root     8102: *** If you use Ubuntu, sudo apt install libwxgtk3.0-gtk3-dev" "$LINENO" 5
1.1.1.10  root     8103:        else
                   8104:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5
                   8105: printf "%s\n" "$wxconfig" >&6; }
1.1       root     8106: 
1.1.1.10  root     8107:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5
                   8108: printf %s "checking for wxWidgets version... " >&6; }
                   8109:                wxversion=`$wxconfig --version`
                   8110:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5
                   8111: printf "%s\n" "$wxversion" >&6; }
1.1.1.14  root     8112:                wxmajorminor=`echo $wxversion | awk -F . '{print $1 $2}'`
                   8113:                WX_MAJORMINOR=${wxmajorminor}
                   8114: 
1.1.1.10  root     8115: 
                   8116:                wxcppflags=`$wxconfig --cppflags`
                   8117:                wxlibs=`$wxconfig --libs`
                   8118: 
                   8119:                case "${host_os}" in
                   8120:                 darwin*)
                   8121:                        # XXX -framework AudioToolbox が指定されているとリンカがこけるorz
                   8122:                        wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'`
                   8123:                        ;;
                   8124:                esac
1.1       root     8125: 
1.1.1.18  root     8126:                                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wx-config requires -Wl,-R" >&5
                   8127: printf %s "checking whether wx-config requires -Wl,-R... " >&6; }
                   8128:                old_CPPFLAGS="${CPPFLAGS}"
                   8129:                old_LIBS="${LIBS}"
                   8130:                CPPFLAGS="${CPPFLAGS} ${wxcppflags}"
                   8131:                LIBS="${LIBS} ${wxlibs}"
                   8132:                if test "$cross_compiling" = yes
1.1.1.17  root     8133: then :
                   8134:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   8135: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   8136: as_fn_error $? "cannot run test program while cross compiling
                   8137: See 'config.log' for more details" "$LINENO" 5; }
                   8138: else case e in #(
                   8139:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8140: /* end confdefs.h.  */
                   8141: 
                   8142:                        #include <wx/wx.h>
1.1.1.18  root     8143:                        int main() {
                   8144:                                wxInitializer init;
                   8145:                                return !init;
                   8146:                        }
1.1.1.17  root     8147: 
                   8148: _ACEOF
                   8149: if ac_fn_cxx_try_run "$LINENO"
                   8150: then :
                   8151: 
1.1.1.18  root     8152:                                                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8153: printf "%s\n" "no" >&6; }
1.1.1.17  root     8154: 
                   8155: else case e in #(
                   8156:   e)
1.1.1.18  root     8157:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8158: printf "%s\n" "yes" >&6; }
1.1.1.17  root     8159:                        wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'`
                   8160:                 ;;
                   8161: esac
                   8162: fi
                   8163: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8164:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   8165: esac
                   8166: fi
                   8167: 
1.1.1.18  root     8168:                CPPFLAGS="${old_CPPFLAGS}"
                   8169:                LIBS="${old_LIBS}"
1.1.1.17  root     8170: 
1.1.1.10  root     8171:                WITH_GUI=yes
1.1       root     8172: 
1.1.1.17  root     8173:                CPPFLAGS_WXWIDGETS=$wxcppflags
1.1       root     8174: 
1.1.1.17  root     8175:                LIBS_WXWIDGETS=$wxlibs
1.1       root     8176: 
1.1.1.10  root     8177:        fi
                   8178: 
                   8179:        # gettext
                   8180:        if test -n "$ac_tool_prefix"; then
1.1.1.5   root     8181:   # Extract the first word of "${ac_tool_prefix}msgfmt", so it can be a program name with args.
                   8182: set dummy ${ac_tool_prefix}msgfmt; ac_word=$2
1.1.1.10  root     8183: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8184: printf %s "checking for $ac_word... " >&6; }
                   8185: if test ${ac_cv_prog_MSGFMT+y}
                   8186: then :
                   8187:   printf %s "(cached) " >&6
1.1.1.15  root     8188: else case e in #(
                   8189:   e) if test -n "$MSGFMT"; then
1.1.1.5   root     8190:   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
                   8191: else
                   8192: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8193: for as_dir in $PATH
                   8194: do
                   8195:   IFS=$as_save_IFS
1.1.1.10  root     8196:   case $as_dir in #(((
                   8197:     '') as_dir=./ ;;
                   8198:     */) ;;
                   8199:     *) as_dir=$as_dir/ ;;
                   8200:   esac
1.1.1.5   root     8201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     8202:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     8203:     ac_cv_prog_MSGFMT="${ac_tool_prefix}msgfmt"
1.1.1.10  root     8204:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     8205:     break 2
                   8206:   fi
                   8207: done
                   8208:   done
                   8209: IFS=$as_save_IFS
                   8210: 
1.1.1.15  root     8211: fi ;;
                   8212: esac
1.1.1.5   root     8213: fi
                   8214: MSGFMT=$ac_cv_prog_MSGFMT
                   8215: if test -n "$MSGFMT"; then
1.1.1.10  root     8216:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
                   8217: printf "%s\n" "$MSGFMT" >&6; }
1.1.1.5   root     8218: else
1.1.1.10  root     8219:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8220: printf "%s\n" "no" >&6; }
1.1.1.5   root     8221: fi
                   8222: 
                   8223: 
                   8224: fi
                   8225: if test -z "$ac_cv_prog_MSGFMT"; then
                   8226:   ac_ct_MSGFMT=$MSGFMT
                   8227:   # Extract the first word of "msgfmt", so it can be a program name with args.
                   8228: set dummy msgfmt; ac_word=$2
1.1.1.10  root     8229: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8230: printf %s "checking for $ac_word... " >&6; }
                   8231: if test ${ac_cv_prog_ac_ct_MSGFMT+y}
                   8232: then :
                   8233:   printf %s "(cached) " >&6
1.1.1.15  root     8234: else case e in #(
                   8235:   e) if test -n "$ac_ct_MSGFMT"; then
1.1.1.5   root     8236:   ac_cv_prog_ac_ct_MSGFMT="$ac_ct_MSGFMT" # Let the user override the test.
                   8237: else
                   8238: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8239: for as_dir in $PATH
                   8240: do
                   8241:   IFS=$as_save_IFS
1.1.1.10  root     8242:   case $as_dir in #(((
                   8243:     '') as_dir=./ ;;
                   8244:     */) ;;
                   8245:     *) as_dir=$as_dir/ ;;
                   8246:   esac
1.1.1.5   root     8247:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     8248:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     8249:     ac_cv_prog_ac_ct_MSGFMT="msgfmt"
1.1.1.10  root     8250:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     8251:     break 2
                   8252:   fi
                   8253: done
                   8254:   done
                   8255: IFS=$as_save_IFS
                   8256: 
1.1.1.15  root     8257: fi ;;
                   8258: esac
1.1.1.5   root     8259: fi
                   8260: ac_ct_MSGFMT=$ac_cv_prog_ac_ct_MSGFMT
                   8261: if test -n "$ac_ct_MSGFMT"; then
1.1.1.10  root     8262:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MSGFMT" >&5
                   8263: printf "%s\n" "$ac_ct_MSGFMT" >&6; }
1.1.1.5   root     8264: else
1.1.1.10  root     8265:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8266: printf "%s\n" "no" >&6; }
1.1.1.5   root     8267: fi
                   8268: 
                   8269:   if test "x$ac_ct_MSGFMT" = x; then
                   8270:     MSGFMT=":"
                   8271:   else
                   8272:     case $cross_compiling:$ac_tool_warned in
                   8273: yes:)
1.1.1.10  root     8274: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8275: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.1.5   root     8276: ac_tool_warned=yes ;;
                   8277: esac
                   8278:     MSGFMT=$ac_ct_MSGFMT
                   8279:   fi
                   8280: else
                   8281:   MSGFMT="$ac_cv_prog_MSGFMT"
                   8282: fi
                   8283: 
1.1.1.10  root     8284:        if test $MSGFMT = :; then
                   8285:                as_fn_error $? "*** msgfmt not found.
1.1.1.7   root     8286: *** If you use pkgsrc, install devel/gettext-tools.
                   8287: *** If you use Ubuntu, sudo apt install gettext" "$LINENO" 5
1.1.1.10  root     8288:        fi
                   8289: 
1.1.1.15  root     8290: else case e in #(
                   8291:   e)
1.1.1.10  root     8292:        WITH_GUI=no
                   8293: 
1.1.1.15  root     8294:  ;;
                   8295: esac
1.1.1.5   root     8296: fi
                   8297: 
1.1.1.14  root     8298: # iconv は util/ でのみ必要。
                   8299: 
1.1.1.15  root     8300:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv" >&5
                   8301: printf %s "checking for libiconv... " >&6; }
1.1.1.17  root     8302:        old_CPPFLAGS=${CPPFLAGS}
                   8303:        old_LIBS=${LIBS}
1.1.1.14  root     8304:        for path in ${PATHS}; do
                   8305:                case ${path} in
                   8306:                 none)
1.1.1.17  root     8307:                        LIBS="-liconv"
1.1.1.14  root     8308:                        ;;
                   8309:                 *)
1.1.1.17  root     8310:                        CPPFLAGS="-I${path}/include"
                   8311:                        LIBS="-L${path}/lib -liconv"
1.1.1.14  root     8312:                        ;;
                   8313:                esac
                   8314:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8315: /* end confdefs.h.  */
                   8316: 
                   8317:        #include <iconv.h>
                   8318: 
                   8319: int
                   8320: main (void)
                   8321: {
                   8322: 
                   8323:        iconv_open("", "");
                   8324: 
                   8325:   ;
                   8326:   return 0;
                   8327: }
                   8328: _ACEOF
                   8329: if ac_fn_cxx_try_link "$LINENO"
                   8330: then :
                   8331: 
1.1.1.15  root     8332:                        has_libiconv=yes
1.1.1.17  root     8333: 
                   8334:                                                if test "$cross_compiling" = yes
                   8335: then :
                   8336:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   8337: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   8338: as_fn_error $? "cannot run test program while cross compiling
                   8339: See 'config.log' for more details" "$LINENO" 5; }
                   8340: else case e in #(
                   8341:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8342: /* end confdefs.h.  */
                   8343: 
                   8344: 
                   8345:        #include <iconv.h>
                   8346: 
                   8347:                                int main() {
                   8348: 
                   8349:        iconv_open("", "");
                   8350: ;
                   8351:                                        return 0;
                   8352:                                }
                   8353: 
                   8354: _ACEOF
                   8355: if ac_fn_cxx_try_run "$LINENO"
                   8356: then :
                   8357: 
                   8358: 
                   8359: else case e in #(
                   8360:   e)
                   8361:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -liconv"
                   8362:                         ;;
                   8363: esac
                   8364: fi
                   8365: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8366:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   8367: esac
                   8368: fi
                   8369: 
                   8370: 
1.1.1.14  root     8371:                        break
                   8372: 
1.1.1.15  root     8373: else case e in #(
                   8374:   e)
                   8375:                        has_libiconv=no
                   8376:                 ;;
                   8377: esac
1.1.1.14  root     8378: fi
                   8379: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   8380:     conftest$ac_exeext conftest.$ac_ext
                   8381:        done
1.1.1.15  root     8382:        if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8383:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8384: printf "%s\n" "yes" >&6; }
1.1.1.17  root     8385:                CPPFLAGS_libiconv=${CPPFLAGS}
                   8386:                LIBS_libiconv=${LIBS}
1.1.1.14  root     8387:        else
                   8388:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8389: printf "%s\n" "no" >&6; }
                   8390:        fi
1.1.1.17  root     8391:        CPPFLAGS=${old_CPPFLAGS}
                   8392:        LIBS=${old_LIBS}
                   8393: 
                   8394: CPPFLAGS_ICONV=${CPPFLAGS_libiconv}
                   8395: 
                   8396: LIBS_ICONV=${LIBS_libiconv}
1.1.1.14  root     8397: 
                   8398: 
1.1.1.15  root     8399: if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8400:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iconv needs const" >&5
                   8401: printf %s "checking whether iconv needs const... " >&6; }
                   8402:        old_CPPFLAGS="${CPPFLAGS}"
1.1.1.17  root     8403:        CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_libiconv} -Werror"
1.1.1.14  root     8404:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8405: /* end confdefs.h.  */
                   8406: 
                   8407:                        #include <iconv.h>
                   8408: 
                   8409: int
                   8410: main (void)
                   8411: {
                   8412: 
                   8413:                        const char **a;
                   8414:                        iconv(0, a, 0, 0, 0);
                   8415: 
                   8416:   ;
                   8417:   return 0;
                   8418: }
                   8419: _ACEOF
                   8420: if ac_fn_cxx_try_compile "$LINENO"
                   8421: then :
                   8422: 
                   8423:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8424: printf "%s\n" "yes" >&6; }
                   8425:                        printf "%s\n" "#define HAVE_ICONV_CONST 1" >>confdefs.h
                   8426: 
                   8427: 
1.1.1.15  root     8428: else case e in #(
                   8429:   e)
1.1.1.14  root     8430:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8431: printf "%s\n" "no" >&6; }
1.1.1.15  root     8432:                 ;;
                   8433: esac
1.1.1.14  root     8434: fi
                   8435: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8436:        CPPFLAGS="${old_CPPFLAGS}"
                   8437: fi
                   8438: 
1.1.1.17  root     8439: ac_config_files="$ac_config_files Makefile.cfg"
1.1       root     8440: 
1.1.1.2   root     8441: ac_config_headers="$ac_config_headers config-nono.h"
1.1       root     8442: 
                   8443: cat >confcache <<\_ACEOF
                   8444: # This file is a shell script that caches the results of configure
                   8445: # tests run on this system so they can be shared between configure
                   8446: # scripts and configure runs, see configure's option --config-cache.
                   8447: # It is not useful on other systems.  If it contains results you don't
                   8448: # want to keep, you may remove or edit it.
                   8449: #
                   8450: # config.status only pays attention to the cache file if you give it
                   8451: # the --recheck option to rerun configure.
                   8452: #
1.1.1.15  root     8453: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   8454: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.1       root     8455: # following values.
                   8456: 
                   8457: _ACEOF
                   8458: 
                   8459: # The following way of writing the cache mishandles newlines in values,
                   8460: # but we know of no workaround that is simple, portable, and efficient.
                   8461: # So, we kill variables containing newlines.
                   8462: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8463: # and sets the high bit in the cache file unless we assign to the vars.
                   8464: (
                   8465:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   8466:     eval ac_val=\$$ac_var
                   8467:     case $ac_val in #(
                   8468:     *${as_nl}*)
                   8469:       case $ac_var in #(
1.1.1.10  root     8470:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   8471: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     8472:       esac
                   8473:       case $ac_var in #(
                   8474:       _ | IFS | as_nl) ;; #(
                   8475:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   8476:       *) { eval $ac_var=; unset $ac_var;} ;;
                   8477:       esac ;;
                   8478:     esac
                   8479:   done
                   8480: 
                   8481:   (set) 2>&1 |
                   8482:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   8483:     *${as_nl}ac_space=\ *)
1.1.1.15  root     8484:       # 'set' does not quote correctly, so add quotes: double-quote
1.1       root     8485:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   8486:       sed -n \
                   8487:        "s/'/'\\\\''/g;
                   8488:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   8489:       ;; #(
                   8490:     *)
1.1.1.15  root     8491:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.1       root     8492:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   8493:       ;;
                   8494:     esac |
                   8495:     sort
                   8496: ) |
                   8497:   sed '
                   8498:      /^ac_cv_env_/b end
                   8499:      t clear
                   8500:      :clear
1.1.1.10  root     8501:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.1       root     8502:      t end
                   8503:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   8504:      :end' >>confcache
                   8505: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   8506:   if test -w "$cache_file"; then
                   8507:     if test "x$cache_file" != "x/dev/null"; then
1.1.1.10  root     8508:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   8509: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.1       root     8510:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   8511:        cat confcache >"$cache_file"
                   8512:       else
                   8513:         case $cache_file in #(
                   8514:         */* | ?:*)
                   8515:          mv -f confcache "$cache_file"$$ &&
                   8516:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   8517:         *)
                   8518:          mv -f confcache "$cache_file" ;;
                   8519:        esac
                   8520:       fi
                   8521:     fi
                   8522:   else
1.1.1.10  root     8523:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   8524: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     8525:   fi
                   8526: fi
                   8527: rm -f confcache
                   8528: 
                   8529: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   8530: # Let make expand exec_prefix.
                   8531: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   8532: 
                   8533: DEFS=-DHAVE_CONFIG_H
                   8534: 
                   8535: ac_libobjs=
                   8536: ac_ltlibobjs=
                   8537: U=
                   8538: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   8539:   # 1. Remove the extension, and $U if already installed.
                   8540:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.10  root     8541:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.1       root     8542:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   8543:   #    will be set to the directory where LIBOBJS objects are built.
                   8544:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   8545:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   8546: done
                   8547: LIBOBJS=$ac_libobjs
                   8548: 
                   8549: LTLIBOBJS=$ac_ltlibobjs
                   8550: 
                   8551: 
                   8552: 
                   8553: : "${CONFIG_STATUS=./config.status}"
                   8554: ac_write_fail=0
                   8555: ac_clean_files_save=$ac_clean_files
                   8556: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.10  root     8557: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   8558: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.1       root     8559: as_write_fail=0
                   8560: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   8561: #! $SHELL
                   8562: # Generated by $as_me.
                   8563: # Run this file to recreate the current configuration.
                   8564: # Compiler output produced by configure, useful for debugging
                   8565: # configure, is in config.log if it exists.
                   8566: 
                   8567: debug=false
                   8568: ac_cs_recheck=false
                   8569: ac_cs_silent=false
                   8570: 
                   8571: SHELL=\${CONFIG_SHELL-$SHELL}
                   8572: export SHELL
                   8573: _ASEOF
                   8574: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   8575: ## -------------------- ##
                   8576: ## M4sh Initialization. ##
                   8577: ## -------------------- ##
                   8578: 
                   8579: # Be more Bourne compatible
                   8580: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10  root     8581: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   8582: then :
1.1       root     8583:   emulate sh
                   8584:   NULLCMD=:
                   8585:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   8586:   # is contrary to our usage.  Disable this feature.
                   8587:   alias -g '${1+"$@"}'='"$@"'
                   8588:   setopt NO_GLOB_SUBST
1.1.1.15  root     8589: else case e in #(
                   8590:   e) case `(set -o) 2>/dev/null` in #(
1.1       root     8591:   *posix*) :
                   8592:     set -o posix ;; #(
                   8593:   *) :
                   8594:      ;;
1.1.1.15  root     8595: esac ;;
1.1       root     8596: esac
                   8597: fi
                   8598: 
                   8599: 
1.1.1.10  root     8600: 
                   8601: # Reset variables that may have inherited troublesome values from
                   8602: # the environment.
                   8603: 
                   8604: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   8605: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   8606: # side effect of setting IFS to empty, thus disabling word splitting.)
                   8607: # Quoting is to prevent editors from complaining about space-tab.
1.1       root     8608: as_nl='
                   8609: '
                   8610: export as_nl
1.1.1.10  root     8611: IFS=" ""       $as_nl"
                   8612: 
                   8613: PS1='$ '
                   8614: PS2='> '
                   8615: PS4='+ '
                   8616: 
                   8617: # Ensure predictable behavior from utilities with locale-dependent output.
                   8618: LC_ALL=C
                   8619: export LC_ALL
                   8620: LANGUAGE=C
                   8621: export LANGUAGE
                   8622: 
                   8623: # We cannot yet rely on "unset" to work, but we need these variables
                   8624: # to be unset--not just set to an empty or harmless value--now, to
                   8625: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   8626: # also avoids known problems related to "unset" and subshell syntax
                   8627: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   8628: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   8629: do eval test \${$as_var+y} \
                   8630:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   8631: done
                   8632: 
                   8633: # Ensure that fds 0, 1, and 2 are open.
                   8634: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   8635: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   8636: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root     8637: 
                   8638: # The user is always right.
1.1.1.10  root     8639: if ${PATH_SEPARATOR+false} :; then
1.1       root     8640:   PATH_SEPARATOR=:
                   8641:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   8642:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   8643:       PATH_SEPARATOR=';'
                   8644:   }
                   8645: fi
                   8646: 
                   8647: 
                   8648: # Find who we are.  Look in the path if we contain no directory separator.
                   8649: as_myself=
                   8650: case $0 in #((
                   8651:   *[\\/]* ) as_myself=$0 ;;
                   8652:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8653: for as_dir in $PATH
                   8654: do
                   8655:   IFS=$as_save_IFS
1.1.1.10  root     8656:   case $as_dir in #(((
                   8657:     '') as_dir=./ ;;
                   8658:     */) ;;
                   8659:     *) as_dir=$as_dir/ ;;
                   8660:   esac
                   8661:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root     8662:   done
                   8663: IFS=$as_save_IFS
                   8664: 
                   8665:      ;;
                   8666: esac
1.1.1.15  root     8667: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.1       root     8668: # in which case we are not to be found in the path.
                   8669: if test "x$as_myself" = x; then
                   8670:   as_myself=$0
                   8671: fi
                   8672: if test ! -f "$as_myself"; then
1.1.1.10  root     8673:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root     8674:   exit 1
                   8675: fi
                   8676: 
                   8677: 
                   8678: 
                   8679: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   8680: # ----------------------------------------
                   8681: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   8682: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   8683: # script with STATUS, using 1 if that was 0.
                   8684: as_fn_error ()
                   8685: {
                   8686:   as_status=$1; test $as_status -eq 0 && as_status=1
                   8687:   if test "$4"; then
                   8688:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     8689:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root     8690:   fi
1.1.1.10  root     8691:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root     8692:   as_fn_exit $as_status
                   8693: } # as_fn_error
                   8694: 
                   8695: 
                   8696: # as_fn_set_status STATUS
                   8697: # -----------------------
                   8698: # Set $? to STATUS, without forking.
                   8699: as_fn_set_status ()
                   8700: {
                   8701:   return $1
                   8702: } # as_fn_set_status
                   8703: 
                   8704: # as_fn_exit STATUS
                   8705: # -----------------
                   8706: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   8707: as_fn_exit ()
                   8708: {
                   8709:   set +e
                   8710:   as_fn_set_status $1
                   8711:   exit $1
                   8712: } # as_fn_exit
                   8713: 
                   8714: # as_fn_unset VAR
                   8715: # ---------------
                   8716: # Portably unset VAR.
                   8717: as_fn_unset ()
                   8718: {
                   8719:   { eval $1=; unset $1;}
                   8720: }
                   8721: as_unset=as_fn_unset
1.1.1.10  root     8722: 
1.1       root     8723: # as_fn_append VAR VALUE
                   8724: # ----------------------
                   8725: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   8726: # advantage of any shell optimizations that allow amortized linear growth over
                   8727: # repeated appends, instead of the typical quadratic growth present in naive
                   8728: # implementations.
1.1.1.10  root     8729: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   8730: then :
1.1       root     8731:   eval 'as_fn_append ()
                   8732:   {
                   8733:     eval $1+=\$2
                   8734:   }'
1.1.1.15  root     8735: else case e in #(
                   8736:   e) as_fn_append ()
1.1       root     8737:   {
                   8738:     eval $1=\$$1\$2
1.1.1.15  root     8739:   } ;;
                   8740: esac
1.1       root     8741: fi # as_fn_append
                   8742: 
                   8743: # as_fn_arith ARG...
                   8744: # ------------------
                   8745: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   8746: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   8747: # must be portable across $(()) and expr.
1.1.1.10  root     8748: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   8749: then :
1.1       root     8750:   eval 'as_fn_arith ()
                   8751:   {
                   8752:     as_val=$(( $* ))
                   8753:   }'
1.1.1.15  root     8754: else case e in #(
                   8755:   e) as_fn_arith ()
1.1       root     8756:   {
                   8757:     as_val=`expr "$@" || test $? -eq 1`
1.1.1.15  root     8758:   } ;;
                   8759: esac
1.1       root     8760: fi # as_fn_arith
                   8761: 
                   8762: 
                   8763: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   8764:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   8765:   as_expr=expr
                   8766: else
                   8767:   as_expr=false
                   8768: fi
                   8769: 
                   8770: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   8771:   as_basename=basename
                   8772: else
                   8773:   as_basename=false
                   8774: fi
                   8775: 
                   8776: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   8777:   as_dirname=dirname
                   8778: else
                   8779:   as_dirname=false
                   8780: fi
                   8781: 
                   8782: as_me=`$as_basename -- "$0" ||
                   8783: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   8784:         X"$0" : 'X\(//\)$' \| \
                   8785:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8786: printf "%s\n" X/"$0" |
1.1       root     8787:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   8788:            s//\1/
                   8789:            q
                   8790:          }
                   8791:          /^X\/\(\/\/\)$/{
                   8792:            s//\1/
                   8793:            q
                   8794:          }
                   8795:          /^X\/\(\/\).*/{
                   8796:            s//\1/
                   8797:            q
                   8798:          }
                   8799:          s/.*/./; q'`
                   8800: 
                   8801: # Avoid depending upon Character Ranges.
                   8802: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   8803: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   8804: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   8805: as_cr_digits='0123456789'
                   8806: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   8807: 
1.1.1.10  root     8808: 
                   8809: # Determine whether it's possible to make 'echo' print without a newline.
                   8810: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   8811: # for compatibility with existing Makefiles.
1.1       root     8812: ECHO_C= ECHO_N= ECHO_T=
                   8813: case `echo -n x` in #(((((
                   8814: -n*)
                   8815:   case `echo 'xy\c'` in
                   8816:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   8817:   xy)  ECHO_C='\c';;
                   8818:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   8819:        ECHO_T='        ';;
                   8820:   esac;;
                   8821: *)
                   8822:   ECHO_N='-n';;
                   8823: esac
                   8824: 
1.1.1.10  root     8825: # For backward compatibility with old third-party macros, we provide
                   8826: # the shell variables $as_echo and $as_echo_n.  New code should use
                   8827: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   8828: as_echo='printf %s\n'
                   8829: as_echo_n='printf %s'
                   8830: 
1.1       root     8831: rm -f conf$$ conf$$.exe conf$$.file
                   8832: if test -d conf$$.dir; then
                   8833:   rm -f conf$$.dir/conf$$.file
                   8834: else
                   8835:   rm -f conf$$.dir
                   8836:   mkdir conf$$.dir 2>/dev/null
                   8837: fi
                   8838: if (echo >conf$$.file) 2>/dev/null; then
                   8839:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8840:     as_ln_s='ln -s'
                   8841:     # ... but there are two gotchas:
1.1.1.15  root     8842:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   8843:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   8844:     # In both cases, we have to default to 'cp -pR'.
1.1       root     8845:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   8846:       as_ln_s='cp -pR'
                   8847:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   8848:     as_ln_s=ln
                   8849:   else
                   8850:     as_ln_s='cp -pR'
                   8851:   fi
                   8852: else
                   8853:   as_ln_s='cp -pR'
                   8854: fi
                   8855: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   8856: rmdir conf$$.dir 2>/dev/null
                   8857: 
                   8858: 
                   8859: # as_fn_mkdir_p
                   8860: # -------------
                   8861: # Create "$as_dir" as a directory, including parents if necessary.
                   8862: as_fn_mkdir_p ()
                   8863: {
                   8864: 
                   8865:   case $as_dir in #(
                   8866:   -*) as_dir=./$as_dir;;
                   8867:   esac
                   8868:   test -d "$as_dir" || eval $as_mkdir_p || {
                   8869:     as_dirs=
                   8870:     while :; do
                   8871:       case $as_dir in #(
1.1.1.10  root     8872:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root     8873:       *) as_qdir=$as_dir;;
                   8874:       esac
                   8875:       as_dirs="'$as_qdir' $as_dirs"
                   8876:       as_dir=`$as_dirname -- "$as_dir" ||
                   8877: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8878:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8879:         X"$as_dir" : 'X\(//\)$' \| \
                   8880:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8881: printf "%s\n" X"$as_dir" |
1.1       root     8882:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8883:            s//\1/
                   8884:            q
                   8885:          }
                   8886:          /^X\(\/\/\)[^/].*/{
                   8887:            s//\1/
                   8888:            q
                   8889:          }
                   8890:          /^X\(\/\/\)$/{
                   8891:            s//\1/
                   8892:            q
                   8893:          }
                   8894:          /^X\(\/\).*/{
                   8895:            s//\1/
                   8896:            q
                   8897:          }
                   8898:          s/.*/./; q'`
                   8899:       test -d "$as_dir" && break
                   8900:     done
                   8901:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   8902:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   8903: 
                   8904: 
                   8905: } # as_fn_mkdir_p
                   8906: if mkdir -p . 2>/dev/null; then
                   8907:   as_mkdir_p='mkdir -p "$as_dir"'
                   8908: else
                   8909:   test -d ./-p && rmdir ./-p
                   8910:   as_mkdir_p=false
                   8911: fi
                   8912: 
                   8913: 
                   8914: # as_fn_executable_p FILE
                   8915: # -----------------------
                   8916: # Test if FILE is an executable regular file.
                   8917: as_fn_executable_p ()
                   8918: {
                   8919:   test -f "$1" && test -x "$1"
                   8920: } # as_fn_executable_p
                   8921: as_test_x='test -x'
                   8922: as_executable_p=as_fn_executable_p
                   8923: 
                   8924: # Sed expression to map a string onto a valid CPP name.
1.1.1.15  root     8925: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   8926: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.1       root     8927: 
                   8928: # Sed expression to map a string onto a valid variable name.
1.1.1.15  root     8929: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   8930: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.1       root     8931: 
                   8932: 
                   8933: exec 6>&1
                   8934: ## ----------------------------------- ##
                   8935: ## Main body of $CONFIG_STATUS script. ##
                   8936: ## ----------------------------------- ##
                   8937: _ASEOF
                   8938: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   8939: 
                   8940: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8941: # Save the log message, to keep $0 and so on meaningful, and to
                   8942: # report actual input values of CONFIG_FILES etc. instead of their
                   8943: # values after options handling.
                   8944: ac_log="
1.1.1.3   root     8945: This file was extended by nono $as_me 0.0, which was
1.1.1.15  root     8946: generated by GNU Autoconf 2.72.  Invocation command line was
1.1       root     8947: 
                   8948:   CONFIG_FILES    = $CONFIG_FILES
                   8949:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   8950:   CONFIG_LINKS    = $CONFIG_LINKS
                   8951:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   8952:   $ $0 $@
                   8953: 
                   8954: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   8955: "
                   8956: 
                   8957: _ACEOF
                   8958: 
                   8959: case $ac_config_files in *"
                   8960: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   8961: esac
                   8962: 
                   8963: case $ac_config_headers in *"
                   8964: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   8965: esac
                   8966: 
                   8967: 
                   8968: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8969: # Files that config.status was made for.
                   8970: config_files="$ac_config_files"
                   8971: config_headers="$ac_config_headers"
                   8972: 
                   8973: _ACEOF
                   8974: 
                   8975: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8976: ac_cs_usage="\
1.1.1.15  root     8977: '$as_me' instantiates files and other configuration actions
1.1       root     8978: from templates according to the current configuration.  Unless the files
                   8979: and actions are specified as TAGs, all are instantiated by default.
                   8980: 
                   8981: Usage: $0 [OPTION]... [TAG]...
                   8982: 
                   8983:   -h, --help       print this help, then exit
                   8984:   -V, --version    print version number and configuration settings, then exit
                   8985:       --config     print configuration, then exit
                   8986:   -q, --quiet, --silent
                   8987:                    do not print progress messages
                   8988:   -d, --debug      don't remove temporary files
                   8989:       --recheck    update $as_me by reconfiguring in the same conditions
                   8990:       --file=FILE[:TEMPLATE]
                   8991:                    instantiate the configuration file FILE
                   8992:       --header=FILE[:TEMPLATE]
                   8993:                    instantiate the configuration header FILE
                   8994: 
                   8995: Configuration files:
                   8996: $config_files
                   8997: 
                   8998: Configuration headers:
                   8999: $config_headers
                   9000: 
                   9001: Report bugs to the package provider."
                   9002: 
                   9003: _ACEOF
1.1.1.10  root     9004: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   9005: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.1       root     9006: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.10  root     9007: ac_cs_config='$ac_cs_config_escaped'
1.1       root     9008: ac_cs_version="\\
1.1.1.3   root     9009: nono config.status 0.0
1.1.1.15  root     9010: configured by $0, generated by GNU Autoconf 2.72,
1.1       root     9011:   with options \\"\$ac_cs_config\\"
                   9012: 
1.1.1.15  root     9013: Copyright (C) 2023 Free Software Foundation, Inc.
1.1       root     9014: This config.status script is free software; the Free Software Foundation
                   9015: gives unlimited permission to copy, distribute and modify it."
                   9016: 
                   9017: ac_pwd='$ac_pwd'
                   9018: srcdir='$srcdir'
1.1.1.3   root     9019: INSTALL='$INSTALL'
1.1       root     9020: test -n "\$AWK" || AWK=awk
                   9021: _ACEOF
                   9022: 
                   9023: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9024: # The default lists apply if the user does not specify any file.
                   9025: ac_need_defaults=:
                   9026: while test $# != 0
                   9027: do
                   9028:   case $1 in
                   9029:   --*=?*)
                   9030:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9031:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   9032:     ac_shift=:
                   9033:     ;;
                   9034:   --*=)
                   9035:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9036:     ac_optarg=
                   9037:     ac_shift=:
                   9038:     ;;
                   9039:   *)
                   9040:     ac_option=$1
                   9041:     ac_optarg=$2
                   9042:     ac_shift=shift
                   9043:     ;;
                   9044:   esac
                   9045: 
                   9046:   case $ac_option in
                   9047:   # Handling of the options.
                   9048:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9049:     ac_cs_recheck=: ;;
                   9050:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.10  root     9051:     printf "%s\n" "$ac_cs_version"; exit ;;
1.1       root     9052:   --config | --confi | --conf | --con | --co | --c )
1.1.1.10  root     9053:     printf "%s\n" "$ac_cs_config"; exit ;;
1.1       root     9054:   --debug | --debu | --deb | --de | --d | -d )
                   9055:     debug=: ;;
                   9056:   --file | --fil | --fi | --f )
                   9057:     $ac_shift
                   9058:     case $ac_optarg in
1.1.1.10  root     9059:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     9060:     '') as_fn_error $? "missing file argument" ;;
                   9061:     esac
                   9062:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   9063:     ac_need_defaults=false;;
                   9064:   --header | --heade | --head | --hea )
                   9065:     $ac_shift
                   9066:     case $ac_optarg in
1.1.1.10  root     9067:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     9068:     esac
                   9069:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   9070:     ac_need_defaults=false;;
                   9071:   --he | --h)
                   9072:     # Conflict between --help and --header
1.1.1.15  root     9073:     as_fn_error $? "ambiguous option: '$1'
                   9074: Try '$0 --help' for more information.";;
1.1       root     9075:   --help | --hel | -h )
1.1.1.10  root     9076:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.1       root     9077:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9078:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9079:     ac_cs_silent=: ;;
                   9080: 
                   9081:   # This is an error.
1.1.1.15  root     9082:   -*) as_fn_error $? "unrecognized option: '$1'
                   9083: Try '$0 --help' for more information." ;;
1.1       root     9084: 
                   9085:   *) as_fn_append ac_config_targets " $1"
                   9086:      ac_need_defaults=false ;;
                   9087: 
                   9088:   esac
                   9089:   shift
                   9090: done
                   9091: 
                   9092: ac_configure_extra_args=
                   9093: 
                   9094: if $ac_cs_silent; then
                   9095:   exec 6>/dev/null
                   9096:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9097: fi
                   9098: 
                   9099: _ACEOF
                   9100: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9101: if \$ac_cs_recheck; then
                   9102:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9103:   shift
1.1.1.10  root     9104:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.1       root     9105:   CONFIG_SHELL='$SHELL'
                   9106:   export CONFIG_SHELL
                   9107:   exec "\$@"
                   9108: fi
                   9109: 
                   9110: _ACEOF
                   9111: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9112: exec 5>>config.log
                   9113: {
                   9114:   echo
                   9115:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   9116: ## Running $as_me. ##
                   9117: _ASBOX
1.1.1.10  root     9118:   printf "%s\n" "$ac_log"
1.1       root     9119: } >&5
                   9120: 
                   9121: _ACEOF
                   9122: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9123: _ACEOF
                   9124: 
                   9125: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9126: 
                   9127: # Handling of arguments.
                   9128: for ac_config_target in $ac_config_targets
                   9129: do
                   9130:   case $ac_config_target in
                   9131:     "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;;
1.1.1.2   root     9132:     "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;
1.1       root     9133: 
1.1.1.15  root     9134:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       root     9135:   esac
                   9136: done
                   9137: 
                   9138: 
                   9139: # If the user did not use the arguments to specify the items to instantiate,
                   9140: # then the envvar interface is used.  Set only those that are not.
                   9141: # We use the long form for the default assignment because of an extremely
                   9142: # bizarre bug on SunOS 4.1.3.
                   9143: if $ac_need_defaults; then
1.1.1.10  root     9144:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   9145:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1.1       root     9146: fi
                   9147: 
                   9148: # Have a temporary directory for convenience.  Make it in the build tree
                   9149: # simply because there is no reason against having it here, and in addition,
                   9150: # creating and moving files from /tmp can sometimes cause problems.
                   9151: # Hook for its removal unless debugging.
                   9152: # Note that there is a small window in which the directory will not be cleaned:
1.1.1.15  root     9153: # after its creation but before its name has been assigned to '$tmp'.
1.1       root     9154: $debug ||
                   9155: {
                   9156:   tmp= ac_tmp=
                   9157:   trap 'exit_status=$?
                   9158:   : "${ac_tmp:=$tmp}"
                   9159:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   9160: ' 0
                   9161:   trap 'as_fn_exit 1' 1 2 13 15
                   9162: }
                   9163: # Create a (secure) tmp directory for tmp files.
                   9164: 
                   9165: {
                   9166:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   9167:   test -d "$tmp"
                   9168: }  ||
                   9169: {
                   9170:   tmp=./conf$$-$RANDOM
                   9171:   (umask 077 && mkdir "$tmp")
                   9172: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   9173: ac_tmp=$tmp
                   9174: 
                   9175: # Set up the scripts for CONFIG_FILES section.
                   9176: # No need to generate them if there are no CONFIG_FILES.
1.1.1.15  root     9177: # This happens for instance with './config.status config.h'.
1.1       root     9178: if test -n "$CONFIG_FILES"; then
                   9179: 
                   9180: 
                   9181: ac_cr=`echo X | tr X '\015'`
                   9182: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   9183: # But we know of no other shell where ac_cr would be empty at this
                   9184: # point, so we can use a bashism as a fallback.
                   9185: if test "x$ac_cr" = x; then
                   9186:   eval ac_cr=\$\'\\r\'
                   9187: fi
                   9188: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   9189: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   9190:   ac_cs_awk_cr='\\r'
                   9191: else
                   9192:   ac_cs_awk_cr=$ac_cr
                   9193: fi
                   9194: 
                   9195: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   9196: _ACEOF
                   9197: 
                   9198: 
                   9199: {
                   9200:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   9201:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   9202:   echo "_ACEOF"
                   9203: } >conf$$subs.sh ||
                   9204:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9205: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   9206: ac_delim='%!_!# '
                   9207: for ac_last_try in false false false false false :; do
                   9208:   . ./conf$$subs.sh ||
                   9209:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9210: 
                   9211:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   9212:   if test $ac_delim_n = $ac_delim_num; then
                   9213:     break
                   9214:   elif $ac_last_try; then
                   9215:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9216:   else
                   9217:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9218:   fi
                   9219: done
                   9220: rm -f conf$$subs.sh
                   9221: 
                   9222: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9223: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   9224: _ACEOF
                   9225: sed -n '
                   9226: h
                   9227: s/^/S["/; s/!.*/"]=/
                   9228: p
                   9229: g
                   9230: s/^[^!]*!//
                   9231: :repl
                   9232: t repl
                   9233: s/'"$ac_delim"'$//
                   9234: t delim
                   9235: :nl
                   9236: h
                   9237: s/\(.\{148\}\)..*/\1/
                   9238: t more1
                   9239: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   9240: p
                   9241: n
                   9242: b repl
                   9243: :more1
                   9244: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9245: p
                   9246: g
                   9247: s/.\{148\}//
                   9248: t nl
                   9249: :delim
                   9250: h
                   9251: s/\(.\{148\}\)..*/\1/
                   9252: t more2
                   9253: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   9254: p
                   9255: b
                   9256: :more2
                   9257: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9258: p
                   9259: g
                   9260: s/.\{148\}//
                   9261: t delim
                   9262: ' <conf$$subs.awk | sed '
                   9263: /^[^""]/{
                   9264:   N
                   9265:   s/\n//
                   9266: }
                   9267: ' >>$CONFIG_STATUS || ac_write_fail=1
                   9268: rm -f conf$$subs.awk
                   9269: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9270: _ACAWK
                   9271: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   9272:   for (key in S) S_is_set[key] = 1
                   9273:   FS = ""
                   9274: 
                   9275: }
                   9276: {
                   9277:   line = $ 0
                   9278:   nfields = split(line, field, "@")
                   9279:   substed = 0
                   9280:   len = length(field[1])
                   9281:   for (i = 2; i < nfields; i++) {
                   9282:     key = field[i]
                   9283:     keylen = length(key)
                   9284:     if (S_is_set[key]) {
                   9285:       value = S[key]
                   9286:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   9287:       len += length(value) + length(field[++i])
                   9288:       substed = 1
                   9289:     } else
                   9290:       len += 1 + keylen
                   9291:   }
                   9292: 
                   9293:   print line
                   9294: }
                   9295: 
                   9296: _ACAWK
                   9297: _ACEOF
                   9298: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9299: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   9300:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   9301: else
                   9302:   cat
                   9303: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   9304:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   9305: _ACEOF
                   9306: 
                   9307: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   9308: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   9309: # trailing colons and then remove the whole line if VPATH becomes empty
                   9310: # (actually we leave an empty line to preserve line numbers).
                   9311: if test "x$srcdir" = x.; then
                   9312:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   9313: h
                   9314: s///
                   9315: s/^/:/
                   9316: s/[     ]*$/:/
                   9317: s/:\$(srcdir):/:/g
                   9318: s/:\${srcdir}:/:/g
                   9319: s/:@srcdir@:/:/g
                   9320: s/^:*//
                   9321: s/:*$//
                   9322: x
                   9323: s/\(=[  ]*\).*/\1/
                   9324: G
                   9325: s/\n//
                   9326: s/^[^=]*=[      ]*$//
                   9327: }'
                   9328: fi
                   9329: 
                   9330: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9331: fi # test -n "$CONFIG_FILES"
                   9332: 
                   9333: # Set up the scripts for CONFIG_HEADERS section.
                   9334: # No need to generate them if there are no CONFIG_HEADERS.
1.1.1.15  root     9335: # This happens for instance with './config.status Makefile'.
1.1       root     9336: if test -n "$CONFIG_HEADERS"; then
                   9337: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   9338: BEGIN {
                   9339: _ACEOF
                   9340: 
1.1.1.15  root     9341: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.1       root     9342: # here-document in config.status, that substitutes the proper values into
                   9343: # config.h.in to produce config.h.
                   9344: 
                   9345: # Create a delimiter string that does not exist in confdefs.h, to ease
                   9346: # handling of long lines.
                   9347: ac_delim='%!_!# '
                   9348: for ac_last_try in false false :; do
                   9349:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   9350:   if test -z "$ac_tt"; then
                   9351:     break
                   9352:   elif $ac_last_try; then
                   9353:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   9354:   else
                   9355:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9356:   fi
                   9357: done
                   9358: 
                   9359: # For the awk script, D is an array of macro values keyed by name,
                   9360: # likewise P contains macro parameters if any.  Preserve backslash
                   9361: # newline sequences.
                   9362: 
                   9363: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   9364: sed -n '
                   9365: s/.\{148\}/&'"$ac_delim"'/g
                   9366: t rset
                   9367: :rset
                   9368: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   9369: t def
                   9370: d
                   9371: :def
                   9372: s/\\$//
                   9373: t bsnl
                   9374: s/["\\]/\\&/g
                   9375: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9376: D["\1"]=" \3"/p
                   9377: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   9378: d
                   9379: :bsnl
                   9380: s/["\\]/\\&/g
                   9381: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9382: D["\1"]=" \3\\\\\\n"\\/p
                   9383: t cont
                   9384: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   9385: t cont
                   9386: d
                   9387: :cont
                   9388: n
                   9389: s/.\{148\}/&'"$ac_delim"'/g
                   9390: t clear
                   9391: :clear
                   9392: s/\\$//
                   9393: t bsnlc
                   9394: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   9395: d
                   9396: :bsnlc
                   9397: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   9398: b cont
                   9399: ' <confdefs.h | sed '
                   9400: s/'"$ac_delim"'/"\\\
                   9401: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   9402: 
                   9403: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9404:   for (key in D) D_is_set[key] = 1
                   9405:   FS = ""
                   9406: }
                   9407: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   9408:   line = \$ 0
                   9409:   split(line, arg, " ")
                   9410:   if (arg[1] == "#") {
                   9411:     defundef = arg[2]
                   9412:     mac1 = arg[3]
                   9413:   } else {
                   9414:     defundef = substr(arg[1], 2)
                   9415:     mac1 = arg[2]
                   9416:   }
                   9417:   split(mac1, mac2, "(") #)
                   9418:   macro = mac2[1]
                   9419:   prefix = substr(line, 1, index(line, defundef) - 1)
                   9420:   if (D_is_set[macro]) {
                   9421:     # Preserve the white space surrounding the "#".
                   9422:     print prefix "define", macro P[macro] D[macro]
                   9423:     next
                   9424:   } else {
                   9425:     # Replace #undef with comments.  This is necessary, for example,
                   9426:     # in the case of _POSIX_SOURCE, which is predefined and required
                   9427:     # on some systems where configure will not decide to define it.
                   9428:     if (defundef == "undef") {
                   9429:       print "/*", prefix defundef, macro, "*/"
                   9430:       next
                   9431:     }
                   9432:   }
                   9433: }
                   9434: { print }
                   9435: _ACAWK
                   9436: _ACEOF
                   9437: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9438:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   9439: fi # test -n "$CONFIG_HEADERS"
                   9440: 
                   9441: 
                   9442: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   9443: shift
                   9444: for ac_tag
                   9445: do
                   9446:   case $ac_tag in
                   9447:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   9448:   esac
                   9449:   case $ac_mode$ac_tag in
                   9450:   :[FHL]*:*);;
1.1.1.15  root     9451:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.1       root     9452:   :[FH]-) ac_tag=-:-;;
                   9453:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   9454:   esac
                   9455:   ac_save_IFS=$IFS
                   9456:   IFS=:
                   9457:   set x $ac_tag
                   9458:   IFS=$ac_save_IFS
                   9459:   shift
                   9460:   ac_file=$1
                   9461:   shift
                   9462: 
                   9463:   case $ac_mode in
                   9464:   :L) ac_source=$1;;
                   9465:   :[FH])
                   9466:     ac_file_inputs=
                   9467:     for ac_f
                   9468:     do
                   9469:       case $ac_f in
                   9470:       -) ac_f="$ac_tmp/stdin";;
                   9471:       *) # Look for the file first in the build tree, then in the source tree
                   9472:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.1.1.15  root     9473:         # because $ac_f cannot contain ':'.
1.1       root     9474:         test -f "$ac_f" ||
                   9475:           case $ac_f in
                   9476:           [\\/$]*) false;;
                   9477:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   9478:           esac ||
1.1.1.15  root     9479:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.1       root     9480:       esac
1.1.1.10  root     9481:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1       root     9482:       as_fn_append ac_file_inputs " '$ac_f'"
                   9483:     done
                   9484: 
1.1.1.15  root     9485:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.1       root     9486:     # use $as_me), people would be surprised to read:
                   9487:     #    /* config.h.  Generated by config.status.  */
                   9488:     configure_input='Generated from '`
1.1.1.10  root     9489:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.1       root     9490:        `' by configure.'
                   9491:     if test x"$ac_file" != x-; then
                   9492:       configure_input="$ac_file.  $configure_input"
1.1.1.10  root     9493:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   9494: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.1       root     9495:     fi
                   9496:     # Neutralize special characters interpreted by sed in replacement strings.
                   9497:     case $configure_input in #(
                   9498:     *\&* | *\|* | *\\* )
1.1.1.10  root     9499:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.1       root     9500:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   9501:     *) ac_sed_conf_input=$configure_input;;
                   9502:     esac
                   9503: 
                   9504:     case $ac_tag in
                   9505:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   9506:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   9507:     esac
                   9508:     ;;
                   9509:   esac
                   9510: 
                   9511:   ac_dir=`$as_dirname -- "$ac_file" ||
                   9512: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9513:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   9514:         X"$ac_file" : 'X\(//\)$' \| \
                   9515:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     9516: printf "%s\n" X"$ac_file" |
1.1       root     9517:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   9518:            s//\1/
                   9519:            q
                   9520:          }
                   9521:          /^X\(\/\/\)[^/].*/{
                   9522:            s//\1/
                   9523:            q
                   9524:          }
                   9525:          /^X\(\/\/\)$/{
                   9526:            s//\1/
                   9527:            q
                   9528:          }
                   9529:          /^X\(\/\).*/{
                   9530:            s//\1/
                   9531:            q
                   9532:          }
                   9533:          s/.*/./; q'`
                   9534:   as_dir="$ac_dir"; as_fn_mkdir_p
                   9535:   ac_builddir=.
                   9536: 
                   9537: case "$ac_dir" in
                   9538: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9539: *)
1.1.1.10  root     9540:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     9541:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     9542:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     9543:   case $ac_top_builddir_sub in
                   9544:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9545:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   9546:   esac ;;
                   9547: esac
                   9548: ac_abs_top_builddir=$ac_pwd
                   9549: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   9550: # for backward compatibility:
                   9551: ac_top_builddir=$ac_top_build_prefix
                   9552: 
                   9553: case $srcdir in
                   9554:   .)  # We are building in place.
                   9555:     ac_srcdir=.
                   9556:     ac_top_srcdir=$ac_top_builddir_sub
                   9557:     ac_abs_top_srcdir=$ac_pwd ;;
                   9558:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   9559:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9560:     ac_top_srcdir=$srcdir
                   9561:     ac_abs_top_srcdir=$srcdir ;;
                   9562:   *) # Relative name.
                   9563:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   9564:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   9565:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   9566: esac
                   9567: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   9568: 
                   9569: 
                   9570:   case $ac_mode in
                   9571:   :F)
                   9572:   #
                   9573:   # CONFIG_FILE
                   9574:   #
                   9575: 
1.1.1.3   root     9576:   case $INSTALL in
                   9577:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   9578:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   9579:   esac
1.1       root     9580: _ACEOF
                   9581: 
                   9582: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9583: # If the template does not know about datarootdir, expand it.
                   9584: # FIXME: This hack should be removed a few years after 2.60.
                   9585: ac_datarootdir_hack=; ac_datarootdir_seen=
                   9586: ac_sed_dataroot='
                   9587: /datarootdir/ {
                   9588:   p
                   9589:   q
                   9590: }
                   9591: /@datadir@/p
                   9592: /@docdir@/p
                   9593: /@infodir@/p
                   9594: /@localedir@/p
                   9595: /@mandir@/p'
                   9596: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   9597: *datarootdir*) ac_datarootdir_seen=yes;;
                   9598: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.10  root     9599:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   9600: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       root     9601: _ACEOF
                   9602: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9603:   ac_datarootdir_hack='
                   9604:   s&@datadir@&$datadir&g
                   9605:   s&@docdir@&$docdir&g
                   9606:   s&@infodir@&$infodir&g
                   9607:   s&@localedir@&$localedir&g
                   9608:   s&@mandir@&$mandir&g
                   9609:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   9610: esac
                   9611: _ACEOF
                   9612: 
1.1.1.15  root     9613: # Neutralize VPATH when '$srcdir' = '.'.
1.1       root     9614: # Shell code in configure.ac might set extrasub.
                   9615: # FIXME: do we really want to maintain this feature?
                   9616: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9617: ac_sed_extra="$ac_vpsub
                   9618: $extrasub
                   9619: _ACEOF
                   9620: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9621: :t
                   9622: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   9623: s|@configure_input@|$ac_sed_conf_input|;t t
                   9624: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   9625: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   9626: s&@srcdir@&$ac_srcdir&;t t
                   9627: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   9628: s&@top_srcdir@&$ac_top_srcdir&;t t
                   9629: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   9630: s&@builddir@&$ac_builddir&;t t
                   9631: s&@abs_builddir@&$ac_abs_builddir&;t t
                   9632: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.3   root     9633: s&@INSTALL@&$ac_INSTALL&;t t
1.1       root     9634: $ac_datarootdir_hack
                   9635: "
                   9636: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   9637:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9638: 
                   9639: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   9640:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   9641:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   9642:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.1.15  root     9643:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9644: which seems to be undefined.  Please make sure it is defined" >&5
1.1.1.15  root     9645: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9646: which seems to be undefined.  Please make sure it is defined" >&2;}
                   9647: 
                   9648:   rm -f "$ac_tmp/stdin"
                   9649:   case $ac_file in
                   9650:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   9651:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   9652:   esac \
                   9653:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9654:  ;;
                   9655:   :H)
                   9656:   #
                   9657:   # CONFIG_HEADER
                   9658:   #
                   9659:   if test x"$ac_file" != x-; then
                   9660:     {
1.1.1.10  root     9661:       printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9662:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   9663:     } >"$ac_tmp/config.h" \
                   9664:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9665:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.1.10  root     9666:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   9667: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.1       root     9668:     else
                   9669:       rm -f "$ac_file"
                   9670:       mv "$ac_tmp/config.h" "$ac_file" \
                   9671:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9672:     fi
                   9673:   else
1.1.1.10  root     9674:     printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9675:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   9676:       || as_fn_error $? "could not create -" "$LINENO" 5
                   9677:   fi
                   9678:  ;;
                   9679: 
                   9680: 
                   9681:   esac
                   9682: 
                   9683: done # for ac_tag
                   9684: 
                   9685: 
                   9686: as_fn_exit 0
                   9687: _ACEOF
                   9688: ac_clean_files=$ac_clean_files_save
                   9689: 
                   9690: test $ac_write_fail = 0 ||
                   9691:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   9692: 
                   9693: 
                   9694: # configure is writing to config.log, and then calls config.status.
                   9695: # config.status does its own redirection, appending to config.log.
                   9696: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9697: # by configure, so config.status won't be able to write to it; its
                   9698: # output is simply discarded.  So we exec the FD to /dev/null,
                   9699: # effectively closing config.log, so it can be properly (re)opened and
                   9700: # appended to by config.status.  When coming back to configure, we
                   9701: # need to make the FD available again.
                   9702: if test "$no_create" != yes; then
                   9703:   ac_cs_success=:
                   9704:   ac_config_status_args=
                   9705:   test "$silent" = yes &&
                   9706:     ac_config_status_args="$ac_config_status_args --quiet"
                   9707:   exec 5>/dev/null
                   9708:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9709:   exec 5>>config.log
                   9710:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9711:   # would make configure fail if this is the last instruction.
                   9712:   $ac_cs_success || as_fn_exit 1
                   9713: fi
                   9714: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.10  root     9715:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   9716: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       root     9717: fi
                   9718: 
1.1.1.10  root     9719: 
1.1.1.19! root     9720: # サマリを表示
        !          9721: echo ""
        !          9722: echo "Configuration summary:"
        !          9723: echo -n "HostNet supports:                     "
        !          9724: if test x"$netdriver_afpacket" = xyes; then
        !          9725:        echo -n " afpacket"
        !          9726: fi
        !          9727: if test x"$netdriver_bpf" = xyes; then
        !          9728:        echo -n " bpf"
        !          9729: fi
        !          9730: if test x"$has_libslirp" = xyes; then
        !          9731:        echo -n " slirp"
        !          9732: fi
        !          9733: if test x"$netdriver_tap" = xyes; then
        !          9734:        echo -n " tap"
        !          9735: fi
        !          9736: echo ""
        !          9737: echo -n "HostSound supports:                   "
        !          9738: if test x"$sounddriver_alsa" = xyes; then
        !          9739:        echo -n " alsa"
        !          9740: fi
        !          9741: if test x"$sounddriver_netbsd" = xyes; then
        !          9742:        echo -n " netbsd"
        !          9743: fi
        !          9744: if test x"$sounddriver_sndio" = xyes; then
        !          9745:        echo -n " sndio"
        !          9746: fi
        !          9747: echo ""
        !          9748: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.