Annotation of nono/configure, revision 1.1.1.20

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.20! root     4897:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wimplicit-fallthrough" >&5
        !          4898: printf %s "checking whether c++ accepts -Wimplicit-fallthrough... " >&6; }
        !          4899:        old_CXXFLAGS="${CXXFLAGS}"
        !          4900:        CXXFLAGS="${CXXFLAGS} -Werror -Wimplicit-fallthrough"
        !          4901:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4902: /* end confdefs.h.  */
        !          4903: 
        !          4904: 
        !          4905: int
        !          4906: main (void)
        !          4907: {
        !          4908: 
        !          4909:   ;
        !          4910:   return 0;
        !          4911: }
        !          4912: 
        !          4913: _ACEOF
        !          4914: if ac_fn_cxx_try_compile "$LINENO"
        !          4915: then :
        !          4916: 
        !          4917:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4918: printf "%s\n" "yes" >&6; }
        !          4919:                eval `echo cxx_has-Wimplicit-fallthrough=yes | sed -e 's/-/_/g'`
        !          4920:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wimplicit-fallthrough"
        !          4921: 
        !          4922: else case e in #(
        !          4923:   e)
        !          4924:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4925: printf "%s\n" "no" >&6; }
        !          4926:         ;;
        !          4927: esac
        !          4928: fi
        !          4929: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4930:        CXXFLAGS="${old_CXXFLAGS}"
        !          4931: 
        !          4932: 
1.1.1.15  root     4933:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-destructor-override" >&5
                   4934: printf %s "checking whether c++ accepts -Winconsistent-missing-destructor-override... " >&6; }
1.1.1.10  root     4935:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4936:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-destructor-override"
1.1.1.3   root     4937:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4938: /* end confdefs.h.  */
1.1       root     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: {
1.1       root     4944: 
1.1.1.3   root     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-destructor-override=yes | sed -e 's/-/_/g'`
                   4956:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-destructor-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.15  root     4969:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-override" >&5
                   4970: printf %s "checking whether c++ accepts -Winconsistent-missing-override... " >&6; }
1.1.1.10  root     4971:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4972:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-override"
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.15  root     4991:                eval `echo cxx_has-Winconsistent-missing-override=yes | sed -e 's/-/_/g'`
                   4992:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-override"
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 -Wlogical-op" >&5
                   5006: printf %s "checking whether c++ accepts -Wlogical-op... " >&6; }
                   5007:        old_CXXFLAGS="${CXXFLAGS}"
                   5008:        CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op"
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-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5028:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wlogical-op"
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-prototypes" >&5
                   5042: printf %s "checking whether c++ accepts -Wmissing-prototypes... " >&6; }
                   5043:        old_CXXFLAGS="${CXXFLAGS}"
                   5044:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-prototypes"
1.1.1.3   root     5045:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5046: /* end confdefs.h.  */
                   5047: 
1.1.1.17  root     5048: 
1.1.1.3   root     5049: int
1.1.1.10  root     5050: main (void)
1.1.1.3   root     5051: {
                   5052: 
                   5053:   ;
                   5054:   return 0;
                   5055: }
1.1.1.17  root     5056: 
1.1.1.3   root     5057: _ACEOF
1.1.1.10  root     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-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5064:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-prototypes"
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.3   root     5072: fi
1.1.1.10  root     5073: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5074:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5075: 
                   5076: 
1.1.1.10  root     5077:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-variable-declarations" >&5
                   5078: printf %s "checking whether c++ accepts -Wmissing-variable-declarations... " >&6; }
                   5079:        old_CXXFLAGS="${CXXFLAGS}"
                   5080:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-variable-declarations"
                   5081:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5082: /* end confdefs.h.  */
1.1.1.3   root     5083: 
1.1.1.17  root     5084: 
1.1.1.10  root     5085: int
                   5086: main (void)
                   5087: {
1.1.1.3   root     5088: 
1.1.1.10  root     5089:   ;
                   5090:   return 0;
                   5091: }
1.1.1.17  root     5092: 
1.1.1.10  root     5093: _ACEOF
                   5094: if ac_fn_cxx_try_compile "$LINENO"
                   5095: then :
1.1.1.17  root     5096: 
                   5097:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5098: printf "%s\n" "yes" >&6; }
1.1.1.11  root     5099:                eval `echo cxx_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5100:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-variable-declarations"
1.1.1.17  root     5101: 
1.1.1.15  root     5102: else case e in #(
1.1.1.17  root     5103:   e)
                   5104:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5105: printf "%s\n" "no" >&6; }
                   5106:         ;;
1.1.1.15  root     5107: esac
1.1.1.10  root     5108: fi
                   5109: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5110:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5111: 
1.1.1.11  root     5112: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
                   5113: 
                   5114:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow-local" >&5
                   5115: printf %s "checking whether c++ accepts -Wshadow-local... " >&6; }
                   5116:        old_CXXFLAGS="${CXXFLAGS}"
                   5117:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow-local"
                   5118:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5119: /* end confdefs.h.  */
                   5120: 
1.1.1.17  root     5121: 
1.1.1.11  root     5122: int
                   5123: main (void)
                   5124: {
                   5125: 
                   5126:   ;
                   5127:   return 0;
                   5128: }
1.1.1.17  root     5129: 
1.1.1.11  root     5130: _ACEOF
                   5131: if ac_fn_cxx_try_compile "$LINENO"
                   5132: then :
1.1.1.17  root     5133: 
                   5134:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5135: printf "%s\n" "yes" >&6; }
                   5136:                eval `echo cxx_has-Wshadow-local=yes | sed -e 's/-/_/g'`
                   5137:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow-local"
1.1.1.17  root     5138: 
1.1.1.15  root     5139: else case e in #(
1.1.1.17  root     5140:   e)
                   5141:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5142: printf "%s\n" "no" >&6; }
                   5143:         ;;
1.1.1.15  root     5144: esac
1.1.1.11  root     5145: fi
                   5146: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5147:        CXXFLAGS="${old_CXXFLAGS}"
                   5148: 
                   5149: if test x"${cxx_has_Wshadow_local}" != xyes; then
                   5150: 
                   5151:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow" >&5
                   5152: printf %s "checking whether c++ accepts -Wshadow... " >&6; }
                   5153:        old_CXXFLAGS="${CXXFLAGS}"
                   5154:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow"
                   5155:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5156: /* end confdefs.h.  */
                   5157: 
1.1.1.17  root     5158: 
1.1.1.11  root     5159: int
                   5160: main (void)
                   5161: {
                   5162: 
                   5163:   ;
                   5164:   return 0;
                   5165: }
1.1.1.17  root     5166: 
1.1.1.11  root     5167: _ACEOF
                   5168: if ac_fn_cxx_try_compile "$LINENO"
                   5169: then :
1.1.1.17  root     5170: 
                   5171:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5172: printf "%s\n" "yes" >&6; }
                   5173:                eval `echo cxx_has-Wshadow=yes | sed -e 's/-/_/g'`
                   5174:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow"
1.1.1.17  root     5175: 
1.1.1.15  root     5176: else case e in #(
1.1.1.17  root     5177:   e)
                   5178:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5179: printf "%s\n" "no" >&6; }
                   5180:         ;;
1.1.1.15  root     5181: esac
1.1.1.11  root     5182: fi
                   5183: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5184:        CXXFLAGS="${old_CXXFLAGS}"
                   5185: 
                   5186: fi
1.1.1.3   root     5187: 
1.1.1.15  root     5188:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wstring-conversion" >&5
                   5189: printf %s "checking whether c++ accepts -Wstring-conversion... " >&6; }
1.1.1.12  root     5190:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5191:        CXXFLAGS="${CXXFLAGS} -Werror -Wstring-conversion"
1.1.1.12  root     5192:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5193: /* end confdefs.h.  */
                   5194: 
1.1.1.17  root     5195: 
1.1.1.12  root     5196: int
                   5197: main (void)
                   5198: {
                   5199: 
                   5200:   ;
                   5201:   return 0;
                   5202: }
1.1.1.17  root     5203: 
1.1.1.12  root     5204: _ACEOF
                   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.12  root     5209: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5210:                eval `echo cxx_has-Wstring-conversion=yes | sed -e 's/-/_/g'`
                   5211:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wstring-conversion"
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.12  root     5219: fi
                   5220: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   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-destructor-override" >&5
                   5225: printf %s "checking whether c++ accepts -Wsuggest-destructor-override... " >&6; }
1.1.1.3   root     5226:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5227:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-destructor-override"
1.1.1.3   root     5228:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5229: /* end confdefs.h.  */
                   5230: 
1.1.1.17  root     5231: 
1.1.1.3   root     5232: int
1.1.1.10  root     5233: main (void)
1.1.1.3   root     5234: {
                   5235: 
                   5236:   ;
                   5237:   return 0;
                   5238: }
1.1.1.17  root     5239: 
1.1.1.3   root     5240: _ACEOF
1.1.1.10  root     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.10  root     5245: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5246:                eval `echo cxx_has-Wsuggest-destructor-override=yes | sed -e 's/-/_/g'`
                   5247:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-destructor-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
1.1.1.3   root     5255: fi
1.1.1.10  root     5256: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5257:        CXXFLAGS="${old_CXXFLAGS}"
                   5258: 
                   5259: 
1.1.1.15  root     5260:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-override" >&5
                   5261: printf %s "checking whether c++ accepts -Wsuggest-override... " >&6; }
                   5262:        old_CXXFLAGS="${CXXFLAGS}"
                   5263:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-override"
                   5264:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5265: /* end confdefs.h.  */
1.1.1.10  root     5266: 
1.1.1.17  root     5267: 
1.1.1.15  root     5268: int
                   5269: main (void)
                   5270: {
1.1.1.14  root     5271: 
1.1.1.15  root     5272:   ;
                   5273:   return 0;
                   5274: }
1.1.1.17  root     5275: 
1.1.1.15  root     5276: _ACEOF
                   5277: if ac_fn_cxx_try_compile "$LINENO"
                   5278: then :
1.1.1.17  root     5279: 
                   5280:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5281: printf "%s\n" "yes" >&6; }
                   5282:                eval `echo cxx_has-Wsuggest-override=yes | sed -e 's/-/_/g'`
                   5283:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-override"
1.1.1.17  root     5284: 
1.1.1.15  root     5285: else case e in #(
1.1.1.17  root     5286:   e)
                   5287:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5288: printf "%s\n" "no" >&6; }
                   5289:         ;;
1.1.1.15  root     5290: esac
                   5291: fi
                   5292: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5293:        CXXFLAGS="${old_CXXFLAGS}"
                   5294: 
1.1.1.19  root     5295: # gcc14 が C++14 に対しても C++20 のエラーを出そうとする。は??
                   5296: 
                   5297:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wno-template-id-cdtor" >&5
                   5298: printf %s "checking whether c++ accepts -Wno-template-id-cdtor... " >&6; }
                   5299:        old_CXXFLAGS="${CXXFLAGS}"
                   5300:        CXXFLAGS="${CXXFLAGS} -Werror -Wno-template-id-cdtor"
                   5301:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5302: /* end confdefs.h.  */
                   5303: 
                   5304: 
                   5305: int
                   5306: main (void)
                   5307: {
                   5308: 
                   5309:   ;
                   5310:   return 0;
                   5311: }
                   5312: 
                   5313: _ACEOF
                   5314: if ac_fn_cxx_try_compile "$LINENO"
                   5315: then :
                   5316: 
                   5317:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5318: printf "%s\n" "yes" >&6; }
                   5319:                eval `echo cxx_has-Wno-template-id-cdtor=yes | sed -e 's/-/_/g'`
                   5320:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wno-template-id-cdtor"
                   5321: 
                   5322: else case e in #(
                   5323:   e)
                   5324:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5325: printf "%s\n" "no" >&6; }
                   5326:         ;;
                   5327: esac
                   5328: fi
                   5329: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5330:        CXXFLAGS="${old_CXXFLAGS}"
                   5331: 
1.1.1.15  root     5332: 
                   5333:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wtype-limits" >&5
                   5334: printf %s "checking whether c++ accepts -Wtype-limits... " >&6; }
                   5335:        old_CXXFLAGS="${CXXFLAGS}"
                   5336:        CXXFLAGS="${CXXFLAGS} -Werror -Wtype-limits"
                   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-Wtype-limits=yes | sed -e 's/-/_/g'`
                   5356:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wtype-limits"
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:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5
                   5370: printf %s "checking whether c++ accepts -Wvla-extension... " >&6; }
                   5371:        old_CXXFLAGS="${CXXFLAGS}"
                   5372:        CXXFLAGS="${CXXFLAGS} -Werror -Wvla-extension"
                   5373:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5374: /* end confdefs.h.  */
                   5375: 
1.1.1.17  root     5376: 
1.1.1.15  root     5377: int
                   5378: main (void)
                   5379: {
                   5380: 
                   5381:   ;
                   5382:   return 0;
                   5383: }
1.1.1.17  root     5384: 
1.1.1.15  root     5385: _ACEOF
                   5386: if ac_fn_cxx_try_compile "$LINENO"
                   5387: then :
1.1.1.17  root     5388: 
                   5389:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5390: printf "%s\n" "yes" >&6; }
                   5391:                eval `echo cxx_has-Wvla-extension=yes | sed -e 's/-/_/g'`
                   5392:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wvla-extension"
1.1.1.17  root     5393: 
1.1.1.15  root     5394: else case e in #(
1.1.1.17  root     5395:   e)
                   5396:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5397: printf "%s\n" "no" >&6; }
                   5398:         ;;
1.1.1.15  root     5399: esac
                   5400: fi
                   5401: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5402:        CXXFLAGS="${old_CXXFLAGS}"
                   5403: 
                   5404: 
                   5405: 
                   5406: # コンパイラが AVX2 をサポートしているか。
                   5407: # Check whether --enable-avx2 was given.
                   5408: if test ${enable_avx2+y}
                   5409: then :
                   5410:   enableval=$enable_avx2;
                   5411: else case e in #(
                   5412:   e) enable_avx2=yes ;;
                   5413: esac
                   5414: fi
                   5415: 
                   5416: 
                   5417: if test x"${enable_avx2}" != x"no"
                   5418: then :
                   5419: 
                   5420:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports AVX2" >&5
                   5421: printf %s "checking whether the compiler supports AVX2... " >&6; }
                   5422:        if test x"${host_cpu}" = x"x86_64"; then
1.1.1.14  root     5423:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5424:                        old_CXXFLAGS="${CXXFLAGS}"
                   5425:                        CXXFLAGS="${CXXFLAGS} -mavx2"
                   5426:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5427: /* end confdefs.h.  */
                   5428: 
                   5429:                                        #include <x86intrin.h>
                   5430: 
                   5431: int
                   5432: main (void)
                   5433: {
                   5434: 
                   5435:                                        #if !defined(__AVX2__)
                   5436:                                        #error __AVX2__ is not defined by the compiler.
                   5437:                                        #endif
                   5438:                                        __m256i v;
                   5439: 
                   5440:   ;
                   5441:   return 0;
                   5442: }
                   5443: _ACEOF
                   5444: if ac_fn_cxx_try_compile "$LINENO"
                   5445: then :
                   5446: 
                   5447:                                        have_avx2=yes
                   5448: 
                   5449: fi
                   5450: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5451:                        CXXFLAGS="${old_CXXFLAGS}"
                   5452:                fi
                   5453:        fi
                   5454:        if test x"${have_avx2}" = x"yes"; then
                   5455:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5456: printf "%s\n" "yes" >&6; }
                   5457:                printf "%s\n" "#define HAVE_AVX2 1" >>confdefs.h
                   5458: 
                   5459:                HOST_HAS_AVX2=yes
                   5460: 
                   5461:        else
                   5462:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5463: printf "%s\n" "no" >&6; }
                   5464:        fi
                   5465: 
                   5466: fi
                   5467: 
1.1.1.15  root     5468: # コンパイラが NEON をサポートしているか。
                   5469: # Check whether --enable-neon was given.
                   5470: if test ${enable_neon+y}
                   5471: then :
                   5472:   enableval=$enable_neon;
                   5473: else case e in #(
                   5474:   e) enable_neon=yes ;;
                   5475: esac
                   5476: fi
                   5477: 
                   5478: 
                   5479: if test x"${enable_neon}" != x"no"
                   5480: then :
                   5481: 
                   5482:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports NEON" >&5
                   5483: printf %s "checking whether the compiler supports NEON... " >&6; }
                   5484:        if test x"${host_cpu}" = x"aarch64"; then
                   5485:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5486:                        old_CXXFLAGS="${CXXFLAGS}"
                   5487:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5488: /* end confdefs.h.  */
                   5489: 
                   5490:                                #include <arm_neon.h>
                   5491: 
                   5492: int
                   5493: main (void)
                   5494: {
                   5495: 
                   5496:                                uint8x16_t v;
                   5497: 
                   5498:   ;
                   5499:   return 0;
                   5500: }
                   5501: _ACEOF
                   5502: if ac_fn_cxx_try_compile "$LINENO"
                   5503: then :
                   5504: 
                   5505:                                have_neon=yes
                   5506: 
                   5507: fi
                   5508: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5509:                        CXXFLAGS="${old_CXXFLAGS}"
                   5510:                fi
                   5511:        fi
                   5512:        if test x"${have_neon}" = x"yes"; then
                   5513:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5514: printf "%s\n" "yes" >&6; }
                   5515:                printf "%s\n" "#define HAVE_NEON 1" >>confdefs.h
                   5516: 
                   5517:                HOST_HAS_NEON=yes
                   5518: 
                   5519:        else
                   5520:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5521: printf "%s\n" "no" >&6; }
                   5522:        fi
                   5523: 
                   5524: fi
                   5525: 
1.1.1.10  root     5526: # Checks for libraries.
                   5527: 
                   5528: # Checks for header files.
                   5529: ac_header= ac_cache=
                   5530: for ac_item in $ac_header_cxx_list
                   5531: do
                   5532:   if test $ac_cache; then
                   5533:     ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
                   5534:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
                   5535:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
                   5536:     fi
                   5537:     ac_header= ac_cache=
                   5538:   elif test $ac_header; then
                   5539:     ac_cache=$ac_item
                   5540:   else
                   5541:     ac_header=$ac_item
                   5542:   fi
                   5543: done
                   5544: 
                   5545: 
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
                   5553: then :
                   5554: 
                   5555: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
                   5556: 
                   5557: fi
1.1.1.19  root     5558: ac_fn_cxx_check_header_compile "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
                   5559: if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
                   5560: then :
                   5561:   printf "%s\n" "#define HAVE_ALSA_ASOUNDLIB_H 1" >>confdefs.h
                   5562: 
                   5563: fi
                   5564: 
1.1.1.10  root     5565: ac_fn_cxx_check_header_compile "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default"
                   5566: if test "x$ac_cv_header_bsd_bsd_h" = xyes
                   5567: then :
                   5568:   printf "%s\n" "#define HAVE_BSD_BSD_H 1" >>confdefs.h
                   5569: 
                   5570: fi
                   5571: 
                   5572: ac_fn_cxx_check_header_compile "$LINENO" "bsd/stdio.h" "ac_cv_header_bsd_stdio_h" "$ac_includes_default"
                   5573: if test "x$ac_cv_header_bsd_stdio_h" = xyes
                   5574: then :
                   5575:   printf "%s\n" "#define HAVE_BSD_STDIO_H 1" >>confdefs.h
                   5576: 
                   5577: fi
                   5578: 
                   5579: ac_fn_cxx_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
                   5580: if test "x$ac_cv_header_byteswap_h" = xyes
                   5581: then :
                   5582:   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
                   5583: 
                   5584: fi
                   5585: 
                   5586: ac_fn_cxx_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
                   5587: if test "x$ac_cv_header_endian_h" = xyes
                   5588: then :
                   5589:   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
                   5590: 
                   5591: fi
                   5592: 
                   5593: ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default"
                   5594: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes
                   5595: then :
                   5596:   printf "%s\n" "#define HAVE_KQUEUE_SYS_EVENT_H 1" >>confdefs.h
                   5597: 
                   5598: fi
                   5599: 
                   5600: ac_fn_cxx_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
                   5601: if test "x$ac_cv_header_pthread_np_h" = xyes
                   5602: then :
                   5603:   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
                   5604: 
                   5605: fi
                   5606: 
1.1.1.15  root     5607: ac_fn_cxx_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
                   5608: if test "x$ac_cv_header_sched_h" = xyes
                   5609: then :
                   5610:   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
                   5611: 
                   5612: fi
                   5613: 
1.1.1.19  root     5614: ac_fn_cxx_check_header_compile "$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default"
                   5615: if test "x$ac_cv_header_sndio_h" = xyes
                   5616: then :
                   5617:   printf "%s\n" "#define HAVE_SNDIO_H 1" >>confdefs.h
                   5618: 
                   5619: fi
                   5620: 
                   5621: ac_fn_cxx_check_header_compile "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
                   5622: if test "x$ac_cv_header_sys_audioio_h" = xyes
                   5623: then :
                   5624:   printf "%s\n" "#define HAVE_SYS_AUDIOIO_H 1" >>confdefs.h
                   5625: 
                   5626: fi
                   5627: 
1.1.1.15  root     5628: ac_fn_cxx_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default"
                   5629: if test "x$ac_cv_header_sys_cpuset_h" = xyes
                   5630: then :
                   5631:   printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h
                   5632: 
                   5633: fi
                   5634: 
1.1.1.10  root     5635: ac_fn_cxx_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
                   5636: if test "x$ac_cv_header_sys_endian_h" = xyes
                   5637: then :
                   5638:   printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
                   5639: 
                   5640: fi
                   5641: 
                   5642: ac_fn_cxx_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
                   5643: if test "x$ac_cv_header_sys_event_h" = xyes
                   5644: then :
                   5645:   printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
                   5646: 
                   5647: fi
                   5648: 
                   5649: ac_fn_cxx_check_header_compile "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   5650: if test "x$ac_cv_header_net_bpf_h" = xyes
                   5651: then :
                   5652:   printf "%s\n" "#define HAVE_NET_BPF_H 1" >>confdefs.h
                   5653: 
                   5654: fi
                   5655: 
                   5656: ac_fn_cxx_check_header_compile "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default"
                   5657: if test "x$ac_cv_header_net_if_tap_h" = xyes
                   5658: then :
                   5659:   printf "%s\n" "#define HAVE_NET_IF_TAP_H 1" >>confdefs.h
                   5660: 
                   5661: fi
                   5662: 
                   5663: ac_fn_cxx_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default"
                   5664: if test "x$ac_cv_header_linux_if_tun_h" = xyes
                   5665: then :
                   5666:   printf "%s\n" "#define HAVE_LINUX_IF_TUN_H 1" >>confdefs.h
                   5667: 
                   5668: fi
                   5669: 
                   5670: ac_fn_cxx_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
                   5671: if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
                   5672: then :
                   5673:   printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
                   5674: 
                   5675: fi
                   5676: 
                   5677: ac_fn_cxx_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
                   5678: if test "x$ac_cv_header_machine_endian_h" = xyes
                   5679: then :
                   5680:   printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
                   5681: 
                   5682: fi
                   5683: 
                   5684: 
                   5685: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい
                   5686: case "${host_os}" in
                   5687:  linux*)
                   5688:        if test "$ac_cv_header_kqueue_sys_event_h" != "yes"; then
                   5689:                as_fn_error $? "*** kqueue is not found.
                   5690: *** If you use Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5
                   5691:        fi
                   5692:        ;;
                   5693: esac
                   5694: 
                   5695: # Checks for typedefs, structures, and compiler characteristics.
                   5696: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
                   5697: if test "x$ac_cv_type__Bool" = xyes
                   5698: then :
                   5699: 
                   5700: printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
                   5701: 
                   5702: 
                   5703: fi
                   5704: 
1.1.1.15  root     5705:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
                   5706: printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
1.1.1.10  root     5707: if test ${ac_cv_header_stdbool_h+y}
                   5708: then :
                   5709:   printf %s "(cached) " >&6
1.1.1.15  root     5710: else case e in #(
                   5711:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5712: /* end confdefs.h.  */
1.1.1.10  root     5713: #include <stdbool.h>
                   5714: 
1.1.1.15  root     5715:              /* "true" and "false" should be usable in #if expressions and
                   5716:                 integer constant expressions, and "bool" should be a valid
                   5717:                 type name.
                   5718: 
                   5719:                 Although C99 requires bool, true, and false to be macros,
                   5720:                 C23 and C++11 overrule that, so do not test for that.
                   5721:                 Although C99 requires __bool_true_false_are_defined and
                   5722:                 _Bool, C23 says they are obsolescent, so do not require
                   5723:                 them.  */
1.1.1.10  root     5724: 
                   5725:              #if !true
                   5726:                #error "'true' is not true"
                   5727:              #endif
                   5728:              #if true != 1
                   5729:                #error "'true' is not equal to 1"
                   5730:              #endif
                   5731:              char b[true == 1 ? 1 : -1];
                   5732:              char c[true];
                   5733: 
                   5734:              #if false
                   5735:                #error "'false' is not false"
                   5736:              #endif
                   5737:              #if false != 0
                   5738:                #error "'false' is not equal to 0"
                   5739:              #endif
                   5740:              char d[false == 0 ? 1 : -1];
                   5741: 
                   5742:              enum { e = false, f = true, g = false * true, h = true * 256 };
                   5743: 
                   5744:              char i[(bool) 0.5 == true ? 1 : -1];
                   5745:              char j[(bool) 0.0 == false ? 1 : -1];
                   5746:              char k[sizeof (bool) > 0 ? 1 : -1];
                   5747: 
                   5748:              struct sb { bool s: 1; bool t; } s;
                   5749:              char l[sizeof s.t > 0 ? 1 : -1];
                   5750: 
                   5751:              /* The following fails for
                   5752:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
                   5753:              bool m[h];
                   5754:              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
                   5755:              char o[-1 - (bool) 0 < 0 ? 1 : -1];
                   5756:              /* Catch a bug in an HP-UX C compiler.  See
1.1.1.15  root     5757:                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
                   5758:                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
1.1.1.10  root     5759:               */
                   5760:              bool p = true;
                   5761:              bool *pp = &p;
                   5762: 
1.1.1.3   root     5763: int
1.1.1.10  root     5764: main (void)
1.1.1.3   root     5765: {
                   5766: 
1.1.1.10  root     5767:              bool ps = &s;
                   5768:              *pp |= p;
                   5769:              *pp |= ! p;
                   5770: 
                   5771:              /* Refer to every declared value, so they cannot be
                   5772:                 discarded as unused.  */
1.1.1.15  root     5773:              return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
                   5774:                      + !l + !m + !n + !o + !p + !pp + !ps);
1.1.1.10  root     5775: 
1.1.1.3   root     5776:   ;
                   5777:   return 0;
                   5778: }
                   5779: _ACEOF
1.1.1.10  root     5780: if ac_fn_cxx_try_compile "$LINENO"
                   5781: then :
                   5782:   ac_cv_header_stdbool_h=yes
1.1.1.15  root     5783: else case e in #(
                   5784:   e) ac_cv_header_stdbool_h=no ;;
                   5785: esac
1.1.1.3   root     5786: fi
1.1.1.15  root     5787: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   5788: esac
1.1.1.10  root     5789: fi
                   5790: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
                   5791: printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
1.1.1.3   root     5792: 
1.1.1.10  root     5793: #AC_C_INLINE
                   5794: #AC_TYPE_INT16_T
                   5795: #AC_TYPE_INT32_T
                   5796: #AC_TYPE_INT64_T
                   5797: #AC_TYPE_INT8_T
                   5798: #AC_TYPE_SIZE_T
                   5799: #AC_TYPE_UINT16_T
                   5800: #AC_TYPE_UINT32_T
                   5801: #AC_TYPE_UINT64_T
                   5802: #AC_TYPE_UINT8_T
1.1.1.3   root     5803: 
1.1.1.15  root     5804: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t" >&5
                   5805: printf %s "checking for cpuset_t... " >&6; }
1.1.1.10  root     5806: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5807: /* end confdefs.h.  */
                   5808: 
1.1.1.15  root     5809:                #if defined(HAVE_SCHED_H)
                   5810:                #include <sched.h>
                   5811:                #endif
                   5812:                #if defined(HAVE_SYS_CPUSET_H)
                   5813:                #include <sys/cpuset.h>
                   5814:                #endif
                   5815: 
1.1.1.3   root     5816: int
1.1.1.10  root     5817: main (void)
1.1.1.3   root     5818: {
                   5819: 
1.1.1.15  root     5820:                cpuset_t set;
1.1.1.10  root     5821: 
1.1.1.3   root     5822:   ;
                   5823:   return 0;
                   5824: }
                   5825: _ACEOF
1.1.1.10  root     5826: if ac_fn_cxx_try_compile "$LINENO"
                   5827: then :
1.1.1.3   root     5828: 
1.1.1.10  root     5829:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5830: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5831:                printf "%s\n" "#define HAVE_CPUSET_T 1" >>confdefs.h
1.1.1.10  root     5832: 
                   5833: 
1.1.1.15  root     5834: else case e in #(
                   5835:   e)
1.1.1.10  root     5836:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5837: printf "%s\n" "no" >&6; }
1.1.1.15  root     5838:         ;;
                   5839: esac
1.1.1.10  root     5840: fi
                   5841: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5842: 
1.1.1.15  root     5843: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t *" >&5
                   5844: printf %s "checking for cpuset_t *... " >&6; }
1.1.1.10  root     5845: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5846: /* end confdefs.h.  */
                   5847: 
1.1.1.15  root     5848:                #if defined(HAVE_SCHED_H)
                   5849:                #include <sched.h>
                   5850:                #endif
                   5851:                #if defined(HAVE_SYS_CPUSET_H)
                   5852:                #include <sys/cpuset.h>
                   5853:                #endif
                   5854: 
1.1.1.3   root     5855: int
1.1.1.10  root     5856: main (void)
1.1.1.3   root     5857: {
                   5858: 
1.1.1.15  root     5859:                cpuset_t *set;
1.1.1.10  root     5860: 
1.1.1.3   root     5861:   ;
                   5862:   return 0;
                   5863: }
                   5864: _ACEOF
1.1.1.10  root     5865: if ac_fn_cxx_try_compile "$LINENO"
                   5866: then :
1.1.1.3   root     5867: 
1.1.1.10  root     5868:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5869: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5870:                printf "%s\n" "#define HAVE_CPUSET_T_P 1" >>confdefs.h
1.1.1.10  root     5871: 
                   5872: 
1.1.1.15  root     5873: else case e in #(
                   5874:   e)
1.1.1.10  root     5875:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5876: printf "%s\n" "no" >&6; }
1.1.1.15  root     5877:         ;;
                   5878: esac
1.1.1.10  root     5879: fi
                   5880: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5881: 
1.1.1.15  root     5882: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpu_set_t" >&5
                   5883: printf %s "checking for cpu_set_t... " >&6; }
1.1.1.10  root     5884: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5885: /* end confdefs.h.  */
                   5886: 
1.1.1.15  root     5887:                #include <sched.h>
                   5888: 
1.1.1.3   root     5889: int
1.1.1.10  root     5890: main (void)
1.1.1.3   root     5891: {
                   5892: 
1.1.1.15  root     5893:                cpu_set_t set;
1.1.1.10  root     5894: 
1.1.1.3   root     5895:   ;
                   5896:   return 0;
                   5897: }
                   5898: _ACEOF
1.1.1.10  root     5899: if ac_fn_cxx_try_compile "$LINENO"
                   5900: then :
1.1.1.3   root     5901: 
1.1.1.10  root     5902:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5903: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5904:                printf "%s\n" "#define HAVE_CPU_SET_T 1" >>confdefs.h
1.1.1.10  root     5905: 
                   5906: 
1.1.1.15  root     5907: else case e in #(
                   5908:   e)
1.1.1.10  root     5909:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5910: printf "%s\n" "no" >&6; }
1.1.1.15  root     5911:         ;;
                   5912: esac
1.1.1.10  root     5913: fi
                   5914: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5915: 
1.1.1.15  root     5916: 
                   5917: # __builtin
                   5918: 
                   5919: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5
                   5920: printf %s "checking for __builtin_assume... " >&6; }
1.1.1.10  root     5921: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5922: /* end confdefs.h.  */
                   5923: 
                   5924: int
1.1.1.10  root     5925: main (void)
1.1.1.3   root     5926: {
                   5927: 
1.1.1.15  root     5928:                __builtin_assume(1);
1.1.1.10  root     5929: 
1.1.1.3   root     5930:   ;
                   5931:   return 0;
                   5932: }
                   5933: _ACEOF
1.1.1.10  root     5934: if ac_fn_cxx_try_compile "$LINENO"
                   5935: then :
1.1.1.3   root     5936: 
1.1.1.10  root     5937:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5938: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5939:                printf "%s\n" "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h
1.1.1.10  root     5940: 
                   5941: 
1.1.1.15  root     5942: else case e in #(
                   5943:   e)
1.1.1.10  root     5944:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5945: printf "%s\n" "no" >&6; }
1.1.1.15  root     5946:         ;;
                   5947: esac
1.1.1.10  root     5948: fi
                   5949: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5950: 
1.1.1.15  root     5951: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse8" >&5
                   5952: printf %s "checking for __builtin_bitreverse8... " >&6; }
1.1.1.10  root     5953: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5954: /* end confdefs.h.  */
                   5955: 
                   5956: int
1.1.1.10  root     5957: main (void)
1.1.1.3   root     5958: {
                   5959: 
1.1.1.15  root     5960:                return __builtin_bitreverse8(1);
1.1.1.10  root     5961: 
1.1.1.3   root     5962:   ;
                   5963:   return 0;
                   5964: }
                   5965: _ACEOF
1.1.1.10  root     5966: if ac_fn_cxx_try_compile "$LINENO"
                   5967: then :
1.1.1.3   root     5968: 
1.1.1.10  root     5969:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5970: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5971:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE8 1" >>confdefs.h
1.1.1.10  root     5972: 
                   5973: 
1.1.1.15  root     5974: else case e in #(
                   5975:   e)
1.1.1.10  root     5976:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5977: printf "%s\n" "no" >&6; }
1.1.1.15  root     5978:         ;;
                   5979: esac
1.1.1.10  root     5980: fi
                   5981: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5982: 
1.1.1.16  root     5983: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse16" >&5
                   5984: printf %s "checking for __builtin_bitreverse16... " >&6; }
                   5985: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5986: /* end confdefs.h.  */
                   5987: 
                   5988: int
                   5989: main (void)
                   5990: {
                   5991: 
                   5992:                return __builtin_bitreverse16(1);
                   5993: 
                   5994:   ;
                   5995:   return 0;
                   5996: }
                   5997: _ACEOF
                   5998: if ac_fn_cxx_try_compile "$LINENO"
                   5999: then :
                   6000: 
                   6001:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6002: printf "%s\n" "yes" >&6; }
                   6003:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE16 1" >>confdefs.h
                   6004: 
                   6005: 
                   6006: else case e in #(
                   6007:   e)
                   6008:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6009: printf "%s\n" "no" >&6; }
                   6010:         ;;
                   6011: esac
                   6012: fi
                   6013: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6014: 
                   6015: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse32" >&5
                   6016: printf %s "checking for __builtin_bitreverse32... " >&6; }
                   6017: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6018: /* end confdefs.h.  */
                   6019: 
                   6020: int
                   6021: main (void)
                   6022: {
                   6023: 
                   6024:                return __builtin_bitreverse32(1);
                   6025: 
                   6026:   ;
                   6027:   return 0;
                   6028: }
                   6029: _ACEOF
                   6030: if ac_fn_cxx_try_compile "$LINENO"
                   6031: then :
                   6032: 
                   6033:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6034: printf "%s\n" "yes" >&6; }
                   6035:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE32 1" >>confdefs.h
                   6036: 
                   6037: 
                   6038: else case e in #(
                   6039:   e)
                   6040:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6041: printf "%s\n" "no" >&6; }
                   6042:         ;;
                   6043: esac
                   6044: fi
                   6045: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6046: 
1.1.1.15  root     6047: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5
                   6048: printf %s "checking for __builtin_bswap16... " >&6; }
1.1.1.10  root     6049: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     6050: /* end confdefs.h.  */
                   6051: 
                   6052: int
1.1.1.10  root     6053: main (void)
1.1.1.3   root     6054: {
                   6055: 
1.1.1.15  root     6056:                return __builtin_bswap16(0);
1.1.1.10  root     6057: 
1.1.1.3   root     6058:   ;
                   6059:   return 0;
                   6060: }
                   6061: _ACEOF
1.1.1.10  root     6062: if ac_fn_cxx_try_compile "$LINENO"
                   6063: then :
1.1.1.3   root     6064: 
1.1.1.10  root     6065:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6066: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6067:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h
1.1.1.3   root     6068: 
                   6069: 
1.1.1.15  root     6070: else case e in #(
                   6071:   e)
1.1.1.10  root     6072:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6073: printf "%s\n" "no" >&6; }
1.1.1.15  root     6074:         ;;
                   6075: esac
1.1.1.3   root     6076: fi
1.1.1.10  root     6077: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6078: 
1.1.1.15  root     6079: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5
                   6080: printf %s "checking for __builtin_bswap32... " >&6; }
1.1.1.10  root     6081: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     6082: /* end confdefs.h.  */
                   6083: 
1.1.1.10  root     6084: int
                   6085: main (void)
                   6086: {
1.1.1.3   root     6087: 
1.1.1.15  root     6088:                return __builtin_bswap32(0);
1.1.1.3   root     6089: 
1.1.1.10  root     6090:   ;
                   6091:   return 0;
                   6092: }
1.1.1.3   root     6093: _ACEOF
1.1.1.10  root     6094: if ac_fn_cxx_try_compile "$LINENO"
                   6095: then :
1.1.1.3   root     6096: 
1.1.1.10  root     6097:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6098: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6099:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h
1.1.1.3   root     6100: 
1.1.1.10  root     6101: 
1.1.1.15  root     6102: else case e in #(
                   6103:   e)
1.1.1.10  root     6104:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6105: printf "%s\n" "no" >&6; }
1.1.1.15  root     6106:         ;;
                   6107: esac
1.1.1.3   root     6108: fi
1.1.1.10  root     6109: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6110: 
1.1.1.15  root     6111: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap64" >&5
                   6112: printf %s "checking for __builtin_bswap64... " >&6; }
1.1.1.10  root     6113: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6114: /* end confdefs.h.  */
                   6115: 
                   6116: int
                   6117: main (void)
                   6118: {
1.1.1.3   root     6119: 
1.1.1.15  root     6120:                return __builtin_bswap64(0);
                   6121: 
1.1.1.10  root     6122:   ;
                   6123:   return 0;
                   6124: }
1.1.1.3   root     6125: _ACEOF
1.1.1.10  root     6126: if ac_fn_cxx_try_compile "$LINENO"
                   6127: then :
1.1.1.3   root     6128: 
1.1.1.10  root     6129:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6130: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6131:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP64 1" >>confdefs.h
1.1.1.3   root     6132: 
                   6133: 
1.1.1.15  root     6134: else case e in #(
                   6135:   e)
1.1.1.10  root     6136:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6137: printf "%s\n" "no" >&6; }
1.1.1.15  root     6138:         ;;
                   6139: esac
1.1.1.10  root     6140: fi
                   6141: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6142: 
1.1.1.15  root     6143: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
                   6144: printf %s "checking for __builtin_expect... " >&6; }
1.1.1.10  root     6145: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6146: /* end confdefs.h.  */
1.1.1.3   root     6147: 
1.1.1.10  root     6148: int
                   6149: main (void)
                   6150: {
1.1.1.3   root     6151: 
1.1.1.15  root     6152:                if (__builtin_expect(1, 1)) return 0;
                   6153: 
1.1.1.10  root     6154:   ;
                   6155:   return 0;
                   6156: }
1.1.1.3   root     6157: _ACEOF
1.1.1.10  root     6158: if ac_fn_cxx_try_compile "$LINENO"
                   6159: then :
1.1.1.3   root     6160: 
1.1.1.10  root     6161:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6162: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6163:                printf "%s\n" "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
                   6164: 
                   6165: 
                   6166: else case e in #(
                   6167:   e)
                   6168:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6169: printf "%s\n" "no" >&6; }
                   6170:         ;;
                   6171: esac
                   6172: fi
                   6173: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6174: 
1.1.1.15  root     6175: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateleft32" >&5
                   6176: printf %s "checking for __builtin_rotateleft32... " >&6; }
                   6177: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6178: /* end confdefs.h.  */
                   6179: 
                   6180: int
                   6181: main (void)
                   6182: {
                   6183: 
                   6184:                return __builtin_rotateleft32(1, 1);
                   6185: 
                   6186:   ;
                   6187:   return 0;
                   6188: }
                   6189: _ACEOF
                   6190: if ac_fn_cxx_try_compile "$LINENO"
                   6191: then :
                   6192: 
                   6193:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6194: printf "%s\n" "yes" >&6; }
                   6195:                printf "%s\n" "#define HAVE___BUILTIN_ROTATELEFT32 1" >>confdefs.h
                   6196: 
                   6197: 
                   6198: else case e in #(
                   6199:   e)
                   6200:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6201: printf "%s\n" "no" >&6; }
                   6202:         ;;
                   6203: esac
                   6204: fi
                   6205: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6206: 
                   6207: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateright32" >&5
                   6208: printf %s "checking for __builtin_rotateright32... " >&6; }
                   6209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6210: /* end confdefs.h.  */
                   6211: 
                   6212: int
                   6213: main (void)
                   6214: {
                   6215: 
                   6216:                return __builtin_rotateright32(1, 1);
                   6217: 
                   6218:   ;
                   6219:   return 0;
                   6220: }
                   6221: _ACEOF
                   6222: if ac_fn_cxx_try_compile "$LINENO"
                   6223: then :
                   6224: 
                   6225:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6226: printf "%s\n" "yes" >&6; }
                   6227:                printf "%s\n" "#define HAVE___BUILTIN_ROTATERIGHT32 1" >>confdefs.h
                   6228: 
                   6229: 
                   6230: else case e in #(
                   6231:   e)
                   6232:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6233: printf "%s\n" "no" >&6; }
                   6234:         ;;
                   6235: esac
                   6236: fi
                   6237: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6238: 
                   6239: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
                   6240: printf %s "checking for __builtin_unreachable... " >&6; }
                   6241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6242: /* end confdefs.h.  */
                   6243: 
                   6244: int
                   6245: main (void)
                   6246: {
                   6247: 
                   6248:                __builtin_unreachable();
                   6249: 
                   6250:   ;
                   6251:   return 0;
                   6252: }
                   6253: _ACEOF
                   6254: if ac_fn_cxx_try_compile "$LINENO"
                   6255: then :
                   6256: 
                   6257:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6258: printf "%s\n" "yes" >&6; }
                   6259:                printf "%s\n" "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h
                   6260: 
                   6261: 
                   6262: else case e in #(
                   6263:   e)
                   6264:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6265: printf "%s\n" "no" >&6; }
                   6266:         ;;
                   6267: esac
                   6268: fi
                   6269: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6270: 
                   6271: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5
                   6272: printf %s "checking for __attribute__((__fallthrough__))... " >&6; }
                   6273: old_CXXFLAGS="${CXXFLAGS}"
                   6274: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6275: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6276: /* end confdefs.h.  */
                   6277: 
                   6278: int
                   6279: main (void)
                   6280: {
                   6281: 
                   6282:                extern int x;
                   6283:                switch (x) {
                   6284:                 case 0:
                   6285:                        __attribute__((__fallthrough__));
                   6286:                 case 1:
                   6287:                        break;
                   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_FALLTHROUGH 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__((__format__))" >&5
                   6313: printf %s "checking for __attribute__((__format__))... " >&6; }
                   6314: old_CXXFLAGS="${CXXFLAGS}"
                   6315: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6316: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6317: /* end confdefs.h.  */
                   6318: 
                   6319:                extern int f(const char *f, ...)
                   6320:                        __attribute__((__format__(__printf__, 1, 2)));
                   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_FORMAT 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: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5
                   6349: printf %s "checking for __attribute__((no_sanitize))... " >&6; }
                   6350: old_CXXFLAGS="${CXXFLAGS}"
                   6351: CXXFLAGS="${CXXFLAGS} -Werror"
                   6352: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6353: /* end confdefs.h.  */
                   6354: 
                   6355:                __attribute__((no_sanitize("undefined")))
                   6356:                int func() { return 0; }
                   6357: 
                   6358: int
                   6359: main (void)
                   6360: {
                   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_NO_SANITIZE 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: 
                   6385: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5
                   6386: printf %s "checking for __attribute__((__packed__))... " >&6; }
                   6387: old_CXXFLAGS="${CXXFLAGS}"
                   6388: CXXFLAGS="${CXXFLAGS} -Werror"
                   6389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6390: /* end confdefs.h.  */
                   6391: 
                   6392: int
                   6393: main (void)
                   6394: {
                   6395: 
                   6396:                struct x { char a; int b; } __attribute__((__packed__));
                   6397: 
                   6398:   ;
                   6399:   return 0;
                   6400: }
                   6401: _ACEOF
                   6402: if ac_fn_cxx_try_compile "$LINENO"
                   6403: then :
                   6404: 
                   6405:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6406: printf "%s\n" "yes" >&6; }
                   6407:                printf "%s\n" "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h
                   6408: 
                   6409: 
                   6410: else case e in #(
                   6411:   e)
                   6412:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6413: printf "%s\n" "no" >&6; }
                   6414:         ;;
                   6415: esac
                   6416: fi
                   6417: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6418: CXXFLAGS="${old_CXXFLAGS}"
                   6419: 
                   6420: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5
                   6421: printf %s "checking for __attribute__((__unused__))... " >&6; }
                   6422: old_CXXFLAGS="${CXXFLAGS}"
                   6423: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror"
                   6424: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6425: /* end confdefs.h.  */
                   6426: 
                   6427: int
                   6428: main (void)
                   6429: {
                   6430: 
                   6431:                int a __attribute__((__unused__));
                   6432: 
                   6433:   ;
                   6434:   return 0;
                   6435: }
                   6436: _ACEOF
                   6437: if ac_fn_cxx_try_compile "$LINENO"
                   6438: then :
                   6439: 
                   6440:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6441: printf "%s\n" "yes" >&6; }
                   6442:                printf "%s\n" "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h
                   6443: 
                   6444: 
                   6445: else case e in #(
                   6446:   e)
                   6447:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6448: printf "%s\n" "no" >&6; }
                   6449:         ;;
                   6450: esac
                   6451: fi
                   6452: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6453: CXXFLAGS="${old_CXXFLAGS}"
                   6454: 
                   6455: # Checks for library functions.
                   6456: #AC_FUNC_MALLOC
                   6457: #AC_FUNC_MMAP
                   6458: 
                   6459: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16" >&5
                   6460: printf %s "checking for bswap16... " >&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:                bswap16(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_BSWAP16 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 bswap32" >&5
                   6496: printf %s "checking for bswap32... " >&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:                bswap32(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_BSWAP32 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 bswap64" >&5
                   6532: printf %s "checking for bswap64... " >&6; }
                   6533: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6534: /* end confdefs.h.  */
                   6535: 
                   6536:                #if defined(HAVE_SYS_ENDIAN_H)
                   6537:                #include <sys/endian.h>
                   6538:                #endif
                   6539: 
                   6540: int
                   6541: main (void)
                   6542: {
                   6543: 
                   6544:                bswap64(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_BSWAP64 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_16" >&5
                   6568: printf %s "checking for bswap_16... " >&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_16(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_16 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_32" >&5
                   6604: printf %s "checking for bswap_32... " >&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_32(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_32 1" >>confdefs.h
                   6628: 
                   6629: 
                   6630: else case e in #(
                   6631:   e)
                   6632:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6633: printf "%s\n" "no" >&6; }
                   6634:         ;;
                   6635: esac
                   6636: fi
                   6637: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6638: 
                   6639: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
                   6640: printf %s "checking for bswap_64... " >&6; }
                   6641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6642: /* end confdefs.h.  */
                   6643: 
                   6644:                #if defined(HAVE_BYTESWAP_H)
                   6645:                #include <byteswap.h>
                   6646:                #endif
                   6647: 
                   6648: int
                   6649: main (void)
                   6650: {
                   6651: 
                   6652:                bswap_64(0);
                   6653: 
                   6654:   ;
                   6655:   return 0;
                   6656: }
                   6657: _ACEOF
                   6658: if ac_fn_cxx_try_compile "$LINENO"
                   6659: then :
                   6660: 
                   6661:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6662: printf "%s\n" "yes" >&6; }
                   6663:                printf "%s\n" "#define HAVE_BSWAP_64 1" >>confdefs.h
1.1.1.3   root     6664: 
1.1.1.10  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.3   root     6672: fi
1.1.1.10  root     6673: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6674: 
1.1.1.15  root     6675: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap16" >&5
                   6676: printf %s "checking for swap16... " >&6; }
1.1.1.10  root     6677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6678: /* end confdefs.h.  */
1.1.1.3   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.1.3   root     6687: 
1.1.1.15  root     6688:                swap16(0);
1.1.1.3   root     6689: 
1.1.1.10  root     6690:   ;
                   6691:   return 0;
                   6692: }
1.1.1.3   root     6693: _ACEOF
1.1.1.10  root     6694: if ac_fn_cxx_try_compile "$LINENO"
                   6695: then :
1.1.1.3   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_SWAP16 1" >>confdefs.h
1.1.1.3   root     6700: 
1.1       root     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 swap32" >&5
                   6712: printf %s "checking for swap32... " >&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.15  root     6716:                #if defined(HAVE_SYS_ENDIAN_H)
                   6717:                #include <sys/endian.h>
                   6718:                #endif
                   6719: 
1.1.1.10  root     6720: int
                   6721: main (void)
                   6722: {
1.1       root     6723: 
1.1.1.15  root     6724:                swap32(0);
1.1       root     6725: 
1.1.1.10  root     6726:   ;
                   6727:   return 0;
                   6728: }
1.1       root     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_SWAP32 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 swap64" >&5
                   6748: printf %s "checking for swap64... " >&6; }
1.1.1.10  root     6749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6750: /* end confdefs.h.  */
1.1       root     6751: 
1.1.1.10  root     6752:                #if defined(HAVE_SYS_ENDIAN_H)
                   6753:                #include <sys/endian.h>
                   6754:                #endif
1.1       root     6755: 
                   6756: int
1.1.1.10  root     6757: main (void)
1.1       root     6758: {
                   6759: 
1.1.1.15  root     6760:                swap64(0);
1.1       root     6761: 
                   6762:   ;
                   6763:   return 0;
                   6764: }
                   6765: _ACEOF
1.1.1.10  root     6766: if ac_fn_cxx_try_compile "$LINENO"
                   6767: then :
1.1       root     6768: 
1.1.1.10  root     6769:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6770: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6771:                printf "%s\n" "#define HAVE_SWAP64 1" >>confdefs.h
1.1       root     6772: 
                   6773: 
1.1.1.15  root     6774: else case e in #(
                   6775:   e)
1.1.1.10  root     6776:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6777: printf "%s\n" "no" >&6; }
1.1.1.15  root     6778:         ;;
                   6779: esac
1.1.1.10  root     6780: fi
                   6781: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6782: 
1.1.1.15  root     6783: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe16" >&5
                   6784: printf %s "checking for htobe16... " >&6; }
1.1       root     6785: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6786: /* end confdefs.h.  */
                   6787: 
1.1.1.15  root     6788:                #if defined(HAVE_ENDIAN_H)
                   6789:                #include <endian.h>
                   6790:                #endif
1.1.1.10  root     6791:                #if defined(HAVE_SYS_ENDIAN_H)
                   6792:                #include <sys/endian.h>
                   6793:                #endif
1.1.1.15  root     6794:                #if defined(HAVE_MACHINE_ENDIAN_H)
                   6795:                #include <machine/endian.h>
                   6796:                #endif
1.1.1.10  root     6797: 
1.1       root     6798: int
1.1.1.10  root     6799: main (void)
1.1       root     6800: {
                   6801: 
1.1.1.15  root     6802:                htobe16(0);
1.1       root     6803: 
                   6804:   ;
                   6805:   return 0;
                   6806: }
                   6807: _ACEOF
1.1.1.10  root     6808: if ac_fn_cxx_try_compile "$LINENO"
                   6809: then :
                   6810: 
                   6811:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6812: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6813:                printf "%s\n" "#define HAVE_HTOBE16 1" >>confdefs.h
1.1.1.10  root     6814: 
                   6815: 
1.1.1.15  root     6816: else case e in #(
                   6817:   e)
1.1.1.10  root     6818:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6819: printf "%s\n" "no" >&6; }
1.1.1.15  root     6820:         ;;
                   6821: esac
1.1       root     6822: fi
1.1.1.10  root     6823: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6824: 
1.1.1.20! root     6825: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HTOBE16" >&5
        !          6826: printf %s "checking for HTOBE16... " >&6; }
        !          6827: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6828: /* end confdefs.h.  */
        !          6829: 
        !          6830:                #if defined(HAVE_ENDIAN_H)
        !          6831:                #include <endian.h>
        !          6832:                #endif
        !          6833:                #if defined(HAVE_SYS_ENDIAN_H)
        !          6834:                #include <sys/endian.h>
        !          6835:                #endif
        !          6836:                #if defined(HAVE_MACHINE_ENDIAN_H)
        !          6837:                #include <machine/endian.h>
        !          6838:                #endif
        !          6839: 
        !          6840: int
        !          6841: main (void)
        !          6842: {
        !          6843: 
        !          6844:                uint16_t x = 0;
        !          6845:                HTOBE16(x);
        !          6846: 
        !          6847:   ;
        !          6848:   return 0;
        !          6849: }
        !          6850: _ACEOF
        !          6851: if ac_fn_cxx_try_compile "$LINENO"
        !          6852: then :
        !          6853: 
        !          6854:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6855: printf "%s\n" "yes" >&6; }
        !          6856:                printf "%s\n" "#define HAVE_INPLACE_HTOBE16 1" >>confdefs.h
        !          6857: 
        !          6858: 
        !          6859: else case e in #(
        !          6860:   e)
        !          6861:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6862: printf "%s\n" "no" >&6; }
        !          6863:         ;;
        !          6864: esac
        !          6865: fi
        !          6866: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          6867: 
1.1.1.15  root     6868: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_COUNT" >&5
                   6869: printf %s "checking for CPU_COUNT... " >&6; }
1.1       root     6870: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6871: /* end confdefs.h.  */
                   6872: 
1.1.1.15  root     6873:                #if defined(HAVE_SCHED_H)
                   6874:                #include <sched.h>
                   6875:                #endif
                   6876:                #if defined(HAVE_SYS_CPUSET_H)
                   6877:                #include <sys/cpuset.h>
1.1.1.10  root     6878:                #endif
                   6879: 
1.1       root     6880: int
1.1.1.10  root     6881: main (void)
1.1       root     6882: {
                   6883: 
1.1.1.15  root     6884:                #if defined(HAVE_CPUSET_T)
                   6885:                cpuset_t set;
                   6886:                #elif defined(HAVE_CPU_SET_T)
                   6887:                cpu_set_t set;
                   6888:                #endif
                   6889:                CPU_COUNT(&set);
1.1       root     6890: 
                   6891:   ;
                   6892:   return 0;
                   6893: }
                   6894: _ACEOF
1.1.1.10  root     6895: if ac_fn_cxx_try_compile "$LINENO"
                   6896: then :
                   6897: 
                   6898:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6899: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6900:                printf "%s\n" "#define HAVE_CPU_COUNT 1" >>confdefs.h
1.1.1.10  root     6901: 
                   6902: 
1.1.1.15  root     6903: else case e in #(
                   6904:   e)
1.1.1.10  root     6905:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6906: printf "%s\n" "no" >&6; }
1.1.1.15  root     6907:         ;;
                   6908: esac
1.1       root     6909: fi
1.1.1.10  root     6910: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6911: 
1.1.1.15  root     6912: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ISSET" >&5
                   6913: printf %s "checking for CPU_ISSET... " >&6; }
1.1       root     6914: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6915: /* end confdefs.h.  */
                   6916: 
1.1.1.15  root     6917:                #if defined(HAVE_SCHED_H)
                   6918:                #include <sched.h>
                   6919:                #endif
                   6920:                #if defined(HAVE_SYS_CPUSET_H)
                   6921:                #include <sys/cpuset.h>
1.1.1.10  root     6922:                #endif
                   6923: 
1.1       root     6924: int
1.1.1.10  root     6925: main (void)
1.1       root     6926: {
                   6927: 
1.1.1.15  root     6928:                #if defined(HAVE_CPUSET_T)
                   6929:                cpuset_t set;
                   6930:                #elif defined(HAVE_CPU_SET_T)
                   6931:                cpu_set_t set;
                   6932:                #endif
                   6933:                CPU_ISSET(0, &set);
1.1       root     6934: 
                   6935:   ;
                   6936:   return 0;
                   6937: }
                   6938: _ACEOF
1.1.1.10  root     6939: if ac_fn_cxx_try_compile "$LINENO"
                   6940: then :
                   6941: 
                   6942:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6943: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6944:                printf "%s\n" "#define HAVE_CPU_ISSET 1" >>confdefs.h
1.1.1.10  root     6945: 
                   6946: 
1.1.1.15  root     6947: else case e in #(
                   6948:   e)
1.1.1.10  root     6949:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6950: printf "%s\n" "no" >&6; }
1.1.1.15  root     6951:         ;;
                   6952: esac
1.1       root     6953: fi
1.1.1.10  root     6954: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6955: 
1.1.1.15  root     6956: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_SET" >&5
                   6957: printf %s "checking for CPU_SET... " >&6; }
1.1.1.2   root     6958: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6959: /* end confdefs.h.  */
                   6960: 
1.1.1.15  root     6961:                #if defined(HAVE_SCHED_H)
                   6962:                #include <sched.h>
                   6963:                #endif
                   6964:                #if defined(HAVE_SYS_CPUSET_H)
                   6965:                #include <sys/cpuset.h>
1.1.1.10  root     6966:                #endif
                   6967: 
1.1.1.2   root     6968: int
1.1.1.10  root     6969: main (void)
1.1.1.2   root     6970: {
                   6971: 
1.1.1.15  root     6972:                #if defined(HAVE_CPUSET_T)
                   6973:                cpuset_t set;
                   6974:                #elif defined(HAVE_CPU_SET_T)
                   6975:                cpu_set_t set;
                   6976:                #endif
                   6977:                CPU_SET(0, &set);
1.1.1.2   root     6978: 
                   6979:   ;
                   6980:   return 0;
                   6981: }
                   6982: _ACEOF
1.1.1.10  root     6983: if ac_fn_cxx_try_compile "$LINENO"
                   6984: then :
                   6985: 
                   6986:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6987: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6988:                printf "%s\n" "#define HAVE_CPU_SET 1" >>confdefs.h
1.1.1.10  root     6989: 
                   6990: 
1.1.1.15  root     6991: else case e in #(
                   6992:   e)
1.1.1.10  root     6993:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6994: printf "%s\n" "no" >&6; }
1.1.1.15  root     6995:         ;;
                   6996: esac
1.1.1.2   root     6997: fi
1.1.1.10  root     6998: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.2   root     6999: 
1.1.1.15  root     7000: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ZERO" >&5
                   7001: printf %s "checking for CPU_ZERO... " >&6; }
1.1       root     7002: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7003: /* end confdefs.h.  */
                   7004: 
1.1.1.15  root     7005:                #if defined(HAVE_SCHED_H)
                   7006:                #include <sched.h>
                   7007:                #endif
                   7008:                #if defined(HAVE_SYS_CPUSET_H)
                   7009:                #include <sys/cpuset.h>
1.1.1.10  root     7010:                #endif
                   7011: 
1.1       root     7012: int
1.1.1.10  root     7013: main (void)
1.1       root     7014: {
                   7015: 
1.1.1.15  root     7016:                #if defined(HAVE_CPUSET_T)
                   7017:                cpuset_t set;
                   7018:                #elif defined(HAVE_CPU_SET_T)
                   7019:                cpu_set_t set;
                   7020:                #endif
                   7021:                CPU_ZERO(&set);
1.1       root     7022: 
                   7023:   ;
                   7024:   return 0;
                   7025: }
                   7026: _ACEOF
1.1.1.10  root     7027: if ac_fn_cxx_try_compile "$LINENO"
                   7028: then :
                   7029: 
                   7030:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7031: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7032:                printf "%s\n" "#define HAVE_CPU_ZERO 1" >>confdefs.h
1.1.1.10  root     7033: 
                   7034: 
1.1.1.15  root     7035: else case e in #(
                   7036:   e)
1.1.1.10  root     7037:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7038: printf "%s\n" "no" >&6; }
1.1.1.15  root     7039:         ;;
                   7040: esac
1.1       root     7041: fi
1.1.1.10  root     7042: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7043: 
1.1.1.15  root     7044: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_create" >&5
                   7045: printf %s "checking for cpuset_create... " >&6; }
1.1       root     7046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7047: /* end confdefs.h.  */
                   7048: 
1.1.1.15  root     7049:                #include <sched.h>
1.1.1.10  root     7050: 
1.1       root     7051: int
1.1.1.10  root     7052: main (void)
1.1       root     7053: {
                   7054: 
1.1.1.15  root     7055:                cpuset_create();
1.1       root     7056: 
                   7057:   ;
                   7058:   return 0;
                   7059: }
                   7060: _ACEOF
1.1.1.10  root     7061: if ac_fn_cxx_try_compile "$LINENO"
                   7062: then :
                   7063: 
                   7064:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7065: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7066:                printf "%s\n" "#define HAVE_CPUSET_CREATE 1" >>confdefs.h
1.1.1.10  root     7067: 
                   7068: 
1.1.1.15  root     7069: else case e in #(
                   7070:   e)
1.1.1.10  root     7071:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7072: printf "%s\n" "no" >&6; }
1.1.1.15  root     7073:         ;;
                   7074: esac
1.1       root     7075: fi
1.1.1.10  root     7076: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7077: 
1.1.1.15  root     7078: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_isset" >&5
                   7079: printf %s "checking for cpuset_isset... " >&6; }
1.1       root     7080: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7081: /* end confdefs.h.  */
                   7082: 
1.1.1.15  root     7083:                #include <sched.h>
1.1.1.10  root     7084: 
1.1       root     7085: int
1.1.1.10  root     7086: main (void)
1.1       root     7087: {
                   7088: 
1.1.1.15  root     7089:                cpuset_isset(0, NULL);
1.1       root     7090: 
                   7091:   ;
                   7092:   return 0;
                   7093: }
                   7094: _ACEOF
1.1.1.10  root     7095: if ac_fn_cxx_try_compile "$LINENO"
                   7096: then :
                   7097: 
                   7098:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7099: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7100:                printf "%s\n" "#define HAVE_CPUSET_ISSET 1" >>confdefs.h
1.1.1.10  root     7101: 
                   7102: 
1.1.1.15  root     7103: else case e in #(
                   7104:   e)
1.1.1.10  root     7105:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7106: printf "%s\n" "no" >&6; }
1.1.1.15  root     7107:         ;;
                   7108: esac
1.1       root     7109: fi
1.1.1.10  root     7110: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7111: 
1.1.1.15  root     7112: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_set" >&5
                   7113: printf %s "checking for cpuset_set... " >&6; }
1.1       root     7114: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7115: /* end confdefs.h.  */
                   7116: 
1.1.1.15  root     7117:                #include <sched.h>
1.1       root     7118: 
                   7119: int
1.1.1.10  root     7120: main (void)
1.1       root     7121: {
                   7122: 
1.1.1.15  root     7123:                cpuset_set(0, NULL);
1.1       root     7124: 
                   7125:   ;
                   7126:   return 0;
                   7127: }
                   7128: _ACEOF
1.1.1.10  root     7129: if ac_fn_cxx_try_compile "$LINENO"
                   7130: then :
                   7131: 
                   7132:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7133: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7134:                printf "%s\n" "#define HAVE_CPUSET_SET 1" >>confdefs.h
1.1.1.10  root     7135: 
                   7136: 
1.1.1.15  root     7137: else case e in #(
                   7138:   e)
1.1.1.10  root     7139:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7140: printf "%s\n" "no" >&6; }
1.1.1.15  root     7141:         ;;
                   7142: esac
1.1       root     7143: fi
1.1.1.10  root     7144: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7145: 
1.1.1.15  root     7146: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_size" >&5
                   7147: printf %s "checking for cpuset_size... " >&6; }
1.1       root     7148: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7149: /* end confdefs.h.  */
                   7150: 
1.1.1.15  root     7151:                #include <sched.h>
1.1       root     7152: 
                   7153: int
1.1.1.10  root     7154: main (void)
1.1       root     7155: {
                   7156: 
1.1.1.15  root     7157:                cpuset_size(NULL);
1.1       root     7158: 
                   7159:   ;
                   7160:   return 0;
                   7161: }
                   7162: _ACEOF
1.1.1.10  root     7163: if ac_fn_cxx_try_compile "$LINENO"
                   7164: then :
1.1       root     7165: 
1.1.1.10  root     7166:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7167: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7168:                printf "%s\n" "#define HAVE_CPUSET_SIZE 1" >>confdefs.h
1.1       root     7169: 
1.1.1.10  root     7170: 
1.1.1.15  root     7171: else case e in #(
                   7172:   e)
1.1.1.10  root     7173:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7174: printf "%s\n" "no" >&6; }
1.1.1.15  root     7175:         ;;
                   7176: esac
1.1.1.10  root     7177: fi
                   7178: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7179: 
1.1.1.14  root     7180: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
                   7181: printf %s "checking for statfs... " >&6; }
                   7182: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7183: /* end confdefs.h.  */
                   7184: 
                   7185:                #include <sys/statfs.h>
                   7186: 
                   7187: int
                   7188: main (void)
                   7189: {
                   7190: 
                   7191:                struct statfs buf;
                   7192:                statfs("", &buf);
                   7193: 
                   7194:   ;
                   7195:   return 0;
                   7196: }
                   7197: _ACEOF
                   7198: if ac_fn_cxx_try_compile "$LINENO"
                   7199: then :
                   7200: 
                   7201:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7202: printf "%s\n" "yes" >&6; }
                   7203:                printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h
                   7204: 
                   7205:                have_statxxfs=statfs
                   7206: 
1.1.1.15  root     7207: else case e in #(
                   7208:   e)
1.1.1.14  root     7209:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7210: printf "%s\n" "no" >&6; }
1.1.1.15  root     7211:         ;;
                   7212: esac
1.1.1.14  root     7213: fi
                   7214: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7215: 
                   7216: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
                   7217: printf %s "checking for statvfs... " >&6; }
                   7218: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7219: /* end confdefs.h.  */
                   7220: 
                   7221:                #include <sys/statvfs.h>
                   7222: 
                   7223: int
                   7224: main (void)
                   7225: {
                   7226: 
                   7227:                struct statvfs buf;
                   7228:                statvfs("", &buf);
                   7229: 
                   7230:   ;
                   7231:   return 0;
                   7232: }
                   7233: _ACEOF
                   7234: if ac_fn_cxx_try_compile "$LINENO"
                   7235: then :
                   7236: 
                   7237:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7238: printf "%s\n" "yes" >&6; }
                   7239:                printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h
                   7240: 
                   7241:                have_statxxfs=statvfs
                   7242: 
1.1.1.15  root     7243: else case e in #(
                   7244:   e)
1.1.1.14  root     7245:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7246: printf "%s\n" "no" >&6; }
1.1.1.15  root     7247:         ;;
                   7248: esac
1.1.1.14  root     7249: fi
                   7250: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7251: 
                   7252: if test -z "${have_statxxfs}"; then
1.1.1.15  root     7253:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7254: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7255: as_fn_error $? "*** No statfs() nor statvfs() found
1.1.1.15  root     7256: See 'config.log' for more details" "$LINENO" 5; }
1.1.1.14  root     7257: fi
                   7258: 
                   7259: ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "
                   7260:                #include <sys/stat.h>
                   7261: 
                   7262: "
                   7263: if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
                   7264: then :
                   7265: 
                   7266:                printf "%s\n" "#define HAVE_STAT_ST_TIMESPEC 1" >>confdefs.h
                   7267: 
                   7268: 
                   7269: fi
                   7270: 
                   7271: 
                   7272: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timegm" >&5
                   7273: printf %s "checking for timegm... " >&6; }
                   7274: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7275: /* end confdefs.h.  */
                   7276: 
                   7277:                #include <time.h>
                   7278: 
                   7279: int
                   7280: main (void)
                   7281: {
                   7282: 
                   7283:                timegm(NULL);
                   7284: 
                   7285:   ;
                   7286:   return 0;
                   7287: }
                   7288: _ACEOF
                   7289: if ac_fn_cxx_try_compile "$LINENO"
                   7290: then :
                   7291: 
                   7292:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7293: printf "%s\n" "yes" >&6; }
                   7294: 
1.1.1.15  root     7295: else case e in #(
                   7296:   e)
1.1.1.14  root     7297:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7298: printf "%s\n" "no" >&6; }
1.1.1.15  root     7299:                { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7300: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7301: as_fn_error $? "*** No timegm() found
1.1.1.15  root     7302: See 'config.log' for more details" "$LINENO" 5; }
                   7303:         ;;
                   7304: esac
1.1.1.14  root     7305: fi
                   7306: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7307: 
1.1.1.10  root     7308: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_getname_np" >&5
                   7309: printf %s "checking for pthread_getname_np... " >&6; }
1.1       root     7310: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7311: /* end confdefs.h.  */
                   7312: 
1.1.1.10  root     7313:                #include <pthread.h>
                   7314:                #if defined(HAVE_PTHREAD_NP_H)
                   7315:                #include <pthread_np.h>
                   7316:                #endif
                   7317: 
1.1       root     7318: int
1.1.1.10  root     7319: main (void)
1.1       root     7320: {
                   7321: 
1.1.1.10  root     7322:                char name[32];
                   7323:                pthread_getname_np(pthread_self(), name, sizeof(name));
1.1       root     7324: 
                   7325:   ;
                   7326:   return 0;
                   7327: }
                   7328: _ACEOF
1.1.1.10  root     7329: if ac_fn_cxx_try_compile "$LINENO"
                   7330: then :
                   7331: 
                   7332:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7333: printf "%s\n" "yes" >&6; }
                   7334:                printf "%s\n" "#define HAVE_PTHREAD_GETNAME_NP 1" >>confdefs.h
                   7335: 
                   7336: 
1.1.1.15  root     7337: else case e in #(
                   7338:   e)
1.1.1.10  root     7339:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7340: printf "%s\n" "no" >&6; }
1.1.1.15  root     7341:         ;;
                   7342: esac
1.1       root     7343: fi
1.1.1.10  root     7344: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7345: 
1.1.1.10  root     7346: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_get_name_np" >&5
                   7347: printf %s "checking for pthread_get_name_np... " >&6; }
1.1       root     7348: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7349: /* end confdefs.h.  */
                   7350: 
1.1.1.10  root     7351:                #include <pthread.h>
                   7352:                #if defined(HAVE_PTHREAD_NP_H)
                   7353:                #include <pthread_np.h>
                   7354:                #endif
                   7355: 
1.1       root     7356: int
1.1.1.10  root     7357: main (void)
1.1       root     7358: {
                   7359: 
1.1.1.10  root     7360:                char name[32];
                   7361:                pthread_get_name_np(pthread_self(), name, sizeof(name));
1.1       root     7362: 
                   7363:   ;
                   7364:   return 0;
                   7365: }
                   7366: _ACEOF
1.1.1.10  root     7367: if ac_fn_cxx_try_compile "$LINENO"
                   7368: then :
1.1       root     7369: 
1.1.1.10  root     7370:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7371: printf "%s\n" "yes" >&6; }
                   7372:                printf "%s\n" "#define HAVE_PTHREAD_GET_NAME_NP 1" >>confdefs.h
1.1       root     7373: 
                   7374: 
1.1.1.15  root     7375: else case e in #(
                   7376:   e)
1.1.1.10  root     7377:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7378: printf "%s\n" "no" >&6; }
1.1.1.15  root     7379:         ;;
                   7380: esac
1.1.1.10  root     7381: fi
                   7382: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7383: 
                   7384: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5
                   7385: printf %s "checking for pthread_setname_np(name)... " >&6; }
1.1       root     7386: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7387: /* end confdefs.h.  */
1.1.1.3   root     7388: 
                   7389:                #include <pthread.h>
                   7390:                #if defined(HAVE_PTHREAD_NP_H)
                   7391:                #include <pthread_np.h>
                   7392:                #endif
                   7393: 
1.1       root     7394: int
1.1.1.10  root     7395: main (void)
1.1       root     7396: {
                   7397: 
                   7398:                pthread_setname_np("");
                   7399: 
                   7400:   ;
                   7401:   return 0;
                   7402: }
                   7403: _ACEOF
1.1.1.10  root     7404: if ac_fn_cxx_try_compile "$LINENO"
                   7405: then :
                   7406: 
                   7407:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7408: printf "%s\n" "yes" >&6; }
                   7409:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_name 1" >>confdefs.h
                   7410: 
                   7411: 
1.1.1.15  root     7412: else case e in #(
                   7413:   e)
1.1.1.10  root     7414:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7415: printf "%s\n" "no" >&6; }
1.1.1.15  root     7416:         ;;
                   7417: esac
1.1       root     7418: fi
1.1.1.10  root     7419: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7420: 
1.1.1.10  root     7421: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5
                   7422: printf %s "checking for pthread_setname_np(thread, name)... " >&6; }
1.1       root     7423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7424: /* end confdefs.h.  */
1.1.1.3   root     7425: 
                   7426:                #include <pthread.h>
                   7427:                #if defined(HAVE_PTHREAD_NP_H)
                   7428:                #include <pthread_np.h>
                   7429:                #endif
                   7430: 
1.1       root     7431: int
1.1.1.10  root     7432: main (void)
1.1       root     7433: {
                   7434: 
                   7435:                pthread_setname_np(pthread_self(), "");
                   7436: 
                   7437:   ;
                   7438:   return 0;
                   7439: }
                   7440: _ACEOF
1.1.1.10  root     7441: if ac_fn_cxx_try_compile "$LINENO"
                   7442: then :
                   7443: 
                   7444:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7445: printf "%s\n" "yes" >&6; }
                   7446:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name 1" >>confdefs.h
                   7447: 
                   7448: 
1.1.1.15  root     7449: else case e in #(
                   7450:   e)
1.1.1.10  root     7451:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7452: printf "%s\n" "no" >&6; }
1.1.1.15  root     7453:         ;;
                   7454: esac
1.1       root     7455: fi
1.1.1.10  root     7456: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7457: 
1.1.1.10  root     7458: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5
                   7459: printf %s "checking for pthread_setname_np(thread, name, arg)... " >&6; }
1.1       root     7460: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7461: /* end confdefs.h.  */
1.1.1.3   root     7462: 
                   7463:                #include <pthread.h>
                   7464:                #if defined(HAVE_PTHREAD_NP_H)
                   7465:                #include <pthread_np.h>
                   7466:                #endif
                   7467: 
1.1       root     7468: int
1.1.1.10  root     7469: main (void)
1.1       root     7470: {
                   7471: 
                   7472:                pthread_setname_np(pthread_self(), "", (void*)0);
                   7473: 
                   7474:   ;
                   7475:   return 0;
                   7476: }
                   7477: _ACEOF
1.1.1.10  root     7478: if ac_fn_cxx_try_compile "$LINENO"
                   7479: then :
                   7480: 
                   7481:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7482: printf "%s\n" "yes" >&6; }
                   7483:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name_arg 1" >>confdefs.h
                   7484: 
                   7485: 
1.1.1.15  root     7486: else case e in #(
                   7487:   e)
1.1.1.10  root     7488:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7489: printf "%s\n" "no" >&6; }
1.1.1.15  root     7490:         ;;
                   7491: esac
1.1.1.3   root     7492: fi
1.1.1.10  root     7493: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     7494: 
1.1.1.10  root     7495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_set_name_np(thread, name)" >&5
                   7496: printf %s "checking for pthread_set_name_np(thread, name)... " >&6; }
1.1.1.3   root     7497: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7498: /* end confdefs.h.  */
                   7499: 
                   7500:                #include <pthread.h>
                   7501:                #if defined(HAVE_PTHREAD_NP_H)
                   7502:                #include <pthread_np.h>
                   7503:                #endif
                   7504: 
                   7505: int
1.1.1.10  root     7506: main (void)
1.1.1.3   root     7507: {
                   7508: 
                   7509:                pthread_set_name_np(pthread_self(), "");
                   7510: 
                   7511:   ;
                   7512:   return 0;
                   7513: }
                   7514: _ACEOF
1.1.1.10  root     7515: if ac_fn_cxx_try_compile "$LINENO"
                   7516: then :
                   7517: 
                   7518:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7519: printf "%s\n" "yes" >&6; }
                   7520:                printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP_th_name 1" >>confdefs.h
                   7521: 
                   7522: 
1.1.1.15  root     7523: else case e in #(
                   7524:   e)
1.1.1.10  root     7525:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7526: printf "%s\n" "no" >&6; }
1.1.1.15  root     7527:         ;;
                   7528: esac
                   7529: fi
                   7530: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7531: 
                   7532: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setaffinity_np" >&5
                   7533: printf %s "checking for pthread_setaffinity_np... " >&6; }
                   7534: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7535: /* end confdefs.h.  */
                   7536: 
                   7537:                #include <pthread.h>
                   7538:                #if defined(HAVE_PTHREAD_NP_H)
                   7539:                #include <pthread_np.h>
                   7540:                #endif
                   7541: 
                   7542: int
                   7543: main (void)
                   7544: {
                   7545: 
                   7546:                pthread_setaffinity_np(pthread_self(), 0, NULL);
                   7547: 
                   7548:   ;
                   7549:   return 0;
                   7550: }
                   7551: _ACEOF
                   7552: if ac_fn_cxx_try_compile "$LINENO"
                   7553: then :
                   7554: 
                   7555:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7556: printf "%s\n" "yes" >&6; }
                   7557:                printf "%s\n" "#define HAVE_PTHREAD_SETAFFINITY_NP 1" >>confdefs.h
                   7558: 
1.1       root     7559: 
1.1.1.15  root     7560: else case e in #(
                   7561:   e)
                   7562:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7563: printf "%s\n" "no" >&6; }
                   7564:         ;;
                   7565: esac
1.1       root     7566: fi
1.1.1.10  root     7567: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7568: 
1.1.1.15  root     7569: 
1.1.1.8   root     7570: #
                   7571: # Network
                   7572: #
1.1.1.10  root     7573: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AF_PACKET" >&5
                   7574: printf %s "checking for AF_PACKET... " >&6; }
1.1.1.8   root     7575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7576: /* end confdefs.h.  */
                   7577: 
                   7578:                #include <sys/socket.h>
                   7579: 
                   7580: int
1.1.1.10  root     7581: main (void)
1.1.1.8   root     7582: {
                   7583: 
                   7584:                AF_PACKET;
                   7585: 
                   7586:   ;
                   7587:   return 0;
                   7588: }
                   7589: _ACEOF
1.1.1.10  root     7590: if ac_fn_cxx_try_compile "$LINENO"
                   7591: then :
                   7592: 
                   7593:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7594: printf "%s\n" "yes" >&6; }
                   7595:                printf "%s\n" "#define HAVE_HOSTNET_AFPACKET 1" >>confdefs.h
1.1.1.8   root     7596: 
                   7597:                HOSTNET_AFPACKET=yes
                   7598: 
1.1.1.19  root     7599:                netdriver_afpacket=yes
1.1.1.10  root     7600: 
1.1.1.15  root     7601: else case e in #(
                   7602:   e)
1.1.1.10  root     7603:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7604: printf "%s\n" "no" >&6; }
1.1.1.19  root     7605:                netdriver_afpacket=no
1.1.1.15  root     7606:         ;;
                   7607: esac
1.1.1.8   root     7608: fi
1.1.1.10  root     7609: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.8   root     7610: 
1.1.1.10  root     7611: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tap(4)" >&5
                   7612: printf %s "checking for tap(4)... " >&6; }
1.1.1.6   root     7613: case "${host_os}" in
                   7614:  linux*)
                   7615:        if test x"$ac_cv_header_linux_if_tun_h" = xyes; then
1.1.1.8   root     7616:                netdriver_tap=yes
1.1.1.6   root     7617:        fi
                   7618:        ;;
                   7619:  openbsd*)
                   7620:        # OpenBSD has no <net/if_tap.h> but supports tap(4).
1.1.1.8   root     7621:        netdriver_tap=yes
1.1.1.6   root     7622:        ;;
1.1.1.8   root     7623:  *)
1.1.1.6   root     7624:        if test x"$ac_cv_header_net_if_tap_h" = xyes; then
1.1.1.8   root     7625:                netdriver_tap=yes
1.1.1.6   root     7626:        fi
1.1.1.8   root     7627:        ;;
                   7628: esac
                   7629: if test x"$netdriver_tap" = xyes; then
1.1.1.10  root     7630:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7631: printf "%s\n" "yes" >&6; }
                   7632:        printf "%s\n" "#define HAVE_HOSTNET_TAP 1" >>confdefs.h
1.1.1.8   root     7633: 
                   7634:        HOSTNET_TAP=yes
                   7635: 
                   7636: else
1.1.1.10  root     7637:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7638: printf "%s\n" "no" >&6; }
1.1       root     7639: fi
                   7640: 
1.1.1.10  root     7641: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf(4)" >&5
                   7642: printf %s "checking for bpf(4)... " >&6; }
1.1.1.8   root     7643: if test x"$ac_cv_header_net_bpf_h" = xyes; then
1.1.1.10  root     7644:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7645: printf "%s\n" "yes" >&6; }
                   7646:        printf "%s\n" "#define HAVE_HOSTNET_BPF 1" >>confdefs.h
1.1.1.8   root     7647: 
                   7648:        HOSTNET_BPF=yes
                   7649: 
1.1.1.19  root     7650:        netdriver_bpf=yes
1.1.1.8   root     7651: else
1.1.1.10  root     7652:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7653: printf "%s\n" "no" >&6; }
1.1.1.19  root     7654:        netdriver_bpf=no
1.1.1.8   root     7655: fi
1.1       root     7656: 
1.1.1.14  root     7657: #
                   7658: # Other libraries
                   7659: #
                   7660: 
                   7661: 
                   7662: 
                   7663: PATHS="none /usr/pkg /usr/local"
                   7664: 
1.1       root     7665: # libbsd on Linux
1.1.1.10  root     7666: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lc" >&5
                   7667: printf %s "checking for getprogname in -lc... " >&6; }
                   7668: if test ${ac_cv_lib_c_getprogname+y}
                   7669: then :
                   7670:   printf %s "(cached) " >&6
1.1.1.15  root     7671: else case e in #(
                   7672:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7673: LIBS="-lc  $LIBS"
                   7674: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7675: /* end confdefs.h.  */
                   7676: 
1.1.1.10  root     7677: namespace conftest {
                   7678:   extern "C" int getprogname ();
                   7679: }
1.1.1.5   root     7680: int
1.1.1.10  root     7681: main (void)
1.1.1.5   root     7682: {
1.1.1.10  root     7683: return conftest::getprogname ();
1.1.1.5   root     7684:   ;
                   7685:   return 0;
                   7686: }
                   7687: _ACEOF
1.1.1.10  root     7688: if ac_fn_cxx_try_link "$LINENO"
                   7689: then :
1.1.1.5   root     7690:   ac_cv_lib_c_getprogname=yes
1.1.1.15  root     7691: else case e in #(
                   7692:   e) ac_cv_lib_c_getprogname=no ;;
                   7693: esac
1.1.1.5   root     7694: fi
1.1.1.10  root     7695: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7696:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7697: LIBS=$ac_check_lib_save_LIBS ;;
                   7698: esac
1.1.1.5   root     7699: fi
1.1.1.10  root     7700: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getprogname" >&5
                   7701: printf "%s\n" "$ac_cv_lib_c_getprogname" >&6; }
                   7702: if test "x$ac_cv_lib_c_getprogname" = xyes
                   7703: then :
                   7704:   printf "%s\n" "#define HAVE_LIBC 1" >>confdefs.h
1.1.1.5   root     7705: 
                   7706:   LIBS="-lc $LIBS"
                   7707: 
                   7708: fi
                   7709: 
1.1.1.10  root     7710: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5
                   7711: printf %s "checking for getprogname in -lbsd... " >&6; }
                   7712: if test ${ac_cv_lib_bsd_getprogname+y}
                   7713: then :
                   7714:   printf %s "(cached) " >&6
1.1.1.15  root     7715: else case e in #(
                   7716:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7717: LIBS="-lbsd  $LIBS"
                   7718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7719: /* end confdefs.h.  */
                   7720: 
1.1.1.10  root     7721: namespace conftest {
                   7722:   extern "C" int getprogname ();
                   7723: }
1.1       root     7724: int
1.1.1.10  root     7725: main (void)
1.1       root     7726: {
1.1.1.10  root     7727: return conftest::getprogname ();
1.1       root     7728:   ;
                   7729:   return 0;
                   7730: }
                   7731: _ACEOF
1.1.1.10  root     7732: if ac_fn_cxx_try_link "$LINENO"
                   7733: then :
1.1       root     7734:   ac_cv_lib_bsd_getprogname=yes
1.1.1.15  root     7735: else case e in #(
                   7736:   e) ac_cv_lib_bsd_getprogname=no ;;
                   7737: esac
1.1       root     7738: fi
1.1.1.10  root     7739: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7740:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7741: LIBS=$ac_check_lib_save_LIBS ;;
                   7742: esac
1.1       root     7743: fi
1.1.1.10  root     7744: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5
                   7745: printf "%s\n" "$ac_cv_lib_bsd_getprogname" >&6; }
                   7746: if test "x$ac_cv_lib_bsd_getprogname" = xyes
                   7747: then :
1.1.1.6   root     7748:   LIBS="${LIBS} -lbsd"
1.1       root     7749: 
                   7750: fi
                   7751: 
1.1.1.5   root     7752: # なければ停止する
                   7753: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7754: /* end confdefs.h.  */
                   7755: 
                   7756:                #include <stdlib.h>
                   7757:                #include "confdefs.h"
                   7758:                #if defined(HAVE_BSD_BSD_H)
                   7759:                #include <bsd/bsd.h>
                   7760:                #endif
                   7761: 
                   7762: int
1.1.1.10  root     7763: main (void)
1.1.1.5   root     7764: {
                   7765: 
                   7766:                getprogname()
                   7767: 
                   7768:   ;
                   7769:   return 0;
                   7770: }
                   7771: _ACEOF
1.1.1.10  root     7772: if ac_fn_cxx_try_compile "$LINENO"
                   7773: then :
1.1.1.5   root     7774: 
1.1.1.10  root     7775:        # nothing to do on success
                   7776: 
1.1.1.15  root     7777: else case e in #(
                   7778:   e)
1.1.1.10  root     7779:                as_fn_error $? "*** getprogname is not found.
1.1.1.7   root     7780: *** If you use Ubuntu, sudo apt install libbsd-dev" "$LINENO" 5
1.1.1.5   root     7781: 
1.1.1.15  root     7782:  ;;
                   7783: esac
1.1.1.5   root     7784: fi
1.1.1.10  root     7785: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7786: 
                   7787: # libkqueue on Linux
1.1.1.10  root     7788: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5
                   7789: printf %s "checking for kqueue in -lkqueue... " >&6; }
                   7790: if test ${ac_cv_lib_kqueue_kqueue+y}
                   7791: then :
                   7792:   printf %s "(cached) " >&6
1.1.1.15  root     7793: else case e in #(
                   7794:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7795: LIBS="-lkqueue  $LIBS"
                   7796: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7797: /* end confdefs.h.  */
                   7798: 
1.1.1.10  root     7799: namespace conftest {
                   7800:   extern "C" int kqueue ();
                   7801: }
1.1       root     7802: int
1.1.1.10  root     7803: main (void)
1.1       root     7804: {
1.1.1.10  root     7805: return conftest::kqueue ();
1.1       root     7806:   ;
                   7807:   return 0;
                   7808: }
                   7809: _ACEOF
1.1.1.10  root     7810: if ac_fn_cxx_try_link "$LINENO"
                   7811: then :
1.1       root     7812:   ac_cv_lib_kqueue_kqueue=yes
1.1.1.15  root     7813: else case e in #(
                   7814:   e) ac_cv_lib_kqueue_kqueue=no ;;
                   7815: esac
1.1       root     7816: fi
1.1.1.10  root     7817: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7818:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7819: LIBS=$ac_check_lib_save_LIBS ;;
                   7820: esac
1.1       root     7821: fi
1.1.1.10  root     7822: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5
                   7823: printf "%s\n" "$ac_cv_lib_kqueue_kqueue" >&6; }
                   7824: if test "x$ac_cv_lib_kqueue_kqueue" = xyes
                   7825: then :
1.1.1.6   root     7826:   LIBS="${LIBS} -lkqueue"
1.1       root     7827: 
                   7828: fi
                   7829: 
                   7830: 
1.1.1.10  root     7831: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
                   7832: printf %s "checking for gzclose in -lz... " >&6; }
                   7833: if test ${ac_cv_lib_z_gzclose+y}
                   7834: then :
                   7835:   printf %s "(cached) " >&6
1.1.1.15  root     7836: else case e in #(
                   7837:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7838: LIBS="-lz  $LIBS"
                   7839: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7840: /* end confdefs.h.  */
                   7841: 
1.1.1.10  root     7842: namespace conftest {
                   7843:   extern "C" int gzclose ();
                   7844: }
1.1.1.5   root     7845: int
1.1.1.10  root     7846: main (void)
1.1.1.5   root     7847: {
1.1.1.10  root     7848: return conftest::gzclose ();
1.1.1.5   root     7849:   ;
                   7850:   return 0;
                   7851: }
                   7852: _ACEOF
1.1.1.10  root     7853: if ac_fn_cxx_try_link "$LINENO"
                   7854: then :
1.1.1.5   root     7855:   ac_cv_lib_z_gzclose=yes
1.1.1.15  root     7856: else case e in #(
                   7857:   e) ac_cv_lib_z_gzclose=no ;;
                   7858: esac
1.1.1.5   root     7859: fi
1.1.1.10  root     7860: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7861:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7862: LIBS=$ac_check_lib_save_LIBS ;;
                   7863: esac
1.1.1.5   root     7864: fi
1.1.1.10  root     7865: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
                   7866: printf "%s\n" "$ac_cv_lib_z_gzclose" >&6; }
                   7867: if test "x$ac_cv_lib_z_gzclose" = xyes
                   7868: then :
1.1.1.6   root     7869:   LIBS="${LIBS} -lz"
1.1.1.15  root     7870: else case e in #(
                   7871:   e) as_fn_error $? "*** zlib is not found.
1.1.1.7   root     7872: *** If use use Ubuntu, sudo apt install zlib1g-dev" "$LINENO" 5
1.1.1.15  root     7873:  ;;
                   7874: esac
1.1.1.5   root     7875: fi
                   7876: 
                   7877: 
1.1.1.16  root     7878: # libslirp
                   7879: 
                   7880: # Check whether --with-libslirp was given.
                   7881: if test ${with_libslirp+y}
                   7882: then :
                   7883:   withval=$with_libslirp;
                   7884: else case e in #(
                   7885:   e) with_libslirp=yes ;;
                   7886: esac
                   7887: fi
                   7888: 
                   7889: 
                   7890: if test "x$with_libslirp" != "xno"
                   7891: then :
                   7892: 
                   7893: 
                   7894:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libslirp" >&5
                   7895: printf %s "checking for libslirp... " >&6; }
1.1.1.17  root     7896:        old_CPPFLAGS=${CPPFLAGS}
                   7897:        old_LIBS=${LIBS}
1.1.1.16  root     7898:        for path in ${PATHS}; do
                   7899:                case ${path} in
                   7900:                 none)
1.1.1.17  root     7901:                        LIBS="-lslirp"
1.1.1.16  root     7902:                        ;;
                   7903:                 *)
1.1.1.17  root     7904:                        CPPFLAGS="-I${path}/include"
                   7905:                        LIBS="-L${path}/lib -lslirp"
1.1.1.16  root     7906:                        ;;
                   7907:                esac
                   7908:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7909: /* end confdefs.h.  */
                   7910: 
                   7911:                #include <slirp/libslirp.h>
                   7912: 
                   7913: int
                   7914: main (void)
                   7915: {
                   7916: 
                   7917:                slirp_version_string();
                   7918: 
                   7919:   ;
                   7920:   return 0;
                   7921: }
                   7922: _ACEOF
                   7923: if ac_fn_cxx_try_link "$LINENO"
                   7924: then :
                   7925: 
                   7926:                        has_libslirp=yes
1.1.1.17  root     7927: 
                   7928:                                                if test "$cross_compiling" = yes
                   7929: then :
                   7930:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7931: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   7932: as_fn_error $? "cannot run test program while cross compiling
                   7933: See 'config.log' for more details" "$LINENO" 5; }
                   7934: else case e in #(
                   7935:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7936: /* end confdefs.h.  */
                   7937: 
                   7938: 
                   7939:                #include <slirp/libslirp.h>
                   7940: 
                   7941:                                int main() {
                   7942: 
                   7943:                slirp_version_string();
                   7944:        ;
                   7945:                                        return 0;
                   7946:                                }
                   7947: 
                   7948: _ACEOF
                   7949: if ac_fn_cxx_try_run "$LINENO"
                   7950: then :
                   7951: 
                   7952: 
                   7953: else case e in #(
                   7954:   e)
                   7955:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -lslirp"
                   7956:                         ;;
                   7957: esac
                   7958: fi
                   7959: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7960:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   7961: esac
                   7962: fi
                   7963: 
                   7964: 
1.1.1.16  root     7965:                        break
                   7966: 
                   7967: else case e in #(
                   7968:   e)
                   7969:                        has_libslirp=no
                   7970:                 ;;
                   7971: esac
                   7972: fi
                   7973: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7974:     conftest$ac_exeext conftest.$ac_ext
                   7975:        done
                   7976:        if test x"${has_libslirp}" = x"yes"; then
                   7977:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7978: printf "%s\n" "yes" >&6; }
1.1.1.17  root     7979:                CPPFLAGS_libslirp=${CPPFLAGS}
                   7980:                LIBS_libslirp=${LIBS}
1.1.1.16  root     7981:        else
                   7982:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7983: printf "%s\n" "no" >&6; }
                   7984:        fi
1.1.1.17  root     7985:        CPPFLAGS=${old_CPPFLAGS}
                   7986:        LIBS=${old_LIBS}
1.1.1.16  root     7987: 
                   7988:        if test x"${has_libslirp}" = x"yes"; then
                   7989:                printf "%s\n" "#define HAVE_HOSTNET_SLIRP 1" >>confdefs.h
                   7990: 
                   7991:                HOSTNET_SLIRP=yes
                   7992: 
1.1.1.17  root     7993:                CPPFLAGS_SLIRP=${CPPFLAGS_libslirp}
                   7994: 
                   7995:                LIBS_SLIRP=${LIBS_libslirp}
                   7996: 
1.1.1.16  root     7997:        else
                   7998:                as_fn_error $? "*** libslirp is not found.
                   7999: *** If use use pkgsrc, install net/libslirp.
                   8000: *** If you use Ubuntu, sudo apt install libslirp-dev.
                   8001: *** Or specify --without-libslirp (it disables hostnet-driver=usermode)." "$LINENO" 5
                   8002:        fi
                   8003: 
                   8004: else case e in #(
                   8005:   e)
                   8006:        HOSTNET_SLIRP=no
                   8007: 
                   8008:  ;;
                   8009: esac
                   8010: fi
                   8011: 
1.1.1.19  root     8012: # ALSA
                   8013: case "${host_os}" in
                   8014:  linux*)
                   8015:        default_alsa=yes
                   8016:        ;;
                   8017:  *)
                   8018:        default_alsa=no
                   8019:        ;;
                   8020: esac
                   8021: 
                   8022: # Check whether --with-alsa was given.
                   8023: if test ${with_alsa+y}
                   8024: then :
                   8025:   withval=$with_alsa; with_alsa=${withval}
                   8026: else case e in #(
                   8027:   e) with_alsa=${default_alsa} ;;
                   8028: esac
                   8029: fi
                   8030: 
                   8031: sounddriver_alsa=no
                   8032: if test x"${with_alsa}" = xyes; then
                   8033:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
                   8034: printf %s "checking for snd_pcm_open in -lasound... " >&6; }
                   8035: if test ${ac_cv_lib_asound_snd_pcm_open+y}
                   8036: then :
                   8037:   printf %s "(cached) " >&6
                   8038: else case e in #(
                   8039:   e) ac_check_lib_save_LIBS=$LIBS
                   8040: LIBS="-lasound  $LIBS"
                   8041: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8042: /* end confdefs.h.  */
                   8043: 
                   8044: namespace conftest {
                   8045:   extern "C" int snd_pcm_open ();
                   8046: }
                   8047: int
                   8048: main (void)
                   8049: {
                   8050: return conftest::snd_pcm_open ();
                   8051:   ;
                   8052:   return 0;
                   8053: }
                   8054: _ACEOF
                   8055: if ac_fn_cxx_try_link "$LINENO"
                   8056: then :
                   8057:   ac_cv_lib_asound_snd_pcm_open=yes
                   8058: else case e in #(
                   8059:   e) ac_cv_lib_asound_snd_pcm_open=no ;;
                   8060: esac
                   8061: fi
                   8062: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   8063:     conftest$ac_exeext conftest.$ac_ext
                   8064: LIBS=$ac_check_lib_save_LIBS ;;
                   8065: esac
                   8066: fi
                   8067: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5
                   8068: printf "%s\n" "$ac_cv_lib_asound_snd_pcm_open" >&6; }
                   8069: if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes
                   8070: then :
                   8071:   has_asound=yes
                   8072: else case e in #(
                   8073:   e) has_asound=no ;;
                   8074: esac
                   8075: fi
                   8076: 
                   8077:        if test x"${ac_cv_header_alsa_asoundlib_h}" = xyes -a \
                   8078:                x"${ac_cv_lib_asound_snd_pcm_open}" = xyes; then
                   8079:                printf "%s\n" "#define HAVE_HOSTSOUND_ALSA 1" >>confdefs.h
                   8080: 
                   8081:                HOSTSOUND_ALSA=yes
                   8082: 
                   8083:                LIBS_SOUND="${LIBS_SOUND} -lasound"
                   8084:                sounddriver_alsa=yes
                   8085:        else
                   8086:                as_fn_error $? "*** <alsa/asoundlib.h> or libasound not found.
                   8087: *** If you use Ubuntu, sudo apt install libasound2-dev.
                   8088: *** Or specify --without-alsa (it disables hostsound-driver=alsa)." "$LINENO" 5
                   8089:        fi
                   8090: fi
                   8091: 
                   8092: # NetBSD audio
                   8093: if test x"${ac_cv_header_sys_audioio_h}" = xyes; then
                   8094:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AUDIO_GETINFO" >&5
                   8095: printf %s "checking for AUDIO_GETINFO... " >&6; }
                   8096:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8097: /* end confdefs.h.  */
                   8098: 
                   8099:                #include <sys/ioctl.h>
                   8100:                #include <sys/audioio.h>
                   8101:                #include <unistd.h>
                   8102: 
                   8103: int
                   8104: main (void)
                   8105: {
                   8106: 
                   8107:                struct audio_info info;
                   8108:                AUDIO_INITINFO(&info);
                   8109:                ioctl(0, AUDIO_GETINFO, &info);
                   8110: 
                   8111:   ;
                   8112:   return 0;
                   8113: }
                   8114: _ACEOF
                   8115: if ac_fn_cxx_try_compile "$LINENO"
                   8116: then :
                   8117: 
                   8118:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8119: printf "%s\n" "yes" >&6; }
                   8120:                printf "%s\n" "#define HAVE_HOSTSOUND_NETBSD 1" >>confdefs.h
                   8121: 
                   8122:                HOSTSOUND_NETBSD=yes
                   8123: 
                   8124:                sounddriver_netbsd=yes
                   8125: 
                   8126: else case e in #(
                   8127:   e)
                   8128:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8129: printf "%s\n" "no" >&6; }
                   8130:                sounddriver_netbsd=no
                   8131:         ;;
                   8132: esac
                   8133: fi
                   8134: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8135: fi
                   8136: 
                   8137: # OpenBSD sndio
                   8138: if test x"${ac_cv_header_sndio_h}" = xyes; then
                   8139:        printf "%s\n" "#define HAVE_HOSTSOUND_SNDIO 1" >>confdefs.h
                   8140: 
                   8141:        HOSTSOUND_SNDIO=yes
                   8142: 
                   8143:        LIBS_SOUND="${LIBS_SOUND} -lsndio"
                   8144:        sounddriver_sndio=yes
                   8145: else
                   8146:        sounddriver_sndio=no
                   8147: fi
                   8148: 
                   8149: LIBS_SOUND=${LIBS_SOUND}
                   8150: 
                   8151: 
1.1       root     8152: # wxWidgets
1.1.1.10  root     8153: 
                   8154: # Check whether --with-gui was given.
                   8155: if test ${with_gui+y}
                   8156: then :
                   8157:   withval=$with_gui;
1.1.1.15  root     8158: else case e in #(
                   8159:   e) with_gui=yes ;;
                   8160: esac
1.1.1.10  root     8161: fi
                   8162: 
                   8163: 
                   8164: if test "x$with_gui" != xno
                   8165: then :
                   8166: 
                   8167:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
                   8168: printf %s "checking for wx-config... " >&6; }
1.1.1.14  root     8169:        wxconfig_paths="${WX_CONFIG} wx-config-3.2 wx-config-3.0 wx-config"
1.1.1.10  root     8170:        wxconfig=""
                   8171:        for c in ${wxconfig_paths}; do
                   8172:                ver=`$c --version 2>&1 | cut -f 1 -d .`
                   8173:                if test "$ver" = "3"; then
                   8174:                        wxconfig=$c
                   8175:                        break
                   8176:                fi
                   8177:        done
                   8178:        if test -z "$wxconfig"; then
1.1.1.14  root     8179:                as_fn_error $? "*** wxWidgets-3.2 nor -3.0 not found in ${wxconfig_paths}
                   8180: *** If you use pkgsrc, install x11/wxGTK32.
1.1.1.7   root     8181: *** If you use Ubuntu, sudo apt install libwxgtk3.0-gtk3-dev" "$LINENO" 5
1.1.1.10  root     8182:        else
                   8183:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5
                   8184: printf "%s\n" "$wxconfig" >&6; }
1.1       root     8185: 
1.1.1.10  root     8186:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5
                   8187: printf %s "checking for wxWidgets version... " >&6; }
                   8188:                wxversion=`$wxconfig --version`
                   8189:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5
                   8190: printf "%s\n" "$wxversion" >&6; }
1.1.1.14  root     8191:                wxmajorminor=`echo $wxversion | awk -F . '{print $1 $2}'`
                   8192:                WX_MAJORMINOR=${wxmajorminor}
                   8193: 
1.1.1.10  root     8194: 
                   8195:                wxcppflags=`$wxconfig --cppflags`
                   8196:                wxlibs=`$wxconfig --libs`
                   8197: 
                   8198:                case "${host_os}" in
                   8199:                 darwin*)
                   8200:                        # XXX -framework AudioToolbox が指定されているとリンカがこけるorz
                   8201:                        wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'`
                   8202:                        ;;
                   8203:                esac
1.1       root     8204: 
1.1.1.18  root     8205:                                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wx-config requires -Wl,-R" >&5
                   8206: printf %s "checking whether wx-config requires -Wl,-R... " >&6; }
                   8207:                old_CPPFLAGS="${CPPFLAGS}"
                   8208:                old_LIBS="${LIBS}"
                   8209:                CPPFLAGS="${CPPFLAGS} ${wxcppflags}"
                   8210:                LIBS="${LIBS} ${wxlibs}"
                   8211:                if test "$cross_compiling" = yes
1.1.1.17  root     8212: then :
                   8213:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   8214: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   8215: as_fn_error $? "cannot run test program while cross compiling
                   8216: See 'config.log' for more details" "$LINENO" 5; }
                   8217: else case e in #(
                   8218:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8219: /* end confdefs.h.  */
                   8220: 
                   8221:                        #include <wx/wx.h>
1.1.1.18  root     8222:                        int main() {
                   8223:                                wxInitializer init;
                   8224:                                return !init;
                   8225:                        }
1.1.1.17  root     8226: 
                   8227: _ACEOF
                   8228: if ac_fn_cxx_try_run "$LINENO"
                   8229: then :
                   8230: 
1.1.1.18  root     8231:                                                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8232: printf "%s\n" "no" >&6; }
1.1.1.17  root     8233: 
                   8234: else case e in #(
                   8235:   e)
1.1.1.18  root     8236:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8237: printf "%s\n" "yes" >&6; }
1.1.1.17  root     8238:                        wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'`
                   8239:                 ;;
                   8240: esac
                   8241: fi
                   8242: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8243:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   8244: esac
                   8245: fi
                   8246: 
1.1.1.18  root     8247:                CPPFLAGS="${old_CPPFLAGS}"
                   8248:                LIBS="${old_LIBS}"
1.1.1.17  root     8249: 
1.1.1.10  root     8250:                WITH_GUI=yes
1.1       root     8251: 
1.1.1.17  root     8252:                CPPFLAGS_WXWIDGETS=$wxcppflags
1.1       root     8253: 
1.1.1.17  root     8254:                LIBS_WXWIDGETS=$wxlibs
1.1       root     8255: 
1.1.1.10  root     8256:        fi
                   8257: 
                   8258:        # gettext
                   8259:        if test -n "$ac_tool_prefix"; then
1.1.1.5   root     8260:   # Extract the first word of "${ac_tool_prefix}msgfmt", so it can be a program name with args.
                   8261: set dummy ${ac_tool_prefix}msgfmt; ac_word=$2
1.1.1.10  root     8262: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8263: printf %s "checking for $ac_word... " >&6; }
                   8264: if test ${ac_cv_prog_MSGFMT+y}
                   8265: then :
                   8266:   printf %s "(cached) " >&6
1.1.1.15  root     8267: else case e in #(
                   8268:   e) if test -n "$MSGFMT"; then
1.1.1.5   root     8269:   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
                   8270: else
                   8271: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8272: for as_dir in $PATH
                   8273: do
                   8274:   IFS=$as_save_IFS
1.1.1.10  root     8275:   case $as_dir in #(((
                   8276:     '') as_dir=./ ;;
                   8277:     */) ;;
                   8278:     *) as_dir=$as_dir/ ;;
                   8279:   esac
1.1.1.5   root     8280:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     8281:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     8282:     ac_cv_prog_MSGFMT="${ac_tool_prefix}msgfmt"
1.1.1.10  root     8283:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     8284:     break 2
                   8285:   fi
                   8286: done
                   8287:   done
                   8288: IFS=$as_save_IFS
                   8289: 
1.1.1.15  root     8290: fi ;;
                   8291: esac
1.1.1.5   root     8292: fi
                   8293: MSGFMT=$ac_cv_prog_MSGFMT
                   8294: if test -n "$MSGFMT"; then
1.1.1.10  root     8295:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
                   8296: printf "%s\n" "$MSGFMT" >&6; }
1.1.1.5   root     8297: else
1.1.1.10  root     8298:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8299: printf "%s\n" "no" >&6; }
1.1.1.5   root     8300: fi
                   8301: 
                   8302: 
                   8303: fi
                   8304: if test -z "$ac_cv_prog_MSGFMT"; then
                   8305:   ac_ct_MSGFMT=$MSGFMT
                   8306:   # Extract the first word of "msgfmt", so it can be a program name with args.
                   8307: set dummy msgfmt; ac_word=$2
1.1.1.10  root     8308: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8309: printf %s "checking for $ac_word... " >&6; }
                   8310: if test ${ac_cv_prog_ac_ct_MSGFMT+y}
                   8311: then :
                   8312:   printf %s "(cached) " >&6
1.1.1.15  root     8313: else case e in #(
                   8314:   e) if test -n "$ac_ct_MSGFMT"; then
1.1.1.5   root     8315:   ac_cv_prog_ac_ct_MSGFMT="$ac_ct_MSGFMT" # Let the user override the test.
                   8316: else
                   8317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8318: for as_dir in $PATH
                   8319: do
                   8320:   IFS=$as_save_IFS
1.1.1.10  root     8321:   case $as_dir in #(((
                   8322:     '') as_dir=./ ;;
                   8323:     */) ;;
                   8324:     *) as_dir=$as_dir/ ;;
                   8325:   esac
1.1.1.5   root     8326:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     8327:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     8328:     ac_cv_prog_ac_ct_MSGFMT="msgfmt"
1.1.1.10  root     8329:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     8330:     break 2
                   8331:   fi
                   8332: done
                   8333:   done
                   8334: IFS=$as_save_IFS
                   8335: 
1.1.1.15  root     8336: fi ;;
                   8337: esac
1.1.1.5   root     8338: fi
                   8339: ac_ct_MSGFMT=$ac_cv_prog_ac_ct_MSGFMT
                   8340: if test -n "$ac_ct_MSGFMT"; then
1.1.1.10  root     8341:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MSGFMT" >&5
                   8342: printf "%s\n" "$ac_ct_MSGFMT" >&6; }
1.1.1.5   root     8343: else
1.1.1.10  root     8344:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8345: printf "%s\n" "no" >&6; }
1.1.1.5   root     8346: fi
                   8347: 
                   8348:   if test "x$ac_ct_MSGFMT" = x; then
                   8349:     MSGFMT=":"
                   8350:   else
                   8351:     case $cross_compiling:$ac_tool_warned in
                   8352: yes:)
1.1.1.10  root     8353: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8354: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.1.5   root     8355: ac_tool_warned=yes ;;
                   8356: esac
                   8357:     MSGFMT=$ac_ct_MSGFMT
                   8358:   fi
                   8359: else
                   8360:   MSGFMT="$ac_cv_prog_MSGFMT"
                   8361: fi
                   8362: 
1.1.1.10  root     8363:        if test $MSGFMT = :; then
                   8364:                as_fn_error $? "*** msgfmt not found.
1.1.1.7   root     8365: *** If you use pkgsrc, install devel/gettext-tools.
                   8366: *** If you use Ubuntu, sudo apt install gettext" "$LINENO" 5
1.1.1.10  root     8367:        fi
                   8368: 
1.1.1.15  root     8369: else case e in #(
                   8370:   e)
1.1.1.10  root     8371:        WITH_GUI=no
                   8372: 
1.1.1.15  root     8373:  ;;
                   8374: esac
1.1.1.5   root     8375: fi
                   8376: 
1.1.1.14  root     8377: # iconv は util/ でのみ必要。
                   8378: 
1.1.1.15  root     8379:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv" >&5
                   8380: printf %s "checking for libiconv... " >&6; }
1.1.1.17  root     8381:        old_CPPFLAGS=${CPPFLAGS}
                   8382:        old_LIBS=${LIBS}
1.1.1.14  root     8383:        for path in ${PATHS}; do
                   8384:                case ${path} in
                   8385:                 none)
1.1.1.17  root     8386:                        LIBS="-liconv"
1.1.1.14  root     8387:                        ;;
                   8388:                 *)
1.1.1.17  root     8389:                        CPPFLAGS="-I${path}/include"
                   8390:                        LIBS="-L${path}/lib -liconv"
1.1.1.14  root     8391:                        ;;
                   8392:                esac
                   8393:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8394: /* end confdefs.h.  */
                   8395: 
                   8396:        #include <iconv.h>
                   8397: 
                   8398: int
                   8399: main (void)
                   8400: {
                   8401: 
                   8402:        iconv_open("", "");
                   8403: 
                   8404:   ;
                   8405:   return 0;
                   8406: }
                   8407: _ACEOF
                   8408: if ac_fn_cxx_try_link "$LINENO"
                   8409: then :
                   8410: 
1.1.1.15  root     8411:                        has_libiconv=yes
1.1.1.17  root     8412: 
                   8413:                                                if test "$cross_compiling" = yes
                   8414: then :
                   8415:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   8416: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   8417: as_fn_error $? "cannot run test program while cross compiling
                   8418: See 'config.log' for more details" "$LINENO" 5; }
                   8419: else case e in #(
                   8420:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8421: /* end confdefs.h.  */
                   8422: 
                   8423: 
                   8424:        #include <iconv.h>
                   8425: 
                   8426:                                int main() {
                   8427: 
                   8428:        iconv_open("", "");
                   8429: ;
                   8430:                                        return 0;
                   8431:                                }
                   8432: 
                   8433: _ACEOF
                   8434: if ac_fn_cxx_try_run "$LINENO"
                   8435: then :
                   8436: 
                   8437: 
                   8438: else case e in #(
                   8439:   e)
                   8440:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -liconv"
                   8441:                         ;;
                   8442: esac
                   8443: fi
                   8444: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8445:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   8446: esac
                   8447: fi
                   8448: 
                   8449: 
1.1.1.14  root     8450:                        break
                   8451: 
1.1.1.15  root     8452: else case e in #(
                   8453:   e)
                   8454:                        has_libiconv=no
                   8455:                 ;;
                   8456: esac
1.1.1.14  root     8457: fi
                   8458: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   8459:     conftest$ac_exeext conftest.$ac_ext
                   8460:        done
1.1.1.15  root     8461:        if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8462:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8463: printf "%s\n" "yes" >&6; }
1.1.1.17  root     8464:                CPPFLAGS_libiconv=${CPPFLAGS}
                   8465:                LIBS_libiconv=${LIBS}
1.1.1.14  root     8466:        else
                   8467:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8468: printf "%s\n" "no" >&6; }
                   8469:        fi
1.1.1.17  root     8470:        CPPFLAGS=${old_CPPFLAGS}
                   8471:        LIBS=${old_LIBS}
                   8472: 
                   8473: CPPFLAGS_ICONV=${CPPFLAGS_libiconv}
                   8474: 
                   8475: LIBS_ICONV=${LIBS_libiconv}
1.1.1.14  root     8476: 
                   8477: 
1.1.1.15  root     8478: if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8479:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iconv needs const" >&5
                   8480: printf %s "checking whether iconv needs const... " >&6; }
                   8481:        old_CPPFLAGS="${CPPFLAGS}"
1.1.1.17  root     8482:        CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_libiconv} -Werror"
1.1.1.14  root     8483:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8484: /* end confdefs.h.  */
                   8485: 
                   8486:                        #include <iconv.h>
                   8487: 
                   8488: int
                   8489: main (void)
                   8490: {
                   8491: 
                   8492:                        const char **a;
                   8493:                        iconv(0, a, 0, 0, 0);
                   8494: 
                   8495:   ;
                   8496:   return 0;
                   8497: }
                   8498: _ACEOF
                   8499: if ac_fn_cxx_try_compile "$LINENO"
                   8500: then :
                   8501: 
                   8502:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8503: printf "%s\n" "yes" >&6; }
                   8504:                        printf "%s\n" "#define HAVE_ICONV_CONST 1" >>confdefs.h
                   8505: 
                   8506: 
1.1.1.15  root     8507: else case e in #(
                   8508:   e)
1.1.1.14  root     8509:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8510: printf "%s\n" "no" >&6; }
1.1.1.15  root     8511:                 ;;
                   8512: esac
1.1.1.14  root     8513: fi
                   8514: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8515:        CPPFLAGS="${old_CPPFLAGS}"
                   8516: fi
                   8517: 
1.1.1.17  root     8518: ac_config_files="$ac_config_files Makefile.cfg"
1.1       root     8519: 
1.1.1.2   root     8520: ac_config_headers="$ac_config_headers config-nono.h"
1.1       root     8521: 
                   8522: cat >confcache <<\_ACEOF
                   8523: # This file is a shell script that caches the results of configure
                   8524: # tests run on this system so they can be shared between configure
                   8525: # scripts and configure runs, see configure's option --config-cache.
                   8526: # It is not useful on other systems.  If it contains results you don't
                   8527: # want to keep, you may remove or edit it.
                   8528: #
                   8529: # config.status only pays attention to the cache file if you give it
                   8530: # the --recheck option to rerun configure.
                   8531: #
1.1.1.15  root     8532: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   8533: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.1       root     8534: # following values.
                   8535: 
                   8536: _ACEOF
                   8537: 
                   8538: # The following way of writing the cache mishandles newlines in values,
                   8539: # but we know of no workaround that is simple, portable, and efficient.
                   8540: # So, we kill variables containing newlines.
                   8541: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8542: # and sets the high bit in the cache file unless we assign to the vars.
                   8543: (
                   8544:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   8545:     eval ac_val=\$$ac_var
                   8546:     case $ac_val in #(
                   8547:     *${as_nl}*)
                   8548:       case $ac_var in #(
1.1.1.10  root     8549:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   8550: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     8551:       esac
                   8552:       case $ac_var in #(
                   8553:       _ | IFS | as_nl) ;; #(
                   8554:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   8555:       *) { eval $ac_var=; unset $ac_var;} ;;
                   8556:       esac ;;
                   8557:     esac
                   8558:   done
                   8559: 
                   8560:   (set) 2>&1 |
                   8561:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   8562:     *${as_nl}ac_space=\ *)
1.1.1.15  root     8563:       # 'set' does not quote correctly, so add quotes: double-quote
1.1       root     8564:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   8565:       sed -n \
                   8566:        "s/'/'\\\\''/g;
                   8567:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   8568:       ;; #(
                   8569:     *)
1.1.1.15  root     8570:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.1       root     8571:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   8572:       ;;
                   8573:     esac |
                   8574:     sort
                   8575: ) |
                   8576:   sed '
                   8577:      /^ac_cv_env_/b end
                   8578:      t clear
                   8579:      :clear
1.1.1.10  root     8580:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.1       root     8581:      t end
                   8582:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   8583:      :end' >>confcache
                   8584: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   8585:   if test -w "$cache_file"; then
                   8586:     if test "x$cache_file" != "x/dev/null"; then
1.1.1.10  root     8587:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   8588: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.1       root     8589:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   8590:        cat confcache >"$cache_file"
                   8591:       else
                   8592:         case $cache_file in #(
                   8593:         */* | ?:*)
                   8594:          mv -f confcache "$cache_file"$$ &&
                   8595:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   8596:         *)
                   8597:          mv -f confcache "$cache_file" ;;
                   8598:        esac
                   8599:       fi
                   8600:     fi
                   8601:   else
1.1.1.10  root     8602:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   8603: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     8604:   fi
                   8605: fi
                   8606: rm -f confcache
                   8607: 
                   8608: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   8609: # Let make expand exec_prefix.
                   8610: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   8611: 
                   8612: DEFS=-DHAVE_CONFIG_H
                   8613: 
                   8614: ac_libobjs=
                   8615: ac_ltlibobjs=
                   8616: U=
                   8617: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   8618:   # 1. Remove the extension, and $U if already installed.
                   8619:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.10  root     8620:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.1       root     8621:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   8622:   #    will be set to the directory where LIBOBJS objects are built.
                   8623:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   8624:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   8625: done
                   8626: LIBOBJS=$ac_libobjs
                   8627: 
                   8628: LTLIBOBJS=$ac_ltlibobjs
                   8629: 
                   8630: 
                   8631: 
                   8632: : "${CONFIG_STATUS=./config.status}"
                   8633: ac_write_fail=0
                   8634: ac_clean_files_save=$ac_clean_files
                   8635: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.10  root     8636: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   8637: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.1       root     8638: as_write_fail=0
                   8639: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   8640: #! $SHELL
                   8641: # Generated by $as_me.
                   8642: # Run this file to recreate the current configuration.
                   8643: # Compiler output produced by configure, useful for debugging
                   8644: # configure, is in config.log if it exists.
                   8645: 
                   8646: debug=false
                   8647: ac_cs_recheck=false
                   8648: ac_cs_silent=false
                   8649: 
                   8650: SHELL=\${CONFIG_SHELL-$SHELL}
                   8651: export SHELL
                   8652: _ASEOF
                   8653: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   8654: ## -------------------- ##
                   8655: ## M4sh Initialization. ##
                   8656: ## -------------------- ##
                   8657: 
                   8658: # Be more Bourne compatible
                   8659: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10  root     8660: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   8661: then :
1.1       root     8662:   emulate sh
                   8663:   NULLCMD=:
                   8664:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   8665:   # is contrary to our usage.  Disable this feature.
                   8666:   alias -g '${1+"$@"}'='"$@"'
                   8667:   setopt NO_GLOB_SUBST
1.1.1.15  root     8668: else case e in #(
                   8669:   e) case `(set -o) 2>/dev/null` in #(
1.1       root     8670:   *posix*) :
                   8671:     set -o posix ;; #(
                   8672:   *) :
                   8673:      ;;
1.1.1.15  root     8674: esac ;;
1.1       root     8675: esac
                   8676: fi
                   8677: 
                   8678: 
1.1.1.10  root     8679: 
                   8680: # Reset variables that may have inherited troublesome values from
                   8681: # the environment.
                   8682: 
                   8683: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   8684: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   8685: # side effect of setting IFS to empty, thus disabling word splitting.)
                   8686: # Quoting is to prevent editors from complaining about space-tab.
1.1       root     8687: as_nl='
                   8688: '
                   8689: export as_nl
1.1.1.10  root     8690: IFS=" ""       $as_nl"
                   8691: 
                   8692: PS1='$ '
                   8693: PS2='> '
                   8694: PS4='+ '
                   8695: 
                   8696: # Ensure predictable behavior from utilities with locale-dependent output.
                   8697: LC_ALL=C
                   8698: export LC_ALL
                   8699: LANGUAGE=C
                   8700: export LANGUAGE
                   8701: 
                   8702: # We cannot yet rely on "unset" to work, but we need these variables
                   8703: # to be unset--not just set to an empty or harmless value--now, to
                   8704: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   8705: # also avoids known problems related to "unset" and subshell syntax
                   8706: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   8707: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   8708: do eval test \${$as_var+y} \
                   8709:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   8710: done
                   8711: 
                   8712: # Ensure that fds 0, 1, and 2 are open.
                   8713: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   8714: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   8715: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root     8716: 
                   8717: # The user is always right.
1.1.1.10  root     8718: if ${PATH_SEPARATOR+false} :; then
1.1       root     8719:   PATH_SEPARATOR=:
                   8720:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   8721:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   8722:       PATH_SEPARATOR=';'
                   8723:   }
                   8724: fi
                   8725: 
                   8726: 
                   8727: # Find who we are.  Look in the path if we contain no directory separator.
                   8728: as_myself=
                   8729: case $0 in #((
                   8730:   *[\\/]* ) as_myself=$0 ;;
                   8731:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8732: for as_dir in $PATH
                   8733: do
                   8734:   IFS=$as_save_IFS
1.1.1.10  root     8735:   case $as_dir in #(((
                   8736:     '') as_dir=./ ;;
                   8737:     */) ;;
                   8738:     *) as_dir=$as_dir/ ;;
                   8739:   esac
                   8740:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root     8741:   done
                   8742: IFS=$as_save_IFS
                   8743: 
                   8744:      ;;
                   8745: esac
1.1.1.15  root     8746: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.1       root     8747: # in which case we are not to be found in the path.
                   8748: if test "x$as_myself" = x; then
                   8749:   as_myself=$0
                   8750: fi
                   8751: if test ! -f "$as_myself"; then
1.1.1.10  root     8752:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root     8753:   exit 1
                   8754: fi
                   8755: 
                   8756: 
                   8757: 
                   8758: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   8759: # ----------------------------------------
                   8760: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   8761: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   8762: # script with STATUS, using 1 if that was 0.
                   8763: as_fn_error ()
                   8764: {
                   8765:   as_status=$1; test $as_status -eq 0 && as_status=1
                   8766:   if test "$4"; then
                   8767:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     8768:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root     8769:   fi
1.1.1.10  root     8770:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root     8771:   as_fn_exit $as_status
                   8772: } # as_fn_error
                   8773: 
                   8774: 
                   8775: # as_fn_set_status STATUS
                   8776: # -----------------------
                   8777: # Set $? to STATUS, without forking.
                   8778: as_fn_set_status ()
                   8779: {
                   8780:   return $1
                   8781: } # as_fn_set_status
                   8782: 
                   8783: # as_fn_exit STATUS
                   8784: # -----------------
                   8785: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   8786: as_fn_exit ()
                   8787: {
                   8788:   set +e
                   8789:   as_fn_set_status $1
                   8790:   exit $1
                   8791: } # as_fn_exit
                   8792: 
                   8793: # as_fn_unset VAR
                   8794: # ---------------
                   8795: # Portably unset VAR.
                   8796: as_fn_unset ()
                   8797: {
                   8798:   { eval $1=; unset $1;}
                   8799: }
                   8800: as_unset=as_fn_unset
1.1.1.10  root     8801: 
1.1       root     8802: # as_fn_append VAR VALUE
                   8803: # ----------------------
                   8804: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   8805: # advantage of any shell optimizations that allow amortized linear growth over
                   8806: # repeated appends, instead of the typical quadratic growth present in naive
                   8807: # implementations.
1.1.1.10  root     8808: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   8809: then :
1.1       root     8810:   eval 'as_fn_append ()
                   8811:   {
                   8812:     eval $1+=\$2
                   8813:   }'
1.1.1.15  root     8814: else case e in #(
                   8815:   e) as_fn_append ()
1.1       root     8816:   {
                   8817:     eval $1=\$$1\$2
1.1.1.15  root     8818:   } ;;
                   8819: esac
1.1       root     8820: fi # as_fn_append
                   8821: 
                   8822: # as_fn_arith ARG...
                   8823: # ------------------
                   8824: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   8825: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   8826: # must be portable across $(()) and expr.
1.1.1.10  root     8827: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   8828: then :
1.1       root     8829:   eval 'as_fn_arith ()
                   8830:   {
                   8831:     as_val=$(( $* ))
                   8832:   }'
1.1.1.15  root     8833: else case e in #(
                   8834:   e) as_fn_arith ()
1.1       root     8835:   {
                   8836:     as_val=`expr "$@" || test $? -eq 1`
1.1.1.15  root     8837:   } ;;
                   8838: esac
1.1       root     8839: fi # as_fn_arith
                   8840: 
                   8841: 
                   8842: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   8843:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   8844:   as_expr=expr
                   8845: else
                   8846:   as_expr=false
                   8847: fi
                   8848: 
                   8849: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   8850:   as_basename=basename
                   8851: else
                   8852:   as_basename=false
                   8853: fi
                   8854: 
                   8855: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   8856:   as_dirname=dirname
                   8857: else
                   8858:   as_dirname=false
                   8859: fi
                   8860: 
                   8861: as_me=`$as_basename -- "$0" ||
                   8862: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   8863:         X"$0" : 'X\(//\)$' \| \
                   8864:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8865: printf "%s\n" X/"$0" |
1.1       root     8866:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   8867:            s//\1/
                   8868:            q
                   8869:          }
                   8870:          /^X\/\(\/\/\)$/{
                   8871:            s//\1/
                   8872:            q
                   8873:          }
                   8874:          /^X\/\(\/\).*/{
                   8875:            s//\1/
                   8876:            q
                   8877:          }
                   8878:          s/.*/./; q'`
                   8879: 
                   8880: # Avoid depending upon Character Ranges.
                   8881: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   8882: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   8883: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   8884: as_cr_digits='0123456789'
                   8885: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   8886: 
1.1.1.10  root     8887: 
                   8888: # Determine whether it's possible to make 'echo' print without a newline.
                   8889: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   8890: # for compatibility with existing Makefiles.
1.1       root     8891: ECHO_C= ECHO_N= ECHO_T=
                   8892: case `echo -n x` in #(((((
                   8893: -n*)
                   8894:   case `echo 'xy\c'` in
                   8895:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   8896:   xy)  ECHO_C='\c';;
                   8897:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   8898:        ECHO_T='        ';;
                   8899:   esac;;
                   8900: *)
                   8901:   ECHO_N='-n';;
                   8902: esac
                   8903: 
1.1.1.10  root     8904: # For backward compatibility with old third-party macros, we provide
                   8905: # the shell variables $as_echo and $as_echo_n.  New code should use
                   8906: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   8907: as_echo='printf %s\n'
                   8908: as_echo_n='printf %s'
                   8909: 
1.1       root     8910: rm -f conf$$ conf$$.exe conf$$.file
                   8911: if test -d conf$$.dir; then
                   8912:   rm -f conf$$.dir/conf$$.file
                   8913: else
                   8914:   rm -f conf$$.dir
                   8915:   mkdir conf$$.dir 2>/dev/null
                   8916: fi
                   8917: if (echo >conf$$.file) 2>/dev/null; then
                   8918:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8919:     as_ln_s='ln -s'
                   8920:     # ... but there are two gotchas:
1.1.1.15  root     8921:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   8922:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   8923:     # In both cases, we have to default to 'cp -pR'.
1.1       root     8924:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   8925:       as_ln_s='cp -pR'
                   8926:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   8927:     as_ln_s=ln
                   8928:   else
                   8929:     as_ln_s='cp -pR'
                   8930:   fi
                   8931: else
                   8932:   as_ln_s='cp -pR'
                   8933: fi
                   8934: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   8935: rmdir conf$$.dir 2>/dev/null
                   8936: 
                   8937: 
                   8938: # as_fn_mkdir_p
                   8939: # -------------
                   8940: # Create "$as_dir" as a directory, including parents if necessary.
                   8941: as_fn_mkdir_p ()
                   8942: {
                   8943: 
                   8944:   case $as_dir in #(
                   8945:   -*) as_dir=./$as_dir;;
                   8946:   esac
                   8947:   test -d "$as_dir" || eval $as_mkdir_p || {
                   8948:     as_dirs=
                   8949:     while :; do
                   8950:       case $as_dir in #(
1.1.1.10  root     8951:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root     8952:       *) as_qdir=$as_dir;;
                   8953:       esac
                   8954:       as_dirs="'$as_qdir' $as_dirs"
                   8955:       as_dir=`$as_dirname -- "$as_dir" ||
                   8956: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8957:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8958:         X"$as_dir" : 'X\(//\)$' \| \
                   8959:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8960: printf "%s\n" X"$as_dir" |
1.1       root     8961:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8962:            s//\1/
                   8963:            q
                   8964:          }
                   8965:          /^X\(\/\/\)[^/].*/{
                   8966:            s//\1/
                   8967:            q
                   8968:          }
                   8969:          /^X\(\/\/\)$/{
                   8970:            s//\1/
                   8971:            q
                   8972:          }
                   8973:          /^X\(\/\).*/{
                   8974:            s//\1/
                   8975:            q
                   8976:          }
                   8977:          s/.*/./; q'`
                   8978:       test -d "$as_dir" && break
                   8979:     done
                   8980:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   8981:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   8982: 
                   8983: 
                   8984: } # as_fn_mkdir_p
                   8985: if mkdir -p . 2>/dev/null; then
                   8986:   as_mkdir_p='mkdir -p "$as_dir"'
                   8987: else
                   8988:   test -d ./-p && rmdir ./-p
                   8989:   as_mkdir_p=false
                   8990: fi
                   8991: 
                   8992: 
                   8993: # as_fn_executable_p FILE
                   8994: # -----------------------
                   8995: # Test if FILE is an executable regular file.
                   8996: as_fn_executable_p ()
                   8997: {
                   8998:   test -f "$1" && test -x "$1"
                   8999: } # as_fn_executable_p
                   9000: as_test_x='test -x'
                   9001: as_executable_p=as_fn_executable_p
                   9002: 
                   9003: # Sed expression to map a string onto a valid CPP name.
1.1.1.15  root     9004: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   9005: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.1       root     9006: 
                   9007: # Sed expression to map a string onto a valid variable name.
1.1.1.15  root     9008: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   9009: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.1       root     9010: 
                   9011: 
                   9012: exec 6>&1
                   9013: ## ----------------------------------- ##
                   9014: ## Main body of $CONFIG_STATUS script. ##
                   9015: ## ----------------------------------- ##
                   9016: _ASEOF
                   9017: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   9018: 
                   9019: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9020: # Save the log message, to keep $0 and so on meaningful, and to
                   9021: # report actual input values of CONFIG_FILES etc. instead of their
                   9022: # values after options handling.
                   9023: ac_log="
1.1.1.3   root     9024: This file was extended by nono $as_me 0.0, which was
1.1.1.15  root     9025: generated by GNU Autoconf 2.72.  Invocation command line was
1.1       root     9026: 
                   9027:   CONFIG_FILES    = $CONFIG_FILES
                   9028:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   9029:   CONFIG_LINKS    = $CONFIG_LINKS
                   9030:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   9031:   $ $0 $@
                   9032: 
                   9033: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   9034: "
                   9035: 
                   9036: _ACEOF
                   9037: 
                   9038: case $ac_config_files in *"
                   9039: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   9040: esac
                   9041: 
                   9042: case $ac_config_headers in *"
                   9043: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   9044: esac
                   9045: 
                   9046: 
                   9047: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9048: # Files that config.status was made for.
                   9049: config_files="$ac_config_files"
                   9050: config_headers="$ac_config_headers"
                   9051: 
                   9052: _ACEOF
                   9053: 
                   9054: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9055: ac_cs_usage="\
1.1.1.15  root     9056: '$as_me' instantiates files and other configuration actions
1.1       root     9057: from templates according to the current configuration.  Unless the files
                   9058: and actions are specified as TAGs, all are instantiated by default.
                   9059: 
                   9060: Usage: $0 [OPTION]... [TAG]...
                   9061: 
                   9062:   -h, --help       print this help, then exit
                   9063:   -V, --version    print version number and configuration settings, then exit
                   9064:       --config     print configuration, then exit
                   9065:   -q, --quiet, --silent
                   9066:                    do not print progress messages
                   9067:   -d, --debug      don't remove temporary files
                   9068:       --recheck    update $as_me by reconfiguring in the same conditions
                   9069:       --file=FILE[:TEMPLATE]
                   9070:                    instantiate the configuration file FILE
                   9071:       --header=FILE[:TEMPLATE]
                   9072:                    instantiate the configuration header FILE
                   9073: 
                   9074: Configuration files:
                   9075: $config_files
                   9076: 
                   9077: Configuration headers:
                   9078: $config_headers
                   9079: 
                   9080: Report bugs to the package provider."
                   9081: 
                   9082: _ACEOF
1.1.1.10  root     9083: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   9084: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.1       root     9085: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.10  root     9086: ac_cs_config='$ac_cs_config_escaped'
1.1       root     9087: ac_cs_version="\\
1.1.1.3   root     9088: nono config.status 0.0
1.1.1.15  root     9089: configured by $0, generated by GNU Autoconf 2.72,
1.1       root     9090:   with options \\"\$ac_cs_config\\"
                   9091: 
1.1.1.15  root     9092: Copyright (C) 2023 Free Software Foundation, Inc.
1.1       root     9093: This config.status script is free software; the Free Software Foundation
                   9094: gives unlimited permission to copy, distribute and modify it."
                   9095: 
                   9096: ac_pwd='$ac_pwd'
                   9097: srcdir='$srcdir'
1.1.1.3   root     9098: INSTALL='$INSTALL'
1.1       root     9099: test -n "\$AWK" || AWK=awk
                   9100: _ACEOF
                   9101: 
                   9102: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9103: # The default lists apply if the user does not specify any file.
                   9104: ac_need_defaults=:
                   9105: while test $# != 0
                   9106: do
                   9107:   case $1 in
                   9108:   --*=?*)
                   9109:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9110:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   9111:     ac_shift=:
                   9112:     ;;
                   9113:   --*=)
                   9114:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9115:     ac_optarg=
                   9116:     ac_shift=:
                   9117:     ;;
                   9118:   *)
                   9119:     ac_option=$1
                   9120:     ac_optarg=$2
                   9121:     ac_shift=shift
                   9122:     ;;
                   9123:   esac
                   9124: 
                   9125:   case $ac_option in
                   9126:   # Handling of the options.
                   9127:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9128:     ac_cs_recheck=: ;;
                   9129:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.10  root     9130:     printf "%s\n" "$ac_cs_version"; exit ;;
1.1       root     9131:   --config | --confi | --conf | --con | --co | --c )
1.1.1.10  root     9132:     printf "%s\n" "$ac_cs_config"; exit ;;
1.1       root     9133:   --debug | --debu | --deb | --de | --d | -d )
                   9134:     debug=: ;;
                   9135:   --file | --fil | --fi | --f )
                   9136:     $ac_shift
                   9137:     case $ac_optarg in
1.1.1.10  root     9138:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     9139:     '') as_fn_error $? "missing file argument" ;;
                   9140:     esac
                   9141:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   9142:     ac_need_defaults=false;;
                   9143:   --header | --heade | --head | --hea )
                   9144:     $ac_shift
                   9145:     case $ac_optarg in
1.1.1.10  root     9146:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     9147:     esac
                   9148:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   9149:     ac_need_defaults=false;;
                   9150:   --he | --h)
                   9151:     # Conflict between --help and --header
1.1.1.15  root     9152:     as_fn_error $? "ambiguous option: '$1'
                   9153: Try '$0 --help' for more information.";;
1.1       root     9154:   --help | --hel | -h )
1.1.1.10  root     9155:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.1       root     9156:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9157:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9158:     ac_cs_silent=: ;;
                   9159: 
                   9160:   # This is an error.
1.1.1.15  root     9161:   -*) as_fn_error $? "unrecognized option: '$1'
                   9162: Try '$0 --help' for more information." ;;
1.1       root     9163: 
                   9164:   *) as_fn_append ac_config_targets " $1"
                   9165:      ac_need_defaults=false ;;
                   9166: 
                   9167:   esac
                   9168:   shift
                   9169: done
                   9170: 
                   9171: ac_configure_extra_args=
                   9172: 
                   9173: if $ac_cs_silent; then
                   9174:   exec 6>/dev/null
                   9175:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9176: fi
                   9177: 
                   9178: _ACEOF
                   9179: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9180: if \$ac_cs_recheck; then
                   9181:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9182:   shift
1.1.1.10  root     9183:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.1       root     9184:   CONFIG_SHELL='$SHELL'
                   9185:   export CONFIG_SHELL
                   9186:   exec "\$@"
                   9187: fi
                   9188: 
                   9189: _ACEOF
                   9190: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9191: exec 5>>config.log
                   9192: {
                   9193:   echo
                   9194:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   9195: ## Running $as_me. ##
                   9196: _ASBOX
1.1.1.10  root     9197:   printf "%s\n" "$ac_log"
1.1       root     9198: } >&5
                   9199: 
                   9200: _ACEOF
                   9201: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9202: _ACEOF
                   9203: 
                   9204: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9205: 
                   9206: # Handling of arguments.
                   9207: for ac_config_target in $ac_config_targets
                   9208: do
                   9209:   case $ac_config_target in
                   9210:     "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;;
1.1.1.2   root     9211:     "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;
1.1       root     9212: 
1.1.1.15  root     9213:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       root     9214:   esac
                   9215: done
                   9216: 
                   9217: 
                   9218: # If the user did not use the arguments to specify the items to instantiate,
                   9219: # then the envvar interface is used.  Set only those that are not.
                   9220: # We use the long form for the default assignment because of an extremely
                   9221: # bizarre bug on SunOS 4.1.3.
                   9222: if $ac_need_defaults; then
1.1.1.10  root     9223:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   9224:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1.1       root     9225: fi
                   9226: 
                   9227: # Have a temporary directory for convenience.  Make it in the build tree
                   9228: # simply because there is no reason against having it here, and in addition,
                   9229: # creating and moving files from /tmp can sometimes cause problems.
                   9230: # Hook for its removal unless debugging.
                   9231: # Note that there is a small window in which the directory will not be cleaned:
1.1.1.15  root     9232: # after its creation but before its name has been assigned to '$tmp'.
1.1       root     9233: $debug ||
                   9234: {
                   9235:   tmp= ac_tmp=
                   9236:   trap 'exit_status=$?
                   9237:   : "${ac_tmp:=$tmp}"
                   9238:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   9239: ' 0
                   9240:   trap 'as_fn_exit 1' 1 2 13 15
                   9241: }
                   9242: # Create a (secure) tmp directory for tmp files.
                   9243: 
                   9244: {
                   9245:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   9246:   test -d "$tmp"
                   9247: }  ||
                   9248: {
                   9249:   tmp=./conf$$-$RANDOM
                   9250:   (umask 077 && mkdir "$tmp")
                   9251: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   9252: ac_tmp=$tmp
                   9253: 
                   9254: # Set up the scripts for CONFIG_FILES section.
                   9255: # No need to generate them if there are no CONFIG_FILES.
1.1.1.15  root     9256: # This happens for instance with './config.status config.h'.
1.1       root     9257: if test -n "$CONFIG_FILES"; then
                   9258: 
                   9259: 
                   9260: ac_cr=`echo X | tr X '\015'`
                   9261: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   9262: # But we know of no other shell where ac_cr would be empty at this
                   9263: # point, so we can use a bashism as a fallback.
                   9264: if test "x$ac_cr" = x; then
                   9265:   eval ac_cr=\$\'\\r\'
                   9266: fi
                   9267: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   9268: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   9269:   ac_cs_awk_cr='\\r'
                   9270: else
                   9271:   ac_cs_awk_cr=$ac_cr
                   9272: fi
                   9273: 
                   9274: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   9275: _ACEOF
                   9276: 
                   9277: 
                   9278: {
                   9279:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   9280:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   9281:   echo "_ACEOF"
                   9282: } >conf$$subs.sh ||
                   9283:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9284: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   9285: ac_delim='%!_!# '
                   9286: for ac_last_try in false false false false false :; do
                   9287:   . ./conf$$subs.sh ||
                   9288:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9289: 
                   9290:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   9291:   if test $ac_delim_n = $ac_delim_num; then
                   9292:     break
                   9293:   elif $ac_last_try; then
                   9294:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9295:   else
                   9296:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9297:   fi
                   9298: done
                   9299: rm -f conf$$subs.sh
                   9300: 
                   9301: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9302: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   9303: _ACEOF
                   9304: sed -n '
                   9305: h
                   9306: s/^/S["/; s/!.*/"]=/
                   9307: p
                   9308: g
                   9309: s/^[^!]*!//
                   9310: :repl
                   9311: t repl
                   9312: s/'"$ac_delim"'$//
                   9313: t delim
                   9314: :nl
                   9315: h
                   9316: s/\(.\{148\}\)..*/\1/
                   9317: t more1
                   9318: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   9319: p
                   9320: n
                   9321: b repl
                   9322: :more1
                   9323: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9324: p
                   9325: g
                   9326: s/.\{148\}//
                   9327: t nl
                   9328: :delim
                   9329: h
                   9330: s/\(.\{148\}\)..*/\1/
                   9331: t more2
                   9332: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   9333: p
                   9334: b
                   9335: :more2
                   9336: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9337: p
                   9338: g
                   9339: s/.\{148\}//
                   9340: t delim
                   9341: ' <conf$$subs.awk | sed '
                   9342: /^[^""]/{
                   9343:   N
                   9344:   s/\n//
                   9345: }
                   9346: ' >>$CONFIG_STATUS || ac_write_fail=1
                   9347: rm -f conf$$subs.awk
                   9348: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9349: _ACAWK
                   9350: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   9351:   for (key in S) S_is_set[key] = 1
                   9352:   FS = ""
                   9353: 
                   9354: }
                   9355: {
                   9356:   line = $ 0
                   9357:   nfields = split(line, field, "@")
                   9358:   substed = 0
                   9359:   len = length(field[1])
                   9360:   for (i = 2; i < nfields; i++) {
                   9361:     key = field[i]
                   9362:     keylen = length(key)
                   9363:     if (S_is_set[key]) {
                   9364:       value = S[key]
                   9365:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   9366:       len += length(value) + length(field[++i])
                   9367:       substed = 1
                   9368:     } else
                   9369:       len += 1 + keylen
                   9370:   }
                   9371: 
                   9372:   print line
                   9373: }
                   9374: 
                   9375: _ACAWK
                   9376: _ACEOF
                   9377: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9378: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   9379:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   9380: else
                   9381:   cat
                   9382: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   9383:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   9384: _ACEOF
                   9385: 
                   9386: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   9387: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   9388: # trailing colons and then remove the whole line if VPATH becomes empty
                   9389: # (actually we leave an empty line to preserve line numbers).
                   9390: if test "x$srcdir" = x.; then
                   9391:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   9392: h
                   9393: s///
                   9394: s/^/:/
                   9395: s/[     ]*$/:/
                   9396: s/:\$(srcdir):/:/g
                   9397: s/:\${srcdir}:/:/g
                   9398: s/:@srcdir@:/:/g
                   9399: s/^:*//
                   9400: s/:*$//
                   9401: x
                   9402: s/\(=[  ]*\).*/\1/
                   9403: G
                   9404: s/\n//
                   9405: s/^[^=]*=[      ]*$//
                   9406: }'
                   9407: fi
                   9408: 
                   9409: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9410: fi # test -n "$CONFIG_FILES"
                   9411: 
                   9412: # Set up the scripts for CONFIG_HEADERS section.
                   9413: # No need to generate them if there are no CONFIG_HEADERS.
1.1.1.15  root     9414: # This happens for instance with './config.status Makefile'.
1.1       root     9415: if test -n "$CONFIG_HEADERS"; then
                   9416: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   9417: BEGIN {
                   9418: _ACEOF
                   9419: 
1.1.1.15  root     9420: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.1       root     9421: # here-document in config.status, that substitutes the proper values into
                   9422: # config.h.in to produce config.h.
                   9423: 
                   9424: # Create a delimiter string that does not exist in confdefs.h, to ease
                   9425: # handling of long lines.
                   9426: ac_delim='%!_!# '
                   9427: for ac_last_try in false false :; do
                   9428:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   9429:   if test -z "$ac_tt"; then
                   9430:     break
                   9431:   elif $ac_last_try; then
                   9432:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   9433:   else
                   9434:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9435:   fi
                   9436: done
                   9437: 
                   9438: # For the awk script, D is an array of macro values keyed by name,
                   9439: # likewise P contains macro parameters if any.  Preserve backslash
                   9440: # newline sequences.
                   9441: 
                   9442: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   9443: sed -n '
                   9444: s/.\{148\}/&'"$ac_delim"'/g
                   9445: t rset
                   9446: :rset
                   9447: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   9448: t def
                   9449: d
                   9450: :def
                   9451: s/\\$//
                   9452: t bsnl
                   9453: s/["\\]/\\&/g
                   9454: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9455: D["\1"]=" \3"/p
                   9456: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   9457: d
                   9458: :bsnl
                   9459: s/["\\]/\\&/g
                   9460: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9461: D["\1"]=" \3\\\\\\n"\\/p
                   9462: t cont
                   9463: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   9464: t cont
                   9465: d
                   9466: :cont
                   9467: n
                   9468: s/.\{148\}/&'"$ac_delim"'/g
                   9469: t clear
                   9470: :clear
                   9471: s/\\$//
                   9472: t bsnlc
                   9473: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   9474: d
                   9475: :bsnlc
                   9476: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   9477: b cont
                   9478: ' <confdefs.h | sed '
                   9479: s/'"$ac_delim"'/"\\\
                   9480: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   9481: 
                   9482: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9483:   for (key in D) D_is_set[key] = 1
                   9484:   FS = ""
                   9485: }
                   9486: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   9487:   line = \$ 0
                   9488:   split(line, arg, " ")
                   9489:   if (arg[1] == "#") {
                   9490:     defundef = arg[2]
                   9491:     mac1 = arg[3]
                   9492:   } else {
                   9493:     defundef = substr(arg[1], 2)
                   9494:     mac1 = arg[2]
                   9495:   }
                   9496:   split(mac1, mac2, "(") #)
                   9497:   macro = mac2[1]
                   9498:   prefix = substr(line, 1, index(line, defundef) - 1)
                   9499:   if (D_is_set[macro]) {
                   9500:     # Preserve the white space surrounding the "#".
                   9501:     print prefix "define", macro P[macro] D[macro]
                   9502:     next
                   9503:   } else {
                   9504:     # Replace #undef with comments.  This is necessary, for example,
                   9505:     # in the case of _POSIX_SOURCE, which is predefined and required
                   9506:     # on some systems where configure will not decide to define it.
                   9507:     if (defundef == "undef") {
                   9508:       print "/*", prefix defundef, macro, "*/"
                   9509:       next
                   9510:     }
                   9511:   }
                   9512: }
                   9513: { print }
                   9514: _ACAWK
                   9515: _ACEOF
                   9516: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9517:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   9518: fi # test -n "$CONFIG_HEADERS"
                   9519: 
                   9520: 
                   9521: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   9522: shift
                   9523: for ac_tag
                   9524: do
                   9525:   case $ac_tag in
                   9526:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   9527:   esac
                   9528:   case $ac_mode$ac_tag in
                   9529:   :[FHL]*:*);;
1.1.1.15  root     9530:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.1       root     9531:   :[FH]-) ac_tag=-:-;;
                   9532:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   9533:   esac
                   9534:   ac_save_IFS=$IFS
                   9535:   IFS=:
                   9536:   set x $ac_tag
                   9537:   IFS=$ac_save_IFS
                   9538:   shift
                   9539:   ac_file=$1
                   9540:   shift
                   9541: 
                   9542:   case $ac_mode in
                   9543:   :L) ac_source=$1;;
                   9544:   :[FH])
                   9545:     ac_file_inputs=
                   9546:     for ac_f
                   9547:     do
                   9548:       case $ac_f in
                   9549:       -) ac_f="$ac_tmp/stdin";;
                   9550:       *) # Look for the file first in the build tree, then in the source tree
                   9551:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.1.1.15  root     9552:         # because $ac_f cannot contain ':'.
1.1       root     9553:         test -f "$ac_f" ||
                   9554:           case $ac_f in
                   9555:           [\\/$]*) false;;
                   9556:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   9557:           esac ||
1.1.1.15  root     9558:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.1       root     9559:       esac
1.1.1.10  root     9560:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1       root     9561:       as_fn_append ac_file_inputs " '$ac_f'"
                   9562:     done
                   9563: 
1.1.1.15  root     9564:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.1       root     9565:     # use $as_me), people would be surprised to read:
                   9566:     #    /* config.h.  Generated by config.status.  */
                   9567:     configure_input='Generated from '`
1.1.1.10  root     9568:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.1       root     9569:        `' by configure.'
                   9570:     if test x"$ac_file" != x-; then
                   9571:       configure_input="$ac_file.  $configure_input"
1.1.1.10  root     9572:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   9573: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.1       root     9574:     fi
                   9575:     # Neutralize special characters interpreted by sed in replacement strings.
                   9576:     case $configure_input in #(
                   9577:     *\&* | *\|* | *\\* )
1.1.1.10  root     9578:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.1       root     9579:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   9580:     *) ac_sed_conf_input=$configure_input;;
                   9581:     esac
                   9582: 
                   9583:     case $ac_tag in
                   9584:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   9585:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   9586:     esac
                   9587:     ;;
                   9588:   esac
                   9589: 
                   9590:   ac_dir=`$as_dirname -- "$ac_file" ||
                   9591: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9592:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   9593:         X"$ac_file" : 'X\(//\)$' \| \
                   9594:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     9595: printf "%s\n" X"$ac_file" |
1.1       root     9596:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   9597:            s//\1/
                   9598:            q
                   9599:          }
                   9600:          /^X\(\/\/\)[^/].*/{
                   9601:            s//\1/
                   9602:            q
                   9603:          }
                   9604:          /^X\(\/\/\)$/{
                   9605:            s//\1/
                   9606:            q
                   9607:          }
                   9608:          /^X\(\/\).*/{
                   9609:            s//\1/
                   9610:            q
                   9611:          }
                   9612:          s/.*/./; q'`
                   9613:   as_dir="$ac_dir"; as_fn_mkdir_p
                   9614:   ac_builddir=.
                   9615: 
                   9616: case "$ac_dir" in
                   9617: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9618: *)
1.1.1.10  root     9619:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     9620:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     9621:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     9622:   case $ac_top_builddir_sub in
                   9623:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9624:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   9625:   esac ;;
                   9626: esac
                   9627: ac_abs_top_builddir=$ac_pwd
                   9628: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   9629: # for backward compatibility:
                   9630: ac_top_builddir=$ac_top_build_prefix
                   9631: 
                   9632: case $srcdir in
                   9633:   .)  # We are building in place.
                   9634:     ac_srcdir=.
                   9635:     ac_top_srcdir=$ac_top_builddir_sub
                   9636:     ac_abs_top_srcdir=$ac_pwd ;;
                   9637:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   9638:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9639:     ac_top_srcdir=$srcdir
                   9640:     ac_abs_top_srcdir=$srcdir ;;
                   9641:   *) # Relative name.
                   9642:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   9643:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   9644:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   9645: esac
                   9646: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   9647: 
                   9648: 
                   9649:   case $ac_mode in
                   9650:   :F)
                   9651:   #
                   9652:   # CONFIG_FILE
                   9653:   #
                   9654: 
1.1.1.3   root     9655:   case $INSTALL in
                   9656:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   9657:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   9658:   esac
1.1       root     9659: _ACEOF
                   9660: 
                   9661: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9662: # If the template does not know about datarootdir, expand it.
                   9663: # FIXME: This hack should be removed a few years after 2.60.
                   9664: ac_datarootdir_hack=; ac_datarootdir_seen=
                   9665: ac_sed_dataroot='
                   9666: /datarootdir/ {
                   9667:   p
                   9668:   q
                   9669: }
                   9670: /@datadir@/p
                   9671: /@docdir@/p
                   9672: /@infodir@/p
                   9673: /@localedir@/p
                   9674: /@mandir@/p'
                   9675: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   9676: *datarootdir*) ac_datarootdir_seen=yes;;
                   9677: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.10  root     9678:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   9679: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       root     9680: _ACEOF
                   9681: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9682:   ac_datarootdir_hack='
                   9683:   s&@datadir@&$datadir&g
                   9684:   s&@docdir@&$docdir&g
                   9685:   s&@infodir@&$infodir&g
                   9686:   s&@localedir@&$localedir&g
                   9687:   s&@mandir@&$mandir&g
                   9688:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   9689: esac
                   9690: _ACEOF
                   9691: 
1.1.1.15  root     9692: # Neutralize VPATH when '$srcdir' = '.'.
1.1       root     9693: # Shell code in configure.ac might set extrasub.
                   9694: # FIXME: do we really want to maintain this feature?
                   9695: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9696: ac_sed_extra="$ac_vpsub
                   9697: $extrasub
                   9698: _ACEOF
                   9699: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9700: :t
                   9701: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   9702: s|@configure_input@|$ac_sed_conf_input|;t t
                   9703: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   9704: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   9705: s&@srcdir@&$ac_srcdir&;t t
                   9706: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   9707: s&@top_srcdir@&$ac_top_srcdir&;t t
                   9708: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   9709: s&@builddir@&$ac_builddir&;t t
                   9710: s&@abs_builddir@&$ac_abs_builddir&;t t
                   9711: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.3   root     9712: s&@INSTALL@&$ac_INSTALL&;t t
1.1       root     9713: $ac_datarootdir_hack
                   9714: "
                   9715: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   9716:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9717: 
                   9718: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   9719:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   9720:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   9721:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.1.15  root     9722:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9723: which seems to be undefined.  Please make sure it is defined" >&5
1.1.1.15  root     9724: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9725: which seems to be undefined.  Please make sure it is defined" >&2;}
                   9726: 
                   9727:   rm -f "$ac_tmp/stdin"
                   9728:   case $ac_file in
                   9729:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   9730:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   9731:   esac \
                   9732:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9733:  ;;
                   9734:   :H)
                   9735:   #
                   9736:   # CONFIG_HEADER
                   9737:   #
                   9738:   if test x"$ac_file" != x-; then
                   9739:     {
1.1.1.10  root     9740:       printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9741:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   9742:     } >"$ac_tmp/config.h" \
                   9743:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9744:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.1.10  root     9745:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   9746: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.1       root     9747:     else
                   9748:       rm -f "$ac_file"
                   9749:       mv "$ac_tmp/config.h" "$ac_file" \
                   9750:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9751:     fi
                   9752:   else
1.1.1.10  root     9753:     printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9754:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   9755:       || as_fn_error $? "could not create -" "$LINENO" 5
                   9756:   fi
                   9757:  ;;
                   9758: 
                   9759: 
                   9760:   esac
                   9761: 
                   9762: done # for ac_tag
                   9763: 
                   9764: 
                   9765: as_fn_exit 0
                   9766: _ACEOF
                   9767: ac_clean_files=$ac_clean_files_save
                   9768: 
                   9769: test $ac_write_fail = 0 ||
                   9770:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   9771: 
                   9772: 
                   9773: # configure is writing to config.log, and then calls config.status.
                   9774: # config.status does its own redirection, appending to config.log.
                   9775: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9776: # by configure, so config.status won't be able to write to it; its
                   9777: # output is simply discarded.  So we exec the FD to /dev/null,
                   9778: # effectively closing config.log, so it can be properly (re)opened and
                   9779: # appended to by config.status.  When coming back to configure, we
                   9780: # need to make the FD available again.
                   9781: if test "$no_create" != yes; then
                   9782:   ac_cs_success=:
                   9783:   ac_config_status_args=
                   9784:   test "$silent" = yes &&
                   9785:     ac_config_status_args="$ac_config_status_args --quiet"
                   9786:   exec 5>/dev/null
                   9787:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9788:   exec 5>>config.log
                   9789:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9790:   # would make configure fail if this is the last instruction.
                   9791:   $ac_cs_success || as_fn_exit 1
                   9792: fi
                   9793: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.10  root     9794:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   9795: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       root     9796: fi
                   9797: 
1.1.1.10  root     9798: 
1.1.1.19  root     9799: # サマリを表示
                   9800: echo ""
                   9801: echo "Configuration summary:"
                   9802: echo -n "HostNet supports:                     "
                   9803: if test x"$netdriver_afpacket" = xyes; then
                   9804:        echo -n " afpacket"
                   9805: fi
                   9806: if test x"$netdriver_bpf" = xyes; then
                   9807:        echo -n " bpf"
                   9808: fi
                   9809: if test x"$has_libslirp" = xyes; then
                   9810:        echo -n " slirp"
                   9811: fi
                   9812: if test x"$netdriver_tap" = xyes; then
                   9813:        echo -n " tap"
                   9814: fi
                   9815: echo ""
                   9816: echo -n "HostSound supports:                   "
                   9817: if test x"$sounddriver_alsa" = xyes; then
                   9818:        echo -n " alsa"
                   9819: fi
                   9820: if test x"$sounddriver_netbsd" = xyes; then
                   9821:        echo -n " netbsd"
                   9822: fi
                   9823: if test x"$sounddriver_sndio" = xyes; then
                   9824:        echo -n " sndio"
                   9825: fi
                   9826: echo ""
                   9827: 

unix.superglobalmegacorp.com

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