Annotation of nono/configure, revision 1.1.1.12

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

unix.superglobalmegacorp.com

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