Annotation of nono/configure, revision 1.1.1.17

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.17! root      650: LIBS_SLIRP
        !           651: CPPFLAGS_SLIRP
1.1.1.16  root      652: HOSTNET_SLIRP
1.1.1.8   root      653: HOSTNET_BPF
                    654: HOSTNET_TAP
                    655: HOSTNET_AFPACKET
1.1.1.15  root      656: HOST_HAS_NEON
1.1.1.14  root      657: HOST_HAS_AVX2
1.1.1.3   root      658: WARNFLAGS_CXX
                    659: WARNFLAGS_C
1.1.1.4   root      660: COMPILER
1.1.1.6   root      661: host_os
                    662: host_vendor
                    663: host_cpu
                    664: host
                    665: build_os
                    666: build_vendor
                    667: build_cpu
                    668: build
1.1.1.3   root      669: INSTALL_DATA
                    670: INSTALL_SCRIPT
                    671: INSTALL_PROGRAM
1.1       root      672: ac_ct_CC
                    673: CFLAGS
                    674: CC
                    675: OBJEXT
                    676: EXEEXT
                    677: ac_ct_CXX
                    678: CPPFLAGS
                    679: LDFLAGS
                    680: CXXFLAGS
                    681: CXX
                    682: target_alias
                    683: host_alias
                    684: build_alias
                    685: LIBS
                    686: ECHO_T
                    687: ECHO_N
                    688: ECHO_C
                    689: DEFS
                    690: mandir
                    691: localedir
                    692: libdir
                    693: psdir
                    694: pdfdir
                    695: dvidir
                    696: htmldir
                    697: infodir
                    698: docdir
                    699: oldincludedir
                    700: includedir
1.1.1.10  root      701: runstatedir
1.1       root      702: localstatedir
                    703: sharedstatedir
                    704: sysconfdir
                    705: datadir
                    706: datarootdir
                    707: libexecdir
                    708: sbindir
                    709: bindir
                    710: program_transform_name
                    711: prefix
                    712: exec_prefix
                    713: PACKAGE_URL
                    714: PACKAGE_BUGREPORT
                    715: PACKAGE_STRING
                    716: PACKAGE_VERSION
                    717: PACKAGE_TARNAME
                    718: PACKAGE_NAME
                    719: PATH_SEPARATOR
                    720: SHELL'
                    721: ac_subst_files=''
                    722: ac_user_opts='
                    723: enable_option_checking
1.1.1.14  root      724: enable_avx2
1.1.1.15  root      725: enable_neon
1.1.1.16  root      726: with_libslirp
1.1.1.10  root      727: with_gui
1.1       root      728: '
                    729:       ac_precious_vars='build_alias
                    730: host_alias
                    731: target_alias
                    732: CXX
                    733: CXXFLAGS
                    734: LDFLAGS
                    735: LIBS
                    736: CPPFLAGS
                    737: CCC
                    738: CC
1.1.1.10  root      739: CFLAGS'
1.1       root      740: 
                    741: 
                    742: # Initialize some variables set by options.
                    743: ac_init_help=
                    744: ac_init_version=false
                    745: ac_unrecognized_opts=
                    746: ac_unrecognized_sep=
                    747: # The variables have the same names as the options, with
                    748: # dashes changed to underlines.
                    749: cache_file=/dev/null
                    750: exec_prefix=NONE
                    751: no_create=
                    752: no_recursion=
                    753: prefix=NONE
                    754: program_prefix=NONE
                    755: program_suffix=NONE
                    756: program_transform_name=s,x,x,
                    757: silent=
                    758: site=
                    759: srcdir=
                    760: verbose=
                    761: x_includes=NONE
                    762: x_libraries=NONE
                    763: 
                    764: # Installation directory options.
                    765: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    766: # and all the variables that are supposed to be based on exec_prefix
                    767: # by default will actually change.
                    768: # Use braces instead of parens because sh, perl, etc. also accept them.
                    769: # (The list follows the same order as the GNU Coding Standards.)
                    770: bindir='${exec_prefix}/bin'
                    771: sbindir='${exec_prefix}/sbin'
                    772: libexecdir='${exec_prefix}/libexec'
                    773: datarootdir='${prefix}/share'
                    774: datadir='${datarootdir}'
                    775: sysconfdir='${prefix}/etc'
                    776: sharedstatedir='${prefix}/com'
                    777: localstatedir='${prefix}/var'
1.1.1.10  root      778: runstatedir='${localstatedir}/run'
1.1       root      779: includedir='${prefix}/include'
                    780: oldincludedir='/usr/include'
                    781: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    782: infodir='${datarootdir}/info'
                    783: htmldir='${docdir}'
                    784: dvidir='${docdir}'
                    785: pdfdir='${docdir}'
                    786: psdir='${docdir}'
                    787: libdir='${exec_prefix}/lib'
                    788: localedir='${datarootdir}/locale'
                    789: mandir='${datarootdir}/man'
                    790: 
                    791: ac_prev=
                    792: ac_dashdash=
                    793: for ac_option
                    794: do
                    795:   # If the previous option needs an argument, assign it.
                    796:   if test -n "$ac_prev"; then
                    797:     eval $ac_prev=\$ac_option
                    798:     ac_prev=
                    799:     continue
                    800:   fi
                    801: 
                    802:   case $ac_option in
                    803:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    804:   *=)   ac_optarg= ;;
                    805:   *)    ac_optarg=yes ;;
                    806:   esac
                    807: 
                    808:   case $ac_dashdash$ac_option in
                    809:   --)
                    810:     ac_dashdash=yes ;;
                    811: 
                    812:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    813:     ac_prev=bindir ;;
                    814:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    815:     bindir=$ac_optarg ;;
                    816: 
                    817:   -build | --build | --buil | --bui | --bu)
                    818:     ac_prev=build_alias ;;
                    819:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    820:     build_alias=$ac_optarg ;;
                    821: 
                    822:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    823:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    824:     ac_prev=cache_file ;;
                    825:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    826:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    827:     cache_file=$ac_optarg ;;
                    828: 
                    829:   --config-cache | -C)
                    830:     cache_file=config.cache ;;
                    831: 
                    832:   -datadir | --datadir | --datadi | --datad)
                    833:     ac_prev=datadir ;;
                    834:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    835:     datadir=$ac_optarg ;;
                    836: 
                    837:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    838:   | --dataroo | --dataro | --datar)
                    839:     ac_prev=datarootdir ;;
                    840:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    841:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    842:     datarootdir=$ac_optarg ;;
                    843: 
                    844:   -disable-* | --disable-*)
                    845:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    846:     # Reject names that are not valid shell variable names.
                    847:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root      848:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.1       root      849:     ac_useropt_orig=$ac_useropt
1.1.1.10  root      850:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      851:     case $ac_user_opts in
                    852:       *"
                    853: "enable_$ac_useropt"
                    854: "*) ;;
                    855:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    856:         ac_unrecognized_sep=', ';;
                    857:     esac
                    858:     eval enable_$ac_useropt=no ;;
                    859: 
                    860:   -docdir | --docdir | --docdi | --doc | --do)
                    861:     ac_prev=docdir ;;
                    862:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    863:     docdir=$ac_optarg ;;
                    864: 
                    865:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    866:     ac_prev=dvidir ;;
                    867:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    868:     dvidir=$ac_optarg ;;
                    869: 
                    870:   -enable-* | --enable-*)
                    871:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    872:     # Reject names that are not valid shell variable names.
                    873:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root      874:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.1       root      875:     ac_useropt_orig=$ac_useropt
1.1.1.10  root      876:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      877:     case $ac_user_opts in
                    878:       *"
                    879: "enable_$ac_useropt"
                    880: "*) ;;
                    881:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    882:         ac_unrecognized_sep=', ';;
                    883:     esac
                    884:     eval enable_$ac_useropt=\$ac_optarg ;;
                    885: 
                    886:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    887:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    888:   | --exec | --exe | --ex)
                    889:     ac_prev=exec_prefix ;;
                    890:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    891:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    892:   | --exec=* | --exe=* | --ex=*)
                    893:     exec_prefix=$ac_optarg ;;
                    894: 
                    895:   -gas | --gas | --ga | --g)
                    896:     # Obsolete; use --with-gas.
                    897:     with_gas=yes ;;
                    898: 
                    899:   -help | --help | --hel | --he | -h)
                    900:     ac_init_help=long ;;
                    901:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    902:     ac_init_help=recursive ;;
                    903:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    904:     ac_init_help=short ;;
                    905: 
                    906:   -host | --host | --hos | --ho)
                    907:     ac_prev=host_alias ;;
                    908:   -host=* | --host=* | --hos=* | --ho=*)
                    909:     host_alias=$ac_optarg ;;
                    910: 
                    911:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    912:     ac_prev=htmldir ;;
                    913:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    914:   | --ht=*)
                    915:     htmldir=$ac_optarg ;;
                    916: 
                    917:   -includedir | --includedir | --includedi | --included | --include \
                    918:   | --includ | --inclu | --incl | --inc)
                    919:     ac_prev=includedir ;;
                    920:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    921:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    922:     includedir=$ac_optarg ;;
                    923: 
                    924:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    925:     ac_prev=infodir ;;
                    926:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    927:     infodir=$ac_optarg ;;
                    928: 
                    929:   -libdir | --libdir | --libdi | --libd)
                    930:     ac_prev=libdir ;;
                    931:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    932:     libdir=$ac_optarg ;;
                    933: 
                    934:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    935:   | --libexe | --libex | --libe)
                    936:     ac_prev=libexecdir ;;
                    937:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    938:   | --libexe=* | --libex=* | --libe=*)
                    939:     libexecdir=$ac_optarg ;;
                    940: 
                    941:   -localedir | --localedir | --localedi | --localed | --locale)
                    942:     ac_prev=localedir ;;
                    943:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    944:     localedir=$ac_optarg ;;
                    945: 
                    946:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    947:   | --localstate | --localstat | --localsta | --localst | --locals)
                    948:     ac_prev=localstatedir ;;
                    949:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    950:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    951:     localstatedir=$ac_optarg ;;
                    952: 
                    953:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    954:     ac_prev=mandir ;;
                    955:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    956:     mandir=$ac_optarg ;;
                    957: 
                    958:   -nfp | --nfp | --nf)
                    959:     # Obsolete; use --without-fp.
                    960:     with_fp=no ;;
                    961: 
                    962:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    963:   | --no-cr | --no-c | -n)
                    964:     no_create=yes ;;
                    965: 
                    966:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    967:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    968:     no_recursion=yes ;;
                    969: 
                    970:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    971:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    972:   | --oldin | --oldi | --old | --ol | --o)
                    973:     ac_prev=oldincludedir ;;
                    974:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    975:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    976:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    977:     oldincludedir=$ac_optarg ;;
                    978: 
                    979:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    980:     ac_prev=prefix ;;
                    981:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    982:     prefix=$ac_optarg ;;
                    983: 
                    984:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    985:   | --program-pre | --program-pr | --program-p)
                    986:     ac_prev=program_prefix ;;
                    987:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    988:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    989:     program_prefix=$ac_optarg ;;
                    990: 
                    991:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    992:   | --program-suf | --program-su | --program-s)
                    993:     ac_prev=program_suffix ;;
                    994:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    995:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    996:     program_suffix=$ac_optarg ;;
                    997: 
                    998:   -program-transform-name | --program-transform-name \
                    999:   | --program-transform-nam | --program-transform-na \
                   1000:   | --program-transform-n | --program-transform- \
                   1001:   | --program-transform | --program-transfor \
                   1002:   | --program-transfo | --program-transf \
                   1003:   | --program-trans | --program-tran \
                   1004:   | --progr-tra | --program-tr | --program-t)
                   1005:     ac_prev=program_transform_name ;;
                   1006:   -program-transform-name=* | --program-transform-name=* \
                   1007:   | --program-transform-nam=* | --program-transform-na=* \
                   1008:   | --program-transform-n=* | --program-transform-=* \
                   1009:   | --program-transform=* | --program-transfor=* \
                   1010:   | --program-transfo=* | --program-transf=* \
                   1011:   | --program-trans=* | --program-tran=* \
                   1012:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1013:     program_transform_name=$ac_optarg ;;
                   1014: 
                   1015:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1016:     ac_prev=pdfdir ;;
                   1017:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1018:     pdfdir=$ac_optarg ;;
                   1019: 
                   1020:   -psdir | --psdir | --psdi | --psd | --ps)
                   1021:     ac_prev=psdir ;;
                   1022:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1023:     psdir=$ac_optarg ;;
                   1024: 
                   1025:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1026:   | -silent | --silent | --silen | --sile | --sil)
                   1027:     silent=yes ;;
                   1028: 
1.1.1.10  root     1029:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1030:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1031:   | --run | --ru | --r)
                   1032:     ac_prev=runstatedir ;;
                   1033:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1034:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1035:   | --run=* | --ru=* | --r=*)
                   1036:     runstatedir=$ac_optarg ;;
                   1037: 
1.1       root     1038:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1039:     ac_prev=sbindir ;;
                   1040:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1041:   | --sbi=* | --sb=*)
                   1042:     sbindir=$ac_optarg ;;
                   1043: 
                   1044:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1045:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1046:   | --sharedst | --shareds | --shared | --share | --shar \
                   1047:   | --sha | --sh)
                   1048:     ac_prev=sharedstatedir ;;
                   1049:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1050:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1051:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1052:   | --sha=* | --sh=*)
                   1053:     sharedstatedir=$ac_optarg ;;
                   1054: 
                   1055:   -site | --site | --sit)
                   1056:     ac_prev=site ;;
                   1057:   -site=* | --site=* | --sit=*)
                   1058:     site=$ac_optarg ;;
                   1059: 
                   1060:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1061:     ac_prev=srcdir ;;
                   1062:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1063:     srcdir=$ac_optarg ;;
                   1064: 
                   1065:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1066:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1067:     ac_prev=sysconfdir ;;
                   1068:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1069:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1070:     sysconfdir=$ac_optarg ;;
                   1071: 
                   1072:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1073:     ac_prev=target_alias ;;
                   1074:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1075:     target_alias=$ac_optarg ;;
                   1076: 
                   1077:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1078:     verbose=yes ;;
                   1079: 
                   1080:   -version | --version | --versio | --versi | --vers | -V)
                   1081:     ac_init_version=: ;;
                   1082: 
                   1083:   -with-* | --with-*)
                   1084:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1085:     # Reject names that are not valid shell variable names.
                   1086:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root     1087:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.1       root     1088:     ac_useropt_orig=$ac_useropt
1.1.1.10  root     1089:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1090:     case $ac_user_opts in
                   1091:       *"
                   1092: "with_$ac_useropt"
                   1093: "*) ;;
                   1094:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1095:         ac_unrecognized_sep=', ';;
                   1096:     esac
                   1097:     eval with_$ac_useropt=\$ac_optarg ;;
                   1098: 
                   1099:   -without-* | --without-*)
                   1100:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1101:     # Reject names that are not valid shell variable names.
                   1102:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.15  root     1103:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.1       root     1104:     ac_useropt_orig=$ac_useropt
1.1.1.10  root     1105:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1106:     case $ac_user_opts in
                   1107:       *"
                   1108: "with_$ac_useropt"
                   1109: "*) ;;
                   1110:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1111:         ac_unrecognized_sep=', ';;
                   1112:     esac
                   1113:     eval with_$ac_useropt=no ;;
                   1114: 
                   1115:   --x)
                   1116:     # Obsolete; use --with-x.
                   1117:     with_x=yes ;;
                   1118: 
                   1119:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1120:   | --x-incl | --x-inc | --x-in | --x-i)
                   1121:     ac_prev=x_includes ;;
                   1122:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1123:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1124:     x_includes=$ac_optarg ;;
                   1125: 
                   1126:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1127:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1128:     ac_prev=x_libraries ;;
                   1129:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1130:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1131:     x_libraries=$ac_optarg ;;
                   1132: 
1.1.1.15  root     1133:   -*) as_fn_error $? "unrecognized option: '$ac_option'
                   1134: Try '$0 --help' for more information"
1.1       root     1135:     ;;
                   1136: 
                   1137:   *=*)
                   1138:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1139:     # Reject names that are not valid shell variable names.
                   1140:     case $ac_envvar in #(
                   1141:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.1.1.15  root     1142:       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1.1       root     1143:     esac
                   1144:     eval $ac_envvar=\$ac_optarg
                   1145:     export $ac_envvar ;;
                   1146: 
                   1147:   *)
                   1148:     # FIXME: should be removed in autoconf 3.0.
1.1.1.10  root     1149:     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       root     1150:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.10  root     1151:       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1       root     1152:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1153:     ;;
                   1154: 
                   1155:   esac
                   1156: done
                   1157: 
                   1158: if test -n "$ac_prev"; then
                   1159:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1160:   as_fn_error $? "missing argument to $ac_option"
                   1161: fi
                   1162: 
                   1163: if test -n "$ac_unrecognized_opts"; then
                   1164:   case $enable_option_checking in
                   1165:     no) ;;
                   1166:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1.1.10  root     1167:     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       root     1168:   esac
                   1169: fi
                   1170: 
                   1171: # Check all directory arguments for consistency.
                   1172: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1173:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1174:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.10  root     1175:                libdir localedir mandir runstatedir
1.1       root     1176: do
                   1177:   eval ac_val=\$$ac_var
                   1178:   # Remove trailing slashes.
                   1179:   case $ac_val in
                   1180:     */ )
                   1181:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1182:       eval $ac_var=\$ac_val;;
                   1183:   esac
                   1184:   # Be sure to have absolute directory names.
                   1185:   case $ac_val in
                   1186:     [\\/$]* | ?:[\\/]* )  continue;;
                   1187:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1188:   esac
                   1189:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1190: done
                   1191: 
1.1.1.15  root     1192: # There might be people who depend on the old broken behavior: '$host'
1.1       root     1193: # used to hold the argument of --host etc.
                   1194: # FIXME: To remove some day.
                   1195: build=$build_alias
                   1196: host=$host_alias
                   1197: target=$target_alias
                   1198: 
                   1199: # FIXME: To remove some day.
                   1200: if test "x$host_alias" != x; then
                   1201:   if test "x$build_alias" = x; then
                   1202:     cross_compiling=maybe
                   1203:   elif test "x$build_alias" != "x$host_alias"; then
                   1204:     cross_compiling=yes
                   1205:   fi
                   1206: fi
                   1207: 
                   1208: ac_tool_prefix=
                   1209: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1210: 
                   1211: test "$silent" = yes && exec 6>/dev/null
                   1212: 
                   1213: 
                   1214: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1215: ac_ls_di=`ls -di .` &&
                   1216: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1217:   as_fn_error $? "working directory cannot be determined"
                   1218: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1219:   as_fn_error $? "pwd does not report name of working directory"
                   1220: 
                   1221: 
                   1222: # Find the source files, if location was not specified.
                   1223: if test -z "$srcdir"; then
                   1224:   ac_srcdir_defaulted=yes
                   1225:   # Try the directory containing this script, then the parent directory.
                   1226:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1227: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1228:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1229:         X"$as_myself" : 'X\(//\)$' \| \
                   1230:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     1231: printf "%s\n" X"$as_myself" |
1.1       root     1232:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1233:            s//\1/
                   1234:            q
                   1235:          }
                   1236:          /^X\(\/\/\)[^/].*/{
                   1237:            s//\1/
                   1238:            q
                   1239:          }
                   1240:          /^X\(\/\/\)$/{
                   1241:            s//\1/
                   1242:            q
                   1243:          }
                   1244:          /^X\(\/\).*/{
                   1245:            s//\1/
                   1246:            q
                   1247:          }
                   1248:          s/.*/./; q'`
                   1249:   srcdir=$ac_confdir
                   1250:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1251:     srcdir=..
                   1252:   fi
                   1253: else
                   1254:   ac_srcdir_defaulted=no
                   1255: fi
                   1256: if test ! -r "$srcdir/$ac_unique_file"; then
                   1257:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1258:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1259: fi
1.1.1.15  root     1260: ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1.1       root     1261: ac_abs_confdir=`(
                   1262:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1263:        pwd)`
                   1264: # When building in place, set srcdir=.
                   1265: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1266:   srcdir=.
                   1267: fi
                   1268: # Remove unnecessary trailing slashes from srcdir.
                   1269: # Double slashes in file names in object file debugging info
                   1270: # mess up M-x gdb in Emacs.
                   1271: case $srcdir in
                   1272: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1273: esac
                   1274: for ac_var in $ac_precious_vars; do
                   1275:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1276:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1277:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1278:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1279: done
                   1280: 
                   1281: #
                   1282: # Report the --help message.
                   1283: #
                   1284: if test "$ac_init_help" = "long"; then
                   1285:   # Omit some internal or obsolete options to make the list less imposing.
                   1286:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1287:   cat <<_ACEOF
1.1.1.15  root     1288: 'configure' configures nono 0.0 to adapt to many kinds of systems.
1.1       root     1289: 
                   1290: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1291: 
                   1292: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1293: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1294: 
                   1295: Defaults for the options are specified in brackets.
                   1296: 
                   1297: Configuration:
                   1298:   -h, --help              display this help and exit
                   1299:       --help=short        display options specific to this package
                   1300:       --help=recursive    display the short help of all the included packages
                   1301:   -V, --version           display version information and exit
1.1.1.15  root     1302:   -q, --quiet, --silent   do not print 'checking ...' messages
1.1       root     1303:       --cache-file=FILE   cache test results in FILE [disabled]
1.1.1.15  root     1304:   -C, --config-cache      alias for '--cache-file=config.cache'
1.1       root     1305:   -n, --no-create         do not create output files
1.1.1.15  root     1306:       --srcdir=DIR        find the sources in DIR [configure dir or '..']
1.1       root     1307: 
                   1308: Installation directories:
                   1309:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1310:                           [$ac_default_prefix]
                   1311:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1312:                           [PREFIX]
                   1313: 
1.1.1.15  root     1314: By default, 'make install' will install all the files in
                   1315: '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
                   1316: an installation prefix other than '$ac_default_prefix' using '--prefix',
                   1317: for instance '--prefix=\$HOME'.
1.1       root     1318: 
                   1319: For better control, use the options below.
                   1320: 
                   1321: Fine tuning of the installation directories:
                   1322:   --bindir=DIR            user executables [EPREFIX/bin]
                   1323:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1324:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1325:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1326:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1327:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.10  root     1328:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1       root     1329:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1330:   --includedir=DIR        C header files [PREFIX/include]
                   1331:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1332:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1333:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1334:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1335:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1336:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.1.1.3   root     1337:   --docdir=DIR            documentation root [DATAROOTDIR/doc/nono]
1.1       root     1338:   --htmldir=DIR           html documentation [DOCDIR]
                   1339:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1340:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1341:   --psdir=DIR             ps documentation [DOCDIR]
                   1342: _ACEOF
                   1343: 
                   1344:   cat <<\_ACEOF
1.1.1.6   root     1345: 
                   1346: System types:
                   1347:   --build=BUILD     configure for building on BUILD [guessed]
                   1348:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.1       root     1349: _ACEOF
                   1350: fi
                   1351: 
                   1352: if test -n "$ac_init_help"; then
                   1353:   case $ac_init_help in
1.1.1.3   root     1354:      short | recursive ) echo "Configuration of nono 0.0:";;
1.1       root     1355:    esac
                   1356:   cat <<\_ACEOF
                   1357: 
1.1.1.14  root     1358: Optional Features:
                   1359:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1360:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1361:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1362:   --disable-avx2          disable avx2 support
1.1.1.15  root     1363:   --disable-neon          disable NEON support
1.1.1.14  root     1364: 
1.1.1.10  root     1365: Optional Packages:
                   1366:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1367:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.16  root     1368:   --without-libslirp      disable usermode network (using SLIRP)
1.1.1.10  root     1369:   --without-gui           disable GUI support
                   1370: 
1.1       root     1371: Some influential environment variables:
                   1372:   CXX         C++ compiler command
                   1373:   CXXFLAGS    C++ compiler flags
                   1374:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1375:               nonstandard directory <lib dir>
                   1376:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1377:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1378:               you have headers in a nonstandard directory <include dir>
                   1379:   CC          C compiler command
                   1380:   CFLAGS      C compiler flags
                   1381: 
1.1.1.15  root     1382: Use these variables to override the choices made by 'configure' or to help
1.1       root     1383: it to find libraries and programs with nonstandard names/locations.
                   1384: 
                   1385: Report bugs to the package provider.
                   1386: _ACEOF
                   1387: ac_status=$?
                   1388: fi
                   1389: 
                   1390: if test "$ac_init_help" = "recursive"; then
                   1391:   # If there are subdirs, report their specific --help.
                   1392:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1393:     test -d "$ac_dir" ||
                   1394:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1395:       continue
                   1396:     ac_builddir=.
                   1397: 
                   1398: case "$ac_dir" in
                   1399: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1400: *)
1.1.1.10  root     1401:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     1402:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     1403:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     1404:   case $ac_top_builddir_sub in
                   1405:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1406:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1407:   esac ;;
                   1408: esac
                   1409: ac_abs_top_builddir=$ac_pwd
                   1410: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1411: # for backward compatibility:
                   1412: ac_top_builddir=$ac_top_build_prefix
                   1413: 
                   1414: case $srcdir in
                   1415:   .)  # We are building in place.
                   1416:     ac_srcdir=.
                   1417:     ac_top_srcdir=$ac_top_builddir_sub
                   1418:     ac_abs_top_srcdir=$ac_pwd ;;
                   1419:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1420:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1421:     ac_top_srcdir=$srcdir
                   1422:     ac_abs_top_srcdir=$srcdir ;;
                   1423:   *) # Relative name.
                   1424:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1425:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1426:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1427: esac
                   1428: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1429: 
                   1430:     cd "$ac_dir" || { ac_status=$?; continue; }
1.1.1.10  root     1431:     # Check for configure.gnu first; this name is used for a wrapper for
                   1432:     # Metaconfig's "Configure" on case-insensitive file systems.
1.1       root     1433:     if test -f "$ac_srcdir/configure.gnu"; then
                   1434:       echo &&
                   1435:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1436:     elif test -f "$ac_srcdir/configure"; then
                   1437:       echo &&
                   1438:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1439:     else
1.1.1.10  root     1440:       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       root     1441:     fi || ac_status=$?
                   1442:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1443:   done
                   1444: fi
                   1445: 
                   1446: test -n "$ac_init_help" && exit $ac_status
                   1447: if $ac_init_version; then
                   1448:   cat <<\_ACEOF
1.1.1.3   root     1449: nono configure 0.0
1.1.1.15  root     1450: generated by GNU Autoconf 2.72
1.1       root     1451: 
1.1.1.15  root     1452: Copyright (C) 2023 Free Software Foundation, Inc.
1.1       root     1453: This configure script is free software; the Free Software Foundation
                   1454: gives unlimited permission to copy, distribute and modify it.
                   1455: _ACEOF
                   1456:   exit
                   1457: fi
                   1458: 
                   1459: ## ------------------------ ##
                   1460: ## Autoconf initialization. ##
                   1461: ## ------------------------ ##
                   1462: 
                   1463: # ac_fn_cxx_try_compile LINENO
                   1464: # ----------------------------
                   1465: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1466: ac_fn_cxx_try_compile ()
                   1467: {
                   1468:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1469:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1470:   if { { ac_try="$ac_compile"
                   1471: case "(($ac_try" in
                   1472:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1473:   *) ac_try_echo=$ac_try;;
                   1474: esac
                   1475: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1476: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1477:   (eval "$ac_compile") 2>conftest.err
                   1478:   ac_status=$?
                   1479:   if test -s conftest.err; then
                   1480:     grep -v '^ *+' conftest.err >conftest.er1
                   1481:     cat conftest.er1 >&5
                   1482:     mv -f conftest.er1 conftest.err
                   1483:   fi
1.1.1.10  root     1484:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1485:   test $ac_status = 0; } && {
                   1486:         test -z "$ac_cxx_werror_flag" ||
                   1487:         test ! -s conftest.err
1.1.1.10  root     1488:        } && test -s conftest.$ac_objext
                   1489: then :
1.1       root     1490:   ac_retval=0
1.1.1.15  root     1491: else case e in #(
                   1492:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1493: sed 's/^/| /' conftest.$ac_ext >&5
                   1494: 
1.1.1.15  root     1495:        ac_retval=1 ;;
                   1496: esac
1.1       root     1497: fi
                   1498:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1499:   as_fn_set_status $ac_retval
                   1500: 
                   1501: } # ac_fn_cxx_try_compile
                   1502: 
                   1503: # ac_fn_c_try_compile LINENO
                   1504: # --------------------------
                   1505: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1506: ac_fn_c_try_compile ()
                   1507: {
                   1508:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1509:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1510:   if { { ac_try="$ac_compile"
                   1511: case "(($ac_try" in
                   1512:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1513:   *) ac_try_echo=$ac_try;;
                   1514: esac
                   1515: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1516: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1517:   (eval "$ac_compile") 2>conftest.err
                   1518:   ac_status=$?
                   1519:   if test -s conftest.err; then
                   1520:     grep -v '^ *+' conftest.err >conftest.er1
                   1521:     cat conftest.er1 >&5
                   1522:     mv -f conftest.er1 conftest.err
                   1523:   fi
1.1.1.10  root     1524:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1525:   test $ac_status = 0; } && {
                   1526:         test -z "$ac_c_werror_flag" ||
                   1527:         test ! -s conftest.err
1.1.1.10  root     1528:        } && test -s conftest.$ac_objext
                   1529: then :
1.1       root     1530:   ac_retval=0
1.1.1.15  root     1531: else case e in #(
                   1532:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1533: sed 's/^/| /' conftest.$ac_ext >&5
                   1534: 
1.1.1.15  root     1535:        ac_retval=1 ;;
                   1536: esac
1.1       root     1537: fi
                   1538:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1539:   as_fn_set_status $ac_retval
                   1540: 
                   1541: } # ac_fn_c_try_compile
                   1542: 
1.1.1.10  root     1543: # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
                   1544: # ---------------------------------------------------------
1.1       root     1545: # Tests whether HEADER exists and can be compiled using the include files in
                   1546: # INCLUDES, setting the cache variable VAR accordingly.
1.1.1.10  root     1547: ac_fn_cxx_check_header_compile ()
1.1       root     1548: {
                   1549:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1550:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1551: printf %s "checking for $2... " >&6; }
                   1552: if eval test \${$3+y}
                   1553: then :
                   1554:   printf %s "(cached) " >&6
1.1.1.15  root     1555: else case e in #(
                   1556:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     1557: /* end confdefs.h.  */
                   1558: $4
                   1559: #include <$2>
                   1560: _ACEOF
1.1.1.10  root     1561: if ac_fn_cxx_try_compile "$LINENO"
                   1562: then :
1.1       root     1563:   eval "$3=yes"
1.1.1.15  root     1564: else case e in #(
                   1565:   e) eval "$3=no" ;;
                   1566: esac
1.1       root     1567: fi
1.1.1.15  root     1568: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1569: esac
1.1       root     1570: fi
                   1571: eval ac_res=\$$3
1.1.1.10  root     1572:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1573: printf "%s\n" "$ac_res" >&6; }
1.1       root     1574:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1575: 
1.1.1.10  root     1576: } # ac_fn_cxx_check_header_compile
1.1       root     1577: 
                   1578: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
                   1579: # ---------------------------------------------
                   1580: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1581: # variable VAR accordingly.
                   1582: ac_fn_cxx_check_type ()
                   1583: {
                   1584:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1585:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1586: printf %s "checking for $2... " >&6; }
                   1587: if eval test \${$3+y}
                   1588: then :
                   1589:   printf %s "(cached) " >&6
1.1.1.15  root     1590: else case e in #(
                   1591:   e) eval "$3=no"
1.1       root     1592:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1593: /* end confdefs.h.  */
                   1594: $4
                   1595: int
1.1.1.10  root     1596: main (void)
1.1       root     1597: {
                   1598: if (sizeof ($2))
                   1599:         return 0;
                   1600:   ;
                   1601:   return 0;
                   1602: }
                   1603: _ACEOF
1.1.1.10  root     1604: if ac_fn_cxx_try_compile "$LINENO"
                   1605: then :
1.1       root     1606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1607: /* end confdefs.h.  */
                   1608: $4
                   1609: int
1.1.1.10  root     1610: main (void)
1.1       root     1611: {
                   1612: if (sizeof (($2)))
                   1613:            return 0;
                   1614:   ;
                   1615:   return 0;
                   1616: }
                   1617: _ACEOF
1.1.1.10  root     1618: if ac_fn_cxx_try_compile "$LINENO"
                   1619: then :
1.1       root     1620: 
1.1.1.15  root     1621: else case e in #(
                   1622:   e) eval "$3=yes" ;;
                   1623: esac
1.1       root     1624: fi
1.1.1.10  root     1625: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     1626: fi
1.1.1.15  root     1627: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1628: esac
1.1       root     1629: fi
                   1630: eval ac_res=\$$3
1.1.1.10  root     1631:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1632: printf "%s\n" "$ac_res" >&6; }
1.1       root     1633:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1634: 
                   1635: } # ac_fn_cxx_check_type
                   1636: 
1.1.1.14  root     1637: # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
                   1638: # ------------------------------------------------------
                   1639: # Tries to find if the field MEMBER exists in type AGGR, after including
                   1640: # INCLUDES, setting cache variable VAR accordingly.
                   1641: ac_fn_cxx_check_member ()
                   1642: {
                   1643:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1644:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   1645: printf %s "checking for $2.$3... " >&6; }
                   1646: if eval test \${$4+y}
                   1647: then :
                   1648:   printf %s "(cached) " >&6
1.1.1.15  root     1649: else case e in #(
                   1650:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.14  root     1651: /* end confdefs.h.  */
                   1652: $5
                   1653: int
                   1654: main (void)
                   1655: {
                   1656: static $2 ac_aggr;
                   1657: if (ac_aggr.$3)
                   1658: return 0;
                   1659:   ;
                   1660:   return 0;
                   1661: }
                   1662: _ACEOF
                   1663: if ac_fn_cxx_try_compile "$LINENO"
                   1664: then :
                   1665:   eval "$4=yes"
1.1.1.15  root     1666: else case e in #(
                   1667:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.14  root     1668: /* end confdefs.h.  */
                   1669: $5
                   1670: int
                   1671: main (void)
                   1672: {
                   1673: static $2 ac_aggr;
                   1674: if (sizeof ac_aggr.$3)
                   1675: return 0;
                   1676:   ;
                   1677:   return 0;
                   1678: }
                   1679: _ACEOF
                   1680: if ac_fn_cxx_try_compile "$LINENO"
                   1681: then :
                   1682:   eval "$4=yes"
1.1.1.15  root     1683: else case e in #(
                   1684:   e) eval "$4=no" ;;
                   1685: esac
1.1.1.14  root     1686: fi
1.1.1.15  root     1687: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1688: esac
1.1.1.14  root     1689: fi
1.1.1.15  root     1690: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1691: esac
1.1.1.14  root     1692: fi
                   1693: eval ac_res=\$$4
                   1694:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1695: printf "%s\n" "$ac_res" >&6; }
                   1696:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1697: 
                   1698: } # ac_fn_cxx_check_member
                   1699: 
1.1       root     1700: # ac_fn_cxx_try_link LINENO
                   1701: # -------------------------
                   1702: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1703: ac_fn_cxx_try_link ()
                   1704: {
                   1705:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     1706:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.1       root     1707:   if { { ac_try="$ac_link"
                   1708: case "(($ac_try" in
                   1709:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1710:   *) ac_try_echo=$ac_try;;
                   1711: esac
                   1712: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     1713: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1714:   (eval "$ac_link") 2>conftest.err
                   1715:   ac_status=$?
                   1716:   if test -s conftest.err; then
                   1717:     grep -v '^ *+' conftest.err >conftest.er1
                   1718:     cat conftest.er1 >&5
                   1719:     mv -f conftest.er1 conftest.err
                   1720:   fi
1.1.1.10  root     1721:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1722:   test $ac_status = 0; } && {
                   1723:         test -z "$ac_cxx_werror_flag" ||
                   1724:         test ! -s conftest.err
                   1725:        } && test -s conftest$ac_exeext && {
                   1726:         test "$cross_compiling" = yes ||
                   1727:         test -x conftest$ac_exeext
1.1.1.10  root     1728:        }
                   1729: then :
1.1       root     1730:   ac_retval=0
1.1.1.15  root     1731: else case e in #(
                   1732:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1733: sed 's/^/| /' conftest.$ac_ext >&5
                   1734: 
1.1.1.15  root     1735:        ac_retval=1 ;;
                   1736: esac
1.1       root     1737: fi
                   1738:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1739:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1740:   # interfere with the next link command; also delete a directory that is
                   1741:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1742:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1743:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1744:   as_fn_set_status $ac_retval
                   1745: 
                   1746: } # ac_fn_cxx_try_link
1.1.1.17! root     1747: 
        !          1748: # ac_fn_cxx_try_run LINENO
        !          1749: # ------------------------
        !          1750: # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
        !          1751: # executables *can* be run.
        !          1752: ac_fn_cxx_try_run ()
        !          1753: {
        !          1754:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1755:   if { { ac_try="$ac_link"
        !          1756: case "(($ac_try" in
        !          1757:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1758:   *) ac_try_echo=$ac_try;;
        !          1759: esac
        !          1760: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1761: printf "%s\n" "$ac_try_echo"; } >&5
        !          1762:   (eval "$ac_link") 2>&5
        !          1763:   ac_status=$?
        !          1764:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1765:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
        !          1766:   { { case "(($ac_try" in
        !          1767:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1768:   *) ac_try_echo=$ac_try;;
        !          1769: esac
        !          1770: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1771: printf "%s\n" "$ac_try_echo"; } >&5
        !          1772:   (eval "$ac_try") 2>&5
        !          1773:   ac_status=$?
        !          1774:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1775:   test $ac_status = 0; }; }
        !          1776: then :
        !          1777:   ac_retval=0
        !          1778: else case e in #(
        !          1779:   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
        !          1780:        printf "%s\n" "$as_me: failed program was:" >&5
        !          1781: sed 's/^/| /' conftest.$ac_ext >&5
        !          1782: 
        !          1783:        ac_retval=$ac_status ;;
        !          1784: esac
        !          1785: fi
        !          1786:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1787:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1788:   as_fn_set_status $ac_retval
        !          1789: 
        !          1790: } # ac_fn_cxx_try_run
1.1.1.10  root     1791: ac_configure_args_raw=
                   1792: for ac_arg
                   1793: do
                   1794:   case $ac_arg in
                   1795:   *\'*)
                   1796:     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1797:   esac
                   1798:   as_fn_append ac_configure_args_raw " '$ac_arg'"
                   1799: done
                   1800: 
                   1801: case $ac_configure_args_raw in
                   1802:   *$as_nl*)
                   1803:     ac_safe_unquote= ;;
                   1804:   *)
                   1805:     ac_unsafe_z='|&;<>()$`\\"*?[ ''    ' # This string ends in space, tab.
                   1806:     ac_unsafe_a="$ac_unsafe_z#~"
                   1807:     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
                   1808:     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
                   1809: esac
                   1810: 
1.1       root     1811: cat >config.log <<_ACEOF
                   1812: This file contains any messages produced by compilers while
                   1813: running configure, to aid debugging if configure makes a mistake.
                   1814: 
1.1.1.3   root     1815: It was created by nono $as_me 0.0, which was
1.1.1.15  root     1816: generated by GNU Autoconf 2.72.  Invocation command line was
1.1       root     1817: 
1.1.1.10  root     1818:   $ $0$ac_configure_args_raw
1.1       root     1819: 
                   1820: _ACEOF
                   1821: exec 5>>config.log
                   1822: {
                   1823: cat <<_ASUNAME
                   1824: ## --------- ##
                   1825: ## Platform. ##
                   1826: ## --------- ##
                   1827: 
                   1828: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1829: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1830: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1831: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1832: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1833: 
                   1834: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1835: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1836: 
                   1837: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1838: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1839: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1840: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1841: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1842: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1843: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1844: 
                   1845: _ASUNAME
                   1846: 
                   1847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1848: for as_dir in $PATH
                   1849: do
                   1850:   IFS=$as_save_IFS
1.1.1.10  root     1851:   case $as_dir in #(((
                   1852:     '') as_dir=./ ;;
                   1853:     */) ;;
                   1854:     *) as_dir=$as_dir/ ;;
                   1855:   esac
                   1856:     printf "%s\n" "PATH: $as_dir"
1.1       root     1857:   done
                   1858: IFS=$as_save_IFS
                   1859: 
                   1860: } >&5
                   1861: 
                   1862: cat >&5 <<_ACEOF
                   1863: 
                   1864: 
                   1865: ## ----------- ##
                   1866: ## Core tests. ##
                   1867: ## ----------- ##
                   1868: 
                   1869: _ACEOF
                   1870: 
                   1871: 
                   1872: # Keep a trace of the command line.
                   1873: # Strip out --no-create and --no-recursion so they do not pile up.
                   1874: # Strip out --silent because we don't want to record it for future runs.
                   1875: # Also quote any args containing shell meta-characters.
                   1876: # Make two passes to allow for proper duplicate-argument suppression.
                   1877: ac_configure_args=
                   1878: ac_configure_args0=
                   1879: ac_configure_args1=
                   1880: ac_must_keep_next=false
                   1881: for ac_pass in 1 2
                   1882: do
                   1883:   for ac_arg
                   1884:   do
                   1885:     case $ac_arg in
                   1886:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1887:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1888:     | -silent | --silent | --silen | --sile | --sil)
                   1889:       continue ;;
                   1890:     *\'*)
1.1.1.10  root     1891:       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     1892:     esac
                   1893:     case $ac_pass in
                   1894:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   1895:     2)
                   1896:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   1897:       if test $ac_must_keep_next = true; then
                   1898:        ac_must_keep_next=false # Got value, back to normal.
                   1899:       else
                   1900:        case $ac_arg in
                   1901:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1902:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1903:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1904:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1905:            case "$ac_configure_args0 " in
                   1906:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1907:            esac
                   1908:            ;;
                   1909:          -* ) ac_must_keep_next=true ;;
                   1910:        esac
                   1911:       fi
                   1912:       as_fn_append ac_configure_args " '$ac_arg'"
                   1913:       ;;
                   1914:     esac
                   1915:   done
                   1916: done
                   1917: { ac_configure_args0=; unset ac_configure_args0;}
                   1918: { ac_configure_args1=; unset ac_configure_args1;}
                   1919: 
                   1920: # When interrupted or exit'd, cleanup temporary files, and complete
                   1921: # config.log.  We remove comments because anyway the quotes in there
                   1922: # would cause problems or look ugly.
                   1923: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1924: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   1925: trap 'exit_status=$?
1.1.1.10  root     1926:   # Sanitize IFS.
                   1927:   IFS=" ""     $as_nl"
1.1       root     1928:   # Save into config.log some information that might help in debugging.
                   1929:   {
                   1930:     echo
                   1931: 
1.1.1.10  root     1932:     printf "%s\n" "## ---------------- ##
1.1       root     1933: ## Cache variables. ##
                   1934: ## ---------------- ##"
                   1935:     echo
                   1936:     # The following way of writing the cache mishandles newlines in values,
                   1937: (
                   1938:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1939:     eval ac_val=\$$ac_var
                   1940:     case $ac_val in #(
                   1941:     *${as_nl}*)
                   1942:       case $ac_var in #(
1.1.1.10  root     1943:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   1944: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     1945:       esac
                   1946:       case $ac_var in #(
                   1947:       _ | IFS | as_nl) ;; #(
                   1948:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   1949:       *) { eval $ac_var=; unset $ac_var;} ;;
                   1950:       esac ;;
                   1951:     esac
                   1952:   done
                   1953:   (set) 2>&1 |
                   1954:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1955:     *${as_nl}ac_space=\ *)
                   1956:       sed -n \
                   1957:        "s/'\''/'\''\\\\'\'''\''/g;
                   1958:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1959:       ;; #(
                   1960:     *)
                   1961:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   1962:       ;;
                   1963:     esac |
                   1964:     sort
                   1965: )
                   1966:     echo
                   1967: 
1.1.1.10  root     1968:     printf "%s\n" "## ----------------- ##
1.1       root     1969: ## Output variables. ##
                   1970: ## ----------------- ##"
                   1971:     echo
                   1972:     for ac_var in $ac_subst_vars
                   1973:     do
                   1974:       eval ac_val=\$$ac_var
                   1975:       case $ac_val in
1.1.1.10  root     1976:       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1977:       esac
1.1.1.10  root     1978:       printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     1979:     done | sort
                   1980:     echo
                   1981: 
                   1982:     if test -n "$ac_subst_files"; then
1.1.1.10  root     1983:       printf "%s\n" "## ------------------- ##
1.1       root     1984: ## File substitutions. ##
                   1985: ## ------------------- ##"
                   1986:       echo
                   1987:       for ac_var in $ac_subst_files
                   1988:       do
                   1989:        eval ac_val=\$$ac_var
                   1990:        case $ac_val in
1.1.1.10  root     1991:        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1992:        esac
1.1.1.10  root     1993:        printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     1994:       done | sort
                   1995:       echo
                   1996:     fi
                   1997: 
                   1998:     if test -s confdefs.h; then
1.1.1.10  root     1999:       printf "%s\n" "## ----------- ##
1.1       root     2000: ## confdefs.h. ##
                   2001: ## ----------- ##"
                   2002:       echo
                   2003:       cat confdefs.h
                   2004:       echo
                   2005:     fi
                   2006:     test "$ac_signal" != 0 &&
1.1.1.10  root     2007:       printf "%s\n" "$as_me: caught signal $ac_signal"
                   2008:     printf "%s\n" "$as_me: exit $exit_status"
1.1       root     2009:   } >&5
                   2010:   rm -f core *.core core.conftest.* &&
                   2011:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2012:     exit $exit_status
                   2013: ' 0
                   2014: for ac_signal in 1 2 13 15; do
                   2015:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2016: done
                   2017: ac_signal=0
                   2018: 
                   2019: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2020: rm -f -r conftest* confdefs.h
                   2021: 
1.1.1.10  root     2022: printf "%s\n" "/* confdefs.h */" > confdefs.h
1.1       root     2023: 
                   2024: # Predefined preprocessor variables.
                   2025: 
1.1.1.10  root     2026: printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1.1       root     2027: 
1.1.1.10  root     2028: printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1.1       root     2029: 
1.1.1.10  root     2030: printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1.1       root     2031: 
1.1.1.10  root     2032: printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1.1       root     2033: 
1.1.1.10  root     2034: printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1.1       root     2035: 
1.1.1.10  root     2036: printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1.1       root     2037: 
                   2038: 
                   2039: # Let the site file select an alternate cache file if it wants to.
                   2040: # Prefer an explicitly selected file to automatically selected ones.
                   2041: if test -n "$CONFIG_SITE"; then
1.1.1.10  root     2042:   ac_site_files="$CONFIG_SITE"
1.1       root     2043: elif test "x$prefix" != xNONE; then
1.1.1.10  root     2044:   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1.1       root     2045: else
1.1.1.10  root     2046:   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1       root     2047: fi
1.1.1.10  root     2048: 
                   2049: for ac_site_file in $ac_site_files
1.1       root     2050: do
1.1.1.10  root     2051:   case $ac_site_file in #(
                   2052:   */*) :
                   2053:      ;; #(
                   2054:   *) :
                   2055:     ac_site_file=./$ac_site_file ;;
                   2056: esac
                   2057:   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
                   2058:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2059: printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1.1       root     2060:     sed 's/^/| /' "$ac_site_file" >&5
                   2061:     . "$ac_site_file" \
1.1.1.15  root     2062:       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   2063: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     2064: as_fn_error $? "failed to load site script $ac_site_file
1.1.1.15  root     2065: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     2066:   fi
                   2067: done
                   2068: 
                   2069: if test -r "$cache_file"; then
                   2070:   # Some versions of bash will fail to source /dev/null (special files
                   2071:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2072:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.1.1.10  root     2073:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2074: printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1.1       root     2075:     case $cache_file in
                   2076:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2077:       *)                      . "./$cache_file";;
                   2078:     esac
                   2079:   fi
                   2080: else
1.1.1.10  root     2081:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2082: printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1.1       root     2083:   >$cache_file
                   2084: fi
                   2085: 
1.1.1.10  root     2086: # Test code for whether the C++ compiler supports C++98 (global declarations)
                   2087: ac_cxx_conftest_cxx98_globals='
                   2088: // Does the compiler advertise C++98 conformance?
                   2089: #if !defined __cplusplus || __cplusplus < 199711L
                   2090: # error "Compiler does not advertise C++98 conformance"
                   2091: #endif
1.1       root     2092: 
1.1.1.10  root     2093: // These inclusions are to reject old compilers that
                   2094: // lack the unsuffixed header files.
                   2095: #include <cstdlib>
                   2096: #include <exception>
                   2097: 
                   2098: // <cassert> and <cstring> are *not* freestanding headers in C++98.
                   2099: extern void assert (int);
                   2100: namespace std {
                   2101:   extern int strcmp (const char *, const char *);
                   2102: }
                   2103: 
                   2104: // Namespaces, exceptions, and templates were all added after "C++ 2.0".
                   2105: using std::exception;
                   2106: using std::strcmp;
                   2107: 
                   2108: namespace {
                   2109: 
                   2110: void test_exception_syntax()
                   2111: {
                   2112:   try {
                   2113:     throw "test";
                   2114:   } catch (const char *s) {
                   2115:     // Extra parentheses suppress a warning when building autoconf itself,
                   2116:     // due to lint rules shared with more typical C programs.
                   2117:     assert (!(strcmp) (s, "test"));
                   2118:   }
                   2119: }
1.1       root     2120: 
1.1.1.10  root     2121: template <typename T> struct test_template
                   2122: {
                   2123:   T const val;
                   2124:   explicit test_template(T t) : val(t) {}
                   2125:   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
                   2126: };
1.1       root     2127: 
1.1.1.10  root     2128: } // anonymous namespace
                   2129: '
1.1       root     2130: 
1.1.1.10  root     2131: # Test code for whether the C++ compiler supports C++98 (body of main)
                   2132: ac_cxx_conftest_cxx98_main='
                   2133:   assert (argc);
                   2134:   assert (! argv[0]);
                   2135: {
                   2136:   test_exception_syntax ();
                   2137:   test_template<double> tt (2.0);
                   2138:   assert (tt.add (4) == 6.0);
                   2139:   assert (true && !false);
                   2140: }
                   2141: '
                   2142: 
                   2143: # Test code for whether the C++ compiler supports C++11 (global declarations)
                   2144: ac_cxx_conftest_cxx11_globals='
                   2145: // Does the compiler advertise C++ 2011 conformance?
                   2146: #if !defined __cplusplus || __cplusplus < 201103L
                   2147: # error "Compiler does not advertise C++11 conformance"
                   2148: #endif
                   2149: 
                   2150: namespace cxx11test
                   2151: {
                   2152:   constexpr int get_val() { return 20; }
                   2153: 
                   2154:   struct testinit
                   2155:   {
                   2156:     int i;
                   2157:     double d;
                   2158:   };
                   2159: 
                   2160:   class delegate
                   2161:   {
                   2162:   public:
                   2163:     delegate(int n) : n(n) {}
                   2164:     delegate(): delegate(2354) {}
                   2165: 
                   2166:     virtual int getval() { return this->n; };
                   2167:   protected:
                   2168:     int n;
                   2169:   };
                   2170: 
                   2171:   class overridden : public delegate
                   2172:   {
                   2173:   public:
                   2174:     overridden(int n): delegate(n) {}
                   2175:     virtual int getval() override final { return this->n * 2; }
                   2176:   };
                   2177: 
                   2178:   class nocopy
                   2179:   {
                   2180:   public:
                   2181:     nocopy(int i): i(i) {}
                   2182:     nocopy() = default;
                   2183:     nocopy(const nocopy&) = delete;
                   2184:     nocopy & operator=(const nocopy&) = delete;
                   2185:   private:
                   2186:     int i;
                   2187:   };
                   2188: 
                   2189:   // for testing lambda expressions
                   2190:   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
                   2191:   {
                   2192:     return f(v);
                   2193:   }
                   2194: 
                   2195:   // for testing variadic templates and trailing return types
                   2196:   template <typename V> auto sum(V first) -> V
                   2197:   {
                   2198:     return first;
                   2199:   }
                   2200:   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
                   2201:   {
                   2202:     return first + sum(rest...);
                   2203:   }
                   2204: }
                   2205: '
                   2206: 
                   2207: # Test code for whether the C++ compiler supports C++11 (body of main)
                   2208: ac_cxx_conftest_cxx11_main='
                   2209: {
                   2210:   // Test auto and decltype
                   2211:   auto a1 = 6538;
                   2212:   auto a2 = 48573953.4;
                   2213:   auto a3 = "String literal";
                   2214: 
                   2215:   int total = 0;
                   2216:   for (auto i = a3; *i; ++i) { total += *i; }
                   2217: 
                   2218:   decltype(a2) a4 = 34895.034;
                   2219: }
                   2220: {
                   2221:   // Test constexpr
                   2222:   short sa[cxx11test::get_val()] = { 0 };
                   2223: }
                   2224: {
                   2225:   // Test initializer lists
                   2226:   cxx11test::testinit il = { 4323, 435234.23544 };
                   2227: }
                   2228: {
                   2229:   // Test range-based for
                   2230:   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
                   2231:                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
                   2232:   for (auto &x : array) { x += 23; }
                   2233: }
                   2234: {
                   2235:   // Test lambda expressions
                   2236:   using cxx11test::eval;
                   2237:   assert (eval ([](int x) { return x*2; }, 21) == 42);
                   2238:   double d = 2.0;
                   2239:   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
                   2240:   assert (d == 5.0);
                   2241:   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
                   2242:   assert (d == 5.0);
                   2243: }
                   2244: {
                   2245:   // Test use of variadic templates
                   2246:   using cxx11test::sum;
                   2247:   auto a = sum(1);
                   2248:   auto b = sum(1, 2);
                   2249:   auto c = sum(1.0, 2.0, 3.0);
                   2250: }
                   2251: {
                   2252:   // Test constructor delegation
                   2253:   cxx11test::delegate d1;
                   2254:   cxx11test::delegate d2();
                   2255:   cxx11test::delegate d3(45);
                   2256: }
                   2257: {
                   2258:   // Test override and final
                   2259:   cxx11test::overridden o1(55464);
                   2260: }
                   2261: {
                   2262:   // Test nullptr
                   2263:   char *c = nullptr;
                   2264: }
                   2265: {
                   2266:   // Test template brackets
                   2267:   test_template<::test_template<int>> v(test_template<int>(12));
                   2268: }
                   2269: {
                   2270:   // Unicode literals
                   2271:   char const *utf8 = u8"UTF-8 string \u2500";
                   2272:   char16_t const *utf16 = u"UTF-8 string \u2500";
                   2273:   char32_t const *utf32 = U"UTF-32 string \u2500";
                   2274: }
                   2275: '
                   2276: 
                   2277: # Test code for whether the C compiler supports C++11 (complete).
                   2278: ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
                   2279: ${ac_cxx_conftest_cxx11_globals}
                   2280: 
                   2281: int
                   2282: main (int argc, char **argv)
                   2283: {
                   2284:   int ok = 0;
                   2285:   ${ac_cxx_conftest_cxx98_main}
                   2286:   ${ac_cxx_conftest_cxx11_main}
                   2287:   return ok;
                   2288: }
                   2289: "
                   2290: 
                   2291: # Test code for whether the C compiler supports C++98 (complete).
                   2292: ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
                   2293: int
                   2294: main (int argc, char **argv)
                   2295: {
                   2296:   int ok = 0;
                   2297:   ${ac_cxx_conftest_cxx98_main}
                   2298:   return ok;
                   2299: }
                   2300: "
                   2301: 
                   2302: # Test code for whether the C compiler supports C89 (global declarations)
                   2303: ac_c_conftest_c89_globals='
                   2304: /* Does the compiler advertise C89 conformance?
                   2305:    Do not test the value of __STDC__, because some compilers set it to 0
                   2306:    while being otherwise adequately conformant. */
                   2307: #if !defined __STDC__
                   2308: # error "Compiler does not advertise C89 conformance"
                   2309: #endif
                   2310: 
                   2311: #include <stddef.h>
                   2312: #include <stdarg.h>
                   2313: struct stat;
                   2314: /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
                   2315: struct buf { int x; };
                   2316: struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1.1.1.15  root     2317: static char *e (char **p, int i)
1.1.1.10  root     2318: {
                   2319:   return p[i];
                   2320: }
                   2321: static char *f (char * (*g) (char **, int), char **p, ...)
                   2322: {
                   2323:   char *s;
                   2324:   va_list v;
                   2325:   va_start (v,p);
                   2326:   s = g (p, va_arg (v,int));
                   2327:   va_end (v);
                   2328:   return s;
                   2329: }
                   2330: 
1.1.1.15  root     2331: /* C89 style stringification. */
                   2332: #define noexpand_stringify(a) #a
                   2333: const char *stringified = noexpand_stringify(arbitrary+token=sequence);
                   2334: 
                   2335: /* C89 style token pasting.  Exercises some of the corner cases that
                   2336:    e.g. old MSVC gets wrong, but not very hard. */
                   2337: #define noexpand_concat(a,b) a##b
                   2338: #define expand_concat(a,b) noexpand_concat(a,b)
                   2339: extern int vA;
                   2340: extern int vbee;
                   2341: #define aye A
                   2342: #define bee B
                   2343: int *pvA = &expand_concat(v,aye);
                   2344: int *pvbee = &noexpand_concat(v,bee);
                   2345: 
1.1.1.10  root     2346: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2347:    function prototypes and stuff, but not \xHH hex character constants.
                   2348:    These do not provoke an error unfortunately, instead are silently treated
                   2349:    as an "x".  The following induces an error, until -std is added to get
                   2350:    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
                   2351:    array size at least.  It is necessary to write \x00 == 0 to get something
                   2352:    that is true only with -std.  */
                   2353: int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
                   2354: 
                   2355: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2356:    inside strings and character constants.  */
                   2357: #define FOO(x) '\''x'\''
                   2358: int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
                   2359: 
                   2360: int test (int i, double x);
                   2361: struct s1 {int (*f) (int a);};
                   2362: struct s2 {int (*f) (double a);};
                   2363: int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
                   2364:                int, int);'
                   2365: 
                   2366: # Test code for whether the C compiler supports C89 (body of main).
                   2367: ac_c_conftest_c89_main='
                   2368: ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
                   2369: '
                   2370: 
                   2371: # Test code for whether the C compiler supports C99 (global declarations)
                   2372: ac_c_conftest_c99_globals='
1.1.1.15  root     2373: /* Does the compiler advertise C99 conformance? */
1.1.1.10  root     2374: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
                   2375: # error "Compiler does not advertise C99 conformance"
                   2376: #endif
                   2377: 
1.1.1.15  root     2378: // See if C++-style comments work.
                   2379: 
1.1.1.10  root     2380: #include <stdbool.h>
                   2381: extern int puts (const char *);
                   2382: extern int printf (const char *, ...);
                   2383: extern int dprintf (int, const char *, ...);
                   2384: extern void *malloc (size_t);
1.1.1.15  root     2385: extern void free (void *);
1.1.1.10  root     2386: 
                   2387: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   2388: // dprintf is used instead of fprintf to avoid needing to declare
                   2389: // FILE and stderr.
                   2390: #define debug(...) dprintf (2, __VA_ARGS__)
                   2391: #define showlist(...) puts (#__VA_ARGS__)
                   2392: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   2393: static void
                   2394: test_varargs_macros (void)
                   2395: {
                   2396:   int x = 1234;
                   2397:   int y = 5678;
                   2398:   debug ("Flag");
                   2399:   debug ("X = %d\n", x);
                   2400:   showlist (The first, second, and third items.);
                   2401:   report (x>y, "x is %d but y is %d", x, y);
                   2402: }
                   2403: 
                   2404: // Check long long types.
                   2405: #define BIG64 18446744073709551615ull
                   2406: #define BIG32 4294967295ul
                   2407: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   2408: #if !BIG_OK
                   2409:   #error "your preprocessor is broken"
                   2410: #endif
                   2411: #if BIG_OK
                   2412: #else
                   2413:   #error "your preprocessor is broken"
                   2414: #endif
                   2415: static long long int bignum = -9223372036854775807LL;
                   2416: static unsigned long long int ubignum = BIG64;
                   2417: 
                   2418: struct incomplete_array
                   2419: {
                   2420:   int datasize;
                   2421:   double data[];
                   2422: };
                   2423: 
                   2424: struct named_init {
                   2425:   int number;
                   2426:   const wchar_t *name;
                   2427:   double average;
                   2428: };
                   2429: 
                   2430: typedef const char *ccp;
                   2431: 
                   2432: static inline int
                   2433: test_restrict (ccp restrict text)
                   2434: {
                   2435:   // Iterate through items via the restricted pointer.
                   2436:   // Also check for declarations in for loops.
                   2437:   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
                   2438:     continue;
                   2439:   return 0;
                   2440: }
                   2441: 
                   2442: // Check varargs and va_copy.
                   2443: static bool
                   2444: test_varargs (const char *format, ...)
                   2445: {
                   2446:   va_list args;
                   2447:   va_start (args, format);
                   2448:   va_list args_copy;
                   2449:   va_copy (args_copy, args);
                   2450: 
                   2451:   const char *str = "";
                   2452:   int number = 0;
                   2453:   float fnumber = 0;
                   2454: 
                   2455:   while (*format)
                   2456:     {
                   2457:       switch (*format++)
                   2458:        {
                   2459:        case '\''s'\'': // string
                   2460:          str = va_arg (args_copy, const char *);
                   2461:          break;
                   2462:        case '\''d'\'': // int
                   2463:          number = va_arg (args_copy, int);
                   2464:          break;
                   2465:        case '\''f'\'': // float
                   2466:          fnumber = va_arg (args_copy, double);
                   2467:          break;
                   2468:        default:
                   2469:          break;
                   2470:        }
                   2471:     }
                   2472:   va_end (args_copy);
                   2473:   va_end (args);
                   2474: 
                   2475:   return *str && number && fnumber;
                   2476: }
                   2477: '
                   2478: 
                   2479: # Test code for whether the C compiler supports C99 (body of main).
                   2480: ac_c_conftest_c99_main='
                   2481:   // Check bool.
                   2482:   _Bool success = false;
                   2483:   success |= (argc != 0);
                   2484: 
                   2485:   // Check restrict.
                   2486:   if (test_restrict ("String literal") == 0)
                   2487:     success = true;
                   2488:   char *restrict newvar = "Another string";
                   2489: 
                   2490:   // Check varargs.
                   2491:   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
                   2492:   test_varargs_macros ();
                   2493: 
                   2494:   // Check flexible array members.
                   2495:   struct incomplete_array *ia =
                   2496:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   2497:   ia->datasize = 10;
                   2498:   for (int i = 0; i < ia->datasize; ++i)
                   2499:     ia->data[i] = i * 1.234;
1.1.1.15  root     2500:   // Work around memory leak warnings.
                   2501:   free (ia);
1.1.1.10  root     2502: 
                   2503:   // Check named initializers.
                   2504:   struct named_init ni = {
                   2505:     .number = 34,
                   2506:     .name = L"Test wide string",
                   2507:     .average = 543.34343,
                   2508:   };
                   2509: 
                   2510:   ni.number = 58;
                   2511: 
                   2512:   int dynamic_array[ni.number];
                   2513:   dynamic_array[0] = argv[0][0];
                   2514:   dynamic_array[ni.number - 1] = 543;
                   2515: 
                   2516:   // work around unused variable warnings
                   2517:   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
                   2518:         || dynamic_array[ni.number - 1] != 543);
                   2519: '
                   2520: 
                   2521: # Test code for whether the C compiler supports C11 (global declarations)
                   2522: ac_c_conftest_c11_globals='
1.1.1.15  root     2523: /* Does the compiler advertise C11 conformance? */
1.1.1.10  root     2524: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
                   2525: # error "Compiler does not advertise C11 conformance"
                   2526: #endif
                   2527: 
                   2528: // Check _Alignas.
                   2529: char _Alignas (double) aligned_as_double;
                   2530: char _Alignas (0) no_special_alignment;
                   2531: extern char aligned_as_int;
                   2532: char _Alignas (0) _Alignas (int) aligned_as_int;
                   2533: 
                   2534: // Check _Alignof.
                   2535: enum
                   2536: {
                   2537:   int_alignment = _Alignof (int),
                   2538:   int_array_alignment = _Alignof (int[100]),
                   2539:   char_alignment = _Alignof (char)
                   2540: };
                   2541: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
                   2542: 
                   2543: // Check _Noreturn.
                   2544: int _Noreturn does_not_return (void) { for (;;) continue; }
                   2545: 
                   2546: // Check _Static_assert.
                   2547: struct test_static_assert
                   2548: {
                   2549:   int x;
                   2550:   _Static_assert (sizeof (int) <= sizeof (long int),
                   2551:                   "_Static_assert does not work in struct");
                   2552:   long int y;
                   2553: };
                   2554: 
                   2555: // Check UTF-8 literals.
                   2556: #define u8 syntax error!
                   2557: char const utf8_literal[] = u8"happens to be ASCII" "another string";
                   2558: 
                   2559: // Check duplicate typedefs.
                   2560: typedef long *long_ptr;
                   2561: typedef long int *long_ptr;
                   2562: typedef long_ptr long_ptr;
                   2563: 
                   2564: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
                   2565: struct anonymous
                   2566: {
                   2567:   union {
                   2568:     struct { int i; int j; };
                   2569:     struct { int k; long int l; } w;
                   2570:   };
                   2571:   int m;
                   2572: } v1;
                   2573: '
                   2574: 
                   2575: # Test code for whether the C compiler supports C11 (body of main).
                   2576: ac_c_conftest_c11_main='
                   2577:   _Static_assert ((offsetof (struct anonymous, i)
                   2578:                   == offsetof (struct anonymous, w.k)),
                   2579:                  "Anonymous union alignment botch");
                   2580:   v1.i = 2;
                   2581:   v1.w.k = 5;
                   2582:   ok |= v1.i != 5;
                   2583: '
                   2584: 
                   2585: # Test code for whether the C compiler supports C11 (complete).
                   2586: ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
                   2587: ${ac_c_conftest_c99_globals}
                   2588: ${ac_c_conftest_c11_globals}
                   2589: 
                   2590: int
                   2591: main (int argc, char **argv)
                   2592: {
                   2593:   int ok = 0;
                   2594:   ${ac_c_conftest_c89_main}
                   2595:   ${ac_c_conftest_c99_main}
                   2596:   ${ac_c_conftest_c11_main}
                   2597:   return ok;
                   2598: }
                   2599: "
                   2600: 
                   2601: # Test code for whether the C compiler supports C99 (complete).
                   2602: ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
                   2603: ${ac_c_conftest_c99_globals}
                   2604: 
                   2605: int
                   2606: main (int argc, char **argv)
                   2607: {
                   2608:   int ok = 0;
                   2609:   ${ac_c_conftest_c89_main}
                   2610:   ${ac_c_conftest_c99_main}
                   2611:   return ok;
                   2612: }
                   2613: "
                   2614: 
                   2615: # Test code for whether the C compiler supports C89 (complete).
                   2616: ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
                   2617: 
                   2618: int
                   2619: main (int argc, char **argv)
                   2620: {
                   2621:   int ok = 0;
                   2622:   ${ac_c_conftest_c89_main}
                   2623:   return ok;
                   2624: }
                   2625: "
                   2626: 
                   2627: as_fn_append ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H"
                   2628: as_fn_append ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H"
                   2629: as_fn_append ac_header_cxx_list " string.h string_h HAVE_STRING_H"
                   2630: as_fn_append ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
                   2631: as_fn_append ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H"
                   2632: as_fn_append ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H"
                   2633: as_fn_append ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
                   2634: as_fn_append ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
                   2635: as_fn_append ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H"
                   2636: 
                   2637: # Auxiliary files required by this configure script.
                   2638: ac_aux_files="config.guess config.sub install-sh"
                   2639: 
                   2640: # Locations in which to look for auxiliary files.
                   2641: ac_aux_dir_candidates="${srcdir}/scripts"
                   2642: 
                   2643: # Search for a directory containing all of the required auxiliary files,
                   2644: # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
                   2645: # If we don't find one directory that contains all the files we need,
                   2646: # we report the set of missing files from the *first* directory in
                   2647: # $ac_aux_dir_candidates and give up.
                   2648: ac_missing_aux_files=""
                   2649: ac_first_candidate=:
                   2650: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
                   2651: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2652: as_found=false
                   2653: for as_dir in $ac_aux_dir_candidates
                   2654: do
                   2655:   IFS=$as_save_IFS
                   2656:   case $as_dir in #(((
                   2657:     '') as_dir=./ ;;
                   2658:     */) ;;
                   2659:     *) as_dir=$as_dir/ ;;
                   2660:   esac
                   2661:   as_found=:
                   2662: 
                   2663:   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
                   2664:   ac_aux_dir_found=yes
                   2665:   ac_install_sh=
                   2666:   for ac_aux in $ac_aux_files
                   2667:   do
                   2668:     # As a special case, if "install-sh" is required, that requirement
                   2669:     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
                   2670:     # and $ac_install_sh is set appropriately for whichever one is found.
                   2671:     if test x"$ac_aux" = x"install-sh"
                   2672:     then
                   2673:       if test -f "${as_dir}install-sh"; then
                   2674:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
                   2675:         ac_install_sh="${as_dir}install-sh -c"
                   2676:       elif test -f "${as_dir}install.sh"; then
                   2677:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
                   2678:         ac_install_sh="${as_dir}install.sh -c"
                   2679:       elif test -f "${as_dir}shtool"; then
                   2680:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
                   2681:         ac_install_sh="${as_dir}shtool install -c"
                   2682:       else
                   2683:         ac_aux_dir_found=no
                   2684:         if $ac_first_candidate; then
                   2685:           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
                   2686:         else
                   2687:           break
                   2688:         fi
                   2689:       fi
                   2690:     else
                   2691:       if test -f "${as_dir}${ac_aux}"; then
                   2692:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
                   2693:       else
                   2694:         ac_aux_dir_found=no
                   2695:         if $ac_first_candidate; then
                   2696:           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
                   2697:         else
                   2698:           break
                   2699:         fi
                   2700:       fi
                   2701:     fi
                   2702:   done
                   2703:   if test "$ac_aux_dir_found" = yes; then
                   2704:     ac_aux_dir="$as_dir"
1.1.1.6   root     2705:     break
                   2706:   fi
1.1.1.10  root     2707:   ac_first_candidate=false
                   2708: 
                   2709:   as_found=false
1.1.1.6   root     2710: done
1.1.1.10  root     2711: IFS=$as_save_IFS
                   2712: if $as_found
                   2713: then :
                   2714: 
1.1.1.15  root     2715: else case e in #(
                   2716:   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
                   2717: esac
1.1.1.6   root     2718: fi
                   2719: 
1.1.1.10  root     2720: 
1.1.1.6   root     2721: # These three variables are undocumented and unsupported,
                   2722: # and are intended to be withdrawn in a future Autoconf release.
                   2723: # They can cause serious problems if a builder's source tree is in a directory
                   2724: # whose full name contains unusual characters.
1.1.1.10  root     2725: if test -f "${ac_aux_dir}config.guess"; then
                   2726:   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
                   2727: fi
                   2728: if test -f "${ac_aux_dir}config.sub"; then
                   2729:   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
                   2730: fi
                   2731: if test -f "$ac_aux_dir/configure"; then
                   2732:   ac_configure="$SHELL ${ac_aux_dir}configure"
                   2733: fi
                   2734: 
                   2735: # Check that the precious variables saved in the cache have kept the same
                   2736: # value.
                   2737: ac_cache_corrupted=false
                   2738: for ac_var in $ac_precious_vars; do
                   2739:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2740:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2741:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2742:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2743:   case $ac_old_set,$ac_new_set in
                   2744:     set,)
1.1.1.15  root     2745:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
                   2746: printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1.1.1.10  root     2747:       ac_cache_corrupted=: ;;
                   2748:     ,set)
1.1.1.15  root     2749:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
                   2750: printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1.1.1.10  root     2751:       ac_cache_corrupted=: ;;
                   2752:     ,);;
                   2753:     *)
                   2754:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2755:        # differences in whitespace do not lead to failure.
                   2756:        ac_old_val_w=`echo x $ac_old_val`
                   2757:        ac_new_val_w=`echo x $ac_new_val`
                   2758:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.1.1.15  root     2759:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
                   2760: printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1.1.1.10  root     2761:          ac_cache_corrupted=:
                   2762:        else
1.1.1.15  root     2763:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
                   2764: printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1.1.1.10  root     2765:          eval $ac_var=\$ac_old_val
                   2766:        fi
1.1.1.15  root     2767:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
                   2768: printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
                   2769:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
                   2770: printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
1.1.1.10  root     2771:       fi;;
                   2772:   esac
                   2773:   # Pass precious variables to config.status.
                   2774:   if test "$ac_new_set" = set; then
                   2775:     case $ac_new_val in
                   2776:     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2777:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2778:     esac
                   2779:     case " $ac_configure_args " in
                   2780:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2781:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2782:     esac
                   2783:   fi
                   2784: done
                   2785: if $ac_cache_corrupted; then
1.1.1.15  root     2786:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   2787: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.10  root     2788:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2789: printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1.15  root     2790:   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1.1.1.10  root     2791:            and start over" "$LINENO" 5
                   2792: fi
                   2793: ## -------------------- ##
                   2794: ## Main body of script. ##
                   2795: ## -------------------- ##
                   2796: 
                   2797: ac_ext=c
                   2798: ac_cpp='$CPP $CPPFLAGS'
                   2799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2802: 
                   2803: 
1.1.1.6   root     2804: 
                   2805: 
1.1       root     2806: 
                   2807: # Checks for programs.
1.1.1.10  root     2808: 
                   2809: 
                   2810: 
                   2811: 
                   2812: 
                   2813: 
1.1       root     2814: ac_ext=cpp
                   2815: ac_cpp='$CXXCPP $CPPFLAGS'
                   2816: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2817: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2818: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2819: if test -z "$CXX"; then
                   2820:   if test -n "$CCC"; then
                   2821:     CXX=$CCC
                   2822:   else
                   2823:     if test -n "$ac_tool_prefix"; then
1.1.1.10  root     2824:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2825:   do
                   2826:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2827: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10  root     2828: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2829: printf %s "checking for $ac_word... " >&6; }
                   2830: if test ${ac_cv_prog_CXX+y}
                   2831: then :
                   2832:   printf %s "(cached) " >&6
1.1.1.15  root     2833: else case e in #(
                   2834:   e) if test -n "$CXX"; then
1.1       root     2835:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2836: else
                   2837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2838: for as_dir in $PATH
                   2839: do
                   2840:   IFS=$as_save_IFS
1.1.1.10  root     2841:   case $as_dir in #(((
                   2842:     '') as_dir=./ ;;
                   2843:     */) ;;
                   2844:     *) as_dir=$as_dir/ ;;
                   2845:   esac
1.1       root     2846:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     2847:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2848:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.1.1.10  root     2849:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2850:     break 2
                   2851:   fi
                   2852: done
                   2853:   done
                   2854: IFS=$as_save_IFS
                   2855: 
1.1.1.15  root     2856: fi ;;
                   2857: esac
1.1       root     2858: fi
                   2859: CXX=$ac_cv_prog_CXX
                   2860: if test -n "$CXX"; then
1.1.1.10  root     2861:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   2862: printf "%s\n" "$CXX" >&6; }
1.1       root     2863: else
1.1.1.10  root     2864:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2865: printf "%s\n" "no" >&6; }
1.1       root     2866: fi
                   2867: 
                   2868: 
                   2869:     test -n "$CXX" && break
                   2870:   done
                   2871: fi
                   2872: if test -z "$CXX"; then
                   2873:   ac_ct_CXX=$CXX
1.1.1.10  root     2874:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2875: do
                   2876:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2877: set dummy $ac_prog; ac_word=$2
1.1.1.10  root     2878: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2879: printf %s "checking for $ac_word... " >&6; }
                   2880: if test ${ac_cv_prog_ac_ct_CXX+y}
                   2881: then :
                   2882:   printf %s "(cached) " >&6
1.1.1.15  root     2883: else case e in #(
                   2884:   e) if test -n "$ac_ct_CXX"; then
1.1       root     2885:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2886: else
                   2887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2888: for as_dir in $PATH
                   2889: do
                   2890:   IFS=$as_save_IFS
1.1.1.10  root     2891:   case $as_dir in #(((
                   2892:     '') as_dir=./ ;;
                   2893:     */) ;;
                   2894:     *) as_dir=$as_dir/ ;;
                   2895:   esac
1.1       root     2896:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     2897:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2898:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.1.1.10  root     2899:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2900:     break 2
                   2901:   fi
                   2902: done
                   2903:   done
                   2904: IFS=$as_save_IFS
                   2905: 
1.1.1.15  root     2906: fi ;;
                   2907: esac
1.1       root     2908: fi
                   2909: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2910: if test -n "$ac_ct_CXX"; then
1.1.1.10  root     2911:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   2912: printf "%s\n" "$ac_ct_CXX" >&6; }
1.1       root     2913: else
1.1.1.10  root     2914:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2915: printf "%s\n" "no" >&6; }
1.1       root     2916: fi
                   2917: 
                   2918: 
                   2919:   test -n "$ac_ct_CXX" && break
                   2920: done
                   2921: 
                   2922:   if test "x$ac_ct_CXX" = x; then
                   2923:     CXX="g++"
                   2924:   else
                   2925:     case $cross_compiling:$ac_tool_warned in
                   2926: yes:)
1.1.1.10  root     2927: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2928: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     2929: ac_tool_warned=yes ;;
                   2930: esac
                   2931:     CXX=$ac_ct_CXX
                   2932:   fi
                   2933: fi
                   2934: 
                   2935:   fi
                   2936: fi
                   2937: # Provide some information about the compiler.
1.1.1.10  root     2938: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1.1       root     2939: set X $ac_compile
                   2940: ac_compiler=$2
                   2941: for ac_option in --version -v -V -qversion; do
                   2942:   { { ac_try="$ac_compiler $ac_option >&5"
                   2943: case "(($ac_try" in
                   2944:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2945:   *) ac_try_echo=$ac_try;;
                   2946: esac
                   2947: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     2948: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2949:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   2950:   ac_status=$?
                   2951:   if test -s conftest.err; then
                   2952:     sed '10a\
                   2953: ... rest of stderr output deleted ...
                   2954:          10q' conftest.err >conftest.er1
                   2955:     cat conftest.er1 >&5
                   2956:   fi
                   2957:   rm -f conftest.er1 conftest.err
1.1.1.10  root     2958:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     2959:   test $ac_status = 0; }
                   2960: done
                   2961: 
                   2962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2963: /* end confdefs.h.  */
                   2964: 
                   2965: int
1.1.1.10  root     2966: main (void)
1.1       root     2967: {
                   2968: 
                   2969:   ;
                   2970:   return 0;
                   2971: }
                   2972: _ACEOF
                   2973: ac_clean_files_save=$ac_clean_files
                   2974: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   2975: # Try to create an executable without -o first, disregard a.out.
                   2976: # It will help us diagnose broken compilers, and finding out an intuition
                   2977: # of exeext.
1.1.1.10  root     2978: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   2979: printf %s "checking whether the C++ compiler works... " >&6; }
                   2980: ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1       root     2981: 
                   2982: # The possible output files:
                   2983: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2984: 
                   2985: ac_rmfiles=
                   2986: for ac_file in $ac_files
                   2987: do
                   2988:   case $ac_file in
                   2989:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2990:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2991:   esac
                   2992: done
                   2993: rm -f $ac_rmfiles
                   2994: 
                   2995: if { { ac_try="$ac_link_default"
                   2996: case "(($ac_try" in
                   2997:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2998:   *) ac_try_echo=$ac_try;;
                   2999: esac
                   3000: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3001: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3002:   (eval "$ac_link_default") 2>&5
                   3003:   ac_status=$?
1.1.1.10  root     3004:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3005:   test $ac_status = 0; }
                   3006: then :
1.1.1.15  root     3007:   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
                   3008: # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
1.1       root     3009: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3010: # so that the user can short-circuit this test for compilers unknown to
                   3011: # Autoconf.
                   3012: for ac_file in $ac_files ''
                   3013: do
                   3014:   test -f "$ac_file" || continue
                   3015:   case $ac_file in
                   3016:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3017:        ;;
                   3018:     [ab].out )
                   3019:        # We found the default executable, but exeext='' is most
                   3020:        # certainly right.
                   3021:        break;;
                   3022:     *.* )
1.1.1.10  root     3023:        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
1.1       root     3024:        then :; else
                   3025:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3026:        fi
                   3027:        # We set ac_cv_exeext here because the later test for it is not
1.1.1.15  root     3028:        # safe: cross compilers may not add the suffix if given an '-o'
1.1       root     3029:        # argument, so we may need to know it at that point already.
                   3030:        # Even if this section looks crufty: it has the advantage of
                   3031:        # actually working.
                   3032:        break;;
                   3033:     * )
                   3034:        break;;
                   3035:   esac
                   3036: done
                   3037: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3038: 
1.1.1.15  root     3039: else case e in #(
                   3040:   e) ac_file='' ;;
                   3041: esac
1.1       root     3042: fi
1.1.1.10  root     3043: if test -z "$ac_file"
                   3044: then :
                   3045:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3046: printf "%s\n" "no" >&6; }
                   3047: printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     3048: sed 's/^/| /' conftest.$ac_ext >&5
                   3049: 
1.1.1.15  root     3050: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3051: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3052: as_fn_error 77 "C++ compiler cannot create executables
1.1.1.15  root     3053: See 'config.log' for more details" "$LINENO" 5; }
                   3054: else case e in #(
                   3055:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3056: printf "%s\n" "yes" >&6; } ;;
                   3057: esac
1.1.1.10  root     3058: fi
                   3059: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3060: printf %s "checking for C++ compiler default output file name... " >&6; }
                   3061: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3062: printf "%s\n" "$ac_file" >&6; }
1.1       root     3063: ac_exeext=$ac_cv_exeext
                   3064: 
                   3065: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3066: ac_clean_files=$ac_clean_files_save
1.1.1.10  root     3067: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3068: printf %s "checking for suffix of executables... " >&6; }
1.1       root     3069: if { { ac_try="$ac_link"
                   3070: case "(($ac_try" in
                   3071:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3072:   *) ac_try_echo=$ac_try;;
                   3073: esac
                   3074: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3075: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3076:   (eval "$ac_link") 2>&5
                   3077:   ac_status=$?
1.1.1.10  root     3078:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3079:   test $ac_status = 0; }
                   3080: then :
1.1.1.15  root     3081:   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
                   3082: # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
                   3083: # work properly (i.e., refer to 'conftest.exe'), while it won't with
                   3084: # 'rm'.
1.1       root     3085: for ac_file in conftest.exe conftest conftest.*; do
                   3086:   test -f "$ac_file" || continue
                   3087:   case $ac_file in
                   3088:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3089:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3090:          break;;
                   3091:     * ) break;;
                   3092:   esac
                   3093: done
1.1.1.15  root     3094: else case e in #(
                   3095:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3096: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3097: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.1.1.15  root     3098: See 'config.log' for more details" "$LINENO" 5; } ;;
                   3099: esac
1.1       root     3100: fi
                   3101: rm -f conftest conftest$ac_cv_exeext
1.1.1.10  root     3102: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3103: printf "%s\n" "$ac_cv_exeext" >&6; }
1.1       root     3104: 
                   3105: rm -f conftest.$ac_ext
                   3106: EXEEXT=$ac_cv_exeext
                   3107: ac_exeext=$EXEEXT
                   3108: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3109: /* end confdefs.h.  */
                   3110: #include <stdio.h>
                   3111: int
1.1.1.10  root     3112: main (void)
1.1       root     3113: {
                   3114: FILE *f = fopen ("conftest.out", "w");
1.1.1.15  root     3115:  if (!f)
                   3116:   return 1;
1.1       root     3117:  return ferror (f) || fclose (f) != 0;
                   3118: 
                   3119:   ;
                   3120:   return 0;
                   3121: }
                   3122: _ACEOF
                   3123: ac_clean_files="$ac_clean_files conftest.out"
                   3124: # Check that the compiler produces executables we can run.  If not, either
                   3125: # the compiler is broken, or we cross compile.
1.1.1.10  root     3126: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3127: printf %s "checking whether we are cross compiling... " >&6; }
1.1       root     3128: if test "$cross_compiling" != yes; then
                   3129:   { { ac_try="$ac_link"
                   3130: case "(($ac_try" in
                   3131:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3132:   *) ac_try_echo=$ac_try;;
                   3133: esac
                   3134: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3135: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3136:   (eval "$ac_link") 2>&5
                   3137:   ac_status=$?
1.1.1.10  root     3138:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3139:   test $ac_status = 0; }
                   3140:   if { ac_try='./conftest$ac_cv_exeext'
                   3141:   { { case "(($ac_try" in
                   3142:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3143:   *) ac_try_echo=$ac_try;;
                   3144: esac
                   3145: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3146: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3147:   (eval "$ac_try") 2>&5
                   3148:   ac_status=$?
1.1.1.10  root     3149:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3150:   test $ac_status = 0; }; }; then
                   3151:     cross_compiling=no
                   3152:   else
                   3153:     if test "$cross_compiling" = maybe; then
                   3154:        cross_compiling=yes
                   3155:     else
1.1.1.15  root     3156:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3157: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.10  root     3158: as_fn_error 77 "cannot run C++ compiled programs.
1.1.1.15  root     3159: If you meant to cross compile, use '--host'.
                   3160: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     3161:     fi
                   3162:   fi
                   3163: fi
1.1.1.10  root     3164: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3165: printf "%s\n" "$cross_compiling" >&6; }
1.1       root     3166: 
1.1.1.15  root     3167: rm -f conftest.$ac_ext conftest$ac_cv_exeext \
                   3168:   conftest.o conftest.obj conftest.out
1.1       root     3169: ac_clean_files=$ac_clean_files_save
1.1.1.10  root     3170: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3171: printf %s "checking for suffix of object files... " >&6; }
                   3172: if test ${ac_cv_objext+y}
                   3173: then :
                   3174:   printf %s "(cached) " >&6
1.1.1.15  root     3175: else case e in #(
                   3176:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3177: /* end confdefs.h.  */
                   3178: 
                   3179: int
1.1.1.10  root     3180: main (void)
1.1       root     3181: {
                   3182: 
                   3183:   ;
                   3184:   return 0;
                   3185: }
                   3186: _ACEOF
                   3187: rm -f conftest.o conftest.obj
                   3188: if { { ac_try="$ac_compile"
                   3189: case "(($ac_try" in
                   3190:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3191:   *) ac_try_echo=$ac_try;;
                   3192: esac
                   3193: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3194: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3195:   (eval "$ac_compile") 2>&5
                   3196:   ac_status=$?
1.1.1.10  root     3197:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3198:   test $ac_status = 0; }
                   3199: then :
1.1       root     3200:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3201:   test -f "$ac_file" || continue;
                   3202:   case $ac_file in
                   3203:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3204:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3205:        break;;
                   3206:   esac
                   3207: done
1.1.1.15  root     3208: else case e in #(
                   3209:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     3210: sed 's/^/| /' conftest.$ac_ext >&5
                   3211: 
1.1.1.15  root     3212: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3213: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3214: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.1.1.15  root     3215: See 'config.log' for more details" "$LINENO" 5; } ;;
                   3216: esac
1.1       root     3217: fi
1.1.1.15  root     3218: rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
                   3219: esac
1.1       root     3220: fi
1.1.1.10  root     3221: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3222: printf "%s\n" "$ac_cv_objext" >&6; }
1.1       root     3223: OBJEXT=$ac_cv_objext
                   3224: ac_objext=$OBJEXT
1.1.1.10  root     3225: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
                   3226: printf %s "checking whether the compiler supports GNU C++... " >&6; }
                   3227: if test ${ac_cv_cxx_compiler_gnu+y}
                   3228: then :
                   3229:   printf %s "(cached) " >&6
1.1.1.15  root     3230: else case e in #(
                   3231:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3232: /* end confdefs.h.  */
                   3233: 
                   3234: int
1.1.1.10  root     3235: main (void)
1.1       root     3236: {
                   3237: #ifndef __GNUC__
                   3238:        choke me
                   3239: #endif
                   3240: 
                   3241:   ;
                   3242:   return 0;
                   3243: }
                   3244: _ACEOF
1.1.1.10  root     3245: if ac_fn_cxx_try_compile "$LINENO"
                   3246: then :
1.1       root     3247:   ac_compiler_gnu=yes
1.1.1.15  root     3248: else case e in #(
                   3249:   e) ac_compiler_gnu=no ;;
                   3250: esac
1.1       root     3251: fi
1.1.1.10  root     3252: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3253: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1.1.15  root     3254:  ;;
                   3255: esac
1.1       root     3256: fi
1.1.1.10  root     3257: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3258: printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
                   3259: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   3260: 
1.1       root     3261: if test $ac_compiler_gnu = yes; then
                   3262:   GXX=yes
                   3263: else
                   3264:   GXX=
                   3265: fi
1.1.1.10  root     3266: ac_test_CXXFLAGS=${CXXFLAGS+y}
1.1       root     3267: ac_save_CXXFLAGS=$CXXFLAGS
1.1.1.10  root     3268: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3269: printf %s "checking whether $CXX accepts -g... " >&6; }
                   3270: if test ${ac_cv_prog_cxx_g+y}
                   3271: then :
                   3272:   printf %s "(cached) " >&6
1.1.1.15  root     3273: else case e in #(
                   3274:   e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.1       root     3275:    ac_cxx_werror_flag=yes
                   3276:    ac_cv_prog_cxx_g=no
                   3277:    CXXFLAGS="-g"
                   3278:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3279: /* end confdefs.h.  */
                   3280: 
                   3281: int
1.1.1.10  root     3282: main (void)
1.1       root     3283: {
                   3284: 
                   3285:   ;
                   3286:   return 0;
                   3287: }
                   3288: _ACEOF
1.1.1.10  root     3289: if ac_fn_cxx_try_compile "$LINENO"
                   3290: then :
1.1       root     3291:   ac_cv_prog_cxx_g=yes
1.1.1.15  root     3292: else case e in #(
                   3293:   e) CXXFLAGS=""
1.1       root     3294:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3295: /* end confdefs.h.  */
                   3296: 
                   3297: int
1.1.1.10  root     3298: main (void)
1.1       root     3299: {
                   3300: 
                   3301:   ;
                   3302:   return 0;
                   3303: }
                   3304: _ACEOF
1.1.1.10  root     3305: if ac_fn_cxx_try_compile "$LINENO"
                   3306: then :
1.1       root     3307: 
1.1.1.15  root     3308: else case e in #(
                   3309:   e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.1       root     3310:         CXXFLAGS="-g"
                   3311:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3312: /* end confdefs.h.  */
                   3313: 
                   3314: int
1.1.1.10  root     3315: main (void)
1.1       root     3316: {
                   3317: 
                   3318:   ;
                   3319:   return 0;
                   3320: }
                   3321: _ACEOF
1.1.1.10  root     3322: if ac_fn_cxx_try_compile "$LINENO"
                   3323: then :
1.1       root     3324:   ac_cv_prog_cxx_g=yes
                   3325: fi
1.1.1.15  root     3326: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   3327: esac
1.1       root     3328: fi
1.1.1.15  root     3329: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   3330: esac
1.1       root     3331: fi
1.1.1.10  root     3332: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.15  root     3333:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
                   3334: esac
1.1       root     3335: fi
1.1.1.10  root     3336: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3337: printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
                   3338: if test $ac_test_CXXFLAGS; then
1.1       root     3339:   CXXFLAGS=$ac_save_CXXFLAGS
                   3340: elif test $ac_cv_prog_cxx_g = yes; then
                   3341:   if test "$GXX" = yes; then
                   3342:     CXXFLAGS="-g -O2"
                   3343:   else
                   3344:     CXXFLAGS="-g"
                   3345:   fi
                   3346: else
                   3347:   if test "$GXX" = yes; then
                   3348:     CXXFLAGS="-O2"
                   3349:   else
                   3350:     CXXFLAGS=
                   3351:   fi
                   3352: fi
1.1.1.10  root     3353: ac_prog_cxx_stdcxx=no
                   3354: if test x$ac_prog_cxx_stdcxx = xno
                   3355: then :
                   3356:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
                   3357: printf %s "checking for $CXX option to enable C++11 features... " >&6; }
1.1.1.15  root     3358: if test ${ac_cv_prog_cxx_cxx11+y}
1.1.1.10  root     3359: then :
                   3360:   printf %s "(cached) " >&6
1.1.1.15  root     3361: else case e in #(
                   3362:   e) ac_cv_prog_cxx_cxx11=no
1.1.1.10  root     3363: ac_save_CXX=$CXX
                   3364: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3365: /* end confdefs.h.  */
                   3366: $ac_cxx_conftest_cxx11_program
                   3367: _ACEOF
                   3368: for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
                   3369: do
                   3370:   CXX="$ac_save_CXX $ac_arg"
                   3371:   if ac_fn_cxx_try_compile "$LINENO"
                   3372: then :
                   3373:   ac_cv_prog_cxx_cxx11=$ac_arg
                   3374: fi
                   3375: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   3376:   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
                   3377: done
                   3378: rm -f conftest.$ac_ext
1.1.1.15  root     3379: CXX=$ac_save_CXX ;;
                   3380: esac
1.1.1.10  root     3381: fi
                   3382: 
                   3383: if test "x$ac_cv_prog_cxx_cxx11" = xno
                   3384: then :
                   3385:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3386: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     3387: else case e in #(
                   3388:   e) if test "x$ac_cv_prog_cxx_cxx11" = x
1.1.1.10  root     3389: then :
                   3390:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3391: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     3392: else case e in #(
                   3393:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
1.1.1.10  root     3394: printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
1.1.1.15  root     3395:      CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
                   3396: esac
1.1.1.10  root     3397: fi
                   3398:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
1.1.1.15  root     3399:   ac_prog_cxx_stdcxx=cxx11 ;;
                   3400: esac
1.1.1.10  root     3401: fi
                   3402: fi
                   3403: if test x$ac_prog_cxx_stdcxx = xno
                   3404: then :
                   3405:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
                   3406: printf %s "checking for $CXX option to enable C++98 features... " >&6; }
1.1.1.15  root     3407: if test ${ac_cv_prog_cxx_cxx98+y}
1.1.1.10  root     3408: then :
                   3409:   printf %s "(cached) " >&6
1.1.1.15  root     3410: else case e in #(
                   3411:   e) ac_cv_prog_cxx_cxx98=no
1.1.1.10  root     3412: ac_save_CXX=$CXX
                   3413: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3414: /* end confdefs.h.  */
                   3415: $ac_cxx_conftest_cxx98_program
                   3416: _ACEOF
                   3417: for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
                   3418: do
                   3419:   CXX="$ac_save_CXX $ac_arg"
                   3420:   if ac_fn_cxx_try_compile "$LINENO"
                   3421: then :
                   3422:   ac_cv_prog_cxx_cxx98=$ac_arg
                   3423: fi
                   3424: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   3425:   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
                   3426: done
                   3427: rm -f conftest.$ac_ext
1.1.1.15  root     3428: CXX=$ac_save_CXX ;;
                   3429: esac
1.1.1.10  root     3430: fi
                   3431: 
                   3432: if test "x$ac_cv_prog_cxx_cxx98" = xno
                   3433: then :
                   3434:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3435: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     3436: else case e in #(
                   3437:   e) if test "x$ac_cv_prog_cxx_cxx98" = x
1.1.1.10  root     3438: then :
                   3439:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3440: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     3441: else case e in #(
                   3442:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
1.1.1.10  root     3443: printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
1.1.1.15  root     3444:      CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
                   3445: esac
1.1.1.10  root     3446: fi
                   3447:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
1.1.1.15  root     3448:   ac_prog_cxx_stdcxx=cxx98 ;;
                   3449: esac
1.1.1.10  root     3450: fi
                   3451: fi
                   3452: 
                   3453: ac_ext=c
                   3454: ac_cpp='$CPP $CPPFLAGS'
                   3455: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3456: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3457: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3458: 
                   3459: 
                   3460: 
                   3461: 
                   3462: 
                   3463: 
                   3464: 
                   3465: 
                   3466: 
                   3467: 
1.1       root     3468: ac_ext=c
                   3469: ac_cpp='$CPP $CPPFLAGS'
                   3470: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3471: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3472: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3473: if test -n "$ac_tool_prefix"; then
                   3474:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3475: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.10  root     3476: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3477: printf %s "checking for $ac_word... " >&6; }
                   3478: if test ${ac_cv_prog_CC+y}
                   3479: then :
                   3480:   printf %s "(cached) " >&6
1.1.1.15  root     3481: else case e in #(
                   3482:   e) if test -n "$CC"; then
1.1       root     3483:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3484: else
                   3485: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3486: for as_dir in $PATH
                   3487: do
                   3488:   IFS=$as_save_IFS
1.1.1.10  root     3489:   case $as_dir in #(((
                   3490:     '') as_dir=./ ;;
                   3491:     */) ;;
                   3492:     *) as_dir=$as_dir/ ;;
                   3493:   esac
1.1       root     3494:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3495:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3496:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.10  root     3497:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3498:     break 2
                   3499:   fi
                   3500: done
                   3501:   done
                   3502: IFS=$as_save_IFS
                   3503: 
1.1.1.15  root     3504: fi ;;
                   3505: esac
1.1       root     3506: fi
                   3507: CC=$ac_cv_prog_CC
                   3508: if test -n "$CC"; then
1.1.1.10  root     3509:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3510: printf "%s\n" "$CC" >&6; }
1.1       root     3511: else
1.1.1.10  root     3512:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3513: printf "%s\n" "no" >&6; }
1.1       root     3514: fi
                   3515: 
                   3516: 
                   3517: fi
                   3518: if test -z "$ac_cv_prog_CC"; then
                   3519:   ac_ct_CC=$CC
                   3520:   # Extract the first word of "gcc", so it can be a program name with args.
                   3521: set dummy gcc; ac_word=$2
1.1.1.10  root     3522: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3523: printf %s "checking for $ac_word... " >&6; }
                   3524: if test ${ac_cv_prog_ac_ct_CC+y}
                   3525: then :
                   3526:   printf %s "(cached) " >&6
1.1.1.15  root     3527: else case e in #(
                   3528:   e) if test -n "$ac_ct_CC"; then
1.1       root     3529:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3530: else
                   3531: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3532: for as_dir in $PATH
                   3533: do
                   3534:   IFS=$as_save_IFS
1.1.1.10  root     3535:   case $as_dir in #(((
                   3536:     '') as_dir=./ ;;
                   3537:     */) ;;
                   3538:     *) as_dir=$as_dir/ ;;
                   3539:   esac
1.1       root     3540:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3541:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3542:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.10  root     3543:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3544:     break 2
                   3545:   fi
                   3546: done
                   3547:   done
                   3548: IFS=$as_save_IFS
                   3549: 
1.1.1.15  root     3550: fi ;;
                   3551: esac
1.1       root     3552: fi
                   3553: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3554: if test -n "$ac_ct_CC"; then
1.1.1.10  root     3555:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3556: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3557: else
1.1.1.10  root     3558:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3559: printf "%s\n" "no" >&6; }
1.1       root     3560: fi
                   3561: 
                   3562:   if test "x$ac_ct_CC" = x; then
                   3563:     CC=""
                   3564:   else
                   3565:     case $cross_compiling:$ac_tool_warned in
                   3566: yes:)
1.1.1.10  root     3567: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3568: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3569: ac_tool_warned=yes ;;
                   3570: esac
                   3571:     CC=$ac_ct_CC
                   3572:   fi
                   3573: else
                   3574:   CC="$ac_cv_prog_CC"
                   3575: fi
                   3576: 
                   3577: if test -z "$CC"; then
                   3578:           if test -n "$ac_tool_prefix"; then
                   3579:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3580: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.10  root     3581: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3582: printf %s "checking for $ac_word... " >&6; }
                   3583: if test ${ac_cv_prog_CC+y}
                   3584: then :
                   3585:   printf %s "(cached) " >&6
1.1.1.15  root     3586: else case e in #(
                   3587:   e) if test -n "$CC"; then
1.1       root     3588:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3589: else
                   3590: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3591: for as_dir in $PATH
                   3592: do
                   3593:   IFS=$as_save_IFS
1.1.1.10  root     3594:   case $as_dir in #(((
                   3595:     '') as_dir=./ ;;
                   3596:     */) ;;
                   3597:     *) as_dir=$as_dir/ ;;
                   3598:   esac
1.1       root     3599:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3600:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3601:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.10  root     3602:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3603:     break 2
                   3604:   fi
                   3605: done
                   3606:   done
                   3607: IFS=$as_save_IFS
                   3608: 
1.1.1.15  root     3609: fi ;;
                   3610: esac
1.1       root     3611: fi
                   3612: CC=$ac_cv_prog_CC
                   3613: if test -n "$CC"; then
1.1.1.10  root     3614:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3615: printf "%s\n" "$CC" >&6; }
1.1       root     3616: else
1.1.1.10  root     3617:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3618: printf "%s\n" "no" >&6; }
1.1       root     3619: fi
                   3620: 
                   3621: 
                   3622:   fi
                   3623: fi
                   3624: if test -z "$CC"; then
                   3625:   # Extract the first word of "cc", so it can be a program name with args.
                   3626: set dummy cc; ac_word=$2
1.1.1.10  root     3627: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3628: printf %s "checking for $ac_word... " >&6; }
                   3629: if test ${ac_cv_prog_CC+y}
                   3630: then :
                   3631:   printf %s "(cached) " >&6
1.1.1.15  root     3632: else case e in #(
                   3633:   e) if test -n "$CC"; then
1.1       root     3634:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3635: else
                   3636:   ac_prog_rejected=no
                   3637: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3638: for as_dir in $PATH
                   3639: do
                   3640:   IFS=$as_save_IFS
1.1.1.10  root     3641:   case $as_dir in #(((
                   3642:     '') as_dir=./ ;;
                   3643:     */) ;;
                   3644:     *) as_dir=$as_dir/ ;;
                   3645:   esac
1.1       root     3646:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3647:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3648:     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.1       root     3649:        ac_prog_rejected=yes
                   3650:        continue
                   3651:      fi
                   3652:     ac_cv_prog_CC="cc"
1.1.1.10  root     3653:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3654:     break 2
                   3655:   fi
                   3656: done
                   3657:   done
                   3658: IFS=$as_save_IFS
                   3659: 
                   3660: if test $ac_prog_rejected = yes; then
                   3661:   # We found a bogon in the path, so make sure we never use it.
                   3662:   set dummy $ac_cv_prog_CC
                   3663:   shift
                   3664:   if test $# != 0; then
                   3665:     # We chose a different compiler from the bogus one.
                   3666:     # However, it has the same basename, so the bogon will be chosen
                   3667:     # first if we set CC to just the basename; use the full file name.
                   3668:     shift
1.1.1.10  root     3669:     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1.1       root     3670:   fi
                   3671: fi
1.1.1.15  root     3672: fi ;;
                   3673: esac
1.1       root     3674: fi
                   3675: CC=$ac_cv_prog_CC
                   3676: if test -n "$CC"; then
1.1.1.10  root     3677:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3678: printf "%s\n" "$CC" >&6; }
1.1       root     3679: else
1.1.1.10  root     3680:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3681: printf "%s\n" "no" >&6; }
1.1       root     3682: fi
                   3683: 
                   3684: 
                   3685: fi
                   3686: if test -z "$CC"; then
                   3687:   if test -n "$ac_tool_prefix"; then
                   3688:   for ac_prog in cl.exe
                   3689:   do
                   3690:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3691: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10  root     3692: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3693: printf %s "checking for $ac_word... " >&6; }
                   3694: if test ${ac_cv_prog_CC+y}
                   3695: then :
                   3696:   printf %s "(cached) " >&6
1.1.1.15  root     3697: else case e in #(
                   3698:   e) if test -n "$CC"; then
1.1       root     3699:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3700: else
                   3701: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3702: for as_dir in $PATH
                   3703: do
                   3704:   IFS=$as_save_IFS
1.1.1.10  root     3705:   case $as_dir in #(((
                   3706:     '') as_dir=./ ;;
                   3707:     */) ;;
                   3708:     *) as_dir=$as_dir/ ;;
                   3709:   esac
1.1       root     3710:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3711:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3712:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.10  root     3713:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3714:     break 2
                   3715:   fi
                   3716: done
                   3717:   done
                   3718: IFS=$as_save_IFS
                   3719: 
1.1.1.15  root     3720: fi ;;
                   3721: esac
1.1       root     3722: fi
                   3723: CC=$ac_cv_prog_CC
                   3724: if test -n "$CC"; then
1.1.1.10  root     3725:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3726: printf "%s\n" "$CC" >&6; }
1.1       root     3727: else
1.1.1.10  root     3728:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3729: printf "%s\n" "no" >&6; }
1.1       root     3730: fi
                   3731: 
                   3732: 
                   3733:     test -n "$CC" && break
                   3734:   done
                   3735: fi
                   3736: if test -z "$CC"; then
                   3737:   ac_ct_CC=$CC
                   3738:   for ac_prog in cl.exe
                   3739: do
                   3740:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3741: set dummy $ac_prog; ac_word=$2
1.1.1.10  root     3742: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3743: printf %s "checking for $ac_word... " >&6; }
                   3744: if test ${ac_cv_prog_ac_ct_CC+y}
                   3745: then :
                   3746:   printf %s "(cached) " >&6
1.1.1.15  root     3747: else case e in #(
                   3748:   e) if test -n "$ac_ct_CC"; then
1.1       root     3749:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3750: else
                   3751: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3752: for as_dir in $PATH
                   3753: do
                   3754:   IFS=$as_save_IFS
1.1.1.10  root     3755:   case $as_dir in #(((
                   3756:     '') as_dir=./ ;;
                   3757:     */) ;;
                   3758:     *) as_dir=$as_dir/ ;;
                   3759:   esac
1.1       root     3760:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     3761:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3762:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.10  root     3763:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3764:     break 2
                   3765:   fi
                   3766: done
                   3767:   done
                   3768: IFS=$as_save_IFS
                   3769: 
1.1.1.15  root     3770: fi ;;
                   3771: esac
1.1       root     3772: fi
                   3773: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3774: if test -n "$ac_ct_CC"; then
1.1.1.10  root     3775:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3776: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3777: else
1.1.1.10  root     3778:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3779: printf "%s\n" "no" >&6; }
1.1       root     3780: fi
                   3781: 
                   3782: 
                   3783:   test -n "$ac_ct_CC" && break
                   3784: done
                   3785: 
                   3786:   if test "x$ac_ct_CC" = x; then
                   3787:     CC=""
                   3788:   else
                   3789:     case $cross_compiling:$ac_tool_warned in
                   3790: yes:)
1.1.1.10  root     3791: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3792: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3793: ac_tool_warned=yes ;;
                   3794: esac
                   3795:     CC=$ac_ct_CC
                   3796:   fi
                   3797: fi
                   3798: 
                   3799: fi
                   3800: if test -z "$CC"; then
                   3801:   if test -n "$ac_tool_prefix"; then
                   3802:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
                   3803: set dummy ${ac_tool_prefix}clang; ac_word=$2
                   3804: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3805: printf %s "checking for $ac_word... " >&6; }
                   3806: if test ${ac_cv_prog_CC+y}
                   3807: then :
                   3808:   printf %s "(cached) " >&6
1.1.1.15  root     3809: else case e in #(
                   3810:   e) if test -n "$CC"; then
1.1.1.10  root     3811:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3812: else
                   3813: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3814: for as_dir in $PATH
                   3815: do
                   3816:   IFS=$as_save_IFS
                   3817:   case $as_dir in #(((
                   3818:     '') as_dir=./ ;;
                   3819:     */) ;;
                   3820:     *) as_dir=$as_dir/ ;;
                   3821:   esac
                   3822:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3823:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3824:     ac_cv_prog_CC="${ac_tool_prefix}clang"
                   3825:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   3826:     break 2
                   3827:   fi
                   3828: done
                   3829:   done
                   3830: IFS=$as_save_IFS
                   3831: 
1.1.1.15  root     3832: fi ;;
                   3833: esac
1.1.1.10  root     3834: fi
                   3835: CC=$ac_cv_prog_CC
                   3836: if test -n "$CC"; then
                   3837:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3838: printf "%s\n" "$CC" >&6; }
                   3839: else
                   3840:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3841: printf "%s\n" "no" >&6; }
                   3842: fi
                   3843: 
                   3844: 
                   3845: fi
                   3846: if test -z "$ac_cv_prog_CC"; then
                   3847:   ac_ct_CC=$CC
                   3848:   # Extract the first word of "clang", so it can be a program name with args.
                   3849: set dummy clang; ac_word=$2
                   3850: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3851: printf %s "checking for $ac_word... " >&6; }
                   3852: if test ${ac_cv_prog_ac_ct_CC+y}
                   3853: then :
                   3854:   printf %s "(cached) " >&6
1.1.1.15  root     3855: else case e in #(
                   3856:   e) if test -n "$ac_ct_CC"; then
1.1.1.10  root     3857:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3858: else
                   3859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3860: for as_dir in $PATH
                   3861: do
                   3862:   IFS=$as_save_IFS
                   3863:   case $as_dir in #(((
                   3864:     '') as_dir=./ ;;
                   3865:     */) ;;
                   3866:     *) as_dir=$as_dir/ ;;
                   3867:   esac
                   3868:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3869:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   3870:     ac_cv_prog_ac_ct_CC="clang"
                   3871:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   3872:     break 2
                   3873:   fi
                   3874: done
                   3875:   done
                   3876: IFS=$as_save_IFS
                   3877: 
1.1.1.15  root     3878: fi ;;
                   3879: esac
1.1.1.10  root     3880: fi
                   3881: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3882: if test -n "$ac_ct_CC"; then
                   3883:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3884: printf "%s\n" "$ac_ct_CC" >&6; }
                   3885: else
                   3886:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3887: printf "%s\n" "no" >&6; }
                   3888: fi
                   3889: 
                   3890:   if test "x$ac_ct_CC" = x; then
                   3891:     CC=""
                   3892:   else
                   3893:     case $cross_compiling:$ac_tool_warned in
                   3894: yes:)
                   3895: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3896: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3897: ac_tool_warned=yes ;;
                   3898: esac
                   3899:     CC=$ac_ct_CC
                   3900:   fi
1.1.1.10  root     3901: else
                   3902:   CC="$ac_cv_prog_CC"
1.1       root     3903: fi
                   3904: 
                   3905: fi
                   3906: 
                   3907: 
1.1.1.15  root     3908: test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3909: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1       root     3910: as_fn_error $? "no acceptable C compiler found in \$PATH
1.1.1.15  root     3911: See 'config.log' for more details" "$LINENO" 5; }
1.1       root     3912: 
                   3913: # Provide some information about the compiler.
1.1.1.10  root     3914: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1       root     3915: set X $ac_compile
                   3916: ac_compiler=$2
1.1.1.10  root     3917: for ac_option in --version -v -V -qversion -version; do
1.1       root     3918:   { { ac_try="$ac_compiler $ac_option >&5"
                   3919: case "(($ac_try" in
                   3920:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3921:   *) ac_try_echo=$ac_try;;
                   3922: esac
                   3923: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10  root     3924: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3925:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3926:   ac_status=$?
                   3927:   if test -s conftest.err; then
                   3928:     sed '10a\
                   3929: ... rest of stderr output deleted ...
                   3930:          10q' conftest.err >conftest.er1
                   3931:     cat conftest.er1 >&5
                   3932:   fi
                   3933:   rm -f conftest.er1 conftest.err
1.1.1.10  root     3934:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3935:   test $ac_status = 0; }
                   3936: done
                   3937: 
1.1.1.10  root     3938: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
                   3939: printf %s "checking whether the compiler supports GNU C... " >&6; }
                   3940: if test ${ac_cv_c_compiler_gnu+y}
                   3941: then :
                   3942:   printf %s "(cached) " >&6
1.1.1.15  root     3943: else case e in #(
                   3944:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     3945: /* end confdefs.h.  */
                   3946: 
                   3947: int
1.1.1.10  root     3948: main (void)
1.1       root     3949: {
                   3950: #ifndef __GNUC__
                   3951:        choke me
                   3952: #endif
                   3953: 
                   3954:   ;
                   3955:   return 0;
                   3956: }
                   3957: _ACEOF
1.1.1.10  root     3958: if ac_fn_c_try_compile "$LINENO"
                   3959: then :
1.1       root     3960:   ac_compiler_gnu=yes
1.1.1.15  root     3961: else case e in #(
                   3962:   e) ac_compiler_gnu=no ;;
                   3963: esac
1.1       root     3964: fi
1.1.1.10  root     3965: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3966: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.1.1.15  root     3967:  ;;
                   3968: esac
1.1       root     3969: fi
1.1.1.10  root     3970: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3971: printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
                   3972: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3973: 
1.1       root     3974: if test $ac_compiler_gnu = yes; then
                   3975:   GCC=yes
                   3976: else
                   3977:   GCC=
                   3978: fi
1.1.1.10  root     3979: ac_test_CFLAGS=${CFLAGS+y}
1.1       root     3980: ac_save_CFLAGS=$CFLAGS
1.1.1.10  root     3981: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3982: printf %s "checking whether $CC accepts -g... " >&6; }
                   3983: if test ${ac_cv_prog_cc_g+y}
                   3984: then :
                   3985:   printf %s "(cached) " >&6
1.1.1.15  root     3986: else case e in #(
                   3987:   e) ac_save_c_werror_flag=$ac_c_werror_flag
1.1       root     3988:    ac_c_werror_flag=yes
                   3989:    ac_cv_prog_cc_g=no
                   3990:    CFLAGS="-g"
                   3991:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3992: /* end confdefs.h.  */
                   3993: 
                   3994: int
1.1.1.10  root     3995: main (void)
1.1       root     3996: {
                   3997: 
                   3998:   ;
                   3999:   return 0;
                   4000: }
                   4001: _ACEOF
1.1.1.10  root     4002: if ac_fn_c_try_compile "$LINENO"
                   4003: then :
1.1       root     4004:   ac_cv_prog_cc_g=yes
1.1.1.15  root     4005: else case e in #(
                   4006:   e) CFLAGS=""
1.1       root     4007:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4008: /* end confdefs.h.  */
                   4009: 
                   4010: int
1.1.1.10  root     4011: main (void)
1.1       root     4012: {
                   4013: 
                   4014:   ;
                   4015:   return 0;
                   4016: }
                   4017: _ACEOF
1.1.1.10  root     4018: if ac_fn_c_try_compile "$LINENO"
                   4019: then :
1.1       root     4020: 
1.1.1.15  root     4021: else case e in #(
                   4022:   e) ac_c_werror_flag=$ac_save_c_werror_flag
1.1       root     4023:         CFLAGS="-g"
                   4024:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4025: /* end confdefs.h.  */
                   4026: 
                   4027: int
1.1.1.10  root     4028: main (void)
1.1       root     4029: {
                   4030: 
                   4031:   ;
                   4032:   return 0;
                   4033: }
                   4034: _ACEOF
1.1.1.10  root     4035: if ac_fn_c_try_compile "$LINENO"
                   4036: then :
1.1       root     4037:   ac_cv_prog_cc_g=yes
                   4038: fi
1.1.1.15  root     4039: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4040: esac
1.1       root     4041: fi
1.1.1.15  root     4042: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4043: esac
1.1       root     4044: fi
1.1.1.10  root     4045: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.15  root     4046:    ac_c_werror_flag=$ac_save_c_werror_flag ;;
                   4047: esac
1.1       root     4048: fi
1.1.1.10  root     4049: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4050: printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
                   4051: if test $ac_test_CFLAGS; then
1.1       root     4052:   CFLAGS=$ac_save_CFLAGS
                   4053: elif test $ac_cv_prog_cc_g = yes; then
                   4054:   if test "$GCC" = yes; then
                   4055:     CFLAGS="-g -O2"
                   4056:   else
                   4057:     CFLAGS="-g"
                   4058:   fi
                   4059: else
                   4060:   if test "$GCC" = yes; then
                   4061:     CFLAGS="-O2"
                   4062:   else
                   4063:     CFLAGS=
                   4064:   fi
                   4065: fi
1.1.1.10  root     4066: ac_prog_cc_stdc=no
                   4067: if test x$ac_prog_cc_stdc = xno
                   4068: then :
                   4069:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
                   4070: printf %s "checking for $CC option to enable C11 features... " >&6; }
                   4071: if test ${ac_cv_prog_cc_c11+y}
                   4072: then :
                   4073:   printf %s "(cached) " >&6
1.1.1.15  root     4074: else case e in #(
                   4075:   e) ac_cv_prog_cc_c11=no
1.1       root     4076: ac_save_CC=$CC
                   4077: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4078: /* end confdefs.h.  */
1.1.1.10  root     4079: $ac_c_conftest_c11_program
                   4080: _ACEOF
                   4081: for ac_arg in '' -std=gnu11
                   4082: do
                   4083:   CC="$ac_save_CC $ac_arg"
                   4084:   if ac_fn_c_try_compile "$LINENO"
                   4085: then :
                   4086:   ac_cv_prog_cc_c11=$ac_arg
                   4087: fi
                   4088: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4089:   test "x$ac_cv_prog_cc_c11" != "xno" && break
                   4090: done
                   4091: rm -f conftest.$ac_ext
1.1.1.15  root     4092: CC=$ac_save_CC ;;
                   4093: esac
1.1.1.10  root     4094: fi
1.1       root     4095: 
1.1.1.10  root     4096: if test "x$ac_cv_prog_cc_c11" = xno
                   4097: then :
                   4098:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4099: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4100: else case e in #(
                   4101:   e) if test "x$ac_cv_prog_cc_c11" = x
1.1.1.10  root     4102: then :
                   4103:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4104: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4105: else case e in #(
                   4106:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
1.1.1.10  root     4107: printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
1.1.1.15  root     4108:      CC="$CC $ac_cv_prog_cc_c11" ;;
                   4109: esac
1.1.1.10  root     4110: fi
                   4111:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
1.1.1.15  root     4112:   ac_prog_cc_stdc=c11 ;;
                   4113: esac
1.1.1.10  root     4114: fi
                   4115: fi
                   4116: if test x$ac_prog_cc_stdc = xno
                   4117: then :
                   4118:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
                   4119: printf %s "checking for $CC option to enable C99 features... " >&6; }
                   4120: if test ${ac_cv_prog_cc_c99+y}
                   4121: then :
                   4122:   printf %s "(cached) " >&6
1.1.1.15  root     4123: else case e in #(
                   4124:   e) ac_cv_prog_cc_c99=no
1.1.1.10  root     4125: ac_save_CC=$CC
                   4126: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4127: /* end confdefs.h.  */
                   4128: $ac_c_conftest_c99_program
                   4129: _ACEOF
                   4130: for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
                   4131: do
                   4132:   CC="$ac_save_CC $ac_arg"
                   4133:   if ac_fn_c_try_compile "$LINENO"
                   4134: then :
                   4135:   ac_cv_prog_cc_c99=$ac_arg
                   4136: fi
                   4137: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4138:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   4139: done
                   4140: rm -f conftest.$ac_ext
1.1.1.15  root     4141: CC=$ac_save_CC ;;
                   4142: esac
1.1.1.10  root     4143: fi
1.1       root     4144: 
1.1.1.10  root     4145: if test "x$ac_cv_prog_cc_c99" = xno
                   4146: then :
                   4147:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4148: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4149: else case e in #(
                   4150:   e) if test "x$ac_cv_prog_cc_c99" = x
1.1.1.10  root     4151: then :
                   4152:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4153: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4154: else case e in #(
                   4155:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
1.1.1.10  root     4156: printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
1.1.1.15  root     4157:      CC="$CC $ac_cv_prog_cc_c99" ;;
                   4158: esac
1.1.1.10  root     4159: fi
                   4160:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
1.1.1.15  root     4161:   ac_prog_cc_stdc=c99 ;;
                   4162: esac
1.1.1.10  root     4163: fi
                   4164: fi
                   4165: if test x$ac_prog_cc_stdc = xno
                   4166: then :
                   4167:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
                   4168: printf %s "checking for $CC option to enable C89 features... " >&6; }
                   4169: if test ${ac_cv_prog_cc_c89+y}
                   4170: then :
                   4171:   printf %s "(cached) " >&6
1.1.1.15  root     4172: else case e in #(
                   4173:   e) ac_cv_prog_cc_c89=no
1.1.1.10  root     4174: ac_save_CC=$CC
                   4175: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4176: /* end confdefs.h.  */
                   4177: $ac_c_conftest_c89_program
1.1       root     4178: _ACEOF
1.1.1.10  root     4179: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       root     4180: do
                   4181:   CC="$ac_save_CC $ac_arg"
1.1.1.10  root     4182:   if ac_fn_c_try_compile "$LINENO"
                   4183: then :
1.1       root     4184:   ac_cv_prog_cc_c89=$ac_arg
                   4185: fi
1.1.1.10  root     4186: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.1       root     4187:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4188: done
                   4189: rm -f conftest.$ac_ext
1.1.1.15  root     4190: CC=$ac_save_CC ;;
                   4191: esac
1.1       root     4192: fi
                   4193: 
1.1.1.10  root     4194: if test "x$ac_cv_prog_cc_c89" = xno
                   4195: then :
                   4196:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4197: printf "%s\n" "unsupported" >&6; }
1.1.1.15  root     4198: else case e in #(
                   4199:   e) if test "x$ac_cv_prog_cc_c89" = x
1.1.1.10  root     4200: then :
                   4201:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4202: printf "%s\n" "none needed" >&6; }
1.1.1.15  root     4203: else case e in #(
                   4204:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1.1.10  root     4205: printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
1.1.1.15  root     4206:      CC="$CC $ac_cv_prog_cc_c89" ;;
                   4207: esac
1.1.1.10  root     4208: fi
                   4209:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
1.1.1.15  root     4210:   ac_prog_cc_stdc=c89 ;;
                   4211: esac
1.1.1.10  root     4212: fi
1.1       root     4213: fi
                   4214: 
                   4215: ac_ext=c
                   4216: ac_cpp='$CPP $CPPFLAGS'
                   4217: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4218: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4219: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4220: 
1.1.1.10  root     4221: 
                   4222: 
                   4223:   # Find a good install program.  We prefer a C program (faster),
1.1.1.3   root     4224: # so one script is as good as another.  But avoid the broken or
                   4225: # incompatible versions:
                   4226: # SysV /etc/install, /usr/sbin/install
                   4227: # SunOS /usr/etc/install
                   4228: # IRIX /sbin/install
                   4229: # AIX /bin/install
                   4230: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   4231: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   4232: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   4233: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   4234: # OS/2's system install, which has a completely different semantic
                   4235: # ./install, which can be erroneously created by make from ./install.sh.
                   4236: # Reject install programs that cannot install multiple files.
1.1.1.10  root     4237: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   4238: printf %s "checking for a BSD-compatible install... " >&6; }
1.1.1.3   root     4239: if test -z "$INSTALL"; then
1.1.1.10  root     4240: if test ${ac_cv_path_install+y}
                   4241: then :
                   4242:   printf %s "(cached) " >&6
1.1.1.15  root     4243: else case e in #(
                   4244:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.1.3   root     4245: for as_dir in $PATH
                   4246: do
                   4247:   IFS=$as_save_IFS
1.1.1.10  root     4248:   case $as_dir in #(((
                   4249:     '') as_dir=./ ;;
                   4250:     */) ;;
                   4251:     *) as_dir=$as_dir/ ;;
                   4252:   esac
                   4253:     # Account for fact that we put trailing slashes in our PATH walk.
                   4254: case $as_dir in #((
                   4255:   ./ | /[cC]/* | \
1.1.1.3   root     4256:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   4257:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   4258:   /usr/ucb/* ) ;;
                   4259:   *)
                   4260:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   4261:     # Don't use installbsd from OSF since it installs stuff as root
                   4262:     # by default.
                   4263:     for ac_prog in ginstall scoinst install; do
                   4264:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     4265:        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1.1.1.3   root     4266:          if test $ac_prog = install &&
1.1.1.10  root     4267:            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4268:            # AIX install.  It has an incompatible calling convention.
                   4269:            :
                   4270:          elif test $ac_prog = install &&
1.1.1.10  root     4271:            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4272:            # program-specific install script used by HP pwplus--don't use.
                   4273:            :
                   4274:          else
                   4275:            rm -rf conftest.one conftest.two conftest.dir
                   4276:            echo one > conftest.one
                   4277:            echo two > conftest.two
                   4278:            mkdir conftest.dir
1.1.1.10  root     4279:            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1.1.1.3   root     4280:              test -s conftest.one && test -s conftest.two &&
                   4281:              test -s conftest.dir/conftest.one &&
                   4282:              test -s conftest.dir/conftest.two
                   4283:            then
1.1.1.10  root     4284:              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1.1.1.3   root     4285:              break 3
                   4286:            fi
                   4287:          fi
                   4288:        fi
                   4289:       done
                   4290:     done
                   4291:     ;;
                   4292: esac
1.1       root     4293: 
1.1.1.3   root     4294:   done
                   4295: IFS=$as_save_IFS
1.1       root     4296: 
1.1.1.3   root     4297: rm -rf conftest.one conftest.two conftest.dir
1.1.1.15  root     4298:  ;;
                   4299: esac
1.1.1.3   root     4300: fi
1.1.1.10  root     4301:   if test ${ac_cv_path_install+y}; then
1.1.1.3   root     4302:     INSTALL=$ac_cv_path_install
                   4303:   else
                   4304:     # As a last resort, use the slow shell script.  Don't cache a
                   4305:     # value for INSTALL within a source directory, because that will
                   4306:     # break other packages using the cache if that directory is
                   4307:     # removed, or if the value is a relative name.
                   4308:     INSTALL=$ac_install_sh
                   4309:   fi
                   4310: fi
1.1.1.10  root     4311: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   4312: printf "%s\n" "$INSTALL" >&6; }
1.1.1.3   root     4313: 
                   4314: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   4315: # It thinks the first close brace ends the variable substitution.
                   4316: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   4317: 
                   4318: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   4319: 
                   4320: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   4321: 
                   4322: 
1.1.1.10  root     4323: # OS
1.1       root     4324: 
                   4325: 
1.1.1.10  root     4326:   # Make sure we can run config.sub.
                   4327: $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
                   4328:   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
                   4329: 
                   4330: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4331: printf %s "checking build system type... " >&6; }
                   4332: if test ${ac_cv_build+y}
                   4333: then :
                   4334:   printf %s "(cached) " >&6
1.1.1.15  root     4335: else case e in #(
                   4336:   e) ac_build_alias=$build_alias
1.1.1.10  root     4337: test "x$ac_build_alias" = x &&
                   4338:   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
                   4339: test "x$ac_build_alias" = x &&
                   4340:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4341: ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
                   4342:   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
1.1.1.15  root     4343:  ;;
                   4344: esac
1.1       root     4345: fi
1.1.1.10  root     4346: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4347: printf "%s\n" "$ac_cv_build" >&6; }
                   4348: case $ac_cv_build in
                   4349: *-*-*) ;;
                   4350: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4351: esac
                   4352: build=$ac_cv_build
                   4353: ac_save_IFS=$IFS; IFS='-'
                   4354: set x $ac_cv_build
                   4355: shift
                   4356: build_cpu=$1
                   4357: build_vendor=$2
                   4358: shift; shift
                   4359: # Remember, the first character of IFS is used to create $*,
                   4360: # except with old shells:
                   4361: build_os=$*
                   4362: IFS=$ac_save_IFS
                   4363: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.1       root     4364: 
                   4365: 
1.1.1.10  root     4366: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4367: printf %s "checking host system type... " >&6; }
                   4368: if test ${ac_cv_host+y}
                   4369: then :
                   4370:   printf %s "(cached) " >&6
1.1.1.15  root     4371: else case e in #(
                   4372:   e) if test "x$host_alias" = x; then
1.1.1.10  root     4373:   ac_cv_host=$ac_cv_build
1.1       root     4374: else
1.1.1.10  root     4375:   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
                   4376:     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
1.1       root     4377: fi
1.1.1.15  root     4378:  ;;
                   4379: esac
1.1       root     4380: fi
1.1.1.10  root     4381: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4382: printf "%s\n" "$ac_cv_host" >&6; }
                   4383: case $ac_cv_host in
                   4384: *-*-*) ;;
                   4385: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4386: esac
                   4387: host=$ac_cv_host
                   4388: ac_save_IFS=$IFS; IFS='-'
                   4389: set x $ac_cv_host
                   4390: shift
                   4391: host_cpu=$1
                   4392: host_vendor=$2
                   4393: shift; shift
                   4394: # Remember, the first character of IFS is used to create $*,
                   4395: # except with old shells:
                   4396: host_os=$*
                   4397: IFS=$ac_save_IFS
                   4398: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1       root     4399: 
                   4400: 
                   4401: 
                   4402: 
1.1.1.10  root     4403: # コンパイラをチェック。今のところ clang/gcc のみ。
                   4404: # (autoconf がやってる gcc かどうかのチェックは clang を検出できず使えない)
                   4405: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler" >&5
                   4406: printf %s "checking for compiler... " >&6; }
                   4407: if test -n "`${CC} -v 2>&1 | grep clang`" ; then
                   4408:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang" >&5
                   4409: printf "%s\n" "clang" >&6; }
                   4410:        COMPILER=CLANG
                   4411: elif test -n "`${CC} -v 2>&1 | grep GCC`"; then
                   4412:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
                   4413: printf "%s\n" "gcc" >&6; }
                   4414:        COMPILER=GCC
1.1       root     4415: else
1.1.1.10  root     4416:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
                   4417: printf "%s\n" "unknown" >&6; }
                   4418:        COMPILER=
1.1       root     4419: fi
                   4420: 
                   4421: 
1.1.1.10  root     4422: # C++ のバージョンをチェック
                   4423: CXX_STD=-std=c++14
                   4424: ac_ext=cpp
                   4425: ac_cpp='$CXXCPP $CPPFLAGS'
                   4426: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4427: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4428: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.1       root     4429: 
1.1.1.10  root     4430: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${CXX_STD}" >&5
                   4431: printf %s "checking for ${CXX_STD}... " >&6; }
                   4432: old_CXXFLAGS="${CXXFLAGS}"
                   4433: CXXFLAGS="${CXX_STD} ${CXXFLAGS}"
1.1       root     4434: 
1.1.1.10  root     4435: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4436: /* end confdefs.h.  */
                   4437: 
                   4438: int
1.1.1.10  root     4439: main (void)
1.1       root     4440: {
                   4441: 
                   4442:   ;
                   4443:   return 0;
                   4444: }
                   4445: _ACEOF
1.1.1.10  root     4446: if ac_fn_cxx_try_compile "$LINENO"
                   4447: then :
                   4448:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4449: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4450: else case e in #(
                   4451:   e) as_fn_error $? "\"*** C++ compiler '${CXX}' doesn't support ${CXX_STD}.\"" "$LINENO" 5 ;;
                   4452: esac
1.1       root     4453: fi
1.1.1.10  root     4454: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4455: CXXFLAGS="${old_CXXFLAGS}"
                   4456: CXX="${CXX} ${CXX_STD}"
                   4457: ac_ext=c
                   4458: ac_cpp='$CPP $CPPFLAGS'
                   4459: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4460: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4461: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4462: 
                   4463: 
1.1.1.10  root     4464: # C コンパイラのワーニングオプション
                   4465: ac_ext=c
                   4466: ac_cpp='$CPP $CPPFLAGS'
                   4467: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4468: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4469: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4470: 
                   4471: 
                   4472: 
                   4473: 
1.1.1.10  root     4474:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wcast-qual" >&5
                   4475: printf %s "checking whether cc accepts -Wcast-qual... " >&6; }
                   4476:        old_CFLAGS="${CFLAGS}"
                   4477:        CFLAGS="${CFLAGS} -Werror -Wcast-qual"
                   4478:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4479: /* end confdefs.h.  */
                   4480: 
1.1.1.17! root     4481: 
1.1       root     4482: int
1.1.1.10  root     4483: main (void)
1.1       root     4484: {
1.1.1.10  root     4485: 
                   4486:   ;
1.1       root     4487:   return 0;
                   4488: }
1.1.1.17! root     4489: 
1.1       root     4490: _ACEOF
1.1.1.10  root     4491: if ac_fn_c_try_compile "$LINENO"
                   4492: then :
1.1.1.17! root     4493: 
        !          4494:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4495: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4496:                eval `echo cc_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4497:                WARNFLAGS_C="${WARNFLAGS_C} -Wcast-qual"
1.1.1.17! root     4498: 
1.1.1.15  root     4499: else case e in #(
1.1.1.17! root     4500:   e)
        !          4501:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4502: printf "%s\n" "no" >&6; }
        !          4503:         ;;
1.1.1.15  root     4504: esac
1.1       root     4505: fi
1.1.1.10  root     4506: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4507:        CFLAGS="${old_CFLAGS}"
1.1       root     4508: 
                   4509: 
1.1.1.10  root     4510:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wextra-semi" >&5
                   4511: printf %s "checking whether cc accepts -Wextra-semi... " >&6; }
                   4512:        old_CFLAGS="${CFLAGS}"
                   4513:        CFLAGS="${CFLAGS} -Werror -Wextra-semi"
                   4514:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4515: /* end confdefs.h.  */
                   4516: 
1.1.1.17! root     4517: 
1.1       root     4518: int
1.1.1.10  root     4519: main (void)
1.1       root     4520: {
                   4521: 
                   4522:   ;
                   4523:   return 0;
                   4524: }
1.1.1.17! root     4525: 
1.1       root     4526: _ACEOF
1.1.1.10  root     4527: if ac_fn_c_try_compile "$LINENO"
                   4528: then :
1.1.1.17! root     4529: 
        !          4530:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4531: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4532:                eval `echo cc_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4533:                WARNFLAGS_C="${WARNFLAGS_C} -Wextra-semi"
1.1.1.17! root     4534: 
1.1.1.15  root     4535: else case e in #(
1.1.1.17! root     4536:   e)
        !          4537:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4538: printf "%s\n" "no" >&6; }
        !          4539:         ;;
1.1.1.15  root     4540: esac
1.1.1.10  root     4541: fi
                   4542: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4543:        CFLAGS="${old_CFLAGS}"
                   4544: 
                   4545: 
                   4546:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wlogical-op" >&5
                   4547: printf %s "checking whether cc accepts -Wlogical-op... " >&6; }
                   4548:        old_CFLAGS="${CFLAGS}"
                   4549:        CFLAGS="${CFLAGS} -Werror -Wlogical-op"
                   4550:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4551: /* end confdefs.h.  */
                   4552: 
1.1.1.17! root     4553: 
1.1       root     4554: int
1.1.1.10  root     4555: main (void)
1.1       root     4556: {
                   4557: 
                   4558:   ;
                   4559:   return 0;
                   4560: }
1.1.1.17! root     4561: 
1.1       root     4562: _ACEOF
1.1.1.10  root     4563: if ac_fn_c_try_compile "$LINENO"
                   4564: then :
1.1.1.17! root     4565: 
        !          4566:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4567: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4568:                eval `echo cc_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4569:                WARNFLAGS_C="${WARNFLAGS_C} -Wlogical-op"
1.1.1.17! root     4570: 
1.1.1.15  root     4571: else case e in #(
1.1.1.17! root     4572:   e)
        !          4573:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4574: printf "%s\n" "no" >&6; }
        !          4575:         ;;
1.1.1.15  root     4576: esac
1.1       root     4577: fi
1.1.1.10  root     4578: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4579:        CFLAGS="${old_CFLAGS}"
1.1       root     4580: 
                   4581: 
1.1.1.10  root     4582:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-prototypes" >&5
                   4583: printf %s "checking whether cc accepts -Wmissing-prototypes... " >&6; }
                   4584:        old_CFLAGS="${CFLAGS}"
                   4585:        CFLAGS="${CFLAGS} -Werror -Wmissing-prototypes"
                   4586:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4587: /* end confdefs.h.  */
                   4588: 
1.1.1.17! root     4589: 
1.1       root     4590: int
1.1.1.10  root     4591: main (void)
1.1       root     4592: {
                   4593: 
                   4594:   ;
                   4595:   return 0;
                   4596: }
1.1.1.17! root     4597: 
1.1       root     4598: _ACEOF
1.1.1.10  root     4599: if ac_fn_c_try_compile "$LINENO"
                   4600: then :
1.1.1.17! root     4601: 
        !          4602:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4603: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4604:                eval `echo cc_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4605:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-prototypes"
1.1.1.17! root     4606: 
1.1.1.15  root     4607: else case e in #(
1.1.1.17! root     4608:   e)
        !          4609:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4610: printf "%s\n" "no" >&6; }
        !          4611:         ;;
1.1.1.15  root     4612: esac
1.1       root     4613: fi
1.1.1.10  root     4614: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4615:        CFLAGS="${old_CFLAGS}"
1.1       root     4616: 
1.1.1.10  root     4617: 
                   4618:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-variable-declarations" >&5
                   4619: printf %s "checking whether cc accepts -Wmissing-variable-declarations... " >&6; }
                   4620:        old_CFLAGS="${CFLAGS}"
                   4621:        CFLAGS="${CFLAGS} -Werror -Wmissing-variable-declarations"
                   4622:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4623: /* end confdefs.h.  */
1.1.1.10  root     4624: 
1.1.1.17! root     4625: 
1.1       root     4626: int
1.1.1.10  root     4627: main (void)
1.1       root     4628: {
                   4629: 
                   4630:   ;
                   4631:   return 0;
                   4632: }
1.1.1.17! root     4633: 
1.1       root     4634: _ACEOF
1.1.1.10  root     4635: if ac_fn_c_try_compile "$LINENO"
                   4636: then :
1.1.1.17! root     4637: 
        !          4638:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4639: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4640:                eval `echo cc_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4641:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-variable-declarations"
1.1.1.17! root     4642: 
1.1.1.15  root     4643: else case e in #(
1.1.1.17! root     4644:   e)
        !          4645:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4646: printf "%s\n" "no" >&6; }
        !          4647:         ;;
1.1.1.15  root     4648: esac
1.1.1.6   root     4649: fi
1.1.1.10  root     4650: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4651:        CFLAGS="${old_CFLAGS}"
1.1.1.6   root     4652: 
1.1.1.11  root     4653: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
                   4654: 
                   4655:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow-local" >&5
                   4656: printf %s "checking whether cc accepts -Wshadow-local... " >&6; }
                   4657:        old_CFLAGS="${CFLAGS}"
                   4658:        CFLAGS="${CFLAGS} -Werror -Wshadow-local"
                   4659:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4660: /* end confdefs.h.  */
                   4661: 
1.1.1.17! root     4662: 
1.1.1.11  root     4663: int
                   4664: main (void)
                   4665: {
                   4666: 
                   4667:   ;
                   4668:   return 0;
                   4669: }
1.1.1.17! root     4670: 
1.1.1.11  root     4671: _ACEOF
                   4672: if ac_fn_c_try_compile "$LINENO"
                   4673: then :
1.1.1.17! root     4674: 
        !          4675:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     4676: printf "%s\n" "yes" >&6; }
                   4677:                eval `echo cc_has-Wshadow-local=yes | sed -e 's/-/_/g'`
                   4678:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow-local"
1.1.1.17! root     4679: 
1.1.1.15  root     4680: else case e in #(
1.1.1.17! root     4681:   e)
        !          4682:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4683: printf "%s\n" "no" >&6; }
        !          4684:         ;;
1.1.1.15  root     4685: esac
1.1.1.11  root     4686: fi
                   4687: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4688:        CFLAGS="${old_CFLAGS}"
                   4689: 
                   4690: if test x"${cc_has_Wshadow_local}" != xyes; then
                   4691: 
                   4692:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow" >&5
                   4693: printf %s "checking whether cc accepts -Wshadow... " >&6; }
                   4694:        old_CFLAGS="${CFLAGS}"
                   4695:        CFLAGS="${CFLAGS} -Werror -Wshadow"
                   4696:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4697: /* end confdefs.h.  */
                   4698: 
1.1.1.17! root     4699: 
1.1.1.11  root     4700: int
                   4701: main (void)
                   4702: {
                   4703: 
                   4704:   ;
                   4705:   return 0;
                   4706: }
1.1.1.17! root     4707: 
1.1.1.11  root     4708: _ACEOF
                   4709: if ac_fn_c_try_compile "$LINENO"
                   4710: then :
1.1.1.17! root     4711: 
        !          4712:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     4713: printf "%s\n" "yes" >&6; }
                   4714:                eval `echo cc_has-Wshadow=yes | sed -e 's/-/_/g'`
                   4715:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow"
1.1.1.17! root     4716: 
1.1.1.15  root     4717: else case e in #(
1.1.1.17! root     4718:   e)
        !          4719:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4720: printf "%s\n" "no" >&6; }
        !          4721:         ;;
1.1.1.15  root     4722: esac
                   4723: fi
                   4724: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4725:        CFLAGS="${old_CFLAGS}"
                   4726: 
                   4727: fi
                   4728: 
                   4729:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wstring-conversion" >&5
                   4730: printf %s "checking whether cc accepts -Wstring-conversion... " >&6; }
                   4731:        old_CFLAGS="${CFLAGS}"
                   4732:        CFLAGS="${CFLAGS} -Werror -Wstring-conversion"
                   4733:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4734: /* end confdefs.h.  */
                   4735: 
1.1.1.17! root     4736: 
1.1.1.15  root     4737: int
                   4738: main (void)
                   4739: {
                   4740: 
                   4741:   ;
                   4742:   return 0;
                   4743: }
1.1.1.17! root     4744: 
1.1.1.15  root     4745: _ACEOF
                   4746: if ac_fn_c_try_compile "$LINENO"
                   4747: then :
1.1.1.17! root     4748: 
        !          4749:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     4750: printf "%s\n" "yes" >&6; }
                   4751:                eval `echo cc_has-Wstring-conversion=yes | sed -e 's/-/_/g'`
                   4752:                WARNFLAGS_C="${WARNFLAGS_C} -Wstring-conversion"
1.1.1.17! root     4753: 
1.1.1.15  root     4754: else case e in #(
1.1.1.17! root     4755:   e)
        !          4756:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4757: printf "%s\n" "no" >&6; }
        !          4758:         ;;
1.1.1.15  root     4759: esac
1.1.1.11  root     4760: fi
                   4761: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4762:        CFLAGS="${old_CFLAGS}"
                   4763: 
1.1.1.15  root     4764: 
                   4765:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wtype-limits" >&5
                   4766: printf %s "checking whether cc accepts -Wtype-limits... " >&6; }
                   4767:        old_CFLAGS="${CFLAGS}"
                   4768:        CFLAGS="${CFLAGS} -Werror -Wtype-limits"
                   4769:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4770: /* end confdefs.h.  */
                   4771: 
1.1.1.17! root     4772: 
1.1.1.15  root     4773: int
                   4774: main (void)
                   4775: {
                   4776: 
                   4777:   ;
                   4778:   return 0;
                   4779: }
1.1.1.17! root     4780: 
1.1.1.15  root     4781: _ACEOF
                   4782: if ac_fn_c_try_compile "$LINENO"
                   4783: then :
1.1.1.17! root     4784: 
        !          4785:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     4786: printf "%s\n" "yes" >&6; }
                   4787:                eval `echo cc_has-Wtype-limits=yes | sed -e 's/-/_/g'`
                   4788:                WARNFLAGS_C="${WARNFLAGS_C} -Wtype-limits"
1.1.1.17! root     4789: 
1.1.1.15  root     4790: else case e in #(
1.1.1.17! root     4791:   e)
        !          4792:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4793: printf "%s\n" "no" >&6; }
        !          4794:         ;;
1.1.1.15  root     4795: esac
1.1.1.11  root     4796: fi
1.1.1.15  root     4797: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4798:        CFLAGS="${old_CFLAGS}"
                   4799: 
1.1.1.10  root     4800: ac_ext=c
                   4801: ac_cpp='$CPP $CPPFLAGS'
                   4802: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4803: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4804: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.6   root     4805: 
1.1.1.4   root     4806: 
                   4807: 
1.1.1.10  root     4808: # C++ コンパイラのワーニングオプション
                   4809: # (AC_LANG は C++ のまま継続する)
1.1.1.3   root     4810: ac_ext=cpp
                   4811: ac_cpp='$CXXCPP $CPPFLAGS'
                   4812: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4813: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4814: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4815: 
                   4816: 
1.1.1.10  root     4817: 
                   4818:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wcast-qual" >&5
                   4819: printf %s "checking whether c++ accepts -Wcast-qual... " >&6; }
                   4820:        old_CXXFLAGS="${CXXFLAGS}"
                   4821:        CXXFLAGS="${CXXFLAGS} -Werror -Wcast-qual"
                   4822:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4823: /* end confdefs.h.  */
                   4824: 
1.1.1.17! root     4825: 
1.1       root     4826: int
1.1.1.10  root     4827: main (void)
1.1       root     4828: {
                   4829: 
                   4830:   ;
                   4831:   return 0;
                   4832: }
1.1.1.17! root     4833: 
1.1       root     4834: _ACEOF
1.1.1.10  root     4835: if ac_fn_cxx_try_compile "$LINENO"
                   4836: then :
1.1.1.17! root     4837: 
        !          4838:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4839: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4840:                eval `echo cxx_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4841:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wcast-qual"
1.1.1.17! root     4842: 
1.1.1.15  root     4843: else case e in #(
1.1.1.17! root     4844:   e)
        !          4845:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4846: printf "%s\n" "no" >&6; }
        !          4847:         ;;
1.1.1.15  root     4848: esac
1.1       root     4849: fi
1.1.1.10  root     4850: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4851:        CXXFLAGS="${old_CXXFLAGS}"
1.1       root     4852: 
                   4853: 
1.1.1.10  root     4854:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wextra-semi" >&5
                   4855: printf %s "checking whether c++ accepts -Wextra-semi... " >&6; }
                   4856:        old_CXXFLAGS="${CXXFLAGS}"
                   4857:        CXXFLAGS="${CXXFLAGS} -Werror -Wextra-semi"
1.1.1.3   root     4858:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4859: /* end confdefs.h.  */
1.1       root     4860: 
1.1.1.17! root     4861: 
1.1.1.3   root     4862: int
1.1.1.10  root     4863: main (void)
1.1.1.3   root     4864: {
1.1       root     4865: 
1.1.1.3   root     4866:   ;
                   4867:   return 0;
                   4868: }
1.1.1.17! root     4869: 
1.1.1.2   root     4870: _ACEOF
1.1.1.10  root     4871: if ac_fn_cxx_try_compile "$LINENO"
                   4872: then :
1.1.1.17! root     4873: 
        !          4874:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4875: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4876:                eval `echo cxx_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4877:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wextra-semi"
1.1.1.17! root     4878: 
1.1.1.15  root     4879: else case e in #(
1.1.1.17! root     4880:   e)
        !          4881:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4882: printf "%s\n" "no" >&6; }
        !          4883:         ;;
1.1.1.15  root     4884: esac
1.1.1.2   root     4885: fi
1.1.1.10  root     4886: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4887:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.2   root     4888: 
1.1       root     4889: 
1.1.1.15  root     4890:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-destructor-override" >&5
                   4891: printf %s "checking whether c++ accepts -Winconsistent-missing-destructor-override... " >&6; }
1.1.1.10  root     4892:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4893:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-destructor-override"
1.1.1.3   root     4894:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4895: /* end confdefs.h.  */
1.1       root     4896: 
1.1.1.17! root     4897: 
1.1.1.3   root     4898: int
1.1.1.10  root     4899: main (void)
1.1.1.3   root     4900: {
1.1       root     4901: 
1.1.1.3   root     4902:   ;
                   4903:   return 0;
                   4904: }
1.1.1.17! root     4905: 
1.1.1.3   root     4906: _ACEOF
1.1.1.10  root     4907: if ac_fn_cxx_try_compile "$LINENO"
                   4908: then :
1.1.1.17! root     4909: 
        !          4910:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4911: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4912:                eval `echo cxx_has-Winconsistent-missing-destructor-override=yes | sed -e 's/-/_/g'`
                   4913:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-destructor-override"
1.1.1.17! root     4914: 
1.1.1.15  root     4915: else case e in #(
1.1.1.17! root     4916:   e)
        !          4917:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4918: printf "%s\n" "no" >&6; }
        !          4919:         ;;
1.1.1.15  root     4920: esac
1.1.1.3   root     4921: fi
1.1.1.10  root     4922: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4923:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4924: 
                   4925: 
1.1.1.15  root     4926:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-override" >&5
                   4927: printf %s "checking whether c++ accepts -Winconsistent-missing-override... " >&6; }
1.1.1.10  root     4928:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     4929:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-override"
1.1.1.3   root     4930:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4931: /* end confdefs.h.  */
                   4932: 
1.1.1.17! root     4933: 
1.1.1.3   root     4934: int
1.1.1.10  root     4935: main (void)
1.1.1.3   root     4936: {
                   4937: 
                   4938:   ;
                   4939:   return 0;
                   4940: }
1.1.1.17! root     4941: 
1.1.1.3   root     4942: _ACEOF
1.1.1.10  root     4943: if ac_fn_cxx_try_compile "$LINENO"
                   4944: then :
1.1.1.17! root     4945: 
        !          4946:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4947: printf "%s\n" "yes" >&6; }
1.1.1.15  root     4948:                eval `echo cxx_has-Winconsistent-missing-override=yes | sed -e 's/-/_/g'`
                   4949:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-override"
1.1.1.17! root     4950: 
1.1.1.15  root     4951: else case e in #(
1.1.1.17! root     4952:   e)
        !          4953:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4954: printf "%s\n" "no" >&6; }
        !          4955:         ;;
1.1.1.15  root     4956: esac
1.1.1.3   root     4957: fi
1.1.1.10  root     4958: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4959:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4960: 
                   4961: 
1.1.1.10  root     4962:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wlogical-op" >&5
                   4963: printf %s "checking whether c++ accepts -Wlogical-op... " >&6; }
                   4964:        old_CXXFLAGS="${CXXFLAGS}"
                   4965:        CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op"
1.1.1.3   root     4966:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4967: /* end confdefs.h.  */
                   4968: 
1.1.1.17! root     4969: 
1.1.1.3   root     4970: int
1.1.1.10  root     4971: main (void)
1.1.1.3   root     4972: {
                   4973: 
                   4974:   ;
                   4975:   return 0;
                   4976: }
1.1.1.17! root     4977: 
1.1.1.3   root     4978: _ACEOF
1.1.1.10  root     4979: if ac_fn_cxx_try_compile "$LINENO"
                   4980: then :
1.1.1.17! root     4981: 
        !          4982:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     4983: printf "%s\n" "yes" >&6; }
1.1.1.11  root     4984:                eval `echo cxx_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4985:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wlogical-op"
1.1.1.17! root     4986: 
1.1.1.15  root     4987: else case e in #(
1.1.1.17! root     4988:   e)
        !          4989:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4990: printf "%s\n" "no" >&6; }
        !          4991:         ;;
1.1.1.15  root     4992: esac
1.1.1.3   root     4993: fi
1.1.1.10  root     4994: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4995:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4996: 
                   4997: 
1.1.1.10  root     4998:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-prototypes" >&5
                   4999: printf %s "checking whether c++ accepts -Wmissing-prototypes... " >&6; }
                   5000:        old_CXXFLAGS="${CXXFLAGS}"
                   5001:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-prototypes"
1.1.1.3   root     5002:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5003: /* end confdefs.h.  */
                   5004: 
1.1.1.17! root     5005: 
1.1.1.3   root     5006: int
1.1.1.10  root     5007: main (void)
1.1.1.3   root     5008: {
                   5009: 
                   5010:   ;
                   5011:   return 0;
                   5012: }
1.1.1.17! root     5013: 
1.1.1.3   root     5014: _ACEOF
1.1.1.10  root     5015: if ac_fn_cxx_try_compile "$LINENO"
                   5016: then :
1.1.1.17! root     5017: 
        !          5018:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5019: printf "%s\n" "yes" >&6; }
1.1.1.11  root     5020:                eval `echo cxx_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5021:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-prototypes"
1.1.1.17! root     5022: 
1.1.1.15  root     5023: else case e in #(
1.1.1.17! root     5024:   e)
        !          5025:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5026: printf "%s\n" "no" >&6; }
        !          5027:         ;;
1.1.1.15  root     5028: esac
1.1.1.3   root     5029: fi
1.1.1.10  root     5030: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5031:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5032: 
                   5033: 
1.1.1.10  root     5034:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-variable-declarations" >&5
                   5035: printf %s "checking whether c++ accepts -Wmissing-variable-declarations... " >&6; }
                   5036:        old_CXXFLAGS="${CXXFLAGS}"
                   5037:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-variable-declarations"
                   5038:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5039: /* end confdefs.h.  */
1.1.1.3   root     5040: 
1.1.1.17! root     5041: 
1.1.1.10  root     5042: int
                   5043: main (void)
                   5044: {
1.1.1.3   root     5045: 
1.1.1.10  root     5046:   ;
                   5047:   return 0;
                   5048: }
1.1.1.17! root     5049: 
1.1.1.10  root     5050: _ACEOF
                   5051: if ac_fn_cxx_try_compile "$LINENO"
                   5052: then :
1.1.1.17! root     5053: 
        !          5054:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5055: printf "%s\n" "yes" >&6; }
1.1.1.11  root     5056:                eval `echo cxx_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     5057:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-variable-declarations"
1.1.1.17! root     5058: 
1.1.1.15  root     5059: else case e in #(
1.1.1.17! root     5060:   e)
        !          5061:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5062: printf "%s\n" "no" >&6; }
        !          5063:         ;;
1.1.1.15  root     5064: esac
1.1.1.10  root     5065: fi
                   5066: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5067:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5068: 
1.1.1.11  root     5069: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
                   5070: 
                   5071:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow-local" >&5
                   5072: printf %s "checking whether c++ accepts -Wshadow-local... " >&6; }
                   5073:        old_CXXFLAGS="${CXXFLAGS}"
                   5074:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow-local"
                   5075:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5076: /* end confdefs.h.  */
                   5077: 
1.1.1.17! root     5078: 
1.1.1.11  root     5079: int
                   5080: main (void)
                   5081: {
                   5082: 
                   5083:   ;
                   5084:   return 0;
                   5085: }
1.1.1.17! root     5086: 
1.1.1.11  root     5087: _ACEOF
                   5088: if ac_fn_cxx_try_compile "$LINENO"
                   5089: then :
1.1.1.17! root     5090: 
        !          5091:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5092: printf "%s\n" "yes" >&6; }
                   5093:                eval `echo cxx_has-Wshadow-local=yes | sed -e 's/-/_/g'`
                   5094:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow-local"
1.1.1.17! root     5095: 
1.1.1.15  root     5096: else case e in #(
1.1.1.17! root     5097:   e)
        !          5098:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5099: printf "%s\n" "no" >&6; }
        !          5100:         ;;
1.1.1.15  root     5101: esac
1.1.1.11  root     5102: fi
                   5103: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5104:        CXXFLAGS="${old_CXXFLAGS}"
                   5105: 
                   5106: if test x"${cxx_has_Wshadow_local}" != xyes; then
                   5107: 
                   5108:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow" >&5
                   5109: printf %s "checking whether c++ accepts -Wshadow... " >&6; }
                   5110:        old_CXXFLAGS="${CXXFLAGS}"
                   5111:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow"
                   5112:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5113: /* end confdefs.h.  */
                   5114: 
1.1.1.17! root     5115: 
1.1.1.11  root     5116: int
                   5117: main (void)
                   5118: {
                   5119: 
                   5120:   ;
                   5121:   return 0;
                   5122: }
1.1.1.17! root     5123: 
1.1.1.11  root     5124: _ACEOF
                   5125: if ac_fn_cxx_try_compile "$LINENO"
                   5126: then :
1.1.1.17! root     5127: 
        !          5128:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.11  root     5129: printf "%s\n" "yes" >&6; }
                   5130:                eval `echo cxx_has-Wshadow=yes | sed -e 's/-/_/g'`
                   5131:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow"
1.1.1.17! root     5132: 
1.1.1.15  root     5133: else case e in #(
1.1.1.17! root     5134:   e)
        !          5135:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5136: printf "%s\n" "no" >&6; }
        !          5137:         ;;
1.1.1.15  root     5138: esac
1.1.1.11  root     5139: fi
                   5140: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5141:        CXXFLAGS="${old_CXXFLAGS}"
                   5142: 
                   5143: fi
1.1.1.3   root     5144: 
1.1.1.15  root     5145:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wstring-conversion" >&5
                   5146: printf %s "checking whether c++ accepts -Wstring-conversion... " >&6; }
1.1.1.12  root     5147:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5148:        CXXFLAGS="${CXXFLAGS} -Werror -Wstring-conversion"
1.1.1.12  root     5149:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5150: /* end confdefs.h.  */
                   5151: 
1.1.1.17! root     5152: 
1.1.1.12  root     5153: int
                   5154: main (void)
                   5155: {
                   5156: 
                   5157:   ;
                   5158:   return 0;
                   5159: }
1.1.1.17! root     5160: 
1.1.1.12  root     5161: _ACEOF
                   5162: if ac_fn_cxx_try_compile "$LINENO"
                   5163: then :
1.1.1.17! root     5164: 
        !          5165:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.12  root     5166: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5167:                eval `echo cxx_has-Wstring-conversion=yes | sed -e 's/-/_/g'`
                   5168:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wstring-conversion"
1.1.1.17! root     5169: 
1.1.1.15  root     5170: else case e in #(
1.1.1.17! root     5171:   e)
        !          5172:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5173: printf "%s\n" "no" >&6; }
        !          5174:         ;;
1.1.1.15  root     5175: esac
1.1.1.12  root     5176: fi
                   5177: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5178:        CXXFLAGS="${old_CXXFLAGS}"
                   5179: 
                   5180: 
1.1.1.15  root     5181:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-destructor-override" >&5
                   5182: printf %s "checking whether c++ accepts -Wsuggest-destructor-override... " >&6; }
1.1.1.3   root     5183:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.15  root     5184:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-destructor-override"
1.1.1.3   root     5185:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5186: /* end confdefs.h.  */
                   5187: 
1.1.1.17! root     5188: 
1.1.1.3   root     5189: int
1.1.1.10  root     5190: main (void)
1.1.1.3   root     5191: {
                   5192: 
                   5193:   ;
                   5194:   return 0;
                   5195: }
1.1.1.17! root     5196: 
1.1.1.3   root     5197: _ACEOF
1.1.1.10  root     5198: if ac_fn_cxx_try_compile "$LINENO"
                   5199: then :
1.1.1.17! root     5200: 
        !          5201:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.10  root     5202: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5203:                eval `echo cxx_has-Wsuggest-destructor-override=yes | sed -e 's/-/_/g'`
                   5204:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-destructor-override"
1.1.1.17! root     5205: 
1.1.1.15  root     5206: else case e in #(
1.1.1.17! root     5207:   e)
        !          5208:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5209: printf "%s\n" "no" >&6; }
        !          5210:         ;;
1.1.1.15  root     5211: esac
1.1.1.3   root     5212: fi
1.1.1.10  root     5213: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5214:        CXXFLAGS="${old_CXXFLAGS}"
                   5215: 
                   5216: 
1.1.1.15  root     5217:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-override" >&5
                   5218: printf %s "checking whether c++ accepts -Wsuggest-override... " >&6; }
                   5219:        old_CXXFLAGS="${CXXFLAGS}"
                   5220:        CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-override"
                   5221:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5222: /* end confdefs.h.  */
1.1.1.10  root     5223: 
1.1.1.17! root     5224: 
1.1.1.15  root     5225: int
                   5226: main (void)
                   5227: {
1.1.1.14  root     5228: 
1.1.1.15  root     5229:   ;
                   5230:   return 0;
                   5231: }
1.1.1.17! root     5232: 
1.1.1.15  root     5233: _ACEOF
                   5234: if ac_fn_cxx_try_compile "$LINENO"
                   5235: then :
1.1.1.17! root     5236: 
        !          5237:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5238: printf "%s\n" "yes" >&6; }
                   5239:                eval `echo cxx_has-Wsuggest-override=yes | sed -e 's/-/_/g'`
                   5240:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-override"
1.1.1.17! root     5241: 
1.1.1.15  root     5242: else case e in #(
1.1.1.17! root     5243:   e)
        !          5244:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5245: printf "%s\n" "no" >&6; }
        !          5246:         ;;
1.1.1.15  root     5247: esac
                   5248: fi
                   5249: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5250:        CXXFLAGS="${old_CXXFLAGS}"
                   5251: 
                   5252: 
                   5253:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wtype-limits" >&5
                   5254: printf %s "checking whether c++ accepts -Wtype-limits... " >&6; }
                   5255:        old_CXXFLAGS="${CXXFLAGS}"
                   5256:        CXXFLAGS="${CXXFLAGS} -Werror -Wtype-limits"
                   5257:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5258: /* end confdefs.h.  */
                   5259: 
1.1.1.17! root     5260: 
1.1.1.15  root     5261: int
                   5262: main (void)
                   5263: {
                   5264: 
                   5265:   ;
                   5266:   return 0;
                   5267: }
1.1.1.17! root     5268: 
1.1.1.15  root     5269: _ACEOF
                   5270: if ac_fn_cxx_try_compile "$LINENO"
                   5271: then :
1.1.1.17! root     5272: 
        !          5273:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5274: printf "%s\n" "yes" >&6; }
                   5275:                eval `echo cxx_has-Wtype-limits=yes | sed -e 's/-/_/g'`
                   5276:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wtype-limits"
1.1.1.17! root     5277: 
1.1.1.15  root     5278: else case e in #(
1.1.1.17! root     5279:   e)
        !          5280:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5281: printf "%s\n" "no" >&6; }
        !          5282:         ;;
1.1.1.15  root     5283: esac
                   5284: fi
                   5285: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5286:        CXXFLAGS="${old_CXXFLAGS}"
                   5287: 
                   5288: 
                   5289:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5
                   5290: printf %s "checking whether c++ accepts -Wvla-extension... " >&6; }
                   5291:        old_CXXFLAGS="${CXXFLAGS}"
                   5292:        CXXFLAGS="${CXXFLAGS} -Werror -Wvla-extension"
                   5293:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5294: /* end confdefs.h.  */
                   5295: 
1.1.1.17! root     5296: 
1.1.1.15  root     5297: int
                   5298: main (void)
                   5299: {
                   5300: 
                   5301:   ;
                   5302:   return 0;
                   5303: }
1.1.1.17! root     5304: 
1.1.1.15  root     5305: _ACEOF
                   5306: if ac_fn_cxx_try_compile "$LINENO"
                   5307: then :
1.1.1.17! root     5308: 
        !          5309:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.1.15  root     5310: printf "%s\n" "yes" >&6; }
                   5311:                eval `echo cxx_has-Wvla-extension=yes | sed -e 's/-/_/g'`
                   5312:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wvla-extension"
1.1.1.17! root     5313: 
1.1.1.15  root     5314: else case e in #(
1.1.1.17! root     5315:   e)
        !          5316:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5317: printf "%s\n" "no" >&6; }
        !          5318:         ;;
1.1.1.15  root     5319: esac
                   5320: fi
                   5321: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5322:        CXXFLAGS="${old_CXXFLAGS}"
                   5323: 
                   5324: 
                   5325: 
                   5326: # コンパイラが AVX2 をサポートしているか。
                   5327: # Check whether --enable-avx2 was given.
                   5328: if test ${enable_avx2+y}
                   5329: then :
                   5330:   enableval=$enable_avx2;
                   5331: else case e in #(
                   5332:   e) enable_avx2=yes ;;
                   5333: esac
                   5334: fi
                   5335: 
                   5336: 
                   5337: if test x"${enable_avx2}" != x"no"
                   5338: then :
                   5339: 
                   5340:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports AVX2" >&5
                   5341: printf %s "checking whether the compiler supports AVX2... " >&6; }
                   5342:        if test x"${host_cpu}" = x"x86_64"; then
1.1.1.14  root     5343:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5344:                        old_CXXFLAGS="${CXXFLAGS}"
                   5345:                        CXXFLAGS="${CXXFLAGS} -mavx2"
                   5346:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5347: /* end confdefs.h.  */
                   5348: 
                   5349:                                        #include <x86intrin.h>
                   5350: 
                   5351: int
                   5352: main (void)
                   5353: {
                   5354: 
                   5355:                                        #if !defined(__AVX2__)
                   5356:                                        #error __AVX2__ is not defined by the compiler.
                   5357:                                        #endif
                   5358:                                        __m256i v;
                   5359: 
                   5360:   ;
                   5361:   return 0;
                   5362: }
                   5363: _ACEOF
                   5364: if ac_fn_cxx_try_compile "$LINENO"
                   5365: then :
                   5366: 
                   5367:                                        have_avx2=yes
                   5368: 
                   5369: fi
                   5370: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5371:                        CXXFLAGS="${old_CXXFLAGS}"
                   5372:                fi
                   5373:        fi
                   5374:        if test x"${have_avx2}" = x"yes"; then
                   5375:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5376: printf "%s\n" "yes" >&6; }
                   5377:                printf "%s\n" "#define HAVE_AVX2 1" >>confdefs.h
                   5378: 
                   5379:                HOST_HAS_AVX2=yes
                   5380: 
                   5381:        else
                   5382:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5383: printf "%s\n" "no" >&6; }
                   5384:        fi
                   5385: 
                   5386: fi
                   5387: 
1.1.1.15  root     5388: # コンパイラが NEON をサポートしているか。
                   5389: # Check whether --enable-neon was given.
                   5390: if test ${enable_neon+y}
                   5391: then :
                   5392:   enableval=$enable_neon;
                   5393: else case e in #(
                   5394:   e) enable_neon=yes ;;
                   5395: esac
                   5396: fi
                   5397: 
                   5398: 
                   5399: if test x"${enable_neon}" != x"no"
                   5400: then :
                   5401: 
                   5402:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports NEON" >&5
                   5403: printf %s "checking whether the compiler supports NEON... " >&6; }
                   5404:        if test x"${host_cpu}" = x"aarch64"; then
                   5405:                if test x"${host_cpu}" = x"${build_cpu}"; then
                   5406:                        old_CXXFLAGS="${CXXFLAGS}"
                   5407:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5408: /* end confdefs.h.  */
                   5409: 
                   5410:                                #include <arm_neon.h>
                   5411: 
                   5412: int
                   5413: main (void)
                   5414: {
                   5415: 
                   5416:                                uint8x16_t v;
                   5417: 
                   5418:   ;
                   5419:   return 0;
                   5420: }
                   5421: _ACEOF
                   5422: if ac_fn_cxx_try_compile "$LINENO"
                   5423: then :
                   5424: 
                   5425:                                have_neon=yes
                   5426: 
                   5427: fi
                   5428: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5429:                        CXXFLAGS="${old_CXXFLAGS}"
                   5430:                fi
                   5431:        fi
                   5432:        if test x"${have_neon}" = x"yes"; then
                   5433:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5434: printf "%s\n" "yes" >&6; }
                   5435:                printf "%s\n" "#define HAVE_NEON 1" >>confdefs.h
                   5436: 
                   5437:                HOST_HAS_NEON=yes
                   5438: 
                   5439:        else
                   5440:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5441: printf "%s\n" "no" >&6; }
                   5442:        fi
                   5443: 
                   5444: fi
                   5445: 
1.1.1.10  root     5446: # Checks for libraries.
                   5447: 
                   5448: # Checks for header files.
                   5449: ac_header= ac_cache=
                   5450: for ac_item in $ac_header_cxx_list
                   5451: do
                   5452:   if test $ac_cache; then
                   5453:     ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
                   5454:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
                   5455:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
                   5456:     fi
                   5457:     ac_header= ac_cache=
                   5458:   elif test $ac_header; then
                   5459:     ac_cache=$ac_item
                   5460:   else
                   5461:     ac_header=$ac_item
                   5462:   fi
                   5463: done
                   5464: 
                   5465: 
                   5466: 
                   5467: 
                   5468: 
                   5469: 
                   5470: 
                   5471: 
                   5472: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
                   5473: then :
                   5474: 
                   5475: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
                   5476: 
                   5477: fi
                   5478: ac_fn_cxx_check_header_compile "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default"
                   5479: if test "x$ac_cv_header_bsd_bsd_h" = xyes
                   5480: then :
                   5481:   printf "%s\n" "#define HAVE_BSD_BSD_H 1" >>confdefs.h
                   5482: 
                   5483: fi
                   5484: 
                   5485: ac_fn_cxx_check_header_compile "$LINENO" "bsd/stdio.h" "ac_cv_header_bsd_stdio_h" "$ac_includes_default"
                   5486: if test "x$ac_cv_header_bsd_stdio_h" = xyes
                   5487: then :
                   5488:   printf "%s\n" "#define HAVE_BSD_STDIO_H 1" >>confdefs.h
                   5489: 
                   5490: fi
                   5491: 
                   5492: ac_fn_cxx_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
                   5493: if test "x$ac_cv_header_byteswap_h" = xyes
                   5494: then :
                   5495:   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
                   5496: 
                   5497: fi
                   5498: 
                   5499: ac_fn_cxx_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
                   5500: if test "x$ac_cv_header_endian_h" = xyes
                   5501: then :
                   5502:   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
                   5503: 
                   5504: fi
                   5505: 
                   5506: ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default"
                   5507: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes
                   5508: then :
                   5509:   printf "%s\n" "#define HAVE_KQUEUE_SYS_EVENT_H 1" >>confdefs.h
                   5510: 
                   5511: fi
                   5512: 
                   5513: ac_fn_cxx_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
                   5514: if test "x$ac_cv_header_pthread_np_h" = xyes
                   5515: then :
                   5516:   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
                   5517: 
                   5518: fi
                   5519: 
1.1.1.15  root     5520: ac_fn_cxx_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
                   5521: if test "x$ac_cv_header_sched_h" = xyes
                   5522: then :
                   5523:   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
                   5524: 
                   5525: fi
                   5526: 
                   5527: ac_fn_cxx_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default"
                   5528: if test "x$ac_cv_header_sys_cpuset_h" = xyes
                   5529: then :
                   5530:   printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h
                   5531: 
                   5532: fi
                   5533: 
1.1.1.10  root     5534: ac_fn_cxx_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
                   5535: if test "x$ac_cv_header_sys_endian_h" = xyes
                   5536: then :
                   5537:   printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
                   5538: 
                   5539: fi
                   5540: 
                   5541: ac_fn_cxx_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
                   5542: if test "x$ac_cv_header_sys_event_h" = xyes
                   5543: then :
                   5544:   printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
                   5545: 
                   5546: fi
                   5547: 
                   5548: ac_fn_cxx_check_header_compile "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   5549: if test "x$ac_cv_header_net_bpf_h" = xyes
                   5550: then :
                   5551:   printf "%s\n" "#define HAVE_NET_BPF_H 1" >>confdefs.h
                   5552: 
                   5553: fi
                   5554: 
                   5555: ac_fn_cxx_check_header_compile "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default"
                   5556: if test "x$ac_cv_header_net_if_tap_h" = xyes
                   5557: then :
                   5558:   printf "%s\n" "#define HAVE_NET_IF_TAP_H 1" >>confdefs.h
                   5559: 
                   5560: fi
                   5561: 
                   5562: ac_fn_cxx_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default"
                   5563: if test "x$ac_cv_header_linux_if_tun_h" = xyes
                   5564: then :
                   5565:   printf "%s\n" "#define HAVE_LINUX_IF_TUN_H 1" >>confdefs.h
                   5566: 
                   5567: fi
                   5568: 
                   5569: ac_fn_cxx_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
                   5570: if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
                   5571: then :
                   5572:   printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
                   5573: 
                   5574: fi
                   5575: 
                   5576: ac_fn_cxx_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
                   5577: if test "x$ac_cv_header_machine_endian_h" = xyes
                   5578: then :
                   5579:   printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
                   5580: 
                   5581: fi
                   5582: 
                   5583: 
                   5584: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい
                   5585: case "${host_os}" in
                   5586:  linux*)
                   5587:        if test "$ac_cv_header_kqueue_sys_event_h" != "yes"; then
                   5588:                as_fn_error $? "*** kqueue is not found.
                   5589: *** If you use Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5
                   5590:        fi
                   5591:        ;;
                   5592: esac
                   5593: 
                   5594: # Checks for typedefs, structures, and compiler characteristics.
                   5595: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
                   5596: if test "x$ac_cv_type__Bool" = xyes
                   5597: then :
                   5598: 
                   5599: printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
                   5600: 
                   5601: 
                   5602: fi
                   5603: 
1.1.1.15  root     5604:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5
                   5605: printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; }
1.1.1.10  root     5606: if test ${ac_cv_header_stdbool_h+y}
                   5607: then :
                   5608:   printf %s "(cached) " >&6
1.1.1.15  root     5609: else case e in #(
                   5610:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5611: /* end confdefs.h.  */
1.1.1.10  root     5612: #include <stdbool.h>
                   5613: 
1.1.1.15  root     5614:              /* "true" and "false" should be usable in #if expressions and
                   5615:                 integer constant expressions, and "bool" should be a valid
                   5616:                 type name.
                   5617: 
                   5618:                 Although C99 requires bool, true, and false to be macros,
                   5619:                 C23 and C++11 overrule that, so do not test for that.
                   5620:                 Although C99 requires __bool_true_false_are_defined and
                   5621:                 _Bool, C23 says they are obsolescent, so do not require
                   5622:                 them.  */
1.1.1.10  root     5623: 
                   5624:              #if !true
                   5625:                #error "'true' is not true"
                   5626:              #endif
                   5627:              #if true != 1
                   5628:                #error "'true' is not equal to 1"
                   5629:              #endif
                   5630:              char b[true == 1 ? 1 : -1];
                   5631:              char c[true];
                   5632: 
                   5633:              #if false
                   5634:                #error "'false' is not false"
                   5635:              #endif
                   5636:              #if false != 0
                   5637:                #error "'false' is not equal to 0"
                   5638:              #endif
                   5639:              char d[false == 0 ? 1 : -1];
                   5640: 
                   5641:              enum { e = false, f = true, g = false * true, h = true * 256 };
                   5642: 
                   5643:              char i[(bool) 0.5 == true ? 1 : -1];
                   5644:              char j[(bool) 0.0 == false ? 1 : -1];
                   5645:              char k[sizeof (bool) > 0 ? 1 : -1];
                   5646: 
                   5647:              struct sb { bool s: 1; bool t; } s;
                   5648:              char l[sizeof s.t > 0 ? 1 : -1];
                   5649: 
                   5650:              /* The following fails for
                   5651:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
                   5652:              bool m[h];
                   5653:              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
                   5654:              char o[-1 - (bool) 0 < 0 ? 1 : -1];
                   5655:              /* Catch a bug in an HP-UX C compiler.  See
1.1.1.15  root     5656:                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
                   5657:                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
1.1.1.10  root     5658:               */
                   5659:              bool p = true;
                   5660:              bool *pp = &p;
                   5661: 
1.1.1.3   root     5662: int
1.1.1.10  root     5663: main (void)
1.1.1.3   root     5664: {
                   5665: 
1.1.1.10  root     5666:              bool ps = &s;
                   5667:              *pp |= p;
                   5668:              *pp |= ! p;
                   5669: 
                   5670:              /* Refer to every declared value, so they cannot be
                   5671:                 discarded as unused.  */
1.1.1.15  root     5672:              return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
                   5673:                      + !l + !m + !n + !o + !p + !pp + !ps);
1.1.1.10  root     5674: 
1.1.1.3   root     5675:   ;
                   5676:   return 0;
                   5677: }
                   5678: _ACEOF
1.1.1.10  root     5679: if ac_fn_cxx_try_compile "$LINENO"
                   5680: then :
                   5681:   ac_cv_header_stdbool_h=yes
1.1.1.15  root     5682: else case e in #(
                   5683:   e) ac_cv_header_stdbool_h=no ;;
                   5684: esac
1.1.1.3   root     5685: fi
1.1.1.15  root     5686: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   5687: esac
1.1.1.10  root     5688: fi
                   5689: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
                   5690: printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
1.1.1.3   root     5691: 
1.1.1.10  root     5692: #AC_C_INLINE
                   5693: #AC_TYPE_INT16_T
                   5694: #AC_TYPE_INT32_T
                   5695: #AC_TYPE_INT64_T
                   5696: #AC_TYPE_INT8_T
                   5697: #AC_TYPE_SIZE_T
                   5698: #AC_TYPE_UINT16_T
                   5699: #AC_TYPE_UINT32_T
                   5700: #AC_TYPE_UINT64_T
                   5701: #AC_TYPE_UINT8_T
1.1.1.3   root     5702: 
1.1.1.15  root     5703: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t" >&5
                   5704: printf %s "checking for cpuset_t... " >&6; }
1.1.1.10  root     5705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5706: /* end confdefs.h.  */
                   5707: 
1.1.1.15  root     5708:                #if defined(HAVE_SCHED_H)
                   5709:                #include <sched.h>
                   5710:                #endif
                   5711:                #if defined(HAVE_SYS_CPUSET_H)
                   5712:                #include <sys/cpuset.h>
                   5713:                #endif
                   5714: 
1.1.1.3   root     5715: int
1.1.1.10  root     5716: main (void)
1.1.1.3   root     5717: {
                   5718: 
1.1.1.15  root     5719:                cpuset_t set;
1.1.1.10  root     5720: 
1.1.1.3   root     5721:   ;
                   5722:   return 0;
                   5723: }
                   5724: _ACEOF
1.1.1.10  root     5725: if ac_fn_cxx_try_compile "$LINENO"
                   5726: then :
1.1.1.3   root     5727: 
1.1.1.10  root     5728:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5729: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5730:                printf "%s\n" "#define HAVE_CPUSET_T 1" >>confdefs.h
1.1.1.10  root     5731: 
                   5732: 
1.1.1.15  root     5733: else case e in #(
                   5734:   e)
1.1.1.10  root     5735:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5736: printf "%s\n" "no" >&6; }
1.1.1.15  root     5737:         ;;
                   5738: esac
1.1.1.10  root     5739: fi
                   5740: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5741: 
1.1.1.15  root     5742: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_t *" >&5
                   5743: printf %s "checking for cpuset_t *... " >&6; }
1.1.1.10  root     5744: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5745: /* end confdefs.h.  */
                   5746: 
1.1.1.15  root     5747:                #if defined(HAVE_SCHED_H)
                   5748:                #include <sched.h>
                   5749:                #endif
                   5750:                #if defined(HAVE_SYS_CPUSET_H)
                   5751:                #include <sys/cpuset.h>
                   5752:                #endif
                   5753: 
1.1.1.3   root     5754: int
1.1.1.10  root     5755: main (void)
1.1.1.3   root     5756: {
                   5757: 
1.1.1.15  root     5758:                cpuset_t *set;
1.1.1.10  root     5759: 
1.1.1.3   root     5760:   ;
                   5761:   return 0;
                   5762: }
                   5763: _ACEOF
1.1.1.10  root     5764: if ac_fn_cxx_try_compile "$LINENO"
                   5765: then :
1.1.1.3   root     5766: 
1.1.1.10  root     5767:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5768: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5769:                printf "%s\n" "#define HAVE_CPUSET_T_P 1" >>confdefs.h
1.1.1.10  root     5770: 
                   5771: 
1.1.1.15  root     5772: else case e in #(
                   5773:   e)
1.1.1.10  root     5774:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5775: printf "%s\n" "no" >&6; }
1.1.1.15  root     5776:         ;;
                   5777: esac
1.1.1.10  root     5778: fi
                   5779: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5780: 
1.1.1.15  root     5781: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpu_set_t" >&5
                   5782: printf %s "checking for cpu_set_t... " >&6; }
1.1.1.10  root     5783: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5784: /* end confdefs.h.  */
                   5785: 
1.1.1.15  root     5786:                #include <sched.h>
                   5787: 
1.1.1.3   root     5788: int
1.1.1.10  root     5789: main (void)
1.1.1.3   root     5790: {
                   5791: 
1.1.1.15  root     5792:                cpu_set_t set;
1.1.1.10  root     5793: 
1.1.1.3   root     5794:   ;
                   5795:   return 0;
                   5796: }
                   5797: _ACEOF
1.1.1.10  root     5798: if ac_fn_cxx_try_compile "$LINENO"
                   5799: then :
1.1.1.3   root     5800: 
1.1.1.10  root     5801:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5802: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5803:                printf "%s\n" "#define HAVE_CPU_SET_T 1" >>confdefs.h
1.1.1.10  root     5804: 
                   5805: 
1.1.1.15  root     5806: else case e in #(
                   5807:   e)
1.1.1.10  root     5808:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5809: printf "%s\n" "no" >&6; }
1.1.1.15  root     5810:         ;;
                   5811: esac
1.1.1.10  root     5812: fi
                   5813: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5814: 
1.1.1.15  root     5815: 
                   5816: # __builtin
                   5817: 
                   5818: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5
                   5819: printf %s "checking for __builtin_assume... " >&6; }
1.1.1.10  root     5820: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5821: /* end confdefs.h.  */
                   5822: 
                   5823: int
1.1.1.10  root     5824: main (void)
1.1.1.3   root     5825: {
                   5826: 
1.1.1.15  root     5827:                __builtin_assume(1);
1.1.1.10  root     5828: 
1.1.1.3   root     5829:   ;
                   5830:   return 0;
                   5831: }
                   5832: _ACEOF
1.1.1.10  root     5833: if ac_fn_cxx_try_compile "$LINENO"
                   5834: then :
1.1.1.3   root     5835: 
1.1.1.10  root     5836:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5837: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5838:                printf "%s\n" "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h
1.1.1.10  root     5839: 
                   5840: 
1.1.1.15  root     5841: else case e in #(
                   5842:   e)
1.1.1.10  root     5843:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5844: printf "%s\n" "no" >&6; }
1.1.1.15  root     5845:         ;;
                   5846: esac
1.1.1.10  root     5847: fi
                   5848: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5849: 
1.1.1.15  root     5850: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse8" >&5
                   5851: printf %s "checking for __builtin_bitreverse8... " >&6; }
1.1.1.10  root     5852: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5853: /* end confdefs.h.  */
                   5854: 
                   5855: int
1.1.1.10  root     5856: main (void)
1.1.1.3   root     5857: {
                   5858: 
1.1.1.15  root     5859:                return __builtin_bitreverse8(1);
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___BUILTIN_BITREVERSE8 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.16  root     5882: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse16" >&5
                   5883: printf %s "checking for __builtin_bitreverse16... " >&6; }
                   5884: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5885: /* end confdefs.h.  */
                   5886: 
                   5887: int
                   5888: main (void)
                   5889: {
                   5890: 
                   5891:                return __builtin_bitreverse16(1);
                   5892: 
                   5893:   ;
                   5894:   return 0;
                   5895: }
                   5896: _ACEOF
                   5897: if ac_fn_cxx_try_compile "$LINENO"
                   5898: then :
                   5899: 
                   5900:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5901: printf "%s\n" "yes" >&6; }
                   5902:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE16 1" >>confdefs.h
                   5903: 
                   5904: 
                   5905: else case e in #(
                   5906:   e)
                   5907:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5908: printf "%s\n" "no" >&6; }
                   5909:         ;;
                   5910: esac
                   5911: fi
                   5912: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5913: 
                   5914: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bitreverse32" >&5
                   5915: printf %s "checking for __builtin_bitreverse32... " >&6; }
                   5916: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5917: /* end confdefs.h.  */
                   5918: 
                   5919: int
                   5920: main (void)
                   5921: {
                   5922: 
                   5923:                return __builtin_bitreverse32(1);
                   5924: 
                   5925:   ;
                   5926:   return 0;
                   5927: }
                   5928: _ACEOF
                   5929: if ac_fn_cxx_try_compile "$LINENO"
                   5930: then :
                   5931: 
                   5932:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5933: printf "%s\n" "yes" >&6; }
                   5934:                printf "%s\n" "#define HAVE___BUILTIN_BITREVERSE32 1" >>confdefs.h
                   5935: 
                   5936: 
                   5937: else case e in #(
                   5938:   e)
                   5939:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5940: printf "%s\n" "no" >&6; }
                   5941:         ;;
                   5942: esac
                   5943: fi
                   5944: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5945: 
1.1.1.15  root     5946: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5
                   5947: printf %s "checking for __builtin_bswap16... " >&6; }
1.1.1.10  root     5948: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5949: /* end confdefs.h.  */
                   5950: 
                   5951: int
1.1.1.10  root     5952: main (void)
1.1.1.3   root     5953: {
                   5954: 
1.1.1.15  root     5955:                return __builtin_bswap16(0);
1.1.1.10  root     5956: 
1.1.1.3   root     5957:   ;
                   5958:   return 0;
                   5959: }
                   5960: _ACEOF
1.1.1.10  root     5961: if ac_fn_cxx_try_compile "$LINENO"
                   5962: then :
1.1.1.3   root     5963: 
1.1.1.10  root     5964:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5965: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5966:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h
1.1.1.3   root     5967: 
                   5968: 
1.1.1.15  root     5969: else case e in #(
                   5970:   e)
1.1.1.10  root     5971:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5972: printf "%s\n" "no" >&6; }
1.1.1.15  root     5973:         ;;
                   5974: esac
1.1.1.3   root     5975: fi
1.1.1.10  root     5976: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5977: 
1.1.1.15  root     5978: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5
                   5979: printf %s "checking for __builtin_bswap32... " >&6; }
1.1.1.10  root     5980: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5981: /* end confdefs.h.  */
                   5982: 
1.1.1.10  root     5983: int
                   5984: main (void)
                   5985: {
1.1.1.3   root     5986: 
1.1.1.15  root     5987:                return __builtin_bswap32(0);
1.1.1.3   root     5988: 
1.1.1.10  root     5989:   ;
                   5990:   return 0;
                   5991: }
1.1.1.3   root     5992: _ACEOF
1.1.1.10  root     5993: if ac_fn_cxx_try_compile "$LINENO"
                   5994: then :
1.1.1.3   root     5995: 
1.1.1.10  root     5996:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5997: printf "%s\n" "yes" >&6; }
1.1.1.15  root     5998:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h
1.1.1.3   root     5999: 
1.1.1.10  root     6000: 
1.1.1.15  root     6001: else case e in #(
                   6002:   e)
1.1.1.10  root     6003:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6004: printf "%s\n" "no" >&6; }
1.1.1.15  root     6005:         ;;
                   6006: esac
1.1.1.3   root     6007: fi
1.1.1.10  root     6008: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6009: 
1.1.1.15  root     6010: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap64" >&5
                   6011: printf %s "checking for __builtin_bswap64... " >&6; }
1.1.1.10  root     6012: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6013: /* end confdefs.h.  */
                   6014: 
                   6015: int
                   6016: main (void)
                   6017: {
1.1.1.3   root     6018: 
1.1.1.15  root     6019:                return __builtin_bswap64(0);
                   6020: 
1.1.1.10  root     6021:   ;
                   6022:   return 0;
                   6023: }
1.1.1.3   root     6024: _ACEOF
1.1.1.10  root     6025: if ac_fn_cxx_try_compile "$LINENO"
                   6026: then :
1.1.1.3   root     6027: 
1.1.1.10  root     6028:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6029: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6030:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP64 1" >>confdefs.h
1.1.1.3   root     6031: 
                   6032: 
1.1.1.15  root     6033: else case e in #(
                   6034:   e)
1.1.1.10  root     6035:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6036: printf "%s\n" "no" >&6; }
1.1.1.15  root     6037:         ;;
                   6038: esac
1.1.1.10  root     6039: fi
                   6040: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6041: 
1.1.1.15  root     6042: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
                   6043: printf %s "checking for __builtin_expect... " >&6; }
1.1.1.10  root     6044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6045: /* end confdefs.h.  */
1.1.1.3   root     6046: 
1.1.1.10  root     6047: int
                   6048: main (void)
                   6049: {
1.1.1.3   root     6050: 
1.1.1.15  root     6051:                if (__builtin_expect(1, 1)) return 0;
                   6052: 
1.1.1.10  root     6053:   ;
                   6054:   return 0;
                   6055: }
1.1.1.3   root     6056: _ACEOF
1.1.1.10  root     6057: if ac_fn_cxx_try_compile "$LINENO"
                   6058: then :
1.1.1.3   root     6059: 
1.1.1.10  root     6060:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6061: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6062:                printf "%s\n" "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
                   6063: 
                   6064: 
                   6065: else case e in #(
                   6066:   e)
                   6067:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6068: printf "%s\n" "no" >&6; }
                   6069:         ;;
                   6070: esac
                   6071: fi
                   6072: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6073: 
1.1.1.15  root     6074: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateleft32" >&5
                   6075: printf %s "checking for __builtin_rotateleft32... " >&6; }
                   6076: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6077: /* end confdefs.h.  */
                   6078: 
                   6079: int
                   6080: main (void)
                   6081: {
                   6082: 
                   6083:                return __builtin_rotateleft32(1, 1);
                   6084: 
                   6085:   ;
                   6086:   return 0;
                   6087: }
                   6088: _ACEOF
                   6089: if ac_fn_cxx_try_compile "$LINENO"
                   6090: then :
                   6091: 
                   6092:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6093: printf "%s\n" "yes" >&6; }
                   6094:                printf "%s\n" "#define HAVE___BUILTIN_ROTATELEFT32 1" >>confdefs.h
                   6095: 
                   6096: 
                   6097: else case e in #(
                   6098:   e)
                   6099:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6100: printf "%s\n" "no" >&6; }
                   6101:         ;;
                   6102: esac
                   6103: fi
                   6104: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6105: 
                   6106: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_rotateright32" >&5
                   6107: printf %s "checking for __builtin_rotateright32... " >&6; }
                   6108: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6109: /* end confdefs.h.  */
                   6110: 
                   6111: int
                   6112: main (void)
                   6113: {
                   6114: 
                   6115:                return __builtin_rotateright32(1, 1);
                   6116: 
                   6117:   ;
                   6118:   return 0;
                   6119: }
                   6120: _ACEOF
                   6121: if ac_fn_cxx_try_compile "$LINENO"
                   6122: then :
                   6123: 
                   6124:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6125: printf "%s\n" "yes" >&6; }
                   6126:                printf "%s\n" "#define HAVE___BUILTIN_ROTATERIGHT32 1" >>confdefs.h
                   6127: 
                   6128: 
                   6129: else case e in #(
                   6130:   e)
                   6131:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6132: printf "%s\n" "no" >&6; }
                   6133:         ;;
                   6134: esac
                   6135: fi
                   6136: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6137: 
                   6138: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
                   6139: printf %s "checking for __builtin_unreachable... " >&6; }
                   6140: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6141: /* end confdefs.h.  */
                   6142: 
                   6143: int
                   6144: main (void)
                   6145: {
                   6146: 
                   6147:                __builtin_unreachable();
                   6148: 
                   6149:   ;
                   6150:   return 0;
                   6151: }
                   6152: _ACEOF
                   6153: if ac_fn_cxx_try_compile "$LINENO"
                   6154: then :
                   6155: 
                   6156:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6157: printf "%s\n" "yes" >&6; }
                   6158:                printf "%s\n" "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h
                   6159: 
                   6160: 
                   6161: else case e in #(
                   6162:   e)
                   6163:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6164: printf "%s\n" "no" >&6; }
                   6165:         ;;
                   6166: esac
                   6167: fi
                   6168: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6169: 
                   6170: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5
                   6171: printf %s "checking for __attribute__((__fallthrough__))... " >&6; }
                   6172: old_CXXFLAGS="${CXXFLAGS}"
                   6173: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6174: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6175: /* end confdefs.h.  */
                   6176: 
                   6177: int
                   6178: main (void)
                   6179: {
                   6180: 
                   6181:                extern int x;
                   6182:                switch (x) {
                   6183:                 case 0:
                   6184:                        __attribute__((__fallthrough__));
                   6185:                 case 1:
                   6186:                        break;
                   6187:                }
                   6188: 
                   6189:   ;
                   6190:   return 0;
                   6191: }
                   6192: _ACEOF
                   6193: if ac_fn_cxx_try_compile "$LINENO"
                   6194: then :
                   6195: 
                   6196:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6197: printf "%s\n" "yes" >&6; }
                   6198:                printf "%s\n" "#define HAVE___ATTRIBUTE_FALLTHROUGH 1" >>confdefs.h
                   6199: 
                   6200: 
                   6201: else case e in #(
                   6202:   e)
                   6203:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6204: printf "%s\n" "no" >&6; }
                   6205:         ;;
                   6206: esac
                   6207: fi
                   6208: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6209: CXXFLAGS="${old_CXXFLAGS}"
                   6210: 
                   6211: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__format__))" >&5
                   6212: printf %s "checking for __attribute__((__format__))... " >&6; }
                   6213: old_CXXFLAGS="${CXXFLAGS}"
                   6214: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   6215: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6216: /* end confdefs.h.  */
                   6217: 
                   6218:                extern int f(const char *f, ...)
                   6219:                        __attribute__((__format__(__printf__, 1, 2)));
                   6220: 
                   6221: int
                   6222: main (void)
                   6223: {
                   6224: 
                   6225:   ;
                   6226:   return 0;
                   6227: }
                   6228: _ACEOF
                   6229: if ac_fn_cxx_try_compile "$LINENO"
                   6230: then :
                   6231: 
                   6232:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6233: printf "%s\n" "yes" >&6; }
                   6234:                printf "%s\n" "#define HAVE___ATTRIBUTE_FORMAT 1" >>confdefs.h
                   6235: 
                   6236: 
                   6237: else case e in #(
                   6238:   e)
                   6239:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6240: printf "%s\n" "no" >&6; }
                   6241:         ;;
                   6242: esac
                   6243: fi
                   6244: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6245: CXXFLAGS="${old_CXXFLAGS}"
                   6246: 
                   6247: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5
                   6248: printf %s "checking for __attribute__((no_sanitize))... " >&6; }
                   6249: old_CXXFLAGS="${CXXFLAGS}"
                   6250: CXXFLAGS="${CXXFLAGS} -Werror"
                   6251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6252: /* end confdefs.h.  */
                   6253: 
                   6254:                __attribute__((no_sanitize("undefined")))
                   6255:                int func() { return 0; }
                   6256: 
                   6257: int
                   6258: main (void)
                   6259: {
                   6260: 
                   6261:   ;
                   6262:   return 0;
                   6263: }
                   6264: _ACEOF
                   6265: if ac_fn_cxx_try_compile "$LINENO"
                   6266: then :
                   6267: 
                   6268:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6269: printf "%s\n" "yes" >&6; }
                   6270:                printf "%s\n" "#define HAVE___ATTRIBUTE_NO_SANITIZE 1" >>confdefs.h
                   6271: 
                   6272: 
                   6273: else case e in #(
                   6274:   e)
                   6275:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6276: printf "%s\n" "no" >&6; }
                   6277:         ;;
                   6278: esac
                   6279: fi
                   6280: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6281: CXXFLAGS="${old_CXXFLAGS}"
                   6282: 
                   6283: 
                   6284: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5
                   6285: printf %s "checking for __attribute__((__packed__))... " >&6; }
                   6286: old_CXXFLAGS="${CXXFLAGS}"
                   6287: CXXFLAGS="${CXXFLAGS} -Werror"
                   6288: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6289: /* end confdefs.h.  */
                   6290: 
                   6291: int
                   6292: main (void)
                   6293: {
                   6294: 
                   6295:                struct x { char a; int b; } __attribute__((__packed__));
                   6296: 
                   6297:   ;
                   6298:   return 0;
                   6299: }
                   6300: _ACEOF
                   6301: if ac_fn_cxx_try_compile "$LINENO"
                   6302: then :
                   6303: 
                   6304:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6305: printf "%s\n" "yes" >&6; }
                   6306:                printf "%s\n" "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h
                   6307: 
                   6308: 
                   6309: else case e in #(
                   6310:   e)
                   6311:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6312: printf "%s\n" "no" >&6; }
                   6313:         ;;
                   6314: esac
                   6315: fi
                   6316: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6317: CXXFLAGS="${old_CXXFLAGS}"
                   6318: 
                   6319: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5
                   6320: printf %s "checking for __attribute__((__unused__))... " >&6; }
                   6321: old_CXXFLAGS="${CXXFLAGS}"
                   6322: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror"
                   6323: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6324: /* end confdefs.h.  */
                   6325: 
                   6326: int
                   6327: main (void)
                   6328: {
                   6329: 
                   6330:                int a __attribute__((__unused__));
                   6331: 
                   6332:   ;
                   6333:   return 0;
                   6334: }
                   6335: _ACEOF
                   6336: if ac_fn_cxx_try_compile "$LINENO"
                   6337: then :
                   6338: 
                   6339:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6340: printf "%s\n" "yes" >&6; }
                   6341:                printf "%s\n" "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h
                   6342: 
                   6343: 
                   6344: else case e in #(
                   6345:   e)
                   6346:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6347: printf "%s\n" "no" >&6; }
                   6348:         ;;
                   6349: esac
                   6350: fi
                   6351: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6352: CXXFLAGS="${old_CXXFLAGS}"
                   6353: 
                   6354: # Checks for library functions.
                   6355: #AC_FUNC_MALLOC
                   6356: #AC_FUNC_MMAP
                   6357: 
                   6358: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16" >&5
                   6359: printf %s "checking for bswap16... " >&6; }
                   6360: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6361: /* end confdefs.h.  */
                   6362: 
                   6363:                #if defined(HAVE_SYS_ENDIAN_H)
                   6364:                #include <sys/endian.h>
                   6365:                #endif
                   6366: 
                   6367: int
                   6368: main (void)
                   6369: {
                   6370: 
                   6371:                bswap16(0);
                   6372: 
                   6373:   ;
                   6374:   return 0;
                   6375: }
                   6376: _ACEOF
                   6377: if ac_fn_cxx_try_compile "$LINENO"
                   6378: then :
                   6379: 
                   6380:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6381: printf "%s\n" "yes" >&6; }
                   6382:                printf "%s\n" "#define HAVE_BSWAP16 1" >>confdefs.h
                   6383: 
                   6384: 
                   6385: else case e in #(
                   6386:   e)
                   6387:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6388: printf "%s\n" "no" >&6; }
                   6389:         ;;
                   6390: esac
                   6391: fi
                   6392: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6393: 
                   6394: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap32" >&5
                   6395: printf %s "checking for bswap32... " >&6; }
                   6396: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6397: /* end confdefs.h.  */
                   6398: 
                   6399:                #if defined(HAVE_SYS_ENDIAN_H)
                   6400:                #include <sys/endian.h>
                   6401:                #endif
                   6402: 
                   6403: int
                   6404: main (void)
                   6405: {
                   6406: 
                   6407:                bswap32(0);
                   6408: 
                   6409:   ;
                   6410:   return 0;
                   6411: }
                   6412: _ACEOF
                   6413: if ac_fn_cxx_try_compile "$LINENO"
                   6414: then :
                   6415: 
                   6416:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6417: printf "%s\n" "yes" >&6; }
                   6418:                printf "%s\n" "#define HAVE_BSWAP32 1" >>confdefs.h
                   6419: 
                   6420: 
                   6421: else case e in #(
                   6422:   e)
                   6423:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6424: printf "%s\n" "no" >&6; }
                   6425:         ;;
                   6426: esac
                   6427: fi
                   6428: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6429: 
                   6430: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap64" >&5
                   6431: printf %s "checking for bswap64... " >&6; }
                   6432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6433: /* end confdefs.h.  */
                   6434: 
                   6435:                #if defined(HAVE_SYS_ENDIAN_H)
                   6436:                #include <sys/endian.h>
                   6437:                #endif
                   6438: 
                   6439: int
                   6440: main (void)
                   6441: {
                   6442: 
                   6443:                bswap64(0);
                   6444: 
                   6445:   ;
                   6446:   return 0;
                   6447: }
                   6448: _ACEOF
                   6449: if ac_fn_cxx_try_compile "$LINENO"
                   6450: then :
                   6451: 
                   6452:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6453: printf "%s\n" "yes" >&6; }
                   6454:                printf "%s\n" "#define HAVE_BSWAP64 1" >>confdefs.h
                   6455: 
                   6456: 
                   6457: else case e in #(
                   6458:   e)
                   6459:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6460: printf "%s\n" "no" >&6; }
                   6461:         ;;
                   6462: esac
                   6463: fi
                   6464: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6465: 
                   6466: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_16" >&5
                   6467: printf %s "checking for bswap_16... " >&6; }
                   6468: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6469: /* end confdefs.h.  */
                   6470: 
                   6471:                #if defined(HAVE_BYTESWAP_H)
                   6472:                #include <byteswap.h>
                   6473:                #endif
                   6474: 
                   6475: int
                   6476: main (void)
                   6477: {
                   6478: 
                   6479:                bswap_16(0);
                   6480: 
                   6481:   ;
                   6482:   return 0;
                   6483: }
                   6484: _ACEOF
                   6485: if ac_fn_cxx_try_compile "$LINENO"
                   6486: then :
                   6487: 
                   6488:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6489: printf "%s\n" "yes" >&6; }
                   6490:                printf "%s\n" "#define HAVE_BSWAP_16 1" >>confdefs.h
                   6491: 
                   6492: 
                   6493: else case e in #(
                   6494:   e)
                   6495:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6496: printf "%s\n" "no" >&6; }
                   6497:         ;;
                   6498: esac
                   6499: fi
                   6500: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6501: 
                   6502: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_32" >&5
                   6503: printf %s "checking for bswap_32... " >&6; }
                   6504: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6505: /* end confdefs.h.  */
                   6506: 
                   6507:                #if defined(HAVE_BYTESWAP_H)
                   6508:                #include <byteswap.h>
                   6509:                #endif
                   6510: 
                   6511: int
                   6512: main (void)
                   6513: {
                   6514: 
                   6515:                bswap_32(0);
                   6516: 
                   6517:   ;
                   6518:   return 0;
                   6519: }
                   6520: _ACEOF
                   6521: if ac_fn_cxx_try_compile "$LINENO"
                   6522: then :
                   6523: 
                   6524:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6525: printf "%s\n" "yes" >&6; }
                   6526:                printf "%s\n" "#define HAVE_BSWAP_32 1" >>confdefs.h
                   6527: 
                   6528: 
                   6529: else case e in #(
                   6530:   e)
                   6531:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6532: printf "%s\n" "no" >&6; }
                   6533:         ;;
                   6534: esac
                   6535: fi
                   6536: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6537: 
                   6538: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
                   6539: printf %s "checking for bswap_64... " >&6; }
                   6540: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6541: /* end confdefs.h.  */
                   6542: 
                   6543:                #if defined(HAVE_BYTESWAP_H)
                   6544:                #include <byteswap.h>
                   6545:                #endif
                   6546: 
                   6547: int
                   6548: main (void)
                   6549: {
                   6550: 
                   6551:                bswap_64(0);
                   6552: 
                   6553:   ;
                   6554:   return 0;
                   6555: }
                   6556: _ACEOF
                   6557: if ac_fn_cxx_try_compile "$LINENO"
                   6558: then :
                   6559: 
                   6560:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6561: printf "%s\n" "yes" >&6; }
                   6562:                printf "%s\n" "#define HAVE_BSWAP_64 1" >>confdefs.h
1.1.1.3   root     6563: 
1.1.1.10  root     6564: 
1.1.1.15  root     6565: else case e in #(
                   6566:   e)
1.1.1.10  root     6567:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6568: printf "%s\n" "no" >&6; }
1.1.1.15  root     6569:         ;;
                   6570: esac
1.1.1.3   root     6571: fi
1.1.1.10  root     6572: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     6573: 
1.1.1.15  root     6574: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap16" >&5
                   6575: printf %s "checking for swap16... " >&6; }
1.1.1.10  root     6576: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6577: /* end confdefs.h.  */
1.1.1.3   root     6578: 
1.1.1.15  root     6579:                #if defined(HAVE_SYS_ENDIAN_H)
                   6580:                #include <sys/endian.h>
                   6581:                #endif
                   6582: 
1.1.1.10  root     6583: int
                   6584: main (void)
                   6585: {
1.1.1.3   root     6586: 
1.1.1.15  root     6587:                swap16(0);
1.1.1.3   root     6588: 
1.1.1.10  root     6589:   ;
                   6590:   return 0;
                   6591: }
1.1.1.3   root     6592: _ACEOF
1.1.1.10  root     6593: if ac_fn_cxx_try_compile "$LINENO"
                   6594: then :
1.1.1.3   root     6595: 
1.1.1.10  root     6596:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6597: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6598:                printf "%s\n" "#define HAVE_SWAP16 1" >>confdefs.h
1.1.1.3   root     6599: 
1.1       root     6600: 
1.1.1.15  root     6601: else case e in #(
                   6602:   e)
1.1.1.10  root     6603:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6604: printf "%s\n" "no" >&6; }
1.1.1.15  root     6605:         ;;
                   6606: esac
1.1.1.10  root     6607: fi
                   6608: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6609: 
1.1.1.15  root     6610: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap32" >&5
                   6611: printf %s "checking for swap32... " >&6; }
1.1.1.10  root     6612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6613: /* end confdefs.h.  */
1.1       root     6614: 
1.1.1.15  root     6615:                #if defined(HAVE_SYS_ENDIAN_H)
                   6616:                #include <sys/endian.h>
                   6617:                #endif
                   6618: 
1.1.1.10  root     6619: int
                   6620: main (void)
                   6621: {
1.1       root     6622: 
1.1.1.15  root     6623:                swap32(0);
1.1       root     6624: 
1.1.1.10  root     6625:   ;
                   6626:   return 0;
                   6627: }
1.1       root     6628: _ACEOF
1.1.1.10  root     6629: if ac_fn_cxx_try_compile "$LINENO"
                   6630: then :
1.1       root     6631: 
1.1.1.10  root     6632:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6633: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6634:                printf "%s\n" "#define HAVE_SWAP32 1" >>confdefs.h
1.1       root     6635: 
                   6636: 
1.1.1.15  root     6637: else case e in #(
                   6638:   e)
1.1.1.10  root     6639:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6640: printf "%s\n" "no" >&6; }
1.1.1.15  root     6641:         ;;
                   6642: esac
1.1.1.10  root     6643: fi
                   6644: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6645: 
1.1.1.15  root     6646: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap64" >&5
                   6647: printf %s "checking for swap64... " >&6; }
1.1.1.10  root     6648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6649: /* end confdefs.h.  */
1.1       root     6650: 
1.1.1.10  root     6651:                #if defined(HAVE_SYS_ENDIAN_H)
                   6652:                #include <sys/endian.h>
                   6653:                #endif
1.1       root     6654: 
                   6655: int
1.1.1.10  root     6656: main (void)
1.1       root     6657: {
                   6658: 
1.1.1.15  root     6659:                swap64(0);
1.1       root     6660: 
                   6661:   ;
                   6662:   return 0;
                   6663: }
                   6664: _ACEOF
1.1.1.10  root     6665: if ac_fn_cxx_try_compile "$LINENO"
                   6666: then :
1.1       root     6667: 
1.1.1.10  root     6668:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6669: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6670:                printf "%s\n" "#define HAVE_SWAP64 1" >>confdefs.h
1.1       root     6671: 
                   6672: 
1.1.1.15  root     6673: else case e in #(
                   6674:   e)
1.1.1.10  root     6675:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6676: printf "%s\n" "no" >&6; }
1.1.1.15  root     6677:         ;;
                   6678: esac
1.1.1.10  root     6679: fi
                   6680: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6681: 
1.1.1.15  root     6682: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe16" >&5
                   6683: printf %s "checking for htobe16... " >&6; }
1.1       root     6684: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6685: /* end confdefs.h.  */
                   6686: 
1.1.1.15  root     6687:                #if defined(HAVE_ENDIAN_H)
                   6688:                #include <endian.h>
                   6689:                #endif
1.1.1.10  root     6690:                #if defined(HAVE_SYS_ENDIAN_H)
                   6691:                #include <sys/endian.h>
                   6692:                #endif
1.1.1.15  root     6693:                #if defined(HAVE_MACHINE_ENDIAN_H)
                   6694:                #include <machine/endian.h>
                   6695:                #endif
1.1.1.10  root     6696: 
1.1       root     6697: int
1.1.1.10  root     6698: main (void)
1.1       root     6699: {
                   6700: 
1.1.1.15  root     6701:                htobe16(0);
1.1       root     6702: 
                   6703:   ;
                   6704:   return 0;
                   6705: }
                   6706: _ACEOF
1.1.1.10  root     6707: if ac_fn_cxx_try_compile "$LINENO"
                   6708: then :
                   6709: 
                   6710:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6711: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6712:                printf "%s\n" "#define HAVE_HTOBE16 1" >>confdefs.h
1.1.1.10  root     6713: 
                   6714: 
1.1.1.15  root     6715: else case e in #(
                   6716:   e)
1.1.1.10  root     6717:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6718: printf "%s\n" "no" >&6; }
1.1.1.15  root     6719:         ;;
                   6720: esac
1.1       root     6721: fi
1.1.1.10  root     6722: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6723: 
1.1.1.15  root     6724: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_COUNT" >&5
                   6725: printf %s "checking for CPU_COUNT... " >&6; }
1.1       root     6726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6727: /* end confdefs.h.  */
                   6728: 
1.1.1.15  root     6729:                #if defined(HAVE_SCHED_H)
                   6730:                #include <sched.h>
                   6731:                #endif
                   6732:                #if defined(HAVE_SYS_CPUSET_H)
                   6733:                #include <sys/cpuset.h>
1.1.1.10  root     6734:                #endif
                   6735: 
1.1       root     6736: int
1.1.1.10  root     6737: main (void)
1.1       root     6738: {
                   6739: 
1.1.1.15  root     6740:                #if defined(HAVE_CPUSET_T)
                   6741:                cpuset_t set;
                   6742:                #elif defined(HAVE_CPU_SET_T)
                   6743:                cpu_set_t set;
                   6744:                #endif
                   6745:                CPU_COUNT(&set);
1.1       root     6746: 
                   6747:   ;
                   6748:   return 0;
                   6749: }
                   6750: _ACEOF
1.1.1.10  root     6751: if ac_fn_cxx_try_compile "$LINENO"
                   6752: then :
                   6753: 
                   6754:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6755: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6756:                printf "%s\n" "#define HAVE_CPU_COUNT 1" >>confdefs.h
1.1.1.10  root     6757: 
                   6758: 
1.1.1.15  root     6759: else case e in #(
                   6760:   e)
1.1.1.10  root     6761:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6762: printf "%s\n" "no" >&6; }
1.1.1.15  root     6763:         ;;
                   6764: esac
1.1       root     6765: fi
1.1.1.10  root     6766: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6767: 
1.1.1.15  root     6768: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ISSET" >&5
                   6769: printf %s "checking for CPU_ISSET... " >&6; }
1.1       root     6770: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6771: /* end confdefs.h.  */
                   6772: 
1.1.1.15  root     6773:                #if defined(HAVE_SCHED_H)
                   6774:                #include <sched.h>
                   6775:                #endif
                   6776:                #if defined(HAVE_SYS_CPUSET_H)
                   6777:                #include <sys/cpuset.h>
1.1.1.10  root     6778:                #endif
                   6779: 
1.1       root     6780: int
1.1.1.10  root     6781: main (void)
1.1       root     6782: {
                   6783: 
1.1.1.15  root     6784:                #if defined(HAVE_CPUSET_T)
                   6785:                cpuset_t set;
                   6786:                #elif defined(HAVE_CPU_SET_T)
                   6787:                cpu_set_t set;
                   6788:                #endif
                   6789:                CPU_ISSET(0, &set);
1.1       root     6790: 
                   6791:   ;
                   6792:   return 0;
                   6793: }
                   6794: _ACEOF
1.1.1.10  root     6795: if ac_fn_cxx_try_compile "$LINENO"
                   6796: then :
                   6797: 
                   6798:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6799: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6800:                printf "%s\n" "#define HAVE_CPU_ISSET 1" >>confdefs.h
1.1.1.10  root     6801: 
                   6802: 
1.1.1.15  root     6803: else case e in #(
                   6804:   e)
1.1.1.10  root     6805:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6806: printf "%s\n" "no" >&6; }
1.1.1.15  root     6807:         ;;
                   6808: esac
1.1       root     6809: fi
1.1.1.10  root     6810: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6811: 
1.1.1.15  root     6812: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_SET" >&5
                   6813: printf %s "checking for CPU_SET... " >&6; }
1.1.1.2   root     6814: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6815: /* end confdefs.h.  */
                   6816: 
1.1.1.15  root     6817:                #if defined(HAVE_SCHED_H)
                   6818:                #include <sched.h>
                   6819:                #endif
                   6820:                #if defined(HAVE_SYS_CPUSET_H)
                   6821:                #include <sys/cpuset.h>
1.1.1.10  root     6822:                #endif
                   6823: 
1.1.1.2   root     6824: int
1.1.1.10  root     6825: main (void)
1.1.1.2   root     6826: {
                   6827: 
1.1.1.15  root     6828:                #if defined(HAVE_CPUSET_T)
                   6829:                cpuset_t set;
                   6830:                #elif defined(HAVE_CPU_SET_T)
                   6831:                cpu_set_t set;
                   6832:                #endif
                   6833:                CPU_SET(0, &set);
1.1.1.2   root     6834: 
                   6835:   ;
                   6836:   return 0;
                   6837: }
                   6838: _ACEOF
1.1.1.10  root     6839: if ac_fn_cxx_try_compile "$LINENO"
                   6840: then :
                   6841: 
                   6842:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6843: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6844:                printf "%s\n" "#define HAVE_CPU_SET 1" >>confdefs.h
1.1.1.10  root     6845: 
                   6846: 
1.1.1.15  root     6847: else case e in #(
                   6848:   e)
1.1.1.10  root     6849:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6850: printf "%s\n" "no" >&6; }
1.1.1.15  root     6851:         ;;
                   6852: esac
1.1.1.2   root     6853: fi
1.1.1.10  root     6854: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.2   root     6855: 
1.1.1.15  root     6856: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CPU_ZERO" >&5
                   6857: printf %s "checking for CPU_ZERO... " >&6; }
1.1       root     6858: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6859: /* end confdefs.h.  */
                   6860: 
1.1.1.15  root     6861:                #if defined(HAVE_SCHED_H)
                   6862:                #include <sched.h>
                   6863:                #endif
                   6864:                #if defined(HAVE_SYS_CPUSET_H)
                   6865:                #include <sys/cpuset.h>
1.1.1.10  root     6866:                #endif
                   6867: 
1.1       root     6868: int
1.1.1.10  root     6869: main (void)
1.1       root     6870: {
                   6871: 
1.1.1.15  root     6872:                #if defined(HAVE_CPUSET_T)
                   6873:                cpuset_t set;
                   6874:                #elif defined(HAVE_CPU_SET_T)
                   6875:                cpu_set_t set;
                   6876:                #endif
                   6877:                CPU_ZERO(&set);
1.1       root     6878: 
                   6879:   ;
                   6880:   return 0;
                   6881: }
                   6882: _ACEOF
1.1.1.10  root     6883: if ac_fn_cxx_try_compile "$LINENO"
                   6884: then :
                   6885: 
                   6886:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6887: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6888:                printf "%s\n" "#define HAVE_CPU_ZERO 1" >>confdefs.h
1.1.1.10  root     6889: 
                   6890: 
1.1.1.15  root     6891: else case e in #(
                   6892:   e)
1.1.1.10  root     6893:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6894: printf "%s\n" "no" >&6; }
1.1.1.15  root     6895:         ;;
                   6896: esac
1.1       root     6897: fi
1.1.1.10  root     6898: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6899: 
1.1.1.15  root     6900: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_create" >&5
                   6901: printf %s "checking for cpuset_create... " >&6; }
1.1       root     6902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6903: /* end confdefs.h.  */
                   6904: 
1.1.1.15  root     6905:                #include <sched.h>
1.1.1.10  root     6906: 
1.1       root     6907: int
1.1.1.10  root     6908: main (void)
1.1       root     6909: {
                   6910: 
1.1.1.15  root     6911:                cpuset_create();
1.1       root     6912: 
                   6913:   ;
                   6914:   return 0;
                   6915: }
                   6916: _ACEOF
1.1.1.10  root     6917: if ac_fn_cxx_try_compile "$LINENO"
                   6918: then :
                   6919: 
                   6920:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6921: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6922:                printf "%s\n" "#define HAVE_CPUSET_CREATE 1" >>confdefs.h
1.1.1.10  root     6923: 
                   6924: 
1.1.1.15  root     6925: else case e in #(
                   6926:   e)
1.1.1.10  root     6927:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6928: printf "%s\n" "no" >&6; }
1.1.1.15  root     6929:         ;;
                   6930: esac
1.1       root     6931: fi
1.1.1.10  root     6932: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6933: 
1.1.1.15  root     6934: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_isset" >&5
                   6935: printf %s "checking for cpuset_isset... " >&6; }
1.1       root     6936: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6937: /* end confdefs.h.  */
                   6938: 
1.1.1.15  root     6939:                #include <sched.h>
1.1.1.10  root     6940: 
1.1       root     6941: int
1.1.1.10  root     6942: main (void)
1.1       root     6943: {
                   6944: 
1.1.1.15  root     6945:                cpuset_isset(0, NULL);
1.1       root     6946: 
                   6947:   ;
                   6948:   return 0;
                   6949: }
                   6950: _ACEOF
1.1.1.10  root     6951: if ac_fn_cxx_try_compile "$LINENO"
                   6952: then :
                   6953: 
                   6954:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6955: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6956:                printf "%s\n" "#define HAVE_CPUSET_ISSET 1" >>confdefs.h
1.1.1.10  root     6957: 
                   6958: 
1.1.1.15  root     6959: else case e in #(
                   6960:   e)
1.1.1.10  root     6961:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6962: printf "%s\n" "no" >&6; }
1.1.1.15  root     6963:         ;;
                   6964: esac
1.1       root     6965: fi
1.1.1.10  root     6966: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6967: 
1.1.1.15  root     6968: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_set" >&5
                   6969: printf %s "checking for cpuset_set... " >&6; }
1.1       root     6970: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6971: /* end confdefs.h.  */
                   6972: 
1.1.1.15  root     6973:                #include <sched.h>
1.1       root     6974: 
                   6975: int
1.1.1.10  root     6976: main (void)
1.1       root     6977: {
                   6978: 
1.1.1.15  root     6979:                cpuset_set(0, NULL);
1.1       root     6980: 
                   6981:   ;
                   6982:   return 0;
                   6983: }
                   6984: _ACEOF
1.1.1.10  root     6985: if ac_fn_cxx_try_compile "$LINENO"
                   6986: then :
                   6987: 
                   6988:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6989: printf "%s\n" "yes" >&6; }
1.1.1.15  root     6990:                printf "%s\n" "#define HAVE_CPUSET_SET 1" >>confdefs.h
1.1.1.10  root     6991: 
                   6992: 
1.1.1.15  root     6993: else case e in #(
                   6994:   e)
1.1.1.10  root     6995:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6996: printf "%s\n" "no" >&6; }
1.1.1.15  root     6997:         ;;
                   6998: esac
1.1       root     6999: fi
1.1.1.10  root     7000: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7001: 
1.1.1.15  root     7002: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cpuset_size" >&5
                   7003: printf %s "checking for cpuset_size... " >&6; }
1.1       root     7004: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7005: /* end confdefs.h.  */
                   7006: 
1.1.1.15  root     7007:                #include <sched.h>
1.1       root     7008: 
                   7009: int
1.1.1.10  root     7010: main (void)
1.1       root     7011: {
                   7012: 
1.1.1.15  root     7013:                cpuset_size(NULL);
1.1       root     7014: 
                   7015:   ;
                   7016:   return 0;
                   7017: }
                   7018: _ACEOF
1.1.1.10  root     7019: if ac_fn_cxx_try_compile "$LINENO"
                   7020: then :
1.1       root     7021: 
1.1.1.10  root     7022:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7023: printf "%s\n" "yes" >&6; }
1.1.1.15  root     7024:                printf "%s\n" "#define HAVE_CPUSET_SIZE 1" >>confdefs.h
1.1       root     7025: 
1.1.1.10  root     7026: 
1.1.1.15  root     7027: else case e in #(
                   7028:   e)
1.1.1.10  root     7029:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7030: printf "%s\n" "no" >&6; }
1.1.1.15  root     7031:         ;;
                   7032: esac
1.1.1.10  root     7033: fi
                   7034: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7035: 
1.1.1.14  root     7036: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
                   7037: printf %s "checking for statfs... " >&6; }
                   7038: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7039: /* end confdefs.h.  */
                   7040: 
                   7041:                #include <sys/statfs.h>
                   7042: 
                   7043: int
                   7044: main (void)
                   7045: {
                   7046: 
                   7047:                struct statfs buf;
                   7048:                statfs("", &buf);
                   7049: 
                   7050:   ;
                   7051:   return 0;
                   7052: }
                   7053: _ACEOF
                   7054: if ac_fn_cxx_try_compile "$LINENO"
                   7055: then :
                   7056: 
                   7057:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7058: printf "%s\n" "yes" >&6; }
                   7059:                printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h
                   7060: 
                   7061:                have_statxxfs=statfs
                   7062: 
1.1.1.15  root     7063: else case e in #(
                   7064:   e)
1.1.1.14  root     7065:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7066: printf "%s\n" "no" >&6; }
1.1.1.15  root     7067:         ;;
                   7068: esac
1.1.1.14  root     7069: fi
                   7070: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7071: 
                   7072: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
                   7073: printf %s "checking for statvfs... " >&6; }
                   7074: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7075: /* end confdefs.h.  */
                   7076: 
                   7077:                #include <sys/statvfs.h>
                   7078: 
                   7079: int
                   7080: main (void)
                   7081: {
                   7082: 
                   7083:                struct statvfs buf;
                   7084:                statvfs("", &buf);
                   7085: 
                   7086:   ;
                   7087:   return 0;
                   7088: }
                   7089: _ACEOF
                   7090: if ac_fn_cxx_try_compile "$LINENO"
                   7091: then :
                   7092: 
                   7093:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7094: printf "%s\n" "yes" >&6; }
                   7095:                printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h
                   7096: 
                   7097:                have_statxxfs=statvfs
                   7098: 
1.1.1.15  root     7099: else case e in #(
                   7100:   e)
1.1.1.14  root     7101:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7102: printf "%s\n" "no" >&6; }
1.1.1.15  root     7103:         ;;
                   7104: esac
1.1.1.14  root     7105: fi
                   7106: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7107: 
                   7108: if test -z "${have_statxxfs}"; then
1.1.1.15  root     7109:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7110: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7111: as_fn_error $? "*** No statfs() nor statvfs() found
1.1.1.15  root     7112: See 'config.log' for more details" "$LINENO" 5; }
1.1.1.14  root     7113: fi
                   7114: 
                   7115: ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "
                   7116:                #include <sys/stat.h>
                   7117: 
                   7118: "
                   7119: if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
                   7120: then :
                   7121: 
                   7122:                printf "%s\n" "#define HAVE_STAT_ST_TIMESPEC 1" >>confdefs.h
                   7123: 
                   7124: 
                   7125: fi
                   7126: 
                   7127: 
                   7128: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timegm" >&5
                   7129: printf %s "checking for timegm... " >&6; }
                   7130: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7131: /* end confdefs.h.  */
                   7132: 
                   7133:                #include <time.h>
                   7134: 
                   7135: int
                   7136: main (void)
                   7137: {
                   7138: 
                   7139:                timegm(NULL);
                   7140: 
                   7141:   ;
                   7142:   return 0;
                   7143: }
                   7144: _ACEOF
                   7145: if ac_fn_cxx_try_compile "$LINENO"
                   7146: then :
                   7147: 
                   7148:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7149: printf "%s\n" "yes" >&6; }
                   7150: 
1.1.1.15  root     7151: else case e in #(
                   7152:   e)
1.1.1.14  root     7153:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7154: printf "%s\n" "no" >&6; }
1.1.1.15  root     7155:                { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   7156: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.1.1.14  root     7157: as_fn_error $? "*** No timegm() found
1.1.1.15  root     7158: See 'config.log' for more details" "$LINENO" 5; }
                   7159:         ;;
                   7160: esac
1.1.1.14  root     7161: fi
                   7162: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7163: 
1.1.1.10  root     7164: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_getname_np" >&5
                   7165: printf %s "checking for pthread_getname_np... " >&6; }
1.1       root     7166: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7167: /* end confdefs.h.  */
                   7168: 
1.1.1.10  root     7169:                #include <pthread.h>
                   7170:                #if defined(HAVE_PTHREAD_NP_H)
                   7171:                #include <pthread_np.h>
                   7172:                #endif
                   7173: 
1.1       root     7174: int
1.1.1.10  root     7175: main (void)
1.1       root     7176: {
                   7177: 
1.1.1.10  root     7178:                char name[32];
                   7179:                pthread_getname_np(pthread_self(), name, sizeof(name));
1.1       root     7180: 
                   7181:   ;
                   7182:   return 0;
                   7183: }
                   7184: _ACEOF
1.1.1.10  root     7185: if ac_fn_cxx_try_compile "$LINENO"
                   7186: then :
                   7187: 
                   7188:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7189: printf "%s\n" "yes" >&6; }
                   7190:                printf "%s\n" "#define HAVE_PTHREAD_GETNAME_NP 1" >>confdefs.h
                   7191: 
                   7192: 
1.1.1.15  root     7193: else case e in #(
                   7194:   e)
1.1.1.10  root     7195:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7196: printf "%s\n" "no" >&6; }
1.1.1.15  root     7197:         ;;
                   7198: esac
1.1       root     7199: fi
1.1.1.10  root     7200: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7201: 
1.1.1.10  root     7202: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_get_name_np" >&5
                   7203: printf %s "checking for pthread_get_name_np... " >&6; }
1.1       root     7204: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7205: /* end confdefs.h.  */
                   7206: 
1.1.1.10  root     7207:                #include <pthread.h>
                   7208:                #if defined(HAVE_PTHREAD_NP_H)
                   7209:                #include <pthread_np.h>
                   7210:                #endif
                   7211: 
1.1       root     7212: int
1.1.1.10  root     7213: main (void)
1.1       root     7214: {
                   7215: 
1.1.1.10  root     7216:                char name[32];
                   7217:                pthread_get_name_np(pthread_self(), name, sizeof(name));
1.1       root     7218: 
                   7219:   ;
                   7220:   return 0;
                   7221: }
                   7222: _ACEOF
1.1.1.10  root     7223: if ac_fn_cxx_try_compile "$LINENO"
                   7224: then :
1.1       root     7225: 
1.1.1.10  root     7226:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7227: printf "%s\n" "yes" >&6; }
                   7228:                printf "%s\n" "#define HAVE_PTHREAD_GET_NAME_NP 1" >>confdefs.h
1.1       root     7229: 
                   7230: 
1.1.1.15  root     7231: else case e in #(
                   7232:   e)
1.1.1.10  root     7233:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7234: printf "%s\n" "no" >&6; }
1.1.1.15  root     7235:         ;;
                   7236: esac
1.1.1.10  root     7237: fi
                   7238: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7239: 
                   7240: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5
                   7241: printf %s "checking for pthread_setname_np(name)... " >&6; }
1.1       root     7242: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7243: /* end confdefs.h.  */
1.1.1.3   root     7244: 
                   7245:                #include <pthread.h>
                   7246:                #if defined(HAVE_PTHREAD_NP_H)
                   7247:                #include <pthread_np.h>
                   7248:                #endif
                   7249: 
1.1       root     7250: int
1.1.1.10  root     7251: main (void)
1.1       root     7252: {
                   7253: 
                   7254:                pthread_setname_np("");
                   7255: 
                   7256:   ;
                   7257:   return 0;
                   7258: }
                   7259: _ACEOF
1.1.1.10  root     7260: if ac_fn_cxx_try_compile "$LINENO"
                   7261: then :
                   7262: 
                   7263:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7264: printf "%s\n" "yes" >&6; }
                   7265:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_name 1" >>confdefs.h
                   7266: 
                   7267: 
1.1.1.15  root     7268: else case e in #(
                   7269:   e)
1.1.1.10  root     7270:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7271: printf "%s\n" "no" >&6; }
1.1.1.15  root     7272:         ;;
                   7273: esac
1.1       root     7274: fi
1.1.1.10  root     7275: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7276: 
1.1.1.10  root     7277: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5
                   7278: printf %s "checking for pthread_setname_np(thread, name)... " >&6; }
1.1       root     7279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7280: /* end confdefs.h.  */
1.1.1.3   root     7281: 
                   7282:                #include <pthread.h>
                   7283:                #if defined(HAVE_PTHREAD_NP_H)
                   7284:                #include <pthread_np.h>
                   7285:                #endif
                   7286: 
1.1       root     7287: int
1.1.1.10  root     7288: main (void)
1.1       root     7289: {
                   7290: 
                   7291:                pthread_setname_np(pthread_self(), "");
                   7292: 
                   7293:   ;
                   7294:   return 0;
                   7295: }
                   7296: _ACEOF
1.1.1.10  root     7297: if ac_fn_cxx_try_compile "$LINENO"
                   7298: then :
                   7299: 
                   7300:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7301: printf "%s\n" "yes" >&6; }
                   7302:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name 1" >>confdefs.h
                   7303: 
                   7304: 
1.1.1.15  root     7305: else case e in #(
                   7306:   e)
1.1.1.10  root     7307:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7308: printf "%s\n" "no" >&6; }
1.1.1.15  root     7309:         ;;
                   7310: esac
1.1       root     7311: fi
1.1.1.10  root     7312: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7313: 
1.1.1.10  root     7314: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5
                   7315: printf %s "checking for pthread_setname_np(thread, name, arg)... " >&6; }
1.1       root     7316: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7317: /* end confdefs.h.  */
1.1.1.3   root     7318: 
                   7319:                #include <pthread.h>
                   7320:                #if defined(HAVE_PTHREAD_NP_H)
                   7321:                #include <pthread_np.h>
                   7322:                #endif
                   7323: 
1.1       root     7324: int
1.1.1.10  root     7325: main (void)
1.1       root     7326: {
                   7327: 
                   7328:                pthread_setname_np(pthread_self(), "", (void*)0);
                   7329: 
                   7330:   ;
                   7331:   return 0;
                   7332: }
                   7333: _ACEOF
1.1.1.10  root     7334: if ac_fn_cxx_try_compile "$LINENO"
                   7335: then :
                   7336: 
                   7337:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7338: printf "%s\n" "yes" >&6; }
                   7339:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name_arg 1" >>confdefs.h
                   7340: 
                   7341: 
1.1.1.15  root     7342: else case e in #(
                   7343:   e)
1.1.1.10  root     7344:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7345: printf "%s\n" "no" >&6; }
1.1.1.15  root     7346:         ;;
                   7347: esac
1.1.1.3   root     7348: fi
1.1.1.10  root     7349: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     7350: 
1.1.1.10  root     7351: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_set_name_np(thread, name)" >&5
                   7352: printf %s "checking for pthread_set_name_np(thread, name)... " >&6; }
1.1.1.3   root     7353: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7354: /* end confdefs.h.  */
                   7355: 
                   7356:                #include <pthread.h>
                   7357:                #if defined(HAVE_PTHREAD_NP_H)
                   7358:                #include <pthread_np.h>
                   7359:                #endif
                   7360: 
                   7361: int
1.1.1.10  root     7362: main (void)
1.1.1.3   root     7363: {
                   7364: 
                   7365:                pthread_set_name_np(pthread_self(), "");
                   7366: 
                   7367:   ;
                   7368:   return 0;
                   7369: }
                   7370: _ACEOF
1.1.1.10  root     7371: if ac_fn_cxx_try_compile "$LINENO"
                   7372: then :
                   7373: 
                   7374:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7375: printf "%s\n" "yes" >&6; }
                   7376:                printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP_th_name 1" >>confdefs.h
                   7377: 
                   7378: 
1.1.1.15  root     7379: else case e in #(
                   7380:   e)
1.1.1.10  root     7381:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7382: printf "%s\n" "no" >&6; }
1.1.1.15  root     7383:         ;;
                   7384: esac
                   7385: fi
                   7386: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7387: 
                   7388: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setaffinity_np" >&5
                   7389: printf %s "checking for pthread_setaffinity_np... " >&6; }
                   7390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7391: /* end confdefs.h.  */
                   7392: 
                   7393:                #include <pthread.h>
                   7394:                #if defined(HAVE_PTHREAD_NP_H)
                   7395:                #include <pthread_np.h>
                   7396:                #endif
                   7397: 
                   7398: int
                   7399: main (void)
                   7400: {
                   7401: 
                   7402:                pthread_setaffinity_np(pthread_self(), 0, NULL);
                   7403: 
                   7404:   ;
                   7405:   return 0;
                   7406: }
                   7407: _ACEOF
                   7408: if ac_fn_cxx_try_compile "$LINENO"
                   7409: then :
                   7410: 
                   7411:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7412: printf "%s\n" "yes" >&6; }
                   7413:                printf "%s\n" "#define HAVE_PTHREAD_SETAFFINITY_NP 1" >>confdefs.h
                   7414: 
1.1       root     7415: 
1.1.1.15  root     7416: else case e in #(
                   7417:   e)
                   7418:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7419: printf "%s\n" "no" >&6; }
                   7420:         ;;
                   7421: esac
1.1       root     7422: fi
1.1.1.10  root     7423: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7424: 
1.1.1.15  root     7425: 
1.1.1.8   root     7426: #
                   7427: # Network
                   7428: #
1.1.1.10  root     7429: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AF_PACKET" >&5
                   7430: printf %s "checking for AF_PACKET... " >&6; }
1.1.1.8   root     7431: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7432: /* end confdefs.h.  */
                   7433: 
                   7434:                #include <sys/socket.h>
                   7435: 
                   7436: int
1.1.1.10  root     7437: main (void)
1.1.1.8   root     7438: {
                   7439: 
                   7440:                AF_PACKET;
                   7441: 
                   7442:   ;
                   7443:   return 0;
                   7444: }
                   7445: _ACEOF
1.1.1.10  root     7446: if ac_fn_cxx_try_compile "$LINENO"
                   7447: then :
                   7448: 
                   7449:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7450: printf "%s\n" "yes" >&6; }
                   7451:                printf "%s\n" "#define HAVE_HOSTNET_AFPACKET 1" >>confdefs.h
1.1.1.8   root     7452: 
                   7453:                HOSTNET_AFPACKET=yes
                   7454: 
1.1.1.10  root     7455: 
1.1.1.15  root     7456: else case e in #(
                   7457:   e)
1.1.1.10  root     7458:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7459: printf "%s\n" "no" >&6; }
1.1.1.15  root     7460:         ;;
                   7461: esac
1.1.1.8   root     7462: fi
1.1.1.10  root     7463: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.8   root     7464: 
1.1.1.10  root     7465: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tap(4)" >&5
                   7466: printf %s "checking for tap(4)... " >&6; }
1.1.1.6   root     7467: case "${host_os}" in
                   7468:  linux*)
                   7469:        if test x"$ac_cv_header_linux_if_tun_h" = xyes; then
1.1.1.8   root     7470:                netdriver_tap=yes
1.1.1.6   root     7471:        fi
                   7472:        ;;
                   7473:  openbsd*)
                   7474:        # OpenBSD has no <net/if_tap.h> but supports tap(4).
1.1.1.8   root     7475:        netdriver_tap=yes
1.1.1.6   root     7476:        ;;
1.1.1.8   root     7477:  *)
1.1.1.6   root     7478:        if test x"$ac_cv_header_net_if_tap_h" = xyes; then
1.1.1.8   root     7479:                netdriver_tap=yes
1.1.1.6   root     7480:        fi
1.1.1.8   root     7481:        ;;
                   7482: esac
                   7483: if test x"$netdriver_tap" = xyes; then
1.1.1.10  root     7484:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7485: printf "%s\n" "yes" >&6; }
                   7486:        printf "%s\n" "#define HAVE_HOSTNET_TAP 1" >>confdefs.h
1.1.1.8   root     7487: 
                   7488:        HOSTNET_TAP=yes
                   7489: 
                   7490: else
1.1.1.10  root     7491:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7492: printf "%s\n" "no" >&6; }
1.1       root     7493: fi
                   7494: 
1.1.1.10  root     7495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf(4)" >&5
                   7496: printf %s "checking for bpf(4)... " >&6; }
1.1.1.8   root     7497: if test x"$ac_cv_header_net_bpf_h" = xyes; then
1.1.1.10  root     7498:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7499: printf "%s\n" "yes" >&6; }
                   7500:        printf "%s\n" "#define HAVE_HOSTNET_BPF 1" >>confdefs.h
1.1.1.8   root     7501: 
                   7502:        HOSTNET_BPF=yes
                   7503: 
                   7504: else
1.1.1.10  root     7505:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7506: printf "%s\n" "no" >&6; }
1.1.1.8   root     7507: fi
1.1       root     7508: 
1.1.1.14  root     7509: #
                   7510: # Other libraries
                   7511: #
                   7512: 
                   7513: 
                   7514: 
                   7515: PATHS="none /usr/pkg /usr/local"
                   7516: 
1.1       root     7517: # libbsd on Linux
1.1.1.10  root     7518: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lc" >&5
                   7519: printf %s "checking for getprogname in -lc... " >&6; }
                   7520: if test ${ac_cv_lib_c_getprogname+y}
                   7521: then :
                   7522:   printf %s "(cached) " >&6
1.1.1.15  root     7523: else case e in #(
                   7524:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7525: LIBS="-lc  $LIBS"
                   7526: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7527: /* end confdefs.h.  */
                   7528: 
1.1.1.10  root     7529: namespace conftest {
                   7530:   extern "C" int getprogname ();
                   7531: }
1.1.1.5   root     7532: int
1.1.1.10  root     7533: main (void)
1.1.1.5   root     7534: {
1.1.1.10  root     7535: return conftest::getprogname ();
1.1.1.5   root     7536:   ;
                   7537:   return 0;
                   7538: }
                   7539: _ACEOF
1.1.1.10  root     7540: if ac_fn_cxx_try_link "$LINENO"
                   7541: then :
1.1.1.5   root     7542:   ac_cv_lib_c_getprogname=yes
1.1.1.15  root     7543: else case e in #(
                   7544:   e) ac_cv_lib_c_getprogname=no ;;
                   7545: esac
1.1.1.5   root     7546: fi
1.1.1.10  root     7547: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7548:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7549: LIBS=$ac_check_lib_save_LIBS ;;
                   7550: esac
1.1.1.5   root     7551: fi
1.1.1.10  root     7552: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getprogname" >&5
                   7553: printf "%s\n" "$ac_cv_lib_c_getprogname" >&6; }
                   7554: if test "x$ac_cv_lib_c_getprogname" = xyes
                   7555: then :
                   7556:   printf "%s\n" "#define HAVE_LIBC 1" >>confdefs.h
1.1.1.5   root     7557: 
                   7558:   LIBS="-lc $LIBS"
                   7559: 
                   7560: fi
                   7561: 
1.1.1.10  root     7562: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5
                   7563: printf %s "checking for getprogname in -lbsd... " >&6; }
                   7564: if test ${ac_cv_lib_bsd_getprogname+y}
                   7565: then :
                   7566:   printf %s "(cached) " >&6
1.1.1.15  root     7567: else case e in #(
                   7568:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7569: LIBS="-lbsd  $LIBS"
                   7570: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7571: /* end confdefs.h.  */
                   7572: 
1.1.1.10  root     7573: namespace conftest {
                   7574:   extern "C" int getprogname ();
                   7575: }
1.1       root     7576: int
1.1.1.10  root     7577: main (void)
1.1       root     7578: {
1.1.1.10  root     7579: return conftest::getprogname ();
1.1       root     7580:   ;
                   7581:   return 0;
                   7582: }
                   7583: _ACEOF
1.1.1.10  root     7584: if ac_fn_cxx_try_link "$LINENO"
                   7585: then :
1.1       root     7586:   ac_cv_lib_bsd_getprogname=yes
1.1.1.15  root     7587: else case e in #(
                   7588:   e) ac_cv_lib_bsd_getprogname=no ;;
                   7589: esac
1.1       root     7590: fi
1.1.1.10  root     7591: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7592:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7593: LIBS=$ac_check_lib_save_LIBS ;;
                   7594: esac
1.1       root     7595: fi
1.1.1.10  root     7596: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5
                   7597: printf "%s\n" "$ac_cv_lib_bsd_getprogname" >&6; }
                   7598: if test "x$ac_cv_lib_bsd_getprogname" = xyes
                   7599: then :
1.1.1.6   root     7600:   LIBS="${LIBS} -lbsd"
1.1       root     7601: 
                   7602: fi
                   7603: 
1.1.1.5   root     7604: # なければ停止する
                   7605: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7606: /* end confdefs.h.  */
                   7607: 
                   7608:                #include <stdlib.h>
                   7609:                #include "confdefs.h"
                   7610:                #if defined(HAVE_BSD_BSD_H)
                   7611:                #include <bsd/bsd.h>
                   7612:                #endif
                   7613: 
                   7614: int
1.1.1.10  root     7615: main (void)
1.1.1.5   root     7616: {
                   7617: 
                   7618:                getprogname()
                   7619: 
                   7620:   ;
                   7621:   return 0;
                   7622: }
                   7623: _ACEOF
1.1.1.10  root     7624: if ac_fn_cxx_try_compile "$LINENO"
                   7625: then :
1.1.1.5   root     7626: 
1.1.1.10  root     7627:        # nothing to do on success
                   7628: 
1.1.1.15  root     7629: else case e in #(
                   7630:   e)
1.1.1.10  root     7631:                as_fn_error $? "*** getprogname is not found.
1.1.1.7   root     7632: *** If you use Ubuntu, sudo apt install libbsd-dev" "$LINENO" 5
1.1.1.5   root     7633: 
1.1.1.15  root     7634:  ;;
                   7635: esac
1.1.1.5   root     7636: fi
1.1.1.10  root     7637: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     7638: 
                   7639: # libkqueue on Linux
1.1.1.10  root     7640: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5
                   7641: printf %s "checking for kqueue in -lkqueue... " >&6; }
                   7642: if test ${ac_cv_lib_kqueue_kqueue+y}
                   7643: then :
                   7644:   printf %s "(cached) " >&6
1.1.1.15  root     7645: else case e in #(
                   7646:   e) ac_check_lib_save_LIBS=$LIBS
1.1       root     7647: LIBS="-lkqueue  $LIBS"
                   7648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7649: /* end confdefs.h.  */
                   7650: 
1.1.1.10  root     7651: namespace conftest {
                   7652:   extern "C" int kqueue ();
                   7653: }
1.1       root     7654: int
1.1.1.10  root     7655: main (void)
1.1       root     7656: {
1.1.1.10  root     7657: return conftest::kqueue ();
1.1       root     7658:   ;
                   7659:   return 0;
                   7660: }
                   7661: _ACEOF
1.1.1.10  root     7662: if ac_fn_cxx_try_link "$LINENO"
                   7663: then :
1.1       root     7664:   ac_cv_lib_kqueue_kqueue=yes
1.1.1.15  root     7665: else case e in #(
                   7666:   e) ac_cv_lib_kqueue_kqueue=no ;;
                   7667: esac
1.1       root     7668: fi
1.1.1.10  root     7669: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     7670:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7671: LIBS=$ac_check_lib_save_LIBS ;;
                   7672: esac
1.1       root     7673: fi
1.1.1.10  root     7674: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5
                   7675: printf "%s\n" "$ac_cv_lib_kqueue_kqueue" >&6; }
                   7676: if test "x$ac_cv_lib_kqueue_kqueue" = xyes
                   7677: then :
1.1.1.6   root     7678:   LIBS="${LIBS} -lkqueue"
1.1       root     7679: 
                   7680: fi
                   7681: 
                   7682: 
1.1.1.10  root     7683: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
                   7684: printf %s "checking for gzclose in -lz... " >&6; }
                   7685: if test ${ac_cv_lib_z_gzclose+y}
                   7686: then :
                   7687:   printf %s "(cached) " >&6
1.1.1.15  root     7688: else case e in #(
                   7689:   e) ac_check_lib_save_LIBS=$LIBS
1.1.1.5   root     7690: LIBS="-lz  $LIBS"
                   7691: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7692: /* end confdefs.h.  */
                   7693: 
1.1.1.10  root     7694: namespace conftest {
                   7695:   extern "C" int gzclose ();
                   7696: }
1.1.1.5   root     7697: int
1.1.1.10  root     7698: main (void)
1.1.1.5   root     7699: {
1.1.1.10  root     7700: return conftest::gzclose ();
1.1.1.5   root     7701:   ;
                   7702:   return 0;
                   7703: }
                   7704: _ACEOF
1.1.1.10  root     7705: if ac_fn_cxx_try_link "$LINENO"
                   7706: then :
1.1.1.5   root     7707:   ac_cv_lib_z_gzclose=yes
1.1.1.15  root     7708: else case e in #(
                   7709:   e) ac_cv_lib_z_gzclose=no ;;
                   7710: esac
1.1.1.5   root     7711: fi
1.1.1.10  root     7712: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     7713:     conftest$ac_exeext conftest.$ac_ext
1.1.1.15  root     7714: LIBS=$ac_check_lib_save_LIBS ;;
                   7715: esac
1.1.1.5   root     7716: fi
1.1.1.10  root     7717: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
                   7718: printf "%s\n" "$ac_cv_lib_z_gzclose" >&6; }
                   7719: if test "x$ac_cv_lib_z_gzclose" = xyes
                   7720: then :
1.1.1.6   root     7721:   LIBS="${LIBS} -lz"
1.1.1.15  root     7722: else case e in #(
                   7723:   e) as_fn_error $? "*** zlib is not found.
1.1.1.7   root     7724: *** If use use Ubuntu, sudo apt install zlib1g-dev" "$LINENO" 5
1.1.1.15  root     7725:  ;;
                   7726: esac
1.1.1.5   root     7727: fi
                   7728: 
                   7729: 
1.1.1.16  root     7730: # libslirp
                   7731: 
                   7732: # Check whether --with-libslirp was given.
                   7733: if test ${with_libslirp+y}
                   7734: then :
                   7735:   withval=$with_libslirp;
                   7736: else case e in #(
                   7737:   e) with_libslirp=yes ;;
                   7738: esac
                   7739: fi
                   7740: 
                   7741: 
                   7742: if test "x$with_libslirp" != "xno"
                   7743: then :
                   7744: 
                   7745: 
                   7746:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libslirp" >&5
                   7747: printf %s "checking for libslirp... " >&6; }
1.1.1.17! root     7748:        old_CPPFLAGS=${CPPFLAGS}
        !          7749:        old_LIBS=${LIBS}
1.1.1.16  root     7750:        for path in ${PATHS}; do
                   7751:                case ${path} in
                   7752:                 none)
1.1.1.17! root     7753:                        LIBS="-lslirp"
1.1.1.16  root     7754:                        ;;
                   7755:                 *)
1.1.1.17! root     7756:                        CPPFLAGS="-I${path}/include"
        !          7757:                        LIBS="-L${path}/lib -lslirp"
1.1.1.16  root     7758:                        ;;
                   7759:                esac
                   7760:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7761: /* end confdefs.h.  */
                   7762: 
                   7763:                #include <slirp/libslirp.h>
                   7764: 
                   7765: int
                   7766: main (void)
                   7767: {
                   7768: 
                   7769:                slirp_version_string();
                   7770: 
                   7771:   ;
                   7772:   return 0;
                   7773: }
                   7774: _ACEOF
                   7775: if ac_fn_cxx_try_link "$LINENO"
                   7776: then :
                   7777: 
                   7778:                        has_libslirp=yes
1.1.1.17! root     7779: 
        !          7780:                                                if test "$cross_compiling" = yes
        !          7781: then :
        !          7782:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          7783: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          7784: as_fn_error $? "cannot run test program while cross compiling
        !          7785: See 'config.log' for more details" "$LINENO" 5; }
        !          7786: else case e in #(
        !          7787:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7788: /* end confdefs.h.  */
        !          7789: 
        !          7790: 
        !          7791:                #include <slirp/libslirp.h>
        !          7792: 
        !          7793:                                int main() {
        !          7794: 
        !          7795:                slirp_version_string();
        !          7796:        ;
        !          7797:                                        return 0;
        !          7798:                                }
        !          7799: 
        !          7800: _ACEOF
        !          7801: if ac_fn_cxx_try_run "$LINENO"
        !          7802: then :
        !          7803: 
        !          7804: 
        !          7805: else case e in #(
        !          7806:   e)
        !          7807:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -lslirp"
        !          7808:                         ;;
        !          7809: esac
        !          7810: fi
        !          7811: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          7812:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          7813: esac
        !          7814: fi
        !          7815: 
        !          7816: 
1.1.1.16  root     7817:                        break
                   7818: 
                   7819: else case e in #(
                   7820:   e)
                   7821:                        has_libslirp=no
                   7822:                 ;;
                   7823: esac
                   7824: fi
                   7825: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7826:     conftest$ac_exeext conftest.$ac_ext
                   7827:        done
                   7828:        if test x"${has_libslirp}" = x"yes"; then
                   7829:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7830: printf "%s\n" "yes" >&6; }
1.1.1.17! root     7831:                CPPFLAGS_libslirp=${CPPFLAGS}
        !          7832:                LIBS_libslirp=${LIBS}
1.1.1.16  root     7833:        else
                   7834:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7835: printf "%s\n" "no" >&6; }
                   7836:        fi
1.1.1.17! root     7837:        CPPFLAGS=${old_CPPFLAGS}
        !          7838:        LIBS=${old_LIBS}
1.1.1.16  root     7839: 
                   7840:        if test x"${has_libslirp}" = x"yes"; then
                   7841:                printf "%s\n" "#define HAVE_HOSTNET_SLIRP 1" >>confdefs.h
                   7842: 
                   7843:                HOSTNET_SLIRP=yes
                   7844: 
1.1.1.17! root     7845:                CPPFLAGS_SLIRP=${CPPFLAGS_libslirp}
        !          7846: 
        !          7847:                LIBS_SLIRP=${LIBS_libslirp}
        !          7848: 
1.1.1.16  root     7849:        else
                   7850:                as_fn_error $? "*** libslirp is not found.
                   7851: *** If use use pkgsrc, install net/libslirp.
                   7852: *** If you use Ubuntu, sudo apt install libslirp-dev.
                   7853: *** Or specify --without-libslirp (it disables hostnet-driver=usermode)." "$LINENO" 5
                   7854:        fi
                   7855: 
                   7856: else case e in #(
                   7857:   e)
                   7858:        HOSTNET_SLIRP=no
                   7859: 
                   7860:  ;;
                   7861: esac
                   7862: fi
                   7863: 
1.1       root     7864: # wxWidgets
1.1.1.10  root     7865: 
                   7866: # Check whether --with-gui was given.
                   7867: if test ${with_gui+y}
                   7868: then :
                   7869:   withval=$with_gui;
1.1.1.15  root     7870: else case e in #(
                   7871:   e) with_gui=yes ;;
                   7872: esac
1.1.1.10  root     7873: fi
                   7874: 
                   7875: 
                   7876: if test "x$with_gui" != xno
                   7877: then :
                   7878: 
                   7879:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
                   7880: printf %s "checking for wx-config... " >&6; }
1.1.1.14  root     7881:        wxconfig_paths="${WX_CONFIG} wx-config-3.2 wx-config-3.0 wx-config"
1.1.1.10  root     7882:        wxconfig=""
                   7883:        for c in ${wxconfig_paths}; do
                   7884:                ver=`$c --version 2>&1 | cut -f 1 -d .`
                   7885:                if test "$ver" = "3"; then
                   7886:                        wxconfig=$c
                   7887:                        break
                   7888:                fi
                   7889:        done
                   7890:        if test -z "$wxconfig"; then
1.1.1.14  root     7891:                as_fn_error $? "*** wxWidgets-3.2 nor -3.0 not found in ${wxconfig_paths}
                   7892: *** If you use pkgsrc, install x11/wxGTK32.
1.1.1.7   root     7893: *** If you use Ubuntu, sudo apt install libwxgtk3.0-gtk3-dev" "$LINENO" 5
1.1.1.10  root     7894:        else
                   7895:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5
                   7896: printf "%s\n" "$wxconfig" >&6; }
1.1       root     7897: 
1.1.1.10  root     7898:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5
                   7899: printf %s "checking for wxWidgets version... " >&6; }
                   7900:                wxversion=`$wxconfig --version`
                   7901:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5
                   7902: printf "%s\n" "$wxversion" >&6; }
1.1.1.14  root     7903:                wxmajorminor=`echo $wxversion | awk -F . '{print $1 $2}'`
                   7904:                WX_MAJORMINOR=${wxmajorminor}
                   7905: 
1.1.1.10  root     7906: 
                   7907:                wxcppflags=`$wxconfig --cppflags`
                   7908:                wxlibs=`$wxconfig --libs`
                   7909: 
                   7910:                case "${host_os}" in
                   7911:                 darwin*)
                   7912:                        # XXX -framework AudioToolbox が指定されているとリンカがこけるorz
                   7913:                        wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'`
                   7914:                        ;;
                   7915:                esac
1.1       root     7916: 
1.1.1.17! root     7917:                                if test "$cross_compiling" = yes
        !          7918: then :
        !          7919:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          7920: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          7921: as_fn_error $? "cannot run test program while cross compiling
        !          7922: See 'config.log' for more details" "$LINENO" 5; }
        !          7923: else case e in #(
        !          7924:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7925: /* end confdefs.h.  */
        !          7926: 
        !          7927:                        #include <wx/wx.h>
        !          7928:                        class MyApp : public wxApp
        !          7929:                        {
        !          7930:                         public:
        !          7931:                                bool OnInit() override { return true; }
        !          7932:                        };
        !          7933:                        wxIMPLEMENT_APP(MyApp);
        !          7934: 
        !          7935: _ACEOF
        !          7936: if ac_fn_cxx_try_run "$LINENO"
        !          7937: then :
        !          7938: 
        !          7939: 
        !          7940: else case e in #(
        !          7941:   e)
        !          7942:                        wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'`
        !          7943:                 ;;
        !          7944: esac
        !          7945: fi
        !          7946: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          7947:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          7948: esac
        !          7949: fi
        !          7950: 
        !          7951: 
1.1.1.10  root     7952:                WITH_GUI=yes
1.1       root     7953: 
1.1.1.17! root     7954:                CPPFLAGS_WXWIDGETS=$wxcppflags
1.1       root     7955: 
1.1.1.17! root     7956:                LIBS_WXWIDGETS=$wxlibs
1.1       root     7957: 
1.1.1.10  root     7958:        fi
                   7959: 
                   7960:        # gettext
                   7961:        if test -n "$ac_tool_prefix"; then
1.1.1.5   root     7962:   # Extract the first word of "${ac_tool_prefix}msgfmt", so it can be a program name with args.
                   7963: set dummy ${ac_tool_prefix}msgfmt; ac_word=$2
1.1.1.10  root     7964: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7965: printf %s "checking for $ac_word... " >&6; }
                   7966: if test ${ac_cv_prog_MSGFMT+y}
                   7967: then :
                   7968:   printf %s "(cached) " >&6
1.1.1.15  root     7969: else case e in #(
                   7970:   e) if test -n "$MSGFMT"; then
1.1.1.5   root     7971:   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
                   7972: else
                   7973: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7974: for as_dir in $PATH
                   7975: do
                   7976:   IFS=$as_save_IFS
1.1.1.10  root     7977:   case $as_dir in #(((
                   7978:     '') as_dir=./ ;;
                   7979:     */) ;;
                   7980:     *) as_dir=$as_dir/ ;;
                   7981:   esac
1.1.1.5   root     7982:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     7983:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     7984:     ac_cv_prog_MSGFMT="${ac_tool_prefix}msgfmt"
1.1.1.10  root     7985:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     7986:     break 2
                   7987:   fi
                   7988: done
                   7989:   done
                   7990: IFS=$as_save_IFS
                   7991: 
1.1.1.15  root     7992: fi ;;
                   7993: esac
1.1.1.5   root     7994: fi
                   7995: MSGFMT=$ac_cv_prog_MSGFMT
                   7996: if test -n "$MSGFMT"; then
1.1.1.10  root     7997:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
                   7998: printf "%s\n" "$MSGFMT" >&6; }
1.1.1.5   root     7999: else
1.1.1.10  root     8000:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8001: printf "%s\n" "no" >&6; }
1.1.1.5   root     8002: fi
                   8003: 
                   8004: 
                   8005: fi
                   8006: if test -z "$ac_cv_prog_MSGFMT"; then
                   8007:   ac_ct_MSGFMT=$MSGFMT
                   8008:   # Extract the first word of "msgfmt", so it can be a program name with args.
                   8009: set dummy msgfmt; ac_word=$2
1.1.1.10  root     8010: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8011: printf %s "checking for $ac_word... " >&6; }
                   8012: if test ${ac_cv_prog_ac_ct_MSGFMT+y}
                   8013: then :
                   8014:   printf %s "(cached) " >&6
1.1.1.15  root     8015: else case e in #(
                   8016:   e) if test -n "$ac_ct_MSGFMT"; then
1.1.1.5   root     8017:   ac_cv_prog_ac_ct_MSGFMT="$ac_ct_MSGFMT" # Let the user override the test.
                   8018: else
                   8019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8020: for as_dir in $PATH
                   8021: do
                   8022:   IFS=$as_save_IFS
1.1.1.10  root     8023:   case $as_dir in #(((
                   8024:     '') as_dir=./ ;;
                   8025:     */) ;;
                   8026:     *) as_dir=$as_dir/ ;;
                   8027:   esac
1.1.1.5   root     8028:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     8029:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     8030:     ac_cv_prog_ac_ct_MSGFMT="msgfmt"
1.1.1.10  root     8031:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     8032:     break 2
                   8033:   fi
                   8034: done
                   8035:   done
                   8036: IFS=$as_save_IFS
                   8037: 
1.1.1.15  root     8038: fi ;;
                   8039: esac
1.1.1.5   root     8040: fi
                   8041: ac_ct_MSGFMT=$ac_cv_prog_ac_ct_MSGFMT
                   8042: if test -n "$ac_ct_MSGFMT"; then
1.1.1.10  root     8043:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MSGFMT" >&5
                   8044: printf "%s\n" "$ac_ct_MSGFMT" >&6; }
1.1.1.5   root     8045: else
1.1.1.10  root     8046:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8047: printf "%s\n" "no" >&6; }
1.1.1.5   root     8048: fi
                   8049: 
                   8050:   if test "x$ac_ct_MSGFMT" = x; then
                   8051:     MSGFMT=":"
                   8052:   else
                   8053:     case $cross_compiling:$ac_tool_warned in
                   8054: yes:)
1.1.1.10  root     8055: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8056: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.1.5   root     8057: ac_tool_warned=yes ;;
                   8058: esac
                   8059:     MSGFMT=$ac_ct_MSGFMT
                   8060:   fi
                   8061: else
                   8062:   MSGFMT="$ac_cv_prog_MSGFMT"
                   8063: fi
                   8064: 
1.1.1.10  root     8065:        if test $MSGFMT = :; then
                   8066:                as_fn_error $? "*** msgfmt not found.
1.1.1.7   root     8067: *** If you use pkgsrc, install devel/gettext-tools.
                   8068: *** If you use Ubuntu, sudo apt install gettext" "$LINENO" 5
1.1.1.10  root     8069:        fi
                   8070: 
1.1.1.15  root     8071: else case e in #(
                   8072:   e)
1.1.1.10  root     8073:        WITH_GUI=no
                   8074: 
1.1.1.15  root     8075:  ;;
                   8076: esac
1.1.1.5   root     8077: fi
                   8078: 
1.1.1.14  root     8079: # iconv は util/ でのみ必要。
                   8080: 
1.1.1.15  root     8081:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv" >&5
                   8082: printf %s "checking for libiconv... " >&6; }
1.1.1.17! root     8083:        old_CPPFLAGS=${CPPFLAGS}
        !          8084:        old_LIBS=${LIBS}
1.1.1.14  root     8085:        for path in ${PATHS}; do
                   8086:                case ${path} in
                   8087:                 none)
1.1.1.17! root     8088:                        LIBS="-liconv"
1.1.1.14  root     8089:                        ;;
                   8090:                 *)
1.1.1.17! root     8091:                        CPPFLAGS="-I${path}/include"
        !          8092:                        LIBS="-L${path}/lib -liconv"
1.1.1.14  root     8093:                        ;;
                   8094:                esac
                   8095:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8096: /* end confdefs.h.  */
                   8097: 
                   8098:        #include <iconv.h>
                   8099: 
                   8100: int
                   8101: main (void)
                   8102: {
                   8103: 
                   8104:        iconv_open("", "");
                   8105: 
                   8106:   ;
                   8107:   return 0;
                   8108: }
                   8109: _ACEOF
                   8110: if ac_fn_cxx_try_link "$LINENO"
                   8111: then :
                   8112: 
1.1.1.15  root     8113:                        has_libiconv=yes
1.1.1.17! root     8114: 
        !          8115:                                                if test "$cross_compiling" = yes
        !          8116: then :
        !          8117:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          8118: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          8119: as_fn_error $? "cannot run test program while cross compiling
        !          8120: See 'config.log' for more details" "$LINENO" 5; }
        !          8121: else case e in #(
        !          8122:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8123: /* end confdefs.h.  */
        !          8124: 
        !          8125: 
        !          8126:        #include <iconv.h>
        !          8127: 
        !          8128:                                int main() {
        !          8129: 
        !          8130:        iconv_open("", "");
        !          8131: ;
        !          8132:                                        return 0;
        !          8133:                                }
        !          8134: 
        !          8135: _ACEOF
        !          8136: if ac_fn_cxx_try_run "$LINENO"
        !          8137: then :
        !          8138: 
        !          8139: 
        !          8140: else case e in #(
        !          8141:   e)
        !          8142:                                LIBS="-L${path}/lib -Wl,-R,${path}/lib -liconv"
        !          8143:                         ;;
        !          8144: esac
        !          8145: fi
        !          8146: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          8147:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          8148: esac
        !          8149: fi
        !          8150: 
        !          8151: 
1.1.1.14  root     8152:                        break
                   8153: 
1.1.1.15  root     8154: else case e in #(
                   8155:   e)
                   8156:                        has_libiconv=no
                   8157:                 ;;
                   8158: esac
1.1.1.14  root     8159: fi
                   8160: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   8161:     conftest$ac_exeext conftest.$ac_ext
                   8162:        done
1.1.1.15  root     8163:        if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8164:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8165: printf "%s\n" "yes" >&6; }
1.1.1.17! root     8166:                CPPFLAGS_libiconv=${CPPFLAGS}
        !          8167:                LIBS_libiconv=${LIBS}
1.1.1.14  root     8168:        else
                   8169:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8170: printf "%s\n" "no" >&6; }
                   8171:        fi
1.1.1.17! root     8172:        CPPFLAGS=${old_CPPFLAGS}
        !          8173:        LIBS=${old_LIBS}
        !          8174: 
        !          8175: CPPFLAGS_ICONV=${CPPFLAGS_libiconv}
        !          8176: 
        !          8177: LIBS_ICONV=${LIBS_libiconv}
1.1.1.14  root     8178: 
                   8179: 
1.1.1.15  root     8180: if test x"${has_libiconv}" = x"yes"; then
1.1.1.14  root     8181:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iconv needs const" >&5
                   8182: printf %s "checking whether iconv needs const... " >&6; }
                   8183:        old_CPPFLAGS="${CPPFLAGS}"
1.1.1.17! root     8184:        CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_libiconv} -Werror"
1.1.1.14  root     8185:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8186: /* end confdefs.h.  */
                   8187: 
                   8188:                        #include <iconv.h>
                   8189: 
                   8190: int
                   8191: main (void)
                   8192: {
                   8193: 
                   8194:                        const char **a;
                   8195:                        iconv(0, a, 0, 0, 0);
                   8196: 
                   8197:   ;
                   8198:   return 0;
                   8199: }
                   8200: _ACEOF
                   8201: if ac_fn_cxx_try_compile "$LINENO"
                   8202: then :
                   8203: 
                   8204:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8205: printf "%s\n" "yes" >&6; }
                   8206:                        printf "%s\n" "#define HAVE_ICONV_CONST 1" >>confdefs.h
                   8207: 
                   8208: 
1.1.1.15  root     8209: else case e in #(
                   8210:   e)
1.1.1.14  root     8211:                        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8212: printf "%s\n" "no" >&6; }
1.1.1.15  root     8213:                 ;;
                   8214: esac
1.1.1.14  root     8215: fi
                   8216: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8217:        CPPFLAGS="${old_CPPFLAGS}"
                   8218: fi
                   8219: 
1.1.1.17! root     8220: ac_config_files="$ac_config_files Makefile.cfg"
1.1       root     8221: 
1.1.1.2   root     8222: ac_config_headers="$ac_config_headers config-nono.h"
1.1       root     8223: 
                   8224: cat >confcache <<\_ACEOF
                   8225: # This file is a shell script that caches the results of configure
                   8226: # tests run on this system so they can be shared between configure
                   8227: # scripts and configure runs, see configure's option --config-cache.
                   8228: # It is not useful on other systems.  If it contains results you don't
                   8229: # want to keep, you may remove or edit it.
                   8230: #
                   8231: # config.status only pays attention to the cache file if you give it
                   8232: # the --recheck option to rerun configure.
                   8233: #
1.1.1.15  root     8234: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   8235: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.1       root     8236: # following values.
                   8237: 
                   8238: _ACEOF
                   8239: 
                   8240: # The following way of writing the cache mishandles newlines in values,
                   8241: # but we know of no workaround that is simple, portable, and efficient.
                   8242: # So, we kill variables containing newlines.
                   8243: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8244: # and sets the high bit in the cache file unless we assign to the vars.
                   8245: (
                   8246:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   8247:     eval ac_val=\$$ac_var
                   8248:     case $ac_val in #(
                   8249:     *${as_nl}*)
                   8250:       case $ac_var in #(
1.1.1.10  root     8251:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   8252: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     8253:       esac
                   8254:       case $ac_var in #(
                   8255:       _ | IFS | as_nl) ;; #(
                   8256:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   8257:       *) { eval $ac_var=; unset $ac_var;} ;;
                   8258:       esac ;;
                   8259:     esac
                   8260:   done
                   8261: 
                   8262:   (set) 2>&1 |
                   8263:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   8264:     *${as_nl}ac_space=\ *)
1.1.1.15  root     8265:       # 'set' does not quote correctly, so add quotes: double-quote
1.1       root     8266:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   8267:       sed -n \
                   8268:        "s/'/'\\\\''/g;
                   8269:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   8270:       ;; #(
                   8271:     *)
1.1.1.15  root     8272:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.1       root     8273:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   8274:       ;;
                   8275:     esac |
                   8276:     sort
                   8277: ) |
                   8278:   sed '
                   8279:      /^ac_cv_env_/b end
                   8280:      t clear
                   8281:      :clear
1.1.1.10  root     8282:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.1       root     8283:      t end
                   8284:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   8285:      :end' >>confcache
                   8286: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   8287:   if test -w "$cache_file"; then
                   8288:     if test "x$cache_file" != "x/dev/null"; then
1.1.1.10  root     8289:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   8290: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.1       root     8291:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   8292:        cat confcache >"$cache_file"
                   8293:       else
                   8294:         case $cache_file in #(
                   8295:         */* | ?:*)
                   8296:          mv -f confcache "$cache_file"$$ &&
                   8297:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   8298:         *)
                   8299:          mv -f confcache "$cache_file" ;;
                   8300:        esac
                   8301:       fi
                   8302:     fi
                   8303:   else
1.1.1.10  root     8304:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   8305: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     8306:   fi
                   8307: fi
                   8308: rm -f confcache
                   8309: 
                   8310: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   8311: # Let make expand exec_prefix.
                   8312: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   8313: 
                   8314: DEFS=-DHAVE_CONFIG_H
                   8315: 
                   8316: ac_libobjs=
                   8317: ac_ltlibobjs=
                   8318: U=
                   8319: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   8320:   # 1. Remove the extension, and $U if already installed.
                   8321:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.10  root     8322:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.1       root     8323:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   8324:   #    will be set to the directory where LIBOBJS objects are built.
                   8325:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   8326:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   8327: done
                   8328: LIBOBJS=$ac_libobjs
                   8329: 
                   8330: LTLIBOBJS=$ac_ltlibobjs
                   8331: 
                   8332: 
                   8333: 
                   8334: : "${CONFIG_STATUS=./config.status}"
                   8335: ac_write_fail=0
                   8336: ac_clean_files_save=$ac_clean_files
                   8337: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.10  root     8338: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   8339: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.1       root     8340: as_write_fail=0
                   8341: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   8342: #! $SHELL
                   8343: # Generated by $as_me.
                   8344: # Run this file to recreate the current configuration.
                   8345: # Compiler output produced by configure, useful for debugging
                   8346: # configure, is in config.log if it exists.
                   8347: 
                   8348: debug=false
                   8349: ac_cs_recheck=false
                   8350: ac_cs_silent=false
                   8351: 
                   8352: SHELL=\${CONFIG_SHELL-$SHELL}
                   8353: export SHELL
                   8354: _ASEOF
                   8355: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   8356: ## -------------------- ##
                   8357: ## M4sh Initialization. ##
                   8358: ## -------------------- ##
                   8359: 
                   8360: # Be more Bourne compatible
                   8361: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10  root     8362: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   8363: then :
1.1       root     8364:   emulate sh
                   8365:   NULLCMD=:
                   8366:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   8367:   # is contrary to our usage.  Disable this feature.
                   8368:   alias -g '${1+"$@"}'='"$@"'
                   8369:   setopt NO_GLOB_SUBST
1.1.1.15  root     8370: else case e in #(
                   8371:   e) case `(set -o) 2>/dev/null` in #(
1.1       root     8372:   *posix*) :
                   8373:     set -o posix ;; #(
                   8374:   *) :
                   8375:      ;;
1.1.1.15  root     8376: esac ;;
1.1       root     8377: esac
                   8378: fi
                   8379: 
                   8380: 
1.1.1.10  root     8381: 
                   8382: # Reset variables that may have inherited troublesome values from
                   8383: # the environment.
                   8384: 
                   8385: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   8386: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   8387: # side effect of setting IFS to empty, thus disabling word splitting.)
                   8388: # Quoting is to prevent editors from complaining about space-tab.
1.1       root     8389: as_nl='
                   8390: '
                   8391: export as_nl
1.1.1.10  root     8392: IFS=" ""       $as_nl"
                   8393: 
                   8394: PS1='$ '
                   8395: PS2='> '
                   8396: PS4='+ '
                   8397: 
                   8398: # Ensure predictable behavior from utilities with locale-dependent output.
                   8399: LC_ALL=C
                   8400: export LC_ALL
                   8401: LANGUAGE=C
                   8402: export LANGUAGE
                   8403: 
                   8404: # We cannot yet rely on "unset" to work, but we need these variables
                   8405: # to be unset--not just set to an empty or harmless value--now, to
                   8406: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   8407: # also avoids known problems related to "unset" and subshell syntax
                   8408: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   8409: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   8410: do eval test \${$as_var+y} \
                   8411:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   8412: done
                   8413: 
                   8414: # Ensure that fds 0, 1, and 2 are open.
                   8415: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   8416: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   8417: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root     8418: 
                   8419: # The user is always right.
1.1.1.10  root     8420: if ${PATH_SEPARATOR+false} :; then
1.1       root     8421:   PATH_SEPARATOR=:
                   8422:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   8423:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   8424:       PATH_SEPARATOR=';'
                   8425:   }
                   8426: fi
                   8427: 
                   8428: 
                   8429: # Find who we are.  Look in the path if we contain no directory separator.
                   8430: as_myself=
                   8431: case $0 in #((
                   8432:   *[\\/]* ) as_myself=$0 ;;
                   8433:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8434: for as_dir in $PATH
                   8435: do
                   8436:   IFS=$as_save_IFS
1.1.1.10  root     8437:   case $as_dir in #(((
                   8438:     '') as_dir=./ ;;
                   8439:     */) ;;
                   8440:     *) as_dir=$as_dir/ ;;
                   8441:   esac
                   8442:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root     8443:   done
                   8444: IFS=$as_save_IFS
                   8445: 
                   8446:      ;;
                   8447: esac
1.1.1.15  root     8448: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.1       root     8449: # in which case we are not to be found in the path.
                   8450: if test "x$as_myself" = x; then
                   8451:   as_myself=$0
                   8452: fi
                   8453: if test ! -f "$as_myself"; then
1.1.1.10  root     8454:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root     8455:   exit 1
                   8456: fi
                   8457: 
                   8458: 
                   8459: 
                   8460: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   8461: # ----------------------------------------
                   8462: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   8463: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   8464: # script with STATUS, using 1 if that was 0.
                   8465: as_fn_error ()
                   8466: {
                   8467:   as_status=$1; test $as_status -eq 0 && as_status=1
                   8468:   if test "$4"; then
                   8469:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     8470:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root     8471:   fi
1.1.1.10  root     8472:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root     8473:   as_fn_exit $as_status
                   8474: } # as_fn_error
                   8475: 
                   8476: 
                   8477: # as_fn_set_status STATUS
                   8478: # -----------------------
                   8479: # Set $? to STATUS, without forking.
                   8480: as_fn_set_status ()
                   8481: {
                   8482:   return $1
                   8483: } # as_fn_set_status
                   8484: 
                   8485: # as_fn_exit STATUS
                   8486: # -----------------
                   8487: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   8488: as_fn_exit ()
                   8489: {
                   8490:   set +e
                   8491:   as_fn_set_status $1
                   8492:   exit $1
                   8493: } # as_fn_exit
                   8494: 
                   8495: # as_fn_unset VAR
                   8496: # ---------------
                   8497: # Portably unset VAR.
                   8498: as_fn_unset ()
                   8499: {
                   8500:   { eval $1=; unset $1;}
                   8501: }
                   8502: as_unset=as_fn_unset
1.1.1.10  root     8503: 
1.1       root     8504: # as_fn_append VAR VALUE
                   8505: # ----------------------
                   8506: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   8507: # advantage of any shell optimizations that allow amortized linear growth over
                   8508: # repeated appends, instead of the typical quadratic growth present in naive
                   8509: # implementations.
1.1.1.10  root     8510: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   8511: then :
1.1       root     8512:   eval 'as_fn_append ()
                   8513:   {
                   8514:     eval $1+=\$2
                   8515:   }'
1.1.1.15  root     8516: else case e in #(
                   8517:   e) as_fn_append ()
1.1       root     8518:   {
                   8519:     eval $1=\$$1\$2
1.1.1.15  root     8520:   } ;;
                   8521: esac
1.1       root     8522: fi # as_fn_append
                   8523: 
                   8524: # as_fn_arith ARG...
                   8525: # ------------------
                   8526: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   8527: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   8528: # must be portable across $(()) and expr.
1.1.1.10  root     8529: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   8530: then :
1.1       root     8531:   eval 'as_fn_arith ()
                   8532:   {
                   8533:     as_val=$(( $* ))
                   8534:   }'
1.1.1.15  root     8535: else case e in #(
                   8536:   e) as_fn_arith ()
1.1       root     8537:   {
                   8538:     as_val=`expr "$@" || test $? -eq 1`
1.1.1.15  root     8539:   } ;;
                   8540: esac
1.1       root     8541: fi # as_fn_arith
                   8542: 
                   8543: 
                   8544: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   8545:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   8546:   as_expr=expr
                   8547: else
                   8548:   as_expr=false
                   8549: fi
                   8550: 
                   8551: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   8552:   as_basename=basename
                   8553: else
                   8554:   as_basename=false
                   8555: fi
                   8556: 
                   8557: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   8558:   as_dirname=dirname
                   8559: else
                   8560:   as_dirname=false
                   8561: fi
                   8562: 
                   8563: as_me=`$as_basename -- "$0" ||
                   8564: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   8565:         X"$0" : 'X\(//\)$' \| \
                   8566:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8567: printf "%s\n" X/"$0" |
1.1       root     8568:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   8569:            s//\1/
                   8570:            q
                   8571:          }
                   8572:          /^X\/\(\/\/\)$/{
                   8573:            s//\1/
                   8574:            q
                   8575:          }
                   8576:          /^X\/\(\/\).*/{
                   8577:            s//\1/
                   8578:            q
                   8579:          }
                   8580:          s/.*/./; q'`
                   8581: 
                   8582: # Avoid depending upon Character Ranges.
                   8583: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   8584: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   8585: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   8586: as_cr_digits='0123456789'
                   8587: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   8588: 
1.1.1.10  root     8589: 
                   8590: # Determine whether it's possible to make 'echo' print without a newline.
                   8591: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   8592: # for compatibility with existing Makefiles.
1.1       root     8593: ECHO_C= ECHO_N= ECHO_T=
                   8594: case `echo -n x` in #(((((
                   8595: -n*)
                   8596:   case `echo 'xy\c'` in
                   8597:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   8598:   xy)  ECHO_C='\c';;
                   8599:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   8600:        ECHO_T='        ';;
                   8601:   esac;;
                   8602: *)
                   8603:   ECHO_N='-n';;
                   8604: esac
                   8605: 
1.1.1.10  root     8606: # For backward compatibility with old third-party macros, we provide
                   8607: # the shell variables $as_echo and $as_echo_n.  New code should use
                   8608: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   8609: as_echo='printf %s\n'
                   8610: as_echo_n='printf %s'
                   8611: 
1.1       root     8612: rm -f conf$$ conf$$.exe conf$$.file
                   8613: if test -d conf$$.dir; then
                   8614:   rm -f conf$$.dir/conf$$.file
                   8615: else
                   8616:   rm -f conf$$.dir
                   8617:   mkdir conf$$.dir 2>/dev/null
                   8618: fi
                   8619: if (echo >conf$$.file) 2>/dev/null; then
                   8620:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   8621:     as_ln_s='ln -s'
                   8622:     # ... but there are two gotchas:
1.1.1.15  root     8623:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   8624:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   8625:     # In both cases, we have to default to 'cp -pR'.
1.1       root     8626:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   8627:       as_ln_s='cp -pR'
                   8628:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   8629:     as_ln_s=ln
                   8630:   else
                   8631:     as_ln_s='cp -pR'
                   8632:   fi
                   8633: else
                   8634:   as_ln_s='cp -pR'
                   8635: fi
                   8636: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   8637: rmdir conf$$.dir 2>/dev/null
                   8638: 
                   8639: 
                   8640: # as_fn_mkdir_p
                   8641: # -------------
                   8642: # Create "$as_dir" as a directory, including parents if necessary.
                   8643: as_fn_mkdir_p ()
                   8644: {
                   8645: 
                   8646:   case $as_dir in #(
                   8647:   -*) as_dir=./$as_dir;;
                   8648:   esac
                   8649:   test -d "$as_dir" || eval $as_mkdir_p || {
                   8650:     as_dirs=
                   8651:     while :; do
                   8652:       case $as_dir in #(
1.1.1.10  root     8653:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root     8654:       *) as_qdir=$as_dir;;
                   8655:       esac
                   8656:       as_dirs="'$as_qdir' $as_dirs"
                   8657:       as_dir=`$as_dirname -- "$as_dir" ||
                   8658: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8659:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8660:         X"$as_dir" : 'X\(//\)$' \| \
                   8661:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     8662: printf "%s\n" X"$as_dir" |
1.1       root     8663:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8664:            s//\1/
                   8665:            q
                   8666:          }
                   8667:          /^X\(\/\/\)[^/].*/{
                   8668:            s//\1/
                   8669:            q
                   8670:          }
                   8671:          /^X\(\/\/\)$/{
                   8672:            s//\1/
                   8673:            q
                   8674:          }
                   8675:          /^X\(\/\).*/{
                   8676:            s//\1/
                   8677:            q
                   8678:          }
                   8679:          s/.*/./; q'`
                   8680:       test -d "$as_dir" && break
                   8681:     done
                   8682:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   8683:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   8684: 
                   8685: 
                   8686: } # as_fn_mkdir_p
                   8687: if mkdir -p . 2>/dev/null; then
                   8688:   as_mkdir_p='mkdir -p "$as_dir"'
                   8689: else
                   8690:   test -d ./-p && rmdir ./-p
                   8691:   as_mkdir_p=false
                   8692: fi
                   8693: 
                   8694: 
                   8695: # as_fn_executable_p FILE
                   8696: # -----------------------
                   8697: # Test if FILE is an executable regular file.
                   8698: as_fn_executable_p ()
                   8699: {
                   8700:   test -f "$1" && test -x "$1"
                   8701: } # as_fn_executable_p
                   8702: as_test_x='test -x'
                   8703: as_executable_p=as_fn_executable_p
                   8704: 
                   8705: # Sed expression to map a string onto a valid CPP name.
1.1.1.15  root     8706: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   8707: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.1       root     8708: 
                   8709: # Sed expression to map a string onto a valid variable name.
1.1.1.15  root     8710: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   8711: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.1       root     8712: 
                   8713: 
                   8714: exec 6>&1
                   8715: ## ----------------------------------- ##
                   8716: ## Main body of $CONFIG_STATUS script. ##
                   8717: ## ----------------------------------- ##
                   8718: _ASEOF
                   8719: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   8720: 
                   8721: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8722: # Save the log message, to keep $0 and so on meaningful, and to
                   8723: # report actual input values of CONFIG_FILES etc. instead of their
                   8724: # values after options handling.
                   8725: ac_log="
1.1.1.3   root     8726: This file was extended by nono $as_me 0.0, which was
1.1.1.15  root     8727: generated by GNU Autoconf 2.72.  Invocation command line was
1.1       root     8728: 
                   8729:   CONFIG_FILES    = $CONFIG_FILES
                   8730:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   8731:   CONFIG_LINKS    = $CONFIG_LINKS
                   8732:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   8733:   $ $0 $@
                   8734: 
                   8735: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   8736: "
                   8737: 
                   8738: _ACEOF
                   8739: 
                   8740: case $ac_config_files in *"
                   8741: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   8742: esac
                   8743: 
                   8744: case $ac_config_headers in *"
                   8745: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   8746: esac
                   8747: 
                   8748: 
                   8749: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8750: # Files that config.status was made for.
                   8751: config_files="$ac_config_files"
                   8752: config_headers="$ac_config_headers"
                   8753: 
                   8754: _ACEOF
                   8755: 
                   8756: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8757: ac_cs_usage="\
1.1.1.15  root     8758: '$as_me' instantiates files and other configuration actions
1.1       root     8759: from templates according to the current configuration.  Unless the files
                   8760: and actions are specified as TAGs, all are instantiated by default.
                   8761: 
                   8762: Usage: $0 [OPTION]... [TAG]...
                   8763: 
                   8764:   -h, --help       print this help, then exit
                   8765:   -V, --version    print version number and configuration settings, then exit
                   8766:       --config     print configuration, then exit
                   8767:   -q, --quiet, --silent
                   8768:                    do not print progress messages
                   8769:   -d, --debug      don't remove temporary files
                   8770:       --recheck    update $as_me by reconfiguring in the same conditions
                   8771:       --file=FILE[:TEMPLATE]
                   8772:                    instantiate the configuration file FILE
                   8773:       --header=FILE[:TEMPLATE]
                   8774:                    instantiate the configuration header FILE
                   8775: 
                   8776: Configuration files:
                   8777: $config_files
                   8778: 
                   8779: Configuration headers:
                   8780: $config_headers
                   8781: 
                   8782: Report bugs to the package provider."
                   8783: 
                   8784: _ACEOF
1.1.1.10  root     8785: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   8786: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.1       root     8787: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.10  root     8788: ac_cs_config='$ac_cs_config_escaped'
1.1       root     8789: ac_cs_version="\\
1.1.1.3   root     8790: nono config.status 0.0
1.1.1.15  root     8791: configured by $0, generated by GNU Autoconf 2.72,
1.1       root     8792:   with options \\"\$ac_cs_config\\"
                   8793: 
1.1.1.15  root     8794: Copyright (C) 2023 Free Software Foundation, Inc.
1.1       root     8795: This config.status script is free software; the Free Software Foundation
                   8796: gives unlimited permission to copy, distribute and modify it."
                   8797: 
                   8798: ac_pwd='$ac_pwd'
                   8799: srcdir='$srcdir'
1.1.1.3   root     8800: INSTALL='$INSTALL'
1.1       root     8801: test -n "\$AWK" || AWK=awk
                   8802: _ACEOF
                   8803: 
                   8804: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8805: # The default lists apply if the user does not specify any file.
                   8806: ac_need_defaults=:
                   8807: while test $# != 0
                   8808: do
                   8809:   case $1 in
                   8810:   --*=?*)
                   8811:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   8812:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   8813:     ac_shift=:
                   8814:     ;;
                   8815:   --*=)
                   8816:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   8817:     ac_optarg=
                   8818:     ac_shift=:
                   8819:     ;;
                   8820:   *)
                   8821:     ac_option=$1
                   8822:     ac_optarg=$2
                   8823:     ac_shift=shift
                   8824:     ;;
                   8825:   esac
                   8826: 
                   8827:   case $ac_option in
                   8828:   # Handling of the options.
                   8829:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   8830:     ac_cs_recheck=: ;;
                   8831:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.10  root     8832:     printf "%s\n" "$ac_cs_version"; exit ;;
1.1       root     8833:   --config | --confi | --conf | --con | --co | --c )
1.1.1.10  root     8834:     printf "%s\n" "$ac_cs_config"; exit ;;
1.1       root     8835:   --debug | --debu | --deb | --de | --d | -d )
                   8836:     debug=: ;;
                   8837:   --file | --fil | --fi | --f )
                   8838:     $ac_shift
                   8839:     case $ac_optarg in
1.1.1.10  root     8840:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     8841:     '') as_fn_error $? "missing file argument" ;;
                   8842:     esac
                   8843:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   8844:     ac_need_defaults=false;;
                   8845:   --header | --heade | --head | --hea )
                   8846:     $ac_shift
                   8847:     case $ac_optarg in
1.1.1.10  root     8848:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     8849:     esac
                   8850:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   8851:     ac_need_defaults=false;;
                   8852:   --he | --h)
                   8853:     # Conflict between --help and --header
1.1.1.15  root     8854:     as_fn_error $? "ambiguous option: '$1'
                   8855: Try '$0 --help' for more information.";;
1.1       root     8856:   --help | --hel | -h )
1.1.1.10  root     8857:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.1       root     8858:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   8859:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   8860:     ac_cs_silent=: ;;
                   8861: 
                   8862:   # This is an error.
1.1.1.15  root     8863:   -*) as_fn_error $? "unrecognized option: '$1'
                   8864: Try '$0 --help' for more information." ;;
1.1       root     8865: 
                   8866:   *) as_fn_append ac_config_targets " $1"
                   8867:      ac_need_defaults=false ;;
                   8868: 
                   8869:   esac
                   8870:   shift
                   8871: done
                   8872: 
                   8873: ac_configure_extra_args=
                   8874: 
                   8875: if $ac_cs_silent; then
                   8876:   exec 6>/dev/null
                   8877:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   8878: fi
                   8879: 
                   8880: _ACEOF
                   8881: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8882: if \$ac_cs_recheck; then
                   8883:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   8884:   shift
1.1.1.10  root     8885:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.1       root     8886:   CONFIG_SHELL='$SHELL'
                   8887:   export CONFIG_SHELL
                   8888:   exec "\$@"
                   8889: fi
                   8890: 
                   8891: _ACEOF
                   8892: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8893: exec 5>>config.log
                   8894: {
                   8895:   echo
                   8896:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   8897: ## Running $as_me. ##
                   8898: _ASBOX
1.1.1.10  root     8899:   printf "%s\n" "$ac_log"
1.1       root     8900: } >&5
                   8901: 
                   8902: _ACEOF
                   8903: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8904: _ACEOF
                   8905: 
                   8906: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8907: 
                   8908: # Handling of arguments.
                   8909: for ac_config_target in $ac_config_targets
                   8910: do
                   8911:   case $ac_config_target in
                   8912:     "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;;
1.1.1.2   root     8913:     "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;
1.1       root     8914: 
1.1.1.15  root     8915:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       root     8916:   esac
                   8917: done
                   8918: 
                   8919: 
                   8920: # If the user did not use the arguments to specify the items to instantiate,
                   8921: # then the envvar interface is used.  Set only those that are not.
                   8922: # We use the long form for the default assignment because of an extremely
                   8923: # bizarre bug on SunOS 4.1.3.
                   8924: if $ac_need_defaults; then
1.1.1.10  root     8925:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   8926:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1.1       root     8927: fi
                   8928: 
                   8929: # Have a temporary directory for convenience.  Make it in the build tree
                   8930: # simply because there is no reason against having it here, and in addition,
                   8931: # creating and moving files from /tmp can sometimes cause problems.
                   8932: # Hook for its removal unless debugging.
                   8933: # Note that there is a small window in which the directory will not be cleaned:
1.1.1.15  root     8934: # after its creation but before its name has been assigned to '$tmp'.
1.1       root     8935: $debug ||
                   8936: {
                   8937:   tmp= ac_tmp=
                   8938:   trap 'exit_status=$?
                   8939:   : "${ac_tmp:=$tmp}"
                   8940:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   8941: ' 0
                   8942:   trap 'as_fn_exit 1' 1 2 13 15
                   8943: }
                   8944: # Create a (secure) tmp directory for tmp files.
                   8945: 
                   8946: {
                   8947:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   8948:   test -d "$tmp"
                   8949: }  ||
                   8950: {
                   8951:   tmp=./conf$$-$RANDOM
                   8952:   (umask 077 && mkdir "$tmp")
                   8953: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   8954: ac_tmp=$tmp
                   8955: 
                   8956: # Set up the scripts for CONFIG_FILES section.
                   8957: # No need to generate them if there are no CONFIG_FILES.
1.1.1.15  root     8958: # This happens for instance with './config.status config.h'.
1.1       root     8959: if test -n "$CONFIG_FILES"; then
                   8960: 
                   8961: 
                   8962: ac_cr=`echo X | tr X '\015'`
                   8963: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   8964: # But we know of no other shell where ac_cr would be empty at this
                   8965: # point, so we can use a bashism as a fallback.
                   8966: if test "x$ac_cr" = x; then
                   8967:   eval ac_cr=\$\'\\r\'
                   8968: fi
                   8969: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   8970: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   8971:   ac_cs_awk_cr='\\r'
                   8972: else
                   8973:   ac_cs_awk_cr=$ac_cr
                   8974: fi
                   8975: 
                   8976: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   8977: _ACEOF
                   8978: 
                   8979: 
                   8980: {
                   8981:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   8982:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   8983:   echo "_ACEOF"
                   8984: } >conf$$subs.sh ||
                   8985:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   8986: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   8987: ac_delim='%!_!# '
                   8988: for ac_last_try in false false false false false :; do
                   8989:   . ./conf$$subs.sh ||
                   8990:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   8991: 
                   8992:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   8993:   if test $ac_delim_n = $ac_delim_num; then
                   8994:     break
                   8995:   elif $ac_last_try; then
                   8996:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   8997:   else
                   8998:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   8999:   fi
                   9000: done
                   9001: rm -f conf$$subs.sh
                   9002: 
                   9003: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9004: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   9005: _ACEOF
                   9006: sed -n '
                   9007: h
                   9008: s/^/S["/; s/!.*/"]=/
                   9009: p
                   9010: g
                   9011: s/^[^!]*!//
                   9012: :repl
                   9013: t repl
                   9014: s/'"$ac_delim"'$//
                   9015: t delim
                   9016: :nl
                   9017: h
                   9018: s/\(.\{148\}\)..*/\1/
                   9019: t more1
                   9020: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   9021: p
                   9022: n
                   9023: b repl
                   9024: :more1
                   9025: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9026: p
                   9027: g
                   9028: s/.\{148\}//
                   9029: t nl
                   9030: :delim
                   9031: h
                   9032: s/\(.\{148\}\)..*/\1/
                   9033: t more2
                   9034: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   9035: p
                   9036: b
                   9037: :more2
                   9038: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9039: p
                   9040: g
                   9041: s/.\{148\}//
                   9042: t delim
                   9043: ' <conf$$subs.awk | sed '
                   9044: /^[^""]/{
                   9045:   N
                   9046:   s/\n//
                   9047: }
                   9048: ' >>$CONFIG_STATUS || ac_write_fail=1
                   9049: rm -f conf$$subs.awk
                   9050: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9051: _ACAWK
                   9052: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   9053:   for (key in S) S_is_set[key] = 1
                   9054:   FS = ""
                   9055: 
                   9056: }
                   9057: {
                   9058:   line = $ 0
                   9059:   nfields = split(line, field, "@")
                   9060:   substed = 0
                   9061:   len = length(field[1])
                   9062:   for (i = 2; i < nfields; i++) {
                   9063:     key = field[i]
                   9064:     keylen = length(key)
                   9065:     if (S_is_set[key]) {
                   9066:       value = S[key]
                   9067:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   9068:       len += length(value) + length(field[++i])
                   9069:       substed = 1
                   9070:     } else
                   9071:       len += 1 + keylen
                   9072:   }
                   9073: 
                   9074:   print line
                   9075: }
                   9076: 
                   9077: _ACAWK
                   9078: _ACEOF
                   9079: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9080: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   9081:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   9082: else
                   9083:   cat
                   9084: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   9085:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   9086: _ACEOF
                   9087: 
                   9088: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   9089: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   9090: # trailing colons and then remove the whole line if VPATH becomes empty
                   9091: # (actually we leave an empty line to preserve line numbers).
                   9092: if test "x$srcdir" = x.; then
                   9093:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   9094: h
                   9095: s///
                   9096: s/^/:/
                   9097: s/[     ]*$/:/
                   9098: s/:\$(srcdir):/:/g
                   9099: s/:\${srcdir}:/:/g
                   9100: s/:@srcdir@:/:/g
                   9101: s/^:*//
                   9102: s/:*$//
                   9103: x
                   9104: s/\(=[  ]*\).*/\1/
                   9105: G
                   9106: s/\n//
                   9107: s/^[^=]*=[      ]*$//
                   9108: }'
                   9109: fi
                   9110: 
                   9111: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9112: fi # test -n "$CONFIG_FILES"
                   9113: 
                   9114: # Set up the scripts for CONFIG_HEADERS section.
                   9115: # No need to generate them if there are no CONFIG_HEADERS.
1.1.1.15  root     9116: # This happens for instance with './config.status Makefile'.
1.1       root     9117: if test -n "$CONFIG_HEADERS"; then
                   9118: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   9119: BEGIN {
                   9120: _ACEOF
                   9121: 
1.1.1.15  root     9122: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.1       root     9123: # here-document in config.status, that substitutes the proper values into
                   9124: # config.h.in to produce config.h.
                   9125: 
                   9126: # Create a delimiter string that does not exist in confdefs.h, to ease
                   9127: # handling of long lines.
                   9128: ac_delim='%!_!# '
                   9129: for ac_last_try in false false :; do
                   9130:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   9131:   if test -z "$ac_tt"; then
                   9132:     break
                   9133:   elif $ac_last_try; then
                   9134:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   9135:   else
                   9136:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9137:   fi
                   9138: done
                   9139: 
                   9140: # For the awk script, D is an array of macro values keyed by name,
                   9141: # likewise P contains macro parameters if any.  Preserve backslash
                   9142: # newline sequences.
                   9143: 
                   9144: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   9145: sed -n '
                   9146: s/.\{148\}/&'"$ac_delim"'/g
                   9147: t rset
                   9148: :rset
                   9149: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   9150: t def
                   9151: d
                   9152: :def
                   9153: s/\\$//
                   9154: t bsnl
                   9155: s/["\\]/\\&/g
                   9156: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9157: D["\1"]=" \3"/p
                   9158: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   9159: d
                   9160: :bsnl
                   9161: s/["\\]/\\&/g
                   9162: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9163: D["\1"]=" \3\\\\\\n"\\/p
                   9164: t cont
                   9165: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   9166: t cont
                   9167: d
                   9168: :cont
                   9169: n
                   9170: s/.\{148\}/&'"$ac_delim"'/g
                   9171: t clear
                   9172: :clear
                   9173: s/\\$//
                   9174: t bsnlc
                   9175: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   9176: d
                   9177: :bsnlc
                   9178: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   9179: b cont
                   9180: ' <confdefs.h | sed '
                   9181: s/'"$ac_delim"'/"\\\
                   9182: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   9183: 
                   9184: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9185:   for (key in D) D_is_set[key] = 1
                   9186:   FS = ""
                   9187: }
                   9188: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   9189:   line = \$ 0
                   9190:   split(line, arg, " ")
                   9191:   if (arg[1] == "#") {
                   9192:     defundef = arg[2]
                   9193:     mac1 = arg[3]
                   9194:   } else {
                   9195:     defundef = substr(arg[1], 2)
                   9196:     mac1 = arg[2]
                   9197:   }
                   9198:   split(mac1, mac2, "(") #)
                   9199:   macro = mac2[1]
                   9200:   prefix = substr(line, 1, index(line, defundef) - 1)
                   9201:   if (D_is_set[macro]) {
                   9202:     # Preserve the white space surrounding the "#".
                   9203:     print prefix "define", macro P[macro] D[macro]
                   9204:     next
                   9205:   } else {
                   9206:     # Replace #undef with comments.  This is necessary, for example,
                   9207:     # in the case of _POSIX_SOURCE, which is predefined and required
                   9208:     # on some systems where configure will not decide to define it.
                   9209:     if (defundef == "undef") {
                   9210:       print "/*", prefix defundef, macro, "*/"
                   9211:       next
                   9212:     }
                   9213:   }
                   9214: }
                   9215: { print }
                   9216: _ACAWK
                   9217: _ACEOF
                   9218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9219:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   9220: fi # test -n "$CONFIG_HEADERS"
                   9221: 
                   9222: 
                   9223: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   9224: shift
                   9225: for ac_tag
                   9226: do
                   9227:   case $ac_tag in
                   9228:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   9229:   esac
                   9230:   case $ac_mode$ac_tag in
                   9231:   :[FHL]*:*);;
1.1.1.15  root     9232:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.1       root     9233:   :[FH]-) ac_tag=-:-;;
                   9234:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   9235:   esac
                   9236:   ac_save_IFS=$IFS
                   9237:   IFS=:
                   9238:   set x $ac_tag
                   9239:   IFS=$ac_save_IFS
                   9240:   shift
                   9241:   ac_file=$1
                   9242:   shift
                   9243: 
                   9244:   case $ac_mode in
                   9245:   :L) ac_source=$1;;
                   9246:   :[FH])
                   9247:     ac_file_inputs=
                   9248:     for ac_f
                   9249:     do
                   9250:       case $ac_f in
                   9251:       -) ac_f="$ac_tmp/stdin";;
                   9252:       *) # Look for the file first in the build tree, then in the source tree
                   9253:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.1.1.15  root     9254:         # because $ac_f cannot contain ':'.
1.1       root     9255:         test -f "$ac_f" ||
                   9256:           case $ac_f in
                   9257:           [\\/$]*) false;;
                   9258:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   9259:           esac ||
1.1.1.15  root     9260:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.1       root     9261:       esac
1.1.1.10  root     9262:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1       root     9263:       as_fn_append ac_file_inputs " '$ac_f'"
                   9264:     done
                   9265: 
1.1.1.15  root     9266:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.1       root     9267:     # use $as_me), people would be surprised to read:
                   9268:     #    /* config.h.  Generated by config.status.  */
                   9269:     configure_input='Generated from '`
1.1.1.10  root     9270:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.1       root     9271:        `' by configure.'
                   9272:     if test x"$ac_file" != x-; then
                   9273:       configure_input="$ac_file.  $configure_input"
1.1.1.10  root     9274:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   9275: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.1       root     9276:     fi
                   9277:     # Neutralize special characters interpreted by sed in replacement strings.
                   9278:     case $configure_input in #(
                   9279:     *\&* | *\|* | *\\* )
1.1.1.10  root     9280:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.1       root     9281:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   9282:     *) ac_sed_conf_input=$configure_input;;
                   9283:     esac
                   9284: 
                   9285:     case $ac_tag in
                   9286:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   9287:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   9288:     esac
                   9289:     ;;
                   9290:   esac
                   9291: 
                   9292:   ac_dir=`$as_dirname -- "$ac_file" ||
                   9293: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9294:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   9295:         X"$ac_file" : 'X\(//\)$' \| \
                   9296:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     9297: printf "%s\n" X"$ac_file" |
1.1       root     9298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   9299:            s//\1/
                   9300:            q
                   9301:          }
                   9302:          /^X\(\/\/\)[^/].*/{
                   9303:            s//\1/
                   9304:            q
                   9305:          }
                   9306:          /^X\(\/\/\)$/{
                   9307:            s//\1/
                   9308:            q
                   9309:          }
                   9310:          /^X\(\/\).*/{
                   9311:            s//\1/
                   9312:            q
                   9313:          }
                   9314:          s/.*/./; q'`
                   9315:   as_dir="$ac_dir"; as_fn_mkdir_p
                   9316:   ac_builddir=.
                   9317: 
                   9318: case "$ac_dir" in
                   9319: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9320: *)
1.1.1.10  root     9321:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     9322:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     9323:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     9324:   case $ac_top_builddir_sub in
                   9325:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   9326:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   9327:   esac ;;
                   9328: esac
                   9329: ac_abs_top_builddir=$ac_pwd
                   9330: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   9331: # for backward compatibility:
                   9332: ac_top_builddir=$ac_top_build_prefix
                   9333: 
                   9334: case $srcdir in
                   9335:   .)  # We are building in place.
                   9336:     ac_srcdir=.
                   9337:     ac_top_srcdir=$ac_top_builddir_sub
                   9338:     ac_abs_top_srcdir=$ac_pwd ;;
                   9339:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   9340:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9341:     ac_top_srcdir=$srcdir
                   9342:     ac_abs_top_srcdir=$srcdir ;;
                   9343:   *) # Relative name.
                   9344:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   9345:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   9346:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   9347: esac
                   9348: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   9349: 
                   9350: 
                   9351:   case $ac_mode in
                   9352:   :F)
                   9353:   #
                   9354:   # CONFIG_FILE
                   9355:   #
                   9356: 
1.1.1.3   root     9357:   case $INSTALL in
                   9358:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   9359:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   9360:   esac
1.1       root     9361: _ACEOF
                   9362: 
                   9363: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9364: # If the template does not know about datarootdir, expand it.
                   9365: # FIXME: This hack should be removed a few years after 2.60.
                   9366: ac_datarootdir_hack=; ac_datarootdir_seen=
                   9367: ac_sed_dataroot='
                   9368: /datarootdir/ {
                   9369:   p
                   9370:   q
                   9371: }
                   9372: /@datadir@/p
                   9373: /@docdir@/p
                   9374: /@infodir@/p
                   9375: /@localedir@/p
                   9376: /@mandir@/p'
                   9377: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   9378: *datarootdir*) ac_datarootdir_seen=yes;;
                   9379: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.10  root     9380:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   9381: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       root     9382: _ACEOF
                   9383: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9384:   ac_datarootdir_hack='
                   9385:   s&@datadir@&$datadir&g
                   9386:   s&@docdir@&$docdir&g
                   9387:   s&@infodir@&$infodir&g
                   9388:   s&@localedir@&$localedir&g
                   9389:   s&@mandir@&$mandir&g
                   9390:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   9391: esac
                   9392: _ACEOF
                   9393: 
1.1.1.15  root     9394: # Neutralize VPATH when '$srcdir' = '.'.
1.1       root     9395: # Shell code in configure.ac might set extrasub.
                   9396: # FIXME: do we really want to maintain this feature?
                   9397: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9398: ac_sed_extra="$ac_vpsub
                   9399: $extrasub
                   9400: _ACEOF
                   9401: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9402: :t
                   9403: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   9404: s|@configure_input@|$ac_sed_conf_input|;t t
                   9405: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   9406: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   9407: s&@srcdir@&$ac_srcdir&;t t
                   9408: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   9409: s&@top_srcdir@&$ac_top_srcdir&;t t
                   9410: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   9411: s&@builddir@&$ac_builddir&;t t
                   9412: s&@abs_builddir@&$ac_abs_builddir&;t t
                   9413: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.3   root     9414: s&@INSTALL@&$ac_INSTALL&;t t
1.1       root     9415: $ac_datarootdir_hack
                   9416: "
                   9417: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   9418:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9419: 
                   9420: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   9421:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   9422:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   9423:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.1.15  root     9424:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9425: which seems to be undefined.  Please make sure it is defined" >&5
1.1.1.15  root     9426: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.1       root     9427: which seems to be undefined.  Please make sure it is defined" >&2;}
                   9428: 
                   9429:   rm -f "$ac_tmp/stdin"
                   9430:   case $ac_file in
                   9431:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   9432:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   9433:   esac \
                   9434:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9435:  ;;
                   9436:   :H)
                   9437:   #
                   9438:   # CONFIG_HEADER
                   9439:   #
                   9440:   if test x"$ac_file" != x-; then
                   9441:     {
1.1.1.10  root     9442:       printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9443:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   9444:     } >"$ac_tmp/config.h" \
                   9445:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9446:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.1.10  root     9447:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   9448: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.1       root     9449:     else
                   9450:       rm -f "$ac_file"
                   9451:       mv "$ac_tmp/config.h" "$ac_file" \
                   9452:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   9453:     fi
                   9454:   else
1.1.1.10  root     9455:     printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     9456:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   9457:       || as_fn_error $? "could not create -" "$LINENO" 5
                   9458:   fi
                   9459:  ;;
                   9460: 
                   9461: 
                   9462:   esac
                   9463: 
                   9464: done # for ac_tag
                   9465: 
                   9466: 
                   9467: as_fn_exit 0
                   9468: _ACEOF
                   9469: ac_clean_files=$ac_clean_files_save
                   9470: 
                   9471: test $ac_write_fail = 0 ||
                   9472:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   9473: 
                   9474: 
                   9475: # configure is writing to config.log, and then calls config.status.
                   9476: # config.status does its own redirection, appending to config.log.
                   9477: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9478: # by configure, so config.status won't be able to write to it; its
                   9479: # output is simply discarded.  So we exec the FD to /dev/null,
                   9480: # effectively closing config.log, so it can be properly (re)opened and
                   9481: # appended to by config.status.  When coming back to configure, we
                   9482: # need to make the FD available again.
                   9483: if test "$no_create" != yes; then
                   9484:   ac_cs_success=:
                   9485:   ac_config_status_args=
                   9486:   test "$silent" = yes &&
                   9487:     ac_config_status_args="$ac_config_status_args --quiet"
                   9488:   exec 5>/dev/null
                   9489:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9490:   exec 5>>config.log
                   9491:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9492:   # would make configure fail if this is the last instruction.
                   9493:   $ac_cs_success || as_fn_exit 1
                   9494: fi
                   9495: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.10  root     9496:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   9497: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       root     9498: fi
                   9499: 
1.1.1.10  root     9500: 

unix.superglobalmegacorp.com

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