Annotation of nono/configure, revision 1.1.1.11

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; }
1.1.1.11! root     4302:                eval `echo cc_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4303:                WARNFLAGS_C="${WARNFLAGS_C} -Wcast-qual"
                   4304: else $as_nop
                   4305:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4306: printf "%s\n" "no" >&6; }
1.1       root     4307: fi
1.1.1.10  root     4308: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4309:        CFLAGS="${old_CFLAGS}"
1.1       root     4310: 
                   4311: 
1.1.1.10  root     4312:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wextra-semi" >&5
                   4313: printf %s "checking whether cc accepts -Wextra-semi... " >&6; }
                   4314:        old_CFLAGS="${CFLAGS}"
                   4315:        CFLAGS="${CFLAGS} -Werror -Wextra-semi"
                   4316:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4317: /* end confdefs.h.  */
                   4318: 
                   4319: int
1.1.1.10  root     4320: main (void)
1.1       root     4321: {
                   4322: 
                   4323:   ;
                   4324:   return 0;
                   4325: }
                   4326: _ACEOF
1.1.1.10  root     4327: if ac_fn_c_try_compile "$LINENO"
                   4328: then :
                   4329:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4330: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4331:                eval `echo cc_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4332:                WARNFLAGS_C="${WARNFLAGS_C} -Wextra-semi"
                   4333: else $as_nop
                   4334:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4335: printf "%s\n" "no" >&6; }
                   4336: fi
                   4337: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4338:        CFLAGS="${old_CFLAGS}"
                   4339: 
                   4340: 
                   4341:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wlogical-op" >&5
                   4342: printf %s "checking whether cc accepts -Wlogical-op... " >&6; }
                   4343:        old_CFLAGS="${CFLAGS}"
                   4344:        CFLAGS="${CFLAGS} -Werror -Wlogical-op"
                   4345:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4346: /* end confdefs.h.  */
                   4347: 
                   4348: int
1.1.1.10  root     4349: main (void)
1.1       root     4350: {
                   4351: 
                   4352:   ;
                   4353:   return 0;
                   4354: }
                   4355: _ACEOF
1.1.1.10  root     4356: if ac_fn_c_try_compile "$LINENO"
                   4357: then :
                   4358:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4359: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4360:                eval `echo cc_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4361:                WARNFLAGS_C="${WARNFLAGS_C} -Wlogical-op"
                   4362: else $as_nop
                   4363:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4364: printf "%s\n" "no" >&6; }
1.1       root     4365: fi
1.1.1.10  root     4366: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4367:        CFLAGS="${old_CFLAGS}"
1.1       root     4368: 
                   4369: 
1.1.1.10  root     4370:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-prototypes" >&5
                   4371: printf %s "checking whether cc accepts -Wmissing-prototypes... " >&6; }
                   4372:        old_CFLAGS="${CFLAGS}"
                   4373:        CFLAGS="${CFLAGS} -Werror -Wmissing-prototypes"
                   4374:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4375: /* end confdefs.h.  */
                   4376: 
                   4377: int
1.1.1.10  root     4378: main (void)
1.1       root     4379: {
                   4380: 
                   4381:   ;
                   4382:   return 0;
                   4383: }
                   4384: _ACEOF
1.1.1.10  root     4385: if ac_fn_c_try_compile "$LINENO"
                   4386: then :
                   4387:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4388: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4389:                eval `echo cc_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4390:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-prototypes"
                   4391: else $as_nop
                   4392:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4393: printf "%s\n" "no" >&6; }
1.1       root     4394: fi
1.1.1.10  root     4395: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4396:        CFLAGS="${old_CFLAGS}"
1.1       root     4397: 
1.1.1.10  root     4398: 
                   4399:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wmissing-variable-declarations" >&5
                   4400: printf %s "checking whether cc accepts -Wmissing-variable-declarations... " >&6; }
                   4401:        old_CFLAGS="${CFLAGS}"
                   4402:        CFLAGS="${CFLAGS} -Werror -Wmissing-variable-declarations"
                   4403:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4404: /* end confdefs.h.  */
1.1.1.10  root     4405: 
1.1       root     4406: int
1.1.1.10  root     4407: main (void)
1.1       root     4408: {
                   4409: 
                   4410:   ;
                   4411:   return 0;
                   4412: }
                   4413: _ACEOF
1.1.1.10  root     4414: if ac_fn_c_try_compile "$LINENO"
                   4415: then :
                   4416:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4417: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4418:                eval `echo cc_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4419:                WARNFLAGS_C="${WARNFLAGS_C} -Wmissing-variable-declarations"
                   4420: else $as_nop
                   4421:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4422: printf "%s\n" "no" >&6; }
1.1.1.6   root     4423: fi
1.1.1.10  root     4424: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4425:        CFLAGS="${old_CFLAGS}"
1.1.1.6   root     4426: 
1.1.1.11! root     4427: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
        !          4428: 
        !          4429:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow-local" >&5
        !          4430: printf %s "checking whether cc accepts -Wshadow-local... " >&6; }
        !          4431:        old_CFLAGS="${CFLAGS}"
        !          4432:        CFLAGS="${CFLAGS} -Werror -Wshadow-local"
        !          4433:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4434: /* end confdefs.h.  */
        !          4435: 
        !          4436: int
        !          4437: main (void)
        !          4438: {
        !          4439: 
        !          4440:   ;
        !          4441:   return 0;
        !          4442: }
        !          4443: _ACEOF
        !          4444: if ac_fn_c_try_compile "$LINENO"
        !          4445: then :
        !          4446:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4447: printf "%s\n" "yes" >&6; }
        !          4448:                eval `echo cc_has-Wshadow-local=yes | sed -e 's/-/_/g'`
        !          4449:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow-local"
        !          4450: else $as_nop
        !          4451:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4452: printf "%s\n" "no" >&6; }
        !          4453: fi
        !          4454: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4455:        CFLAGS="${old_CFLAGS}"
        !          4456: 
        !          4457: if test x"${cc_has_Wshadow_local}" != xyes; then
        !          4458: 
        !          4459:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether cc accepts -Wshadow" >&5
        !          4460: printf %s "checking whether cc accepts -Wshadow... " >&6; }
        !          4461:        old_CFLAGS="${CFLAGS}"
        !          4462:        CFLAGS="${CFLAGS} -Werror -Wshadow"
        !          4463:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4464: /* end confdefs.h.  */
        !          4465: 
        !          4466: int
        !          4467: main (void)
        !          4468: {
        !          4469: 
        !          4470:   ;
        !          4471:   return 0;
        !          4472: }
        !          4473: _ACEOF
        !          4474: if ac_fn_c_try_compile "$LINENO"
        !          4475: then :
        !          4476:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4477: printf "%s\n" "yes" >&6; }
        !          4478:                eval `echo cc_has-Wshadow=yes | sed -e 's/-/_/g'`
        !          4479:                WARNFLAGS_C="${WARNFLAGS_C} -Wshadow"
        !          4480: else $as_nop
        !          4481:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4482: printf "%s\n" "no" >&6; }
        !          4483: fi
        !          4484: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4485:        CFLAGS="${old_CFLAGS}"
        !          4486: 
        !          4487: fi
1.1.1.10  root     4488: ac_ext=c
                   4489: ac_cpp='$CPP $CPPFLAGS'
                   4490: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4491: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4492: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.6   root     4493: 
1.1.1.4   root     4494: 
                   4495: 
1.1.1.10  root     4496: # C++ コンパイラのワーニングオプション
                   4497: # (AC_LANG は C++ のまま継続する)
1.1.1.3   root     4498: ac_ext=cpp
                   4499: ac_cpp='$CXXCPP $CPPFLAGS'
                   4500: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4501: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4502: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   4503: 
                   4504: 
1.1.1.10  root     4505: 
                   4506:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wcast-qual" >&5
                   4507: printf %s "checking whether c++ accepts -Wcast-qual... " >&6; }
                   4508:        old_CXXFLAGS="${CXXFLAGS}"
                   4509:        CXXFLAGS="${CXXFLAGS} -Werror -Wcast-qual"
                   4510:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       root     4511: /* end confdefs.h.  */
                   4512: 
                   4513: int
1.1.1.10  root     4514: main (void)
1.1       root     4515: {
                   4516: 
                   4517:   ;
                   4518:   return 0;
                   4519: }
                   4520: _ACEOF
1.1.1.10  root     4521: if ac_fn_cxx_try_compile "$LINENO"
                   4522: then :
                   4523:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4524: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4525:                eval `echo cxx_has-Wcast-qual=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4526:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wcast-qual"
                   4527: else $as_nop
                   4528:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4529: printf "%s\n" "no" >&6; }
1.1       root     4530: fi
1.1.1.10  root     4531: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4532:        CXXFLAGS="${old_CXXFLAGS}"
1.1       root     4533: 
                   4534: 
1.1.1.10  root     4535:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wextra-semi" >&5
                   4536: printf %s "checking whether c++ accepts -Wextra-semi... " >&6; }
                   4537:        old_CXXFLAGS="${CXXFLAGS}"
                   4538:        CXXFLAGS="${CXXFLAGS} -Werror -Wextra-semi"
1.1.1.3   root     4539:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4540: /* end confdefs.h.  */
1.1       root     4541: 
1.1.1.3   root     4542: int
1.1.1.10  root     4543: main (void)
1.1.1.3   root     4544: {
1.1       root     4545: 
1.1.1.3   root     4546:   ;
                   4547:   return 0;
                   4548: }
1.1.1.2   root     4549: _ACEOF
1.1.1.10  root     4550: if ac_fn_cxx_try_compile "$LINENO"
                   4551: then :
                   4552:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4553: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4554:                eval `echo cxx_has-Wextra-semi=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4555:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wextra-semi"
                   4556: else $as_nop
                   4557:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4558: printf "%s\n" "no" >&6; }
1.1.1.2   root     4559: fi
1.1.1.10  root     4560: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4561:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.2   root     4562: 
1.1       root     4563: 
1.1.1.10  root     4564:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-override" >&5
                   4565: printf %s "checking whether c++ accepts -Winconsistent-missing-override... " >&6; }
                   4566:        old_CXXFLAGS="${CXXFLAGS}"
                   4567:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-override"
1.1.1.3   root     4568:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4569: /* end confdefs.h.  */
1.1       root     4570: 
1.1.1.3   root     4571: int
1.1.1.10  root     4572: main (void)
1.1.1.3   root     4573: {
1.1       root     4574: 
1.1.1.3   root     4575:   ;
                   4576:   return 0;
                   4577: }
                   4578: _ACEOF
1.1.1.10  root     4579: if ac_fn_cxx_try_compile "$LINENO"
                   4580: then :
                   4581:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4582: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4583:                eval `echo cxx_has-Winconsistent-missing-override=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4584:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-override"
                   4585: else $as_nop
                   4586:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4587: printf "%s\n" "no" >&6; }
1.1.1.3   root     4588: fi
1.1.1.10  root     4589: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4590:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4591: 
                   4592: 
1.1.1.10  root     4593:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Winconsistent-missing-destructor-override" >&5
                   4594: printf %s "checking whether c++ accepts -Winconsistent-missing-destructor-override... " >&6; }
                   4595:        old_CXXFLAGS="${CXXFLAGS}"
                   4596:        CXXFLAGS="${CXXFLAGS} -Werror -Winconsistent-missing-destructor-override"
1.1.1.3   root     4597:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4598: /* end confdefs.h.  */
                   4599: 
                   4600: int
1.1.1.10  root     4601: main (void)
1.1.1.3   root     4602: {
                   4603: 
                   4604:   ;
                   4605:   return 0;
                   4606: }
                   4607: _ACEOF
1.1.1.10  root     4608: if ac_fn_cxx_try_compile "$LINENO"
                   4609: then :
                   4610:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4611: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4612:                eval `echo cxx_has-Winconsistent-missing-destructor-override=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4613:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Winconsistent-missing-destructor-override"
                   4614: else $as_nop
                   4615:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4616: printf "%s\n" "no" >&6; }
1.1.1.3   root     4617: fi
1.1.1.10  root     4618: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4619:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4620: 
                   4621: 
1.1.1.10  root     4622:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wlogical-op" >&5
                   4623: printf %s "checking whether c++ accepts -Wlogical-op... " >&6; }
                   4624:        old_CXXFLAGS="${CXXFLAGS}"
                   4625:        CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op"
1.1.1.3   root     4626:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4627: /* end confdefs.h.  */
                   4628: 
                   4629: int
1.1.1.10  root     4630: main (void)
1.1.1.3   root     4631: {
                   4632: 
                   4633:   ;
                   4634:   return 0;
                   4635: }
                   4636: _ACEOF
1.1.1.10  root     4637: if ac_fn_cxx_try_compile "$LINENO"
                   4638: then :
                   4639:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4640: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4641:                eval `echo cxx_has-Wlogical-op=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4642:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wlogical-op"
                   4643: else $as_nop
                   4644:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4645: printf "%s\n" "no" >&6; }
1.1.1.3   root     4646: fi
1.1.1.10  root     4647: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4648:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4649: 
                   4650: 
1.1.1.10  root     4651:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-prototypes" >&5
                   4652: printf %s "checking whether c++ accepts -Wmissing-prototypes... " >&6; }
                   4653:        old_CXXFLAGS="${CXXFLAGS}"
                   4654:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-prototypes"
1.1.1.3   root     4655:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4656: /* end confdefs.h.  */
                   4657: 
                   4658: int
1.1.1.10  root     4659: main (void)
1.1.1.3   root     4660: {
                   4661: 
                   4662:   ;
                   4663:   return 0;
                   4664: }
                   4665: _ACEOF
1.1.1.10  root     4666: if ac_fn_cxx_try_compile "$LINENO"
                   4667: then :
                   4668:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4669: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4670:                eval `echo cxx_has-Wmissing-prototypes=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4671:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-prototypes"
                   4672: else $as_nop
                   4673:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4674: printf "%s\n" "no" >&6; }
1.1.1.3   root     4675: fi
1.1.1.10  root     4676: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4677:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4678: 
                   4679: 
1.1.1.10  root     4680:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wmissing-variable-declarations" >&5
                   4681: printf %s "checking whether c++ accepts -Wmissing-variable-declarations... " >&6; }
                   4682:        old_CXXFLAGS="${CXXFLAGS}"
                   4683:        CXXFLAGS="${CXXFLAGS} -Werror -Wmissing-variable-declarations"
                   4684:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4685: /* end confdefs.h.  */
1.1.1.3   root     4686: 
1.1.1.10  root     4687: int
                   4688: main (void)
                   4689: {
1.1.1.3   root     4690: 
1.1.1.10  root     4691:   ;
                   4692:   return 0;
                   4693: }
                   4694: _ACEOF
                   4695: if ac_fn_cxx_try_compile "$LINENO"
                   4696: then :
                   4697:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4698: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4699:                eval `echo cxx_has-Wmissing-variable-declarations=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4700:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wmissing-variable-declarations"
                   4701: else $as_nop
                   4702:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4703: printf "%s\n" "no" >&6; }
                   4704: fi
                   4705: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4706:        CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     4707: 
1.1.1.11! root     4708: # -Wshadow-local があればそっちを使う(gcc>=7)、なければ -Wshadow (clang)
        !          4709: 
        !          4710:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow-local" >&5
        !          4711: printf %s "checking whether c++ accepts -Wshadow-local... " >&6; }
        !          4712:        old_CXXFLAGS="${CXXFLAGS}"
        !          4713:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow-local"
        !          4714:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4715: /* end confdefs.h.  */
        !          4716: 
        !          4717: int
        !          4718: main (void)
        !          4719: {
        !          4720: 
        !          4721:   ;
        !          4722:   return 0;
        !          4723: }
        !          4724: _ACEOF
        !          4725: if ac_fn_cxx_try_compile "$LINENO"
        !          4726: then :
        !          4727:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4728: printf "%s\n" "yes" >&6; }
        !          4729:                eval `echo cxx_has-Wshadow-local=yes | sed -e 's/-/_/g'`
        !          4730:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow-local"
        !          4731: else $as_nop
        !          4732:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4733: printf "%s\n" "no" >&6; }
        !          4734: fi
        !          4735: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4736:        CXXFLAGS="${old_CXXFLAGS}"
        !          4737: 
        !          4738: if test x"${cxx_has_Wshadow_local}" != xyes; then
        !          4739: 
        !          4740:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wshadow" >&5
        !          4741: printf %s "checking whether c++ accepts -Wshadow... " >&6; }
        !          4742:        old_CXXFLAGS="${CXXFLAGS}"
        !          4743:        CXXFLAGS="${CXXFLAGS} -Werror -Wshadow"
        !          4744:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4745: /* end confdefs.h.  */
        !          4746: 
        !          4747: int
        !          4748: main (void)
        !          4749: {
        !          4750: 
        !          4751:   ;
        !          4752:   return 0;
        !          4753: }
        !          4754: _ACEOF
        !          4755: if ac_fn_cxx_try_compile "$LINENO"
        !          4756: then :
        !          4757:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4758: printf "%s\n" "yes" >&6; }
        !          4759:                eval `echo cxx_has-Wshadow=yes | sed -e 's/-/_/g'`
        !          4760:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wshadow"
        !          4761: else $as_nop
        !          4762:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4763: printf "%s\n" "no" >&6; }
        !          4764: fi
        !          4765: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          4766:        CXXFLAGS="${old_CXXFLAGS}"
        !          4767: 
        !          4768: fi
1.1.1.3   root     4769: 
1.1.1.10  root     4770:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5
                   4771: printf %s "checking whether c++ accepts -Wvla-extension... " >&6; }
1.1.1.3   root     4772:        old_CXXFLAGS="${CXXFLAGS}"
1.1.1.10  root     4773:        CXXFLAGS="${CXXFLAGS} -Werror -Wvla-extension"
1.1.1.3   root     4774:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4775: /* end confdefs.h.  */
                   4776: 
                   4777: int
1.1.1.10  root     4778: main (void)
1.1.1.3   root     4779: {
                   4780: 
                   4781:   ;
                   4782:   return 0;
                   4783: }
                   4784: _ACEOF
1.1.1.10  root     4785: if ac_fn_cxx_try_compile "$LINENO"
                   4786: then :
                   4787:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4788: printf "%s\n" "yes" >&6; }
1.1.1.11! root     4789:                eval `echo cxx_has-Wvla-extension=yes | sed -e 's/-/_/g'`
1.1.1.10  root     4790:                WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wvla-extension"
                   4791: else $as_nop
                   4792:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4793: printf "%s\n" "no" >&6; }
1.1.1.3   root     4794: fi
1.1.1.10  root     4795: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     4796:        CXXFLAGS="${old_CXXFLAGS}"
                   4797: 
                   4798: 
1.1.1.10  root     4799: 
                   4800: # Checks for libraries.
                   4801: 
                   4802: # Checks for header files.
                   4803: ac_header= ac_cache=
                   4804: for ac_item in $ac_header_cxx_list
                   4805: do
                   4806:   if test $ac_cache; then
                   4807:     ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
                   4808:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
                   4809:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
                   4810:     fi
                   4811:     ac_header= ac_cache=
                   4812:   elif test $ac_header; then
                   4813:     ac_cache=$ac_item
                   4814:   else
                   4815:     ac_header=$ac_item
                   4816:   fi
                   4817: done
                   4818: 
                   4819: 
                   4820: 
                   4821: 
                   4822: 
                   4823: 
                   4824: 
                   4825: 
                   4826: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
                   4827: then :
                   4828: 
                   4829: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
                   4830: 
                   4831: fi
                   4832: ac_fn_cxx_check_header_compile "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default"
                   4833: if test "x$ac_cv_header_bsd_bsd_h" = xyes
                   4834: then :
                   4835:   printf "%s\n" "#define HAVE_BSD_BSD_H 1" >>confdefs.h
                   4836: 
                   4837: fi
                   4838: 
                   4839: ac_fn_cxx_check_header_compile "$LINENO" "bsd/stdio.h" "ac_cv_header_bsd_stdio_h" "$ac_includes_default"
                   4840: if test "x$ac_cv_header_bsd_stdio_h" = xyes
                   4841: then :
                   4842:   printf "%s\n" "#define HAVE_BSD_STDIO_H 1" >>confdefs.h
                   4843: 
                   4844: fi
                   4845: 
                   4846: ac_fn_cxx_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
                   4847: if test "x$ac_cv_header_byteswap_h" = xyes
                   4848: then :
                   4849:   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
                   4850: 
                   4851: fi
                   4852: 
                   4853: ac_fn_cxx_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
                   4854: if test "x$ac_cv_header_endian_h" = xyes
                   4855: then :
                   4856:   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
                   4857: 
                   4858: fi
                   4859: 
                   4860: ac_fn_cxx_check_header_compile "$LINENO" "histedit.h" "ac_cv_header_histedit_h" "$ac_includes_default"
                   4861: if test "x$ac_cv_header_histedit_h" = xyes
                   4862: then :
                   4863:   printf "%s\n" "#define HAVE_HISTEDIT_H 1" >>confdefs.h
                   4864: 
                   4865: fi
                   4866: 
                   4867: ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default"
                   4868: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes
                   4869: then :
                   4870:   printf "%s\n" "#define HAVE_KQUEUE_SYS_EVENT_H 1" >>confdefs.h
                   4871: 
                   4872: fi
                   4873: 
                   4874: ac_fn_cxx_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "$ac_includes_default"
                   4875: if test "x$ac_cv_header_pthread_np_h" = xyes
                   4876: then :
                   4877:   printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
                   4878: 
                   4879: fi
                   4880: 
                   4881: ac_fn_cxx_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
                   4882: if test "x$ac_cv_header_sys_endian_h" = xyes
                   4883: then :
                   4884:   printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
                   4885: 
                   4886: fi
                   4887: 
                   4888: ac_fn_cxx_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
                   4889: if test "x$ac_cv_header_sys_event_h" = xyes
                   4890: then :
                   4891:   printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
                   4892: 
                   4893: fi
                   4894: 
                   4895: ac_fn_cxx_check_header_compile "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   4896: if test "x$ac_cv_header_net_bpf_h" = xyes
                   4897: then :
                   4898:   printf "%s\n" "#define HAVE_NET_BPF_H 1" >>confdefs.h
                   4899: 
                   4900: fi
                   4901: 
                   4902: ac_fn_cxx_check_header_compile "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default"
                   4903: if test "x$ac_cv_header_net_if_tap_h" = xyes
                   4904: then :
                   4905:   printf "%s\n" "#define HAVE_NET_IF_TAP_H 1" >>confdefs.h
                   4906: 
                   4907: fi
                   4908: 
                   4909: ac_fn_cxx_check_header_compile "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default"
                   4910: if test "x$ac_cv_header_linux_if_tun_h" = xyes
                   4911: then :
                   4912:   printf "%s\n" "#define HAVE_LINUX_IF_TUN_H 1" >>confdefs.h
                   4913: 
                   4914: fi
                   4915: 
                   4916: ac_fn_cxx_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
                   4917: if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
                   4918: then :
                   4919:   printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
                   4920: 
                   4921: fi
                   4922: 
                   4923: ac_fn_cxx_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
                   4924: if test "x$ac_cv_header_machine_endian_h" = xyes
                   4925: then :
                   4926:   printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
                   4927: 
                   4928: fi
                   4929: 
                   4930: 
                   4931: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい
                   4932: case "${host_os}" in
                   4933:  linux*)
                   4934:        if test "$ac_cv_header_kqueue_sys_event_h" != "yes"; then
                   4935:                as_fn_error $? "*** kqueue is not found.
                   4936: *** If you use Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5
                   4937:        fi
                   4938:        ;;
                   4939: esac
                   4940: 
                   4941: # Checks for typedefs, structures, and compiler characteristics.
                   4942: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
                   4943: if test "x$ac_cv_type__Bool" = xyes
                   4944: then :
                   4945: 
                   4946: printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
                   4947: 
                   4948: 
                   4949: fi
                   4950: 
                   4951:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
                   4952: printf %s "checking for stdbool.h that conforms to C99... " >&6; }
                   4953: if test ${ac_cv_header_stdbool_h+y}
                   4954: then :
                   4955:   printf %s "(cached) " >&6
                   4956: else $as_nop
                   4957:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     4958: /* end confdefs.h.  */
1.1.1.10  root     4959: #include <stdbool.h>
                   4960: 
                   4961:              #ifndef __bool_true_false_are_defined
                   4962:                #error "__bool_true_false_are_defined is not defined"
                   4963:              #endif
                   4964:              char a[__bool_true_false_are_defined == 1 ? 1 : -1];
                   4965: 
                   4966:              /* Regardless of whether this is C++ or "_Bool" is a
                   4967:                 valid type name, "true" and "false" should be usable
                   4968:                 in #if expressions and integer constant expressions,
                   4969:                 and "bool" should be a valid type name.  */
                   4970: 
                   4971:              #if !true
                   4972:                #error "'true' is not true"
                   4973:              #endif
                   4974:              #if true != 1
                   4975:                #error "'true' is not equal to 1"
                   4976:              #endif
                   4977:              char b[true == 1 ? 1 : -1];
                   4978:              char c[true];
                   4979: 
                   4980:              #if false
                   4981:                #error "'false' is not false"
                   4982:              #endif
                   4983:              #if false != 0
                   4984:                #error "'false' is not equal to 0"
                   4985:              #endif
                   4986:              char d[false == 0 ? 1 : -1];
                   4987: 
                   4988:              enum { e = false, f = true, g = false * true, h = true * 256 };
                   4989: 
                   4990:              char i[(bool) 0.5 == true ? 1 : -1];
                   4991:              char j[(bool) 0.0 == false ? 1 : -1];
                   4992:              char k[sizeof (bool) > 0 ? 1 : -1];
                   4993: 
                   4994:              struct sb { bool s: 1; bool t; } s;
                   4995:              char l[sizeof s.t > 0 ? 1 : -1];
                   4996: 
                   4997:              /* The following fails for
                   4998:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
                   4999:              bool m[h];
                   5000:              char n[sizeof m == h * sizeof m[0] ? 1 : -1];
                   5001:              char o[-1 - (bool) 0 < 0 ? 1 : -1];
                   5002:              /* Catch a bug in an HP-UX C compiler.  See
                   5003:          https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
                   5004:          https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
                   5005:               */
                   5006:              bool p = true;
                   5007:              bool *pp = &p;
                   5008: 
                   5009:              /* C 1999 specifies that bool, true, and false are to be
                   5010:                 macros, but C++ 2011 and later overrule this.  */
                   5011:              #if __cplusplus < 201103
                   5012:               #ifndef bool
                   5013:                #error "bool is not defined"
                   5014:               #endif
                   5015:               #ifndef false
                   5016:                #error "false is not defined"
                   5017:               #endif
                   5018:               #ifndef true
                   5019:                #error "true is not defined"
                   5020:               #endif
                   5021:              #endif
                   5022: 
                   5023:              /* If _Bool is available, repeat with it all the tests
                   5024:                 above that used bool.  */
                   5025:              #ifdef HAVE__BOOL
                   5026:                struct sB { _Bool s: 1; _Bool t; } t;
                   5027: 
                   5028:                char q[(_Bool) 0.5 == true ? 1 : -1];
                   5029:                char r[(_Bool) 0.0 == false ? 1 : -1];
                   5030:                char u[sizeof (_Bool) > 0 ? 1 : -1];
                   5031:                char v[sizeof t.t > 0 ? 1 : -1];
                   5032: 
                   5033:                _Bool w[h];
                   5034:                char x[sizeof m == h * sizeof m[0] ? 1 : -1];
                   5035:                char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
                   5036:                _Bool z = true;
                   5037:                _Bool *pz = &p;
                   5038:              #endif
1.1.1.3   root     5039: 
                   5040: int
1.1.1.10  root     5041: main (void)
1.1.1.3   root     5042: {
                   5043: 
1.1.1.10  root     5044:              bool ps = &s;
                   5045:              *pp |= p;
                   5046:              *pp |= ! p;
                   5047: 
                   5048:              #ifdef HAVE__BOOL
                   5049:                _Bool pt = &t;
                   5050:                *pz |= z;
                   5051:                *pz |= ! z;
                   5052:              #endif
                   5053: 
                   5054:              /* Refer to every declared value, so they cannot be
                   5055:                 discarded as unused.  */
                   5056:              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
                   5057:                      + !l + !m + !n + !o + !p + !pp + !ps
                   5058:              #ifdef HAVE__BOOL
                   5059:                      + !q + !r + !u + !v + !w + !x + !y + !z + !pt
                   5060:              #endif
                   5061:                     );
                   5062: 
1.1.1.3   root     5063:   ;
                   5064:   return 0;
                   5065: }
                   5066: _ACEOF
1.1.1.10  root     5067: if ac_fn_cxx_try_compile "$LINENO"
                   5068: then :
                   5069:   ac_cv_header_stdbool_h=yes
                   5070: else $as_nop
                   5071:   ac_cv_header_stdbool_h=no
1.1.1.3   root     5072: fi
1.1.1.10  root     5073: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5074: fi
                   5075: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
                   5076: printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
1.1.1.3   root     5077: 
1.1.1.10  root     5078: #AC_C_INLINE
                   5079: #AC_TYPE_INT16_T
                   5080: #AC_TYPE_INT32_T
                   5081: #AC_TYPE_INT64_T
                   5082: #AC_TYPE_INT8_T
                   5083: #AC_TYPE_SIZE_T
                   5084: #AC_TYPE_UINT16_T
                   5085: #AC_TYPE_UINT32_T
                   5086: #AC_TYPE_UINT64_T
                   5087: #AC_TYPE_UINT8_T
1.1.1.3   root     5088: 
1.1.1.10  root     5089: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5
                   5090: printf %s "checking for __builtin_assume... " >&6; }
                   5091: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5092: /* end confdefs.h.  */
                   5093: 
                   5094: int
1.1.1.10  root     5095: main (void)
1.1.1.3   root     5096: {
                   5097: 
1.1.1.10  root     5098:                __builtin_assume(1);
                   5099: 
1.1.1.3   root     5100:   ;
                   5101:   return 0;
                   5102: }
                   5103: _ACEOF
1.1.1.10  root     5104: if ac_fn_cxx_try_compile "$LINENO"
                   5105: then :
1.1.1.3   root     5106: 
1.1.1.10  root     5107:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5108: printf "%s\n" "yes" >&6; }
                   5109:                printf "%s\n" "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h
1.1.1.3   root     5110: 
1.1.1.10  root     5111: 
                   5112: else $as_nop
                   5113: 
                   5114:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5115: printf "%s\n" "no" >&6; }
                   5116: 
                   5117: fi
                   5118: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5119: 
                   5120: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5
                   5121: printf %s "checking for __builtin_bswap16... " >&6; }
                   5122: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5123: /* end confdefs.h.  */
                   5124: 
                   5125: int
1.1.1.10  root     5126: main (void)
1.1.1.3   root     5127: {
                   5128: 
1.1.1.10  root     5129:                return __builtin_bswap16(0);
                   5130: 
1.1.1.3   root     5131:   ;
                   5132:   return 0;
                   5133: }
                   5134: _ACEOF
1.1.1.10  root     5135: if ac_fn_cxx_try_compile "$LINENO"
                   5136: then :
1.1.1.3   root     5137: 
1.1.1.10  root     5138:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5139: printf "%s\n" "yes" >&6; }
                   5140:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h
1.1.1.3   root     5141: 
1.1.1.10  root     5142: 
                   5143: else $as_nop
                   5144: 
                   5145:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5146: printf "%s\n" "no" >&6; }
                   5147: 
                   5148: fi
                   5149: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5150: 
                   5151: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5
                   5152: printf %s "checking for __builtin_bswap32... " >&6; }
                   5153: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5154: /* end confdefs.h.  */
                   5155: 
                   5156: int
1.1.1.10  root     5157: main (void)
1.1.1.3   root     5158: {
                   5159: 
1.1.1.10  root     5160:                return __builtin_bswap32(0);
                   5161: 
1.1.1.3   root     5162:   ;
                   5163:   return 0;
                   5164: }
                   5165: _ACEOF
1.1.1.10  root     5166: if ac_fn_cxx_try_compile "$LINENO"
                   5167: then :
1.1.1.3   root     5168: 
1.1.1.10  root     5169:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5170: printf "%s\n" "yes" >&6; }
                   5171:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h
1.1.1.3   root     5172: 
1.1.1.10  root     5173: 
                   5174: else $as_nop
                   5175: 
                   5176:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5177: printf "%s\n" "no" >&6; }
                   5178: 
                   5179: fi
                   5180: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5181: 
                   5182: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap64" >&5
                   5183: printf %s "checking for __builtin_bswap64... " >&6; }
                   5184: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5185: /* end confdefs.h.  */
                   5186: 
                   5187: int
1.1.1.10  root     5188: main (void)
1.1.1.3   root     5189: {
                   5190: 
1.1.1.10  root     5191:                return __builtin_bswap64(0);
                   5192: 
1.1.1.3   root     5193:   ;
                   5194:   return 0;
                   5195: }
                   5196: _ACEOF
1.1.1.10  root     5197: if ac_fn_cxx_try_compile "$LINENO"
                   5198: then :
1.1.1.3   root     5199: 
1.1.1.10  root     5200:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5201: printf "%s\n" "yes" >&6; }
                   5202:                printf "%s\n" "#define HAVE___BUILTIN_BSWAP64 1" >>confdefs.h
1.1.1.3   root     5203: 
1.1.1.10  root     5204: 
                   5205: else $as_nop
                   5206: 
                   5207:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5208: printf "%s\n" "no" >&6; }
                   5209: 
                   5210: fi
                   5211: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5212: 
                   5213: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
                   5214: printf %s "checking for __builtin_expect... " >&6; }
                   5215: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5216: /* end confdefs.h.  */
                   5217: 
                   5218: int
1.1.1.10  root     5219: main (void)
1.1.1.3   root     5220: {
                   5221: 
1.1.1.10  root     5222:                if (__builtin_expect(1, 1)) return 0;
                   5223: 
1.1.1.3   root     5224:   ;
                   5225:   return 0;
                   5226: }
                   5227: _ACEOF
1.1.1.10  root     5228: if ac_fn_cxx_try_compile "$LINENO"
                   5229: then :
1.1.1.3   root     5230: 
1.1.1.10  root     5231:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5232: printf "%s\n" "yes" >&6; }
                   5233:                printf "%s\n" "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
1.1.1.3   root     5234: 
1.1.1.10  root     5235: 
                   5236: else $as_nop
                   5237: 
                   5238:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5239: printf "%s\n" "no" >&6; }
                   5240: 
                   5241: fi
                   5242: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5243: 
                   5244: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5
                   5245: printf %s "checking for __builtin_unreachable... " >&6; }
                   5246: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5247: /* end confdefs.h.  */
                   5248: 
                   5249: int
1.1.1.10  root     5250: main (void)
1.1.1.3   root     5251: {
                   5252: 
1.1.1.10  root     5253:                __builtin_unreachable();
                   5254: 
1.1.1.3   root     5255:   ;
                   5256:   return 0;
                   5257: }
                   5258: _ACEOF
1.1.1.10  root     5259: if ac_fn_cxx_try_compile "$LINENO"
                   5260: then :
1.1.1.3   root     5261: 
1.1.1.10  root     5262:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5263: printf "%s\n" "yes" >&6; }
                   5264:                printf "%s\n" "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h
1.1.1.3   root     5265: 
                   5266: 
1.1.1.10  root     5267: else $as_nop
1.1.1.3   root     5268: 
1.1.1.10  root     5269:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5270: printf "%s\n" "no" >&6; }
1.1.1.3   root     5271: 
                   5272: fi
1.1.1.10  root     5273: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5274: 
1.1.1.10  root     5275: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5
                   5276: printf %s "checking for __attribute__((__fallthrough__))... " >&6; }
                   5277: old_CXXFLAGS="${CXXFLAGS}"
                   5278: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   5279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.3   root     5280: /* end confdefs.h.  */
                   5281: 
1.1.1.10  root     5282: int
                   5283: main (void)
                   5284: {
1.1.1.3   root     5285: 
1.1.1.10  root     5286:                extern int x;
                   5287:                switch (x) {
                   5288:                 case 0:
                   5289:                        __attribute__((__fallthrough__));
                   5290:                 case 1:
                   5291:                        break;
                   5292:                }
1.1.1.3   root     5293: 
1.1.1.10  root     5294:   ;
                   5295:   return 0;
                   5296: }
1.1.1.3   root     5297: _ACEOF
1.1.1.10  root     5298: if ac_fn_cxx_try_compile "$LINENO"
                   5299: then :
1.1.1.3   root     5300: 
1.1.1.10  root     5301:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5302: printf "%s\n" "yes" >&6; }
                   5303:                printf "%s\n" "#define HAVE___ATTRIBUTE_FALLTHROUGH 1" >>confdefs.h
1.1.1.3   root     5304: 
                   5305: 
1.1.1.10  root     5306: else $as_nop
                   5307: 
                   5308:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5309: printf "%s\n" "no" >&6; }
1.1.1.3   root     5310: 
                   5311: fi
1.1.1.10  root     5312: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5313: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5314: 
1.1.1.10  root     5315: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__format__))" >&5
                   5316: printf %s "checking for __attribute__((__format__))... " >&6; }
                   5317: old_CXXFLAGS="${CXXFLAGS}"
                   5318: CXXFLAGS="${CXXFLAGS} -Wall -Werror"
                   5319: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5320: /* end confdefs.h.  */
                   5321: 
                   5322:                extern int f(const char *f, ...)
                   5323:                        __attribute__((__format__(__printf__, 1, 2)));
1.1.1.3   root     5324: 
1.1.1.10  root     5325: int
                   5326: main (void)
                   5327: {
1.1.1.3   root     5328: 
1.1.1.10  root     5329:   ;
                   5330:   return 0;
                   5331: }
1.1.1.3   root     5332: _ACEOF
1.1.1.10  root     5333: if ac_fn_cxx_try_compile "$LINENO"
                   5334: then :
1.1.1.3   root     5335: 
1.1.1.10  root     5336:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5337: printf "%s\n" "yes" >&6; }
                   5338:                printf "%s\n" "#define HAVE___ATTRIBUTE_FORMAT 1" >>confdefs.h
1.1.1.3   root     5339: 
                   5340: 
1.1.1.10  root     5341: else $as_nop
1.1.1.3   root     5342: 
1.1.1.10  root     5343:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5344: printf "%s\n" "no" >&6; }
1.1.1.3   root     5345: 
1.1.1.10  root     5346: fi
                   5347: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5348: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5349: 
1.1.1.10  root     5350: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5
                   5351: printf %s "checking for __attribute__((no_sanitize))... " >&6; }
                   5352: old_CXXFLAGS="${CXXFLAGS}"
                   5353: CXXFLAGS="${CXXFLAGS} -Werror"
                   5354: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5355: /* end confdefs.h.  */
1.1.1.3   root     5356: 
1.1.1.10  root     5357:                __attribute__((no_sanitize("undefined")))
                   5358:                int func() { return 0; }
1.1.1.3   root     5359: 
1.1.1.10  root     5360: int
                   5361: main (void)
                   5362: {
1.1.1.3   root     5363: 
1.1.1.10  root     5364:   ;
                   5365:   return 0;
                   5366: }
1.1.1.3   root     5367: _ACEOF
1.1.1.10  root     5368: if ac_fn_cxx_try_compile "$LINENO"
                   5369: then :
1.1.1.3   root     5370: 
1.1.1.10  root     5371:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5372: printf "%s\n" "yes" >&6; }
                   5373:                printf "%s\n" "#define HAVE___ATTRIBUTE_NO_SANITIZE 1" >>confdefs.h
1.1.1.3   root     5374: 
                   5375: 
1.1.1.10  root     5376: else $as_nop
                   5377: 
                   5378:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5379: printf "%s\n" "no" >&6; }
1.1.1.3   root     5380: 
                   5381: fi
1.1.1.10  root     5382: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5383: CXXFLAGS="${old_CXXFLAGS}"
1.1.1.3   root     5384: 
                   5385: 
1.1.1.10  root     5386: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5
                   5387: printf %s "checking for __attribute__((__packed__))... " >&6; }
                   5388: old_CXXFLAGS="${CXXFLAGS}"
                   5389: CXXFLAGS="${CXXFLAGS} -Werror"
                   5390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5391: /* end confdefs.h.  */
1.1.1.3   root     5392: 
1.1.1.10  root     5393: int
                   5394: main (void)
                   5395: {
1.1.1.3   root     5396: 
1.1.1.10  root     5397:                struct x { char a; int b; } __attribute__((__packed__));
1.1.1.3   root     5398: 
1.1.1.10  root     5399:   ;
                   5400:   return 0;
                   5401: }
1.1.1.3   root     5402: _ACEOF
1.1.1.10  root     5403: if ac_fn_cxx_try_compile "$LINENO"
                   5404: then :
1.1.1.3   root     5405: 
1.1.1.10  root     5406:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5407: printf "%s\n" "yes" >&6; }
                   5408:                printf "%s\n" "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h
1.1.1.3   root     5409: 
                   5410: 
1.1.1.10  root     5411: else $as_nop
1.1       root     5412: 
1.1.1.10  root     5413:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5414: printf "%s\n" "no" >&6; }
1.1       root     5415: 
1.1.1.10  root     5416: fi
                   5417: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5418: CXXFLAGS="${old_CXXFLAGS}"
1.1       root     5419: 
1.1.1.10  root     5420: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5
                   5421: printf %s "checking for __attribute__((__unused__))... " >&6; }
                   5422: old_CXXFLAGS="${CXXFLAGS}"
                   5423: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror"
                   5424: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5425: /* end confdefs.h.  */
1.1       root     5426: 
1.1.1.10  root     5427: int
                   5428: main (void)
                   5429: {
1.1       root     5430: 
1.1.1.10  root     5431:                int a __attribute__((__unused__));
1.1       root     5432: 
1.1.1.10  root     5433:   ;
                   5434:   return 0;
                   5435: }
1.1       root     5436: _ACEOF
1.1.1.10  root     5437: if ac_fn_cxx_try_compile "$LINENO"
                   5438: then :
1.1       root     5439: 
1.1.1.10  root     5440:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5441: printf "%s\n" "yes" >&6; }
                   5442:                printf "%s\n" "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h
1.1       root     5443: 
                   5444: 
1.1.1.10  root     5445: else $as_nop
1.1       root     5446: 
1.1.1.10  root     5447:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5448: printf "%s\n" "no" >&6; }
1.1       root     5449: 
1.1.1.10  root     5450: fi
                   5451: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5452: CXXFLAGS="${old_CXXFLAGS}"
1.1       root     5453: 
1.1.1.10  root     5454: # Checks for library functions.
                   5455: #AC_FUNC_MALLOC
                   5456: #AC_FUNC_MMAP
1.1       root     5457: 
1.1.1.10  root     5458: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap16" >&5
                   5459: printf %s "checking for bswap16... " >&6; }
                   5460: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5461: /* end confdefs.h.  */
1.1       root     5462: 
1.1.1.10  root     5463:                #if defined(HAVE_SYS_ENDIAN_H)
                   5464:                #include <sys/endian.h>
                   5465:                #endif
1.1       root     5466: 
                   5467: int
1.1.1.10  root     5468: main (void)
1.1       root     5469: {
                   5470: 
1.1.1.10  root     5471:                bswap16(0);
1.1       root     5472: 
                   5473:   ;
                   5474:   return 0;
                   5475: }
                   5476: _ACEOF
1.1.1.10  root     5477: if ac_fn_cxx_try_compile "$LINENO"
                   5478: then :
1.1       root     5479: 
1.1.1.10  root     5480:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5481: printf "%s\n" "yes" >&6; }
                   5482:                printf "%s\n" "#define HAVE_BSWAP16 1" >>confdefs.h
1.1       root     5483: 
                   5484: 
1.1.1.10  root     5485: else $as_nop
1.1       root     5486: 
1.1.1.10  root     5487:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5488: printf "%s\n" "no" >&6; }
1.1       root     5489: 
1.1.1.10  root     5490: fi
                   5491: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5492: 
1.1.1.10  root     5493: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap32" >&5
                   5494: printf %s "checking for bswap32... " >&6; }
1.1       root     5495: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5496: /* end confdefs.h.  */
                   5497: 
1.1.1.10  root     5498:                #if defined(HAVE_SYS_ENDIAN_H)
                   5499:                #include <sys/endian.h>
                   5500:                #endif
                   5501: 
1.1       root     5502: int
1.1.1.10  root     5503: main (void)
1.1       root     5504: {
                   5505: 
1.1.1.10  root     5506:                bswap32(0);
1.1       root     5507: 
                   5508:   ;
                   5509:   return 0;
                   5510: }
                   5511: _ACEOF
1.1.1.10  root     5512: if ac_fn_cxx_try_compile "$LINENO"
                   5513: then :
                   5514: 
                   5515:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5516: printf "%s\n" "yes" >&6; }
                   5517:                printf "%s\n" "#define HAVE_BSWAP32 1" >>confdefs.h
                   5518: 
                   5519: 
                   5520: else $as_nop
                   5521: 
                   5522:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5523: printf "%s\n" "no" >&6; }
1.1       root     5524: 
                   5525: fi
1.1.1.10  root     5526: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5527: 
1.1.1.10  root     5528: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap64" >&5
                   5529: printf %s "checking for bswap64... " >&6; }
1.1       root     5530: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5531: /* end confdefs.h.  */
                   5532: 
1.1.1.10  root     5533:                #if defined(HAVE_SYS_ENDIAN_H)
                   5534:                #include <sys/endian.h>
                   5535:                #endif
                   5536: 
1.1       root     5537: int
1.1.1.10  root     5538: main (void)
1.1       root     5539: {
                   5540: 
1.1.1.10  root     5541:                bswap64(0);
1.1       root     5542: 
                   5543:   ;
                   5544:   return 0;
                   5545: }
                   5546: _ACEOF
1.1.1.10  root     5547: if ac_fn_cxx_try_compile "$LINENO"
                   5548: then :
                   5549: 
                   5550:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5551: printf "%s\n" "yes" >&6; }
                   5552:                printf "%s\n" "#define HAVE_BSWAP64 1" >>confdefs.h
                   5553: 
                   5554: 
                   5555: else $as_nop
                   5556: 
                   5557:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5558: printf "%s\n" "no" >&6; }
1.1       root     5559: 
                   5560: fi
1.1.1.10  root     5561: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5562: 
1.1.1.10  root     5563: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_16" >&5
                   5564: printf %s "checking for bswap_16... " >&6; }
1.1       root     5565: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5566: /* end confdefs.h.  */
                   5567: 
1.1.1.10  root     5568:                #if defined(HAVE_BYTESWAP_H)
                   5569:                #include <byteswap.h>
                   5570:                #endif
                   5571: 
1.1       root     5572: int
1.1.1.10  root     5573: main (void)
1.1       root     5574: {
                   5575: 
1.1.1.10  root     5576:                bswap_16(0);
1.1       root     5577: 
                   5578:   ;
                   5579:   return 0;
                   5580: }
                   5581: _ACEOF
1.1.1.10  root     5582: if ac_fn_cxx_try_compile "$LINENO"
                   5583: then :
                   5584: 
                   5585:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5586: printf "%s\n" "yes" >&6; }
                   5587:                printf "%s\n" "#define HAVE_BSWAP_16 1" >>confdefs.h
                   5588: 
                   5589: 
                   5590: else $as_nop
                   5591: 
                   5592:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5593: printf "%s\n" "no" >&6; }
1.1       root     5594: 
                   5595: fi
1.1.1.10  root     5596: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5597: 
1.1.1.10  root     5598: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_32" >&5
                   5599: printf %s "checking for bswap_32... " >&6; }
1.1.1.2   root     5600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5601: /* end confdefs.h.  */
                   5602: 
1.1.1.10  root     5603:                #if defined(HAVE_BYTESWAP_H)
                   5604:                #include <byteswap.h>
                   5605:                #endif
                   5606: 
1.1.1.2   root     5607: int
1.1.1.10  root     5608: main (void)
1.1.1.2   root     5609: {
                   5610: 
1.1.1.10  root     5611:                bswap_32(0);
1.1.1.2   root     5612: 
                   5613:   ;
                   5614:   return 0;
                   5615: }
                   5616: _ACEOF
1.1.1.10  root     5617: if ac_fn_cxx_try_compile "$LINENO"
                   5618: then :
                   5619: 
                   5620:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5621: printf "%s\n" "yes" >&6; }
                   5622:                printf "%s\n" "#define HAVE_BSWAP_32 1" >>confdefs.h
                   5623: 
                   5624: 
                   5625: else $as_nop
                   5626: 
                   5627:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5628: printf "%s\n" "no" >&6; }
1.1.1.2   root     5629: 
                   5630: fi
1.1.1.10  root     5631: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.2   root     5632: 
1.1.1.10  root     5633: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bswap_64" >&5
                   5634: printf %s "checking for bswap_64... " >&6; }
1.1       root     5635: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5636: /* end confdefs.h.  */
                   5637: 
1.1.1.10  root     5638:                #if defined(HAVE_BYTESWAP_H)
                   5639:                #include <byteswap.h>
                   5640:                #endif
                   5641: 
1.1       root     5642: int
1.1.1.10  root     5643: main (void)
1.1       root     5644: {
                   5645: 
1.1.1.10  root     5646:                bswap_64(0);
1.1       root     5647: 
                   5648:   ;
                   5649:   return 0;
                   5650: }
                   5651: _ACEOF
1.1.1.10  root     5652: if ac_fn_cxx_try_compile "$LINENO"
                   5653: then :
                   5654: 
                   5655:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5656: printf "%s\n" "yes" >&6; }
                   5657:                printf "%s\n" "#define HAVE_BSWAP_64 1" >>confdefs.h
                   5658: 
                   5659: 
                   5660: else $as_nop
                   5661: 
                   5662:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5663: printf "%s\n" "no" >&6; }
1.1       root     5664: 
                   5665: fi
1.1.1.10  root     5666: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5667: 
1.1.1.10  root     5668: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap16" >&5
                   5669: printf %s "checking for swap16... " >&6; }
1.1       root     5670: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5671: /* end confdefs.h.  */
                   5672: 
1.1.1.10  root     5673:                #if defined(HAVE_SYS_ENDIAN_H)
                   5674:                #include <sys/endian.h>
                   5675:                #endif
                   5676: 
1.1       root     5677: int
1.1.1.10  root     5678: main (void)
1.1       root     5679: {
                   5680: 
1.1.1.10  root     5681:                swap16(0);
1.1       root     5682: 
                   5683:   ;
                   5684:   return 0;
                   5685: }
                   5686: _ACEOF
1.1.1.10  root     5687: if ac_fn_cxx_try_compile "$LINENO"
                   5688: then :
                   5689: 
                   5690:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5691: printf "%s\n" "yes" >&6; }
                   5692:                printf "%s\n" "#define HAVE_SWAP16 1" >>confdefs.h
                   5693: 
                   5694: 
                   5695: else $as_nop
                   5696: 
                   5697:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5698: printf "%s\n" "no" >&6; }
1.1       root     5699: 
                   5700: fi
1.1.1.10  root     5701: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5702: 
1.1.1.10  root     5703: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap32" >&5
                   5704: printf %s "checking for swap32... " >&6; }
1.1       root     5705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5706: /* end confdefs.h.  */
                   5707: 
1.1.1.10  root     5708:                #if defined(HAVE_SYS_ENDIAN_H)
                   5709:                #include <sys/endian.h>
                   5710:                #endif
                   5711: 
1.1       root     5712: int
1.1.1.10  root     5713: main (void)
1.1       root     5714: {
                   5715: 
1.1.1.10  root     5716:                swap32(0);
1.1       root     5717: 
                   5718:   ;
                   5719:   return 0;
                   5720: }
                   5721: _ACEOF
1.1.1.10  root     5722: if ac_fn_cxx_try_compile "$LINENO"
                   5723: then :
                   5724: 
                   5725:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5726: printf "%s\n" "yes" >&6; }
                   5727:                printf "%s\n" "#define HAVE_SWAP32 1" >>confdefs.h
                   5728: 
                   5729: 
                   5730: else $as_nop
                   5731: 
                   5732:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5733: printf "%s\n" "no" >&6; }
1.1       root     5734: 
                   5735: fi
1.1.1.10  root     5736: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5737: 
1.1.1.10  root     5738: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for swap64" >&5
                   5739: printf %s "checking for swap64... " >&6; }
1.1       root     5740: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5741: /* end confdefs.h.  */
                   5742: 
1.1.1.10  root     5743:                #if defined(HAVE_SYS_ENDIAN_H)
                   5744:                #include <sys/endian.h>
                   5745:                #endif
1.1       root     5746: 
                   5747: int
1.1.1.10  root     5748: main (void)
1.1       root     5749: {
                   5750: 
1.1.1.10  root     5751:                swap64(0);
1.1       root     5752: 
                   5753:   ;
                   5754:   return 0;
                   5755: }
                   5756: _ACEOF
1.1.1.10  root     5757: if ac_fn_cxx_try_compile "$LINENO"
                   5758: then :
                   5759: 
                   5760:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5761: printf "%s\n" "yes" >&6; }
                   5762:                printf "%s\n" "#define HAVE_SWAP64 1" >>confdefs.h
                   5763: 
                   5764: 
                   5765: else $as_nop
                   5766: 
                   5767:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5768: printf "%s\n" "no" >&6; }
1.1       root     5769: 
                   5770: fi
1.1.1.10  root     5771: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5772: 
1.1.1.10  root     5773: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe16" >&5
                   5774: printf %s "checking for htobe16... " >&6; }
1.1       root     5775: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5776: /* end confdefs.h.  */
                   5777: 
1.1.1.10  root     5778:                #if defined(HAVE_ENDIAN_H)
                   5779:                #include <endian.h>
                   5780:                #endif
                   5781:                #if defined(HAVE_SYS_ENDIAN_H)
                   5782:                #include <sys/endian.h>
                   5783:                #endif
                   5784:                #if defined(HAVE_MACHINE_ENDIAN_H)
                   5785:                #include <machine/endian.h>
                   5786:                #endif
1.1       root     5787: 
                   5788: int
1.1.1.10  root     5789: main (void)
1.1       root     5790: {
                   5791: 
1.1.1.10  root     5792:                htobe16(0);
1.1       root     5793: 
                   5794:   ;
                   5795:   return 0;
                   5796: }
                   5797: _ACEOF
1.1.1.10  root     5798: if ac_fn_cxx_try_compile "$LINENO"
                   5799: then :
1.1       root     5800: 
1.1.1.10  root     5801:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5802: printf "%s\n" "yes" >&6; }
                   5803:                printf "%s\n" "#define HAVE_HTOBE16 1" >>confdefs.h
1.1       root     5804: 
                   5805: 
1.1.1.10  root     5806: else $as_nop
                   5807: 
                   5808:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5809: printf "%s\n" "no" >&6; }
                   5810: 
                   5811: fi
                   5812: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5813: 
                   5814: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_getname_np" >&5
                   5815: printf %s "checking for pthread_getname_np... " >&6; }
1.1       root     5816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5817: /* end confdefs.h.  */
                   5818: 
1.1.1.10  root     5819:                #include <pthread.h>
                   5820:                #if defined(HAVE_PTHREAD_NP_H)
                   5821:                #include <pthread_np.h>
                   5822:                #endif
                   5823: 
1.1       root     5824: int
1.1.1.10  root     5825: main (void)
1.1       root     5826: {
                   5827: 
1.1.1.10  root     5828:                char name[32];
                   5829:                pthread_getname_np(pthread_self(), name, sizeof(name));
1.1       root     5830: 
                   5831:   ;
                   5832:   return 0;
                   5833: }
                   5834: _ACEOF
1.1.1.10  root     5835: if ac_fn_cxx_try_compile "$LINENO"
                   5836: then :
                   5837: 
                   5838:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5839: printf "%s\n" "yes" >&6; }
                   5840:                printf "%s\n" "#define HAVE_PTHREAD_GETNAME_NP 1" >>confdefs.h
                   5841: 
                   5842: 
                   5843: else $as_nop
                   5844: 
                   5845:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5846: printf "%s\n" "no" >&6; }
1.1       root     5847: 
                   5848: fi
1.1.1.10  root     5849: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5850: 
1.1.1.10  root     5851: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_get_name_np" >&5
                   5852: printf %s "checking for pthread_get_name_np... " >&6; }
1.1       root     5853: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5854: /* end confdefs.h.  */
                   5855: 
1.1.1.10  root     5856:                #include <pthread.h>
                   5857:                #if defined(HAVE_PTHREAD_NP_H)
                   5858:                #include <pthread_np.h>
                   5859:                #endif
                   5860: 
1.1       root     5861: int
1.1.1.10  root     5862: main (void)
1.1       root     5863: {
                   5864: 
1.1.1.10  root     5865:                char name[32];
                   5866:                pthread_get_name_np(pthread_self(), name, sizeof(name));
1.1       root     5867: 
                   5868:   ;
                   5869:   return 0;
                   5870: }
                   5871: _ACEOF
1.1.1.10  root     5872: if ac_fn_cxx_try_compile "$LINENO"
                   5873: then :
1.1       root     5874: 
1.1.1.10  root     5875:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5876: printf "%s\n" "yes" >&6; }
                   5877:                printf "%s\n" "#define HAVE_PTHREAD_GET_NAME_NP 1" >>confdefs.h
1.1       root     5878: 
                   5879: 
1.1.1.10  root     5880: else $as_nop
                   5881: 
                   5882:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5883: printf "%s\n" "no" >&6; }
                   5884: 
                   5885: fi
                   5886: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5887: 
                   5888: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5
                   5889: printf %s "checking for pthread_setname_np(name)... " >&6; }
1.1       root     5890: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5891: /* end confdefs.h.  */
1.1.1.3   root     5892: 
                   5893:                #include <pthread.h>
                   5894:                #if defined(HAVE_PTHREAD_NP_H)
                   5895:                #include <pthread_np.h>
                   5896:                #endif
                   5897: 
1.1       root     5898: int
1.1.1.10  root     5899: main (void)
1.1       root     5900: {
                   5901: 
                   5902:                pthread_setname_np("");
                   5903: 
                   5904:   ;
                   5905:   return 0;
                   5906: }
                   5907: _ACEOF
1.1.1.10  root     5908: if ac_fn_cxx_try_compile "$LINENO"
                   5909: then :
                   5910: 
                   5911:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5912: printf "%s\n" "yes" >&6; }
                   5913:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_name 1" >>confdefs.h
                   5914: 
                   5915: 
                   5916: else $as_nop
                   5917: 
                   5918:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5919: printf "%s\n" "no" >&6; }
1.1       root     5920: 
                   5921: fi
1.1.1.10  root     5922: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5923: 
1.1.1.10  root     5924: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5
                   5925: printf %s "checking for pthread_setname_np(thread, name)... " >&6; }
1.1       root     5926: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5927: /* end confdefs.h.  */
1.1.1.3   root     5928: 
                   5929:                #include <pthread.h>
                   5930:                #if defined(HAVE_PTHREAD_NP_H)
                   5931:                #include <pthread_np.h>
                   5932:                #endif
                   5933: 
1.1       root     5934: int
1.1.1.10  root     5935: main (void)
1.1       root     5936: {
                   5937: 
                   5938:                pthread_setname_np(pthread_self(), "");
                   5939: 
                   5940:   ;
                   5941:   return 0;
                   5942: }
                   5943: _ACEOF
1.1.1.10  root     5944: if ac_fn_cxx_try_compile "$LINENO"
                   5945: then :
                   5946: 
                   5947:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5948: printf "%s\n" "yes" >&6; }
                   5949:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name 1" >>confdefs.h
                   5950: 
                   5951: 
                   5952: else $as_nop
                   5953: 
                   5954:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5955: printf "%s\n" "no" >&6; }
1.1       root     5956: 
                   5957: fi
1.1.1.10  root     5958: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     5959: 
1.1.1.10  root     5960: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5
                   5961: printf %s "checking for pthread_setname_np(thread, name, arg)... " >&6; }
1.1       root     5962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5963: /* end confdefs.h.  */
1.1.1.3   root     5964: 
                   5965:                #include <pthread.h>
                   5966:                #if defined(HAVE_PTHREAD_NP_H)
                   5967:                #include <pthread_np.h>
                   5968:                #endif
                   5969: 
1.1       root     5970: int
1.1.1.10  root     5971: main (void)
1.1       root     5972: {
                   5973: 
                   5974:                pthread_setname_np(pthread_self(), "", (void*)0);
                   5975: 
                   5976:   ;
                   5977:   return 0;
                   5978: }
                   5979: _ACEOF
1.1.1.10  root     5980: if ac_fn_cxx_try_compile "$LINENO"
                   5981: then :
                   5982: 
                   5983:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5984: printf "%s\n" "yes" >&6; }
                   5985:                printf "%s\n" "#define HAVE_PTHREAD_SETNAME_NP_th_name_arg 1" >>confdefs.h
                   5986: 
                   5987: 
                   5988: else $as_nop
                   5989: 
                   5990:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5991: printf "%s\n" "no" >&6; }
1.1.1.3   root     5992: 
                   5993: fi
1.1.1.10  root     5994: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.3   root     5995: 
1.1.1.10  root     5996: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_set_name_np(thread, name)" >&5
                   5997: printf %s "checking for pthread_set_name_np(thread, name)... " >&6; }
1.1.1.3   root     5998: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5999: /* end confdefs.h.  */
                   6000: 
                   6001:                #include <pthread.h>
                   6002:                #if defined(HAVE_PTHREAD_NP_H)
                   6003:                #include <pthread_np.h>
                   6004:                #endif
                   6005: 
                   6006: int
1.1.1.10  root     6007: main (void)
1.1.1.3   root     6008: {
                   6009: 
                   6010:                pthread_set_name_np(pthread_self(), "");
                   6011: 
                   6012:   ;
                   6013:   return 0;
                   6014: }
                   6015: _ACEOF
1.1.1.10  root     6016: if ac_fn_cxx_try_compile "$LINENO"
                   6017: then :
                   6018: 
                   6019:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6020: printf "%s\n" "yes" >&6; }
                   6021:                printf "%s\n" "#define HAVE_PTHREAD_SET_NAME_NP_th_name 1" >>confdefs.h
                   6022: 
                   6023: 
                   6024: else $as_nop
                   6025: 
                   6026:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6027: printf "%s\n" "no" >&6; }
1.1       root     6028: 
                   6029: fi
1.1.1.10  root     6030: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6031: 
1.1.1.10  root     6032: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv const" >&5
                   6033: printf %s "checking for iconv const... " >&6; }
1.1.1.6   root     6034: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6035: /* end confdefs.h.  */
                   6036: 
                   6037:                #include <iconv.h>
                   6038: 
                   6039: int
1.1.1.10  root     6040: main (void)
1.1.1.6   root     6041: {
                   6042: 
                   6043:                const char **a;
                   6044:                iconv(0, a, 0, 0, 0);
                   6045: 
                   6046:   ;
                   6047:   return 0;
                   6048: }
                   6049: _ACEOF
1.1.1.10  root     6050: if ac_fn_cxx_try_compile "$LINENO"
                   6051: then :
                   6052: 
                   6053:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6054: printf "%s\n" "yes" >&6; }
                   6055:                printf "%s\n" "#define HAVE_ICONV_CONST 1" >>confdefs.h
                   6056: 
                   6057: 
                   6058: else $as_nop
                   6059: 
                   6060:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6061: printf "%s\n" "no" >&6; }
1.1.1.6   root     6062: 
                   6063: fi
1.1.1.10  root     6064: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.6   root     6065: 
1.1.1.8   root     6066: #
                   6067: # Network
                   6068: #
1.1.1.10  root     6069: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AF_PACKET" >&5
                   6070: printf %s "checking for AF_PACKET... " >&6; }
1.1.1.8   root     6071: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6072: /* end confdefs.h.  */
                   6073: 
                   6074:                #include <sys/socket.h>
                   6075: 
                   6076: int
1.1.1.10  root     6077: main (void)
1.1.1.8   root     6078: {
                   6079: 
                   6080:                AF_PACKET;
                   6081: 
                   6082:   ;
                   6083:   return 0;
                   6084: }
                   6085: _ACEOF
1.1.1.10  root     6086: if ac_fn_cxx_try_compile "$LINENO"
                   6087: then :
                   6088: 
                   6089:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6090: printf "%s\n" "yes" >&6; }
                   6091:                printf "%s\n" "#define HAVE_HOSTNET_AFPACKET 1" >>confdefs.h
1.1.1.8   root     6092: 
                   6093:                HOSTNET_AFPACKET=yes
                   6094: 
1.1.1.10  root     6095: 
                   6096: else $as_nop
                   6097: 
                   6098:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6099: printf "%s\n" "no" >&6; }
                   6100: 
1.1.1.8   root     6101: fi
1.1.1.10  root     6102: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1.1.8   root     6103: 
1.1.1.10  root     6104: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tap(4)" >&5
                   6105: printf %s "checking for tap(4)... " >&6; }
1.1.1.6   root     6106: case "${host_os}" in
                   6107:  linux*)
                   6108:        if test x"$ac_cv_header_linux_if_tun_h" = xyes; then
1.1.1.8   root     6109:                netdriver_tap=yes
1.1.1.6   root     6110:        fi
                   6111:        ;;
                   6112:  openbsd*)
                   6113:        # OpenBSD has no <net/if_tap.h> but supports tap(4).
1.1.1.8   root     6114:        netdriver_tap=yes
1.1.1.6   root     6115:        ;;
1.1.1.8   root     6116:  *)
1.1.1.6   root     6117:        if test x"$ac_cv_header_net_if_tap_h" = xyes; then
1.1.1.8   root     6118:                netdriver_tap=yes
1.1.1.6   root     6119:        fi
1.1.1.8   root     6120:        ;;
                   6121: esac
                   6122: if test x"$netdriver_tap" = xyes; then
1.1.1.10  root     6123:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6124: printf "%s\n" "yes" >&6; }
                   6125:        printf "%s\n" "#define HAVE_HOSTNET_TAP 1" >>confdefs.h
1.1.1.8   root     6126: 
                   6127:        HOSTNET_TAP=yes
                   6128: 
                   6129: else
1.1.1.10  root     6130:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6131: printf "%s\n" "no" >&6; }
1.1       root     6132: fi
                   6133: 
1.1.1.10  root     6134: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bpf(4)" >&5
                   6135: printf %s "checking for bpf(4)... " >&6; }
1.1.1.8   root     6136: if test x"$ac_cv_header_net_bpf_h" = xyes; then
1.1.1.10  root     6137:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6138: printf "%s\n" "yes" >&6; }
                   6139:        printf "%s\n" "#define HAVE_HOSTNET_BPF 1" >>confdefs.h
1.1.1.8   root     6140: 
                   6141:        HOSTNET_BPF=yes
                   6142: 
                   6143: else
1.1.1.10  root     6144:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6145: printf "%s\n" "no" >&6; }
1.1.1.8   root     6146: fi
1.1       root     6147: 
                   6148: # libbsd on Linux
1.1.1.10  root     6149: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lc" >&5
                   6150: printf %s "checking for getprogname in -lc... " >&6; }
                   6151: if test ${ac_cv_lib_c_getprogname+y}
                   6152: then :
                   6153:   printf %s "(cached) " >&6
                   6154: else $as_nop
1.1.1.5   root     6155:   ac_check_lib_save_LIBS=$LIBS
                   6156: LIBS="-lc  $LIBS"
                   6157: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6158: /* end confdefs.h.  */
                   6159: 
1.1.1.10  root     6160: namespace conftest {
                   6161:   extern "C" int getprogname ();
                   6162: }
1.1.1.5   root     6163: int
1.1.1.10  root     6164: main (void)
1.1.1.5   root     6165: {
1.1.1.10  root     6166: return conftest::getprogname ();
1.1.1.5   root     6167:   ;
                   6168:   return 0;
                   6169: }
                   6170: _ACEOF
1.1.1.10  root     6171: if ac_fn_cxx_try_link "$LINENO"
                   6172: then :
1.1.1.5   root     6173:   ac_cv_lib_c_getprogname=yes
1.1.1.10  root     6174: else $as_nop
1.1.1.5   root     6175:   ac_cv_lib_c_getprogname=no
                   6176: fi
1.1.1.10  root     6177: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     6178:     conftest$ac_exeext conftest.$ac_ext
                   6179: LIBS=$ac_check_lib_save_LIBS
                   6180: fi
1.1.1.10  root     6181: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getprogname" >&5
                   6182: printf "%s\n" "$ac_cv_lib_c_getprogname" >&6; }
                   6183: if test "x$ac_cv_lib_c_getprogname" = xyes
                   6184: then :
                   6185:   printf "%s\n" "#define HAVE_LIBC 1" >>confdefs.h
1.1.1.5   root     6186: 
                   6187:   LIBS="-lc $LIBS"
                   6188: 
                   6189: fi
                   6190: 
1.1.1.10  root     6191: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5
                   6192: printf %s "checking for getprogname in -lbsd... " >&6; }
                   6193: if test ${ac_cv_lib_bsd_getprogname+y}
                   6194: then :
                   6195:   printf %s "(cached) " >&6
                   6196: else $as_nop
1.1       root     6197:   ac_check_lib_save_LIBS=$LIBS
                   6198: LIBS="-lbsd  $LIBS"
                   6199: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6200: /* end confdefs.h.  */
                   6201: 
1.1.1.10  root     6202: namespace conftest {
                   6203:   extern "C" int getprogname ();
                   6204: }
1.1       root     6205: int
1.1.1.10  root     6206: main (void)
1.1       root     6207: {
1.1.1.10  root     6208: return conftest::getprogname ();
1.1       root     6209:   ;
                   6210:   return 0;
                   6211: }
                   6212: _ACEOF
1.1.1.10  root     6213: if ac_fn_cxx_try_link "$LINENO"
                   6214: then :
1.1       root     6215:   ac_cv_lib_bsd_getprogname=yes
1.1.1.10  root     6216: else $as_nop
1.1       root     6217:   ac_cv_lib_bsd_getprogname=no
                   6218: fi
1.1.1.10  root     6219: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     6220:     conftest$ac_exeext conftest.$ac_ext
                   6221: LIBS=$ac_check_lib_save_LIBS
                   6222: fi
1.1.1.10  root     6223: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5
                   6224: printf "%s\n" "$ac_cv_lib_bsd_getprogname" >&6; }
                   6225: if test "x$ac_cv_lib_bsd_getprogname" = xyes
                   6226: then :
1.1.1.6   root     6227:   LIBS="${LIBS} -lbsd"
1.1       root     6228: 
                   6229: fi
                   6230: 
1.1.1.5   root     6231: # なければ停止する
                   6232: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6233: /* end confdefs.h.  */
                   6234: 
                   6235:                #include <stdlib.h>
                   6236:                #include "confdefs.h"
                   6237:                #if defined(HAVE_BSD_BSD_H)
                   6238:                #include <bsd/bsd.h>
                   6239:                #endif
                   6240: 
                   6241: int
1.1.1.10  root     6242: main (void)
1.1.1.5   root     6243: {
                   6244: 
                   6245:                getprogname()
                   6246: 
                   6247:   ;
                   6248:   return 0;
                   6249: }
                   6250: _ACEOF
1.1.1.10  root     6251: if ac_fn_cxx_try_compile "$LINENO"
                   6252: then :
1.1.1.5   root     6253: 
1.1.1.10  root     6254:        # nothing to do on success
                   6255: 
                   6256: else $as_nop
                   6257: 
                   6258:                as_fn_error $? "*** getprogname is not found.
1.1.1.7   root     6259: *** If you use Ubuntu, sudo apt install libbsd-dev" "$LINENO" 5
1.1.1.5   root     6260: 
                   6261: 
                   6262: fi
1.1.1.10  root     6263: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       root     6264: 
1.1.1.2   root     6265: # libedit (editline)
                   6266: if test x"$ac_cv_header_histedit_h" = xyes; then
1.1.1.6   root     6267:        LIBS="${LIBS} -ledit -ltermcap"
1.1.1.2   root     6268: fi
                   6269: 
1.1       root     6270: # libkqueue on Linux
1.1.1.10  root     6271: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5
                   6272: printf %s "checking for kqueue in -lkqueue... " >&6; }
                   6273: if test ${ac_cv_lib_kqueue_kqueue+y}
                   6274: then :
                   6275:   printf %s "(cached) " >&6
                   6276: else $as_nop
1.1       root     6277:   ac_check_lib_save_LIBS=$LIBS
                   6278: LIBS="-lkqueue  $LIBS"
                   6279: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6280: /* end confdefs.h.  */
                   6281: 
1.1.1.10  root     6282: namespace conftest {
                   6283:   extern "C" int kqueue ();
                   6284: }
1.1       root     6285: int
1.1.1.10  root     6286: main (void)
1.1       root     6287: {
1.1.1.10  root     6288: return conftest::kqueue ();
1.1       root     6289:   ;
                   6290:   return 0;
                   6291: }
                   6292: _ACEOF
1.1.1.10  root     6293: if ac_fn_cxx_try_link "$LINENO"
                   6294: then :
1.1       root     6295:   ac_cv_lib_kqueue_kqueue=yes
1.1.1.10  root     6296: else $as_nop
1.1       root     6297:   ac_cv_lib_kqueue_kqueue=no
                   6298: fi
1.1.1.10  root     6299: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1       root     6300:     conftest$ac_exeext conftest.$ac_ext
                   6301: LIBS=$ac_check_lib_save_LIBS
                   6302: fi
1.1.1.10  root     6303: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5
                   6304: printf "%s\n" "$ac_cv_lib_kqueue_kqueue" >&6; }
                   6305: if test "x$ac_cv_lib_kqueue_kqueue" = xyes
                   6306: then :
1.1.1.6   root     6307:   LIBS="${LIBS} -lkqueue"
1.1       root     6308: 
                   6309: fi
                   6310: 
                   6311: 
1.1.1.10  root     6312: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
                   6313: printf %s "checking for gzclose in -lz... " >&6; }
                   6314: if test ${ac_cv_lib_z_gzclose+y}
                   6315: then :
                   6316:   printf %s "(cached) " >&6
                   6317: else $as_nop
1.1.1.5   root     6318:   ac_check_lib_save_LIBS=$LIBS
                   6319: LIBS="-lz  $LIBS"
                   6320: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6321: /* end confdefs.h.  */
                   6322: 
1.1.1.10  root     6323: namespace conftest {
                   6324:   extern "C" int gzclose ();
                   6325: }
1.1.1.5   root     6326: int
1.1.1.10  root     6327: main (void)
1.1.1.5   root     6328: {
1.1.1.10  root     6329: return conftest::gzclose ();
1.1.1.5   root     6330:   ;
                   6331:   return 0;
                   6332: }
                   6333: _ACEOF
1.1.1.10  root     6334: if ac_fn_cxx_try_link "$LINENO"
                   6335: then :
1.1.1.5   root     6336:   ac_cv_lib_z_gzclose=yes
1.1.1.10  root     6337: else $as_nop
1.1.1.5   root     6338:   ac_cv_lib_z_gzclose=no
                   6339: fi
1.1.1.10  root     6340: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.1.1.5   root     6341:     conftest$ac_exeext conftest.$ac_ext
                   6342: LIBS=$ac_check_lib_save_LIBS
                   6343: fi
1.1.1.10  root     6344: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
                   6345: printf "%s\n" "$ac_cv_lib_z_gzclose" >&6; }
                   6346: if test "x$ac_cv_lib_z_gzclose" = xyes
                   6347: then :
1.1.1.6   root     6348:   LIBS="${LIBS} -lz"
1.1.1.10  root     6349: else $as_nop
1.1.1.5   root     6350:   as_fn_error $? "*** zlib is not found.
1.1.1.7   root     6351: *** If use use Ubuntu, sudo apt install zlib1g-dev" "$LINENO" 5
1.1.1.5   root     6352: 
                   6353: fi
                   6354: 
                   6355: 
1.1       root     6356: # wxWidgets
1.1.1.10  root     6357: 
                   6358: # Check whether --with-gui was given.
                   6359: if test ${with_gui+y}
                   6360: then :
                   6361:   withval=$with_gui;
                   6362: else $as_nop
                   6363:   with_gui=yes
                   6364: fi
                   6365: 
                   6366: 
                   6367: if test "x$with_gui" != xno
                   6368: then :
                   6369: 
                   6370:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
                   6371: printf %s "checking for wx-config... " >&6; }
                   6372:        wxconfig_paths="${WX_CONFIG} wx-config-3.0 wx-config"
                   6373:        wxconfig=""
                   6374:        for c in ${wxconfig_paths}; do
                   6375:                ver=`$c --version 2>&1 | cut -f 1 -d .`
                   6376:                if test "$ver" = "3"; then
                   6377:                        wxconfig=$c
                   6378:                        break
                   6379:                fi
                   6380:        done
                   6381:        if test -z "$wxconfig"; then
                   6382:                as_fn_error $? "*** wxWidgets-3.0 not found in ${wxconfig_paths}
1.1.1.7   root     6383: *** If you use pkgsrc, install x11/wxGTK30.
                   6384: *** If you use Ubuntu, sudo apt install libwxgtk3.0-gtk3-dev" "$LINENO" 5
1.1.1.10  root     6385:        else
                   6386:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5
                   6387: printf "%s\n" "$wxconfig" >&6; }
1.1       root     6388: 
1.1.1.10  root     6389:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5
                   6390: printf %s "checking for wxWidgets version... " >&6; }
                   6391:                wxversion=`$wxconfig --version`
                   6392:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5
                   6393: printf "%s\n" "$wxversion" >&6; }
                   6394: 
                   6395:                wxcppflags=`$wxconfig --cppflags`
                   6396:                wxlibs=`$wxconfig --libs`
                   6397: 
                   6398:                case "${host_os}" in
                   6399:                 netbsd*)
                   6400:                        # rpath。どうしたもんだかこれ
                   6401:                        wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'`
                   6402:                        ;;
                   6403: 
                   6404:                 darwin*)
                   6405:                        # XXX -framework AudioToolbox が指定されているとリンカがこけるorz
                   6406:                        wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'`
                   6407:                        ;;
                   6408:                esac
1.1       root     6409: 
1.1.1.10  root     6410:                WITH_GUI=yes
1.1       root     6411: 
1.1.1.10  root     6412:                WXWIDGETS_CPPFLAGS=$wxcppflags
1.1       root     6413: 
1.1.1.10  root     6414:                WXWIDGETS_LIBS=$wxlibs
1.1       root     6415: 
1.1.1.10  root     6416:        fi
                   6417: 
                   6418:        # gettext
                   6419:        if test -n "$ac_tool_prefix"; then
1.1.1.5   root     6420:   # Extract the first word of "${ac_tool_prefix}msgfmt", so it can be a program name with args.
                   6421: set dummy ${ac_tool_prefix}msgfmt; ac_word=$2
1.1.1.10  root     6422: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6423: printf %s "checking for $ac_word... " >&6; }
                   6424: if test ${ac_cv_prog_MSGFMT+y}
                   6425: then :
                   6426:   printf %s "(cached) " >&6
                   6427: else $as_nop
1.1.1.5   root     6428:   if test -n "$MSGFMT"; then
                   6429:   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
                   6430: else
                   6431: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6432: for as_dir in $PATH
                   6433: do
                   6434:   IFS=$as_save_IFS
1.1.1.10  root     6435:   case $as_dir in #(((
                   6436:     '') as_dir=./ ;;
                   6437:     */) ;;
                   6438:     *) as_dir=$as_dir/ ;;
                   6439:   esac
1.1.1.5   root     6440:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     6441:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     6442:     ac_cv_prog_MSGFMT="${ac_tool_prefix}msgfmt"
1.1.1.10  root     6443:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     6444:     break 2
                   6445:   fi
                   6446: done
                   6447:   done
                   6448: IFS=$as_save_IFS
                   6449: 
                   6450: fi
                   6451: fi
                   6452: MSGFMT=$ac_cv_prog_MSGFMT
                   6453: if test -n "$MSGFMT"; then
1.1.1.10  root     6454:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
                   6455: printf "%s\n" "$MSGFMT" >&6; }
1.1.1.5   root     6456: else
1.1.1.10  root     6457:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6458: printf "%s\n" "no" >&6; }
1.1.1.5   root     6459: fi
                   6460: 
                   6461: 
                   6462: fi
                   6463: if test -z "$ac_cv_prog_MSGFMT"; then
                   6464:   ac_ct_MSGFMT=$MSGFMT
                   6465:   # Extract the first word of "msgfmt", so it can be a program name with args.
                   6466: set dummy msgfmt; ac_word=$2
1.1.1.10  root     6467: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6468: printf %s "checking for $ac_word... " >&6; }
                   6469: if test ${ac_cv_prog_ac_ct_MSGFMT+y}
                   6470: then :
                   6471:   printf %s "(cached) " >&6
                   6472: else $as_nop
1.1.1.5   root     6473:   if test -n "$ac_ct_MSGFMT"; then
                   6474:   ac_cv_prog_ac_ct_MSGFMT="$ac_ct_MSGFMT" # Let the user override the test.
                   6475: else
                   6476: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6477: for as_dir in $PATH
                   6478: do
                   6479:   IFS=$as_save_IFS
1.1.1.10  root     6480:   case $as_dir in #(((
                   6481:     '') as_dir=./ ;;
                   6482:     */) ;;
                   6483:     *) as_dir=$as_dir/ ;;
                   6484:   esac
1.1.1.5   root     6485:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.10  root     6486:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.1.1.5   root     6487:     ac_cv_prog_ac_ct_MSGFMT="msgfmt"
1.1.1.10  root     6488:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.1.1.5   root     6489:     break 2
                   6490:   fi
                   6491: done
                   6492:   done
                   6493: IFS=$as_save_IFS
                   6494: 
                   6495: fi
                   6496: fi
                   6497: ac_ct_MSGFMT=$ac_cv_prog_ac_ct_MSGFMT
                   6498: if test -n "$ac_ct_MSGFMT"; then
1.1.1.10  root     6499:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MSGFMT" >&5
                   6500: printf "%s\n" "$ac_ct_MSGFMT" >&6; }
1.1.1.5   root     6501: else
1.1.1.10  root     6502:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6503: printf "%s\n" "no" >&6; }
1.1.1.5   root     6504: fi
                   6505: 
                   6506:   if test "x$ac_ct_MSGFMT" = x; then
                   6507:     MSGFMT=":"
                   6508:   else
                   6509:     case $cross_compiling:$ac_tool_warned in
                   6510: yes:)
1.1.1.10  root     6511: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6512: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.1.5   root     6513: ac_tool_warned=yes ;;
                   6514: esac
                   6515:     MSGFMT=$ac_ct_MSGFMT
                   6516:   fi
                   6517: else
                   6518:   MSGFMT="$ac_cv_prog_MSGFMT"
                   6519: fi
                   6520: 
1.1.1.10  root     6521:        if test $MSGFMT = :; then
                   6522:                as_fn_error $? "*** msgfmt not found.
1.1.1.7   root     6523: *** If you use pkgsrc, install devel/gettext-tools.
                   6524: *** If you use Ubuntu, sudo apt install gettext" "$LINENO" 5
1.1.1.10  root     6525:        fi
                   6526: 
                   6527: else $as_nop
                   6528: 
                   6529:        WITH_GUI=no
                   6530: 
                   6531: 
1.1.1.5   root     6532: fi
                   6533: 
1.1.1.3   root     6534: ac_config_files="$ac_config_files Makefile.cfg host/Makefile wx/Makefile util/mkcgrom/Makefile util/viewcgrom/Makefile"
1.1       root     6535: 
1.1.1.2   root     6536: ac_config_headers="$ac_config_headers config-nono.h"
1.1       root     6537: 
                   6538: cat >confcache <<\_ACEOF
                   6539: # This file is a shell script that caches the results of configure
                   6540: # tests run on this system so they can be shared between configure
                   6541: # scripts and configure runs, see configure's option --config-cache.
                   6542: # It is not useful on other systems.  If it contains results you don't
                   6543: # want to keep, you may remove or edit it.
                   6544: #
                   6545: # config.status only pays attention to the cache file if you give it
                   6546: # the --recheck option to rerun configure.
                   6547: #
                   6548: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   6549: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6550: # following values.
                   6551: 
                   6552: _ACEOF
                   6553: 
                   6554: # The following way of writing the cache mishandles newlines in values,
                   6555: # but we know of no workaround that is simple, portable, and efficient.
                   6556: # So, we kill variables containing newlines.
                   6557: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6558: # and sets the high bit in the cache file unless we assign to the vars.
                   6559: (
                   6560:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   6561:     eval ac_val=\$$ac_var
                   6562:     case $ac_val in #(
                   6563:     *${as_nl}*)
                   6564:       case $ac_var in #(
1.1.1.10  root     6565:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   6566: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       root     6567:       esac
                   6568:       case $ac_var in #(
                   6569:       _ | IFS | as_nl) ;; #(
                   6570:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   6571:       *) { eval $ac_var=; unset $ac_var;} ;;
                   6572:       esac ;;
                   6573:     esac
                   6574:   done
                   6575: 
                   6576:   (set) 2>&1 |
                   6577:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   6578:     *${as_nl}ac_space=\ *)
                   6579:       # `set' does not quote correctly, so add quotes: double-quote
                   6580:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   6581:       sed -n \
                   6582:        "s/'/'\\\\''/g;
                   6583:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   6584:       ;; #(
                   6585:     *)
                   6586:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   6587:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   6588:       ;;
                   6589:     esac |
                   6590:     sort
                   6591: ) |
                   6592:   sed '
                   6593:      /^ac_cv_env_/b end
                   6594:      t clear
                   6595:      :clear
1.1.1.10  root     6596:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.1       root     6597:      t end
                   6598:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6599:      :end' >>confcache
                   6600: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   6601:   if test -w "$cache_file"; then
                   6602:     if test "x$cache_file" != "x/dev/null"; then
1.1.1.10  root     6603:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   6604: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.1       root     6605:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   6606:        cat confcache >"$cache_file"
                   6607:       else
                   6608:         case $cache_file in #(
                   6609:         */* | ?:*)
                   6610:          mv -f confcache "$cache_file"$$ &&
                   6611:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   6612:         *)
                   6613:          mv -f confcache "$cache_file" ;;
                   6614:        esac
                   6615:       fi
                   6616:     fi
                   6617:   else
1.1.1.10  root     6618:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   6619: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     6620:   fi
                   6621: fi
                   6622: rm -f confcache
                   6623: 
                   6624: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6625: # Let make expand exec_prefix.
                   6626: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6627: 
                   6628: DEFS=-DHAVE_CONFIG_H
                   6629: 
                   6630: ac_libobjs=
                   6631: ac_ltlibobjs=
                   6632: U=
                   6633: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6634:   # 1. Remove the extension, and $U if already installed.
                   6635:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.10  root     6636:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.1       root     6637:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   6638:   #    will be set to the directory where LIBOBJS objects are built.
                   6639:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   6640:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   6641: done
                   6642: LIBOBJS=$ac_libobjs
                   6643: 
                   6644: LTLIBOBJS=$ac_ltlibobjs
                   6645: 
                   6646: 
                   6647: 
                   6648: : "${CONFIG_STATUS=./config.status}"
                   6649: ac_write_fail=0
                   6650: ac_clean_files_save=$ac_clean_files
                   6651: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.10  root     6652: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   6653: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.1       root     6654: as_write_fail=0
                   6655: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   6656: #! $SHELL
                   6657: # Generated by $as_me.
                   6658: # Run this file to recreate the current configuration.
                   6659: # Compiler output produced by configure, useful for debugging
                   6660: # configure, is in config.log if it exists.
                   6661: 
                   6662: debug=false
                   6663: ac_cs_recheck=false
                   6664: ac_cs_silent=false
                   6665: 
                   6666: SHELL=\${CONFIG_SHELL-$SHELL}
                   6667: export SHELL
                   6668: _ASEOF
                   6669: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   6670: ## -------------------- ##
                   6671: ## M4sh Initialization. ##
                   6672: ## -------------------- ##
                   6673: 
                   6674: # Be more Bourne compatible
                   6675: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.10  root     6676: as_nop=:
                   6677: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   6678: then :
1.1       root     6679:   emulate sh
                   6680:   NULLCMD=:
                   6681:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   6682:   # is contrary to our usage.  Disable this feature.
                   6683:   alias -g '${1+"$@"}'='"$@"'
                   6684:   setopt NO_GLOB_SUBST
1.1.1.10  root     6685: else $as_nop
1.1       root     6686:   case `(set -o) 2>/dev/null` in #(
                   6687:   *posix*) :
                   6688:     set -o posix ;; #(
                   6689:   *) :
                   6690:      ;;
                   6691: esac
                   6692: fi
                   6693: 
                   6694: 
1.1.1.10  root     6695: 
                   6696: # Reset variables that may have inherited troublesome values from
                   6697: # the environment.
                   6698: 
                   6699: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   6700: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   6701: # side effect of setting IFS to empty, thus disabling word splitting.)
                   6702: # Quoting is to prevent editors from complaining about space-tab.
1.1       root     6703: as_nl='
                   6704: '
                   6705: export as_nl
1.1.1.10  root     6706: IFS=" ""       $as_nl"
                   6707: 
                   6708: PS1='$ '
                   6709: PS2='> '
                   6710: PS4='+ '
                   6711: 
                   6712: # Ensure predictable behavior from utilities with locale-dependent output.
                   6713: LC_ALL=C
                   6714: export LC_ALL
                   6715: LANGUAGE=C
                   6716: export LANGUAGE
                   6717: 
                   6718: # We cannot yet rely on "unset" to work, but we need these variables
                   6719: # to be unset--not just set to an empty or harmless value--now, to
                   6720: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   6721: # also avoids known problems related to "unset" and subshell syntax
                   6722: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   6723: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   6724: do eval test \${$as_var+y} \
                   6725:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   6726: done
                   6727: 
                   6728: # Ensure that fds 0, 1, and 2 are open.
                   6729: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   6730: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   6731: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.1       root     6732: 
                   6733: # The user is always right.
1.1.1.10  root     6734: if ${PATH_SEPARATOR+false} :; then
1.1       root     6735:   PATH_SEPARATOR=:
                   6736:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   6737:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   6738:       PATH_SEPARATOR=';'
                   6739:   }
                   6740: fi
                   6741: 
                   6742: 
                   6743: # Find who we are.  Look in the path if we contain no directory separator.
                   6744: as_myself=
                   6745: case $0 in #((
                   6746:   *[\\/]* ) as_myself=$0 ;;
                   6747:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6748: for as_dir in $PATH
                   6749: do
                   6750:   IFS=$as_save_IFS
1.1.1.10  root     6751:   case $as_dir in #(((
                   6752:     '') as_dir=./ ;;
                   6753:     */) ;;
                   6754:     *) as_dir=$as_dir/ ;;
                   6755:   esac
                   6756:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.1       root     6757:   done
                   6758: IFS=$as_save_IFS
                   6759: 
                   6760:      ;;
                   6761: esac
                   6762: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   6763: # in which case we are not to be found in the path.
                   6764: if test "x$as_myself" = x; then
                   6765:   as_myself=$0
                   6766: fi
                   6767: if test ! -f "$as_myself"; then
1.1.1.10  root     6768:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1       root     6769:   exit 1
                   6770: fi
                   6771: 
                   6772: 
                   6773: 
                   6774: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   6775: # ----------------------------------------
                   6776: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   6777: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   6778: # script with STATUS, using 1 if that was 0.
                   6779: as_fn_error ()
                   6780: {
                   6781:   as_status=$1; test $as_status -eq 0 && as_status=1
                   6782:   if test "$4"; then
                   6783:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.10  root     6784:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1       root     6785:   fi
1.1.1.10  root     6786:   printf "%s\n" "$as_me: error: $2" >&2
1.1       root     6787:   as_fn_exit $as_status
                   6788: } # as_fn_error
                   6789: 
                   6790: 
1.1.1.10  root     6791: 
1.1       root     6792: # as_fn_set_status STATUS
                   6793: # -----------------------
                   6794: # Set $? to STATUS, without forking.
                   6795: as_fn_set_status ()
                   6796: {
                   6797:   return $1
                   6798: } # as_fn_set_status
                   6799: 
                   6800: # as_fn_exit STATUS
                   6801: # -----------------
                   6802: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   6803: as_fn_exit ()
                   6804: {
                   6805:   set +e
                   6806:   as_fn_set_status $1
                   6807:   exit $1
                   6808: } # as_fn_exit
                   6809: 
                   6810: # as_fn_unset VAR
                   6811: # ---------------
                   6812: # Portably unset VAR.
                   6813: as_fn_unset ()
                   6814: {
                   6815:   { eval $1=; unset $1;}
                   6816: }
                   6817: as_unset=as_fn_unset
1.1.1.10  root     6818: 
1.1       root     6819: # as_fn_append VAR VALUE
                   6820: # ----------------------
                   6821: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   6822: # advantage of any shell optimizations that allow amortized linear growth over
                   6823: # repeated appends, instead of the typical quadratic growth present in naive
                   6824: # implementations.
1.1.1.10  root     6825: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   6826: then :
1.1       root     6827:   eval 'as_fn_append ()
                   6828:   {
                   6829:     eval $1+=\$2
                   6830:   }'
1.1.1.10  root     6831: else $as_nop
1.1       root     6832:   as_fn_append ()
                   6833:   {
                   6834:     eval $1=\$$1\$2
                   6835:   }
                   6836: fi # as_fn_append
                   6837: 
                   6838: # as_fn_arith ARG...
                   6839: # ------------------
                   6840: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   6841: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   6842: # must be portable across $(()) and expr.
1.1.1.10  root     6843: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   6844: then :
1.1       root     6845:   eval 'as_fn_arith ()
                   6846:   {
                   6847:     as_val=$(( $* ))
                   6848:   }'
1.1.1.10  root     6849: else $as_nop
1.1       root     6850:   as_fn_arith ()
                   6851:   {
                   6852:     as_val=`expr "$@" || test $? -eq 1`
                   6853:   }
                   6854: fi # as_fn_arith
                   6855: 
                   6856: 
                   6857: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   6858:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   6859:   as_expr=expr
                   6860: else
                   6861:   as_expr=false
                   6862: fi
                   6863: 
                   6864: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   6865:   as_basename=basename
                   6866: else
                   6867:   as_basename=false
                   6868: fi
                   6869: 
                   6870: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   6871:   as_dirname=dirname
                   6872: else
                   6873:   as_dirname=false
                   6874: fi
                   6875: 
                   6876: as_me=`$as_basename -- "$0" ||
                   6877: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   6878:         X"$0" : 'X\(//\)$' \| \
                   6879:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     6880: printf "%s\n" X/"$0" |
1.1       root     6881:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   6882:            s//\1/
                   6883:            q
                   6884:          }
                   6885:          /^X\/\(\/\/\)$/{
                   6886:            s//\1/
                   6887:            q
                   6888:          }
                   6889:          /^X\/\(\/\).*/{
                   6890:            s//\1/
                   6891:            q
                   6892:          }
                   6893:          s/.*/./; q'`
                   6894: 
                   6895: # Avoid depending upon Character Ranges.
                   6896: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   6897: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   6898: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   6899: as_cr_digits='0123456789'
                   6900: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   6901: 
1.1.1.10  root     6902: 
                   6903: # Determine whether it's possible to make 'echo' print without a newline.
                   6904: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   6905: # for compatibility with existing Makefiles.
1.1       root     6906: ECHO_C= ECHO_N= ECHO_T=
                   6907: case `echo -n x` in #(((((
                   6908: -n*)
                   6909:   case `echo 'xy\c'` in
                   6910:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   6911:   xy)  ECHO_C='\c';;
                   6912:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   6913:        ECHO_T='        ';;
                   6914:   esac;;
                   6915: *)
                   6916:   ECHO_N='-n';;
                   6917: esac
                   6918: 
1.1.1.10  root     6919: # For backward compatibility with old third-party macros, we provide
                   6920: # the shell variables $as_echo and $as_echo_n.  New code should use
                   6921: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   6922: as_echo='printf %s\n'
                   6923: as_echo_n='printf %s'
                   6924: 
1.1       root     6925: rm -f conf$$ conf$$.exe conf$$.file
                   6926: if test -d conf$$.dir; then
                   6927:   rm -f conf$$.dir/conf$$.file
                   6928: else
                   6929:   rm -f conf$$.dir
                   6930:   mkdir conf$$.dir 2>/dev/null
                   6931: fi
                   6932: if (echo >conf$$.file) 2>/dev/null; then
                   6933:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   6934:     as_ln_s='ln -s'
                   6935:     # ... but there are two gotchas:
                   6936:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   6937:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   6938:     # In both cases, we have to default to `cp -pR'.
                   6939:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   6940:       as_ln_s='cp -pR'
                   6941:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   6942:     as_ln_s=ln
                   6943:   else
                   6944:     as_ln_s='cp -pR'
                   6945:   fi
                   6946: else
                   6947:   as_ln_s='cp -pR'
                   6948: fi
                   6949: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   6950: rmdir conf$$.dir 2>/dev/null
                   6951: 
                   6952: 
                   6953: # as_fn_mkdir_p
                   6954: # -------------
                   6955: # Create "$as_dir" as a directory, including parents if necessary.
                   6956: as_fn_mkdir_p ()
                   6957: {
                   6958: 
                   6959:   case $as_dir in #(
                   6960:   -*) as_dir=./$as_dir;;
                   6961:   esac
                   6962:   test -d "$as_dir" || eval $as_mkdir_p || {
                   6963:     as_dirs=
                   6964:     while :; do
                   6965:       case $as_dir in #(
1.1.1.10  root     6966:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.1       root     6967:       *) as_qdir=$as_dir;;
                   6968:       esac
                   6969:       as_dirs="'$as_qdir' $as_dirs"
                   6970:       as_dir=`$as_dirname -- "$as_dir" ||
                   6971: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6972:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   6973:         X"$as_dir" : 'X\(//\)$' \| \
                   6974:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     6975: printf "%s\n" X"$as_dir" |
1.1       root     6976:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6977:            s//\1/
                   6978:            q
                   6979:          }
                   6980:          /^X\(\/\/\)[^/].*/{
                   6981:            s//\1/
                   6982:            q
                   6983:          }
                   6984:          /^X\(\/\/\)$/{
                   6985:            s//\1/
                   6986:            q
                   6987:          }
                   6988:          /^X\(\/\).*/{
                   6989:            s//\1/
                   6990:            q
                   6991:          }
                   6992:          s/.*/./; q'`
                   6993:       test -d "$as_dir" && break
                   6994:     done
                   6995:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   6996:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   6997: 
                   6998: 
                   6999: } # as_fn_mkdir_p
                   7000: if mkdir -p . 2>/dev/null; then
                   7001:   as_mkdir_p='mkdir -p "$as_dir"'
                   7002: else
                   7003:   test -d ./-p && rmdir ./-p
                   7004:   as_mkdir_p=false
                   7005: fi
                   7006: 
                   7007: 
                   7008: # as_fn_executable_p FILE
                   7009: # -----------------------
                   7010: # Test if FILE is an executable regular file.
                   7011: as_fn_executable_p ()
                   7012: {
                   7013:   test -f "$1" && test -x "$1"
                   7014: } # as_fn_executable_p
                   7015: as_test_x='test -x'
                   7016: as_executable_p=as_fn_executable_p
                   7017: 
                   7018: # Sed expression to map a string onto a valid CPP name.
                   7019: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   7020: 
                   7021: # Sed expression to map a string onto a valid variable name.
                   7022: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   7023: 
                   7024: 
                   7025: exec 6>&1
                   7026: ## ----------------------------------- ##
                   7027: ## Main body of $CONFIG_STATUS script. ##
                   7028: ## ----------------------------------- ##
                   7029: _ASEOF
                   7030: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   7031: 
                   7032: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7033: # Save the log message, to keep $0 and so on meaningful, and to
                   7034: # report actual input values of CONFIG_FILES etc. instead of their
                   7035: # values after options handling.
                   7036: ac_log="
1.1.1.3   root     7037: This file was extended by nono $as_me 0.0, which was
1.1.1.10  root     7038: generated by GNU Autoconf 2.71.  Invocation command line was
1.1       root     7039: 
                   7040:   CONFIG_FILES    = $CONFIG_FILES
                   7041:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7042:   CONFIG_LINKS    = $CONFIG_LINKS
                   7043:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7044:   $ $0 $@
                   7045: 
                   7046: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   7047: "
                   7048: 
                   7049: _ACEOF
                   7050: 
                   7051: case $ac_config_files in *"
                   7052: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   7053: esac
                   7054: 
                   7055: case $ac_config_headers in *"
                   7056: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   7057: esac
                   7058: 
                   7059: 
                   7060: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7061: # Files that config.status was made for.
                   7062: config_files="$ac_config_files"
                   7063: config_headers="$ac_config_headers"
                   7064: 
                   7065: _ACEOF
                   7066: 
                   7067: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7068: ac_cs_usage="\
                   7069: \`$as_me' instantiates files and other configuration actions
                   7070: from templates according to the current configuration.  Unless the files
                   7071: and actions are specified as TAGs, all are instantiated by default.
                   7072: 
                   7073: Usage: $0 [OPTION]... [TAG]...
                   7074: 
                   7075:   -h, --help       print this help, then exit
                   7076:   -V, --version    print version number and configuration settings, then exit
                   7077:       --config     print configuration, then exit
                   7078:   -q, --quiet, --silent
                   7079:                    do not print progress messages
                   7080:   -d, --debug      don't remove temporary files
                   7081:       --recheck    update $as_me by reconfiguring in the same conditions
                   7082:       --file=FILE[:TEMPLATE]
                   7083:                    instantiate the configuration file FILE
                   7084:       --header=FILE[:TEMPLATE]
                   7085:                    instantiate the configuration header FILE
                   7086: 
                   7087: Configuration files:
                   7088: $config_files
                   7089: 
                   7090: Configuration headers:
                   7091: $config_headers
                   7092: 
                   7093: Report bugs to the package provider."
                   7094: 
                   7095: _ACEOF
1.1.1.10  root     7096: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   7097: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.1       root     7098: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.10  root     7099: ac_cs_config='$ac_cs_config_escaped'
1.1       root     7100: ac_cs_version="\\
1.1.1.3   root     7101: nono config.status 0.0
1.1.1.10  root     7102: configured by $0, generated by GNU Autoconf 2.71,
1.1       root     7103:   with options \\"\$ac_cs_config\\"
                   7104: 
1.1.1.10  root     7105: Copyright (C) 2021 Free Software Foundation, Inc.
1.1       root     7106: This config.status script is free software; the Free Software Foundation
                   7107: gives unlimited permission to copy, distribute and modify it."
                   7108: 
                   7109: ac_pwd='$ac_pwd'
                   7110: srcdir='$srcdir'
1.1.1.3   root     7111: INSTALL='$INSTALL'
1.1       root     7112: test -n "\$AWK" || AWK=awk
                   7113: _ACEOF
                   7114: 
                   7115: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7116: # The default lists apply if the user does not specify any file.
                   7117: ac_need_defaults=:
                   7118: while test $# != 0
                   7119: do
                   7120:   case $1 in
                   7121:   --*=?*)
                   7122:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7123:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   7124:     ac_shift=:
                   7125:     ;;
                   7126:   --*=)
                   7127:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7128:     ac_optarg=
                   7129:     ac_shift=:
                   7130:     ;;
                   7131:   *)
                   7132:     ac_option=$1
                   7133:     ac_optarg=$2
                   7134:     ac_shift=shift
                   7135:     ;;
                   7136:   esac
                   7137: 
                   7138:   case $ac_option in
                   7139:   # Handling of the options.
                   7140:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7141:     ac_cs_recheck=: ;;
                   7142:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.10  root     7143:     printf "%s\n" "$ac_cs_version"; exit ;;
1.1       root     7144:   --config | --confi | --conf | --con | --co | --c )
1.1.1.10  root     7145:     printf "%s\n" "$ac_cs_config"; exit ;;
1.1       root     7146:   --debug | --debu | --deb | --de | --d | -d )
                   7147:     debug=: ;;
                   7148:   --file | --fil | --fi | --f )
                   7149:     $ac_shift
                   7150:     case $ac_optarg in
1.1.1.10  root     7151:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     7152:     '') as_fn_error $? "missing file argument" ;;
                   7153:     esac
                   7154:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   7155:     ac_need_defaults=false;;
                   7156:   --header | --heade | --head | --hea )
                   7157:     $ac_shift
                   7158:     case $ac_optarg in
1.1.1.10  root     7159:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       root     7160:     esac
                   7161:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   7162:     ac_need_defaults=false;;
                   7163:   --he | --h)
                   7164:     # Conflict between --help and --header
                   7165:     as_fn_error $? "ambiguous option: \`$1'
                   7166: Try \`$0 --help' for more information.";;
                   7167:   --help | --hel | -h )
1.1.1.10  root     7168:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.1       root     7169:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7170:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7171:     ac_cs_silent=: ;;
                   7172: 
                   7173:   # This is an error.
                   7174:   -*) as_fn_error $? "unrecognized option: \`$1'
                   7175: Try \`$0 --help' for more information." ;;
                   7176: 
                   7177:   *) as_fn_append ac_config_targets " $1"
                   7178:      ac_need_defaults=false ;;
                   7179: 
                   7180:   esac
                   7181:   shift
                   7182: done
                   7183: 
                   7184: ac_configure_extra_args=
                   7185: 
                   7186: if $ac_cs_silent; then
                   7187:   exec 6>/dev/null
                   7188:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7189: fi
                   7190: 
                   7191: _ACEOF
                   7192: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7193: if \$ac_cs_recheck; then
                   7194:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   7195:   shift
1.1.1.10  root     7196:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.1       root     7197:   CONFIG_SHELL='$SHELL'
                   7198:   export CONFIG_SHELL
                   7199:   exec "\$@"
                   7200: fi
                   7201: 
                   7202: _ACEOF
                   7203: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7204: exec 5>>config.log
                   7205: {
                   7206:   echo
                   7207:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7208: ## Running $as_me. ##
                   7209: _ASBOX
1.1.1.10  root     7210:   printf "%s\n" "$ac_log"
1.1       root     7211: } >&5
                   7212: 
                   7213: _ACEOF
                   7214: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7215: _ACEOF
                   7216: 
                   7217: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7218: 
                   7219: # Handling of arguments.
                   7220: for ac_config_target in $ac_config_targets
                   7221: do
                   7222:   case $ac_config_target in
                   7223:     "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;;
                   7224:     "host/Makefile") CONFIG_FILES="$CONFIG_FILES host/Makefile" ;;
                   7225:     "wx/Makefile") CONFIG_FILES="$CONFIG_FILES wx/Makefile" ;;
                   7226:     "util/mkcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/mkcgrom/Makefile" ;;
                   7227:     "util/viewcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/viewcgrom/Makefile" ;;
1.1.1.2   root     7228:     "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;
1.1       root     7229: 
                   7230:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   7231:   esac
                   7232: done
                   7233: 
                   7234: 
                   7235: # If the user did not use the arguments to specify the items to instantiate,
                   7236: # then the envvar interface is used.  Set only those that are not.
                   7237: # We use the long form for the default assignment because of an extremely
                   7238: # bizarre bug on SunOS 4.1.3.
                   7239: if $ac_need_defaults; then
1.1.1.10  root     7240:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   7241:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1.1       root     7242: fi
                   7243: 
                   7244: # Have a temporary directory for convenience.  Make it in the build tree
                   7245: # simply because there is no reason against having it here, and in addition,
                   7246: # creating and moving files from /tmp can sometimes cause problems.
                   7247: # Hook for its removal unless debugging.
                   7248: # Note that there is a small window in which the directory will not be cleaned:
                   7249: # after its creation but before its name has been assigned to `$tmp'.
                   7250: $debug ||
                   7251: {
                   7252:   tmp= ac_tmp=
                   7253:   trap 'exit_status=$?
                   7254:   : "${ac_tmp:=$tmp}"
                   7255:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   7256: ' 0
                   7257:   trap 'as_fn_exit 1' 1 2 13 15
                   7258: }
                   7259: # Create a (secure) tmp directory for tmp files.
                   7260: 
                   7261: {
                   7262:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   7263:   test -d "$tmp"
                   7264: }  ||
                   7265: {
                   7266:   tmp=./conf$$-$RANDOM
                   7267:   (umask 077 && mkdir "$tmp")
                   7268: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   7269: ac_tmp=$tmp
                   7270: 
                   7271: # Set up the scripts for CONFIG_FILES section.
                   7272: # No need to generate them if there are no CONFIG_FILES.
                   7273: # This happens for instance with `./config.status config.h'.
                   7274: if test -n "$CONFIG_FILES"; then
                   7275: 
                   7276: 
                   7277: ac_cr=`echo X | tr X '\015'`
                   7278: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   7279: # But we know of no other shell where ac_cr would be empty at this
                   7280: # point, so we can use a bashism as a fallback.
                   7281: if test "x$ac_cr" = x; then
                   7282:   eval ac_cr=\$\'\\r\'
                   7283: fi
                   7284: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   7285: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   7286:   ac_cs_awk_cr='\\r'
                   7287: else
                   7288:   ac_cs_awk_cr=$ac_cr
                   7289: fi
                   7290: 
                   7291: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   7292: _ACEOF
                   7293: 
                   7294: 
                   7295: {
                   7296:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   7297:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   7298:   echo "_ACEOF"
                   7299: } >conf$$subs.sh ||
                   7300:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7301: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   7302: ac_delim='%!_!# '
                   7303: for ac_last_try in false false false false false :; do
                   7304:   . ./conf$$subs.sh ||
                   7305:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7306: 
                   7307:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   7308:   if test $ac_delim_n = $ac_delim_num; then
                   7309:     break
                   7310:   elif $ac_last_try; then
                   7311:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7312:   else
                   7313:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7314:   fi
                   7315: done
                   7316: rm -f conf$$subs.sh
                   7317: 
                   7318: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7319: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   7320: _ACEOF
                   7321: sed -n '
                   7322: h
                   7323: s/^/S["/; s/!.*/"]=/
                   7324: p
                   7325: g
                   7326: s/^[^!]*!//
                   7327: :repl
                   7328: t repl
                   7329: s/'"$ac_delim"'$//
                   7330: t delim
                   7331: :nl
                   7332: h
                   7333: s/\(.\{148\}\)..*/\1/
                   7334: t more1
                   7335: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   7336: p
                   7337: n
                   7338: b repl
                   7339: :more1
                   7340: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7341: p
                   7342: g
                   7343: s/.\{148\}//
                   7344: t nl
                   7345: :delim
                   7346: h
                   7347: s/\(.\{148\}\)..*/\1/
                   7348: t more2
                   7349: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   7350: p
                   7351: b
                   7352: :more2
                   7353: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7354: p
                   7355: g
                   7356: s/.\{148\}//
                   7357: t delim
                   7358: ' <conf$$subs.awk | sed '
                   7359: /^[^""]/{
                   7360:   N
                   7361:   s/\n//
                   7362: }
                   7363: ' >>$CONFIG_STATUS || ac_write_fail=1
                   7364: rm -f conf$$subs.awk
                   7365: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7366: _ACAWK
                   7367: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   7368:   for (key in S) S_is_set[key] = 1
                   7369:   FS = ""
                   7370: 
                   7371: }
                   7372: {
                   7373:   line = $ 0
                   7374:   nfields = split(line, field, "@")
                   7375:   substed = 0
                   7376:   len = length(field[1])
                   7377:   for (i = 2; i < nfields; i++) {
                   7378:     key = field[i]
                   7379:     keylen = length(key)
                   7380:     if (S_is_set[key]) {
                   7381:       value = S[key]
                   7382:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   7383:       len += length(value) + length(field[++i])
                   7384:       substed = 1
                   7385:     } else
                   7386:       len += 1 + keylen
                   7387:   }
                   7388: 
                   7389:   print line
                   7390: }
                   7391: 
                   7392: _ACAWK
                   7393: _ACEOF
                   7394: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7395: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   7396:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   7397: else
                   7398:   cat
                   7399: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   7400:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   7401: _ACEOF
                   7402: 
                   7403: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   7404: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   7405: # trailing colons and then remove the whole line if VPATH becomes empty
                   7406: # (actually we leave an empty line to preserve line numbers).
                   7407: if test "x$srcdir" = x.; then
                   7408:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   7409: h
                   7410: s///
                   7411: s/^/:/
                   7412: s/[     ]*$/:/
                   7413: s/:\$(srcdir):/:/g
                   7414: s/:\${srcdir}:/:/g
                   7415: s/:@srcdir@:/:/g
                   7416: s/^:*//
                   7417: s/:*$//
                   7418: x
                   7419: s/\(=[  ]*\).*/\1/
                   7420: G
                   7421: s/\n//
                   7422: s/^[^=]*=[      ]*$//
                   7423: }'
                   7424: fi
                   7425: 
                   7426: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7427: fi # test -n "$CONFIG_FILES"
                   7428: 
                   7429: # Set up the scripts for CONFIG_HEADERS section.
                   7430: # No need to generate them if there are no CONFIG_HEADERS.
                   7431: # This happens for instance with `./config.status Makefile'.
                   7432: if test -n "$CONFIG_HEADERS"; then
                   7433: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   7434: BEGIN {
                   7435: _ACEOF
                   7436: 
                   7437: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   7438: # here-document in config.status, that substitutes the proper values into
                   7439: # config.h.in to produce config.h.
                   7440: 
                   7441: # Create a delimiter string that does not exist in confdefs.h, to ease
                   7442: # handling of long lines.
                   7443: ac_delim='%!_!# '
                   7444: for ac_last_try in false false :; do
                   7445:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   7446:   if test -z "$ac_tt"; then
                   7447:     break
                   7448:   elif $ac_last_try; then
                   7449:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   7450:   else
                   7451:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7452:   fi
                   7453: done
                   7454: 
                   7455: # For the awk script, D is an array of macro values keyed by name,
                   7456: # likewise P contains macro parameters if any.  Preserve backslash
                   7457: # newline sequences.
                   7458: 
                   7459: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   7460: sed -n '
                   7461: s/.\{148\}/&'"$ac_delim"'/g
                   7462: t rset
                   7463: :rset
                   7464: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   7465: t def
                   7466: d
                   7467: :def
                   7468: s/\\$//
                   7469: t bsnl
                   7470: s/["\\]/\\&/g
                   7471: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7472: D["\1"]=" \3"/p
                   7473: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   7474: d
                   7475: :bsnl
                   7476: s/["\\]/\\&/g
                   7477: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   7478: D["\1"]=" \3\\\\\\n"\\/p
                   7479: t cont
                   7480: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   7481: t cont
                   7482: d
                   7483: :cont
                   7484: n
                   7485: s/.\{148\}/&'"$ac_delim"'/g
                   7486: t clear
                   7487: :clear
                   7488: s/\\$//
                   7489: t bsnlc
                   7490: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   7491: d
                   7492: :bsnlc
                   7493: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   7494: b cont
                   7495: ' <confdefs.h | sed '
                   7496: s/'"$ac_delim"'/"\\\
                   7497: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   7498: 
                   7499: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7500:   for (key in D) D_is_set[key] = 1
                   7501:   FS = ""
                   7502: }
                   7503: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   7504:   line = \$ 0
                   7505:   split(line, arg, " ")
                   7506:   if (arg[1] == "#") {
                   7507:     defundef = arg[2]
                   7508:     mac1 = arg[3]
                   7509:   } else {
                   7510:     defundef = substr(arg[1], 2)
                   7511:     mac1 = arg[2]
                   7512:   }
                   7513:   split(mac1, mac2, "(") #)
                   7514:   macro = mac2[1]
                   7515:   prefix = substr(line, 1, index(line, defundef) - 1)
                   7516:   if (D_is_set[macro]) {
                   7517:     # Preserve the white space surrounding the "#".
                   7518:     print prefix "define", macro P[macro] D[macro]
                   7519:     next
                   7520:   } else {
                   7521:     # Replace #undef with comments.  This is necessary, for example,
                   7522:     # in the case of _POSIX_SOURCE, which is predefined and required
                   7523:     # on some systems where configure will not decide to define it.
                   7524:     if (defundef == "undef") {
                   7525:       print "/*", prefix defundef, macro, "*/"
                   7526:       next
                   7527:     }
                   7528:   }
                   7529: }
                   7530: { print }
                   7531: _ACAWK
                   7532: _ACEOF
                   7533: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7534:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   7535: fi # test -n "$CONFIG_HEADERS"
                   7536: 
                   7537: 
                   7538: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   7539: shift
                   7540: for ac_tag
                   7541: do
                   7542:   case $ac_tag in
                   7543:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   7544:   esac
                   7545:   case $ac_mode$ac_tag in
                   7546:   :[FHL]*:*);;
                   7547:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   7548:   :[FH]-) ac_tag=-:-;;
                   7549:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   7550:   esac
                   7551:   ac_save_IFS=$IFS
                   7552:   IFS=:
                   7553:   set x $ac_tag
                   7554:   IFS=$ac_save_IFS
                   7555:   shift
                   7556:   ac_file=$1
                   7557:   shift
                   7558: 
                   7559:   case $ac_mode in
                   7560:   :L) ac_source=$1;;
                   7561:   :[FH])
                   7562:     ac_file_inputs=
                   7563:     for ac_f
                   7564:     do
                   7565:       case $ac_f in
                   7566:       -) ac_f="$ac_tmp/stdin";;
                   7567:       *) # Look for the file first in the build tree, then in the source tree
                   7568:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   7569:         # because $ac_f cannot contain `:'.
                   7570:         test -f "$ac_f" ||
                   7571:           case $ac_f in
                   7572:           [\\/$]*) false;;
                   7573:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   7574:           esac ||
                   7575:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   7576:       esac
1.1.1.10  root     7577:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1       root     7578:       as_fn_append ac_file_inputs " '$ac_f'"
                   7579:     done
                   7580: 
                   7581:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7582:     # use $as_me), people would be surprised to read:
                   7583:     #    /* config.h.  Generated by config.status.  */
                   7584:     configure_input='Generated from '`
1.1.1.10  root     7585:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.1       root     7586:        `' by configure.'
                   7587:     if test x"$ac_file" != x-; then
                   7588:       configure_input="$ac_file.  $configure_input"
1.1.1.10  root     7589:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   7590: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.1       root     7591:     fi
                   7592:     # Neutralize special characters interpreted by sed in replacement strings.
                   7593:     case $configure_input in #(
                   7594:     *\&* | *\|* | *\\* )
1.1.1.10  root     7595:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.1       root     7596:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   7597:     *) ac_sed_conf_input=$configure_input;;
                   7598:     esac
                   7599: 
                   7600:     case $ac_tag in
                   7601:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   7602:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   7603:     esac
                   7604:     ;;
                   7605:   esac
                   7606: 
                   7607:   ac_dir=`$as_dirname -- "$ac_file" ||
                   7608: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7609:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   7610:         X"$ac_file" : 'X\(//\)$' \| \
                   7611:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.10  root     7612: printf "%s\n" X"$ac_file" |
1.1       root     7613:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7614:            s//\1/
                   7615:            q
                   7616:          }
                   7617:          /^X\(\/\/\)[^/].*/{
                   7618:            s//\1/
                   7619:            q
                   7620:          }
                   7621:          /^X\(\/\/\)$/{
                   7622:            s//\1/
                   7623:            q
                   7624:          }
                   7625:          /^X\(\/\).*/{
                   7626:            s//\1/
                   7627:            q
                   7628:          }
                   7629:          s/.*/./; q'`
                   7630:   as_dir="$ac_dir"; as_fn_mkdir_p
                   7631:   ac_builddir=.
                   7632: 
                   7633: case "$ac_dir" in
                   7634: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7635: *)
1.1.1.10  root     7636:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       root     7637:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.10  root     7638:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       root     7639:   case $ac_top_builddir_sub in
                   7640:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7641:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   7642:   esac ;;
                   7643: esac
                   7644: ac_abs_top_builddir=$ac_pwd
                   7645: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   7646: # for backward compatibility:
                   7647: ac_top_builddir=$ac_top_build_prefix
                   7648: 
                   7649: case $srcdir in
                   7650:   .)  # We are building in place.
                   7651:     ac_srcdir=.
                   7652:     ac_top_srcdir=$ac_top_builddir_sub
                   7653:     ac_abs_top_srcdir=$ac_pwd ;;
                   7654:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   7655:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7656:     ac_top_srcdir=$srcdir
                   7657:     ac_abs_top_srcdir=$srcdir ;;
                   7658:   *) # Relative name.
                   7659:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   7660:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   7661:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   7662: esac
                   7663: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   7664: 
                   7665: 
                   7666:   case $ac_mode in
                   7667:   :F)
                   7668:   #
                   7669:   # CONFIG_FILE
                   7670:   #
                   7671: 
1.1.1.3   root     7672:   case $INSTALL in
                   7673:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   7674:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   7675:   esac
1.1       root     7676: _ACEOF
                   7677: 
                   7678: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7679: # If the template does not know about datarootdir, expand it.
                   7680: # FIXME: This hack should be removed a few years after 2.60.
                   7681: ac_datarootdir_hack=; ac_datarootdir_seen=
                   7682: ac_sed_dataroot='
                   7683: /datarootdir/ {
                   7684:   p
                   7685:   q
                   7686: }
                   7687: /@datadir@/p
                   7688: /@docdir@/p
                   7689: /@infodir@/p
                   7690: /@localedir@/p
                   7691: /@mandir@/p'
                   7692: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   7693: *datarootdir*) ac_datarootdir_seen=yes;;
                   7694: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.10  root     7695:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   7696: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       root     7697: _ACEOF
                   7698: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7699:   ac_datarootdir_hack='
                   7700:   s&@datadir@&$datadir&g
                   7701:   s&@docdir@&$docdir&g
                   7702:   s&@infodir@&$infodir&g
                   7703:   s&@localedir@&$localedir&g
                   7704:   s&@mandir@&$mandir&g
                   7705:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   7706: esac
                   7707: _ACEOF
                   7708: 
                   7709: # Neutralize VPATH when `$srcdir' = `.'.
                   7710: # Shell code in configure.ac might set extrasub.
                   7711: # FIXME: do we really want to maintain this feature?
                   7712: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7713: ac_sed_extra="$ac_vpsub
                   7714: $extrasub
                   7715: _ACEOF
                   7716: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7717: :t
                   7718: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7719: s|@configure_input@|$ac_sed_conf_input|;t t
                   7720: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   7721: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   7722: s&@srcdir@&$ac_srcdir&;t t
                   7723: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   7724: s&@top_srcdir@&$ac_top_srcdir&;t t
                   7725: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   7726: s&@builddir@&$ac_builddir&;t t
                   7727: s&@abs_builddir@&$ac_abs_builddir&;t t
                   7728: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.3   root     7729: s&@INSTALL@&$ac_INSTALL&;t t
1.1       root     7730: $ac_datarootdir_hack
                   7731: "
                   7732: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   7733:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7734: 
                   7735: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   7736:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   7737:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   7738:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.1.10  root     7739:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       root     7740: which seems to be undefined.  Please make sure it is defined" >&5
1.1.1.10  root     7741: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1       root     7742: which seems to be undefined.  Please make sure it is defined" >&2;}
                   7743: 
                   7744:   rm -f "$ac_tmp/stdin"
                   7745:   case $ac_file in
                   7746:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   7747:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   7748:   esac \
                   7749:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7750:  ;;
                   7751:   :H)
                   7752:   #
                   7753:   # CONFIG_HEADER
                   7754:   #
                   7755:   if test x"$ac_file" != x-; then
                   7756:     {
1.1.1.10  root     7757:       printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     7758:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   7759:     } >"$ac_tmp/config.h" \
                   7760:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7761:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.1.10  root     7762:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   7763: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.1       root     7764:     else
                   7765:       rm -f "$ac_file"
                   7766:       mv "$ac_tmp/config.h" "$ac_file" \
                   7767:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   7768:     fi
                   7769:   else
1.1.1.10  root     7770:     printf "%s\n" "/* $configure_input  */" >&1 \
1.1       root     7771:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   7772:       || as_fn_error $? "could not create -" "$LINENO" 5
                   7773:   fi
                   7774:  ;;
                   7775: 
                   7776: 
                   7777:   esac
                   7778: 
                   7779: done # for ac_tag
                   7780: 
                   7781: 
                   7782: as_fn_exit 0
                   7783: _ACEOF
                   7784: ac_clean_files=$ac_clean_files_save
                   7785: 
                   7786: test $ac_write_fail = 0 ||
                   7787:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   7788: 
                   7789: 
                   7790: # configure is writing to config.log, and then calls config.status.
                   7791: # config.status does its own redirection, appending to config.log.
                   7792: # Unfortunately, on DOS this fails, as config.log is still kept open
                   7793: # by configure, so config.status won't be able to write to it; its
                   7794: # output is simply discarded.  So we exec the FD to /dev/null,
                   7795: # effectively closing config.log, so it can be properly (re)opened and
                   7796: # appended to by config.status.  When coming back to configure, we
                   7797: # need to make the FD available again.
                   7798: if test "$no_create" != yes; then
                   7799:   ac_cs_success=:
                   7800:   ac_config_status_args=
                   7801:   test "$silent" = yes &&
                   7802:     ac_config_status_args="$ac_config_status_args --quiet"
                   7803:   exec 5>/dev/null
                   7804:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   7805:   exec 5>>config.log
                   7806:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   7807:   # would make configure fail if this is the last instruction.
                   7808:   $ac_cs_success || as_fn_exit 1
                   7809: fi
                   7810: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.10  root     7811:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   7812: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       root     7813: fi
                   7814: 
1.1.1.10  root     7815: 

unix.superglobalmegacorp.com

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