Annotation of nono/configure, revision 1.1.1.10

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.10! root        3: # Generated by GNU Autoconf 2.71 for nono 0.0.
1.1       root        4: #
                      5: #
1.1.1.10! root        6: # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
        !             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: as_nop=:
        !            19: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !            20: then :
1.1       root       21:   emulate sh
                     22:   NULLCMD=:
                     23:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     24:   # is contrary to our usage.  Disable this feature.
                     25:   alias -g '${1+"$@"}'='"$@"'
                     26:   setopt NO_GLOB_SUBST
1.1.1.10! root       27: else $as_nop
1.1       root       28:   case `(set -o) 2>/dev/null` in #(
                     29:   *posix*) :
                     30:     set -o posix ;; #(
                     31:   *) :
                     32:      ;;
                     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
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    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
                    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.10! root      141:   as_bourne_compatible="as_nop=:
        !           142: if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !           143: then :
1.1       root      144:   emulate sh
                    145:   NULLCMD=:
                    146:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    147:   # is contrary to our usage.  Disable this feature.
                    148:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    149:   setopt NO_GLOB_SUBST
1.1.1.10! root      150: else \$as_nop
1.1       root      151:   case \`(set -o) 2>/dev/null\` in #(
                    152:   *posix*) :
                    153:     set -o posix ;; #(
                    154:   *) :
                    155:      ;;
                    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.10! root      173: else \$as_nop
1.1       root      174:   exitcode=1; echo positional parameters were not saved.
                    175: fi
                    176: test x\$exitcode = x0 || exit 1
1.1.1.10! root      177: blah=\$(echo \$(echo blah))
        !           178: test x\"\$blah\" = xblah || exit 1
1.1       root      179: test -x / || exit 1"
                    180:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    181:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    182:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1.1.1.10! root      183:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
        !           184:   if (eval "$as_required") 2>/dev/null
        !           185: then :
1.1       root      186:   as_have_required=yes
1.1.1.10! root      187: else $as_nop
1.1       root      188:   as_have_required=no
                    189: fi
1.1.1.10! root      190:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
        !           191: then :
1.1       root      192: 
1.1.1.10! root      193: else $as_nop
1.1       root      194:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    195: as_found=false
                    196: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    197: do
                    198:   IFS=$as_save_IFS
1.1.1.10! root      199:   case $as_dir in #(((
        !           200:     '') as_dir=./ ;;
        !           201:     */) ;;
        !           202:     *) as_dir=$as_dir/ ;;
        !           203:   esac
1.1       root      204:   as_found=:
                    205:   case $as_dir in #(
                    206:         /*)
                    207:           for as_base in sh bash ksh sh5; do
                    208:             # Try only shells that exist, to save several forks.
1.1.1.10! root      209:             as_shell=$as_dir$as_base
1.1       root      210:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1.1.1.10! root      211:                    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
        !           212: then :
1.1       root      213:   CONFIG_SHELL=$as_shell as_have_required=yes
1.1.1.10! root      214:                   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
        !           215: then :
1.1       root      216:   break 2
                    217: fi
                    218: fi
                    219:           done;;
                    220:        esac
                    221:   as_found=false
                    222: done
                    223: IFS=$as_save_IFS
1.1.1.10! root      224: if $as_found
        !           225: then :
        !           226: 
        !           227: else $as_nop
        !           228:   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           229:              as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
        !           230: then :
        !           231:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           232: fi
        !           233: fi
1.1       root      234: 
                    235: 
1.1.1.10! root      236:       if test "x$CONFIG_SHELL" != x
        !           237: then :
1.1       root      238:   export CONFIG_SHELL
                    239:              # We cannot yet assume a decent shell, so we have to provide a
                    240: # neutralization value for shells without unset; and this also
                    241: # works around shells that cannot unset nonexistent variables.
                    242: # Preserve -v and -x to the replacement shell.
                    243: BASH_ENV=/dev/null
                    244: ENV=/dev/null
                    245: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    246: case $- in # ((((
                    247:   *v*x* | *x*v* ) as_opts=-vx ;;
                    248:   *v* ) as_opts=-v ;;
                    249:   *x* ) as_opts=-x ;;
                    250:   * ) as_opts= ;;
                    251: esac
                    252: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    253: # Admittedly, this is quite paranoid, since all the known shells bail
                    254: # out after a failed `exec'.
1.1.1.10! root      255: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1.1       root      256: exit 255
                    257: fi
                    258: 
1.1.1.10! root      259:     if test x$as_have_required = xno
        !           260: then :
        !           261:   printf "%s\n" "$0: This script requires a shell more modern than all"
        !           262:   printf "%s\n" "$0: the shells that I found on your system."
        !           263:   if test ${ZSH_VERSION+y} ; then
        !           264:     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           265:     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
1.1       root      266:   else
1.1.1.10! root      267:     printf "%s\n" "$0: Please tell [email protected] about your system,
1.1       root      268: $0: including any error possibly output before this
                    269: $0: message. Then install a modern shell, or manually run
                    270: $0: the script under such a shell if you do have one."
                    271:   fi
                    272:   exit 1
                    273: fi
                    274: fi
                    275: fi
                    276: SHELL=${CONFIG_SHELL-/bin/sh}
                    277: export SHELL
                    278: # Unset more variables known to interfere with behavior of common tools.
                    279: CLICOLOR_FORCE= GREP_OPTIONS=
                    280: unset CLICOLOR_FORCE GREP_OPTIONS
                    281: 
                    282: ## --------------------- ##
                    283: ## M4sh Shell Functions. ##
                    284: ## --------------------- ##
                    285: # as_fn_unset VAR
                    286: # ---------------
                    287: # Portably unset VAR.
                    288: as_fn_unset ()
                    289: {
                    290:   { eval $1=; unset $1;}
                    291: }
                    292: as_unset=as_fn_unset
                    293: 
1.1.1.10! root      294: 
1.1       root      295: # as_fn_set_status STATUS
                    296: # -----------------------
                    297: # Set $? to STATUS, without forking.
                    298: as_fn_set_status ()
                    299: {
                    300:   return $1
                    301: } # as_fn_set_status
                    302: 
                    303: # as_fn_exit STATUS
                    304: # -----------------
                    305: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    306: as_fn_exit ()
                    307: {
                    308:   set +e
                    309:   as_fn_set_status $1
                    310:   exit $1
                    311: } # as_fn_exit
1.1.1.10! root      312: # as_fn_nop
        !           313: # ---------
        !           314: # Do nothing but, unlike ":", preserve the value of $?.
        !           315: as_fn_nop ()
        !           316: {
        !           317:   return $?
        !           318: }
        !           319: as_nop=as_fn_nop
1.1       root      320: 
                    321: # as_fn_mkdir_p
                    322: # -------------
                    323: # Create "$as_dir" as a directory, including parents if necessary.
                    324: as_fn_mkdir_p ()
                    325: {
                    326: 
                    327:   case $as_dir in #(
                    328:   -*) as_dir=./$as_dir;;
                    329:   esac
                    330:   test -d "$as_dir" || eval $as_mkdir_p || {
                    331:     as_dirs=
                    332:     while :; do
                    333:       case $as_dir in #(
1.1.1.10! root      334:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root      335:       *) as_qdir=$as_dir;;
                    336:       esac
                    337:       as_dirs="'$as_qdir' $as_dirs"
                    338:       as_dir=`$as_dirname -- "$as_dir" ||
                    339: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    340:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    341:         X"$as_dir" : 'X\(//\)$' \| \
                    342:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root      343: printf "%s\n" X"$as_dir" |
1.1       root      344:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    345:            s//\1/
                    346:            q
                    347:          }
                    348:          /^X\(\/\/\)[^/].*/{
                    349:            s//\1/
                    350:            q
                    351:          }
                    352:          /^X\(\/\/\)$/{
                    353:            s//\1/
                    354:            q
                    355:          }
                    356:          /^X\(\/\).*/{
                    357:            s//\1/
                    358:            q
                    359:          }
                    360:          s/.*/./; q'`
                    361:       test -d "$as_dir" && break
                    362:     done
                    363:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    364:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    365: 
                    366: 
                    367: } # as_fn_mkdir_p
                    368: 
                    369: # as_fn_executable_p FILE
                    370: # -----------------------
                    371: # Test if FILE is an executable regular file.
                    372: as_fn_executable_p ()
                    373: {
                    374:   test -f "$1" && test -x "$1"
                    375: } # as_fn_executable_p
                    376: # as_fn_append VAR VALUE
                    377: # ----------------------
                    378: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    379: # advantage of any shell optimizations that allow amortized linear growth over
                    380: # repeated appends, instead of the typical quadratic growth present in naive
                    381: # implementations.
1.1.1.10! root      382: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
        !           383: then :
1.1       root      384:   eval 'as_fn_append ()
                    385:   {
                    386:     eval $1+=\$2
                    387:   }'
1.1.1.10! root      388: else $as_nop
1.1       root      389:   as_fn_append ()
                    390:   {
                    391:     eval $1=\$$1\$2
                    392:   }
                    393: fi # as_fn_append
                    394: 
                    395: # as_fn_arith ARG...
                    396: # ------------------
                    397: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    398: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    399: # must be portable across $(()) and expr.
1.1.1.10! root      400: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
        !           401: then :
1.1       root      402:   eval 'as_fn_arith ()
                    403:   {
                    404:     as_val=$(( $* ))
                    405:   }'
1.1.1.10! root      406: else $as_nop
1.1       root      407:   as_fn_arith ()
                    408:   {
                    409:     as_val=`expr "$@" || test $? -eq 1`
                    410:   }
                    411: fi # as_fn_arith
                    412: 
1.1.1.10! root      413: # as_fn_nop
        !           414: # ---------
        !           415: # Do nothing but, unlike ":", preserve the value of $?.
        !           416: as_fn_nop ()
        !           417: {
        !           418:   return $?
        !           419: }
        !           420: as_nop=as_fn_nop
1.1       root      421: 
                    422: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    423: # ----------------------------------------
                    424: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    425: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    426: # script with STATUS, using 1 if that was 0.
                    427: as_fn_error ()
                    428: {
                    429:   as_status=$1; test $as_status -eq 0 && as_status=1
                    430:   if test "$4"; then
                    431:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root      432:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root      433:   fi
1.1.1.10! root      434:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root      435:   as_fn_exit $as_status
                    436: } # as_fn_error
                    437: 
                    438: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    439:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    440:   as_expr=expr
                    441: else
                    442:   as_expr=false
                    443: fi
                    444: 
                    445: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    446:   as_basename=basename
                    447: else
                    448:   as_basename=false
                    449: fi
                    450: 
                    451: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    452:   as_dirname=dirname
                    453: else
                    454:   as_dirname=false
                    455: fi
                    456: 
                    457: as_me=`$as_basename -- "$0" ||
                    458: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    459:         X"$0" : 'X\(//\)$' \| \
                    460:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root      461: printf "%s\n" X/"$0" |
1.1       root      462:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    463:            s//\1/
                    464:            q
                    465:          }
                    466:          /^X\/\(\/\/\)$/{
                    467:            s//\1/
                    468:            q
                    469:          }
                    470:          /^X\/\(\/\).*/{
                    471:            s//\1/
                    472:            q
                    473:          }
                    474:          s/.*/./; q'`
                    475: 
                    476: # Avoid depending upon Character Ranges.
                    477: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    478: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    479: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    480: as_cr_digits='0123456789'
                    481: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    482: 
                    483: 
                    484:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    485:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    486:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    487:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    488:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    489:   sed -n '
                    490:     p
                    491:     /[$]LINENO/=
                    492:   ' <$as_myself |
                    493:     sed '
                    494:       s/[$]LINENO.*/&-/
                    495:       t lineno
                    496:       b
                    497:       :lineno
                    498:       N
                    499:       :loop
                    500:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    501:       t loop
                    502:       s/-\n.*//
                    503:     ' >$as_me.lineno &&
                    504:   chmod +x "$as_me.lineno" ||
1.1.1.10! root      505:     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       root      506: 
                    507:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    508:   # already done that, so ensure we don't try to do so again and fall
                    509:   # in an infinite loop.  This has already happened in practice.
                    510:   _as_can_reexec=no; export _as_can_reexec
                    511:   # Don't try to exec as it changes $[0], causing all sort of problems
                    512:   # (the dirname of $[0] is not the place where we might find the
                    513:   # original and so on.  Autoconf is especially sensitive to this).
                    514:   . "./$as_me.lineno"
                    515:   # Exit status is that of the last command.
                    516:   exit
                    517: }
                    518: 
1.1.1.10! root      519: 
        !           520: # Determine whether it's possible to make 'echo' print without a newline.
        !           521: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
        !           522: # for compatibility with existing Makefiles.
1.1       root      523: ECHO_C= ECHO_N= ECHO_T=
                    524: case `echo -n x` in #(((((
                    525: -n*)
                    526:   case `echo 'xy\c'` in
                    527:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    528:   xy)  ECHO_C='\c';;
                    529:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    530:        ECHO_T='        ';;
                    531:   esac;;
                    532: *)
                    533:   ECHO_N='-n';;
                    534: esac
                    535: 
1.1.1.10! root      536: # For backward compatibility with old third-party macros, we provide
        !           537: # the shell variables $as_echo and $as_echo_n.  New code should use
        !           538: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
        !           539: as_echo='printf %s\n'
        !           540: as_echo_n='printf %s'
        !           541: 
        !           542: 
1.1       root      543: rm -f conf$$ conf$$.exe conf$$.file
                    544: if test -d conf$$.dir; then
                    545:   rm -f conf$$.dir/conf$$.file
                    546: else
                    547:   rm -f conf$$.dir
                    548:   mkdir conf$$.dir 2>/dev/null
                    549: fi
                    550: if (echo >conf$$.file) 2>/dev/null; then
                    551:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    552:     as_ln_s='ln -s'
                    553:     # ... but there are two gotchas:
                    554:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    555:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    556:     # In both cases, we have to default to `cp -pR'.
                    557:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    558:       as_ln_s='cp -pR'
                    559:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    560:     as_ln_s=ln
                    561:   else
                    562:     as_ln_s='cp -pR'
                    563:   fi
                    564: else
                    565:   as_ln_s='cp -pR'
                    566: fi
                    567: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    568: rmdir conf$$.dir 2>/dev/null
                    569: 
                    570: if mkdir -p . 2>/dev/null; then
                    571:   as_mkdir_p='mkdir -p "$as_dir"'
                    572: else
                    573:   test -d ./-p && rmdir ./-p
                    574:   as_mkdir_p=false
                    575: fi
                    576: 
                    577: as_test_x='test -x'
                    578: as_executable_p=as_fn_executable_p
                    579: 
                    580: # Sed expression to map a string onto a valid CPP name.
                    581: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    582: 
                    583: # Sed expression to map a string onto a valid variable name.
                    584: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    585: 
                    586: 
                    587: test -n "$DJDIR" || exec 7<&0 </dev/null
                    588: exec 6>&1
                    589: 
                    590: # Name of the host.
                    591: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    592: # so uname gets run too.
                    593: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    594: 
                    595: #
                    596: # Initializations.
                    597: #
                    598: ac_default_prefix=/usr/local
                    599: ac_clean_files=
                    600: ac_config_libobj_dir=.
                    601: LIBOBJS=
                    602: cross_compiling=no
                    603: subdirs=
                    604: MFLAGS=
                    605: MAKEFLAGS=
                    606: 
                    607: # Identity of this package.
1.1.1.3   root      608: PACKAGE_NAME='nono'
                    609: PACKAGE_TARNAME='nono'
1.1       root      610: PACKAGE_VERSION='0.0'
1.1.1.3   root      611: PACKAGE_STRING='nono 0.0'
1.1       root      612: PACKAGE_BUGREPORT=''
                    613: PACKAGE_URL=''
                    614: 
                    615: ac_unique_file="wx/wxapp.cpp"
                    616: # Factoring default headers for most tests.
                    617: ac_includes_default="\
1.1.1.10! root      618: #include <stddef.h>
        !           619: #ifdef HAVE_STDIO_H
        !           620: # include <stdio.h>
1.1       root      621: #endif
1.1.1.10! root      622: #ifdef HAVE_STDLIB_H
1.1       root      623: # include <stdlib.h>
                    624: #endif
                    625: #ifdef HAVE_STRING_H
                    626: # include <string.h>
                    627: #endif
                    628: #ifdef HAVE_INTTYPES_H
                    629: # include <inttypes.h>
                    630: #endif
                    631: #ifdef HAVE_STDINT_H
                    632: # include <stdint.h>
                    633: #endif
1.1.1.10! root      634: #ifdef HAVE_STRINGS_H
        !           635: # include <strings.h>
        !           636: #endif
        !           637: #ifdef HAVE_SYS_TYPES_H
        !           638: # include <sys/types.h>
        !           639: #endif
        !           640: #ifdef HAVE_SYS_STAT_H
        !           641: # include <sys/stat.h>
        !           642: #endif
1.1       root      643: #ifdef HAVE_UNISTD_H
                    644: # include <unistd.h>
                    645: #endif"
                    646: 
1.1.1.10! root      647: ac_header_cxx_list=
1.1       root      648: ac_subst_vars='LTLIBOBJS
                    649: LIBOBJS
1.1.1.5   root      650: MSGFMT
1.1       root      651: WXWIDGETS_LIBS
                    652: WXWIDGETS_CPPFLAGS
1.1.1.10! root      653: WITH_GUI
1.1.1.8   root      654: HOSTNET_BPF
                    655: HOSTNET_TAP
                    656: HOSTNET_AFPACKET
1.1.1.3   root      657: WARNFLAGS_CXX
                    658: WARNFLAGS_C
1.1.1.4   root      659: COMPILER
1.1.1.6   root      660: host_os
                    661: host_vendor
                    662: host_cpu
                    663: host
                    664: build_os
                    665: build_vendor
                    666: build_cpu
                    667: build
1.1.1.3   root      668: INSTALL_DATA
                    669: INSTALL_SCRIPT
                    670: INSTALL_PROGRAM
1.1       root      671: ac_ct_CC
                    672: CFLAGS
                    673: CC
                    674: OBJEXT
                    675: EXEEXT
                    676: ac_ct_CXX
                    677: CPPFLAGS
                    678: LDFLAGS
                    679: CXXFLAGS
                    680: CXX
                    681: target_alias
                    682: host_alias
                    683: build_alias
                    684: LIBS
                    685: ECHO_T
                    686: ECHO_N
                    687: ECHO_C
                    688: DEFS
                    689: mandir
                    690: localedir
                    691: libdir
                    692: psdir
                    693: pdfdir
                    694: dvidir
                    695: htmldir
                    696: infodir
                    697: docdir
                    698: oldincludedir
                    699: includedir
1.1.1.10! root      700: runstatedir
1.1       root      701: localstatedir
                    702: sharedstatedir
                    703: sysconfdir
                    704: datadir
                    705: datarootdir
                    706: libexecdir
                    707: sbindir
                    708: bindir
                    709: program_transform_name
                    710: prefix
                    711: exec_prefix
                    712: PACKAGE_URL
                    713: PACKAGE_BUGREPORT
                    714: PACKAGE_STRING
                    715: PACKAGE_VERSION
                    716: PACKAGE_TARNAME
                    717: PACKAGE_NAME
                    718: PATH_SEPARATOR
                    719: SHELL'
                    720: ac_subst_files=''
                    721: ac_user_opts='
                    722: enable_option_checking
1.1.1.10! root      723: with_gui
1.1       root      724: '
                    725:       ac_precious_vars='build_alias
                    726: host_alias
                    727: target_alias
                    728: CXX
                    729: CXXFLAGS
                    730: LDFLAGS
                    731: LIBS
                    732: CPPFLAGS
                    733: CCC
                    734: CC
1.1.1.10! root      735: CFLAGS'
1.1       root      736: 
                    737: 
                    738: # Initialize some variables set by options.
                    739: ac_init_help=
                    740: ac_init_version=false
                    741: ac_unrecognized_opts=
                    742: ac_unrecognized_sep=
                    743: # The variables have the same names as the options, with
                    744: # dashes changed to underlines.
                    745: cache_file=/dev/null
                    746: exec_prefix=NONE
                    747: no_create=
                    748: no_recursion=
                    749: prefix=NONE
                    750: program_prefix=NONE
                    751: program_suffix=NONE
                    752: program_transform_name=s,x,x,
                    753: silent=
                    754: site=
                    755: srcdir=
                    756: verbose=
                    757: x_includes=NONE
                    758: x_libraries=NONE
                    759: 
                    760: # Installation directory options.
                    761: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    762: # and all the variables that are supposed to be based on exec_prefix
                    763: # by default will actually change.
                    764: # Use braces instead of parens because sh, perl, etc. also accept them.
                    765: # (The list follows the same order as the GNU Coding Standards.)
                    766: bindir='${exec_prefix}/bin'
                    767: sbindir='${exec_prefix}/sbin'
                    768: libexecdir='${exec_prefix}/libexec'
                    769: datarootdir='${prefix}/share'
                    770: datadir='${datarootdir}'
                    771: sysconfdir='${prefix}/etc'
                    772: sharedstatedir='${prefix}/com'
                    773: localstatedir='${prefix}/var'
1.1.1.10! root      774: runstatedir='${localstatedir}/run'
1.1       root      775: includedir='${prefix}/include'
                    776: oldincludedir='/usr/include'
                    777: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    778: infodir='${datarootdir}/info'
                    779: htmldir='${docdir}'
                    780: dvidir='${docdir}'
                    781: pdfdir='${docdir}'
                    782: psdir='${docdir}'
                    783: libdir='${exec_prefix}/lib'
                    784: localedir='${datarootdir}/locale'
                    785: mandir='${datarootdir}/man'
                    786: 
                    787: ac_prev=
                    788: ac_dashdash=
                    789: for ac_option
                    790: do
                    791:   # If the previous option needs an argument, assign it.
                    792:   if test -n "$ac_prev"; then
                    793:     eval $ac_prev=\$ac_option
                    794:     ac_prev=
                    795:     continue
                    796:   fi
                    797: 
                    798:   case $ac_option in
                    799:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    800:   *=)   ac_optarg= ;;
                    801:   *)    ac_optarg=yes ;;
                    802:   esac
                    803: 
                    804:   case $ac_dashdash$ac_option in
                    805:   --)
                    806:     ac_dashdash=yes ;;
                    807: 
                    808:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    809:     ac_prev=bindir ;;
                    810:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    811:     bindir=$ac_optarg ;;
                    812: 
                    813:   -build | --build | --buil | --bui | --bu)
                    814:     ac_prev=build_alias ;;
                    815:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    816:     build_alias=$ac_optarg ;;
                    817: 
                    818:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    819:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    820:     ac_prev=cache_file ;;
                    821:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    822:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    823:     cache_file=$ac_optarg ;;
                    824: 
                    825:   --config-cache | -C)
                    826:     cache_file=config.cache ;;
                    827: 
                    828:   -datadir | --datadir | --datadi | --datad)
                    829:     ac_prev=datadir ;;
                    830:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    831:     datadir=$ac_optarg ;;
                    832: 
                    833:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    834:   | --dataroo | --dataro | --datar)
                    835:     ac_prev=datarootdir ;;
                    836:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    837:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    838:     datarootdir=$ac_optarg ;;
                    839: 
                    840:   -disable-* | --disable-*)
                    841:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    842:     # Reject names that are not valid shell variable names.
                    843:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.10! root      844:       as_fn_error $? "invalid feature name: \`$ac_useropt'"
1.1       root      845:     ac_useropt_orig=$ac_useropt
1.1.1.10! root      846:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      847:     case $ac_user_opts in
                    848:       *"
                    849: "enable_$ac_useropt"
                    850: "*) ;;
                    851:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    852:         ac_unrecognized_sep=', ';;
                    853:     esac
                    854:     eval enable_$ac_useropt=no ;;
                    855: 
                    856:   -docdir | --docdir | --docdi | --doc | --do)
                    857:     ac_prev=docdir ;;
                    858:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    859:     docdir=$ac_optarg ;;
                    860: 
                    861:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    862:     ac_prev=dvidir ;;
                    863:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    864:     dvidir=$ac_optarg ;;
                    865: 
                    866:   -enable-* | --enable-*)
                    867:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    868:     # Reject names that are not valid shell variable names.
                    869:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.10! root      870:       as_fn_error $? "invalid feature name: \`$ac_useropt'"
1.1       root      871:     ac_useropt_orig=$ac_useropt
1.1.1.10! root      872:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root      873:     case $ac_user_opts in
                    874:       *"
                    875: "enable_$ac_useropt"
                    876: "*) ;;
                    877:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    878:         ac_unrecognized_sep=', ';;
                    879:     esac
                    880:     eval enable_$ac_useropt=\$ac_optarg ;;
                    881: 
                    882:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    883:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    884:   | --exec | --exe | --ex)
                    885:     ac_prev=exec_prefix ;;
                    886:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    887:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    888:   | --exec=* | --exe=* | --ex=*)
                    889:     exec_prefix=$ac_optarg ;;
                    890: 
                    891:   -gas | --gas | --ga | --g)
                    892:     # Obsolete; use --with-gas.
                    893:     with_gas=yes ;;
                    894: 
                    895:   -help | --help | --hel | --he | -h)
                    896:     ac_init_help=long ;;
                    897:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    898:     ac_init_help=recursive ;;
                    899:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    900:     ac_init_help=short ;;
                    901: 
                    902:   -host | --host | --hos | --ho)
                    903:     ac_prev=host_alias ;;
                    904:   -host=* | --host=* | --hos=* | --ho=*)
                    905:     host_alias=$ac_optarg ;;
                    906: 
                    907:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    908:     ac_prev=htmldir ;;
                    909:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    910:   | --ht=*)
                    911:     htmldir=$ac_optarg ;;
                    912: 
                    913:   -includedir | --includedir | --includedi | --included | --include \
                    914:   | --includ | --inclu | --incl | --inc)
                    915:     ac_prev=includedir ;;
                    916:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    917:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    918:     includedir=$ac_optarg ;;
                    919: 
                    920:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    921:     ac_prev=infodir ;;
                    922:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    923:     infodir=$ac_optarg ;;
                    924: 
                    925:   -libdir | --libdir | --libdi | --libd)
                    926:     ac_prev=libdir ;;
                    927:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    928:     libdir=$ac_optarg ;;
                    929: 
                    930:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    931:   | --libexe | --libex | --libe)
                    932:     ac_prev=libexecdir ;;
                    933:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    934:   | --libexe=* | --libex=* | --libe=*)
                    935:     libexecdir=$ac_optarg ;;
                    936: 
                    937:   -localedir | --localedir | --localedi | --localed | --locale)
                    938:     ac_prev=localedir ;;
                    939:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    940:     localedir=$ac_optarg ;;
                    941: 
                    942:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    943:   | --localstate | --localstat | --localsta | --localst | --locals)
                    944:     ac_prev=localstatedir ;;
                    945:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    946:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    947:     localstatedir=$ac_optarg ;;
                    948: 
                    949:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    950:     ac_prev=mandir ;;
                    951:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    952:     mandir=$ac_optarg ;;
                    953: 
                    954:   -nfp | --nfp | --nf)
                    955:     # Obsolete; use --without-fp.
                    956:     with_fp=no ;;
                    957: 
                    958:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    959:   | --no-cr | --no-c | -n)
                    960:     no_create=yes ;;
                    961: 
                    962:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    963:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    964:     no_recursion=yes ;;
                    965: 
                    966:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    967:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    968:   | --oldin | --oldi | --old | --ol | --o)
                    969:     ac_prev=oldincludedir ;;
                    970:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    971:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    972:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    973:     oldincludedir=$ac_optarg ;;
                    974: 
                    975:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    976:     ac_prev=prefix ;;
                    977:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    978:     prefix=$ac_optarg ;;
                    979: 
                    980:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    981:   | --program-pre | --program-pr | --program-p)
                    982:     ac_prev=program_prefix ;;
                    983:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    984:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    985:     program_prefix=$ac_optarg ;;
                    986: 
                    987:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    988:   | --program-suf | --program-su | --program-s)
                    989:     ac_prev=program_suffix ;;
                    990:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    991:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    992:     program_suffix=$ac_optarg ;;
                    993: 
                    994:   -program-transform-name | --program-transform-name \
                    995:   | --program-transform-nam | --program-transform-na \
                    996:   | --program-transform-n | --program-transform- \
                    997:   | --program-transform | --program-transfor \
                    998:   | --program-transfo | --program-transf \
                    999:   | --program-trans | --program-tran \
                   1000:   | --progr-tra | --program-tr | --program-t)
                   1001:     ac_prev=program_transform_name ;;
                   1002:   -program-transform-name=* | --program-transform-name=* \
                   1003:   | --program-transform-nam=* | --program-transform-na=* \
                   1004:   | --program-transform-n=* | --program-transform-=* \
                   1005:   | --program-transform=* | --program-transfor=* \
                   1006:   | --program-transfo=* | --program-transf=* \
                   1007:   | --program-trans=* | --program-tran=* \
                   1008:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1009:     program_transform_name=$ac_optarg ;;
                   1010: 
                   1011:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1012:     ac_prev=pdfdir ;;
                   1013:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1014:     pdfdir=$ac_optarg ;;
                   1015: 
                   1016:   -psdir | --psdir | --psdi | --psd | --ps)
                   1017:     ac_prev=psdir ;;
                   1018:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1019:     psdir=$ac_optarg ;;
                   1020: 
                   1021:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1022:   | -silent | --silent | --silen | --sile | --sil)
                   1023:     silent=yes ;;
                   1024: 
1.1.1.10! root     1025:   -runstatedir | --runstatedir | --runstatedi | --runstated \
        !          1026:   | --runstate | --runstat | --runsta | --runst | --runs \
        !          1027:   | --run | --ru | --r)
        !          1028:     ac_prev=runstatedir ;;
        !          1029:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
        !          1030:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
        !          1031:   | --run=* | --ru=* | --r=*)
        !          1032:     runstatedir=$ac_optarg ;;
        !          1033: 
1.1       root     1034:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1035:     ac_prev=sbindir ;;
                   1036:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1037:   | --sbi=* | --sb=*)
                   1038:     sbindir=$ac_optarg ;;
                   1039: 
                   1040:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1041:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1042:   | --sharedst | --shareds | --shared | --share | --shar \
                   1043:   | --sha | --sh)
                   1044:     ac_prev=sharedstatedir ;;
                   1045:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1046:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1047:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1048:   | --sha=* | --sh=*)
                   1049:     sharedstatedir=$ac_optarg ;;
                   1050: 
                   1051:   -site | --site | --sit)
                   1052:     ac_prev=site ;;
                   1053:   -site=* | --site=* | --sit=*)
                   1054:     site=$ac_optarg ;;
                   1055: 
                   1056:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1057:     ac_prev=srcdir ;;
                   1058:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1059:     srcdir=$ac_optarg ;;
                   1060: 
                   1061:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1062:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1063:     ac_prev=sysconfdir ;;
                   1064:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1065:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1066:     sysconfdir=$ac_optarg ;;
                   1067: 
                   1068:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1069:     ac_prev=target_alias ;;
                   1070:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1071:     target_alias=$ac_optarg ;;
                   1072: 
                   1073:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1074:     verbose=yes ;;
                   1075: 
                   1076:   -version | --version | --versio | --versi | --vers | -V)
                   1077:     ac_init_version=: ;;
                   1078: 
                   1079:   -with-* | --with-*)
                   1080:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1081:     # Reject names that are not valid shell variable names.
                   1082:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.10! root     1083:       as_fn_error $? "invalid package name: \`$ac_useropt'"
1.1       root     1084:     ac_useropt_orig=$ac_useropt
1.1.1.10! root     1085:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1086:     case $ac_user_opts in
                   1087:       *"
                   1088: "with_$ac_useropt"
                   1089: "*) ;;
                   1090:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1091:         ac_unrecognized_sep=', ';;
                   1092:     esac
                   1093:     eval with_$ac_useropt=\$ac_optarg ;;
                   1094: 
                   1095:   -without-* | --without-*)
                   1096:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1097:     # Reject names that are not valid shell variable names.
                   1098:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.10! root     1099:       as_fn_error $? "invalid package name: \`$ac_useropt'"
1.1       root     1100:     ac_useropt_orig=$ac_useropt
1.1.1.10! root     1101:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.1       root     1102:     case $ac_user_opts in
                   1103:       *"
                   1104: "with_$ac_useropt"
                   1105: "*) ;;
                   1106:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1107:         ac_unrecognized_sep=', ';;
                   1108:     esac
                   1109:     eval with_$ac_useropt=no ;;
                   1110: 
                   1111:   --x)
                   1112:     # Obsolete; use --with-x.
                   1113:     with_x=yes ;;
                   1114: 
                   1115:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1116:   | --x-incl | --x-inc | --x-in | --x-i)
                   1117:     ac_prev=x_includes ;;
                   1118:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1119:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1120:     x_includes=$ac_optarg ;;
                   1121: 
                   1122:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1123:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1124:     ac_prev=x_libraries ;;
                   1125:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1126:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1127:     x_libraries=$ac_optarg ;;
                   1128: 
                   1129:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1130: Try \`$0 --help' for more information"
                   1131:     ;;
                   1132: 
                   1133:   *=*)
                   1134:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1135:     # Reject names that are not valid shell variable names.
                   1136:     case $ac_envvar in #(
                   1137:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1138:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1139:     esac
                   1140:     eval $ac_envvar=\$ac_optarg
                   1141:     export $ac_envvar ;;
                   1142: 
                   1143:   *)
                   1144:     # FIXME: should be removed in autoconf 3.0.
1.1.1.10! root     1145:     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       root     1146:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.10! root     1147:       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1       root     1148:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1149:     ;;
                   1150: 
                   1151:   esac
                   1152: done
                   1153: 
                   1154: if test -n "$ac_prev"; then
                   1155:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1156:   as_fn_error $? "missing argument to $ac_option"
                   1157: fi
                   1158: 
                   1159: if test -n "$ac_unrecognized_opts"; then
                   1160:   case $enable_option_checking in
                   1161:     no) ;;
                   1162:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1.1.10! root     1163:     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       root     1164:   esac
                   1165: fi
                   1166: 
                   1167: # Check all directory arguments for consistency.
                   1168: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1169:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1170:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.10! root     1171:                libdir localedir mandir runstatedir
1.1       root     1172: do
                   1173:   eval ac_val=\$$ac_var
                   1174:   # Remove trailing slashes.
                   1175:   case $ac_val in
                   1176:     */ )
                   1177:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1178:       eval $ac_var=\$ac_val;;
                   1179:   esac
                   1180:   # Be sure to have absolute directory names.
                   1181:   case $ac_val in
                   1182:     [\\/$]* | ?:[\\/]* )  continue;;
                   1183:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1184:   esac
                   1185:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1186: done
                   1187: 
                   1188: # There might be people who depend on the old broken behavior: `$host'
                   1189: # used to hold the argument of --host etc.
                   1190: # FIXME: To remove some day.
                   1191: build=$build_alias
                   1192: host=$host_alias
                   1193: target=$target_alias
                   1194: 
                   1195: # FIXME: To remove some day.
                   1196: if test "x$host_alias" != x; then
                   1197:   if test "x$build_alias" = x; then
                   1198:     cross_compiling=maybe
                   1199:   elif test "x$build_alias" != "x$host_alias"; then
                   1200:     cross_compiling=yes
                   1201:   fi
                   1202: fi
                   1203: 
                   1204: ac_tool_prefix=
                   1205: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1206: 
                   1207: test "$silent" = yes && exec 6>/dev/null
                   1208: 
                   1209: 
                   1210: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1211: ac_ls_di=`ls -di .` &&
                   1212: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1213:   as_fn_error $? "working directory cannot be determined"
                   1214: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1215:   as_fn_error $? "pwd does not report name of working directory"
                   1216: 
                   1217: 
                   1218: # Find the source files, if location was not specified.
                   1219: if test -z "$srcdir"; then
                   1220:   ac_srcdir_defaulted=yes
                   1221:   # Try the directory containing this script, then the parent directory.
                   1222:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1223: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1224:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1225:         X"$as_myself" : 'X\(//\)$' \| \
                   1226:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root     1227: printf "%s\n" X"$as_myself" |
1.1       root     1228:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1229:            s//\1/
                   1230:            q
                   1231:          }
                   1232:          /^X\(\/\/\)[^/].*/{
                   1233:            s//\1/
                   1234:            q
                   1235:          }
                   1236:          /^X\(\/\/\)$/{
                   1237:            s//\1/
                   1238:            q
                   1239:          }
                   1240:          /^X\(\/\).*/{
                   1241:            s//\1/
                   1242:            q
                   1243:          }
                   1244:          s/.*/./; q'`
                   1245:   srcdir=$ac_confdir
                   1246:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1247:     srcdir=..
                   1248:   fi
                   1249: else
                   1250:   ac_srcdir_defaulted=no
                   1251: fi
                   1252: if test ! -r "$srcdir/$ac_unique_file"; then
                   1253:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1254:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1255: fi
                   1256: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1257: ac_abs_confdir=`(
                   1258:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1259:        pwd)`
                   1260: # When building in place, set srcdir=.
                   1261: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1262:   srcdir=.
                   1263: fi
                   1264: # Remove unnecessary trailing slashes from srcdir.
                   1265: # Double slashes in file names in object file debugging info
                   1266: # mess up M-x gdb in Emacs.
                   1267: case $srcdir in
                   1268: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1269: esac
                   1270: for ac_var in $ac_precious_vars; do
                   1271:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1272:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1273:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1274:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1275: done
                   1276: 
                   1277: #
                   1278: # Report the --help message.
                   1279: #
                   1280: if test "$ac_init_help" = "long"; then
                   1281:   # Omit some internal or obsolete options to make the list less imposing.
                   1282:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1283:   cat <<_ACEOF
1.1.1.3   root     1284: \`configure' configures nono 0.0 to adapt to many kinds of systems.
1.1       root     1285: 
                   1286: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1287: 
                   1288: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1289: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1290: 
                   1291: Defaults for the options are specified in brackets.
                   1292: 
                   1293: Configuration:
                   1294:   -h, --help              display this help and exit
                   1295:       --help=short        display options specific to this package
                   1296:       --help=recursive    display the short help of all the included packages
                   1297:   -V, --version           display version information and exit
                   1298:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1299:       --cache-file=FILE   cache test results in FILE [disabled]
                   1300:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1301:   -n, --no-create         do not create output files
                   1302:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1303: 
                   1304: Installation directories:
                   1305:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1306:                           [$ac_default_prefix]
                   1307:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1308:                           [PREFIX]
                   1309: 
                   1310: By default, \`make install' will install all the files in
                   1311: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1312: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1313: for instance \`--prefix=\$HOME'.
                   1314: 
                   1315: For better control, use the options below.
                   1316: 
                   1317: Fine tuning of the installation directories:
                   1318:   --bindir=DIR            user executables [EPREFIX/bin]
                   1319:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1320:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1321:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1322:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1323:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.10! root     1324:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1       root     1325:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1326:   --includedir=DIR        C header files [PREFIX/include]
                   1327:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1328:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1329:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1330:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1331:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1332:   --mandir=DIR            man documentation [DATAROOTDIR/man]
1.1.1.3   root     1333:   --docdir=DIR            documentation root [DATAROOTDIR/doc/nono]
1.1       root     1334:   --htmldir=DIR           html documentation [DOCDIR]
                   1335:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1336:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1337:   --psdir=DIR             ps documentation [DOCDIR]
                   1338: _ACEOF
                   1339: 
                   1340:   cat <<\_ACEOF
1.1.1.6   root     1341: 
                   1342: System types:
                   1343:   --build=BUILD     configure for building on BUILD [guessed]
                   1344:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1.1       root     1345: _ACEOF
                   1346: fi
                   1347: 
                   1348: if test -n "$ac_init_help"; then
                   1349:   case $ac_init_help in
1.1.1.3   root     1350:      short | recursive ) echo "Configuration of nono 0.0:";;
1.1       root     1351:    esac
                   1352:   cat <<\_ACEOF
                   1353: 
1.1.1.10! root     1354: Optional Packages:
        !          1355:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !          1356:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !          1357:   --without-gui           disable GUI support
        !          1358: 
1.1       root     1359: Some influential environment variables:
                   1360:   CXX         C++ compiler command
                   1361:   CXXFLAGS    C++ compiler flags
                   1362:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1363:               nonstandard directory <lib dir>
                   1364:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1365:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1366:               you have headers in a nonstandard directory <include dir>
                   1367:   CC          C compiler command
                   1368:   CFLAGS      C compiler flags
                   1369: 
                   1370: Use these variables to override the choices made by `configure' or to help
                   1371: it to find libraries and programs with nonstandard names/locations.
                   1372: 
                   1373: Report bugs to the package provider.
                   1374: _ACEOF
                   1375: ac_status=$?
                   1376: fi
                   1377: 
                   1378: if test "$ac_init_help" = "recursive"; then
                   1379:   # If there are subdirs, report their specific --help.
                   1380:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1381:     test -d "$ac_dir" ||
                   1382:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1383:       continue
                   1384:     ac_builddir=.
                   1385: 
                   1386: case "$ac_dir" in
                   1387: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1388: *)
1.1.1.10! root     1389:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     1390:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10! root     1391:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     1392:   case $ac_top_builddir_sub in
                   1393:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1394:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1395:   esac ;;
                   1396: esac
                   1397: ac_abs_top_builddir=$ac_pwd
                   1398: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1399: # for backward compatibility:
                   1400: ac_top_builddir=$ac_top_build_prefix
                   1401: 
                   1402: case $srcdir in
                   1403:   .)  # We are building in place.
                   1404:     ac_srcdir=.
                   1405:     ac_top_srcdir=$ac_top_builddir_sub
                   1406:     ac_abs_top_srcdir=$ac_pwd ;;
                   1407:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1408:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1409:     ac_top_srcdir=$srcdir
                   1410:     ac_abs_top_srcdir=$srcdir ;;
                   1411:   *) # Relative name.
                   1412:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1413:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1414:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1415: esac
                   1416: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1417: 
                   1418:     cd "$ac_dir" || { ac_status=$?; continue; }
1.1.1.10! root     1419:     # Check for configure.gnu first; this name is used for a wrapper for
        !          1420:     # Metaconfig's "Configure" on case-insensitive file systems.
1.1       root     1421:     if test -f "$ac_srcdir/configure.gnu"; then
                   1422:       echo &&
                   1423:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1424:     elif test -f "$ac_srcdir/configure"; then
                   1425:       echo &&
                   1426:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1427:     else
1.1.1.10! root     1428:       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       root     1429:     fi || ac_status=$?
                   1430:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1431:   done
                   1432: fi
                   1433: 
                   1434: test -n "$ac_init_help" && exit $ac_status
                   1435: if $ac_init_version; then
                   1436:   cat <<\_ACEOF
1.1.1.3   root     1437: nono configure 0.0
1.1.1.10! root     1438: generated by GNU Autoconf 2.71
1.1       root     1439: 
1.1.1.10! root     1440: Copyright (C) 2021 Free Software Foundation, Inc.
1.1       root     1441: This configure script is free software; the Free Software Foundation
                   1442: gives unlimited permission to copy, distribute and modify it.
                   1443: _ACEOF
                   1444:   exit
                   1445: fi
                   1446: 
                   1447: ## ------------------------ ##
                   1448: ## Autoconf initialization. ##
                   1449: ## ------------------------ ##
                   1450: 
                   1451: # ac_fn_cxx_try_compile LINENO
                   1452: # ----------------------------
                   1453: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1454: ac_fn_cxx_try_compile ()
                   1455: {
                   1456:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     1457:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1458:   if { { ac_try="$ac_compile"
                   1459: case "(($ac_try" in
                   1460:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1461:   *) ac_try_echo=$ac_try;;
                   1462: esac
                   1463: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     1464: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1465:   (eval "$ac_compile") 2>conftest.err
                   1466:   ac_status=$?
                   1467:   if test -s conftest.err; then
                   1468:     grep -v '^ *+' conftest.err >conftest.er1
                   1469:     cat conftest.er1 >&5
                   1470:     mv -f conftest.er1 conftest.err
                   1471:   fi
1.1.1.10! root     1472:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1473:   test $ac_status = 0; } && {
                   1474:         test -z "$ac_cxx_werror_flag" ||
                   1475:         test ! -s conftest.err
1.1.1.10! root     1476:        } && test -s conftest.$ac_objext
        !          1477: then :
1.1       root     1478:   ac_retval=0
1.1.1.10! root     1479: else $as_nop
        !          1480:   printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1481: sed 's/^/| /' conftest.$ac_ext >&5
                   1482: 
                   1483:        ac_retval=1
                   1484: fi
                   1485:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1486:   as_fn_set_status $ac_retval
                   1487: 
                   1488: } # ac_fn_cxx_try_compile
                   1489: 
                   1490: # ac_fn_c_try_compile LINENO
                   1491: # --------------------------
                   1492: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1493: ac_fn_c_try_compile ()
                   1494: {
                   1495:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     1496:   rm -f conftest.$ac_objext conftest.beam
1.1       root     1497:   if { { ac_try="$ac_compile"
                   1498: case "(($ac_try" in
                   1499:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1500:   *) ac_try_echo=$ac_try;;
                   1501: esac
                   1502: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     1503: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1504:   (eval "$ac_compile") 2>conftest.err
                   1505:   ac_status=$?
                   1506:   if test -s conftest.err; then
                   1507:     grep -v '^ *+' conftest.err >conftest.er1
                   1508:     cat conftest.er1 >&5
                   1509:     mv -f conftest.er1 conftest.err
                   1510:   fi
1.1.1.10! root     1511:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1512:   test $ac_status = 0; } && {
                   1513:         test -z "$ac_c_werror_flag" ||
                   1514:         test ! -s conftest.err
1.1.1.10! root     1515:        } && test -s conftest.$ac_objext
        !          1516: then :
1.1       root     1517:   ac_retval=0
1.1.1.10! root     1518: else $as_nop
        !          1519:   printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1520: sed 's/^/| /' conftest.$ac_ext >&5
                   1521: 
                   1522:        ac_retval=1
                   1523: fi
                   1524:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1525:   as_fn_set_status $ac_retval
                   1526: 
                   1527: } # ac_fn_c_try_compile
                   1528: 
1.1.1.10! root     1529: # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
        !          1530: # ---------------------------------------------------------
1.1       root     1531: # Tests whether HEADER exists and can be compiled using the include files in
                   1532: # INCLUDES, setting the cache variable VAR accordingly.
1.1.1.10! root     1533: ac_fn_cxx_check_header_compile ()
1.1       root     1534: {
                   1535:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     1536:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1537: printf %s "checking for $2... " >&6; }
        !          1538: if eval test \${$3+y}
        !          1539: then :
        !          1540:   printf %s "(cached) " >&6
        !          1541: else $as_nop
1.1       root     1542:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1543: /* end confdefs.h.  */
                   1544: $4
                   1545: #include <$2>
                   1546: _ACEOF
1.1.1.10! root     1547: if ac_fn_cxx_try_compile "$LINENO"
        !          1548: then :
1.1       root     1549:   eval "$3=yes"
1.1.1.10! root     1550: else $as_nop
1.1       root     1551:   eval "$3=no"
                   1552: fi
1.1.1.10! root     1553: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     1554: fi
                   1555: eval ac_res=\$$3
1.1.1.10! root     1556:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1557: printf "%s\n" "$ac_res" >&6; }
1.1       root     1558:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1559: 
1.1.1.10! root     1560: } # ac_fn_cxx_check_header_compile
1.1       root     1561: 
                   1562: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
                   1563: # ---------------------------------------------
                   1564: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1565: # variable VAR accordingly.
                   1566: ac_fn_cxx_check_type ()
                   1567: {
                   1568:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     1569:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1570: printf %s "checking for $2... " >&6; }
        !          1571: if eval test \${$3+y}
        !          1572: then :
        !          1573:   printf %s "(cached) " >&6
        !          1574: else $as_nop
1.1       root     1575:   eval "$3=no"
                   1576:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1577: /* end confdefs.h.  */
                   1578: $4
                   1579: int
1.1.1.10! root     1580: main (void)
1.1       root     1581: {
                   1582: if (sizeof ($2))
                   1583:         return 0;
                   1584:   ;
                   1585:   return 0;
                   1586: }
                   1587: _ACEOF
1.1.1.10! root     1588: if ac_fn_cxx_try_compile "$LINENO"
        !          1589: then :
1.1       root     1590:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1591: /* end confdefs.h.  */
                   1592: $4
                   1593: int
1.1.1.10! root     1594: main (void)
1.1       root     1595: {
                   1596: if (sizeof (($2)))
                   1597:            return 0;
                   1598:   ;
                   1599:   return 0;
                   1600: }
                   1601: _ACEOF
1.1.1.10! root     1602: if ac_fn_cxx_try_compile "$LINENO"
        !          1603: then :
1.1       root     1604: 
1.1.1.10! root     1605: else $as_nop
1.1       root     1606:   eval "$3=yes"
                   1607: fi
1.1.1.10! root     1608: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     1609: fi
1.1.1.10! root     1610: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     1611: fi
                   1612: eval ac_res=\$$3
1.1.1.10! root     1613:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1614: printf "%s\n" "$ac_res" >&6; }
1.1       root     1615:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1616: 
                   1617: } # ac_fn_cxx_check_type
                   1618: 
                   1619: # ac_fn_cxx_try_link LINENO
                   1620: # -------------------------
                   1621: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1622: ac_fn_cxx_try_link ()
                   1623: {
                   1624:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     1625:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.1       root     1626:   if { { ac_try="$ac_link"
                   1627: case "(($ac_try" in
                   1628:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1629:   *) ac_try_echo=$ac_try;;
                   1630: esac
                   1631: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     1632: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     1633:   (eval "$ac_link") 2>conftest.err
                   1634:   ac_status=$?
                   1635:   if test -s conftest.err; then
                   1636:     grep -v '^ *+' conftest.err >conftest.er1
                   1637:     cat conftest.er1 >&5
                   1638:     mv -f conftest.er1 conftest.err
                   1639:   fi
1.1.1.10! root     1640:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     1641:   test $ac_status = 0; } && {
                   1642:         test -z "$ac_cxx_werror_flag" ||
                   1643:         test ! -s conftest.err
                   1644:        } && test -s conftest$ac_exeext && {
                   1645:         test "$cross_compiling" = yes ||
                   1646:         test -x conftest$ac_exeext
1.1.1.10! root     1647:        }
        !          1648: then :
1.1       root     1649:   ac_retval=0
1.1.1.10! root     1650: else $as_nop
        !          1651:   printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     1652: sed 's/^/| /' conftest.$ac_ext >&5
                   1653: 
                   1654:        ac_retval=1
                   1655: fi
                   1656:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1657:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1658:   # interfere with the next link command; also delete a directory that is
                   1659:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1660:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1661:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1662:   as_fn_set_status $ac_retval
                   1663: 
                   1664: } # ac_fn_cxx_try_link
1.1.1.10! root     1665: ac_configure_args_raw=
        !          1666: for ac_arg
        !          1667: do
        !          1668:   case $ac_arg in
        !          1669:   *\'*)
        !          1670:     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1671:   esac
        !          1672:   as_fn_append ac_configure_args_raw " '$ac_arg'"
        !          1673: done
        !          1674: 
        !          1675: case $ac_configure_args_raw in
        !          1676:   *$as_nl*)
        !          1677:     ac_safe_unquote= ;;
        !          1678:   *)
        !          1679:     ac_unsafe_z='|&;<>()$`\\"*?[ ''    ' # This string ends in space, tab.
        !          1680:     ac_unsafe_a="$ac_unsafe_z#~"
        !          1681:     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
        !          1682:     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
        !          1683: esac
        !          1684: 
1.1       root     1685: cat >config.log <<_ACEOF
                   1686: This file contains any messages produced by compilers while
                   1687: running configure, to aid debugging if configure makes a mistake.
                   1688: 
1.1.1.3   root     1689: It was created by nono $as_me 0.0, which was
1.1.1.10! root     1690: generated by GNU Autoconf 2.71.  Invocation command line was
1.1       root     1691: 
1.1.1.10! root     1692:   $ $0$ac_configure_args_raw
1.1       root     1693: 
                   1694: _ACEOF
                   1695: exec 5>>config.log
                   1696: {
                   1697: cat <<_ASUNAME
                   1698: ## --------- ##
                   1699: ## Platform. ##
                   1700: ## --------- ##
                   1701: 
                   1702: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1703: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1704: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1705: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1706: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1707: 
                   1708: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1709: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1710: 
                   1711: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1712: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1713: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1714: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1715: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1716: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1717: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1718: 
                   1719: _ASUNAME
                   1720: 
                   1721: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1722: for as_dir in $PATH
                   1723: do
                   1724:   IFS=$as_save_IFS
1.1.1.10! root     1725:   case $as_dir in #(((
        !          1726:     '') as_dir=./ ;;
        !          1727:     */) ;;
        !          1728:     *) as_dir=$as_dir/ ;;
        !          1729:   esac
        !          1730:     printf "%s\n" "PATH: $as_dir"
1.1       root     1731:   done
                   1732: IFS=$as_save_IFS
                   1733: 
                   1734: } >&5
                   1735: 
                   1736: cat >&5 <<_ACEOF
                   1737: 
                   1738: 
                   1739: ## ----------- ##
                   1740: ## Core tests. ##
                   1741: ## ----------- ##
                   1742: 
                   1743: _ACEOF
                   1744: 
                   1745: 
                   1746: # Keep a trace of the command line.
                   1747: # Strip out --no-create and --no-recursion so they do not pile up.
                   1748: # Strip out --silent because we don't want to record it for future runs.
                   1749: # Also quote any args containing shell meta-characters.
                   1750: # Make two passes to allow for proper duplicate-argument suppression.
                   1751: ac_configure_args=
                   1752: ac_configure_args0=
                   1753: ac_configure_args1=
                   1754: ac_must_keep_next=false
                   1755: for ac_pass in 1 2
                   1756: do
                   1757:   for ac_arg
                   1758:   do
                   1759:     case $ac_arg in
                   1760:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1761:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1762:     | -silent | --silent | --silen | --sile | --sil)
                   1763:       continue ;;
                   1764:     *\'*)
1.1.1.10! root     1765:       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     1766:     esac
                   1767:     case $ac_pass in
                   1768:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   1769:     2)
                   1770:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   1771:       if test $ac_must_keep_next = true; then
                   1772:        ac_must_keep_next=false # Got value, back to normal.
                   1773:       else
                   1774:        case $ac_arg in
                   1775:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1776:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1777:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1778:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1779:            case "$ac_configure_args0 " in
                   1780:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1781:            esac
                   1782:            ;;
                   1783:          -* ) ac_must_keep_next=true ;;
                   1784:        esac
                   1785:       fi
                   1786:       as_fn_append ac_configure_args " '$ac_arg'"
                   1787:       ;;
                   1788:     esac
                   1789:   done
                   1790: done
                   1791: { ac_configure_args0=; unset ac_configure_args0;}
                   1792: { ac_configure_args1=; unset ac_configure_args1;}
                   1793: 
                   1794: # When interrupted or exit'd, cleanup temporary files, and complete
                   1795: # config.log.  We remove comments because anyway the quotes in there
                   1796: # would cause problems or look ugly.
                   1797: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1798: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   1799: trap 'exit_status=$?
1.1.1.10! root     1800:   # Sanitize IFS.
        !          1801:   IFS=" ""     $as_nl"
1.1       root     1802:   # Save into config.log some information that might help in debugging.
                   1803:   {
                   1804:     echo
                   1805: 
1.1.1.10! root     1806:     printf "%s\n" "## ---------------- ##
1.1       root     1807: ## Cache variables. ##
                   1808: ## ---------------- ##"
                   1809:     echo
                   1810:     # The following way of writing the cache mishandles newlines in values,
                   1811: (
                   1812:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1813:     eval ac_val=\$$ac_var
                   1814:     case $ac_val in #(
                   1815:     *${as_nl}*)
                   1816:       case $ac_var in #(
1.1.1.10! root     1817:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          1818: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     1819:       esac
                   1820:       case $ac_var in #(
                   1821:       _ | IFS | as_nl) ;; #(
                   1822:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   1823:       *) { eval $ac_var=; unset $ac_var;} ;;
                   1824:       esac ;;
                   1825:     esac
                   1826:   done
                   1827:   (set) 2>&1 |
                   1828:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1829:     *${as_nl}ac_space=\ *)
                   1830:       sed -n \
                   1831:        "s/'\''/'\''\\\\'\'''\''/g;
                   1832:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1833:       ;; #(
                   1834:     *)
                   1835:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   1836:       ;;
                   1837:     esac |
                   1838:     sort
                   1839: )
                   1840:     echo
                   1841: 
1.1.1.10! root     1842:     printf "%s\n" "## ----------------- ##
1.1       root     1843: ## Output variables. ##
                   1844: ## ----------------- ##"
                   1845:     echo
                   1846:     for ac_var in $ac_subst_vars
                   1847:     do
                   1848:       eval ac_val=\$$ac_var
                   1849:       case $ac_val in
1.1.1.10! root     1850:       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1851:       esac
1.1.1.10! root     1852:       printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     1853:     done | sort
                   1854:     echo
                   1855: 
                   1856:     if test -n "$ac_subst_files"; then
1.1.1.10! root     1857:       printf "%s\n" "## ------------------- ##
1.1       root     1858: ## File substitutions. ##
                   1859: ## ------------------- ##"
                   1860:       echo
                   1861:       for ac_var in $ac_subst_files
                   1862:       do
                   1863:        eval ac_val=\$$ac_var
                   1864:        case $ac_val in
1.1.1.10! root     1865:        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       root     1866:        esac
1.1.1.10! root     1867:        printf "%s\n" "$ac_var='\''$ac_val'\''"
1.1       root     1868:       done | sort
                   1869:       echo
                   1870:     fi
                   1871: 
                   1872:     if test -s confdefs.h; then
1.1.1.10! root     1873:       printf "%s\n" "## ----------- ##
1.1       root     1874: ## confdefs.h. ##
                   1875: ## ----------- ##"
                   1876:       echo
                   1877:       cat confdefs.h
                   1878:       echo
                   1879:     fi
                   1880:     test "$ac_signal" != 0 &&
1.1.1.10! root     1881:       printf "%s\n" "$as_me: caught signal $ac_signal"
        !          1882:     printf "%s\n" "$as_me: exit $exit_status"
1.1       root     1883:   } >&5
                   1884:   rm -f core *.core core.conftest.* &&
                   1885:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   1886:     exit $exit_status
                   1887: ' 0
                   1888: for ac_signal in 1 2 13 15; do
                   1889:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   1890: done
                   1891: ac_signal=0
                   1892: 
                   1893: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1894: rm -f -r conftest* confdefs.h
                   1895: 
1.1.1.10! root     1896: printf "%s\n" "/* confdefs.h */" > confdefs.h
1.1       root     1897: 
                   1898: # Predefined preprocessor variables.
                   1899: 
1.1.1.10! root     1900: printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1.1       root     1901: 
1.1.1.10! root     1902: printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1.1       root     1903: 
1.1.1.10! root     1904: printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1.1       root     1905: 
1.1.1.10! root     1906: printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1.1       root     1907: 
1.1.1.10! root     1908: printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1.1       root     1909: 
1.1.1.10! root     1910: printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1.1       root     1911: 
                   1912: 
                   1913: # Let the site file select an alternate cache file if it wants to.
                   1914: # Prefer an explicitly selected file to automatically selected ones.
                   1915: if test -n "$CONFIG_SITE"; then
1.1.1.10! root     1916:   ac_site_files="$CONFIG_SITE"
1.1       root     1917: elif test "x$prefix" != xNONE; then
1.1.1.10! root     1918:   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1.1       root     1919: else
1.1.1.10! root     1920:   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1       root     1921: fi
1.1.1.10! root     1922: 
        !          1923: for ac_site_file in $ac_site_files
1.1       root     1924: do
1.1.1.10! root     1925:   case $ac_site_file in #(
        !          1926:   */*) :
        !          1927:      ;; #(
        !          1928:   *) :
        !          1929:     ac_site_file=./$ac_site_file ;;
        !          1930: esac
        !          1931:   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
        !          1932:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
        !          1933: printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1.1       root     1934:     sed 's/^/| /' "$ac_site_file" >&5
                   1935:     . "$ac_site_file" \
1.1.1.10! root     1936:       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          1937: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1.1       root     1938: as_fn_error $? "failed to load site script $ac_site_file
                   1939: See \`config.log' for more details" "$LINENO" 5; }
                   1940:   fi
                   1941: done
                   1942: 
                   1943: if test -r "$cache_file"; then
                   1944:   # Some versions of bash will fail to source /dev/null (special files
                   1945:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   1946:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.1.1.10! root     1947:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
        !          1948: printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1.1       root     1949:     case $cache_file in
                   1950:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   1951:       *)                      . "./$cache_file";;
                   1952:     esac
                   1953:   fi
                   1954: else
1.1.1.10! root     1955:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
        !          1956: printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1.1       root     1957:   >$cache_file
                   1958: fi
                   1959: 
1.1.1.10! root     1960: # Test code for whether the C++ compiler supports C++98 (global declarations)
        !          1961: ac_cxx_conftest_cxx98_globals='
        !          1962: // Does the compiler advertise C++98 conformance?
        !          1963: #if !defined __cplusplus || __cplusplus < 199711L
        !          1964: # error "Compiler does not advertise C++98 conformance"
        !          1965: #endif
1.1       root     1966: 
1.1.1.10! root     1967: // These inclusions are to reject old compilers that
        !          1968: // lack the unsuffixed header files.
        !          1969: #include <cstdlib>
        !          1970: #include <exception>
        !          1971: 
        !          1972: // <cassert> and <cstring> are *not* freestanding headers in C++98.
        !          1973: extern void assert (int);
        !          1974: namespace std {
        !          1975:   extern int strcmp (const char *, const char *);
        !          1976: }
        !          1977: 
        !          1978: // Namespaces, exceptions, and templates were all added after "C++ 2.0".
        !          1979: using std::exception;
        !          1980: using std::strcmp;
        !          1981: 
        !          1982: namespace {
        !          1983: 
        !          1984: void test_exception_syntax()
        !          1985: {
        !          1986:   try {
        !          1987:     throw "test";
        !          1988:   } catch (const char *s) {
        !          1989:     // Extra parentheses suppress a warning when building autoconf itself,
        !          1990:     // due to lint rules shared with more typical C programs.
        !          1991:     assert (!(strcmp) (s, "test"));
        !          1992:   }
        !          1993: }
1.1       root     1994: 
1.1.1.10! root     1995: template <typename T> struct test_template
        !          1996: {
        !          1997:   T const val;
        !          1998:   explicit test_template(T t) : val(t) {}
        !          1999:   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
        !          2000: };
1.1       root     2001: 
1.1.1.10! root     2002: } // anonymous namespace
        !          2003: '
1.1       root     2004: 
1.1.1.10! root     2005: # Test code for whether the C++ compiler supports C++98 (body of main)
        !          2006: ac_cxx_conftest_cxx98_main='
        !          2007:   assert (argc);
        !          2008:   assert (! argv[0]);
        !          2009: {
        !          2010:   test_exception_syntax ();
        !          2011:   test_template<double> tt (2.0);
        !          2012:   assert (tt.add (4) == 6.0);
        !          2013:   assert (true && !false);
        !          2014: }
        !          2015: '
        !          2016: 
        !          2017: # Test code for whether the C++ compiler supports C++11 (global declarations)
        !          2018: ac_cxx_conftest_cxx11_globals='
        !          2019: // Does the compiler advertise C++ 2011 conformance?
        !          2020: #if !defined __cplusplus || __cplusplus < 201103L
        !          2021: # error "Compiler does not advertise C++11 conformance"
        !          2022: #endif
        !          2023: 
        !          2024: namespace cxx11test
        !          2025: {
        !          2026:   constexpr int get_val() { return 20; }
        !          2027: 
        !          2028:   struct testinit
        !          2029:   {
        !          2030:     int i;
        !          2031:     double d;
        !          2032:   };
        !          2033: 
        !          2034:   class delegate
        !          2035:   {
        !          2036:   public:
        !          2037:     delegate(int n) : n(n) {}
        !          2038:     delegate(): delegate(2354) {}
        !          2039: 
        !          2040:     virtual int getval() { return this->n; };
        !          2041:   protected:
        !          2042:     int n;
        !          2043:   };
        !          2044: 
        !          2045:   class overridden : public delegate
        !          2046:   {
        !          2047:   public:
        !          2048:     overridden(int n): delegate(n) {}
        !          2049:     virtual int getval() override final { return this->n * 2; }
        !          2050:   };
        !          2051: 
        !          2052:   class nocopy
        !          2053:   {
        !          2054:   public:
        !          2055:     nocopy(int i): i(i) {}
        !          2056:     nocopy() = default;
        !          2057:     nocopy(const nocopy&) = delete;
        !          2058:     nocopy & operator=(const nocopy&) = delete;
        !          2059:   private:
        !          2060:     int i;
        !          2061:   };
        !          2062: 
        !          2063:   // for testing lambda expressions
        !          2064:   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
        !          2065:   {
        !          2066:     return f(v);
        !          2067:   }
        !          2068: 
        !          2069:   // for testing variadic templates and trailing return types
        !          2070:   template <typename V> auto sum(V first) -> V
        !          2071:   {
        !          2072:     return first;
        !          2073:   }
        !          2074:   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
        !          2075:   {
        !          2076:     return first + sum(rest...);
        !          2077:   }
        !          2078: }
        !          2079: '
        !          2080: 
        !          2081: # Test code for whether the C++ compiler supports C++11 (body of main)
        !          2082: ac_cxx_conftest_cxx11_main='
        !          2083: {
        !          2084:   // Test auto and decltype
        !          2085:   auto a1 = 6538;
        !          2086:   auto a2 = 48573953.4;
        !          2087:   auto a3 = "String literal";
        !          2088: 
        !          2089:   int total = 0;
        !          2090:   for (auto i = a3; *i; ++i) { total += *i; }
        !          2091: 
        !          2092:   decltype(a2) a4 = 34895.034;
        !          2093: }
        !          2094: {
        !          2095:   // Test constexpr
        !          2096:   short sa[cxx11test::get_val()] = { 0 };
        !          2097: }
        !          2098: {
        !          2099:   // Test initializer lists
        !          2100:   cxx11test::testinit il = { 4323, 435234.23544 };
        !          2101: }
        !          2102: {
        !          2103:   // Test range-based for
        !          2104:   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
        !          2105:                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
        !          2106:   for (auto &x : array) { x += 23; }
        !          2107: }
        !          2108: {
        !          2109:   // Test lambda expressions
        !          2110:   using cxx11test::eval;
        !          2111:   assert (eval ([](int x) { return x*2; }, 21) == 42);
        !          2112:   double d = 2.0;
        !          2113:   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
        !          2114:   assert (d == 5.0);
        !          2115:   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
        !          2116:   assert (d == 5.0);
        !          2117: }
        !          2118: {
        !          2119:   // Test use of variadic templates
        !          2120:   using cxx11test::sum;
        !          2121:   auto a = sum(1);
        !          2122:   auto b = sum(1, 2);
        !          2123:   auto c = sum(1.0, 2.0, 3.0);
        !          2124: }
        !          2125: {
        !          2126:   // Test constructor delegation
        !          2127:   cxx11test::delegate d1;
        !          2128:   cxx11test::delegate d2();
        !          2129:   cxx11test::delegate d3(45);
        !          2130: }
        !          2131: {
        !          2132:   // Test override and final
        !          2133:   cxx11test::overridden o1(55464);
        !          2134: }
        !          2135: {
        !          2136:   // Test nullptr
        !          2137:   char *c = nullptr;
        !          2138: }
        !          2139: {
        !          2140:   // Test template brackets
        !          2141:   test_template<::test_template<int>> v(test_template<int>(12));
        !          2142: }
        !          2143: {
        !          2144:   // Unicode literals
        !          2145:   char const *utf8 = u8"UTF-8 string \u2500";
        !          2146:   char16_t const *utf16 = u"UTF-8 string \u2500";
        !          2147:   char32_t const *utf32 = U"UTF-32 string \u2500";
        !          2148: }
        !          2149: '
        !          2150: 
        !          2151: # Test code for whether the C compiler supports C++11 (complete).
        !          2152: ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
        !          2153: ${ac_cxx_conftest_cxx11_globals}
        !          2154: 
        !          2155: int
        !          2156: main (int argc, char **argv)
        !          2157: {
        !          2158:   int ok = 0;
        !          2159:   ${ac_cxx_conftest_cxx98_main}
        !          2160:   ${ac_cxx_conftest_cxx11_main}
        !          2161:   return ok;
        !          2162: }
        !          2163: "
        !          2164: 
        !          2165: # Test code for whether the C compiler supports C++98 (complete).
        !          2166: ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
        !          2167: int
        !          2168: main (int argc, char **argv)
        !          2169: {
        !          2170:   int ok = 0;
        !          2171:   ${ac_cxx_conftest_cxx98_main}
        !          2172:   return ok;
        !          2173: }
        !          2174: "
        !          2175: 
        !          2176: # Test code for whether the C compiler supports C89 (global declarations)
        !          2177: ac_c_conftest_c89_globals='
        !          2178: /* Does the compiler advertise C89 conformance?
        !          2179:    Do not test the value of __STDC__, because some compilers set it to 0
        !          2180:    while being otherwise adequately conformant. */
        !          2181: #if !defined __STDC__
        !          2182: # error "Compiler does not advertise C89 conformance"
        !          2183: #endif
        !          2184: 
        !          2185: #include <stddef.h>
        !          2186: #include <stdarg.h>
        !          2187: struct stat;
        !          2188: /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
        !          2189: struct buf { int x; };
        !          2190: struct buf * (*rcsopen) (struct buf *, struct stat *, int);
        !          2191: static char *e (p, i)
        !          2192:      char **p;
        !          2193:      int i;
        !          2194: {
        !          2195:   return p[i];
        !          2196: }
        !          2197: static char *f (char * (*g) (char **, int), char **p, ...)
        !          2198: {
        !          2199:   char *s;
        !          2200:   va_list v;
        !          2201:   va_start (v,p);
        !          2202:   s = g (p, va_arg (v,int));
        !          2203:   va_end (v);
        !          2204:   return s;
        !          2205: }
        !          2206: 
        !          2207: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
        !          2208:    function prototypes and stuff, but not \xHH hex character constants.
        !          2209:    These do not provoke an error unfortunately, instead are silently treated
        !          2210:    as an "x".  The following induces an error, until -std is added to get
        !          2211:    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
        !          2212:    array size at least.  It is necessary to write \x00 == 0 to get something
        !          2213:    that is true only with -std.  */
        !          2214: int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
        !          2215: 
        !          2216: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
        !          2217:    inside strings and character constants.  */
        !          2218: #define FOO(x) '\''x'\''
        !          2219: int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
        !          2220: 
        !          2221: int test (int i, double x);
        !          2222: struct s1 {int (*f) (int a);};
        !          2223: struct s2 {int (*f) (double a);};
        !          2224: int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
        !          2225:                int, int);'
        !          2226: 
        !          2227: # Test code for whether the C compiler supports C89 (body of main).
        !          2228: ac_c_conftest_c89_main='
        !          2229: ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
        !          2230: '
        !          2231: 
        !          2232: # Test code for whether the C compiler supports C99 (global declarations)
        !          2233: ac_c_conftest_c99_globals='
        !          2234: // Does the compiler advertise C99 conformance?
        !          2235: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
        !          2236: # error "Compiler does not advertise C99 conformance"
        !          2237: #endif
        !          2238: 
        !          2239: #include <stdbool.h>
        !          2240: extern int puts (const char *);
        !          2241: extern int printf (const char *, ...);
        !          2242: extern int dprintf (int, const char *, ...);
        !          2243: extern void *malloc (size_t);
        !          2244: 
        !          2245: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
        !          2246: // dprintf is used instead of fprintf to avoid needing to declare
        !          2247: // FILE and stderr.
        !          2248: #define debug(...) dprintf (2, __VA_ARGS__)
        !          2249: #define showlist(...) puts (#__VA_ARGS__)
        !          2250: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
        !          2251: static void
        !          2252: test_varargs_macros (void)
        !          2253: {
        !          2254:   int x = 1234;
        !          2255:   int y = 5678;
        !          2256:   debug ("Flag");
        !          2257:   debug ("X = %d\n", x);
        !          2258:   showlist (The first, second, and third items.);
        !          2259:   report (x>y, "x is %d but y is %d", x, y);
        !          2260: }
        !          2261: 
        !          2262: // Check long long types.
        !          2263: #define BIG64 18446744073709551615ull
        !          2264: #define BIG32 4294967295ul
        !          2265: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
        !          2266: #if !BIG_OK
        !          2267:   #error "your preprocessor is broken"
        !          2268: #endif
        !          2269: #if BIG_OK
        !          2270: #else
        !          2271:   #error "your preprocessor is broken"
        !          2272: #endif
        !          2273: static long long int bignum = -9223372036854775807LL;
        !          2274: static unsigned long long int ubignum = BIG64;
        !          2275: 
        !          2276: struct incomplete_array
        !          2277: {
        !          2278:   int datasize;
        !          2279:   double data[];
        !          2280: };
        !          2281: 
        !          2282: struct named_init {
        !          2283:   int number;
        !          2284:   const wchar_t *name;
        !          2285:   double average;
        !          2286: };
        !          2287: 
        !          2288: typedef const char *ccp;
        !          2289: 
        !          2290: static inline int
        !          2291: test_restrict (ccp restrict text)
        !          2292: {
        !          2293:   // See if C++-style comments work.
        !          2294:   // Iterate through items via the restricted pointer.
        !          2295:   // Also check for declarations in for loops.
        !          2296:   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
        !          2297:     continue;
        !          2298:   return 0;
        !          2299: }
        !          2300: 
        !          2301: // Check varargs and va_copy.
        !          2302: static bool
        !          2303: test_varargs (const char *format, ...)
        !          2304: {
        !          2305:   va_list args;
        !          2306:   va_start (args, format);
        !          2307:   va_list args_copy;
        !          2308:   va_copy (args_copy, args);
        !          2309: 
        !          2310:   const char *str = "";
        !          2311:   int number = 0;
        !          2312:   float fnumber = 0;
        !          2313: 
        !          2314:   while (*format)
        !          2315:     {
        !          2316:       switch (*format++)
        !          2317:        {
        !          2318:        case '\''s'\'': // string
        !          2319:          str = va_arg (args_copy, const char *);
        !          2320:          break;
        !          2321:        case '\''d'\'': // int
        !          2322:          number = va_arg (args_copy, int);
        !          2323:          break;
        !          2324:        case '\''f'\'': // float
        !          2325:          fnumber = va_arg (args_copy, double);
        !          2326:          break;
        !          2327:        default:
        !          2328:          break;
        !          2329:        }
        !          2330:     }
        !          2331:   va_end (args_copy);
        !          2332:   va_end (args);
        !          2333: 
        !          2334:   return *str && number && fnumber;
        !          2335: }
        !          2336: '
        !          2337: 
        !          2338: # Test code for whether the C compiler supports C99 (body of main).
        !          2339: ac_c_conftest_c99_main='
        !          2340:   // Check bool.
        !          2341:   _Bool success = false;
        !          2342:   success |= (argc != 0);
        !          2343: 
        !          2344:   // Check restrict.
        !          2345:   if (test_restrict ("String literal") == 0)
        !          2346:     success = true;
        !          2347:   char *restrict newvar = "Another string";
        !          2348: 
        !          2349:   // Check varargs.
        !          2350:   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
        !          2351:   test_varargs_macros ();
        !          2352: 
        !          2353:   // Check flexible array members.
        !          2354:   struct incomplete_array *ia =
        !          2355:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
        !          2356:   ia->datasize = 10;
        !          2357:   for (int i = 0; i < ia->datasize; ++i)
        !          2358:     ia->data[i] = i * 1.234;
        !          2359: 
        !          2360:   // Check named initializers.
        !          2361:   struct named_init ni = {
        !          2362:     .number = 34,
        !          2363:     .name = L"Test wide string",
        !          2364:     .average = 543.34343,
        !          2365:   };
        !          2366: 
        !          2367:   ni.number = 58;
        !          2368: 
        !          2369:   int dynamic_array[ni.number];
        !          2370:   dynamic_array[0] = argv[0][0];
        !          2371:   dynamic_array[ni.number - 1] = 543;
        !          2372: 
        !          2373:   // work around unused variable warnings
        !          2374:   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
        !          2375:         || dynamic_array[ni.number - 1] != 543);
        !          2376: '
        !          2377: 
        !          2378: # Test code for whether the C compiler supports C11 (global declarations)
        !          2379: ac_c_conftest_c11_globals='
        !          2380: // Does the compiler advertise C11 conformance?
        !          2381: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
        !          2382: # error "Compiler does not advertise C11 conformance"
        !          2383: #endif
        !          2384: 
        !          2385: // Check _Alignas.
        !          2386: char _Alignas (double) aligned_as_double;
        !          2387: char _Alignas (0) no_special_alignment;
        !          2388: extern char aligned_as_int;
        !          2389: char _Alignas (0) _Alignas (int) aligned_as_int;
        !          2390: 
        !          2391: // Check _Alignof.
        !          2392: enum
        !          2393: {
        !          2394:   int_alignment = _Alignof (int),
        !          2395:   int_array_alignment = _Alignof (int[100]),
        !          2396:   char_alignment = _Alignof (char)
        !          2397: };
        !          2398: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
        !          2399: 
        !          2400: // Check _Noreturn.
        !          2401: int _Noreturn does_not_return (void) { for (;;) continue; }
        !          2402: 
        !          2403: // Check _Static_assert.
        !          2404: struct test_static_assert
        !          2405: {
        !          2406:   int x;
        !          2407:   _Static_assert (sizeof (int) <= sizeof (long int),
        !          2408:                   "_Static_assert does not work in struct");
        !          2409:   long int y;
        !          2410: };
        !          2411: 
        !          2412: // Check UTF-8 literals.
        !          2413: #define u8 syntax error!
        !          2414: char const utf8_literal[] = u8"happens to be ASCII" "another string";
        !          2415: 
        !          2416: // Check duplicate typedefs.
        !          2417: typedef long *long_ptr;
        !          2418: typedef long int *long_ptr;
        !          2419: typedef long_ptr long_ptr;
        !          2420: 
        !          2421: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
        !          2422: struct anonymous
        !          2423: {
        !          2424:   union {
        !          2425:     struct { int i; int j; };
        !          2426:     struct { int k; long int l; } w;
        !          2427:   };
        !          2428:   int m;
        !          2429: } v1;
        !          2430: '
        !          2431: 
        !          2432: # Test code for whether the C compiler supports C11 (body of main).
        !          2433: ac_c_conftest_c11_main='
        !          2434:   _Static_assert ((offsetof (struct anonymous, i)
        !          2435:                   == offsetof (struct anonymous, w.k)),
        !          2436:                  "Anonymous union alignment botch");
        !          2437:   v1.i = 2;
        !          2438:   v1.w.k = 5;
        !          2439:   ok |= v1.i != 5;
        !          2440: '
        !          2441: 
        !          2442: # Test code for whether the C compiler supports C11 (complete).
        !          2443: ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
        !          2444: ${ac_c_conftest_c99_globals}
        !          2445: ${ac_c_conftest_c11_globals}
        !          2446: 
        !          2447: int
        !          2448: main (int argc, char **argv)
        !          2449: {
        !          2450:   int ok = 0;
        !          2451:   ${ac_c_conftest_c89_main}
        !          2452:   ${ac_c_conftest_c99_main}
        !          2453:   ${ac_c_conftest_c11_main}
        !          2454:   return ok;
        !          2455: }
        !          2456: "
        !          2457: 
        !          2458: # Test code for whether the C compiler supports C99 (complete).
        !          2459: ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
        !          2460: ${ac_c_conftest_c99_globals}
        !          2461: 
        !          2462: int
        !          2463: main (int argc, char **argv)
        !          2464: {
        !          2465:   int ok = 0;
        !          2466:   ${ac_c_conftest_c89_main}
        !          2467:   ${ac_c_conftest_c99_main}
        !          2468:   return ok;
        !          2469: }
        !          2470: "
        !          2471: 
        !          2472: # Test code for whether the C compiler supports C89 (complete).
        !          2473: ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
        !          2474: 
        !          2475: int
        !          2476: main (int argc, char **argv)
        !          2477: {
        !          2478:   int ok = 0;
        !          2479:   ${ac_c_conftest_c89_main}
        !          2480:   return ok;
        !          2481: }
        !          2482: "
        !          2483: 
        !          2484: as_fn_append ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H"
        !          2485: as_fn_append ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H"
        !          2486: as_fn_append ac_header_cxx_list " string.h string_h HAVE_STRING_H"
        !          2487: as_fn_append ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
        !          2488: as_fn_append ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H"
        !          2489: as_fn_append ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H"
        !          2490: as_fn_append ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
        !          2491: as_fn_append ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
        !          2492: as_fn_append ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H"
        !          2493: 
        !          2494: # Auxiliary files required by this configure script.
        !          2495: ac_aux_files="config.guess config.sub install-sh"
        !          2496: 
        !          2497: # Locations in which to look for auxiliary files.
        !          2498: ac_aux_dir_candidates="${srcdir}/scripts"
        !          2499: 
        !          2500: # Search for a directory containing all of the required auxiliary files,
        !          2501: # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
        !          2502: # If we don't find one directory that contains all the files we need,
        !          2503: # we report the set of missing files from the *first* directory in
        !          2504: # $ac_aux_dir_candidates and give up.
        !          2505: ac_missing_aux_files=""
        !          2506: ac_first_candidate=:
        !          2507: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
        !          2508: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2509: as_found=false
        !          2510: for as_dir in $ac_aux_dir_candidates
        !          2511: do
        !          2512:   IFS=$as_save_IFS
        !          2513:   case $as_dir in #(((
        !          2514:     '') as_dir=./ ;;
        !          2515:     */) ;;
        !          2516:     *) as_dir=$as_dir/ ;;
        !          2517:   esac
        !          2518:   as_found=:
        !          2519: 
        !          2520:   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
        !          2521:   ac_aux_dir_found=yes
        !          2522:   ac_install_sh=
        !          2523:   for ac_aux in $ac_aux_files
        !          2524:   do
        !          2525:     # As a special case, if "install-sh" is required, that requirement
        !          2526:     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
        !          2527:     # and $ac_install_sh is set appropriately for whichever one is found.
        !          2528:     if test x"$ac_aux" = x"install-sh"
        !          2529:     then
        !          2530:       if test -f "${as_dir}install-sh"; then
        !          2531:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
        !          2532:         ac_install_sh="${as_dir}install-sh -c"
        !          2533:       elif test -f "${as_dir}install.sh"; then
        !          2534:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
        !          2535:         ac_install_sh="${as_dir}install.sh -c"
        !          2536:       elif test -f "${as_dir}shtool"; then
        !          2537:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
        !          2538:         ac_install_sh="${as_dir}shtool install -c"
        !          2539:       else
        !          2540:         ac_aux_dir_found=no
        !          2541:         if $ac_first_candidate; then
        !          2542:           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
        !          2543:         else
        !          2544:           break
        !          2545:         fi
        !          2546:       fi
        !          2547:     else
        !          2548:       if test -f "${as_dir}${ac_aux}"; then
        !          2549:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
        !          2550:       else
        !          2551:         ac_aux_dir_found=no
        !          2552:         if $ac_first_candidate; then
        !          2553:           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
        !          2554:         else
        !          2555:           break
        !          2556:         fi
        !          2557:       fi
        !          2558:     fi
        !          2559:   done
        !          2560:   if test "$ac_aux_dir_found" = yes; then
        !          2561:     ac_aux_dir="$as_dir"
1.1.1.6   root     2562:     break
                   2563:   fi
1.1.1.10! root     2564:   ac_first_candidate=false
        !          2565: 
        !          2566:   as_found=false
1.1.1.6   root     2567: done
1.1.1.10! root     2568: IFS=$as_save_IFS
        !          2569: if $as_found
        !          2570: then :
        !          2571: 
        !          2572: else $as_nop
        !          2573:   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1.1.1.6   root     2574: fi
                   2575: 
1.1.1.10! root     2576: 
1.1.1.6   root     2577: # These three variables are undocumented and unsupported,
                   2578: # and are intended to be withdrawn in a future Autoconf release.
                   2579: # They can cause serious problems if a builder's source tree is in a directory
                   2580: # whose full name contains unusual characters.
1.1.1.10! root     2581: if test -f "${ac_aux_dir}config.guess"; then
        !          2582:   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
        !          2583: fi
        !          2584: if test -f "${ac_aux_dir}config.sub"; then
        !          2585:   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
        !          2586: fi
        !          2587: if test -f "$ac_aux_dir/configure"; then
        !          2588:   ac_configure="$SHELL ${ac_aux_dir}configure"
        !          2589: fi
        !          2590: 
        !          2591: # Check that the precious variables saved in the cache have kept the same
        !          2592: # value.
        !          2593: ac_cache_corrupted=false
        !          2594: for ac_var in $ac_precious_vars; do
        !          2595:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          2596:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          2597:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
        !          2598:   eval ac_new_val=\$ac_env_${ac_var}_value
        !          2599:   case $ac_old_set,$ac_new_set in
        !          2600:     set,)
        !          2601:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          2602: printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !          2603:       ac_cache_corrupted=: ;;
        !          2604:     ,set)
        !          2605:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
        !          2606: printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !          2607:       ac_cache_corrupted=: ;;
        !          2608:     ,);;
        !          2609:     *)
        !          2610:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          2611:        # differences in whitespace do not lead to failure.
        !          2612:        ac_old_val_w=`echo x $ac_old_val`
        !          2613:        ac_new_val_w=`echo x $ac_new_val`
        !          2614:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
        !          2615:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
        !          2616: printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          2617:          ac_cache_corrupted=:
        !          2618:        else
        !          2619:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
        !          2620: printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
        !          2621:          eval $ac_var=\$ac_old_val
        !          2622:        fi
        !          2623:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
        !          2624: printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
        !          2625:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
        !          2626: printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
        !          2627:       fi;;
        !          2628:   esac
        !          2629:   # Pass precious variables to config.status.
        !          2630:   if test "$ac_new_set" = set; then
        !          2631:     case $ac_new_val in
        !          2632:     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          2633:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          2634:     esac
        !          2635:     case " $ac_configure_args " in
        !          2636:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          2637:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
        !          2638:     esac
        !          2639:   fi
        !          2640: done
        !          2641: if $ac_cache_corrupted; then
        !          2642:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2643: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2644:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
        !          2645: printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          2646:   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
        !          2647:            and start over" "$LINENO" 5
        !          2648: fi
        !          2649: ## -------------------- ##
        !          2650: ## Main body of script. ##
        !          2651: ## -------------------- ##
        !          2652: 
        !          2653: ac_ext=c
        !          2654: ac_cpp='$CPP $CPPFLAGS'
        !          2655: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2656: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2657: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2658: 
        !          2659: 
1.1.1.6   root     2660: 
                   2661: 
1.1       root     2662: 
                   2663: # Checks for programs.
1.1.1.10! root     2664: 
        !          2665: 
        !          2666: 
        !          2667: 
        !          2668: 
        !          2669: 
1.1       root     2670: ac_ext=cpp
                   2671: ac_cpp='$CXXCPP $CPPFLAGS'
                   2672: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2673: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2674: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   2675: if test -z "$CXX"; then
                   2676:   if test -n "$CCC"; then
                   2677:     CXX=$CCC
                   2678:   else
                   2679:     if test -n "$ac_tool_prefix"; then
1.1.1.10! root     2680:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2681:   do
                   2682:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2683: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10! root     2684: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2685: printf %s "checking for $ac_word... " >&6; }
        !          2686: if test ${ac_cv_prog_CXX+y}
        !          2687: then :
        !          2688:   printf %s "(cached) " >&6
        !          2689: else $as_nop
1.1       root     2690:   if test -n "$CXX"; then
                   2691:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   2692: else
                   2693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2694: for as_dir in $PATH
                   2695: do
                   2696:   IFS=$as_save_IFS
1.1.1.10! root     2697:   case $as_dir in #(((
        !          2698:     '') as_dir=./ ;;
        !          2699:     */) ;;
        !          2700:     *) as_dir=$as_dir/ ;;
        !          2701:   esac
1.1       root     2702:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     2703:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2704:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.1.1.10! root     2705:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2706:     break 2
                   2707:   fi
                   2708: done
                   2709:   done
                   2710: IFS=$as_save_IFS
                   2711: 
                   2712: fi
                   2713: fi
                   2714: CXX=$ac_cv_prog_CXX
                   2715: if test -n "$CXX"; then
1.1.1.10! root     2716:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
        !          2717: printf "%s\n" "$CXX" >&6; }
1.1       root     2718: else
1.1.1.10! root     2719:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2720: printf "%s\n" "no" >&6; }
1.1       root     2721: fi
                   2722: 
                   2723: 
                   2724:     test -n "$CXX" && break
                   2725:   done
                   2726: fi
                   2727: if test -z "$CXX"; then
                   2728:   ac_ct_CXX=$CXX
1.1.1.10! root     2729:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.1       root     2730: do
                   2731:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2732: set dummy $ac_prog; ac_word=$2
1.1.1.10! root     2733: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2734: printf %s "checking for $ac_word... " >&6; }
        !          2735: if test ${ac_cv_prog_ac_ct_CXX+y}
        !          2736: then :
        !          2737:   printf %s "(cached) " >&6
        !          2738: else $as_nop
1.1       root     2739:   if test -n "$ac_ct_CXX"; then
                   2740:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   2741: else
                   2742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2743: for as_dir in $PATH
                   2744: do
                   2745:   IFS=$as_save_IFS
1.1.1.10! root     2746:   case $as_dir in #(((
        !          2747:     '') as_dir=./ ;;
        !          2748:     */) ;;
        !          2749:     *) as_dir=$as_dir/ ;;
        !          2750:   esac
1.1       root     2751:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     2752:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     2753:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.1.1.10! root     2754:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     2755:     break 2
                   2756:   fi
                   2757: done
                   2758:   done
                   2759: IFS=$as_save_IFS
                   2760: 
                   2761: fi
                   2762: fi
                   2763: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2764: if test -n "$ac_ct_CXX"; then
1.1.1.10! root     2765:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
        !          2766: printf "%s\n" "$ac_ct_CXX" >&6; }
1.1       root     2767: else
1.1.1.10! root     2768:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2769: printf "%s\n" "no" >&6; }
1.1       root     2770: fi
                   2771: 
                   2772: 
                   2773:   test -n "$ac_ct_CXX" && break
                   2774: done
                   2775: 
                   2776:   if test "x$ac_ct_CXX" = x; then
                   2777:     CXX="g++"
                   2778:   else
                   2779:     case $cross_compiling:$ac_tool_warned in
                   2780: yes:)
1.1.1.10! root     2781: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          2782: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     2783: ac_tool_warned=yes ;;
                   2784: esac
                   2785:     CXX=$ac_ct_CXX
                   2786:   fi
                   2787: fi
                   2788: 
                   2789:   fi
                   2790: fi
                   2791: # Provide some information about the compiler.
1.1.1.10! root     2792: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1.1       root     2793: set X $ac_compile
                   2794: ac_compiler=$2
                   2795: for ac_option in --version -v -V -qversion; do
                   2796:   { { ac_try="$ac_compiler $ac_option >&5"
                   2797: case "(($ac_try" in
                   2798:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2799:   *) ac_try_echo=$ac_try;;
                   2800: esac
                   2801: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     2802: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2803:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   2804:   ac_status=$?
                   2805:   if test -s conftest.err; then
                   2806:     sed '10a\
                   2807: ... rest of stderr output deleted ...
                   2808:          10q' conftest.err >conftest.er1
                   2809:     cat conftest.er1 >&5
                   2810:   fi
                   2811:   rm -f conftest.er1 conftest.err
1.1.1.10! root     2812:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     2813:   test $ac_status = 0; }
                   2814: done
                   2815: 
                   2816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2817: /* end confdefs.h.  */
                   2818: 
                   2819: int
1.1.1.10! root     2820: main (void)
1.1       root     2821: {
                   2822: 
                   2823:   ;
                   2824:   return 0;
                   2825: }
                   2826: _ACEOF
                   2827: ac_clean_files_save=$ac_clean_files
                   2828: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   2829: # Try to create an executable without -o first, disregard a.out.
                   2830: # It will help us diagnose broken compilers, and finding out an intuition
                   2831: # of exeext.
1.1.1.10! root     2832: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
        !          2833: printf %s "checking whether the C++ compiler works... " >&6; }
        !          2834: ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1       root     2835: 
                   2836: # The possible output files:
                   2837: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2838: 
                   2839: ac_rmfiles=
                   2840: for ac_file in $ac_files
                   2841: do
                   2842:   case $ac_file in
                   2843:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2844:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2845:   esac
                   2846: done
                   2847: rm -f $ac_rmfiles
                   2848: 
                   2849: if { { ac_try="$ac_link_default"
                   2850: case "(($ac_try" in
                   2851:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2852:   *) ac_try_echo=$ac_try;;
                   2853: esac
                   2854: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     2855: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2856:   (eval "$ac_link_default") 2>&5
                   2857:   ac_status=$?
1.1.1.10! root     2858:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2859:   test $ac_status = 0; }
        !          2860: then :
1.1       root     2861:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2862: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2863: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2864: # so that the user can short-circuit this test for compilers unknown to
                   2865: # Autoconf.
                   2866: for ac_file in $ac_files ''
                   2867: do
                   2868:   test -f "$ac_file" || continue
                   2869:   case $ac_file in
                   2870:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   2871:        ;;
                   2872:     [ab].out )
                   2873:        # We found the default executable, but exeext='' is most
                   2874:        # certainly right.
                   2875:        break;;
                   2876:     *.* )
1.1.1.10! root     2877:        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
1.1       root     2878:        then :; else
                   2879:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2880:        fi
                   2881:        # We set ac_cv_exeext here because the later test for it is not
                   2882:        # safe: cross compilers may not add the suffix if given an `-o'
                   2883:        # argument, so we may need to know it at that point already.
                   2884:        # Even if this section looks crufty: it has the advantage of
                   2885:        # actually working.
                   2886:        break;;
                   2887:     * )
                   2888:        break;;
                   2889:   esac
                   2890: done
                   2891: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2892: 
1.1.1.10! root     2893: else $as_nop
1.1       root     2894:   ac_file=''
                   2895: fi
1.1.1.10! root     2896: if test -z "$ac_file"
        !          2897: then :
        !          2898:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2899: printf "%s\n" "no" >&6; }
        !          2900: printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     2901: sed 's/^/| /' conftest.$ac_ext >&5
                   2902: 
1.1.1.10! root     2903: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2904: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1.1       root     2905: as_fn_error 77 "C++ compiler cannot create executables
                   2906: See \`config.log' for more details" "$LINENO" 5; }
1.1.1.10! root     2907: else $as_nop
        !          2908:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2909: printf "%s\n" "yes" >&6; }
        !          2910: fi
        !          2911: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
        !          2912: printf %s "checking for C++ compiler default output file name... " >&6; }
        !          2913: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          2914: printf "%s\n" "$ac_file" >&6; }
1.1       root     2915: ac_exeext=$ac_cv_exeext
                   2916: 
                   2917: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   2918: ac_clean_files=$ac_clean_files_save
1.1.1.10! root     2919: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
        !          2920: printf %s "checking for suffix of executables... " >&6; }
1.1       root     2921: if { { ac_try="$ac_link"
                   2922: case "(($ac_try" in
                   2923:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2924:   *) ac_try_echo=$ac_try;;
                   2925: esac
                   2926: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     2927: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2928:   (eval "$ac_link") 2>&5
                   2929:   ac_status=$?
1.1.1.10! root     2930:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2931:   test $ac_status = 0; }
        !          2932: then :
1.1       root     2933:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2934: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2935: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2936: # `rm'.
                   2937: for ac_file in conftest.exe conftest conftest.*; do
                   2938:   test -f "$ac_file" || continue
                   2939:   case $ac_file in
                   2940:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2941:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2942:          break;;
                   2943:     * ) break;;
                   2944:   esac
                   2945: done
1.1.1.10! root     2946: else $as_nop
        !          2947:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2948: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1.1       root     2949: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   2950: See \`config.log' for more details" "$LINENO" 5; }
                   2951: fi
                   2952: rm -f conftest conftest$ac_cv_exeext
1.1.1.10! root     2953: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
        !          2954: printf "%s\n" "$ac_cv_exeext" >&6; }
1.1       root     2955: 
                   2956: rm -f conftest.$ac_ext
                   2957: EXEEXT=$ac_cv_exeext
                   2958: ac_exeext=$EXEEXT
                   2959: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2960: /* end confdefs.h.  */
                   2961: #include <stdio.h>
                   2962: int
1.1.1.10! root     2963: main (void)
1.1       root     2964: {
                   2965: FILE *f = fopen ("conftest.out", "w");
                   2966:  return ferror (f) || fclose (f) != 0;
                   2967: 
                   2968:   ;
                   2969:   return 0;
                   2970: }
                   2971: _ACEOF
                   2972: ac_clean_files="$ac_clean_files conftest.out"
                   2973: # Check that the compiler produces executables we can run.  If not, either
                   2974: # the compiler is broken, or we cross compile.
1.1.1.10! root     2975: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          2976: printf %s "checking whether we are cross compiling... " >&6; }
1.1       root     2977: if test "$cross_compiling" != yes; then
                   2978:   { { ac_try="$ac_link"
                   2979: case "(($ac_try" in
                   2980:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2981:   *) ac_try_echo=$ac_try;;
                   2982: esac
                   2983: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     2984: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2985:   (eval "$ac_link") 2>&5
                   2986:   ac_status=$?
1.1.1.10! root     2987:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     2988:   test $ac_status = 0; }
                   2989:   if { ac_try='./conftest$ac_cv_exeext'
                   2990:   { { case "(($ac_try" in
                   2991:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2992:   *) ac_try_echo=$ac_try;;
                   2993: esac
                   2994: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     2995: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     2996:   (eval "$ac_try") 2>&5
                   2997:   ac_status=$?
1.1.1.10! root     2998:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     2999:   test $ac_status = 0; }; }; then
                   3000:     cross_compiling=no
                   3001:   else
                   3002:     if test "$cross_compiling" = maybe; then
                   3003:        cross_compiling=yes
                   3004:     else
1.1.1.10! root     3005:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3006: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
        !          3007: as_fn_error 77 "cannot run C++ compiled programs.
1.1       root     3008: If you meant to cross compile, use \`--host'.
                   3009: See \`config.log' for more details" "$LINENO" 5; }
                   3010:     fi
                   3011:   fi
                   3012: fi
1.1.1.10! root     3013: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          3014: printf "%s\n" "$cross_compiling" >&6; }
1.1       root     3015: 
                   3016: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3017: ac_clean_files=$ac_clean_files_save
1.1.1.10! root     3018: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
        !          3019: printf %s "checking for suffix of object files... " >&6; }
        !          3020: if test ${ac_cv_objext+y}
        !          3021: then :
        !          3022:   printf %s "(cached) " >&6
        !          3023: else $as_nop
1.1       root     3024:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3025: /* end confdefs.h.  */
                   3026: 
                   3027: int
1.1.1.10! root     3028: main (void)
1.1       root     3029: {
                   3030: 
                   3031:   ;
                   3032:   return 0;
                   3033: }
                   3034: _ACEOF
                   3035: rm -f conftest.o conftest.obj
                   3036: if { { ac_try="$ac_compile"
                   3037: case "(($ac_try" in
                   3038:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3039:   *) ac_try_echo=$ac_try;;
                   3040: esac
                   3041: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     3042: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3043:   (eval "$ac_compile") 2>&5
                   3044:   ac_status=$?
1.1.1.10! root     3045:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          3046:   test $ac_status = 0; }
        !          3047: then :
1.1       root     3048:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3049:   test -f "$ac_file" || continue;
                   3050:   case $ac_file in
                   3051:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3052:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3053:        break;;
                   3054:   esac
                   3055: done
1.1.1.10! root     3056: else $as_nop
        !          3057:   printf "%s\n" "$as_me: failed program was:" >&5
1.1       root     3058: sed 's/^/| /' conftest.$ac_ext >&5
                   3059: 
1.1.1.10! root     3060: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3061: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1.1       root     3062: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3063: See \`config.log' for more details" "$LINENO" 5; }
                   3064: fi
                   3065: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3066: fi
1.1.1.10! root     3067: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
        !          3068: printf "%s\n" "$ac_cv_objext" >&6; }
1.1       root     3069: OBJEXT=$ac_cv_objext
                   3070: ac_objext=$OBJEXT
1.1.1.10! root     3071: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
        !          3072: printf %s "checking whether the compiler supports GNU C++... " >&6; }
        !          3073: if test ${ac_cv_cxx_compiler_gnu+y}
        !          3074: then :
        !          3075:   printf %s "(cached) " >&6
        !          3076: else $as_nop
1.1       root     3077:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3078: /* end confdefs.h.  */
                   3079: 
                   3080: int
1.1.1.10! root     3081: main (void)
1.1       root     3082: {
                   3083: #ifndef __GNUC__
                   3084:        choke me
                   3085: #endif
                   3086: 
                   3087:   ;
                   3088:   return 0;
                   3089: }
                   3090: _ACEOF
1.1.1.10! root     3091: if ac_fn_cxx_try_compile "$LINENO"
        !          3092: then :
1.1       root     3093:   ac_compiler_gnu=yes
1.1.1.10! root     3094: else $as_nop
1.1       root     3095:   ac_compiler_gnu=no
                   3096: fi
1.1.1.10! root     3097: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3098: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   3099: 
                   3100: fi
1.1.1.10! root     3101: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
        !          3102: printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
        !          3103: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
        !          3104: 
1.1       root     3105: if test $ac_compiler_gnu = yes; then
                   3106:   GXX=yes
                   3107: else
                   3108:   GXX=
                   3109: fi
1.1.1.10! root     3110: ac_test_CXXFLAGS=${CXXFLAGS+y}
1.1       root     3111: ac_save_CXXFLAGS=$CXXFLAGS
1.1.1.10! root     3112: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
        !          3113: printf %s "checking whether $CXX accepts -g... " >&6; }
        !          3114: if test ${ac_cv_prog_cxx_g+y}
        !          3115: then :
        !          3116:   printf %s "(cached) " >&6
        !          3117: else $as_nop
1.1       root     3118:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3119:    ac_cxx_werror_flag=yes
                   3120:    ac_cv_prog_cxx_g=no
                   3121:    CXXFLAGS="-g"
                   3122:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3123: /* end confdefs.h.  */
                   3124: 
                   3125: int
1.1.1.10! root     3126: main (void)
1.1       root     3127: {
                   3128: 
                   3129:   ;
                   3130:   return 0;
                   3131: }
                   3132: _ACEOF
1.1.1.10! root     3133: if ac_fn_cxx_try_compile "$LINENO"
        !          3134: then :
1.1       root     3135:   ac_cv_prog_cxx_g=yes
1.1.1.10! root     3136: else $as_nop
1.1       root     3137:   CXXFLAGS=""
                   3138:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3139: /* end confdefs.h.  */
                   3140: 
                   3141: int
1.1.1.10! root     3142: main (void)
1.1       root     3143: {
                   3144: 
                   3145:   ;
                   3146:   return 0;
                   3147: }
                   3148: _ACEOF
1.1.1.10! root     3149: if ac_fn_cxx_try_compile "$LINENO"
        !          3150: then :
1.1       root     3151: 
1.1.1.10! root     3152: else $as_nop
1.1       root     3153:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3154:         CXXFLAGS="-g"
                   3155:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3156: /* end confdefs.h.  */
                   3157: 
                   3158: int
1.1.1.10! root     3159: main (void)
1.1       root     3160: {
                   3161: 
                   3162:   ;
                   3163:   return 0;
                   3164: }
                   3165: _ACEOF
1.1.1.10! root     3166: if ac_fn_cxx_try_compile "$LINENO"
        !          3167: then :
1.1       root     3168:   ac_cv_prog_cxx_g=yes
                   3169: fi
1.1.1.10! root     3170: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3171: fi
1.1.1.10! root     3172: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3173: fi
1.1.1.10! root     3174: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3175:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3176: fi
1.1.1.10! root     3177: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
        !          3178: printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
        !          3179: if test $ac_test_CXXFLAGS; then
1.1       root     3180:   CXXFLAGS=$ac_save_CXXFLAGS
                   3181: elif test $ac_cv_prog_cxx_g = yes; then
                   3182:   if test "$GXX" = yes; then
                   3183:     CXXFLAGS="-g -O2"
                   3184:   else
                   3185:     CXXFLAGS="-g"
                   3186:   fi
                   3187: else
                   3188:   if test "$GXX" = yes; then
                   3189:     CXXFLAGS="-O2"
                   3190:   else
                   3191:     CXXFLAGS=
                   3192:   fi
                   3193: fi
1.1.1.10! root     3194: ac_prog_cxx_stdcxx=no
        !          3195: if test x$ac_prog_cxx_stdcxx = xno
        !          3196: then :
        !          3197:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
        !          3198: printf %s "checking for $CXX option to enable C++11 features... " >&6; }
        !          3199: if test ${ac_cv_prog_cxx_11+y}
        !          3200: then :
        !          3201:   printf %s "(cached) " >&6
        !          3202: else $as_nop
        !          3203:   ac_cv_prog_cxx_11=no
        !          3204: ac_save_CXX=$CXX
        !          3205: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3206: /* end confdefs.h.  */
        !          3207: $ac_cxx_conftest_cxx11_program
        !          3208: _ACEOF
        !          3209: for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
        !          3210: do
        !          3211:   CXX="$ac_save_CXX $ac_arg"
        !          3212:   if ac_fn_cxx_try_compile "$LINENO"
        !          3213: then :
        !          3214:   ac_cv_prog_cxx_cxx11=$ac_arg
        !          3215: fi
        !          3216: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          3217:   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
        !          3218: done
        !          3219: rm -f conftest.$ac_ext
        !          3220: CXX=$ac_save_CXX
        !          3221: fi
        !          3222: 
        !          3223: if test "x$ac_cv_prog_cxx_cxx11" = xno
        !          3224: then :
        !          3225:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          3226: printf "%s\n" "unsupported" >&6; }
        !          3227: else $as_nop
        !          3228:   if test "x$ac_cv_prog_cxx_cxx11" = x
        !          3229: then :
        !          3230:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          3231: printf "%s\n" "none needed" >&6; }
        !          3232: else $as_nop
        !          3233:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
        !          3234: printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
        !          3235:      CXX="$CXX $ac_cv_prog_cxx_cxx11"
        !          3236: fi
        !          3237:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
        !          3238:   ac_prog_cxx_stdcxx=cxx11
        !          3239: fi
        !          3240: fi
        !          3241: if test x$ac_prog_cxx_stdcxx = xno
        !          3242: then :
        !          3243:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
        !          3244: printf %s "checking for $CXX option to enable C++98 features... " >&6; }
        !          3245: if test ${ac_cv_prog_cxx_98+y}
        !          3246: then :
        !          3247:   printf %s "(cached) " >&6
        !          3248: else $as_nop
        !          3249:   ac_cv_prog_cxx_98=no
        !          3250: ac_save_CXX=$CXX
        !          3251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3252: /* end confdefs.h.  */
        !          3253: $ac_cxx_conftest_cxx98_program
        !          3254: _ACEOF
        !          3255: for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
        !          3256: do
        !          3257:   CXX="$ac_save_CXX $ac_arg"
        !          3258:   if ac_fn_cxx_try_compile "$LINENO"
        !          3259: then :
        !          3260:   ac_cv_prog_cxx_cxx98=$ac_arg
        !          3261: fi
        !          3262: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          3263:   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
        !          3264: done
        !          3265: rm -f conftest.$ac_ext
        !          3266: CXX=$ac_save_CXX
        !          3267: fi
        !          3268: 
        !          3269: if test "x$ac_cv_prog_cxx_cxx98" = xno
        !          3270: then :
        !          3271:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          3272: printf "%s\n" "unsupported" >&6; }
        !          3273: else $as_nop
        !          3274:   if test "x$ac_cv_prog_cxx_cxx98" = x
        !          3275: then :
        !          3276:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          3277: printf "%s\n" "none needed" >&6; }
        !          3278: else $as_nop
        !          3279:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
        !          3280: printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
        !          3281:      CXX="$CXX $ac_cv_prog_cxx_cxx98"
        !          3282: fi
        !          3283:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
        !          3284:   ac_prog_cxx_stdcxx=cxx98
        !          3285: fi
        !          3286: fi
        !          3287: 
        !          3288: ac_ext=c
        !          3289: ac_cpp='$CPP $CPPFLAGS'
        !          3290: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3291: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3292: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3293: 
        !          3294: 
        !          3295: 
        !          3296: 
        !          3297: 
        !          3298: 
        !          3299: 
        !          3300: 
        !          3301: 
        !          3302: 
1.1       root     3303: ac_ext=c
                   3304: ac_cpp='$CPP $CPPFLAGS'
                   3305: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3306: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3307: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3308: if test -n "$ac_tool_prefix"; then
                   3309:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3310: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.10! root     3311: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3312: printf %s "checking for $ac_word... " >&6; }
        !          3313: if test ${ac_cv_prog_CC+y}
        !          3314: then :
        !          3315:   printf %s "(cached) " >&6
        !          3316: else $as_nop
1.1       root     3317:   if test -n "$CC"; then
                   3318:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3319: else
                   3320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3321: for as_dir in $PATH
                   3322: do
                   3323:   IFS=$as_save_IFS
1.1.1.10! root     3324:   case $as_dir in #(((
        !          3325:     '') as_dir=./ ;;
        !          3326:     */) ;;
        !          3327:     *) as_dir=$as_dir/ ;;
        !          3328:   esac
1.1       root     3329:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3330:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3331:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.10! root     3332:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3333:     break 2
                   3334:   fi
                   3335: done
                   3336:   done
                   3337: IFS=$as_save_IFS
                   3338: 
                   3339: fi
                   3340: fi
                   3341: CC=$ac_cv_prog_CC
                   3342: if test -n "$CC"; then
1.1.1.10! root     3343:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3344: printf "%s\n" "$CC" >&6; }
1.1       root     3345: else
1.1.1.10! root     3346:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3347: printf "%s\n" "no" >&6; }
1.1       root     3348: fi
                   3349: 
                   3350: 
                   3351: fi
                   3352: if test -z "$ac_cv_prog_CC"; then
                   3353:   ac_ct_CC=$CC
                   3354:   # Extract the first word of "gcc", so it can be a program name with args.
                   3355: set dummy gcc; ac_word=$2
1.1.1.10! root     3356: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3357: printf %s "checking for $ac_word... " >&6; }
        !          3358: if test ${ac_cv_prog_ac_ct_CC+y}
        !          3359: then :
        !          3360:   printf %s "(cached) " >&6
        !          3361: else $as_nop
1.1       root     3362:   if test -n "$ac_ct_CC"; then
                   3363:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3364: else
                   3365: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3366: for as_dir in $PATH
                   3367: do
                   3368:   IFS=$as_save_IFS
1.1.1.10! root     3369:   case $as_dir in #(((
        !          3370:     '') as_dir=./ ;;
        !          3371:     */) ;;
        !          3372:     *) as_dir=$as_dir/ ;;
        !          3373:   esac
1.1       root     3374:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3375:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3376:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.10! root     3377:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3378:     break 2
                   3379:   fi
                   3380: done
                   3381:   done
                   3382: IFS=$as_save_IFS
                   3383: 
                   3384: fi
                   3385: fi
                   3386: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3387: if test -n "$ac_ct_CC"; then
1.1.1.10! root     3388:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3389: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3390: else
1.1.1.10! root     3391:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3392: printf "%s\n" "no" >&6; }
1.1       root     3393: fi
                   3394: 
                   3395:   if test "x$ac_ct_CC" = x; then
                   3396:     CC=""
                   3397:   else
                   3398:     case $cross_compiling:$ac_tool_warned in
                   3399: yes:)
1.1.1.10! root     3400: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3401: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3402: ac_tool_warned=yes ;;
                   3403: esac
                   3404:     CC=$ac_ct_CC
                   3405:   fi
                   3406: else
                   3407:   CC="$ac_cv_prog_CC"
                   3408: fi
                   3409: 
                   3410: if test -z "$CC"; then
                   3411:           if test -n "$ac_tool_prefix"; then
                   3412:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3413: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.10! root     3414: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3415: printf %s "checking for $ac_word... " >&6; }
        !          3416: if test ${ac_cv_prog_CC+y}
        !          3417: then :
        !          3418:   printf %s "(cached) " >&6
        !          3419: else $as_nop
1.1       root     3420:   if test -n "$CC"; then
                   3421:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3422: else
                   3423: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3424: for as_dir in $PATH
                   3425: do
                   3426:   IFS=$as_save_IFS
1.1.1.10! root     3427:   case $as_dir in #(((
        !          3428:     '') as_dir=./ ;;
        !          3429:     */) ;;
        !          3430:     *) as_dir=$as_dir/ ;;
        !          3431:   esac
1.1       root     3432:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3433:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3434:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.10! root     3435:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3436:     break 2
                   3437:   fi
                   3438: done
                   3439:   done
                   3440: IFS=$as_save_IFS
                   3441: 
                   3442: fi
                   3443: fi
                   3444: CC=$ac_cv_prog_CC
                   3445: if test -n "$CC"; then
1.1.1.10! root     3446:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3447: printf "%s\n" "$CC" >&6; }
1.1       root     3448: else
1.1.1.10! root     3449:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3450: printf "%s\n" "no" >&6; }
1.1       root     3451: fi
                   3452: 
                   3453: 
                   3454:   fi
                   3455: fi
                   3456: if test -z "$CC"; then
                   3457:   # Extract the first word of "cc", so it can be a program name with args.
                   3458: set dummy cc; ac_word=$2
1.1.1.10! root     3459: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3460: printf %s "checking for $ac_word... " >&6; }
        !          3461: if test ${ac_cv_prog_CC+y}
        !          3462: then :
        !          3463:   printf %s "(cached) " >&6
        !          3464: else $as_nop
1.1       root     3465:   if test -n "$CC"; then
                   3466:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3467: else
                   3468:   ac_prog_rejected=no
                   3469: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3470: for as_dir in $PATH
                   3471: do
                   3472:   IFS=$as_save_IFS
1.1.1.10! root     3473:   case $as_dir in #(((
        !          3474:     '') as_dir=./ ;;
        !          3475:     */) ;;
        !          3476:     *) as_dir=$as_dir/ ;;
        !          3477:   esac
1.1       root     3478:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3479:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          3480:     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.1       root     3481:        ac_prog_rejected=yes
                   3482:        continue
                   3483:      fi
                   3484:     ac_cv_prog_CC="cc"
1.1.1.10! root     3485:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3486:     break 2
                   3487:   fi
                   3488: done
                   3489:   done
                   3490: IFS=$as_save_IFS
                   3491: 
                   3492: if test $ac_prog_rejected = yes; then
                   3493:   # We found a bogon in the path, so make sure we never use it.
                   3494:   set dummy $ac_cv_prog_CC
                   3495:   shift
                   3496:   if test $# != 0; then
                   3497:     # We chose a different compiler from the bogus one.
                   3498:     # However, it has the same basename, so the bogon will be chosen
                   3499:     # first if we set CC to just the basename; use the full file name.
                   3500:     shift
1.1.1.10! root     3501:     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1.1       root     3502:   fi
                   3503: fi
                   3504: fi
                   3505: fi
                   3506: CC=$ac_cv_prog_CC
                   3507: if test -n "$CC"; then
1.1.1.10! root     3508:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3509: printf "%s\n" "$CC" >&6; }
1.1       root     3510: else
1.1.1.10! root     3511:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3512: printf "%s\n" "no" >&6; }
1.1       root     3513: fi
                   3514: 
                   3515: 
                   3516: fi
                   3517: if test -z "$CC"; then
                   3518:   if test -n "$ac_tool_prefix"; then
                   3519:   for ac_prog in cl.exe
                   3520:   do
                   3521:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3522: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.10! root     3523: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3524: printf %s "checking for $ac_word... " >&6; }
        !          3525: if test ${ac_cv_prog_CC+y}
        !          3526: then :
        !          3527:   printf %s "(cached) " >&6
        !          3528: else $as_nop
1.1       root     3529:   if test -n "$CC"; then
                   3530:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3531: else
                   3532: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3533: for as_dir in $PATH
                   3534: do
                   3535:   IFS=$as_save_IFS
1.1.1.10! root     3536:   case $as_dir in #(((
        !          3537:     '') as_dir=./ ;;
        !          3538:     */) ;;
        !          3539:     *) as_dir=$as_dir/ ;;
        !          3540:   esac
1.1       root     3541:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3542:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3543:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.10! root     3544:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3545:     break 2
                   3546:   fi
                   3547: done
                   3548:   done
                   3549: IFS=$as_save_IFS
                   3550: 
                   3551: fi
                   3552: fi
                   3553: CC=$ac_cv_prog_CC
                   3554: if test -n "$CC"; then
1.1.1.10! root     3555:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3556: printf "%s\n" "$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: 
                   3563:     test -n "$CC" && break
                   3564:   done
                   3565: fi
                   3566: if test -z "$CC"; then
                   3567:   ac_ct_CC=$CC
                   3568:   for ac_prog in cl.exe
                   3569: do
                   3570:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3571: set dummy $ac_prog; ac_word=$2
1.1.1.10! root     3572: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3573: printf %s "checking for $ac_word... " >&6; }
        !          3574: if test ${ac_cv_prog_ac_ct_CC+y}
        !          3575: then :
        !          3576:   printf %s "(cached) " >&6
        !          3577: else $as_nop
1.1       root     3578:   if test -n "$ac_ct_CC"; then
                   3579:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3580: else
                   3581: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3582: for as_dir in $PATH
                   3583: do
                   3584:   IFS=$as_save_IFS
1.1.1.10! root     3585:   case $as_dir in #(((
        !          3586:     '') as_dir=./ ;;
        !          3587:     */) ;;
        !          3588:     *) as_dir=$as_dir/ ;;
        !          3589:   esac
1.1       root     3590:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     3591:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1       root     3592:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.10! root     3593:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1       root     3594:     break 2
                   3595:   fi
                   3596: done
                   3597:   done
                   3598: IFS=$as_save_IFS
                   3599: 
                   3600: fi
                   3601: fi
                   3602: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3603: if test -n "$ac_ct_CC"; then
1.1.1.10! root     3604:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3605: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       root     3606: else
1.1.1.10! root     3607:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3608: printf "%s\n" "no" >&6; }
1.1       root     3609: fi
                   3610: 
                   3611: 
                   3612:   test -n "$ac_ct_CC" && break
                   3613: done
                   3614: 
                   3615:   if test "x$ac_ct_CC" = x; then
                   3616:     CC=""
                   3617:   else
                   3618:     case $cross_compiling:$ac_tool_warned in
                   3619: yes:)
1.1.1.10! root     3620: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3621: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          3622: ac_tool_warned=yes ;;
        !          3623: esac
        !          3624:     CC=$ac_ct_CC
        !          3625:   fi
        !          3626: fi
        !          3627: 
        !          3628: fi
        !          3629: if test -z "$CC"; then
        !          3630:   if test -n "$ac_tool_prefix"; then
        !          3631:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
        !          3632: set dummy ${ac_tool_prefix}clang; ac_word=$2
        !          3633: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3634: printf %s "checking for $ac_word... " >&6; }
        !          3635: if test ${ac_cv_prog_CC+y}
        !          3636: then :
        !          3637:   printf %s "(cached) " >&6
        !          3638: else $as_nop
        !          3639:   if test -n "$CC"; then
        !          3640:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3641: else
        !          3642: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3643: for as_dir in $PATH
        !          3644: do
        !          3645:   IFS=$as_save_IFS
        !          3646:   case $as_dir in #(((
        !          3647:     '') as_dir=./ ;;
        !          3648:     */) ;;
        !          3649:     *) as_dir=$as_dir/ ;;
        !          3650:   esac
        !          3651:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3652:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          3653:     ac_cv_prog_CC="${ac_tool_prefix}clang"
        !          3654:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          3655:     break 2
        !          3656:   fi
        !          3657: done
        !          3658:   done
        !          3659: IFS=$as_save_IFS
        !          3660: 
        !          3661: fi
        !          3662: fi
        !          3663: CC=$ac_cv_prog_CC
        !          3664: if test -n "$CC"; then
        !          3665:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
        !          3666: printf "%s\n" "$CC" >&6; }
        !          3667: else
        !          3668:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3669: printf "%s\n" "no" >&6; }
        !          3670: fi
        !          3671: 
        !          3672: 
        !          3673: fi
        !          3674: if test -z "$ac_cv_prog_CC"; then
        !          3675:   ac_ct_CC=$CC
        !          3676:   # Extract the first word of "clang", so it can be a program name with args.
        !          3677: set dummy clang; ac_word=$2
        !          3678: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          3679: printf %s "checking for $ac_word... " >&6; }
        !          3680: if test ${ac_cv_prog_ac_ct_CC+y}
        !          3681: then :
        !          3682:   printf %s "(cached) " >&6
        !          3683: else $as_nop
        !          3684:   if test -n "$ac_ct_CC"; then
        !          3685:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          3686: else
        !          3687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3688: for as_dir in $PATH
        !          3689: do
        !          3690:   IFS=$as_save_IFS
        !          3691:   case $as_dir in #(((
        !          3692:     '') as_dir=./ ;;
        !          3693:     */) ;;
        !          3694:     *) as_dir=$as_dir/ ;;
        !          3695:   esac
        !          3696:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          3697:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          3698:     ac_cv_prog_ac_ct_CC="clang"
        !          3699:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          3700:     break 2
        !          3701:   fi
        !          3702: done
        !          3703:   done
        !          3704: IFS=$as_save_IFS
        !          3705: 
        !          3706: fi
        !          3707: fi
        !          3708: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3709: if test -n "$ac_ct_CC"; then
        !          3710:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
        !          3711: printf "%s\n" "$ac_ct_CC" >&6; }
        !          3712: else
        !          3713:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          3714: printf "%s\n" "no" >&6; }
        !          3715: fi
        !          3716: 
        !          3717:   if test "x$ac_ct_CC" = x; then
        !          3718:     CC=""
        !          3719:   else
        !          3720:     case $cross_compiling:$ac_tool_warned in
        !          3721: yes:)
        !          3722: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          3723: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       root     3724: ac_tool_warned=yes ;;
                   3725: esac
                   3726:     CC=$ac_ct_CC
                   3727:   fi
1.1.1.10! root     3728: else
        !          3729:   CC="$ac_cv_prog_CC"
1.1       root     3730: fi
                   3731: 
                   3732: fi
                   3733: 
                   3734: 
1.1.1.10! root     3735: test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          3736: printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1.1       root     3737: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3738: See \`config.log' for more details" "$LINENO" 5; }
                   3739: 
                   3740: # Provide some information about the compiler.
1.1.1.10! root     3741: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1       root     3742: set X $ac_compile
                   3743: ac_compiler=$2
1.1.1.10! root     3744: for ac_option in --version -v -V -qversion -version; do
1.1       root     3745:   { { ac_try="$ac_compiler $ac_option >&5"
                   3746: case "(($ac_try" in
                   3747:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3748:   *) ac_try_echo=$ac_try;;
                   3749: esac
                   3750: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.1.1.10! root     3751: printf "%s\n" "$ac_try_echo"; } >&5
1.1       root     3752:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3753:   ac_status=$?
                   3754:   if test -s conftest.err; then
                   3755:     sed '10a\
                   3756: ... rest of stderr output deleted ...
                   3757:          10q' conftest.err >conftest.er1
                   3758:     cat conftest.er1 >&5
                   3759:   fi
                   3760:   rm -f conftest.er1 conftest.err
1.1.1.10! root     3761:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1       root     3762:   test $ac_status = 0; }
                   3763: done
                   3764: 
1.1.1.10! root     3765: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
        !          3766: printf %s "checking whether the compiler supports GNU C... " >&6; }
        !          3767: if test ${ac_cv_c_compiler_gnu+y}
        !          3768: then :
        !          3769:   printf %s "(cached) " >&6
        !          3770: else $as_nop
1.1       root     3771:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3772: /* end confdefs.h.  */
                   3773: 
                   3774: int
1.1.1.10! root     3775: main (void)
1.1       root     3776: {
                   3777: #ifndef __GNUC__
                   3778:        choke me
                   3779: #endif
                   3780: 
                   3781:   ;
                   3782:   return 0;
                   3783: }
                   3784: _ACEOF
1.1.1.10! root     3785: if ac_fn_c_try_compile "$LINENO"
        !          3786: then :
1.1       root     3787:   ac_compiler_gnu=yes
1.1.1.10! root     3788: else $as_nop
1.1       root     3789:   ac_compiler_gnu=no
                   3790: fi
1.1.1.10! root     3791: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3792: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3793: 
                   3794: fi
1.1.1.10! root     3795: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
        !          3796: printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
        !          3797: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3798: 
1.1       root     3799: if test $ac_compiler_gnu = yes; then
                   3800:   GCC=yes
                   3801: else
                   3802:   GCC=
                   3803: fi
1.1.1.10! root     3804: ac_test_CFLAGS=${CFLAGS+y}
1.1       root     3805: ac_save_CFLAGS=$CFLAGS
1.1.1.10! root     3806: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
        !          3807: printf %s "checking whether $CC accepts -g... " >&6; }
        !          3808: if test ${ac_cv_prog_cc_g+y}
        !          3809: then :
        !          3810:   printf %s "(cached) " >&6
        !          3811: else $as_nop
1.1       root     3812:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3813:    ac_c_werror_flag=yes
                   3814:    ac_cv_prog_cc_g=no
                   3815:    CFLAGS="-g"
                   3816:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3817: /* end confdefs.h.  */
                   3818: 
                   3819: int
1.1.1.10! root     3820: main (void)
1.1       root     3821: {
                   3822: 
                   3823:   ;
                   3824:   return 0;
                   3825: }
                   3826: _ACEOF
1.1.1.10! root     3827: if ac_fn_c_try_compile "$LINENO"
        !          3828: then :
1.1       root     3829:   ac_cv_prog_cc_g=yes
1.1.1.10! root     3830: else $as_nop
1.1       root     3831:   CFLAGS=""
                   3832:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3833: /* end confdefs.h.  */
                   3834: 
                   3835: int
1.1.1.10! root     3836: main (void)
1.1       root     3837: {
                   3838: 
                   3839:   ;
                   3840:   return 0;
                   3841: }
                   3842: _ACEOF
1.1.1.10! root     3843: if ac_fn_c_try_compile "$LINENO"
        !          3844: then :
1.1       root     3845: 
1.1.1.10! root     3846: else $as_nop
1.1       root     3847:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3848:         CFLAGS="-g"
                   3849:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3850: /* end confdefs.h.  */
                   3851: 
                   3852: int
1.1.1.10! root     3853: main (void)
1.1       root     3854: {
                   3855: 
                   3856:   ;
                   3857:   return 0;
                   3858: }
                   3859: _ACEOF
1.1.1.10! root     3860: if ac_fn_c_try_compile "$LINENO"
        !          3861: then :
1.1       root     3862:   ac_cv_prog_cc_g=yes
                   3863: fi
1.1.1.10! root     3864: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3865: fi
1.1.1.10! root     3866: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3867: fi
1.1.1.10! root     3868: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     3869:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3870: fi
1.1.1.10! root     3871: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
        !          3872: printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
        !          3873: if test $ac_test_CFLAGS; then
1.1       root     3874:   CFLAGS=$ac_save_CFLAGS
                   3875: elif test $ac_cv_prog_cc_g = yes; then
                   3876:   if test "$GCC" = yes; then
                   3877:     CFLAGS="-g -O2"
                   3878:   else
                   3879:     CFLAGS="-g"
                   3880:   fi
                   3881: else
                   3882:   if test "$GCC" = yes; then
                   3883:     CFLAGS="-O2"
                   3884:   else
                   3885:     CFLAGS=
                   3886:   fi
                   3887: fi
1.1.1.10! root     3888: ac_prog_cc_stdc=no
        !          3889: if test x$ac_prog_cc_stdc = xno
        !          3890: then :
        !          3891:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
        !          3892: printf %s "checking for $CC option to enable C11 features... " >&6; }
        !          3893: if test ${ac_cv_prog_cc_c11+y}
        !          3894: then :
        !          3895:   printf %s "(cached) " >&6
        !          3896: else $as_nop
        !          3897:   ac_cv_prog_cc_c11=no
1.1       root     3898: ac_save_CC=$CC
                   3899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3900: /* end confdefs.h.  */
1.1.1.10! root     3901: $ac_c_conftest_c11_program
        !          3902: _ACEOF
        !          3903: for ac_arg in '' -std=gnu11
        !          3904: do
        !          3905:   CC="$ac_save_CC $ac_arg"
        !          3906:   if ac_fn_c_try_compile "$LINENO"
        !          3907: then :
        !          3908:   ac_cv_prog_cc_c11=$ac_arg
        !          3909: fi
        !          3910: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          3911:   test "x$ac_cv_prog_cc_c11" != "xno" && break
        !          3912: done
        !          3913: rm -f conftest.$ac_ext
        !          3914: CC=$ac_save_CC
        !          3915: fi
1.1       root     3916: 
1.1.1.10! root     3917: if test "x$ac_cv_prog_cc_c11" = xno
        !          3918: then :
        !          3919:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          3920: printf "%s\n" "unsupported" >&6; }
        !          3921: else $as_nop
        !          3922:   if test "x$ac_cv_prog_cc_c11" = x
        !          3923: then :
        !          3924:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          3925: printf "%s\n" "none needed" >&6; }
        !          3926: else $as_nop
        !          3927:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
        !          3928: printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
        !          3929:      CC="$CC $ac_cv_prog_cc_c11"
        !          3930: fi
        !          3931:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
        !          3932:   ac_prog_cc_stdc=c11
        !          3933: fi
        !          3934: fi
        !          3935: if test x$ac_prog_cc_stdc = xno
        !          3936: then :
        !          3937:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
        !          3938: printf %s "checking for $CC option to enable C99 features... " >&6; }
        !          3939: if test ${ac_cv_prog_cc_c99+y}
        !          3940: then :
        !          3941:   printf %s "(cached) " >&6
        !          3942: else $as_nop
        !          3943:   ac_cv_prog_cc_c99=no
        !          3944: ac_save_CC=$CC
        !          3945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3946: /* end confdefs.h.  */
        !          3947: $ac_c_conftest_c99_program
        !          3948: _ACEOF
        !          3949: for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
        !          3950: do
        !          3951:   CC="$ac_save_CC $ac_arg"
        !          3952:   if ac_fn_c_try_compile "$LINENO"
        !          3953: then :
        !          3954:   ac_cv_prog_cc_c99=$ac_arg
        !          3955: fi
        !          3956: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          3957:   test "x$ac_cv_prog_cc_c99" != "xno" && break
        !          3958: done
        !          3959: rm -f conftest.$ac_ext
        !          3960: CC=$ac_save_CC
        !          3961: fi
1.1       root     3962: 
1.1.1.10! root     3963: if test "x$ac_cv_prog_cc_c99" = xno
        !          3964: then :
        !          3965:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          3966: printf "%s\n" "unsupported" >&6; }
        !          3967: else $as_nop
        !          3968:   if test "x$ac_cv_prog_cc_c99" = x
        !          3969: then :
        !          3970:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          3971: printf "%s\n" "none needed" >&6; }
        !          3972: else $as_nop
        !          3973:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
        !          3974: printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
        !          3975:      CC="$CC $ac_cv_prog_cc_c99"
        !          3976: fi
        !          3977:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
        !          3978:   ac_prog_cc_stdc=c99
        !          3979: fi
        !          3980: fi
        !          3981: if test x$ac_prog_cc_stdc = xno
        !          3982: then :
        !          3983:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
        !          3984: printf %s "checking for $CC option to enable C89 features... " >&6; }
        !          3985: if test ${ac_cv_prog_cc_c89+y}
        !          3986: then :
        !          3987:   printf %s "(cached) " >&6
        !          3988: else $as_nop
        !          3989:   ac_cv_prog_cc_c89=no
        !          3990: ac_save_CC=$CC
        !          3991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3992: /* end confdefs.h.  */
        !          3993: $ac_c_conftest_c89_program
1.1       root     3994: _ACEOF
1.1.1.10! root     3995: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       root     3996: do
                   3997:   CC="$ac_save_CC $ac_arg"
1.1.1.10! root     3998:   if ac_fn_c_try_compile "$LINENO"
        !          3999: then :
1.1       root     4000:   ac_cv_prog_cc_c89=$ac_arg
                   4001: fi
1.1.1.10! root     4002: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.1       root     4003:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4004: done
                   4005: rm -f conftest.$ac_ext
                   4006: CC=$ac_save_CC
                   4007: fi
                   4008: 
1.1.1.10! root     4009: if test "x$ac_cv_prog_cc_c89" = xno
        !          4010: then :
        !          4011:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
        !          4012: printf "%s\n" "unsupported" >&6; }
        !          4013: else $as_nop
        !          4014:   if test "x$ac_cv_prog_cc_c89" = x
        !          4015: then :
        !          4016:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
        !          4017: printf "%s\n" "none needed" >&6; }
        !          4018: else $as_nop
        !          4019:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
        !          4020: printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
        !          4021:      CC="$CC $ac_cv_prog_cc_c89"
        !          4022: fi
        !          4023:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
        !          4024:   ac_prog_cc_stdc=c89
        !          4025: fi
1.1       root     4026: fi
                   4027: 
                   4028: ac_ext=c
                   4029: ac_cpp='$CPP $CPPFLAGS'
                   4030: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4031: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4032: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4033: 
1.1.1.10! root     4034: 
        !          4035: 
        !          4036:   # Find a good install program.  We prefer a C program (faster),
1.1.1.3   root     4037: # so one script is as good as another.  But avoid the broken or
                   4038: # incompatible versions:
                   4039: # SysV /etc/install, /usr/sbin/install
                   4040: # SunOS /usr/etc/install
                   4041: # IRIX /sbin/install
                   4042: # AIX /bin/install
                   4043: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   4044: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   4045: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   4046: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   4047: # OS/2's system install, which has a completely different semantic
                   4048: # ./install, which can be erroneously created by make from ./install.sh.
                   4049: # Reject install programs that cannot install multiple files.
1.1.1.10! root     4050: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
        !          4051: printf %s "checking for a BSD-compatible install... " >&6; }
1.1.1.3   root     4052: if test -z "$INSTALL"; then
1.1.1.10! root     4053: if test ${ac_cv_path_install+y}
        !          4054: then :
        !          4055:   printf %s "(cached) " >&6
        !          4056: else $as_nop
1.1.1.3   root     4057:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4058: for as_dir in $PATH
                   4059: do
                   4060:   IFS=$as_save_IFS
1.1.1.10! root     4061:   case $as_dir in #(((
        !          4062:     '') as_dir=./ ;;
        !          4063:     */) ;;
        !          4064:     *) as_dir=$as_dir/ ;;
        !          4065:   esac
        !          4066:     # Account for fact that we put trailing slashes in our PATH walk.
        !          4067: case $as_dir in #((
        !          4068:   ./ | /[cC]/* | \
1.1.1.3   root     4069:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   4070:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   4071:   /usr/ucb/* ) ;;
                   4072:   *)
                   4073:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   4074:     # Don't use installbsd from OSF since it installs stuff as root
                   4075:     # by default.
                   4076:     for ac_prog in ginstall scoinst install; do
                   4077:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     4078:        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1.1.1.3   root     4079:          if test $ac_prog = install &&
1.1.1.10! root     4080:            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4081:            # AIX install.  It has an incompatible calling convention.
                   4082:            :
                   4083:          elif test $ac_prog = install &&
1.1.1.10! root     4084:            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.1.1.3   root     4085:            # program-specific install script used by HP pwplus--don't use.
                   4086:            :
                   4087:          else
                   4088:            rm -rf conftest.one conftest.two conftest.dir
                   4089:            echo one > conftest.one
                   4090:            echo two > conftest.two
                   4091:            mkdir conftest.dir
1.1.1.10! root     4092:            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1.1.1.3   root     4093:              test -s conftest.one && test -s conftest.two &&
                   4094:              test -s conftest.dir/conftest.one &&
                   4095:              test -s conftest.dir/conftest.two
                   4096:            then
1.1.1.10! root     4097:              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1.1.1.3   root     4098:              break 3
                   4099:            fi
                   4100:          fi
                   4101:        fi
                   4102:       done
                   4103:     done
                   4104:     ;;
                   4105: esac
1.1       root     4106: 
1.1.1.3   root     4107:   done
                   4108: IFS=$as_save_IFS
1.1       root     4109: 
1.1.1.3   root     4110: rm -rf conftest.one conftest.two conftest.dir
                   4111: 
                   4112: fi
1.1.1.10! root     4113:   if test ${ac_cv_path_install+y}; then
1.1.1.3   root     4114:     INSTALL=$ac_cv_path_install
                   4115:   else
                   4116:     # As a last resort, use the slow shell script.  Don't cache a
                   4117:     # value for INSTALL within a source directory, because that will
                   4118:     # break other packages using the cache if that directory is
                   4119:     # removed, or if the value is a relative name.
                   4120:     INSTALL=$ac_install_sh
                   4121:   fi
                   4122: fi
1.1.1.10! root     4123: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
        !          4124: printf "%s\n" "$INSTALL" >&6; }
1.1.1.3   root     4125: 
                   4126: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   4127: # It thinks the first close brace ends the variable substitution.
                   4128: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   4129: 
                   4130: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   4131: 
                   4132: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   4133: 
                   4134: 
1.1.1.10! root     4135: # OS
1.1       root     4136: 
                   4137: 
1.1.1.10! root     4138:   # Make sure we can run config.sub.
        !          4139: $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
        !          4140:   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
        !          4141: 
        !          4142: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
        !          4143: printf %s "checking build system type... " >&6; }
        !          4144: if test ${ac_cv_build+y}
        !          4145: then :
        !          4146:   printf %s "(cached) " >&6
        !          4147: else $as_nop
        !          4148:   ac_build_alias=$build_alias
        !          4149: test "x$ac_build_alias" = x &&
        !          4150:   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
        !          4151: test "x$ac_build_alias" = x &&
        !          4152:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
        !          4153: ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
        !          4154:   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
1.1       root     4155: 
                   4156: fi
1.1.1.10! root     4157: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
        !          4158: printf "%s\n" "$ac_cv_build" >&6; }
        !          4159: case $ac_cv_build in
        !          4160: *-*-*) ;;
        !          4161: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
        !          4162: esac
        !          4163: build=$ac_cv_build
        !          4164: ac_save_IFS=$IFS; IFS='-'
        !          4165: set x $ac_cv_build
        !          4166: shift
        !          4167: build_cpu=$1
        !          4168: build_vendor=$2
        !          4169: shift; shift
        !          4170: # Remember, the first character of IFS is used to create $*,
        !          4171: # except with old shells:
        !          4172: build_os=$*
        !          4173: IFS=$ac_save_IFS
        !          4174: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.1       root     4175: 
                   4176: 
1.1.1.10! root     4177: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
        !          4178: printf %s "checking host system type... " >&6; }
        !          4179: if test ${ac_cv_host+y}
        !          4180: then :
        !          4181:   printf %s "(cached) " >&6
        !          4182: else $as_nop
        !          4183:   if test "x$host_alias" = x; then
        !          4184:   ac_cv_host=$ac_cv_build
1.1       root     4185: else
1.1.1.10! root     4186:   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
        !          4187:     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
1.1       root     4188: fi
                   4189: 
                   4190: fi
1.1.1.10! root     4191: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
        !          4192: printf "%s\n" "$ac_cv_host" >&6; }
        !          4193: case $ac_cv_host in
        !          4194: *-*-*) ;;
        !          4195: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
        !          4196: esac
        !          4197: host=$ac_cv_host
        !          4198: ac_save_IFS=$IFS; IFS='-'
        !          4199: set x $ac_cv_host
        !          4200: shift
        !          4201: host_cpu=$1
        !          4202: host_vendor=$2
        !          4203: shift; shift
        !          4204: # Remember, the first character of IFS is used to create $*,
        !          4205: # except with old shells:
        !          4206: host_os=$*
        !          4207: IFS=$ac_save_IFS
        !          4208: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1       root     4209: 
                   4210: 
                   4211: 
                   4212: 
1.1.1.10! root     4213: # コンパイラをチェック。今のところ clang/gcc のみ。
        !          4214: # (autoconf がやってる gcc かどうかのチェックは clang を検出できず使えない)
        !          4215: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler" >&5
        !          4216: printf %s "checking for compiler... " >&6; }
        !          4217: if test -n "`${CC} -v 2>&1 | grep clang`" ; then
        !          4218:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang" >&5
        !          4219: printf "%s\n" "clang" >&6; }
        !          4220:        COMPILER=CLANG
        !          4221: elif test -n "`${CC} -v 2>&1 | grep GCC`"; then
        !          4222:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
        !          4223: printf "%s\n" "gcc" >&6; }
        !          4224:        COMPILER=GCC
1.1       root     4225: else
1.1.1.10! root     4226:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
        !          4227: printf "%s\n" "unknown" >&6; }
        !          4228:        COMPILER=
1.1       root     4229: fi
                   4230: 
                   4231: 
1.1.1.10! root     4232: # C++ のバージョンをチェック
        !          4233: CXX_STD=-std=c++14
        !          4234: ac_ext=cpp
        !          4235: ac_cpp='$CXXCPP $CPPFLAGS'
        !          4236: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4237: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4238: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.1       root     4239: 
1.1.1.10! root     4240: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${CXX_STD}" >&5
        !          4241: printf %s "checking for ${CXX_STD}... " >&6; }
        !          4242: old_CXXFLAGS="${CXXFLAGS}"
        !          4243: CXXFLAGS="${CXX_STD} ${CXXFLAGS}"
1.1       root     4244: 
1.1.1.10! root     4245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4246: /* end confdefs.h.  */
                   4247: 
                   4248: int
1.1.1.10! root     4249: main (void)
1.1       root     4250: {
                   4251: 
                   4252:   ;
                   4253:   return 0;
                   4254: }
                   4255: _ACEOF
1.1.1.10! root     4256: if ac_fn_cxx_try_compile "$LINENO"
        !          4257: then :
        !          4258:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4259: printf "%s\n" "yes" >&6; }
        !          4260: else $as_nop
        !          4261:   as_fn_error $? "\"*** C++ compiler '${CXX}' doesn't support ${CXX_STD}.\"" "$LINENO" 5
1.1       root     4262: fi
1.1.1.10! root     4263: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4264: CXXFLAGS="${old_CXXFLAGS}"
        !          4265: CXX="${CXX} ${CXX_STD}"
        !          4266: ac_ext=c
        !          4267: ac_cpp='$CPP $CPPFLAGS'
        !          4268: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4269: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4270: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4271: 
                   4272: 
1.1.1.10! root     4273: # C コンパイラのワーニングオプション
        !          4274: ac_ext=c
        !          4275: ac_cpp='$CPP $CPPFLAGS'
        !          4276: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4277: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4278: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       root     4279: 
                   4280: 
                   4281: 
                   4282: 
1.1.1.10! root     4283:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wcast-qual" >&5
        !          4284: printf %s "checking whether cc accepts -Wcast-qual... " >&6; }
        !          4285:        old_CFLAGS="${CFLAGS}"
        !          4286:        CFLAGS="${CFLAGS} -Werror -Wcast-qual"
        !          4287:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4288: /* end confdefs.h.  */
                   4289: 
                   4290: int
1.1.1.10! root     4291: main (void)
1.1       root     4292: {
1.1.1.10! root     4293: 
        !          4294:   ;
1.1       root     4295:   return 0;
                   4296: }
                   4297: _ACEOF
1.1.1.10! root     4298: if ac_fn_c_try_compile "$LINENO"
        !          4299: then :
        !          4300:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4301: printf "%s\n" "yes" >&6; }
        !          4302:                WARNFLAGS_C="${WARNFLAGS_C} -Wcast-qual"
        !          4303: else $as_nop
        !          4304:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4305: printf "%s\n" "no" >&6; }
1.1       root     4306: fi
1.1.1.10! root     4307: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4308:        CFLAGS="${old_CFLAGS}"
1.1       root     4309: 
                   4310: 
1.1.1.10! root     4311:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wextra-semi" >&5
        !          4312: printf %s "checking whether cc accepts -Wextra-semi... " >&6; }
        !          4313:        old_CFLAGS="${CFLAGS}"
        !          4314:        CFLAGS="${CFLAGS} -Werror -Wextra-semi"
        !          4315:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4316: /* end confdefs.h.  */
                   4317: 
                   4318: int
1.1.1.10! root     4319: main (void)
1.1       root     4320: {
                   4321: 
                   4322:   ;
                   4323:   return 0;
                   4324: }
                   4325: _ACEOF
1.1.1.10! root     4326: if ac_fn_c_try_compile "$LINENO"
        !          4327: then :
        !          4328:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4329: printf "%s\n" "yes" >&6; }
        !          4330:                WARNFLAGS_C="${WARNFLAGS_C} -Wextra-semi"
        !          4331: else $as_nop
        !          4332:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4333: printf "%s\n" "no" >&6; }
        !          4334: fi
        !          4335: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4336:        CFLAGS="${old_CFLAGS}"
        !          4337: 
        !          4338: 
        !          4339:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wlogical-op" >&5
        !          4340: printf %s "checking whether cc accepts -Wlogical-op... " >&6; }
        !          4341:        old_CFLAGS="${CFLAGS}"
        !          4342:        CFLAGS="${CFLAGS} -Werror -Wlogical-op"
        !          4343:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4344: /* end confdefs.h.  */
                   4345: 
                   4346: int
1.1.1.10! root     4347: main (void)
1.1       root     4348: {
                   4349: 
                   4350:   ;
                   4351:   return 0;
                   4352: }
                   4353: _ACEOF
1.1.1.10! root     4354: if ac_fn_c_try_compile "$LINENO"
        !          4355: then :
        !          4356:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4357: printf "%s\n" "yes" >&6; }
        !          4358:                WARNFLAGS_C="${WARNFLAGS_C} -Wlogical-op"
        !          4359: else $as_nop
        !          4360:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4361: printf "%s\n" "no" >&6; }
1.1       root     4362: fi
1.1.1.10! root     4363: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4364:        CFLAGS="${old_CFLAGS}"
1.1       root     4365: 
                   4366: 
1.1.1.10! root     4367:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-prototypes" >&5
        !          4368: printf %s "checking whether cc accepts -Wmissing-prototypes... " >&6; }
        !          4369:        old_CFLAGS="${CFLAGS}"
        !          4370:        CFLAGS="${CFLAGS} -Werror -Wmissing-prototypes"
        !          4371:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4372: /* end confdefs.h.  */
                   4373: 
                   4374: int
1.1.1.10! root     4375: main (void)
1.1       root     4376: {
                   4377: 
                   4378:   ;
                   4379:   return 0;
                   4380: }
                   4381: _ACEOF
1.1.1.10! root     4382: if ac_fn_c_try_compile "$LINENO"
        !          4383: then :
        !          4384:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4385: printf "%s\n" "yes" >&6; }
        !          4386:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-prototypes"
        !          4387: else $as_nop
        !          4388:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4389: printf "%s\n" "no" >&6; }
1.1       root     4390: fi
1.1.1.10! root     4391: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4392:        CFLAGS="${old_CFLAGS}"
1.1       root     4393: 
1.1.1.10! root     4394: 
        !          4395:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-variable-declarations" >&5
        !          4396: printf %s "checking whether cc accepts -Wmissing-variable-declarations... " >&6; }
        !          4397:        old_CFLAGS="${CFLAGS}"
        !          4398:        CFLAGS="${CFLAGS} -Werror -Wmissing-variable-declarations"
        !          4399:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4400: /* end confdefs.h.  */
1.1.1.10! root     4401: 
1.1       root     4402: int
1.1.1.10! root     4403: main (void)
1.1       root     4404: {
                   4405: 
                   4406:   ;
                   4407:   return 0;
                   4408: }
                   4409: _ACEOF
1.1.1.10! root     4410: if ac_fn_c_try_compile "$LINENO"
        !          4411: then :
        !          4412:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4413: printf "%s\n" "yes" >&6; }
        !          4414:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-variable-declarations"
        !          4415: else $as_nop
        !          4416:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4417: printf "%s\n" "no" >&6; }
1.1.1.6   root     4418: fi
1.1.1.10! root     4419: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4420:        CFLAGS="${old_CFLAGS}"
1.1.1.6   root     4421: 
1.1.1.10! root     4422: ac_ext=c
        !          4423: ac_cpp='$CPP $CPPFLAGS'
        !          4424: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4425: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4426: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.6   root     4427: 
1.1.1.4   root     4428: 
                   4429: 
1.1.1.10! root     4430: # C++ コンパイラのワーニングオプション
        !          4431: # (AC_LANG は C++ のまま継続する)
1.1.1.3   root     4432: ac_ext=cpp
                   4433: ac_cpp='$CXXCPP $CPPFLAGS'
                   4434: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4435: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4436: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4437: 
                   4438: 
1.1.1.10! root     4439: 
        !          4440:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wcast-qual" >&5
        !          4441: printf %s "checking whether c++ accepts -Wcast-qual... " >&6; }
        !          4442:        old_CXXFLAGS="${CXXFLAGS}"
        !          4443:        CXXFLAGS="${CXXFLAGS} -Werror -Wcast-qual"
        !          4444:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4445: /* end confdefs.h.  */
                   4446: 
                   4447: int
1.1.1.10! root     4448: main (void)
1.1       root     4449: {
                   4450: 
                   4451:   ;
                   4452:   return 0;
                   4453: }
                   4454: _ACEOF
1.1.1.10! root     4455: if ac_fn_cxx_try_compile "$LINENO"
        !          4456: then :
        !          4457:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4458: printf "%s\n" "yes" >&6; }
        !          4459:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wcast-qual"
        !          4460: else $as_nop
        !          4461:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4462: printf "%s\n" "no" >&6; }
1.1       root     4463: fi
1.1.1.10! root     4464: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4465:        CXXFLAGS="${old_CXXFLAGS}"
1.1       root     4466: 
                   4467: 
1.1.1.10! root     4468:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wextra-semi" >&5
        !          4469: printf %s "checking whether c++ accepts -Wextra-semi... " >&6; }
        !          4470:        old_CXXFLAGS="${CXXFLAGS}"
        !          4471:        CXXFLAGS="${CXXFLAGS} -Werror -Wextra-semi"
1.1.1.3   root     4472:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4473: /* end confdefs.h.  */
1.1       root     4474: 
1.1.1.3   root     4475: int
1.1.1.10! root     4476: main (void)
1.1.1.3   root     4477: {
1.1       root     4478: 
1.1.1.3   root     4479:   ;
                   4480:   return 0;
                   4481: }
1.1.1.2   root     4482: _ACEOF
1.1.1.10! root     4483: if ac_fn_cxx_try_compile "$LINENO"
        !          4484: then :
        !          4485:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4486: printf "%s\n" "yes" >&6; }
        !          4487:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wextra-semi"
        !          4488: else $as_nop
        !          4489:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4490: printf "%s\n" "no" >&6; }
1.1.1.2   root     4491: fi
1.1.1.10! root     4492: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4493:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.2   root     4494: 
1.1       root     4495: 
1.1.1.10! root     4496:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-override" >&5
        !          4497: printf %s "checking whether c++ accepts -Winconsistent-missing-override... " >&6; }
        !          4498:        old_CXXFLAGS="${CXXFLAGS}"
        !          4499:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-override"
1.1.1.3   root     4500:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4501: /* end confdefs.h.  */
1.1       root     4502: 
1.1.1.3   root     4503: int
1.1.1.10! root     4504: main (void)
1.1.1.3   root     4505: {
1.1       root     4506: 
1.1.1.3   root     4507:   ;
                   4508:   return 0;
                   4509: }
                   4510: _ACEOF
1.1.1.10! root     4511: if ac_fn_cxx_try_compile "$LINENO"
        !          4512: then :
        !          4513:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4514: printf "%s\n" "yes" >&6; }
        !          4515:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-override"
        !          4516: else $as_nop
        !          4517:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4518: printf "%s\n" "no" >&6; }
1.1.1.3   root     4519: fi
1.1.1.10! root     4520: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4521:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4522: 
                   4523: 
1.1.1.10! root     4524:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-destructor-override" >&5
        !          4525: printf %s "checking whether c++ accepts -Winconsistent-missing-destructor-override... " >&6; }
        !          4526:        old_CXXFLAGS="${CXXFLAGS}"
        !          4527:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-destructor-override"
1.1.1.3   root     4528:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4529: /* end confdefs.h.  */
                   4530: 
                   4531: int
1.1.1.10! root     4532: main (void)
1.1.1.3   root     4533: {
                   4534: 
                   4535:   ;
                   4536:   return 0;
                   4537: }
                   4538: _ACEOF
1.1.1.10! root     4539: if ac_fn_cxx_try_compile "$LINENO"
        !          4540: then :
        !          4541:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4542: printf "%s\n" "yes" >&6; }
        !          4543:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-destructor-override"
        !          4544: else $as_nop
        !          4545:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4546: printf "%s\n" "no" >&6; }
1.1.1.3   root     4547: fi
1.1.1.10! root     4548: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4549:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4550: 
                   4551: 
1.1.1.10! root     4552:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wlogical-op" >&5
        !          4553: printf %s "checking whether c++ accepts -Wlogical-op... " >&6; }
        !          4554:        old_CXXFLAGS="${CXXFLAGS}"
        !          4555:        CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op"
1.1.1.3   root     4556:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4557: /* end confdefs.h.  */
                   4558: 
                   4559: int
1.1.1.10! root     4560: main (void)
1.1.1.3   root     4561: {
                   4562: 
                   4563:   ;
                   4564:   return 0;
                   4565: }
                   4566: _ACEOF
1.1.1.10! root     4567: if ac_fn_cxx_try_compile "$LINENO"
        !          4568: then :
        !          4569:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4570: printf "%s\n" "yes" >&6; }
        !          4571:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wlogical-op"
        !          4572: else $as_nop
        !          4573:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4574: printf "%s\n" "no" >&6; }
1.1.1.3   root     4575: fi
1.1.1.10! root     4576: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4577:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4578: 
                   4579: 
1.1.1.10! root     4580:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-prototypes" >&5
        !          4581: printf %s "checking whether c++ accepts -Wmissing-prototypes... " >&6; }
        !          4582:        old_CXXFLAGS="${CXXFLAGS}"
        !          4583:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-prototypes"
1.1.1.3   root     4584:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4585: /* end confdefs.h.  */
                   4586: 
                   4587: int
1.1.1.10! root     4588: main (void)
1.1.1.3   root     4589: {
                   4590: 
                   4591:   ;
                   4592:   return 0;
                   4593: }
                   4594: _ACEOF
1.1.1.10! root     4595: if ac_fn_cxx_try_compile "$LINENO"
        !          4596: then :
        !          4597:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4598: printf "%s\n" "yes" >&6; }
        !          4599:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-prototypes"
        !          4600: else $as_nop
        !          4601:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4602: printf "%s\n" "no" >&6; }
1.1.1.3   root     4603: fi
1.1.1.10! root     4604: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4605:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4606: 
                   4607: 
1.1.1.10! root     4608:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-variable-declarations" >&5
        !          4609: printf %s "checking whether c++ accepts -Wmissing-variable-declarations... " >&6; }
        !          4610:        old_CXXFLAGS="${CXXFLAGS}"
        !          4611:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-variable-declarations"
        !          4612:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4613: /* end confdefs.h.  */
1.1.1.3   root     4614: 
1.1.1.10! root     4615: int
        !          4616: main (void)
        !          4617: {
1.1.1.3   root     4618: 
1.1.1.10! root     4619:   ;
        !          4620:   return 0;
        !          4621: }
        !          4622: _ACEOF
        !          4623: if ac_fn_cxx_try_compile "$LINENO"
        !          4624: then :
        !          4625:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4626: printf "%s\n" "yes" >&6; }
        !          4627:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-variable-declarations"
        !          4628: else $as_nop
        !          4629:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4630: printf "%s\n" "no" >&6; }
        !          4631: fi
        !          4632: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4633:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4634: 
                   4635: 
1.1.1.10! root     4636:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5
        !          4637: printf %s "checking whether c++ accepts -Wvla-extension... " >&6; }
1.1.1.3   root     4638:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.10! root     4639:        CXXFLAGS="${CXXFLAGS} -Werror -Wvla-extension"
1.1.1.3   root     4640:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4641: /* end confdefs.h.  */
                   4642: 
                   4643: int
1.1.1.10! root     4644: main (void)
1.1.1.3   root     4645: {
                   4646: 
                   4647:   ;
                   4648:   return 0;
                   4649: }
                   4650: _ACEOF
1.1.1.10! root     4651: if ac_fn_cxx_try_compile "$LINENO"
        !          4652: then :
        !          4653:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4654: printf "%s\n" "yes" >&6; }
        !          4655:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wvla-extension"
        !          4656: else $as_nop
        !          4657:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4658: printf "%s\n" "no" >&6; }
1.1.1.3   root     4659: fi
1.1.1.10! root     4660: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     4661:        CXXFLAGS="${old_CXXFLAGS}"
                   4662: 
                   4663: 
1.1.1.10! root     4664: 
        !          4665: # Checks for libraries.
        !          4666: 
        !          4667: # Checks for header files.
        !          4668: ac_header= ac_cache=
        !          4669: for ac_item in $ac_header_cxx_list
        !          4670: do
        !          4671:   if test $ac_cache; then
        !          4672:     ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
        !          4673:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
        !          4674:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
        !          4675:     fi
        !          4676:     ac_header= ac_cache=
        !          4677:   elif test $ac_header; then
        !          4678:     ac_cache=$ac_item
        !          4679:   else
        !          4680:     ac_header=$ac_item
        !          4681:   fi
        !          4682: done
        !          4683: 
        !          4684: 
        !          4685: 
        !          4686: 
        !          4687: 
        !          4688: 
        !          4689: 
        !          4690: 
        !          4691: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
        !          4692: then :
        !          4693: 
        !          4694: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
        !          4695: 
        !          4696: fi
        !          4697: ac_fn_cxx_check_header_compile "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default"
        !          4698: if test "x$ac_cv_header_bsd_bsd_h" = xyes
        !          4699: then :
        !          4700:   printf "%s\n" "#define HAVE_BSD_BSD_H 1" >>confdefs.h
        !          4701: 
        !          4702: fi
        !          4703: 
        !          4704: ac_fn_cxx_check_header_compile "$LINENO" "bsd/stdio.h" "ac_cv_header_bsd_stdio_h" "$ac_includes_default"
        !          4705: if test "x$ac_cv_header_bsd_stdio_h" = xyes
        !          4706: then :
        !          4707:   printf "%s\n" "#define HAVE_BSD_STDIO_H 1" >>confdefs.h
        !          4708: 
        !          4709: fi
        !          4710: 
        !          4711: ac_fn_cxx_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
        !          4712: if test "x$ac_cv_header_byteswap_h" = xyes
        !          4713: then :
        !          4714:   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
        !          4715: 
        !          4716: fi
        !          4717: 
        !          4718: ac_fn_cxx_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
        !          4719: if test "x$ac_cv_header_endian_h" = xyes
        !          4720: then :
        !          4721:   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
        !          4722: 
        !          4723: fi
        !          4724: 
        !          4725: ac_fn_cxx_check_header_compile "$LINENO" "histedit.h" "ac_cv_header_histedit_h" "$ac_includes_default"
        !          4726: if test "x$ac_cv_header_histedit_h" = xyes
        !          4727: then :
        !          4728:   printf "%s\n" "#define HAVE_HISTEDIT_H 1" >>confdefs.h
        !          4729: 
        !          4730: fi
        !          4731: 
        !          4732: ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default"
        !          4733: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes
        !          4734: then :
        !          4735:   printf "%s\n" "#define HAVE_KQUEUE_SYS_EVENT_H 1" >>confdefs.h
        !          4736: 
        !          4737: fi
        !          4738: 
        !          4739: ac_fn_cxx_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
        !          4740: if test "x$ac_cv_header_pthread_np_h" = xyes
        !          4741: then :
        !          4742:   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
        !          4743: 
        !          4744: fi
        !          4745: 
        !          4746: ac_fn_cxx_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
        !          4747: if test "x$ac_cv_header_sys_endian_h" = xyes
        !          4748: then :
        !          4749:   printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
        !          4750: 
        !          4751: fi
        !          4752: 
        !          4753: ac_fn_cxx_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
        !          4754: if test "x$ac_cv_header_sys_event_h" = xyes
        !          4755: then :
        !          4756:   printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
        !          4757: 
        !          4758: fi
        !          4759: 
        !          4760: ac_fn_cxx_check_header_compile "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
        !          4761: if test "x$ac_cv_header_net_bpf_h" = xyes
        !          4762: then :
        !          4763:   printf "%s\n" "#define HAVE_NET_BPF_H 1" >>confdefs.h
        !          4764: 
        !          4765: fi
        !          4766: 
        !          4767: ac_fn_cxx_check_header_compile "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default"
        !          4768: if test "x$ac_cv_header_net_if_tap_h" = xyes
        !          4769: then :
        !          4770:   printf "%s\n" "#define HAVE_NET_IF_TAP_H 1" >>confdefs.h
        !          4771: 
        !          4772: fi
        !          4773: 
        !          4774: ac_fn_cxx_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default"
        !          4775: if test "x$ac_cv_header_linux_if_tun_h" = xyes
        !          4776: then :
        !          4777:   printf "%s\n" "#define HAVE_LINUX_IF_TUN_H 1" >>confdefs.h
        !          4778: 
        !          4779: fi
        !          4780: 
        !          4781: ac_fn_cxx_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
        !          4782: if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
        !          4783: then :
        !          4784:   printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
        !          4785: 
        !          4786: fi
        !          4787: 
        !          4788: ac_fn_cxx_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
        !          4789: if test "x$ac_cv_header_machine_endian_h" = xyes
        !          4790: then :
        !          4791:   printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
        !          4792: 
        !          4793: fi
        !          4794: 
        !          4795: 
        !          4796: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい
        !          4797: case "${host_os}" in
        !          4798:  linux*)
        !          4799:        if test "$ac_cv_header_kqueue_sys_event_h" != "yes"; then
        !          4800:                as_fn_error $? "*** kqueue is not found.
        !          4801: *** If you use Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5
        !          4802:        fi
        !          4803:        ;;
        !          4804: esac
        !          4805: 
        !          4806: # Checks for typedefs, structures, and compiler characteristics.
        !          4807: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
        !          4808: if test "x$ac_cv_type__Bool" = xyes
        !          4809: then :
        !          4810: 
        !          4811: printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
        !          4812: 
        !          4813: 
        !          4814: fi
        !          4815: 
        !          4816:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
        !          4817: printf %s "checking for stdbool.h that conforms to C99... " >&6; }
        !          4818: if test ${ac_cv_header_stdbool_h+y}
        !          4819: then :
        !          4820:   printf %s "(cached) " >&6
        !          4821: else $as_nop
        !          4822:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     4823: /* end confdefs.h.  */
1.1.1.10! root     4824: #include <stdbool.h>
        !          4825: 
        !          4826:              #ifndef __bool_true_false_are_defined
        !          4827:                #error "__bool_true_false_are_defined is not defined"
        !          4828:              #endif
        !          4829:              char a[__bool_true_false_are_defined == 1 ? 1 : -1];
        !          4830: 
        !          4831:              /* Regardless of whether this is C++ or "_Bool" is a
        !          4832:                 valid type name, "true" and "false" should be usable
        !          4833:                 in #if expressions and integer constant expressions,
        !          4834:                 and "bool" should be a valid type name.  */
        !          4835: 
        !          4836:              #if !true
        !          4837:                #error "'true' is not true"
        !          4838:              #endif
        !          4839:              #if true != 1
        !          4840:                #error "'true' is not equal to 1"
        !          4841:              #endif
        !          4842:              char b[true == 1 ? 1 : -1];
        !          4843:              char c[true];
        !          4844: 
        !          4845:              #if false
        !          4846:                #error "'false' is not false"
        !          4847:              #endif
        !          4848:              #if false != 0
        !          4849:                #error "'false' is not equal to 0"
        !          4850:              #endif
        !          4851:              char d[false == 0 ? 1 : -1];
        !          4852: 
        !          4853:              enum { e = false, f = true, g = false * true, h = true * 256 };
        !          4854: 
        !          4855:              char i[(bool) 0.5 == true ? 1 : -1];
        !          4856:              char j[(bool) 0.0 == false ? 1 : -1];
        !          4857:              char k[sizeof (bool) > 0 ? 1 : -1];
        !          4858: 
        !          4859:              struct sb { bool s: 1; bool t; } s;
        !          4860:              char l[sizeof s.t > 0 ? 1 : -1];
        !          4861: 
        !          4862:              /* The following fails for
        !          4863:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
        !          4864:              bool m[h];
        !          4865:              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
        !          4866:              char o[-1 - (bool) 0 < 0 ? 1 : -1];
        !          4867:              /* Catch a bug in an HP-UX C compiler.  See
        !          4868:          https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
        !          4869:          https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
        !          4870:               */
        !          4871:              bool p = true;
        !          4872:              bool *pp = &p;
        !          4873: 
        !          4874:              /* C 1999 specifies that bool, true, and false are to be
        !          4875:                 macros, but C++ 2011 and later overrule this.  */
        !          4876:              #if __cplusplus < 201103
        !          4877:               #ifndef bool
        !          4878:                #error "bool is not defined"
        !          4879:               #endif
        !          4880:               #ifndef false
        !          4881:                #error "false is not defined"
        !          4882:               #endif
        !          4883:               #ifndef true
        !          4884:                #error "true is not defined"
        !          4885:               #endif
        !          4886:              #endif
        !          4887: 
        !          4888:              /* If _Bool is available, repeat with it all the tests
        !          4889:                 above that used bool.  */
        !          4890:              #ifdef HAVE__BOOL
        !          4891:                struct sB { _Bool s: 1; _Bool t; } t;
        !          4892: 
        !          4893:                char q[(_Bool) 0.5 == true ? 1 : -1];
        !          4894:                char r[(_Bool) 0.0 == false ? 1 : -1];
        !          4895:                char u[sizeof (_Bool) > 0 ? 1 : -1];
        !          4896:                char v[sizeof t.t > 0 ? 1 : -1];
        !          4897: 
        !          4898:                _Bool w[h];
        !          4899:                char x[sizeof m == h * sizeof m[0] ? 1 : -1];
        !          4900:                char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
        !          4901:                _Bool z = true;
        !          4902:                _Bool *pz = &p;
        !          4903:              #endif
1.1.1.3   root     4904: 
                   4905: int
1.1.1.10! root     4906: main (void)
1.1.1.3   root     4907: {
                   4908: 
1.1.1.10! root     4909:              bool ps = &s;
        !          4910:              *pp |= p;
        !          4911:              *pp |= ! p;
        !          4912: 
        !          4913:              #ifdef HAVE__BOOL
        !          4914:                _Bool pt = &t;
        !          4915:                *pz |= z;
        !          4916:                *pz |= ! z;
        !          4917:              #endif
        !          4918: 
        !          4919:              /* Refer to every declared value, so they cannot be
        !          4920:                 discarded as unused.  */
        !          4921:              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
        !          4922:                      + !l + !m + !n + !o + !p + !pp + !ps
        !          4923:              #ifdef HAVE__BOOL
        !          4924:                      + !q + !r + !u + !v + !w + !x + !y + !z + !pt
        !          4925:              #endif
        !          4926:                     );
        !          4927: 
1.1.1.3   root     4928:   ;
                   4929:   return 0;
                   4930: }
                   4931: _ACEOF
1.1.1.10! root     4932: if ac_fn_cxx_try_compile "$LINENO"
        !          4933: then :
        !          4934:   ac_cv_header_stdbool_h=yes
        !          4935: else $as_nop
        !          4936:   ac_cv_header_stdbool_h=no
1.1.1.3   root     4937: fi
1.1.1.10! root     4938: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4939: fi
        !          4940: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
        !          4941: printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
1.1.1.3   root     4942: 
1.1.1.10! root     4943: #AC_C_INLINE
        !          4944: #AC_TYPE_INT16_T
        !          4945: #AC_TYPE_INT32_T
        !          4946: #AC_TYPE_INT64_T
        !          4947: #AC_TYPE_INT8_T
        !          4948: #AC_TYPE_SIZE_T
        !          4949: #AC_TYPE_UINT16_T
        !          4950: #AC_TYPE_UINT32_T
        !          4951: #AC_TYPE_UINT64_T
        !          4952: #AC_TYPE_UINT8_T
1.1.1.3   root     4953: 
1.1.1.10! root     4954: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5
        !          4955: printf %s "checking for __builtin_assume... " >&6; }
        !          4956: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     4957: /* end confdefs.h.  */
                   4958: 
                   4959: int
1.1.1.10! root     4960: main (void)
1.1.1.3   root     4961: {
                   4962: 
1.1.1.10! root     4963:                __builtin_assume(1);
        !          4964: 
1.1.1.3   root     4965:   ;
                   4966:   return 0;
                   4967: }
                   4968: _ACEOF
1.1.1.10! root     4969: if ac_fn_cxx_try_compile "$LINENO"
        !          4970: then :
1.1.1.3   root     4971: 
1.1.1.10! root     4972:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4973: printf "%s\n" "yes" >&6; }
        !          4974:                printf "%s\n" "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h
1.1.1.3   root     4975: 
1.1.1.10! root     4976: 
        !          4977: else $as_nop
        !          4978: 
        !          4979:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4980: printf "%s\n" "no" >&6; }
        !          4981: 
        !          4982: fi
        !          4983: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4984: 
        !          4985: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5
        !          4986: printf %s "checking for __builtin_bswap16... " >&6; }
        !          4987: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     4988: /* end confdefs.h.  */
                   4989: 
                   4990: int
1.1.1.10! root     4991: main (void)
1.1.1.3   root     4992: {
                   4993: 
1.1.1.10! root     4994:                return __builtin_bswap16(0);
        !          4995: 
1.1.1.3   root     4996:   ;
                   4997:   return 0;
                   4998: }
                   4999: _ACEOF
1.1.1.10! root     5000: if ac_fn_cxx_try_compile "$LINENO"
        !          5001: then :
1.1.1.3   root     5002: 
1.1.1.10! root     5003:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5004: printf "%s\n" "yes" >&6; }
        !          5005:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h
1.1.1.3   root     5006: 
1.1.1.10! root     5007: 
        !          5008: else $as_nop
        !          5009: 
        !          5010:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5011: printf "%s\n" "no" >&6; }
        !          5012: 
        !          5013: fi
        !          5014: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5015: 
        !          5016: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5
        !          5017: printf %s "checking for __builtin_bswap32... " >&6; }
        !          5018: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5019: /* end confdefs.h.  */
                   5020: 
                   5021: int
1.1.1.10! root     5022: main (void)
1.1.1.3   root     5023: {
                   5024: 
1.1.1.10! root     5025:                return __builtin_bswap32(0);
        !          5026: 
1.1.1.3   root     5027:   ;
                   5028:   return 0;
                   5029: }
                   5030: _ACEOF
1.1.1.10! root     5031: if ac_fn_cxx_try_compile "$LINENO"
        !          5032: then :
1.1.1.3   root     5033: 
1.1.1.10! root     5034:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5035: printf "%s\n" "yes" >&6; }
        !          5036:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h
1.1.1.3   root     5037: 
1.1.1.10! root     5038: 
        !          5039: else $as_nop
        !          5040: 
        !          5041:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5042: printf "%s\n" "no" >&6; }
        !          5043: 
        !          5044: fi
        !          5045: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5046: 
        !          5047: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap64" >&5
        !          5048: printf %s "checking for __builtin_bswap64... " >&6; }
        !          5049: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5050: /* end confdefs.h.  */
                   5051: 
                   5052: int
1.1.1.10! root     5053: main (void)
1.1.1.3   root     5054: {
                   5055: 
1.1.1.10! root     5056:                return __builtin_bswap64(0);
        !          5057: 
1.1.1.3   root     5058:   ;
                   5059:   return 0;
                   5060: }
                   5061: _ACEOF
1.1.1.10! root     5062: if ac_fn_cxx_try_compile "$LINENO"
        !          5063: then :
1.1.1.3   root     5064: 
1.1.1.10! root     5065:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5066: printf "%s\n" "yes" >&6; }
        !          5067:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP64 1" >>confdefs.h
1.1.1.3   root     5068: 
1.1.1.10! root     5069: 
        !          5070: else $as_nop
        !          5071: 
        !          5072:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5073: printf "%s\n" "no" >&6; }
        !          5074: 
        !          5075: fi
        !          5076: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5077: 
        !          5078: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
        !          5079: printf %s "checking for __builtin_expect... " >&6; }
        !          5080: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5081: /* end confdefs.h.  */
                   5082: 
                   5083: int
1.1.1.10! root     5084: main (void)
1.1.1.3   root     5085: {
                   5086: 
1.1.1.10! root     5087:                if (__builtin_expect(1, 1)) return 0;
        !          5088: 
1.1.1.3   root     5089:   ;
                   5090:   return 0;
                   5091: }
                   5092: _ACEOF
1.1.1.10! root     5093: if ac_fn_cxx_try_compile "$LINENO"
        !          5094: then :
1.1.1.3   root     5095: 
1.1.1.10! root     5096:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5097: printf "%s\n" "yes" >&6; }
        !          5098:                printf "%s\n" "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
1.1.1.3   root     5099: 
1.1.1.10! root     5100: 
        !          5101: else $as_nop
        !          5102: 
        !          5103:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5104: printf "%s\n" "no" >&6; }
        !          5105: 
        !          5106: fi
        !          5107: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5108: 
        !          5109: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
        !          5110: printf %s "checking for __builtin_unreachable... " >&6; }
        !          5111: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5112: /* end confdefs.h.  */
                   5113: 
                   5114: int
1.1.1.10! root     5115: main (void)
1.1.1.3   root     5116: {
                   5117: 
1.1.1.10! root     5118:                __builtin_unreachable();
        !          5119: 
1.1.1.3   root     5120:   ;
                   5121:   return 0;
                   5122: }
                   5123: _ACEOF
1.1.1.10! root     5124: if ac_fn_cxx_try_compile "$LINENO"
        !          5125: then :
1.1.1.3   root     5126: 
1.1.1.10! root     5127:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5128: printf "%s\n" "yes" >&6; }
        !          5129:                printf "%s\n" "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h
1.1.1.3   root     5130: 
                   5131: 
1.1.1.10! root     5132: else $as_nop
1.1.1.3   root     5133: 
1.1.1.10! root     5134:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5135: printf "%s\n" "no" >&6; }
1.1.1.3   root     5136: 
                   5137: fi
1.1.1.10! root     5138: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5139: 
1.1.1.10! root     5140: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5
        !          5141: printf %s "checking for __attribute__((__fallthrough__))... " >&6; }
        !          5142: old_CXXFLAGS="${CXXFLAGS}"
        !          5143: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
        !          5144: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5145: /* end confdefs.h.  */
                   5146: 
1.1.1.10! root     5147: int
        !          5148: main (void)
        !          5149: {
1.1.1.3   root     5150: 
1.1.1.10! root     5151:                extern int x;
        !          5152:                switch (x) {
        !          5153:                 case 0:
        !          5154:                        __attribute__((__fallthrough__));
        !          5155:                 case 1:
        !          5156:                        break;
        !          5157:                }
1.1.1.3   root     5158: 
1.1.1.10! root     5159:   ;
        !          5160:   return 0;
        !          5161: }
1.1.1.3   root     5162: _ACEOF
1.1.1.10! root     5163: if ac_fn_cxx_try_compile "$LINENO"
        !          5164: then :
1.1.1.3   root     5165: 
1.1.1.10! root     5166:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5167: printf "%s\n" "yes" >&6; }
        !          5168:                printf "%s\n" "#define HAVE___ATTRIBUTE_FALLTHROUGH 1" >>confdefs.h
1.1.1.3   root     5169: 
                   5170: 
1.1.1.10! root     5171: else $as_nop
        !          5172: 
        !          5173:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5174: printf "%s\n" "no" >&6; }
1.1.1.3   root     5175: 
                   5176: fi
1.1.1.10! root     5177: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5178: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5179: 
1.1.1.10! root     5180: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__format__))" >&5
        !          5181: printf %s "checking for __attribute__((__format__))... " >&6; }
        !          5182: old_CXXFLAGS="${CXXFLAGS}"
        !          5183: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
        !          5184: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5185: /* end confdefs.h.  */
        !          5186: 
        !          5187:                extern int f(const char *f, ...)
        !          5188:                        __attribute__((__format__(__printf__, 1, 2)));
1.1.1.3   root     5189: 
1.1.1.10! root     5190: int
        !          5191: main (void)
        !          5192: {
1.1.1.3   root     5193: 
1.1.1.10! root     5194:   ;
        !          5195:   return 0;
        !          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.3   root     5200: 
1.1.1.10! root     5201:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5202: printf "%s\n" "yes" >&6; }
        !          5203:                printf "%s\n" "#define HAVE___ATTRIBUTE_FORMAT 1" >>confdefs.h
1.1.1.3   root     5204: 
                   5205: 
1.1.1.10! root     5206: else $as_nop
1.1.1.3   root     5207: 
1.1.1.10! root     5208:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5209: printf "%s\n" "no" >&6; }
1.1.1.3   root     5210: 
1.1.1.10! root     5211: fi
        !          5212: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5213: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5214: 
1.1.1.10! root     5215: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5
        !          5216: printf %s "checking for __attribute__((no_sanitize))... " >&6; }
        !          5217: old_CXXFLAGS="${CXXFLAGS}"
        !          5218: CXXFLAGS="${CXXFLAGS} -Werror"
        !          5219: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5220: /* end confdefs.h.  */
1.1.1.3   root     5221: 
1.1.1.10! root     5222:                __attribute__((no_sanitize("undefined")))
        !          5223:                int func() { return 0; }
1.1.1.3   root     5224: 
1.1.1.10! root     5225: int
        !          5226: main (void)
        !          5227: {
1.1.1.3   root     5228: 
1.1.1.10! root     5229:   ;
        !          5230:   return 0;
        !          5231: }
1.1.1.3   root     5232: _ACEOF
1.1.1.10! root     5233: if ac_fn_cxx_try_compile "$LINENO"
        !          5234: then :
1.1.1.3   root     5235: 
1.1.1.10! root     5236:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5237: printf "%s\n" "yes" >&6; }
        !          5238:                printf "%s\n" "#define HAVE___ATTRIBUTE_NO_SANITIZE 1" >>confdefs.h
1.1.1.3   root     5239: 
                   5240: 
1.1.1.10! root     5241: else $as_nop
        !          5242: 
        !          5243:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5244: printf "%s\n" "no" >&6; }
1.1.1.3   root     5245: 
                   5246: fi
1.1.1.10! root     5247: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5248: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5249: 
                   5250: 
1.1.1.10! root     5251: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5
        !          5252: printf %s "checking for __attribute__((__packed__))... " >&6; }
        !          5253: old_CXXFLAGS="${CXXFLAGS}"
        !          5254: CXXFLAGS="${CXXFLAGS} -Werror"
        !          5255: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5256: /* end confdefs.h.  */
1.1.1.3   root     5257: 
1.1.1.10! root     5258: int
        !          5259: main (void)
        !          5260: {
1.1.1.3   root     5261: 
1.1.1.10! root     5262:                struct x { char a; int b; } __attribute__((__packed__));
1.1.1.3   root     5263: 
1.1.1.10! root     5264:   ;
        !          5265:   return 0;
        !          5266: }
1.1.1.3   root     5267: _ACEOF
1.1.1.10! root     5268: if ac_fn_cxx_try_compile "$LINENO"
        !          5269: then :
1.1.1.3   root     5270: 
1.1.1.10! root     5271:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5272: printf "%s\n" "yes" >&6; }
        !          5273:                printf "%s\n" "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h
1.1.1.3   root     5274: 
                   5275: 
1.1.1.10! root     5276: else $as_nop
1.1       root     5277: 
1.1.1.10! root     5278:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5279: printf "%s\n" "no" >&6; }
1.1       root     5280: 
1.1.1.10! root     5281: fi
        !          5282: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5283: CXXFLAGS="${old_CXXFLAGS}"
1.1       root     5284: 
1.1.1.10! root     5285: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5
        !          5286: printf %s "checking for __attribute__((__unused__))... " >&6; }
        !          5287: old_CXXFLAGS="${CXXFLAGS}"
        !          5288: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror"
        !          5289: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5290: /* end confdefs.h.  */
1.1       root     5291: 
1.1.1.10! root     5292: int
        !          5293: main (void)
        !          5294: {
1.1       root     5295: 
1.1.1.10! root     5296:                int a __attribute__((__unused__));
1.1       root     5297: 
1.1.1.10! root     5298:   ;
        !          5299:   return 0;
        !          5300: }
1.1       root     5301: _ACEOF
1.1.1.10! root     5302: if ac_fn_cxx_try_compile "$LINENO"
        !          5303: then :
1.1       root     5304: 
1.1.1.10! root     5305:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5306: printf "%s\n" "yes" >&6; }
        !          5307:                printf "%s\n" "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h
1.1       root     5308: 
                   5309: 
1.1.1.10! root     5310: else $as_nop
1.1       root     5311: 
1.1.1.10! root     5312:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5313: printf "%s\n" "no" >&6; }
1.1       root     5314: 
1.1.1.10! root     5315: fi
        !          5316: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5317: CXXFLAGS="${old_CXXFLAGS}"
1.1       root     5318: 
1.1.1.10! root     5319: # Checks for library functions.
        !          5320: #AC_FUNC_MALLOC
        !          5321: #AC_FUNC_MMAP
1.1       root     5322: 
1.1.1.10! root     5323: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16" >&5
        !          5324: printf %s "checking for bswap16... " >&6; }
        !          5325: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5326: /* end confdefs.h.  */
1.1       root     5327: 
1.1.1.10! root     5328:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5329:                #include <sys/endian.h>
        !          5330:                #endif
1.1       root     5331: 
                   5332: int
1.1.1.10! root     5333: main (void)
1.1       root     5334: {
                   5335: 
1.1.1.10! root     5336:                bswap16(0);
1.1       root     5337: 
                   5338:   ;
                   5339:   return 0;
                   5340: }
                   5341: _ACEOF
1.1.1.10! root     5342: if ac_fn_cxx_try_compile "$LINENO"
        !          5343: then :
1.1       root     5344: 
1.1.1.10! root     5345:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5346: printf "%s\n" "yes" >&6; }
        !          5347:                printf "%s\n" "#define HAVE_BSWAP16 1" >>confdefs.h
1.1       root     5348: 
                   5349: 
1.1.1.10! root     5350: else $as_nop
1.1       root     5351: 
1.1.1.10! root     5352:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5353: printf "%s\n" "no" >&6; }
1.1       root     5354: 
1.1.1.10! root     5355: fi
        !          5356: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5357: 
1.1.1.10! root     5358: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap32" >&5
        !          5359: printf %s "checking for bswap32... " >&6; }
1.1       root     5360: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5361: /* end confdefs.h.  */
                   5362: 
1.1.1.10! root     5363:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5364:                #include <sys/endian.h>
        !          5365:                #endif
        !          5366: 
1.1       root     5367: int
1.1.1.10! root     5368: main (void)
1.1       root     5369: {
                   5370: 
1.1.1.10! root     5371:                bswap32(0);
1.1       root     5372: 
                   5373:   ;
                   5374:   return 0;
                   5375: }
                   5376: _ACEOF
1.1.1.10! root     5377: if ac_fn_cxx_try_compile "$LINENO"
        !          5378: then :
        !          5379: 
        !          5380:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5381: printf "%s\n" "yes" >&6; }
        !          5382:                printf "%s\n" "#define HAVE_BSWAP32 1" >>confdefs.h
        !          5383: 
        !          5384: 
        !          5385: else $as_nop
        !          5386: 
        !          5387:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5388: printf "%s\n" "no" >&6; }
1.1       root     5389: 
                   5390: fi
1.1.1.10! root     5391: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5392: 
1.1.1.10! root     5393: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap64" >&5
        !          5394: printf %s "checking for bswap64... " >&6; }
1.1       root     5395: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5396: /* end confdefs.h.  */
                   5397: 
1.1.1.10! root     5398:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5399:                #include <sys/endian.h>
        !          5400:                #endif
        !          5401: 
1.1       root     5402: int
1.1.1.10! root     5403: main (void)
1.1       root     5404: {
                   5405: 
1.1.1.10! root     5406:                bswap64(0);
1.1       root     5407: 
                   5408:   ;
                   5409:   return 0;
                   5410: }
                   5411: _ACEOF
1.1.1.10! root     5412: if ac_fn_cxx_try_compile "$LINENO"
        !          5413: then :
        !          5414: 
        !          5415:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5416: printf "%s\n" "yes" >&6; }
        !          5417:                printf "%s\n" "#define HAVE_BSWAP64 1" >>confdefs.h
        !          5418: 
        !          5419: 
        !          5420: else $as_nop
        !          5421: 
        !          5422:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5423: printf "%s\n" "no" >&6; }
1.1       root     5424: 
                   5425: fi
1.1.1.10! root     5426: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5427: 
1.1.1.10! root     5428: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_16" >&5
        !          5429: printf %s "checking for bswap_16... " >&6; }
1.1       root     5430: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5431: /* end confdefs.h.  */
                   5432: 
1.1.1.10! root     5433:                #if defined(HAVE_BYTESWAP_H)
        !          5434:                #include <byteswap.h>
        !          5435:                #endif
        !          5436: 
1.1       root     5437: int
1.1.1.10! root     5438: main (void)
1.1       root     5439: {
                   5440: 
1.1.1.10! root     5441:                bswap_16(0);
1.1       root     5442: 
                   5443:   ;
                   5444:   return 0;
                   5445: }
                   5446: _ACEOF
1.1.1.10! root     5447: if ac_fn_cxx_try_compile "$LINENO"
        !          5448: then :
        !          5449: 
        !          5450:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5451: printf "%s\n" "yes" >&6; }
        !          5452:                printf "%s\n" "#define HAVE_BSWAP_16 1" >>confdefs.h
        !          5453: 
        !          5454: 
        !          5455: else $as_nop
        !          5456: 
        !          5457:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5458: printf "%s\n" "no" >&6; }
1.1       root     5459: 
                   5460: fi
1.1.1.10! root     5461: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5462: 
1.1.1.10! root     5463: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_32" >&5
        !          5464: printf %s "checking for bswap_32... " >&6; }
1.1.1.2   root     5465: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5466: /* end confdefs.h.  */
                   5467: 
1.1.1.10! root     5468:                #if defined(HAVE_BYTESWAP_H)
        !          5469:                #include <byteswap.h>
        !          5470:                #endif
        !          5471: 
1.1.1.2   root     5472: int
1.1.1.10! root     5473: main (void)
1.1.1.2   root     5474: {
                   5475: 
1.1.1.10! root     5476:                bswap_32(0);
1.1.1.2   root     5477: 
                   5478:   ;
                   5479:   return 0;
                   5480: }
                   5481: _ACEOF
1.1.1.10! root     5482: if ac_fn_cxx_try_compile "$LINENO"
        !          5483: then :
        !          5484: 
        !          5485:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5486: printf "%s\n" "yes" >&6; }
        !          5487:                printf "%s\n" "#define HAVE_BSWAP_32 1" >>confdefs.h
        !          5488: 
        !          5489: 
        !          5490: else $as_nop
        !          5491: 
        !          5492:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5493: printf "%s\n" "no" >&6; }
1.1.1.2   root     5494: 
                   5495: fi
1.1.1.10! root     5496: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.2   root     5497: 
1.1.1.10! root     5498: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
        !          5499: printf %s "checking for bswap_64... " >&6; }
1.1       root     5500: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5501: /* end confdefs.h.  */
                   5502: 
1.1.1.10! root     5503:                #if defined(HAVE_BYTESWAP_H)
        !          5504:                #include <byteswap.h>
        !          5505:                #endif
        !          5506: 
1.1       root     5507: int
1.1.1.10! root     5508: main (void)
1.1       root     5509: {
                   5510: 
1.1.1.10! root     5511:                bswap_64(0);
1.1       root     5512: 
                   5513:   ;
                   5514:   return 0;
                   5515: }
                   5516: _ACEOF
1.1.1.10! root     5517: if ac_fn_cxx_try_compile "$LINENO"
        !          5518: then :
        !          5519: 
        !          5520:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5521: printf "%s\n" "yes" >&6; }
        !          5522:                printf "%s\n" "#define HAVE_BSWAP_64 1" >>confdefs.h
        !          5523: 
        !          5524: 
        !          5525: else $as_nop
        !          5526: 
        !          5527:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5528: printf "%s\n" "no" >&6; }
1.1       root     5529: 
                   5530: fi
1.1.1.10! root     5531: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5532: 
1.1.1.10! root     5533: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap16" >&5
        !          5534: printf %s "checking for swap16... " >&6; }
1.1       root     5535: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5536: /* end confdefs.h.  */
                   5537: 
1.1.1.10! root     5538:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5539:                #include <sys/endian.h>
        !          5540:                #endif
        !          5541: 
1.1       root     5542: int
1.1.1.10! root     5543: main (void)
1.1       root     5544: {
                   5545: 
1.1.1.10! root     5546:                swap16(0);
1.1       root     5547: 
                   5548:   ;
                   5549:   return 0;
                   5550: }
                   5551: _ACEOF
1.1.1.10! root     5552: if ac_fn_cxx_try_compile "$LINENO"
        !          5553: then :
        !          5554: 
        !          5555:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5556: printf "%s\n" "yes" >&6; }
        !          5557:                printf "%s\n" "#define HAVE_SWAP16 1" >>confdefs.h
        !          5558: 
        !          5559: 
        !          5560: else $as_nop
        !          5561: 
        !          5562:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5563: printf "%s\n" "no" >&6; }
1.1       root     5564: 
                   5565: fi
1.1.1.10! root     5566: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5567: 
1.1.1.10! root     5568: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap32" >&5
        !          5569: printf %s "checking for swap32... " >&6; }
1.1       root     5570: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5571: /* end confdefs.h.  */
                   5572: 
1.1.1.10! root     5573:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5574:                #include <sys/endian.h>
        !          5575:                #endif
        !          5576: 
1.1       root     5577: int
1.1.1.10! root     5578: main (void)
1.1       root     5579: {
                   5580: 
1.1.1.10! root     5581:                swap32(0);
1.1       root     5582: 
                   5583:   ;
                   5584:   return 0;
                   5585: }
                   5586: _ACEOF
1.1.1.10! root     5587: if ac_fn_cxx_try_compile "$LINENO"
        !          5588: then :
        !          5589: 
        !          5590:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5591: printf "%s\n" "yes" >&6; }
        !          5592:                printf "%s\n" "#define HAVE_SWAP32 1" >>confdefs.h
        !          5593: 
        !          5594: 
        !          5595: else $as_nop
        !          5596: 
        !          5597:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5598: printf "%s\n" "no" >&6; }
1.1       root     5599: 
                   5600: fi
1.1.1.10! root     5601: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5602: 
1.1.1.10! root     5603: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap64" >&5
        !          5604: printf %s "checking for swap64... " >&6; }
1.1       root     5605: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5606: /* end confdefs.h.  */
                   5607: 
1.1.1.10! root     5608:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5609:                #include <sys/endian.h>
        !          5610:                #endif
1.1       root     5611: 
                   5612: int
1.1.1.10! root     5613: main (void)
1.1       root     5614: {
                   5615: 
1.1.1.10! root     5616:                swap64(0);
1.1       root     5617: 
                   5618:   ;
                   5619:   return 0;
                   5620: }
                   5621: _ACEOF
1.1.1.10! root     5622: if ac_fn_cxx_try_compile "$LINENO"
        !          5623: then :
        !          5624: 
        !          5625:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5626: printf "%s\n" "yes" >&6; }
        !          5627:                printf "%s\n" "#define HAVE_SWAP64 1" >>confdefs.h
        !          5628: 
        !          5629: 
        !          5630: else $as_nop
        !          5631: 
        !          5632:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5633: printf "%s\n" "no" >&6; }
1.1       root     5634: 
                   5635: fi
1.1.1.10! root     5636: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5637: 
1.1.1.10! root     5638: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe16" >&5
        !          5639: printf %s "checking for htobe16... " >&6; }
1.1       root     5640: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5641: /* end confdefs.h.  */
                   5642: 
1.1.1.10! root     5643:                #if defined(HAVE_ENDIAN_H)
        !          5644:                #include <endian.h>
        !          5645:                #endif
        !          5646:                #if defined(HAVE_SYS_ENDIAN_H)
        !          5647:                #include <sys/endian.h>
        !          5648:                #endif
        !          5649:                #if defined(HAVE_MACHINE_ENDIAN_H)
        !          5650:                #include <machine/endian.h>
        !          5651:                #endif
1.1       root     5652: 
                   5653: int
1.1.1.10! root     5654: main (void)
1.1       root     5655: {
                   5656: 
1.1.1.10! root     5657:                htobe16(0);
1.1       root     5658: 
                   5659:   ;
                   5660:   return 0;
                   5661: }
                   5662: _ACEOF
1.1.1.10! root     5663: if ac_fn_cxx_try_compile "$LINENO"
        !          5664: then :
1.1       root     5665: 
1.1.1.10! root     5666:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5667: printf "%s\n" "yes" >&6; }
        !          5668:                printf "%s\n" "#define HAVE_HTOBE16 1" >>confdefs.h
1.1       root     5669: 
                   5670: 
1.1.1.10! root     5671: else $as_nop
        !          5672: 
        !          5673:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5674: printf "%s\n" "no" >&6; }
        !          5675: 
        !          5676: fi
        !          5677: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5678: 
        !          5679: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_getname_np" >&5
        !          5680: printf %s "checking for pthread_getname_np... " >&6; }
1.1       root     5681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5682: /* end confdefs.h.  */
                   5683: 
1.1.1.10! root     5684:                #include <pthread.h>
        !          5685:                #if defined(HAVE_PTHREAD_NP_H)
        !          5686:                #include <pthread_np.h>
        !          5687:                #endif
        !          5688: 
1.1       root     5689: int
1.1.1.10! root     5690: main (void)
1.1       root     5691: {
                   5692: 
1.1.1.10! root     5693:                char name[32];
        !          5694:                pthread_getname_np(pthread_self(), name, sizeof(name));
1.1       root     5695: 
                   5696:   ;
                   5697:   return 0;
                   5698: }
                   5699: _ACEOF
1.1.1.10! root     5700: if ac_fn_cxx_try_compile "$LINENO"
        !          5701: then :
        !          5702: 
        !          5703:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5704: printf "%s\n" "yes" >&6; }
        !          5705:                printf "%s\n" "#define HAVE_PTHREAD_GETNAME_NP 1" >>confdefs.h
        !          5706: 
        !          5707: 
        !          5708: else $as_nop
        !          5709: 
        !          5710:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5711: printf "%s\n" "no" >&6; }
1.1       root     5712: 
                   5713: fi
1.1.1.10! root     5714: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5715: 
1.1.1.10! root     5716: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_get_name_np" >&5
        !          5717: printf %s "checking for pthread_get_name_np... " >&6; }
1.1       root     5718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5719: /* end confdefs.h.  */
                   5720: 
1.1.1.10! root     5721:                #include <pthread.h>
        !          5722:                #if defined(HAVE_PTHREAD_NP_H)
        !          5723:                #include <pthread_np.h>
        !          5724:                #endif
        !          5725: 
1.1       root     5726: int
1.1.1.10! root     5727: main (void)
1.1       root     5728: {
                   5729: 
1.1.1.10! root     5730:                char name[32];
        !          5731:                pthread_get_name_np(pthread_self(), name, sizeof(name));
1.1       root     5732: 
                   5733:   ;
                   5734:   return 0;
                   5735: }
                   5736: _ACEOF
1.1.1.10! root     5737: if ac_fn_cxx_try_compile "$LINENO"
        !          5738: then :
1.1       root     5739: 
1.1.1.10! root     5740:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5741: printf "%s\n" "yes" >&6; }
        !          5742:                printf "%s\n" "#define HAVE_PTHREAD_GET_NAME_NP 1" >>confdefs.h
1.1       root     5743: 
                   5744: 
1.1.1.10! root     5745: else $as_nop
        !          5746: 
        !          5747:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5748: printf "%s\n" "no" >&6; }
        !          5749: 
        !          5750: fi
        !          5751: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          5752: 
        !          5753: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5
        !          5754: printf %s "checking for pthread_setname_np(name)... " >&6; }
1.1       root     5755: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5756: /* end confdefs.h.  */
1.1.1.3   root     5757: 
                   5758:                #include <pthread.h>
                   5759:                #if defined(HAVE_PTHREAD_NP_H)
                   5760:                #include <pthread_np.h>
                   5761:                #endif
                   5762: 
1.1       root     5763: int
1.1.1.10! root     5764: main (void)
1.1       root     5765: {
                   5766: 
                   5767:                pthread_setname_np("");
                   5768: 
                   5769:   ;
                   5770:   return 0;
                   5771: }
                   5772: _ACEOF
1.1.1.10! root     5773: if ac_fn_cxx_try_compile "$LINENO"
        !          5774: then :
        !          5775: 
        !          5776:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5777: printf "%s\n" "yes" >&6; }
        !          5778:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_name 1" >>confdefs.h
        !          5779: 
        !          5780: 
        !          5781: else $as_nop
        !          5782: 
        !          5783:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5784: printf "%s\n" "no" >&6; }
1.1       root     5785: 
                   5786: fi
1.1.1.10! root     5787: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5788: 
1.1.1.10! root     5789: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5
        !          5790: printf %s "checking for pthread_setname_np(thread, name)... " >&6; }
1.1       root     5791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5792: /* end confdefs.h.  */
1.1.1.3   root     5793: 
                   5794:                #include <pthread.h>
                   5795:                #if defined(HAVE_PTHREAD_NP_H)
                   5796:                #include <pthread_np.h>
                   5797:                #endif
                   5798: 
1.1       root     5799: int
1.1.1.10! root     5800: main (void)
1.1       root     5801: {
                   5802: 
                   5803:                pthread_setname_np(pthread_self(), "");
                   5804: 
                   5805:   ;
                   5806:   return 0;
                   5807: }
                   5808: _ACEOF
1.1.1.10! root     5809: if ac_fn_cxx_try_compile "$LINENO"
        !          5810: then :
        !          5811: 
        !          5812:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5813: printf "%s\n" "yes" >&6; }
        !          5814:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name 1" >>confdefs.h
        !          5815: 
        !          5816: 
        !          5817: else $as_nop
        !          5818: 
        !          5819:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5820: printf "%s\n" "no" >&6; }
1.1       root     5821: 
                   5822: fi
1.1.1.10! root     5823: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5824: 
1.1.1.10! root     5825: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5
        !          5826: printf %s "checking for pthread_setname_np(thread, name, arg)... " >&6; }
1.1       root     5827: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5828: /* end confdefs.h.  */
1.1.1.3   root     5829: 
                   5830:                #include <pthread.h>
                   5831:                #if defined(HAVE_PTHREAD_NP_H)
                   5832:                #include <pthread_np.h>
                   5833:                #endif
                   5834: 
1.1       root     5835: int
1.1.1.10! root     5836: main (void)
1.1       root     5837: {
                   5838: 
                   5839:                pthread_setname_np(pthread_self(), "", (void*)0);
                   5840: 
                   5841:   ;
                   5842:   return 0;
                   5843: }
                   5844: _ACEOF
1.1.1.10! root     5845: if ac_fn_cxx_try_compile "$LINENO"
        !          5846: then :
        !          5847: 
        !          5848:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5849: printf "%s\n" "yes" >&6; }
        !          5850:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name_arg 1" >>confdefs.h
        !          5851: 
        !          5852: 
        !          5853: else $as_nop
        !          5854: 
        !          5855:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5856: printf "%s\n" "no" >&6; }
1.1.1.3   root     5857: 
                   5858: fi
1.1.1.10! root     5859: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5860: 
1.1.1.10! root     5861: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_set_name_np(thread, name)" >&5
        !          5862: printf %s "checking for pthread_set_name_np(thread, name)... " >&6; }
1.1.1.3   root     5863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5864: /* end confdefs.h.  */
                   5865: 
                   5866:                #include <pthread.h>
                   5867:                #if defined(HAVE_PTHREAD_NP_H)
                   5868:                #include <pthread_np.h>
                   5869:                #endif
                   5870: 
                   5871: int
1.1.1.10! root     5872: main (void)
1.1.1.3   root     5873: {
                   5874: 
                   5875:                pthread_set_name_np(pthread_self(), "");
                   5876: 
                   5877:   ;
                   5878:   return 0;
                   5879: }
                   5880: _ACEOF
1.1.1.10! root     5881: if ac_fn_cxx_try_compile "$LINENO"
        !          5882: then :
        !          5883: 
        !          5884:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5885: printf "%s\n" "yes" >&6; }
        !          5886:                printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP_th_name 1" >>confdefs.h
        !          5887: 
        !          5888: 
        !          5889: else $as_nop
        !          5890: 
        !          5891:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5892: printf "%s\n" "no" >&6; }
1.1       root     5893: 
                   5894: fi
1.1.1.10! root     5895: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5896: 
1.1.1.10! root     5897: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv const" >&5
        !          5898: printf %s "checking for iconv const... " >&6; }
1.1.1.6   root     5899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5900: /* end confdefs.h.  */
                   5901: 
                   5902:                #include <iconv.h>
                   5903: 
                   5904: int
1.1.1.10! root     5905: main (void)
1.1.1.6   root     5906: {
                   5907: 
                   5908:                const char **a;
                   5909:                iconv(0, a, 0, 0, 0);
                   5910: 
                   5911:   ;
                   5912:   return 0;
                   5913: }
                   5914: _ACEOF
1.1.1.10! root     5915: if ac_fn_cxx_try_compile "$LINENO"
        !          5916: then :
        !          5917: 
        !          5918:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5919: printf "%s\n" "yes" >&6; }
        !          5920:                printf "%s\n" "#define HAVE_ICONV_CONST 1" >>confdefs.h
        !          5921: 
        !          5922: 
        !          5923: else $as_nop
        !          5924: 
        !          5925:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5926: printf "%s\n" "no" >&6; }
1.1.1.6   root     5927: 
                   5928: fi
1.1.1.10! root     5929: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.6   root     5930: 
1.1.1.8   root     5931: #
                   5932: # Network
                   5933: #
1.1.1.10! root     5934: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AF_PACKET" >&5
        !          5935: printf %s "checking for AF_PACKET... " >&6; }
1.1.1.8   root     5936: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5937: /* end confdefs.h.  */
                   5938: 
                   5939:                #include <sys/socket.h>
                   5940: 
                   5941: int
1.1.1.10! root     5942: main (void)
1.1.1.8   root     5943: {
                   5944: 
                   5945:                AF_PACKET;
                   5946: 
                   5947:   ;
                   5948:   return 0;
                   5949: }
                   5950: _ACEOF
1.1.1.10! root     5951: if ac_fn_cxx_try_compile "$LINENO"
        !          5952: then :
        !          5953: 
        !          5954:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5955: printf "%s\n" "yes" >&6; }
        !          5956:                printf "%s\n" "#define HAVE_HOSTNET_AFPACKET 1" >>confdefs.h
1.1.1.8   root     5957: 
                   5958:                HOSTNET_AFPACKET=yes
                   5959: 
1.1.1.10! root     5960: 
        !          5961: else $as_nop
        !          5962: 
        !          5963:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5964: printf "%s\n" "no" >&6; }
        !          5965: 
1.1.1.8   root     5966: fi
1.1.1.10! root     5967: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.8   root     5968: 
1.1.1.10! root     5969: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tap(4)" >&5
        !          5970: printf %s "checking for tap(4)... " >&6; }
1.1.1.6   root     5971: case "${host_os}" in
                   5972:  linux*)
                   5973:        if test x"$ac_cv_header_linux_if_tun_h" = xyes; then
1.1.1.8   root     5974:                netdriver_tap=yes
1.1.1.6   root     5975:        fi
                   5976:        ;;
                   5977:  openbsd*)
                   5978:        # OpenBSD has no <net/if_tap.h> but supports tap(4).
1.1.1.8   root     5979:        netdriver_tap=yes
1.1.1.6   root     5980:        ;;
1.1.1.8   root     5981:  *)
1.1.1.6   root     5982:        if test x"$ac_cv_header_net_if_tap_h" = xyes; then
1.1.1.8   root     5983:                netdriver_tap=yes
1.1.1.6   root     5984:        fi
1.1.1.8   root     5985:        ;;
                   5986: esac
                   5987: if test x"$netdriver_tap" = xyes; then
1.1.1.10! root     5988:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5989: printf "%s\n" "yes" >&6; }
        !          5990:        printf "%s\n" "#define HAVE_HOSTNET_TAP 1" >>confdefs.h
1.1.1.8   root     5991: 
                   5992:        HOSTNET_TAP=yes
                   5993: 
                   5994: else
1.1.1.10! root     5995:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5996: printf "%s\n" "no" >&6; }
1.1       root     5997: fi
                   5998: 
1.1.1.10! root     5999: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf(4)" >&5
        !          6000: printf %s "checking for bpf(4)... " >&6; }
1.1.1.8   root     6001: if test x"$ac_cv_header_net_bpf_h" = xyes; then
1.1.1.10! root     6002:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6003: printf "%s\n" "yes" >&6; }
        !          6004:        printf "%s\n" "#define HAVE_HOSTNET_BPF 1" >>confdefs.h
1.1.1.8   root     6005: 
                   6006:        HOSTNET_BPF=yes
                   6007: 
                   6008: else
1.1.1.10! root     6009:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6010: printf "%s\n" "no" >&6; }
1.1.1.8   root     6011: fi
1.1       root     6012: 
                   6013: # libbsd on Linux
1.1.1.10! root     6014: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lc" >&5
        !          6015: printf %s "checking for getprogname in -lc... " >&6; }
        !          6016: if test ${ac_cv_lib_c_getprogname+y}
        !          6017: then :
        !          6018:   printf %s "(cached) " >&6
        !          6019: else $as_nop
1.1.1.5   root     6020:   ac_check_lib_save_LIBS=$LIBS
                   6021: LIBS="-lc  $LIBS"
                   6022: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6023: /* end confdefs.h.  */
                   6024: 
1.1.1.10! root     6025: namespace conftest {
        !          6026:   extern "C" int getprogname ();
        !          6027: }
1.1.1.5   root     6028: int
1.1.1.10! root     6029: main (void)
1.1.1.5   root     6030: {
1.1.1.10! root     6031: return conftest::getprogname ();
1.1.1.5   root     6032:   ;
                   6033:   return 0;
                   6034: }
                   6035: _ACEOF
1.1.1.10! root     6036: if ac_fn_cxx_try_link "$LINENO"
        !          6037: then :
1.1.1.5   root     6038:   ac_cv_lib_c_getprogname=yes
1.1.1.10! root     6039: else $as_nop
1.1.1.5   root     6040:   ac_cv_lib_c_getprogname=no
                   6041: fi
1.1.1.10! root     6042: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     6043:     conftest$ac_exeext conftest.$ac_ext
                   6044: LIBS=$ac_check_lib_save_LIBS
                   6045: fi
1.1.1.10! root     6046: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getprogname" >&5
        !          6047: printf "%s\n" "$ac_cv_lib_c_getprogname" >&6; }
        !          6048: if test "x$ac_cv_lib_c_getprogname" = xyes
        !          6049: then :
        !          6050:   printf "%s\n" "#define HAVE_LIBC 1" >>confdefs.h
1.1.1.5   root     6051: 
                   6052:   LIBS="-lc $LIBS"
                   6053: 
                   6054: fi
                   6055: 
1.1.1.10! root     6056: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5
        !          6057: printf %s "checking for getprogname in -lbsd... " >&6; }
        !          6058: if test ${ac_cv_lib_bsd_getprogname+y}
        !          6059: then :
        !          6060:   printf %s "(cached) " >&6
        !          6061: else $as_nop
1.1       root     6062:   ac_check_lib_save_LIBS=$LIBS
                   6063: LIBS="-lbsd  $LIBS"
                   6064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6065: /* end confdefs.h.  */
                   6066: 
1.1.1.10! root     6067: namespace conftest {
        !          6068:   extern "C" int getprogname ();
        !          6069: }
1.1       root     6070: int
1.1.1.10! root     6071: main (void)
1.1       root     6072: {
1.1.1.10! root     6073: return conftest::getprogname ();
1.1       root     6074:   ;
                   6075:   return 0;
                   6076: }
                   6077: _ACEOF
1.1.1.10! root     6078: if ac_fn_cxx_try_link "$LINENO"
        !          6079: then :
1.1       root     6080:   ac_cv_lib_bsd_getprogname=yes
1.1.1.10! root     6081: else $as_nop
1.1       root     6082:   ac_cv_lib_bsd_getprogname=no
                   6083: fi
1.1.1.10! root     6084: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     6085:     conftest$ac_exeext conftest.$ac_ext
                   6086: LIBS=$ac_check_lib_save_LIBS
                   6087: fi
1.1.1.10! root     6088: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5
        !          6089: printf "%s\n" "$ac_cv_lib_bsd_getprogname" >&6; }
        !          6090: if test "x$ac_cv_lib_bsd_getprogname" = xyes
        !          6091: then :
1.1.1.6   root     6092:   LIBS="${LIBS} -lbsd"
1.1       root     6093: 
                   6094: fi
                   6095: 
1.1.1.5   root     6096: # なければ停止する
                   6097: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6098: /* end confdefs.h.  */
                   6099: 
                   6100:                #include <stdlib.h>
                   6101:                #include "confdefs.h"
                   6102:                #if defined(HAVE_BSD_BSD_H)
                   6103:                #include <bsd/bsd.h>
                   6104:                #endif
                   6105: 
                   6106: int
1.1.1.10! root     6107: main (void)
1.1.1.5   root     6108: {
                   6109: 
                   6110:                getprogname()
                   6111: 
                   6112:   ;
                   6113:   return 0;
                   6114: }
                   6115: _ACEOF
1.1.1.10! root     6116: if ac_fn_cxx_try_compile "$LINENO"
        !          6117: then :
1.1.1.5   root     6118: 
1.1.1.10! root     6119:        # nothing to do on success
        !          6120: 
        !          6121: else $as_nop
        !          6122: 
        !          6123:                as_fn_error $? "*** getprogname is not found.
1.1.1.7   root     6124: *** If you use Ubuntu, sudo apt install libbsd-dev" "$LINENO" 5
1.1.1.5   root     6125: 
                   6126: 
                   6127: fi
1.1.1.10! root     6128: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6129: 
1.1.1.2   root     6130: # libedit (editline)
                   6131: if test x"$ac_cv_header_histedit_h" = xyes; then
1.1.1.6   root     6132:        LIBS="${LIBS} -ledit -ltermcap"
1.1.1.2   root     6133: fi
                   6134: 
1.1       root     6135: # libkqueue on Linux
1.1.1.10! root     6136: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5
        !          6137: printf %s "checking for kqueue in -lkqueue... " >&6; }
        !          6138: if test ${ac_cv_lib_kqueue_kqueue+y}
        !          6139: then :
        !          6140:   printf %s "(cached) " >&6
        !          6141: else $as_nop
1.1       root     6142:   ac_check_lib_save_LIBS=$LIBS
                   6143: LIBS="-lkqueue  $LIBS"
                   6144: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6145: /* end confdefs.h.  */
                   6146: 
1.1.1.10! root     6147: namespace conftest {
        !          6148:   extern "C" int kqueue ();
        !          6149: }
1.1       root     6150: int
1.1.1.10! root     6151: main (void)
1.1       root     6152: {
1.1.1.10! root     6153: return conftest::kqueue ();
1.1       root     6154:   ;
                   6155:   return 0;
                   6156: }
                   6157: _ACEOF
1.1.1.10! root     6158: if ac_fn_cxx_try_link "$LINENO"
        !          6159: then :
1.1       root     6160:   ac_cv_lib_kqueue_kqueue=yes
1.1.1.10! root     6161: else $as_nop
1.1       root     6162:   ac_cv_lib_kqueue_kqueue=no
                   6163: fi
1.1.1.10! root     6164: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     6165:     conftest$ac_exeext conftest.$ac_ext
                   6166: LIBS=$ac_check_lib_save_LIBS
                   6167: fi
1.1.1.10! root     6168: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5
        !          6169: printf "%s\n" "$ac_cv_lib_kqueue_kqueue" >&6; }
        !          6170: if test "x$ac_cv_lib_kqueue_kqueue" = xyes
        !          6171: then :
1.1.1.6   root     6172:   LIBS="${LIBS} -lkqueue"
1.1       root     6173: 
                   6174: fi
                   6175: 
                   6176: 
1.1.1.10! root     6177: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
        !          6178: printf %s "checking for gzclose in -lz... " >&6; }
        !          6179: if test ${ac_cv_lib_z_gzclose+y}
        !          6180: then :
        !          6181:   printf %s "(cached) " >&6
        !          6182: else $as_nop
1.1.1.5   root     6183:   ac_check_lib_save_LIBS=$LIBS
                   6184: LIBS="-lz  $LIBS"
                   6185: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6186: /* end confdefs.h.  */
                   6187: 
1.1.1.10! root     6188: namespace conftest {
        !          6189:   extern "C" int gzclose ();
        !          6190: }
1.1.1.5   root     6191: int
1.1.1.10! root     6192: main (void)
1.1.1.5   root     6193: {
1.1.1.10! root     6194: return conftest::gzclose ();
1.1.1.5   root     6195:   ;
                   6196:   return 0;
                   6197: }
                   6198: _ACEOF
1.1.1.10! root     6199: if ac_fn_cxx_try_link "$LINENO"
        !          6200: then :
1.1.1.5   root     6201:   ac_cv_lib_z_gzclose=yes
1.1.1.10! root     6202: else $as_nop
1.1.1.5   root     6203:   ac_cv_lib_z_gzclose=no
                   6204: fi
1.1.1.10! root     6205: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     6206:     conftest$ac_exeext conftest.$ac_ext
                   6207: LIBS=$ac_check_lib_save_LIBS
                   6208: fi
1.1.1.10! root     6209: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
        !          6210: printf "%s\n" "$ac_cv_lib_z_gzclose" >&6; }
        !          6211: if test "x$ac_cv_lib_z_gzclose" = xyes
        !          6212: then :
1.1.1.6   root     6213:   LIBS="${LIBS} -lz"
1.1.1.10! root     6214: else $as_nop
1.1.1.5   root     6215:   as_fn_error $? "*** zlib is not found.
1.1.1.7   root     6216: *** If use use Ubuntu, sudo apt install zlib1g-dev" "$LINENO" 5
1.1.1.5   root     6217: 
                   6218: fi
                   6219: 
                   6220: 
1.1       root     6221: # wxWidgets
1.1.1.10! root     6222: 
        !          6223: # Check whether --with-gui was given.
        !          6224: if test ${with_gui+y}
        !          6225: then :
        !          6226:   withval=$with_gui;
        !          6227: else $as_nop
        !          6228:   with_gui=yes
        !          6229: fi
        !          6230: 
        !          6231: 
        !          6232: if test "x$with_gui" != xno
        !          6233: then :
        !          6234: 
        !          6235:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
        !          6236: printf %s "checking for wx-config... " >&6; }
        !          6237:        wxconfig_paths="${WX_CONFIG} wx-config-3.0 wx-config"
        !          6238:        wxconfig=""
        !          6239:        for c in ${wxconfig_paths}; do
        !          6240:                ver=`$c --version 2>&1 | cut -f 1 -d .`
        !          6241:                if test "$ver" = "3"; then
        !          6242:                        wxconfig=$c
        !          6243:                        break
        !          6244:                fi
        !          6245:        done
        !          6246:        if test -z "$wxconfig"; then
        !          6247:                as_fn_error $? "*** wxWidgets-3.0 not found in ${wxconfig_paths}
1.1.1.7   root     6248: *** If you use pkgsrc, install x11/wxGTK30.
                   6249: *** If you use Ubuntu, sudo apt install libwxgtk3.0-gtk3-dev" "$LINENO" 5
1.1.1.10! root     6250:        else
        !          6251:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5
        !          6252: printf "%s\n" "$wxconfig" >&6; }
1.1       root     6253: 
1.1.1.10! root     6254:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5
        !          6255: printf %s "checking for wxWidgets version... " >&6; }
        !          6256:                wxversion=`$wxconfig --version`
        !          6257:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5
        !          6258: printf "%s\n" "$wxversion" >&6; }
        !          6259: 
        !          6260:                wxcppflags=`$wxconfig --cppflags`
        !          6261:                wxlibs=`$wxconfig --libs`
        !          6262: 
        !          6263:                case "${host_os}" in
        !          6264:                 netbsd*)
        !          6265:                        # rpath。どうしたもんだかこれ
        !          6266:                        wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'`
        !          6267:                        ;;
        !          6268: 
        !          6269:                 darwin*)
        !          6270:                        # XXX -framework AudioToolbox が指定されているとリンカがこけるorz
        !          6271:                        wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'`
        !          6272:                        ;;
        !          6273:                esac
1.1       root     6274: 
1.1.1.10! root     6275:                WITH_GUI=yes
1.1       root     6276: 
1.1.1.10! root     6277:                WXWIDGETS_CPPFLAGS=$wxcppflags
1.1       root     6278: 
1.1.1.10! root     6279:                WXWIDGETS_LIBS=$wxlibs
1.1       root     6280: 
1.1.1.10! root     6281:        fi
        !          6282: 
        !          6283:        # gettext
        !          6284:        if test -n "$ac_tool_prefix"; then
1.1.1.5   root     6285:   # Extract the first word of "${ac_tool_prefix}msgfmt", so it can be a program name with args.
                   6286: set dummy ${ac_tool_prefix}msgfmt; ac_word=$2
1.1.1.10! root     6287: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6288: printf %s "checking for $ac_word... " >&6; }
        !          6289: if test ${ac_cv_prog_MSGFMT+y}
        !          6290: then :
        !          6291:   printf %s "(cached) " >&6
        !          6292: else $as_nop
1.1.1.5   root     6293:   if test -n "$MSGFMT"; then
                   6294:   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
                   6295: else
                   6296: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6297: for as_dir in $PATH
                   6298: do
                   6299:   IFS=$as_save_IFS
1.1.1.10! root     6300:   case $as_dir in #(((
        !          6301:     '') as_dir=./ ;;
        !          6302:     */) ;;
        !          6303:     *) as_dir=$as_dir/ ;;
        !          6304:   esac
1.1.1.5   root     6305:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     6306:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     6307:     ac_cv_prog_MSGFMT="${ac_tool_prefix}msgfmt"
1.1.1.10! root     6308:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     6309:     break 2
                   6310:   fi
                   6311: done
                   6312:   done
                   6313: IFS=$as_save_IFS
                   6314: 
                   6315: fi
                   6316: fi
                   6317: MSGFMT=$ac_cv_prog_MSGFMT
                   6318: if test -n "$MSGFMT"; then
1.1.1.10! root     6319:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
        !          6320: printf "%s\n" "$MSGFMT" >&6; }
1.1.1.5   root     6321: else
1.1.1.10! root     6322:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6323: printf "%s\n" "no" >&6; }
1.1.1.5   root     6324: fi
                   6325: 
                   6326: 
                   6327: fi
                   6328: if test -z "$ac_cv_prog_MSGFMT"; then
                   6329:   ac_ct_MSGFMT=$MSGFMT
                   6330:   # Extract the first word of "msgfmt", so it can be a program name with args.
                   6331: set dummy msgfmt; ac_word=$2
1.1.1.10! root     6332: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6333: printf %s "checking for $ac_word... " >&6; }
        !          6334: if test ${ac_cv_prog_ac_ct_MSGFMT+y}
        !          6335: then :
        !          6336:   printf %s "(cached) " >&6
        !          6337: else $as_nop
1.1.1.5   root     6338:   if test -n "$ac_ct_MSGFMT"; then
                   6339:   ac_cv_prog_ac_ct_MSGFMT="$ac_ct_MSGFMT" # Let the user override the test.
                   6340: else
                   6341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6342: for as_dir in $PATH
                   6343: do
                   6344:   IFS=$as_save_IFS
1.1.1.10! root     6345:   case $as_dir in #(((
        !          6346:     '') as_dir=./ ;;
        !          6347:     */) ;;
        !          6348:     *) as_dir=$as_dir/ ;;
        !          6349:   esac
1.1.1.5   root     6350:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10! root     6351:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     6352:     ac_cv_prog_ac_ct_MSGFMT="msgfmt"
1.1.1.10! root     6353:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     6354:     break 2
                   6355:   fi
                   6356: done
                   6357:   done
                   6358: IFS=$as_save_IFS
                   6359: 
                   6360: fi
                   6361: fi
                   6362: ac_ct_MSGFMT=$ac_cv_prog_ac_ct_MSGFMT
                   6363: if test -n "$ac_ct_MSGFMT"; then
1.1.1.10! root     6364:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MSGFMT" >&5
        !          6365: printf "%s\n" "$ac_ct_MSGFMT" >&6; }
1.1.1.5   root     6366: else
1.1.1.10! root     6367:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6368: printf "%s\n" "no" >&6; }
1.1.1.5   root     6369: fi
                   6370: 
                   6371:   if test "x$ac_ct_MSGFMT" = x; then
                   6372:     MSGFMT=":"
                   6373:   else
                   6374:     case $cross_compiling:$ac_tool_warned in
                   6375: yes:)
1.1.1.10! root     6376: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6377: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.1.5   root     6378: ac_tool_warned=yes ;;
                   6379: esac
                   6380:     MSGFMT=$ac_ct_MSGFMT
                   6381:   fi
                   6382: else
                   6383:   MSGFMT="$ac_cv_prog_MSGFMT"
                   6384: fi
                   6385: 
1.1.1.10! root     6386:        if test $MSGFMT = :; then
        !          6387:                as_fn_error $? "*** msgfmt not found.
1.1.1.7   root     6388: *** If you use pkgsrc, install devel/gettext-tools.
                   6389: *** If you use Ubuntu, sudo apt install gettext" "$LINENO" 5
1.1.1.10! root     6390:        fi
        !          6391: 
        !          6392: else $as_nop
        !          6393: 
        !          6394:        WITH_GUI=no
        !          6395: 
        !          6396: 
1.1.1.5   root     6397: fi
                   6398: 
1.1.1.3   root     6399: ac_config_files="$ac_config_files Makefile.cfg host/Makefile wx/Makefile util/mkcgrom/Makefile util/viewcgrom/Makefile"
1.1       root     6400: 
1.1.1.2   root     6401: ac_config_headers="$ac_config_headers config-nono.h"
1.1       root     6402: 
                   6403: cat >confcache <<\_ACEOF
                   6404: # This file is a shell script that caches the results of configure
                   6405: # tests run on this system so they can be shared between configure
                   6406: # scripts and configure runs, see configure's option --config-cache.
                   6407: # It is not useful on other systems.  If it contains results you don't
                   6408: # want to keep, you may remove or edit it.
                   6409: #
                   6410: # config.status only pays attention to the cache file if you give it
                   6411: # the --recheck option to rerun configure.
                   6412: #
                   6413: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   6414: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6415: # following values.
                   6416: 
                   6417: _ACEOF
                   6418: 
                   6419: # The following way of writing the cache mishandles newlines in values,
                   6420: # but we know of no workaround that is simple, portable, and efficient.
                   6421: # So, we kill variables containing newlines.
                   6422: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6423: # and sets the high bit in the cache file unless we assign to the vars.
                   6424: (
                   6425:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   6426:     eval ac_val=\$$ac_var
                   6427:     case $ac_val in #(
                   6428:     *${as_nl}*)
                   6429:       case $ac_var in #(
1.1.1.10! root     6430:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
        !          6431: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     6432:       esac
                   6433:       case $ac_var in #(
                   6434:       _ | IFS | as_nl) ;; #(
                   6435:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   6436:       *) { eval $ac_var=; unset $ac_var;} ;;
                   6437:       esac ;;
                   6438:     esac
                   6439:   done
                   6440: 
                   6441:   (set) 2>&1 |
                   6442:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   6443:     *${as_nl}ac_space=\ *)
                   6444:       # `set' does not quote correctly, so add quotes: double-quote
                   6445:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   6446:       sed -n \
                   6447:        "s/'/'\\\\''/g;
                   6448:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   6449:       ;; #(
                   6450:     *)
                   6451:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   6452:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   6453:       ;;
                   6454:     esac |
                   6455:     sort
                   6456: ) |
                   6457:   sed '
                   6458:      /^ac_cv_env_/b end
                   6459:      t clear
                   6460:      :clear
1.1.1.10! root     6461:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.1       root     6462:      t end
                   6463:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6464:      :end' >>confcache
                   6465: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   6466:   if test -w "$cache_file"; then
                   6467:     if test "x$cache_file" != "x/dev/null"; then
1.1.1.10! root     6468:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
        !          6469: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.1       root     6470:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   6471:        cat confcache >"$cache_file"
                   6472:       else
                   6473:         case $cache_file in #(
                   6474:         */* | ?:*)
                   6475:          mv -f confcache "$cache_file"$$ &&
                   6476:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   6477:         *)
                   6478:          mv -f confcache "$cache_file" ;;
                   6479:        esac
                   6480:       fi
                   6481:     fi
                   6482:   else
1.1.1.10! root     6483:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
        !          6484: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     6485:   fi
                   6486: fi
                   6487: rm -f confcache
                   6488: 
                   6489: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6490: # Let make expand exec_prefix.
                   6491: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6492: 
                   6493: DEFS=-DHAVE_CONFIG_H
                   6494: 
                   6495: ac_libobjs=
                   6496: ac_ltlibobjs=
                   6497: U=
                   6498: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6499:   # 1. Remove the extension, and $U if already installed.
                   6500:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.10! root     6501:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.1       root     6502:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   6503:   #    will be set to the directory where LIBOBJS objects are built.
                   6504:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   6505:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   6506: done
                   6507: LIBOBJS=$ac_libobjs
                   6508: 
                   6509: LTLIBOBJS=$ac_ltlibobjs
                   6510: 
                   6511: 
                   6512: 
                   6513: : "${CONFIG_STATUS=./config.status}"
                   6514: ac_write_fail=0
                   6515: ac_clean_files_save=$ac_clean_files
                   6516: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.10! root     6517: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
        !          6518: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.1       root     6519: as_write_fail=0
                   6520: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   6521: #! $SHELL
                   6522: # Generated by $as_me.
                   6523: # Run this file to recreate the current configuration.
                   6524: # Compiler output produced by configure, useful for debugging
                   6525: # configure, is in config.log if it exists.
                   6526: 
                   6527: debug=false
                   6528: ac_cs_recheck=false
                   6529: ac_cs_silent=false
                   6530: 
                   6531: SHELL=\${CONFIG_SHELL-$SHELL}
                   6532: export SHELL
                   6533: _ASEOF
                   6534: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   6535: ## -------------------- ##
                   6536: ## M4sh Initialization. ##
                   6537: ## -------------------- ##
                   6538: 
                   6539: # Be more Bourne compatible
                   6540: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10! root     6541: as_nop=:
        !          6542: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
        !          6543: then :
1.1       root     6544:   emulate sh
                   6545:   NULLCMD=:
                   6546:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   6547:   # is contrary to our usage.  Disable this feature.
                   6548:   alias -g '${1+"$@"}'='"$@"'
                   6549:   setopt NO_GLOB_SUBST
1.1.1.10! root     6550: else $as_nop
1.1       root     6551:   case `(set -o) 2>/dev/null` in #(
                   6552:   *posix*) :
                   6553:     set -o posix ;; #(
                   6554:   *) :
                   6555:      ;;
                   6556: esac
                   6557: fi
                   6558: 
                   6559: 
1.1.1.10! root     6560: 
        !          6561: # Reset variables that may have inherited troublesome values from
        !          6562: # the environment.
        !          6563: 
        !          6564: # IFS needs to be set, to space, tab, and newline, in precisely that order.
        !          6565: # (If _AS_PATH_WALK were called with IFS unset, it would have the
        !          6566: # side effect of setting IFS to empty, thus disabling word splitting.)
        !          6567: # Quoting is to prevent editors from complaining about space-tab.
1.1       root     6568: as_nl='
                   6569: '
                   6570: export as_nl
1.1.1.10! root     6571: IFS=" ""       $as_nl"
        !          6572: 
        !          6573: PS1='$ '
        !          6574: PS2='> '
        !          6575: PS4='+ '
        !          6576: 
        !          6577: # Ensure predictable behavior from utilities with locale-dependent output.
        !          6578: LC_ALL=C
        !          6579: export LC_ALL
        !          6580: LANGUAGE=C
        !          6581: export LANGUAGE
        !          6582: 
        !          6583: # We cannot yet rely on "unset" to work, but we need these variables
        !          6584: # to be unset--not just set to an empty or harmless value--now, to
        !          6585: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
        !          6586: # also avoids known problems related to "unset" and subshell syntax
        !          6587: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
        !          6588: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
        !          6589: do eval test \${$as_var+y} \
        !          6590:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
        !          6591: done
        !          6592: 
        !          6593: # Ensure that fds 0, 1, and 2 are open.
        !          6594: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
        !          6595: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
        !          6596: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root     6597: 
                   6598: # The user is always right.
1.1.1.10! root     6599: if ${PATH_SEPARATOR+false} :; then
1.1       root     6600:   PATH_SEPARATOR=:
                   6601:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   6602:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   6603:       PATH_SEPARATOR=';'
                   6604:   }
                   6605: fi
                   6606: 
                   6607: 
                   6608: # Find who we are.  Look in the path if we contain no directory separator.
                   6609: as_myself=
                   6610: case $0 in #((
                   6611:   *[\\/]* ) as_myself=$0 ;;
                   6612:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6613: for as_dir in $PATH
                   6614: do
                   6615:   IFS=$as_save_IFS
1.1.1.10! root     6616:   case $as_dir in #(((
        !          6617:     '') as_dir=./ ;;
        !          6618:     */) ;;
        !          6619:     *) as_dir=$as_dir/ ;;
        !          6620:   esac
        !          6621:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root     6622:   done
                   6623: IFS=$as_save_IFS
                   6624: 
                   6625:      ;;
                   6626: esac
                   6627: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   6628: # in which case we are not to be found in the path.
                   6629: if test "x$as_myself" = x; then
                   6630:   as_myself=$0
                   6631: fi
                   6632: if test ! -f "$as_myself"; then
1.1.1.10! root     6633:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root     6634:   exit 1
                   6635: fi
                   6636: 
                   6637: 
                   6638: 
                   6639: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   6640: # ----------------------------------------
                   6641: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   6642: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   6643: # script with STATUS, using 1 if that was 0.
                   6644: as_fn_error ()
                   6645: {
                   6646:   as_status=$1; test $as_status -eq 0 && as_status=1
                   6647:   if test "$4"; then
                   6648:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10! root     6649:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root     6650:   fi
1.1.1.10! root     6651:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root     6652:   as_fn_exit $as_status
                   6653: } # as_fn_error
                   6654: 
                   6655: 
1.1.1.10! root     6656: 
1.1       root     6657: # as_fn_set_status STATUS
                   6658: # -----------------------
                   6659: # Set $? to STATUS, without forking.
                   6660: as_fn_set_status ()
                   6661: {
                   6662:   return $1
                   6663: } # as_fn_set_status
                   6664: 
                   6665: # as_fn_exit STATUS
                   6666: # -----------------
                   6667: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   6668: as_fn_exit ()
                   6669: {
                   6670:   set +e
                   6671:   as_fn_set_status $1
                   6672:   exit $1
                   6673: } # as_fn_exit
                   6674: 
                   6675: # as_fn_unset VAR
                   6676: # ---------------
                   6677: # Portably unset VAR.
                   6678: as_fn_unset ()
                   6679: {
                   6680:   { eval $1=; unset $1;}
                   6681: }
                   6682: as_unset=as_fn_unset
1.1.1.10! root     6683: 
1.1       root     6684: # as_fn_append VAR VALUE
                   6685: # ----------------------
                   6686: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   6687: # advantage of any shell optimizations that allow amortized linear growth over
                   6688: # repeated appends, instead of the typical quadratic growth present in naive
                   6689: # implementations.
1.1.1.10! root     6690: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
        !          6691: then :
1.1       root     6692:   eval 'as_fn_append ()
                   6693:   {
                   6694:     eval $1+=\$2
                   6695:   }'
1.1.1.10! root     6696: else $as_nop
1.1       root     6697:   as_fn_append ()
                   6698:   {
                   6699:     eval $1=\$$1\$2
                   6700:   }
                   6701: fi # as_fn_append
                   6702: 
                   6703: # as_fn_arith ARG...
                   6704: # ------------------
                   6705: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   6706: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   6707: # must be portable across $(()) and expr.
1.1.1.10! root     6708: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
        !          6709: then :
1.1       root     6710:   eval 'as_fn_arith ()
                   6711:   {
                   6712:     as_val=$(( $* ))
                   6713:   }'
1.1.1.10! root     6714: else $as_nop
1.1       root     6715:   as_fn_arith ()
                   6716:   {
                   6717:     as_val=`expr "$@" || test $? -eq 1`
                   6718:   }
                   6719: fi # as_fn_arith
                   6720: 
                   6721: 
                   6722: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   6723:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   6724:   as_expr=expr
                   6725: else
                   6726:   as_expr=false
                   6727: fi
                   6728: 
                   6729: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   6730:   as_basename=basename
                   6731: else
                   6732:   as_basename=false
                   6733: fi
                   6734: 
                   6735: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   6736:   as_dirname=dirname
                   6737: else
                   6738:   as_dirname=false
                   6739: fi
                   6740: 
                   6741: as_me=`$as_basename -- "$0" ||
                   6742: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   6743:         X"$0" : 'X\(//\)$' \| \
                   6744:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root     6745: printf "%s\n" X/"$0" |
1.1       root     6746:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   6747:            s//\1/
                   6748:            q
                   6749:          }
                   6750:          /^X\/\(\/\/\)$/{
                   6751:            s//\1/
                   6752:            q
                   6753:          }
                   6754:          /^X\/\(\/\).*/{
                   6755:            s//\1/
                   6756:            q
                   6757:          }
                   6758:          s/.*/./; q'`
                   6759: 
                   6760: # Avoid depending upon Character Ranges.
                   6761: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   6762: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   6763: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   6764: as_cr_digits='0123456789'
                   6765: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   6766: 
1.1.1.10! root     6767: 
        !          6768: # Determine whether it's possible to make 'echo' print without a newline.
        !          6769: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
        !          6770: # for compatibility with existing Makefiles.
1.1       root     6771: ECHO_C= ECHO_N= ECHO_T=
                   6772: case `echo -n x` in #(((((
                   6773: -n*)
                   6774:   case `echo 'xy\c'` in
                   6775:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   6776:   xy)  ECHO_C='\c';;
                   6777:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   6778:        ECHO_T='        ';;
                   6779:   esac;;
                   6780: *)
                   6781:   ECHO_N='-n';;
                   6782: esac
                   6783: 
1.1.1.10! root     6784: # For backward compatibility with old third-party macros, we provide
        !          6785: # the shell variables $as_echo and $as_echo_n.  New code should use
        !          6786: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
        !          6787: as_echo='printf %s\n'
        !          6788: as_echo_n='printf %s'
        !          6789: 
1.1       root     6790: rm -f conf$$ conf$$.exe conf$$.file
                   6791: if test -d conf$$.dir; then
                   6792:   rm -f conf$$.dir/conf$$.file
                   6793: else
                   6794:   rm -f conf$$.dir
                   6795:   mkdir conf$$.dir 2>/dev/null
                   6796: fi
                   6797: if (echo >conf$$.file) 2>/dev/null; then
                   6798:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   6799:     as_ln_s='ln -s'
                   6800:     # ... but there are two gotchas:
                   6801:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   6802:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   6803:     # In both cases, we have to default to `cp -pR'.
                   6804:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   6805:       as_ln_s='cp -pR'
                   6806:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   6807:     as_ln_s=ln
                   6808:   else
                   6809:     as_ln_s='cp -pR'
                   6810:   fi
                   6811: else
                   6812:   as_ln_s='cp -pR'
                   6813: fi
                   6814: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   6815: rmdir conf$$.dir 2>/dev/null
                   6816: 
                   6817: 
                   6818: # as_fn_mkdir_p
                   6819: # -------------
                   6820: # Create "$as_dir" as a directory, including parents if necessary.
                   6821: as_fn_mkdir_p ()
                   6822: {
                   6823: 
                   6824:   case $as_dir in #(
                   6825:   -*) as_dir=./$as_dir;;
                   6826:   esac
                   6827:   test -d "$as_dir" || eval $as_mkdir_p || {
                   6828:     as_dirs=
                   6829:     while :; do
                   6830:       case $as_dir in #(
1.1.1.10! root     6831:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root     6832:       *) as_qdir=$as_dir;;
                   6833:       esac
                   6834:       as_dirs="'$as_qdir' $as_dirs"
                   6835:       as_dir=`$as_dirname -- "$as_dir" ||
                   6836: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6837:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   6838:         X"$as_dir" : 'X\(//\)$' \| \
                   6839:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root     6840: printf "%s\n" X"$as_dir" |
1.1       root     6841:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6842:            s//\1/
                   6843:            q
                   6844:          }
                   6845:          /^X\(\/\/\)[^/].*/{
                   6846:            s//\1/
                   6847:            q
                   6848:          }
                   6849:          /^X\(\/\/\)$/{
                   6850:            s//\1/
                   6851:            q
                   6852:          }
                   6853:          /^X\(\/\).*/{
                   6854:            s//\1/
                   6855:            q
                   6856:          }
                   6857:          s/.*/./; q'`
                   6858:       test -d "$as_dir" && break
                   6859:     done
                   6860:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   6861:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   6862: 
                   6863: 
                   6864: } # as_fn_mkdir_p
                   6865: if mkdir -p . 2>/dev/null; then
                   6866:   as_mkdir_p='mkdir -p "$as_dir"'
                   6867: else
                   6868:   test -d ./-p && rmdir ./-p
                   6869:   as_mkdir_p=false
                   6870: fi
                   6871: 
                   6872: 
                   6873: # as_fn_executable_p FILE
                   6874: # -----------------------
                   6875: # Test if FILE is an executable regular file.
                   6876: as_fn_executable_p ()
                   6877: {
                   6878:   test -f "$1" && test -x "$1"
                   6879: } # as_fn_executable_p
                   6880: as_test_x='test -x'
                   6881: as_executable_p=as_fn_executable_p
                   6882: 
                   6883: # Sed expression to map a string onto a valid CPP name.
                   6884: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   6885: 
                   6886: # Sed expression to map a string onto a valid variable name.
                   6887: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   6888: 
                   6889: 
                   6890: exec 6>&1
                   6891: ## ----------------------------------- ##
                   6892: ## Main body of $CONFIG_STATUS script. ##
                   6893: ## ----------------------------------- ##
                   6894: _ASEOF
                   6895: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   6896: 
                   6897: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6898: # Save the log message, to keep $0 and so on meaningful, and to
                   6899: # report actual input values of CONFIG_FILES etc. instead of their
                   6900: # values after options handling.
                   6901: ac_log="
1.1.1.3   root     6902: This file was extended by nono $as_me 0.0, which was
1.1.1.10! root     6903: generated by GNU Autoconf 2.71.  Invocation command line was
1.1       root     6904: 
                   6905:   CONFIG_FILES    = $CONFIG_FILES
                   6906:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   6907:   CONFIG_LINKS    = $CONFIG_LINKS
                   6908:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   6909:   $ $0 $@
                   6910: 
                   6911: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   6912: "
                   6913: 
                   6914: _ACEOF
                   6915: 
                   6916: case $ac_config_files in *"
                   6917: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   6918: esac
                   6919: 
                   6920: case $ac_config_headers in *"
                   6921: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   6922: esac
                   6923: 
                   6924: 
                   6925: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6926: # Files that config.status was made for.
                   6927: config_files="$ac_config_files"
                   6928: config_headers="$ac_config_headers"
                   6929: 
                   6930: _ACEOF
                   6931: 
                   6932: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6933: ac_cs_usage="\
                   6934: \`$as_me' instantiates files and other configuration actions
                   6935: from templates according to the current configuration.  Unless the files
                   6936: and actions are specified as TAGs, all are instantiated by default.
                   6937: 
                   6938: Usage: $0 [OPTION]... [TAG]...
                   6939: 
                   6940:   -h, --help       print this help, then exit
                   6941:   -V, --version    print version number and configuration settings, then exit
                   6942:       --config     print configuration, then exit
                   6943:   -q, --quiet, --silent
                   6944:                    do not print progress messages
                   6945:   -d, --debug      don't remove temporary files
                   6946:       --recheck    update $as_me by reconfiguring in the same conditions
                   6947:       --file=FILE[:TEMPLATE]
                   6948:                    instantiate the configuration file FILE
                   6949:       --header=FILE[:TEMPLATE]
                   6950:                    instantiate the configuration header FILE
                   6951: 
                   6952: Configuration files:
                   6953: $config_files
                   6954: 
                   6955: Configuration headers:
                   6956: $config_headers
                   6957: 
                   6958: Report bugs to the package provider."
                   6959: 
                   6960: _ACEOF
1.1.1.10! root     6961: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
        !          6962: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.1       root     6963: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.10! root     6964: ac_cs_config='$ac_cs_config_escaped'
1.1       root     6965: ac_cs_version="\\
1.1.1.3   root     6966: nono config.status 0.0
1.1.1.10! root     6967: configured by $0, generated by GNU Autoconf 2.71,
1.1       root     6968:   with options \\"\$ac_cs_config\\"
                   6969: 
1.1.1.10! root     6970: Copyright (C) 2021 Free Software Foundation, Inc.
1.1       root     6971: This config.status script is free software; the Free Software Foundation
                   6972: gives unlimited permission to copy, distribute and modify it."
                   6973: 
                   6974: ac_pwd='$ac_pwd'
                   6975: srcdir='$srcdir'
1.1.1.3   root     6976: INSTALL='$INSTALL'
1.1       root     6977: test -n "\$AWK" || AWK=awk
                   6978: _ACEOF
                   6979: 
                   6980: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6981: # The default lists apply if the user does not specify any file.
                   6982: ac_need_defaults=:
                   6983: while test $# != 0
                   6984: do
                   6985:   case $1 in
                   6986:   --*=?*)
                   6987:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6988:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   6989:     ac_shift=:
                   6990:     ;;
                   6991:   --*=)
                   6992:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6993:     ac_optarg=
                   6994:     ac_shift=:
                   6995:     ;;
                   6996:   *)
                   6997:     ac_option=$1
                   6998:     ac_optarg=$2
                   6999:     ac_shift=shift
                   7000:     ;;
                   7001:   esac
                   7002: 
                   7003:   case $ac_option in
                   7004:   # Handling of the options.
                   7005:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7006:     ac_cs_recheck=: ;;
                   7007:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.10! root     7008:     printf "%s\n" "$ac_cs_version"; exit ;;
1.1       root     7009:   --config | --confi | --conf | --con | --co | --c )
1.1.1.10! root     7010:     printf "%s\n" "$ac_cs_config"; exit ;;
1.1       root     7011:   --debug | --debu | --deb | --de | --d | -d )
                   7012:     debug=: ;;
                   7013:   --file | --fil | --fi | --f )
                   7014:     $ac_shift
                   7015:     case $ac_optarg in
1.1.1.10! root     7016:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     7017:     '') as_fn_error $? "missing file argument" ;;
                   7018:     esac
                   7019:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   7020:     ac_need_defaults=false;;
                   7021:   --header | --heade | --head | --hea )
                   7022:     $ac_shift
                   7023:     case $ac_optarg in
1.1.1.10! root     7024:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     7025:     esac
                   7026:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   7027:     ac_need_defaults=false;;
                   7028:   --he | --h)
                   7029:     # Conflict between --help and --header
                   7030:     as_fn_error $? "ambiguous option: \`$1'
                   7031: Try \`$0 --help' for more information.";;
                   7032:   --help | --hel | -h )
1.1.1.10! root     7033:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.1       root     7034:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7035:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7036:     ac_cs_silent=: ;;
                   7037: 
                   7038:   # This is an error.
                   7039:   -*) as_fn_error $? "unrecognized option: \`$1'
                   7040: Try \`$0 --help' for more information." ;;
                   7041: 
                   7042:   *) as_fn_append ac_config_targets " $1"
                   7043:      ac_need_defaults=false ;;
                   7044: 
                   7045:   esac
                   7046:   shift
                   7047: done
                   7048: 
                   7049: ac_configure_extra_args=
                   7050: 
                   7051: if $ac_cs_silent; then
                   7052:   exec 6>/dev/null
                   7053:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7054: fi
                   7055: 
                   7056: _ACEOF
                   7057: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7058: if \$ac_cs_recheck; then
                   7059:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   7060:   shift
1.1.1.10! root     7061:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.1       root     7062:   CONFIG_SHELL='$SHELL'
                   7063:   export CONFIG_SHELL
                   7064:   exec "\$@"
                   7065: fi
                   7066: 
                   7067: _ACEOF
                   7068: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7069: exec 5>>config.log
                   7070: {
                   7071:   echo
                   7072:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7073: ## Running $as_me. ##
                   7074: _ASBOX
1.1.1.10! root     7075:   printf "%s\n" "$ac_log"
1.1       root     7076: } >&5
                   7077: 
                   7078: _ACEOF
                   7079: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7080: _ACEOF
                   7081: 
                   7082: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7083: 
                   7084: # Handling of arguments.
                   7085: for ac_config_target in $ac_config_targets
                   7086: do
                   7087:   case $ac_config_target in
                   7088:     "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;;
                   7089:     "host/Makefile") CONFIG_FILES="$CONFIG_FILES host/Makefile" ;;
                   7090:     "wx/Makefile") CONFIG_FILES="$CONFIG_FILES wx/Makefile" ;;
                   7091:     "util/mkcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/mkcgrom/Makefile" ;;
                   7092:     "util/viewcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/viewcgrom/Makefile" ;;
1.1.1.2   root     7093:     "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;
1.1       root     7094: 
                   7095:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   7096:   esac
                   7097: done
                   7098: 
                   7099: 
                   7100: # If the user did not use the arguments to specify the items to instantiate,
                   7101: # then the envvar interface is used.  Set only those that are not.
                   7102: # We use the long form for the default assignment because of an extremely
                   7103: # bizarre bug on SunOS 4.1.3.
                   7104: if $ac_need_defaults; then
1.1.1.10! root     7105:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
        !          7106:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1.1       root     7107: fi
                   7108: 
                   7109: # Have a temporary directory for convenience.  Make it in the build tree
                   7110: # simply because there is no reason against having it here, and in addition,
                   7111: # creating and moving files from /tmp can sometimes cause problems.
                   7112: # Hook for its removal unless debugging.
                   7113: # Note that there is a small window in which the directory will not be cleaned:
                   7114: # after its creation but before its name has been assigned to `$tmp'.
                   7115: $debug ||
                   7116: {
                   7117:   tmp= ac_tmp=
                   7118:   trap 'exit_status=$?
                   7119:   : "${ac_tmp:=$tmp}"
                   7120:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   7121: ' 0
                   7122:   trap 'as_fn_exit 1' 1 2 13 15
                   7123: }
                   7124: # Create a (secure) tmp directory for tmp files.
                   7125: 
                   7126: {
                   7127:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   7128:   test -d "$tmp"
                   7129: }  ||
                   7130: {
                   7131:   tmp=./conf$$-$RANDOM
                   7132:   (umask 077 && mkdir "$tmp")
                   7133: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   7134: ac_tmp=$tmp
                   7135: 
                   7136: # Set up the scripts for CONFIG_FILES section.
                   7137: # No need to generate them if there are no CONFIG_FILES.
                   7138: # This happens for instance with `./config.status config.h'.
                   7139: if test -n "$CONFIG_FILES"; then
                   7140: 
                   7141: 
                   7142: ac_cr=`echo X | tr X '\015'`
                   7143: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   7144: # But we know of no other shell where ac_cr would be empty at this
                   7145: # point, so we can use a bashism as a fallback.
                   7146: if test "x$ac_cr" = x; then
                   7147:   eval ac_cr=\$\'\\r\'
                   7148: fi
                   7149: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   7150: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   7151:   ac_cs_awk_cr='\\r'
                   7152: else
                   7153:   ac_cs_awk_cr=$ac_cr
                   7154: fi
                   7155: 
                   7156: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   7157: _ACEOF
                   7158: 
                   7159: 
                   7160: {
                   7161:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   7162:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   7163:   echo "_ACEOF"
                   7164: } >conf$$subs.sh ||
                   7165:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7166: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   7167: ac_delim='%!_!# '
                   7168: for ac_last_try in false false false false false :; do
                   7169:   . ./conf$$subs.sh ||
                   7170:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7171: 
                   7172:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   7173:   if test $ac_delim_n = $ac_delim_num; then
                   7174:     break
                   7175:   elif $ac_last_try; then
                   7176:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7177:   else
                   7178:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7179:   fi
                   7180: done
                   7181: rm -f conf$$subs.sh
                   7182: 
                   7183: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7184: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   7185: _ACEOF
                   7186: sed -n '
                   7187: h
                   7188: s/^/S["/; s/!.*/"]=/
                   7189: p
                   7190: g
                   7191: s/^[^!]*!//
                   7192: :repl
                   7193: t repl
                   7194: s/'"$ac_delim"'$//
                   7195: t delim
                   7196: :nl
                   7197: h
                   7198: s/\(.\{148\}\)..*/\1/
                   7199: t more1
                   7200: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   7201: p
                   7202: n
                   7203: b repl
                   7204: :more1
                   7205: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7206: p
                   7207: g
                   7208: s/.\{148\}//
                   7209: t nl
                   7210: :delim
                   7211: h
                   7212: s/\(.\{148\}\)..*/\1/
                   7213: t more2
                   7214: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   7215: p
                   7216: b
                   7217: :more2
                   7218: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7219: p
                   7220: g
                   7221: s/.\{148\}//
                   7222: t delim
                   7223: ' <conf$$subs.awk | sed '
                   7224: /^[^""]/{
                   7225:   N
                   7226:   s/\n//
                   7227: }
                   7228: ' >>$CONFIG_STATUS || ac_write_fail=1
                   7229: rm -f conf$$subs.awk
                   7230: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7231: _ACAWK
                   7232: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   7233:   for (key in S) S_is_set[key] = 1
                   7234:   FS = ""
                   7235: 
                   7236: }
                   7237: {
                   7238:   line = $ 0
                   7239:   nfields = split(line, field, "@")
                   7240:   substed = 0
                   7241:   len = length(field[1])
                   7242:   for (i = 2; i < nfields; i++) {
                   7243:     key = field[i]
                   7244:     keylen = length(key)
                   7245:     if (S_is_set[key]) {
                   7246:       value = S[key]
                   7247:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   7248:       len += length(value) + length(field[++i])
                   7249:       substed = 1
                   7250:     } else
                   7251:       len += 1 + keylen
                   7252:   }
                   7253: 
                   7254:   print line
                   7255: }
                   7256: 
                   7257: _ACAWK
                   7258: _ACEOF
                   7259: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7260: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   7261:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   7262: else
                   7263:   cat
                   7264: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   7265:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   7266: _ACEOF
                   7267: 
                   7268: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   7269: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   7270: # trailing colons and then remove the whole line if VPATH becomes empty
                   7271: # (actually we leave an empty line to preserve line numbers).
                   7272: if test "x$srcdir" = x.; then
                   7273:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   7274: h
                   7275: s///
                   7276: s/^/:/
                   7277: s/[     ]*$/:/
                   7278: s/:\$(srcdir):/:/g
                   7279: s/:\${srcdir}:/:/g
                   7280: s/:@srcdir@:/:/g
                   7281: s/^:*//
                   7282: s/:*$//
                   7283: x
                   7284: s/\(=[  ]*\).*/\1/
                   7285: G
                   7286: s/\n//
                   7287: s/^[^=]*=[      ]*$//
                   7288: }'
                   7289: fi
                   7290: 
                   7291: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7292: fi # test -n "$CONFIG_FILES"
                   7293: 
                   7294: # Set up the scripts for CONFIG_HEADERS section.
                   7295: # No need to generate them if there are no CONFIG_HEADERS.
                   7296: # This happens for instance with `./config.status Makefile'.
                   7297: if test -n "$CONFIG_HEADERS"; then
                   7298: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   7299: BEGIN {
                   7300: _ACEOF
                   7301: 
                   7302: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   7303: # here-document in config.status, that substitutes the proper values into
                   7304: # config.h.in to produce config.h.
                   7305: 
                   7306: # Create a delimiter string that does not exist in confdefs.h, to ease
                   7307: # handling of long lines.
                   7308: ac_delim='%!_!# '
                   7309: for ac_last_try in false false :; do
                   7310:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   7311:   if test -z "$ac_tt"; then
                   7312:     break
                   7313:   elif $ac_last_try; then
                   7314:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   7315:   else
                   7316:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7317:   fi
                   7318: done
                   7319: 
                   7320: # For the awk script, D is an array of macro values keyed by name,
                   7321: # likewise P contains macro parameters if any.  Preserve backslash
                   7322: # newline sequences.
                   7323: 
                   7324: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   7325: sed -n '
                   7326: s/.\{148\}/&'"$ac_delim"'/g
                   7327: t rset
                   7328: :rset
                   7329: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   7330: t def
                   7331: d
                   7332: :def
                   7333: s/\\$//
                   7334: t bsnl
                   7335: s/["\\]/\\&/g
                   7336: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7337: D["\1"]=" \3"/p
                   7338: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   7339: d
                   7340: :bsnl
                   7341: s/["\\]/\\&/g
                   7342: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7343: D["\1"]=" \3\\\\\\n"\\/p
                   7344: t cont
                   7345: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   7346: t cont
                   7347: d
                   7348: :cont
                   7349: n
                   7350: s/.\{148\}/&'"$ac_delim"'/g
                   7351: t clear
                   7352: :clear
                   7353: s/\\$//
                   7354: t bsnlc
                   7355: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   7356: d
                   7357: :bsnlc
                   7358: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   7359: b cont
                   7360: ' <confdefs.h | sed '
                   7361: s/'"$ac_delim"'/"\\\
                   7362: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   7363: 
                   7364: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7365:   for (key in D) D_is_set[key] = 1
                   7366:   FS = ""
                   7367: }
                   7368: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   7369:   line = \$ 0
                   7370:   split(line, arg, " ")
                   7371:   if (arg[1] == "#") {
                   7372:     defundef = arg[2]
                   7373:     mac1 = arg[3]
                   7374:   } else {
                   7375:     defundef = substr(arg[1], 2)
                   7376:     mac1 = arg[2]
                   7377:   }
                   7378:   split(mac1, mac2, "(") #)
                   7379:   macro = mac2[1]
                   7380:   prefix = substr(line, 1, index(line, defundef) - 1)
                   7381:   if (D_is_set[macro]) {
                   7382:     # Preserve the white space surrounding the "#".
                   7383:     print prefix "define", macro P[macro] D[macro]
                   7384:     next
                   7385:   } else {
                   7386:     # Replace #undef with comments.  This is necessary, for example,
                   7387:     # in the case of _POSIX_SOURCE, which is predefined and required
                   7388:     # on some systems where configure will not decide to define it.
                   7389:     if (defundef == "undef") {
                   7390:       print "/*", prefix defundef, macro, "*/"
                   7391:       next
                   7392:     }
                   7393:   }
                   7394: }
                   7395: { print }
                   7396: _ACAWK
                   7397: _ACEOF
                   7398: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7399:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   7400: fi # test -n "$CONFIG_HEADERS"
                   7401: 
                   7402: 
                   7403: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   7404: shift
                   7405: for ac_tag
                   7406: do
                   7407:   case $ac_tag in
                   7408:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   7409:   esac
                   7410:   case $ac_mode$ac_tag in
                   7411:   :[FHL]*:*);;
                   7412:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   7413:   :[FH]-) ac_tag=-:-;;
                   7414:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   7415:   esac
                   7416:   ac_save_IFS=$IFS
                   7417:   IFS=:
                   7418:   set x $ac_tag
                   7419:   IFS=$ac_save_IFS
                   7420:   shift
                   7421:   ac_file=$1
                   7422:   shift
                   7423: 
                   7424:   case $ac_mode in
                   7425:   :L) ac_source=$1;;
                   7426:   :[FH])
                   7427:     ac_file_inputs=
                   7428:     for ac_f
                   7429:     do
                   7430:       case $ac_f in
                   7431:       -) ac_f="$ac_tmp/stdin";;
                   7432:       *) # Look for the file first in the build tree, then in the source tree
                   7433:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   7434:         # because $ac_f cannot contain `:'.
                   7435:         test -f "$ac_f" ||
                   7436:           case $ac_f in
                   7437:           [\\/$]*) false;;
                   7438:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   7439:           esac ||
                   7440:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   7441:       esac
1.1.1.10! root     7442:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1       root     7443:       as_fn_append ac_file_inputs " '$ac_f'"
                   7444:     done
                   7445: 
                   7446:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7447:     # use $as_me), people would be surprised to read:
                   7448:     #    /* config.h.  Generated by config.status.  */
                   7449:     configure_input='Generated from '`
1.1.1.10! root     7450:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.1       root     7451:        `' by configure.'
                   7452:     if test x"$ac_file" != x-; then
                   7453:       configure_input="$ac_file.  $configure_input"
1.1.1.10! root     7454:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
        !          7455: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.1       root     7456:     fi
                   7457:     # Neutralize special characters interpreted by sed in replacement strings.
                   7458:     case $configure_input in #(
                   7459:     *\&* | *\|* | *\\* )
1.1.1.10! root     7460:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.1       root     7461:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   7462:     *) ac_sed_conf_input=$configure_input;;
                   7463:     esac
                   7464: 
                   7465:     case $ac_tag in
                   7466:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   7467:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   7468:     esac
                   7469:     ;;
                   7470:   esac
                   7471: 
                   7472:   ac_dir=`$as_dirname -- "$ac_file" ||
                   7473: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7474:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   7475:         X"$ac_file" : 'X\(//\)$' \| \
                   7476:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10! root     7477: printf "%s\n" X"$ac_file" |
1.1       root     7478:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7479:            s//\1/
                   7480:            q
                   7481:          }
                   7482:          /^X\(\/\/\)[^/].*/{
                   7483:            s//\1/
                   7484:            q
                   7485:          }
                   7486:          /^X\(\/\/\)$/{
                   7487:            s//\1/
                   7488:            q
                   7489:          }
                   7490:          /^X\(\/\).*/{
                   7491:            s//\1/
                   7492:            q
                   7493:          }
                   7494:          s/.*/./; q'`
                   7495:   as_dir="$ac_dir"; as_fn_mkdir_p
                   7496:   ac_builddir=.
                   7497: 
                   7498: case "$ac_dir" in
                   7499: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7500: *)
1.1.1.10! root     7501:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     7502:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10! root     7503:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     7504:   case $ac_top_builddir_sub in
                   7505:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7506:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   7507:   esac ;;
                   7508: esac
                   7509: ac_abs_top_builddir=$ac_pwd
                   7510: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   7511: # for backward compatibility:
                   7512: ac_top_builddir=$ac_top_build_prefix
                   7513: 
                   7514: case $srcdir in
                   7515:   .)  # We are building in place.
                   7516:     ac_srcdir=.
                   7517:     ac_top_srcdir=$ac_top_builddir_sub
                   7518:     ac_abs_top_srcdir=$ac_pwd ;;
                   7519:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   7520:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7521:     ac_top_srcdir=$srcdir
                   7522:     ac_abs_top_srcdir=$srcdir ;;
                   7523:   *) # Relative name.
                   7524:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   7525:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   7526:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   7527: esac
                   7528: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   7529: 
                   7530: 
                   7531:   case $ac_mode in
                   7532:   :F)
                   7533:   #
                   7534:   # CONFIG_FILE
                   7535:   #
                   7536: 
1.1.1.3   root     7537:   case $INSTALL in
                   7538:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   7539:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   7540:   esac
1.1       root     7541: _ACEOF
                   7542: 
                   7543: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7544: # If the template does not know about datarootdir, expand it.
                   7545: # FIXME: This hack should be removed a few years after 2.60.
                   7546: ac_datarootdir_hack=; ac_datarootdir_seen=
                   7547: ac_sed_dataroot='
                   7548: /datarootdir/ {
                   7549:   p
                   7550:   q
                   7551: }
                   7552: /@datadir@/p
                   7553: /@docdir@/p
                   7554: /@infodir@/p
                   7555: /@localedir@/p
                   7556: /@mandir@/p'
                   7557: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   7558: *datarootdir*) ac_datarootdir_seen=yes;;
                   7559: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.10! root     7560:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
        !          7561: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       root     7562: _ACEOF
                   7563: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7564:   ac_datarootdir_hack='
                   7565:   s&@datadir@&$datadir&g
                   7566:   s&@docdir@&$docdir&g
                   7567:   s&@infodir@&$infodir&g
                   7568:   s&@localedir@&$localedir&g
                   7569:   s&@mandir@&$mandir&g
                   7570:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   7571: esac
                   7572: _ACEOF
                   7573: 
                   7574: # Neutralize VPATH when `$srcdir' = `.'.
                   7575: # Shell code in configure.ac might set extrasub.
                   7576: # FIXME: do we really want to maintain this feature?
                   7577: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7578: ac_sed_extra="$ac_vpsub
                   7579: $extrasub
                   7580: _ACEOF
                   7581: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7582: :t
                   7583: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7584: s|@configure_input@|$ac_sed_conf_input|;t t
                   7585: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   7586: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   7587: s&@srcdir@&$ac_srcdir&;t t
                   7588: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   7589: s&@top_srcdir@&$ac_top_srcdir&;t t
                   7590: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   7591: s&@builddir@&$ac_builddir&;t t
                   7592: s&@abs_builddir@&$ac_abs_builddir&;t t
                   7593: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.3   root     7594: s&@INSTALL@&$ac_INSTALL&;t t
1.1       root     7595: $ac_datarootdir_hack
                   7596: "
                   7597: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   7598:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7599: 
                   7600: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   7601:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   7602:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   7603:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.1.10! root     7604:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       root     7605: which seems to be undefined.  Please make sure it is defined" >&5
1.1.1.10! root     7606: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       root     7607: which seems to be undefined.  Please make sure it is defined" >&2;}
                   7608: 
                   7609:   rm -f "$ac_tmp/stdin"
                   7610:   case $ac_file in
                   7611:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   7612:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   7613:   esac \
                   7614:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7615:  ;;
                   7616:   :H)
                   7617:   #
                   7618:   # CONFIG_HEADER
                   7619:   #
                   7620:   if test x"$ac_file" != x-; then
                   7621:     {
1.1.1.10! root     7622:       printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     7623:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   7624:     } >"$ac_tmp/config.h" \
                   7625:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7626:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.1.10! root     7627:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
        !          7628: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.1       root     7629:     else
                   7630:       rm -f "$ac_file"
                   7631:       mv "$ac_tmp/config.h" "$ac_file" \
                   7632:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7633:     fi
                   7634:   else
1.1.1.10! root     7635:     printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     7636:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   7637:       || as_fn_error $? "could not create -" "$LINENO" 5
                   7638:   fi
                   7639:  ;;
                   7640: 
                   7641: 
                   7642:   esac
                   7643: 
                   7644: done # for ac_tag
                   7645: 
                   7646: 
                   7647: as_fn_exit 0
                   7648: _ACEOF
                   7649: ac_clean_files=$ac_clean_files_save
                   7650: 
                   7651: test $ac_write_fail = 0 ||
                   7652:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   7653: 
                   7654: 
                   7655: # configure is writing to config.log, and then calls config.status.
                   7656: # config.status does its own redirection, appending to config.log.
                   7657: # Unfortunately, on DOS this fails, as config.log is still kept open
                   7658: # by configure, so config.status won't be able to write to it; its
                   7659: # output is simply discarded.  So we exec the FD to /dev/null,
                   7660: # effectively closing config.log, so it can be properly (re)opened and
                   7661: # appended to by config.status.  When coming back to configure, we
                   7662: # need to make the FD available again.
                   7663: if test "$no_create" != yes; then
                   7664:   ac_cs_success=:
                   7665:   ac_config_status_args=
                   7666:   test "$silent" = yes &&
                   7667:     ac_config_status_args="$ac_config_status_args --quiet"
                   7668:   exec 5>/dev/null
                   7669:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   7670:   exec 5>>config.log
                   7671:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   7672:   # would make configure fail if this is the last instruction.
                   7673:   $ac_cs_success || as_fn_exit 1
                   7674: fi
                   7675: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.10! root     7676:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
        !          7677: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       root     7678: fi
                   7679: 
1.1.1.10! root     7680: 

unix.superglobalmegacorp.com

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