Annotation of embedaddon/tmux/configure, revision 1.1.1.1

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
                      3: # Generated by GNU Autoconf 2.69 for tmux 2.4.
                      4: #
                      5: #
                      6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
                      7: #
                      8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
                     11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
                     14: 
                     15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     18:   emulate sh
                     19:   NULLCMD=:
                     20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
                     23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
                     70: fi
                     71: 
                     72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
                     79: fi
                     80: 
                     81: 
                     82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88: 
                     89: # Find who we are.  Look in the path if we contain no directory separator.
                     90: as_myself=
                     91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     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
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    121: done
                    122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
                    127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131: 
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134: 
                    135: # Use a proper internal environment variable to ensure we don't fall
                    136:   # into an infinite loop, continuously re-executing ourselves.
                    137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    138:     _as_can_reexec=no; export _as_can_reexec;
                    139:     # We cannot yet assume a decent shell, so we have to provide a
                    140: # neutralization value for shells without unset; and this also
                    141: # works around shells that cannot unset nonexistent variables.
                    142: # Preserve -v and -x to the replacement shell.
                    143: BASH_ENV=/dev/null
                    144: ENV=/dev/null
                    145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    146: case $- in # ((((
                    147:   *v*x* | *x*v* ) as_opts=-vx ;;
                    148:   *v* ) as_opts=-v ;;
                    149:   *x* ) as_opts=-x ;;
                    150:   * ) as_opts= ;;
                    151: esac
                    152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    153: # Admittedly, this is quite paranoid, since all the known shells bail
                    154: # out after a failed `exec'.
                    155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    156: as_fn_exit 255
                    157:   fi
                    158:   # We don't want this to propagate to other subprocesses.
                    159:           { _as_can_reexec=; unset _as_can_reexec;}
                    160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182: 
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189: 
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
                    193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
                    195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    199: test \$(( 1 + 1 )) = 2 || exit 1"
                    200:   if (eval "$as_required") 2>/dev/null; then :
                    201:   as_have_required=yes
                    202: else
                    203:   as_have_required=no
                    204: fi
                    205:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    206: 
                    207: else
                    208:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    209: as_found=false
                    210: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    211: do
                    212:   IFS=$as_save_IFS
                    213:   test -z "$as_dir" && as_dir=.
                    214:   as_found=:
                    215:   case $as_dir in #(
                    216:         /*)
                    217:           for as_base in sh bash ksh sh5; do
                    218:             # Try only shells that exist, to save several forks.
                    219:             as_shell=$as_dir/$as_base
                    220:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    221:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    222:   CONFIG_SHELL=$as_shell as_have_required=yes
                    223:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    224:   break 2
                    225: fi
                    226: fi
                    227:           done;;
                    228:        esac
                    229:   as_found=false
                    230: done
                    231: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    232:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    233:   CONFIG_SHELL=$SHELL as_have_required=yes
                    234: fi; }
                    235: IFS=$as_save_IFS
                    236: 
                    237: 
                    238:       if test "x$CONFIG_SHELL" != x; then :
                    239:   export CONFIG_SHELL
                    240:              # We cannot yet assume a decent shell, so we have to provide a
                    241: # neutralization value for shells without unset; and this also
                    242: # works around shells that cannot unset nonexistent variables.
                    243: # Preserve -v and -x to the replacement shell.
                    244: BASH_ENV=/dev/null
                    245: ENV=/dev/null
                    246: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    247: case $- in # ((((
                    248:   *v*x* | *x*v* ) as_opts=-vx ;;
                    249:   *v* ) as_opts=-v ;;
                    250:   *x* ) as_opts=-x ;;
                    251:   * ) as_opts= ;;
                    252: esac
                    253: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    254: # Admittedly, this is quite paranoid, since all the known shells bail
                    255: # out after a failed `exec'.
                    256: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    257: exit 255
                    258: fi
                    259: 
                    260:     if test x$as_have_required = xno; then :
                    261:   $as_echo "$0: This script requires a shell more modern than all"
                    262:   $as_echo "$0: the shells that I found on your system."
                    263:   if test x${ZSH_VERSION+set} = xset ; then
                    264:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    265:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    266:   else
                    267:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    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: 
                    294: # as_fn_set_status STATUS
                    295: # -----------------------
                    296: # Set $? to STATUS, without forking.
                    297: as_fn_set_status ()
                    298: {
                    299:   return $1
                    300: } # as_fn_set_status
                    301: 
                    302: # as_fn_exit STATUS
                    303: # -----------------
                    304: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    305: as_fn_exit ()
                    306: {
                    307:   set +e
                    308:   as_fn_set_status $1
                    309:   exit $1
                    310: } # as_fn_exit
                    311: 
                    312: # as_fn_mkdir_p
                    313: # -------------
                    314: # Create "$as_dir" as a directory, including parents if necessary.
                    315: as_fn_mkdir_p ()
                    316: {
                    317: 
                    318:   case $as_dir in #(
                    319:   -*) as_dir=./$as_dir;;
                    320:   esac
                    321:   test -d "$as_dir" || eval $as_mkdir_p || {
                    322:     as_dirs=
                    323:     while :; do
                    324:       case $as_dir in #(
                    325:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    326:       *) as_qdir=$as_dir;;
                    327:       esac
                    328:       as_dirs="'$as_qdir' $as_dirs"
                    329:       as_dir=`$as_dirname -- "$as_dir" ||
                    330: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    331:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    332:         X"$as_dir" : 'X\(//\)$' \| \
                    333:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    334: $as_echo X"$as_dir" |
                    335:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    336:            s//\1/
                    337:            q
                    338:          }
                    339:          /^X\(\/\/\)[^/].*/{
                    340:            s//\1/
                    341:            q
                    342:          }
                    343:          /^X\(\/\/\)$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\).*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          s/.*/./; q'`
                    352:       test -d "$as_dir" && break
                    353:     done
                    354:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    355:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    356: 
                    357: 
                    358: } # as_fn_mkdir_p
                    359: 
                    360: # as_fn_executable_p FILE
                    361: # -----------------------
                    362: # Test if FILE is an executable regular file.
                    363: as_fn_executable_p ()
                    364: {
                    365:   test -f "$1" && test -x "$1"
                    366: } # as_fn_executable_p
                    367: # as_fn_append VAR VALUE
                    368: # ----------------------
                    369: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    370: # advantage of any shell optimizations that allow amortized linear growth over
                    371: # repeated appends, instead of the typical quadratic growth present in naive
                    372: # implementations.
                    373: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    374:   eval 'as_fn_append ()
                    375:   {
                    376:     eval $1+=\$2
                    377:   }'
                    378: else
                    379:   as_fn_append ()
                    380:   {
                    381:     eval $1=\$$1\$2
                    382:   }
                    383: fi # as_fn_append
                    384: 
                    385: # as_fn_arith ARG...
                    386: # ------------------
                    387: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    388: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    389: # must be portable across $(()) and expr.
                    390: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    391:   eval 'as_fn_arith ()
                    392:   {
                    393:     as_val=$(( $* ))
                    394:   }'
                    395: else
                    396:   as_fn_arith ()
                    397:   {
                    398:     as_val=`expr "$@" || test $? -eq 1`
                    399:   }
                    400: fi # as_fn_arith
                    401: 
                    402: 
                    403: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    404: # ----------------------------------------
                    405: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    406: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    407: # script with STATUS, using 1 if that was 0.
                    408: as_fn_error ()
                    409: {
                    410:   as_status=$1; test $as_status -eq 0 && as_status=1
                    411:   if test "$4"; then
                    412:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    413:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    414:   fi
                    415:   $as_echo "$as_me: error: $2" >&2
                    416:   as_fn_exit $as_status
                    417: } # as_fn_error
                    418: 
                    419: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    420:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    421:   as_expr=expr
                    422: else
                    423:   as_expr=false
                    424: fi
                    425: 
                    426: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    427:   as_basename=basename
                    428: else
                    429:   as_basename=false
                    430: fi
                    431: 
                    432: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    433:   as_dirname=dirname
                    434: else
                    435:   as_dirname=false
                    436: fi
                    437: 
                    438: as_me=`$as_basename -- "$0" ||
                    439: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    440:         X"$0" : 'X\(//\)$' \| \
                    441:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    442: $as_echo X/"$0" |
                    443:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    444:            s//\1/
                    445:            q
                    446:          }
                    447:          /^X\/\(\/\/\)$/{
                    448:            s//\1/
                    449:            q
                    450:          }
                    451:          /^X\/\(\/\).*/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          s/.*/./; q'`
                    456: 
                    457: # Avoid depending upon Character Ranges.
                    458: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    459: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    460: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    461: as_cr_digits='0123456789'
                    462: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    463: 
                    464: 
                    465:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    466:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    467:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    468:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    469:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    470:   sed -n '
                    471:     p
                    472:     /[$]LINENO/=
                    473:   ' <$as_myself |
                    474:     sed '
                    475:       s/[$]LINENO.*/&-/
                    476:       t lineno
                    477:       b
                    478:       :lineno
                    479:       N
                    480:       :loop
                    481:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    482:       t loop
                    483:       s/-\n.*//
                    484:     ' >$as_me.lineno &&
                    485:   chmod +x "$as_me.lineno" ||
                    486:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    487: 
                    488:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    489:   # already done that, so ensure we don't try to do so again and fall
                    490:   # in an infinite loop.  This has already happened in practice.
                    491:   _as_can_reexec=no; export _as_can_reexec
                    492:   # Don't try to exec as it changes $[0], causing all sort of problems
                    493:   # (the dirname of $[0] is not the place where we might find the
                    494:   # original and so on.  Autoconf is especially sensitive to this).
                    495:   . "./$as_me.lineno"
                    496:   # Exit status is that of the last command.
                    497:   exit
                    498: }
                    499: 
                    500: ECHO_C= ECHO_N= ECHO_T=
                    501: case `echo -n x` in #(((((
                    502: -n*)
                    503:   case `echo 'xy\c'` in
                    504:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    505:   xy)  ECHO_C='\c';;
                    506:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    507:        ECHO_T='        ';;
                    508:   esac;;
                    509: *)
                    510:   ECHO_N='-n';;
                    511: esac
                    512: 
                    513: rm -f conf$$ conf$$.exe conf$$.file
                    514: if test -d conf$$.dir; then
                    515:   rm -f conf$$.dir/conf$$.file
                    516: else
                    517:   rm -f conf$$.dir
                    518:   mkdir conf$$.dir 2>/dev/null
                    519: fi
                    520: if (echo >conf$$.file) 2>/dev/null; then
                    521:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    522:     as_ln_s='ln -s'
                    523:     # ... but there are two gotchas:
                    524:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    525:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    526:     # In both cases, we have to default to `cp -pR'.
                    527:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    528:       as_ln_s='cp -pR'
                    529:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s=ln
                    531:   else
                    532:     as_ln_s='cp -pR'
                    533:   fi
                    534: else
                    535:   as_ln_s='cp -pR'
                    536: fi
                    537: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    538: rmdir conf$$.dir 2>/dev/null
                    539: 
                    540: if mkdir -p . 2>/dev/null; then
                    541:   as_mkdir_p='mkdir -p "$as_dir"'
                    542: else
                    543:   test -d ./-p && rmdir ./-p
                    544:   as_mkdir_p=false
                    545: fi
                    546: 
                    547: as_test_x='test -x'
                    548: as_executable_p=as_fn_executable_p
                    549: 
                    550: # Sed expression to map a string onto a valid CPP name.
                    551: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    552: 
                    553: # Sed expression to map a string onto a valid variable name.
                    554: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    555: 
                    556: 
                    557: test -n "$DJDIR" || exec 7<&0 </dev/null
                    558: exec 6>&1
                    559: 
                    560: # Name of the host.
                    561: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    562: # so uname gets run too.
                    563: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    564: 
                    565: #
                    566: # Initializations.
                    567: #
                    568: ac_default_prefix=/usr/local
                    569: ac_clean_files=
                    570: ac_config_libobj_dir=.
                    571: LIBOBJS=
                    572: cross_compiling=no
                    573: subdirs=
                    574: MFLAGS=
                    575: MAKEFLAGS=
                    576: 
                    577: # Identity of this package.
                    578: PACKAGE_NAME='tmux'
                    579: PACKAGE_TARNAME='tmux'
                    580: PACKAGE_VERSION='2.4'
                    581: PACKAGE_STRING='tmux 2.4'
                    582: PACKAGE_BUGREPORT=''
                    583: PACKAGE_URL=''
                    584: 
                    585: ac_config_libobj_dir=compat
                    586: # Factoring default headers for most tests.
                    587: ac_includes_default="\
                    588: #include <stdio.h>
                    589: #ifdef HAVE_SYS_TYPES_H
                    590: # include <sys/types.h>
                    591: #endif
                    592: #ifdef HAVE_SYS_STAT_H
                    593: # include <sys/stat.h>
                    594: #endif
                    595: #ifdef STDC_HEADERS
                    596: # include <stdlib.h>
                    597: # include <stddef.h>
                    598: #else
                    599: # ifdef HAVE_STDLIB_H
                    600: #  include <stdlib.h>
                    601: # endif
                    602: #endif
                    603: #ifdef HAVE_STRING_H
                    604: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    605: #  include <memory.h>
                    606: # endif
                    607: # include <string.h>
                    608: #endif
                    609: #ifdef HAVE_STRINGS_H
                    610: # include <strings.h>
                    611: #endif
                    612: #ifdef HAVE_INTTYPES_H
                    613: # include <inttypes.h>
                    614: #endif
                    615: #ifdef HAVE_STDINT_H
                    616: # include <stdint.h>
                    617: #endif
                    618: #ifdef HAVE_UNISTD_H
                    619: # include <unistd.h>
                    620: #endif"
                    621: 
                    622: ac_subst_vars='am__EXEEXT_FALSE
                    623: am__EXEEXT_TRUE
                    624: LTLIBOBJS
                    625: AM_LDFLAGS
                    626: AM_CFLAGS
                    627: AM_CPPFLAGS
                    628: IS_UNKNOWN_FALSE
                    629: IS_UNKNOWN_TRUE
                    630: IS_HPUX_FALSE
                    631: IS_HPUX_TRUE
                    632: IS_SUNOS_FALSE
                    633: IS_SUNOS_TRUE
                    634: IS_OPENBSD_FALSE
                    635: IS_OPENBSD_TRUE
                    636: IS_NETBSD_FALSE
                    637: IS_NETBSD_TRUE
                    638: IS_FREEBSD_FALSE
                    639: IS_FREEBSD_TRUE
                    640: IS_LINUX_FALSE
                    641: IS_LINUX_TRUE
                    642: IS_DRAGONFLY_FALSE
                    643: IS_DRAGONFLY_TRUE
                    644: IS_DARWIN_FALSE
                    645: IS_DARWIN_TRUE
                    646: IS_AIX_FALSE
                    647: IS_AIX_TRUE
                    648: PLATFORM
                    649: MANFORMAT
                    650: NEED_FORKPTY_FALSE
                    651: NEED_FORKPTY_TRUE
                    652: XOPEN_DEFINES
                    653: HAVE_UTF8PROC_FALSE
                    654: HAVE_UTF8PROC_TRUE
                    655: LIBNCURSES_LIBS
                    656: LIBNCURSES_CFLAGS
                    657: LIBTINFO_LIBS
                    658: LIBTINFO_CFLAGS
                    659: LIBEVENT_LIBS
                    660: LIBEVENT_CFLAGS
                    661: LIBOBJS
                    662: IS_SUNCC_FALSE
                    663: IS_SUNCC_TRUE
                    664: IS_GCC_FALSE
                    665: IS_GCC_TRUE
                    666: IS_DEBUG_FALSE
                    667: IS_DEBUG_TRUE
                    668: PKG_CONFIG_LIBDIR
                    669: PKG_CONFIG_PATH
                    670: PKG_CONFIG
                    671: EGREP
                    672: GREP
                    673: CPP
                    674: am__fastdepCC_FALSE
                    675: am__fastdepCC_TRUE
                    676: CCDEPMODE
                    677: am__nodep
                    678: AMDEPBACKSLASH
                    679: AMDEP_FALSE
                    680: AMDEP_TRUE
                    681: am__quote
                    682: am__include
                    683: DEPDIR
                    684: OBJEXT
                    685: EXEEXT
                    686: ac_ct_CC
                    687: CPPFLAGS
                    688: LDFLAGS
                    689: CFLAGS
                    690: CC
                    691: host_os
                    692: host_vendor
                    693: host_cpu
                    694: host
                    695: build_os
                    696: build_vendor
                    697: build_cpu
                    698: build
                    699: AM_BACKSLASH
                    700: AM_DEFAULT_VERBOSITY
                    701: AM_DEFAULT_V
                    702: AM_V
                    703: am__untar
                    704: am__tar
                    705: AMTAR
                    706: am__leading_dot
                    707: SET_MAKE
                    708: AWK
                    709: mkdir_p
                    710: MKDIR_P
                    711: INSTALL_STRIP_PROGRAM
                    712: STRIP
                    713: install_sh
                    714: MAKEINFO
                    715: AUTOHEADER
                    716: AUTOMAKE
                    717: AUTOCONF
                    718: ACLOCAL
                    719: VERSION
                    720: PACKAGE
                    721: CYGPATH_W
                    722: am__isrc
                    723: INSTALL_DATA
                    724: INSTALL_SCRIPT
                    725: INSTALL_PROGRAM
                    726: target_alias
                    727: host_alias
                    728: build_alias
                    729: LIBS
                    730: ECHO_T
                    731: ECHO_N
                    732: ECHO_C
                    733: DEFS
                    734: mandir
                    735: localedir
                    736: libdir
                    737: psdir
                    738: pdfdir
                    739: dvidir
                    740: htmldir
                    741: infodir
                    742: docdir
                    743: oldincludedir
                    744: includedir
                    745: localstatedir
                    746: sharedstatedir
                    747: sysconfdir
                    748: datadir
                    749: datarootdir
                    750: libexecdir
                    751: sbindir
                    752: bindir
                    753: program_transform_name
                    754: prefix
                    755: exec_prefix
                    756: PACKAGE_URL
                    757: PACKAGE_BUGREPORT
                    758: PACKAGE_STRING
                    759: PACKAGE_VERSION
                    760: PACKAGE_TARNAME
                    761: PACKAGE_NAME
                    762: PATH_SEPARATOR
                    763: SHELL'
                    764: ac_subst_files=''
                    765: ac_user_opts='
                    766: enable_option_checking
                    767: enable_silent_rules
                    768: enable_dependency_tracking
                    769: enable_debug
                    770: enable_static
                    771: enable_utempter
                    772: enable_utf8proc
                    773: '
                    774:       ac_precious_vars='build_alias
                    775: host_alias
                    776: target_alias
                    777: CC
                    778: CFLAGS
                    779: LDFLAGS
                    780: LIBS
                    781: CPPFLAGS
                    782: CPP
                    783: PKG_CONFIG
                    784: PKG_CONFIG_PATH
                    785: PKG_CONFIG_LIBDIR
                    786: LIBEVENT_CFLAGS
                    787: LIBEVENT_LIBS
                    788: LIBTINFO_CFLAGS
                    789: LIBTINFO_LIBS
                    790: LIBNCURSES_CFLAGS
                    791: LIBNCURSES_LIBS'
                    792: 
                    793: 
                    794: # Initialize some variables set by options.
                    795: ac_init_help=
                    796: ac_init_version=false
                    797: ac_unrecognized_opts=
                    798: ac_unrecognized_sep=
                    799: # The variables have the same names as the options, with
                    800: # dashes changed to underlines.
                    801: cache_file=/dev/null
                    802: exec_prefix=NONE
                    803: no_create=
                    804: no_recursion=
                    805: prefix=NONE
                    806: program_prefix=NONE
                    807: program_suffix=NONE
                    808: program_transform_name=s,x,x,
                    809: silent=
                    810: site=
                    811: srcdir=
                    812: verbose=
                    813: x_includes=NONE
                    814: x_libraries=NONE
                    815: 
                    816: # Installation directory options.
                    817: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    818: # and all the variables that are supposed to be based on exec_prefix
                    819: # by default will actually change.
                    820: # Use braces instead of parens because sh, perl, etc. also accept them.
                    821: # (The list follows the same order as the GNU Coding Standards.)
                    822: bindir='${exec_prefix}/bin'
                    823: sbindir='${exec_prefix}/sbin'
                    824: libexecdir='${exec_prefix}/libexec'
                    825: datarootdir='${prefix}/share'
                    826: datadir='${datarootdir}'
                    827: sysconfdir='${prefix}/etc'
                    828: sharedstatedir='${prefix}/com'
                    829: localstatedir='${prefix}/var'
                    830: includedir='${prefix}/include'
                    831: oldincludedir='/usr/include'
                    832: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    833: infodir='${datarootdir}/info'
                    834: htmldir='${docdir}'
                    835: dvidir='${docdir}'
                    836: pdfdir='${docdir}'
                    837: psdir='${docdir}'
                    838: libdir='${exec_prefix}/lib'
                    839: localedir='${datarootdir}/locale'
                    840: mandir='${datarootdir}/man'
                    841: 
                    842: ac_prev=
                    843: ac_dashdash=
                    844: for ac_option
                    845: do
                    846:   # If the previous option needs an argument, assign it.
                    847:   if test -n "$ac_prev"; then
                    848:     eval $ac_prev=\$ac_option
                    849:     ac_prev=
                    850:     continue
                    851:   fi
                    852: 
                    853:   case $ac_option in
                    854:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    855:   *=)   ac_optarg= ;;
                    856:   *)    ac_optarg=yes ;;
                    857:   esac
                    858: 
                    859:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    860: 
                    861:   case $ac_dashdash$ac_option in
                    862:   --)
                    863:     ac_dashdash=yes ;;
                    864: 
                    865:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    866:     ac_prev=bindir ;;
                    867:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    868:     bindir=$ac_optarg ;;
                    869: 
                    870:   -build | --build | --buil | --bui | --bu)
                    871:     ac_prev=build_alias ;;
                    872:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    873:     build_alias=$ac_optarg ;;
                    874: 
                    875:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    876:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    877:     ac_prev=cache_file ;;
                    878:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    879:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    880:     cache_file=$ac_optarg ;;
                    881: 
                    882:   --config-cache | -C)
                    883:     cache_file=config.cache ;;
                    884: 
                    885:   -datadir | --datadir | --datadi | --datad)
                    886:     ac_prev=datadir ;;
                    887:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    888:     datadir=$ac_optarg ;;
                    889: 
                    890:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    891:   | --dataroo | --dataro | --datar)
                    892:     ac_prev=datarootdir ;;
                    893:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    894:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    895:     datarootdir=$ac_optarg ;;
                    896: 
                    897:   -disable-* | --disable-*)
                    898:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    899:     # Reject names that are not valid shell variable names.
                    900:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    901:       as_fn_error $? "invalid feature name: $ac_useropt"
                    902:     ac_useropt_orig=$ac_useropt
                    903:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    904:     case $ac_user_opts in
                    905:       *"
                    906: "enable_$ac_useropt"
                    907: "*) ;;
                    908:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    909:         ac_unrecognized_sep=', ';;
                    910:     esac
                    911:     eval enable_$ac_useropt=no ;;
                    912: 
                    913:   -docdir | --docdir | --docdi | --doc | --do)
                    914:     ac_prev=docdir ;;
                    915:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    916:     docdir=$ac_optarg ;;
                    917: 
                    918:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    919:     ac_prev=dvidir ;;
                    920:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    921:     dvidir=$ac_optarg ;;
                    922: 
                    923:   -enable-* | --enable-*)
                    924:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    925:     # Reject names that are not valid shell variable names.
                    926:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    927:       as_fn_error $? "invalid feature name: $ac_useropt"
                    928:     ac_useropt_orig=$ac_useropt
                    929:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    930:     case $ac_user_opts in
                    931:       *"
                    932: "enable_$ac_useropt"
                    933: "*) ;;
                    934:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    935:         ac_unrecognized_sep=', ';;
                    936:     esac
                    937:     eval enable_$ac_useropt=\$ac_optarg ;;
                    938: 
                    939:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    940:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    941:   | --exec | --exe | --ex)
                    942:     ac_prev=exec_prefix ;;
                    943:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    944:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    945:   | --exec=* | --exe=* | --ex=*)
                    946:     exec_prefix=$ac_optarg ;;
                    947: 
                    948:   -gas | --gas | --ga | --g)
                    949:     # Obsolete; use --with-gas.
                    950:     with_gas=yes ;;
                    951: 
                    952:   -help | --help | --hel | --he | -h)
                    953:     ac_init_help=long ;;
                    954:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    955:     ac_init_help=recursive ;;
                    956:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    957:     ac_init_help=short ;;
                    958: 
                    959:   -host | --host | --hos | --ho)
                    960:     ac_prev=host_alias ;;
                    961:   -host=* | --host=* | --hos=* | --ho=*)
                    962:     host_alias=$ac_optarg ;;
                    963: 
                    964:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    965:     ac_prev=htmldir ;;
                    966:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    967:   | --ht=*)
                    968:     htmldir=$ac_optarg ;;
                    969: 
                    970:   -includedir | --includedir | --includedi | --included | --include \
                    971:   | --includ | --inclu | --incl | --inc)
                    972:     ac_prev=includedir ;;
                    973:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    974:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    975:     includedir=$ac_optarg ;;
                    976: 
                    977:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    978:     ac_prev=infodir ;;
                    979:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    980:     infodir=$ac_optarg ;;
                    981: 
                    982:   -libdir | --libdir | --libdi | --libd)
                    983:     ac_prev=libdir ;;
                    984:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    985:     libdir=$ac_optarg ;;
                    986: 
                    987:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    988:   | --libexe | --libex | --libe)
                    989:     ac_prev=libexecdir ;;
                    990:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    991:   | --libexe=* | --libex=* | --libe=*)
                    992:     libexecdir=$ac_optarg ;;
                    993: 
                    994:   -localedir | --localedir | --localedi | --localed | --locale)
                    995:     ac_prev=localedir ;;
                    996:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    997:     localedir=$ac_optarg ;;
                    998: 
                    999:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1000:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1001:     ac_prev=localstatedir ;;
                   1002:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1003:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1004:     localstatedir=$ac_optarg ;;
                   1005: 
                   1006:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1007:     ac_prev=mandir ;;
                   1008:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1009:     mandir=$ac_optarg ;;
                   1010: 
                   1011:   -nfp | --nfp | --nf)
                   1012:     # Obsolete; use --without-fp.
                   1013:     with_fp=no ;;
                   1014: 
                   1015:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1016:   | --no-cr | --no-c | -n)
                   1017:     no_create=yes ;;
                   1018: 
                   1019:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1020:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1021:     no_recursion=yes ;;
                   1022: 
                   1023:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1024:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1025:   | --oldin | --oldi | --old | --ol | --o)
                   1026:     ac_prev=oldincludedir ;;
                   1027:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1028:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1029:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1030:     oldincludedir=$ac_optarg ;;
                   1031: 
                   1032:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1033:     ac_prev=prefix ;;
                   1034:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1035:     prefix=$ac_optarg ;;
                   1036: 
                   1037:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1038:   | --program-pre | --program-pr | --program-p)
                   1039:     ac_prev=program_prefix ;;
                   1040:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1041:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1042:     program_prefix=$ac_optarg ;;
                   1043: 
                   1044:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1045:   | --program-suf | --program-su | --program-s)
                   1046:     ac_prev=program_suffix ;;
                   1047:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1048:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1049:     program_suffix=$ac_optarg ;;
                   1050: 
                   1051:   -program-transform-name | --program-transform-name \
                   1052:   | --program-transform-nam | --program-transform-na \
                   1053:   | --program-transform-n | --program-transform- \
                   1054:   | --program-transform | --program-transfor \
                   1055:   | --program-transfo | --program-transf \
                   1056:   | --program-trans | --program-tran \
                   1057:   | --progr-tra | --program-tr | --program-t)
                   1058:     ac_prev=program_transform_name ;;
                   1059:   -program-transform-name=* | --program-transform-name=* \
                   1060:   | --program-transform-nam=* | --program-transform-na=* \
                   1061:   | --program-transform-n=* | --program-transform-=* \
                   1062:   | --program-transform=* | --program-transfor=* \
                   1063:   | --program-transfo=* | --program-transf=* \
                   1064:   | --program-trans=* | --program-tran=* \
                   1065:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1066:     program_transform_name=$ac_optarg ;;
                   1067: 
                   1068:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1069:     ac_prev=pdfdir ;;
                   1070:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1071:     pdfdir=$ac_optarg ;;
                   1072: 
                   1073:   -psdir | --psdir | --psdi | --psd | --ps)
                   1074:     ac_prev=psdir ;;
                   1075:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1076:     psdir=$ac_optarg ;;
                   1077: 
                   1078:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1079:   | -silent | --silent | --silen | --sile | --sil)
                   1080:     silent=yes ;;
                   1081: 
                   1082:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1083:     ac_prev=sbindir ;;
                   1084:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1085:   | --sbi=* | --sb=*)
                   1086:     sbindir=$ac_optarg ;;
                   1087: 
                   1088:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1089:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1090:   | --sharedst | --shareds | --shared | --share | --shar \
                   1091:   | --sha | --sh)
                   1092:     ac_prev=sharedstatedir ;;
                   1093:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1094:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1095:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1096:   | --sha=* | --sh=*)
                   1097:     sharedstatedir=$ac_optarg ;;
                   1098: 
                   1099:   -site | --site | --sit)
                   1100:     ac_prev=site ;;
                   1101:   -site=* | --site=* | --sit=*)
                   1102:     site=$ac_optarg ;;
                   1103: 
                   1104:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1105:     ac_prev=srcdir ;;
                   1106:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1107:     srcdir=$ac_optarg ;;
                   1108: 
                   1109:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1110:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1111:     ac_prev=sysconfdir ;;
                   1112:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1113:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1114:     sysconfdir=$ac_optarg ;;
                   1115: 
                   1116:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1117:     ac_prev=target_alias ;;
                   1118:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1119:     target_alias=$ac_optarg ;;
                   1120: 
                   1121:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1122:     verbose=yes ;;
                   1123: 
                   1124:   -version | --version | --versio | --versi | --vers | -V)
                   1125:     ac_init_version=: ;;
                   1126: 
                   1127:   -with-* | --with-*)
                   1128:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1129:     # Reject names that are not valid shell variable names.
                   1130:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1131:       as_fn_error $? "invalid package name: $ac_useropt"
                   1132:     ac_useropt_orig=$ac_useropt
                   1133:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1134:     case $ac_user_opts in
                   1135:       *"
                   1136: "with_$ac_useropt"
                   1137: "*) ;;
                   1138:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1139:         ac_unrecognized_sep=', ';;
                   1140:     esac
                   1141:     eval with_$ac_useropt=\$ac_optarg ;;
                   1142: 
                   1143:   -without-* | --without-*)
                   1144:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1145:     # Reject names that are not valid shell variable names.
                   1146:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1147:       as_fn_error $? "invalid package name: $ac_useropt"
                   1148:     ac_useropt_orig=$ac_useropt
                   1149:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1150:     case $ac_user_opts in
                   1151:       *"
                   1152: "with_$ac_useropt"
                   1153: "*) ;;
                   1154:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1155:         ac_unrecognized_sep=', ';;
                   1156:     esac
                   1157:     eval with_$ac_useropt=no ;;
                   1158: 
                   1159:   --x)
                   1160:     # Obsolete; use --with-x.
                   1161:     with_x=yes ;;
                   1162: 
                   1163:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1164:   | --x-incl | --x-inc | --x-in | --x-i)
                   1165:     ac_prev=x_includes ;;
                   1166:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1167:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1168:     x_includes=$ac_optarg ;;
                   1169: 
                   1170:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1171:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1172:     ac_prev=x_libraries ;;
                   1173:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1174:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1175:     x_libraries=$ac_optarg ;;
                   1176: 
                   1177:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1178: Try \`$0 --help' for more information"
                   1179:     ;;
                   1180: 
                   1181:   *=*)
                   1182:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1183:     # Reject names that are not valid shell variable names.
                   1184:     case $ac_envvar in #(
                   1185:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1186:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1187:     esac
                   1188:     eval $ac_envvar=\$ac_optarg
                   1189:     export $ac_envvar ;;
                   1190: 
                   1191:   *)
                   1192:     # FIXME: should be removed in autoconf 3.0.
                   1193:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1194:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1195:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1196:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1197:     ;;
                   1198: 
                   1199:   esac
                   1200: done
                   1201: 
                   1202: if test -n "$ac_prev"; then
                   1203:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1204:   as_fn_error $? "missing argument to $ac_option"
                   1205: fi
                   1206: 
                   1207: if test -n "$ac_unrecognized_opts"; then
                   1208:   case $enable_option_checking in
                   1209:     no) ;;
                   1210:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1211:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1212:   esac
                   1213: fi
                   1214: 
                   1215: # Check all directory arguments for consistency.
                   1216: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1217:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1218:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1219:                libdir localedir mandir
                   1220: do
                   1221:   eval ac_val=\$$ac_var
                   1222:   # Remove trailing slashes.
                   1223:   case $ac_val in
                   1224:     */ )
                   1225:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1226:       eval $ac_var=\$ac_val;;
                   1227:   esac
                   1228:   # Be sure to have absolute directory names.
                   1229:   case $ac_val in
                   1230:     [\\/$]* | ?:[\\/]* )  continue;;
                   1231:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1232:   esac
                   1233:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1234: done
                   1235: 
                   1236: # There might be people who depend on the old broken behavior: `$host'
                   1237: # used to hold the argument of --host etc.
                   1238: # FIXME: To remove some day.
                   1239: build=$build_alias
                   1240: host=$host_alias
                   1241: target=$target_alias
                   1242: 
                   1243: # FIXME: To remove some day.
                   1244: if test "x$host_alias" != x; then
                   1245:   if test "x$build_alias" = x; then
                   1246:     cross_compiling=maybe
                   1247:   elif test "x$build_alias" != "x$host_alias"; then
                   1248:     cross_compiling=yes
                   1249:   fi
                   1250: fi
                   1251: 
                   1252: ac_tool_prefix=
                   1253: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1254: 
                   1255: test "$silent" = yes && exec 6>/dev/null
                   1256: 
                   1257: 
                   1258: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1259: ac_ls_di=`ls -di .` &&
                   1260: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1261:   as_fn_error $? "working directory cannot be determined"
                   1262: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1263:   as_fn_error $? "pwd does not report name of working directory"
                   1264: 
                   1265: 
                   1266: # Find the source files, if location was not specified.
                   1267: if test -z "$srcdir"; then
                   1268:   ac_srcdir_defaulted=yes
                   1269:   # Try the directory containing this script, then the parent directory.
                   1270:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1271: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1272:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1273:         X"$as_myself" : 'X\(//\)$' \| \
                   1274:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1275: $as_echo X"$as_myself" |
                   1276:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1277:            s//\1/
                   1278:            q
                   1279:          }
                   1280:          /^X\(\/\/\)[^/].*/{
                   1281:            s//\1/
                   1282:            q
                   1283:          }
                   1284:          /^X\(\/\/\)$/{
                   1285:            s//\1/
                   1286:            q
                   1287:          }
                   1288:          /^X\(\/\).*/{
                   1289:            s//\1/
                   1290:            q
                   1291:          }
                   1292:          s/.*/./; q'`
                   1293:   srcdir=$ac_confdir
                   1294:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1295:     srcdir=..
                   1296:   fi
                   1297: else
                   1298:   ac_srcdir_defaulted=no
                   1299: fi
                   1300: if test ! -r "$srcdir/$ac_unique_file"; then
                   1301:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1302:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1303: fi
                   1304: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1305: ac_abs_confdir=`(
                   1306:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1307:        pwd)`
                   1308: # When building in place, set srcdir=.
                   1309: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1310:   srcdir=.
                   1311: fi
                   1312: # Remove unnecessary trailing slashes from srcdir.
                   1313: # Double slashes in file names in object file debugging info
                   1314: # mess up M-x gdb in Emacs.
                   1315: case $srcdir in
                   1316: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1317: esac
                   1318: for ac_var in $ac_precious_vars; do
                   1319:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1320:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1321:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1322:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1323: done
                   1324: 
                   1325: #
                   1326: # Report the --help message.
                   1327: #
                   1328: if test "$ac_init_help" = "long"; then
                   1329:   # Omit some internal or obsolete options to make the list less imposing.
                   1330:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1331:   cat <<_ACEOF
                   1332: \`configure' configures tmux 2.4 to adapt to many kinds of systems.
                   1333: 
                   1334: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1335: 
                   1336: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1337: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1338: 
                   1339: Defaults for the options are specified in brackets.
                   1340: 
                   1341: Configuration:
                   1342:   -h, --help              display this help and exit
                   1343:       --help=short        display options specific to this package
                   1344:       --help=recursive    display the short help of all the included packages
                   1345:   -V, --version           display version information and exit
                   1346:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1347:       --cache-file=FILE   cache test results in FILE [disabled]
                   1348:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1349:   -n, --no-create         do not create output files
                   1350:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1351: 
                   1352: Installation directories:
                   1353:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1354:                           [$ac_default_prefix]
                   1355:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1356:                           [PREFIX]
                   1357: 
                   1358: By default, \`make install' will install all the files in
                   1359: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1360: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1361: for instance \`--prefix=\$HOME'.
                   1362: 
                   1363: For better control, use the options below.
                   1364: 
                   1365: Fine tuning of the installation directories:
                   1366:   --bindir=DIR            user executables [EPREFIX/bin]
                   1367:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1368:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1369:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1370:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1371:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1372:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1373:   --includedir=DIR        C header files [PREFIX/include]
                   1374:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1375:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1376:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1377:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1378:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1379:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1380:   --docdir=DIR            documentation root [DATAROOTDIR/doc/tmux]
                   1381:   --htmldir=DIR           html documentation [DOCDIR]
                   1382:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1383:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1384:   --psdir=DIR             ps documentation [DOCDIR]
                   1385: _ACEOF
                   1386: 
                   1387:   cat <<\_ACEOF
                   1388: 
                   1389: Program names:
                   1390:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1391:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1392:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1393: 
                   1394: System types:
                   1395:   --build=BUILD     configure for building on BUILD [guessed]
                   1396:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1397: _ACEOF
                   1398: fi
                   1399: 
                   1400: if test -n "$ac_init_help"; then
                   1401:   case $ac_init_help in
                   1402:      short | recursive ) echo "Configuration of tmux 2.4:";;
                   1403:    esac
                   1404:   cat <<\_ACEOF
                   1405: 
                   1406: Optional Features:
                   1407:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1408:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1409:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1410:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1411:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1412:   --enable-dependency-tracking
                   1413:                           do not reject slow dependency extractors
                   1414:   --disable-dependency-tracking
                   1415:                           speeds up one-time build
                   1416:   --enable-debug          enable debug build flags
                   1417:   --enable-static         create a static build
                   1418: 
                   1419:   --enable-utempter       use utempter if it is installed
                   1420: 
                   1421:   --enable-utf8proc       use utf8proc if it is installed
                   1422: 
                   1423: 
                   1424: Some influential environment variables:
                   1425:   CC          C compiler command
                   1426:   CFLAGS      C compiler flags
                   1427:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1428:               nonstandard directory <lib dir>
                   1429:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1430:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1431:               you have headers in a nonstandard directory <include dir>
                   1432:   CPP         C preprocessor
                   1433:   PKG_CONFIG  path to pkg-config utility
                   1434:   PKG_CONFIG_PATH
                   1435:               directories to add to pkg-config's search path
                   1436:   PKG_CONFIG_LIBDIR
                   1437:               path overriding pkg-config's built-in search path
                   1438:   LIBEVENT_CFLAGS
                   1439:               C compiler flags for LIBEVENT, overriding pkg-config
                   1440:   LIBEVENT_LIBS
                   1441:               linker flags for LIBEVENT, overriding pkg-config
                   1442:   LIBTINFO_CFLAGS
                   1443:               C compiler flags for LIBTINFO, overriding pkg-config
                   1444:   LIBTINFO_LIBS
                   1445:               linker flags for LIBTINFO, overriding pkg-config
                   1446:   LIBNCURSES_CFLAGS
                   1447:               C compiler flags for LIBNCURSES, overriding pkg-config
                   1448:   LIBNCURSES_LIBS
                   1449:               linker flags for LIBNCURSES, overriding pkg-config
                   1450: 
                   1451: Use these variables to override the choices made by `configure' or to help
                   1452: it to find libraries and programs with nonstandard names/locations.
                   1453: 
                   1454: Report bugs to the package provider.
                   1455: _ACEOF
                   1456: ac_status=$?
                   1457: fi
                   1458: 
                   1459: if test "$ac_init_help" = "recursive"; then
                   1460:   # If there are subdirs, report their specific --help.
                   1461:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1462:     test -d "$ac_dir" ||
                   1463:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1464:       continue
                   1465:     ac_builddir=.
                   1466: 
                   1467: case "$ac_dir" in
                   1468: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1469: *)
                   1470:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1471:   # A ".." for each directory in $ac_dir_suffix.
                   1472:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1473:   case $ac_top_builddir_sub in
                   1474:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1475:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1476:   esac ;;
                   1477: esac
                   1478: ac_abs_top_builddir=$ac_pwd
                   1479: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1480: # for backward compatibility:
                   1481: ac_top_builddir=$ac_top_build_prefix
                   1482: 
                   1483: case $srcdir in
                   1484:   .)  # We are building in place.
                   1485:     ac_srcdir=.
                   1486:     ac_top_srcdir=$ac_top_builddir_sub
                   1487:     ac_abs_top_srcdir=$ac_pwd ;;
                   1488:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1489:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1490:     ac_top_srcdir=$srcdir
                   1491:     ac_abs_top_srcdir=$srcdir ;;
                   1492:   *) # Relative name.
                   1493:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1494:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1495:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1496: esac
                   1497: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1498: 
                   1499:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1500:     # Check for guested configure.
                   1501:     if test -f "$ac_srcdir/configure.gnu"; then
                   1502:       echo &&
                   1503:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1504:     elif test -f "$ac_srcdir/configure"; then
                   1505:       echo &&
                   1506:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1507:     else
                   1508:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1509:     fi || ac_status=$?
                   1510:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1511:   done
                   1512: fi
                   1513: 
                   1514: test -n "$ac_init_help" && exit $ac_status
                   1515: if $ac_init_version; then
                   1516:   cat <<\_ACEOF
                   1517: tmux configure 2.4
                   1518: generated by GNU Autoconf 2.69
                   1519: 
                   1520: Copyright (C) 2012 Free Software Foundation, Inc.
                   1521: This configure script is free software; the Free Software Foundation
                   1522: gives unlimited permission to copy, distribute and modify it.
                   1523: _ACEOF
                   1524:   exit
                   1525: fi
                   1526: 
                   1527: ## ------------------------ ##
                   1528: ## Autoconf initialization. ##
                   1529: ## ------------------------ ##
                   1530: 
                   1531: # ac_fn_c_try_compile LINENO
                   1532: # --------------------------
                   1533: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1534: ac_fn_c_try_compile ()
                   1535: {
                   1536:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1537:   rm -f conftest.$ac_objext
                   1538:   if { { ac_try="$ac_compile"
                   1539: case "(($ac_try" in
                   1540:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1541:   *) ac_try_echo=$ac_try;;
                   1542: esac
                   1543: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1544: $as_echo "$ac_try_echo"; } >&5
                   1545:   (eval "$ac_compile") 2>conftest.err
                   1546:   ac_status=$?
                   1547:   if test -s conftest.err; then
                   1548:     grep -v '^ *+' conftest.err >conftest.er1
                   1549:     cat conftest.er1 >&5
                   1550:     mv -f conftest.er1 conftest.err
                   1551:   fi
                   1552:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1553:   test $ac_status = 0; } && {
                   1554:         test -z "$ac_c_werror_flag" ||
                   1555:         test ! -s conftest.err
                   1556:        } && test -s conftest.$ac_objext; then :
                   1557:   ac_retval=0
                   1558: else
                   1559:   $as_echo "$as_me: failed program was:" >&5
                   1560: sed 's/^/| /' conftest.$ac_ext >&5
                   1561: 
                   1562:        ac_retval=1
                   1563: fi
                   1564:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1565:   as_fn_set_status $ac_retval
                   1566: 
                   1567: } # ac_fn_c_try_compile
                   1568: 
                   1569: # ac_fn_c_try_cpp LINENO
                   1570: # ----------------------
                   1571: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1572: ac_fn_c_try_cpp ()
                   1573: {
                   1574:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1575:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1576: case "(($ac_try" in
                   1577:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1578:   *) ac_try_echo=$ac_try;;
                   1579: esac
                   1580: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1581: $as_echo "$ac_try_echo"; } >&5
                   1582:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1583:   ac_status=$?
                   1584:   if test -s conftest.err; then
                   1585:     grep -v '^ *+' conftest.err >conftest.er1
                   1586:     cat conftest.er1 >&5
                   1587:     mv -f conftest.er1 conftest.err
                   1588:   fi
                   1589:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1590:   test $ac_status = 0; } > conftest.i && {
                   1591:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1592:         test ! -s conftest.err
                   1593:        }; then :
                   1594:   ac_retval=0
                   1595: else
                   1596:   $as_echo "$as_me: failed program was:" >&5
                   1597: sed 's/^/| /' conftest.$ac_ext >&5
                   1598: 
                   1599:     ac_retval=1
                   1600: fi
                   1601:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1602:   as_fn_set_status $ac_retval
                   1603: 
                   1604: } # ac_fn_c_try_cpp
                   1605: 
                   1606: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1607: # -------------------------------------------------------
                   1608: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1609: # the include files in INCLUDES and setting the cache variable VAR
                   1610: # accordingly.
                   1611: ac_fn_c_check_header_mongrel ()
                   1612: {
                   1613:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1614:   if eval \${$3+:} false; then :
                   1615:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1616: $as_echo_n "checking for $2... " >&6; }
                   1617: if eval \${$3+:} false; then :
                   1618:   $as_echo_n "(cached) " >&6
                   1619: fi
                   1620: eval ac_res=\$$3
                   1621:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1622: $as_echo "$ac_res" >&6; }
                   1623: else
                   1624:   # Is the header compilable?
                   1625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1626: $as_echo_n "checking $2 usability... " >&6; }
                   1627: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1628: /* end confdefs.h.  */
                   1629: $4
                   1630: #include <$2>
                   1631: _ACEOF
                   1632: if ac_fn_c_try_compile "$LINENO"; then :
                   1633:   ac_header_compiler=yes
                   1634: else
                   1635:   ac_header_compiler=no
                   1636: fi
                   1637: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1639: $as_echo "$ac_header_compiler" >&6; }
                   1640: 
                   1641: # Is the header present?
                   1642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1643: $as_echo_n "checking $2 presence... " >&6; }
                   1644: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1645: /* end confdefs.h.  */
                   1646: #include <$2>
                   1647: _ACEOF
                   1648: if ac_fn_c_try_cpp "$LINENO"; then :
                   1649:   ac_header_preproc=yes
                   1650: else
                   1651:   ac_header_preproc=no
                   1652: fi
                   1653: rm -f conftest.err conftest.i conftest.$ac_ext
                   1654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1655: $as_echo "$ac_header_preproc" >&6; }
                   1656: 
                   1657: # So?  What about this header?
                   1658: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1659:   yes:no: )
                   1660:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1661: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1662:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1663: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1664:     ;;
                   1665:   no:yes:* )
                   1666:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1667: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1668:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1669: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1670:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1671: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1672:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1673: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1674:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1675: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1676:     ;;
                   1677: esac
                   1678:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1679: $as_echo_n "checking for $2... " >&6; }
                   1680: if eval \${$3+:} false; then :
                   1681:   $as_echo_n "(cached) " >&6
                   1682: else
                   1683:   eval "$3=\$ac_header_compiler"
                   1684: fi
                   1685: eval ac_res=\$$3
                   1686:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1687: $as_echo "$ac_res" >&6; }
                   1688: fi
                   1689:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1690: 
                   1691: } # ac_fn_c_check_header_mongrel
                   1692: 
                   1693: # ac_fn_c_try_run LINENO
                   1694: # ----------------------
                   1695: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1696: # that executables *can* be run.
                   1697: ac_fn_c_try_run ()
                   1698: {
                   1699:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1700:   if { { ac_try="$ac_link"
                   1701: case "(($ac_try" in
                   1702:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1703:   *) ac_try_echo=$ac_try;;
                   1704: esac
                   1705: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1706: $as_echo "$ac_try_echo"; } >&5
                   1707:   (eval "$ac_link") 2>&5
                   1708:   ac_status=$?
                   1709:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1710:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1711:   { { case "(($ac_try" in
                   1712:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1713:   *) ac_try_echo=$ac_try;;
                   1714: esac
                   1715: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1716: $as_echo "$ac_try_echo"; } >&5
                   1717:   (eval "$ac_try") 2>&5
                   1718:   ac_status=$?
                   1719:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1720:   test $ac_status = 0; }; }; then :
                   1721:   ac_retval=0
                   1722: else
                   1723:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1724:        $as_echo "$as_me: failed program was:" >&5
                   1725: sed 's/^/| /' conftest.$ac_ext >&5
                   1726: 
                   1727:        ac_retval=$ac_status
                   1728: fi
                   1729:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1730:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1731:   as_fn_set_status $ac_retval
                   1732: 
                   1733: } # ac_fn_c_try_run
                   1734: 
                   1735: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1736: # -------------------------------------------------------
                   1737: # Tests whether HEADER exists and can be compiled using the include files in
                   1738: # INCLUDES, setting the cache variable VAR accordingly.
                   1739: ac_fn_c_check_header_compile ()
                   1740: {
                   1741:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1742:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1743: $as_echo_n "checking for $2... " >&6; }
                   1744: if eval \${$3+:} false; then :
                   1745:   $as_echo_n "(cached) " >&6
                   1746: else
                   1747:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1748: /* end confdefs.h.  */
                   1749: $4
                   1750: #include <$2>
                   1751: _ACEOF
                   1752: if ac_fn_c_try_compile "$LINENO"; then :
                   1753:   eval "$3=yes"
                   1754: else
                   1755:   eval "$3=no"
                   1756: fi
                   1757: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1758: fi
                   1759: eval ac_res=\$$3
                   1760:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1761: $as_echo "$ac_res" >&6; }
                   1762:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1763: 
                   1764: } # ac_fn_c_check_header_compile
                   1765: 
                   1766: # ac_fn_c_try_link LINENO
                   1767: # -----------------------
                   1768: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1769: ac_fn_c_try_link ()
                   1770: {
                   1771:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1772:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1773:   if { { ac_try="$ac_link"
                   1774: case "(($ac_try" in
                   1775:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1776:   *) ac_try_echo=$ac_try;;
                   1777: esac
                   1778: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1779: $as_echo "$ac_try_echo"; } >&5
                   1780:   (eval "$ac_link") 2>conftest.err
                   1781:   ac_status=$?
                   1782:   if test -s conftest.err; then
                   1783:     grep -v '^ *+' conftest.err >conftest.er1
                   1784:     cat conftest.er1 >&5
                   1785:     mv -f conftest.er1 conftest.err
                   1786:   fi
                   1787:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1788:   test $ac_status = 0; } && {
                   1789:         test -z "$ac_c_werror_flag" ||
                   1790:         test ! -s conftest.err
                   1791:        } && test -s conftest$ac_exeext && {
                   1792:         test "$cross_compiling" = yes ||
                   1793:         test -x conftest$ac_exeext
                   1794:        }; then :
                   1795:   ac_retval=0
                   1796: else
                   1797:   $as_echo "$as_me: failed program was:" >&5
                   1798: sed 's/^/| /' conftest.$ac_ext >&5
                   1799: 
                   1800:        ac_retval=1
                   1801: fi
                   1802:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1803:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1804:   # interfere with the next link command; also delete a directory that is
                   1805:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1806:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1807:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1808:   as_fn_set_status $ac_retval
                   1809: 
                   1810: } # ac_fn_c_try_link
                   1811: 
                   1812: # ac_fn_c_check_func LINENO FUNC VAR
                   1813: # ----------------------------------
                   1814: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1815: ac_fn_c_check_func ()
                   1816: {
                   1817:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1818:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1819: $as_echo_n "checking for $2... " >&6; }
                   1820: if eval \${$3+:} false; then :
                   1821:   $as_echo_n "(cached) " >&6
                   1822: else
                   1823:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1824: /* end confdefs.h.  */
                   1825: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1826:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1827: #define $2 innocuous_$2
                   1828: 
                   1829: /* System header to define __stub macros and hopefully few prototypes,
                   1830:     which can conflict with char $2 (); below.
                   1831:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1832:     <limits.h> exists even on freestanding compilers.  */
                   1833: 
                   1834: #ifdef __STDC__
                   1835: # include <limits.h>
                   1836: #else
                   1837: # include <assert.h>
                   1838: #endif
                   1839: 
                   1840: #undef $2
                   1841: 
                   1842: /* Override any GCC internal prototype to avoid an error.
                   1843:    Use char because int might match the return type of a GCC
                   1844:    builtin and then its argument prototype would still apply.  */
                   1845: #ifdef __cplusplus
                   1846: extern "C"
                   1847: #endif
                   1848: char $2 ();
                   1849: /* The GNU C library defines this for functions which it implements
                   1850:     to always fail with ENOSYS.  Some functions are actually named
                   1851:     something starting with __ and the normal name is an alias.  */
                   1852: #if defined __stub_$2 || defined __stub___$2
                   1853: choke me
                   1854: #endif
                   1855: 
                   1856: int
                   1857: main ()
                   1858: {
                   1859: return $2 ();
                   1860:   ;
                   1861:   return 0;
                   1862: }
                   1863: _ACEOF
                   1864: if ac_fn_c_try_link "$LINENO"; then :
                   1865:   eval "$3=yes"
                   1866: else
                   1867:   eval "$3=no"
                   1868: fi
                   1869: rm -f core conftest.err conftest.$ac_objext \
                   1870:     conftest$ac_exeext conftest.$ac_ext
                   1871: fi
                   1872: eval ac_res=\$$3
                   1873:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1874: $as_echo "$ac_res" >&6; }
                   1875:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1876: 
                   1877: } # ac_fn_c_check_func
                   1878: 
                   1879: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1880: # ---------------------------------------------
                   1881: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1882: # accordingly.
                   1883: ac_fn_c_check_decl ()
                   1884: {
                   1885:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1886:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1887:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1888:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1889: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1890: if eval \${$3+:} false; then :
                   1891:   $as_echo_n "(cached) " >&6
                   1892: else
                   1893:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1894: /* end confdefs.h.  */
                   1895: $4
                   1896: int
                   1897: main ()
                   1898: {
                   1899: #ifndef $as_decl_name
                   1900: #ifdef __cplusplus
                   1901:   (void) $as_decl_use;
                   1902: #else
                   1903:   (void) $as_decl_name;
                   1904: #endif
                   1905: #endif
                   1906: 
                   1907:   ;
                   1908:   return 0;
                   1909: }
                   1910: _ACEOF
                   1911: if ac_fn_c_try_compile "$LINENO"; then :
                   1912:   eval "$3=yes"
                   1913: else
                   1914:   eval "$3=no"
                   1915: fi
                   1916: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1917: fi
                   1918: eval ac_res=\$$3
                   1919:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1920: $as_echo "$ac_res" >&6; }
                   1921:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1922: 
                   1923: } # ac_fn_c_check_decl
                   1924: cat >config.log <<_ACEOF
                   1925: This file contains any messages produced by compilers while
                   1926: running configure, to aid debugging if configure makes a mistake.
                   1927: 
                   1928: It was created by tmux $as_me 2.4, which was
                   1929: generated by GNU Autoconf 2.69.  Invocation command line was
                   1930: 
                   1931:   $ $0 $@
                   1932: 
                   1933: _ACEOF
                   1934: exec 5>>config.log
                   1935: {
                   1936: cat <<_ASUNAME
                   1937: ## --------- ##
                   1938: ## Platform. ##
                   1939: ## --------- ##
                   1940: 
                   1941: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1942: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1943: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1944: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1945: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1946: 
                   1947: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1948: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1949: 
                   1950: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1951: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1952: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1953: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1954: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1955: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1956: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1957: 
                   1958: _ASUNAME
                   1959: 
                   1960: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1961: for as_dir in $PATH
                   1962: do
                   1963:   IFS=$as_save_IFS
                   1964:   test -z "$as_dir" && as_dir=.
                   1965:     $as_echo "PATH: $as_dir"
                   1966:   done
                   1967: IFS=$as_save_IFS
                   1968: 
                   1969: } >&5
                   1970: 
                   1971: cat >&5 <<_ACEOF
                   1972: 
                   1973: 
                   1974: ## ----------- ##
                   1975: ## Core tests. ##
                   1976: ## ----------- ##
                   1977: 
                   1978: _ACEOF
                   1979: 
                   1980: 
                   1981: # Keep a trace of the command line.
                   1982: # Strip out --no-create and --no-recursion so they do not pile up.
                   1983: # Strip out --silent because we don't want to record it for future runs.
                   1984: # Also quote any args containing shell meta-characters.
                   1985: # Make two passes to allow for proper duplicate-argument suppression.
                   1986: ac_configure_args=
                   1987: ac_configure_args0=
                   1988: ac_configure_args1=
                   1989: ac_must_keep_next=false
                   1990: for ac_pass in 1 2
                   1991: do
                   1992:   for ac_arg
                   1993:   do
                   1994:     case $ac_arg in
                   1995:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1996:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1997:     | -silent | --silent | --silen | --sile | --sil)
                   1998:       continue ;;
                   1999:     *\'*)
                   2000:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2001:     esac
                   2002:     case $ac_pass in
                   2003:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2004:     2)
                   2005:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2006:       if test $ac_must_keep_next = true; then
                   2007:        ac_must_keep_next=false # Got value, back to normal.
                   2008:       else
                   2009:        case $ac_arg in
                   2010:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2011:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2012:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2013:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2014:            case "$ac_configure_args0 " in
                   2015:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2016:            esac
                   2017:            ;;
                   2018:          -* ) ac_must_keep_next=true ;;
                   2019:        esac
                   2020:       fi
                   2021:       as_fn_append ac_configure_args " '$ac_arg'"
                   2022:       ;;
                   2023:     esac
                   2024:   done
                   2025: done
                   2026: { ac_configure_args0=; unset ac_configure_args0;}
                   2027: { ac_configure_args1=; unset ac_configure_args1;}
                   2028: 
                   2029: # When interrupted or exit'd, cleanup temporary files, and complete
                   2030: # config.log.  We remove comments because anyway the quotes in there
                   2031: # would cause problems or look ugly.
                   2032: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2033: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2034: trap 'exit_status=$?
                   2035:   # Save into config.log some information that might help in debugging.
                   2036:   {
                   2037:     echo
                   2038: 
                   2039:     $as_echo "## ---------------- ##
                   2040: ## Cache variables. ##
                   2041: ## ---------------- ##"
                   2042:     echo
                   2043:     # The following way of writing the cache mishandles newlines in values,
                   2044: (
                   2045:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2046:     eval ac_val=\$$ac_var
                   2047:     case $ac_val in #(
                   2048:     *${as_nl}*)
                   2049:       case $ac_var in #(
                   2050:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2051: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2052:       esac
                   2053:       case $ac_var in #(
                   2054:       _ | IFS | as_nl) ;; #(
                   2055:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2056:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2057:       esac ;;
                   2058:     esac
                   2059:   done
                   2060:   (set) 2>&1 |
                   2061:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2062:     *${as_nl}ac_space=\ *)
                   2063:       sed -n \
                   2064:        "s/'\''/'\''\\\\'\'''\''/g;
                   2065:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2066:       ;; #(
                   2067:     *)
                   2068:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2069:       ;;
                   2070:     esac |
                   2071:     sort
                   2072: )
                   2073:     echo
                   2074: 
                   2075:     $as_echo "## ----------------- ##
                   2076: ## Output variables. ##
                   2077: ## ----------------- ##"
                   2078:     echo
                   2079:     for ac_var in $ac_subst_vars
                   2080:     do
                   2081:       eval ac_val=\$$ac_var
                   2082:       case $ac_val in
                   2083:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2084:       esac
                   2085:       $as_echo "$ac_var='\''$ac_val'\''"
                   2086:     done | sort
                   2087:     echo
                   2088: 
                   2089:     if test -n "$ac_subst_files"; then
                   2090:       $as_echo "## ------------------- ##
                   2091: ## File substitutions. ##
                   2092: ## ------------------- ##"
                   2093:       echo
                   2094:       for ac_var in $ac_subst_files
                   2095:       do
                   2096:        eval ac_val=\$$ac_var
                   2097:        case $ac_val in
                   2098:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2099:        esac
                   2100:        $as_echo "$ac_var='\''$ac_val'\''"
                   2101:       done | sort
                   2102:       echo
                   2103:     fi
                   2104: 
                   2105:     if test -s confdefs.h; then
                   2106:       $as_echo "## ----------- ##
                   2107: ## confdefs.h. ##
                   2108: ## ----------- ##"
                   2109:       echo
                   2110:       cat confdefs.h
                   2111:       echo
                   2112:     fi
                   2113:     test "$ac_signal" != 0 &&
                   2114:       $as_echo "$as_me: caught signal $ac_signal"
                   2115:     $as_echo "$as_me: exit $exit_status"
                   2116:   } >&5
                   2117:   rm -f core *.core core.conftest.* &&
                   2118:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2119:     exit $exit_status
                   2120: ' 0
                   2121: for ac_signal in 1 2 13 15; do
                   2122:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2123: done
                   2124: ac_signal=0
                   2125: 
                   2126: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2127: rm -f -r conftest* confdefs.h
                   2128: 
                   2129: $as_echo "/* confdefs.h */" > confdefs.h
                   2130: 
                   2131: # Predefined preprocessor variables.
                   2132: 
                   2133: cat >>confdefs.h <<_ACEOF
                   2134: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2135: _ACEOF
                   2136: 
                   2137: cat >>confdefs.h <<_ACEOF
                   2138: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2139: _ACEOF
                   2140: 
                   2141: cat >>confdefs.h <<_ACEOF
                   2142: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2143: _ACEOF
                   2144: 
                   2145: cat >>confdefs.h <<_ACEOF
                   2146: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2147: _ACEOF
                   2148: 
                   2149: cat >>confdefs.h <<_ACEOF
                   2150: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2151: _ACEOF
                   2152: 
                   2153: cat >>confdefs.h <<_ACEOF
                   2154: #define PACKAGE_URL "$PACKAGE_URL"
                   2155: _ACEOF
                   2156: 
                   2157: 
                   2158: # Let the site file select an alternate cache file if it wants to.
                   2159: # Prefer an explicitly selected file to automatically selected ones.
                   2160: ac_site_file1=NONE
                   2161: ac_site_file2=NONE
                   2162: if test -n "$CONFIG_SITE"; then
                   2163:   # We do not want a PATH search for config.site.
                   2164:   case $CONFIG_SITE in #((
                   2165:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2166:     */*) ac_site_file1=$CONFIG_SITE;;
                   2167:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2168:   esac
                   2169: elif test "x$prefix" != xNONE; then
                   2170:   ac_site_file1=$prefix/share/config.site
                   2171:   ac_site_file2=$prefix/etc/config.site
                   2172: else
                   2173:   ac_site_file1=$ac_default_prefix/share/config.site
                   2174:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2175: fi
                   2176: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2177: do
                   2178:   test "x$ac_site_file" = xNONE && continue
                   2179:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2180:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2181: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2182:     sed 's/^/| /' "$ac_site_file" >&5
                   2183:     . "$ac_site_file" \
                   2184:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2185: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2186: as_fn_error $? "failed to load site script $ac_site_file
                   2187: See \`config.log' for more details" "$LINENO" 5; }
                   2188:   fi
                   2189: done
                   2190: 
                   2191: if test -r "$cache_file"; then
                   2192:   # Some versions of bash will fail to source /dev/null (special files
                   2193:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2194:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2195:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2196: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2197:     case $cache_file in
                   2198:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2199:       *)                      . "./$cache_file";;
                   2200:     esac
                   2201:   fi
                   2202: else
                   2203:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2204: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2205:   >$cache_file
                   2206: fi
                   2207: 
                   2208: # Check that the precious variables saved in the cache have kept the same
                   2209: # value.
                   2210: ac_cache_corrupted=false
                   2211: for ac_var in $ac_precious_vars; do
                   2212:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2213:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2214:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2215:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2216:   case $ac_old_set,$ac_new_set in
                   2217:     set,)
                   2218:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2219: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2220:       ac_cache_corrupted=: ;;
                   2221:     ,set)
                   2222:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2223: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2224:       ac_cache_corrupted=: ;;
                   2225:     ,);;
                   2226:     *)
                   2227:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2228:        # differences in whitespace do not lead to failure.
                   2229:        ac_old_val_w=`echo x $ac_old_val`
                   2230:        ac_new_val_w=`echo x $ac_new_val`
                   2231:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2232:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2233: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2234:          ac_cache_corrupted=:
                   2235:        else
                   2236:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2237: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2238:          eval $ac_var=\$ac_old_val
                   2239:        fi
                   2240:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2241: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2242:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2243: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2244:       fi;;
                   2245:   esac
                   2246:   # Pass precious variables to config.status.
                   2247:   if test "$ac_new_set" = set; then
                   2248:     case $ac_new_val in
                   2249:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2250:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2251:     esac
                   2252:     case " $ac_configure_args " in
                   2253:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2254:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2255:     esac
                   2256:   fi
                   2257: done
                   2258: if $ac_cache_corrupted; then
                   2259:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2260: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2261:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2262: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2263:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2264: fi
                   2265: ## -------------------- ##
                   2266: ## Main body of script. ##
                   2267: ## -------------------- ##
                   2268: 
                   2269: ac_ext=c
                   2270: ac_cpp='$CPP $CPPFLAGS'
                   2271: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2272: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2273: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2274: 
                   2275: 
                   2276: 
                   2277: 
                   2278: ac_aux_dir=
                   2279: for ac_dir in etc "$srcdir"/etc; do
                   2280:   if test -f "$ac_dir/install-sh"; then
                   2281:     ac_aux_dir=$ac_dir
                   2282:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2283:     break
                   2284:   elif test -f "$ac_dir/install.sh"; then
                   2285:     ac_aux_dir=$ac_dir
                   2286:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2287:     break
                   2288:   elif test -f "$ac_dir/shtool"; then
                   2289:     ac_aux_dir=$ac_dir
                   2290:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2291:     break
                   2292:   fi
                   2293: done
                   2294: if test -z "$ac_aux_dir"; then
                   2295:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in etc \"$srcdir\"/etc" "$LINENO" 5
                   2296: fi
                   2297: 
                   2298: # These three variables are undocumented and unsupported,
                   2299: # and are intended to be withdrawn in a future Autoconf release.
                   2300: # They can cause serious problems if a builder's source tree is in a directory
                   2301: # whose full name contains unusual characters.
                   2302: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2303: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2304: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2305: 
                   2306: 
                   2307: 
                   2308: am__api_version='1.15'
                   2309: 
                   2310: # Find a good install program.  We prefer a C program (faster),
                   2311: # so one script is as good as another.  But avoid the broken or
                   2312: # incompatible versions:
                   2313: # SysV /etc/install, /usr/sbin/install
                   2314: # SunOS /usr/etc/install
                   2315: # IRIX /sbin/install
                   2316: # AIX /bin/install
                   2317: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2318: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2319: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2320: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2321: # OS/2's system install, which has a completely different semantic
                   2322: # ./install, which can be erroneously created by make from ./install.sh.
                   2323: # Reject install programs that cannot install multiple files.
                   2324: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2325: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2326: if test -z "$INSTALL"; then
                   2327: if ${ac_cv_path_install+:} false; then :
                   2328:   $as_echo_n "(cached) " >&6
                   2329: else
                   2330:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2331: for as_dir in $PATH
                   2332: do
                   2333:   IFS=$as_save_IFS
                   2334:   test -z "$as_dir" && as_dir=.
                   2335:     # Account for people who put trailing slashes in PATH elements.
                   2336: case $as_dir/ in #((
                   2337:   ./ | .// | /[cC]/* | \
                   2338:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2339:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2340:   /usr/ucb/* ) ;;
                   2341:   *)
                   2342:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2343:     # Don't use installbsd from OSF since it installs stuff as root
                   2344:     # by default.
                   2345:     for ac_prog in ginstall scoinst install; do
                   2346:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2347:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   2348:          if test $ac_prog = install &&
                   2349:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2350:            # AIX install.  It has an incompatible calling convention.
                   2351:            :
                   2352:          elif test $ac_prog = install &&
                   2353:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2354:            # program-specific install script used by HP pwplus--don't use.
                   2355:            :
                   2356:          else
                   2357:            rm -rf conftest.one conftest.two conftest.dir
                   2358:            echo one > conftest.one
                   2359:            echo two > conftest.two
                   2360:            mkdir conftest.dir
                   2361:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2362:              test -s conftest.one && test -s conftest.two &&
                   2363:              test -s conftest.dir/conftest.one &&
                   2364:              test -s conftest.dir/conftest.two
                   2365:            then
                   2366:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2367:              break 3
                   2368:            fi
                   2369:          fi
                   2370:        fi
                   2371:       done
                   2372:     done
                   2373:     ;;
                   2374: esac
                   2375: 
                   2376:   done
                   2377: IFS=$as_save_IFS
                   2378: 
                   2379: rm -rf conftest.one conftest.two conftest.dir
                   2380: 
                   2381: fi
                   2382:   if test "${ac_cv_path_install+set}" = set; then
                   2383:     INSTALL=$ac_cv_path_install
                   2384:   else
                   2385:     # As a last resort, use the slow shell script.  Don't cache a
                   2386:     # value for INSTALL within a source directory, because that will
                   2387:     # break other packages using the cache if that directory is
                   2388:     # removed, or if the value is a relative name.
                   2389:     INSTALL=$ac_install_sh
                   2390:   fi
                   2391: fi
                   2392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2393: $as_echo "$INSTALL" >&6; }
                   2394: 
                   2395: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2396: # It thinks the first close brace ends the variable substitution.
                   2397: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2398: 
                   2399: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2400: 
                   2401: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2402: 
                   2403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2404: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2405: # Reject unsafe characters in $srcdir or the absolute working directory
                   2406: # name.  Accept space and tab only in the latter.
                   2407: am_lf='
                   2408: '
                   2409: case `pwd` in
                   2410:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2411:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2412: esac
                   2413: case $srcdir in
                   2414:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2415:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
                   2416: esac
                   2417: 
                   2418: # Do 'set' in a subshell so we don't clobber the current shell's
                   2419: # arguments.  Must try -L first in case configure is actually a
                   2420: # symlink; some systems play weird games with the mod time of symlinks
                   2421: # (eg FreeBSD returns the mod time of the symlink's containing
                   2422: # directory).
                   2423: if (
                   2424:    am_has_slept=no
                   2425:    for am_try in 1 2; do
                   2426:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2427:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2428:      if test "$*" = "X"; then
                   2429:        # -L didn't work.
                   2430:        set X `ls -t "$srcdir/configure" conftest.file`
                   2431:      fi
                   2432:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2433:        && test "$*" != "X conftest.file $srcdir/configure"; then
                   2434: 
                   2435:        # If neither matched, then we have a broken ls.  This can happen
                   2436:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2437:        # broken ls alias from the environment.  This has actually
                   2438:        # happened.  Such a system could not be considered "sane".
                   2439:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2440:   alias in your environment" "$LINENO" 5
                   2441:      fi
                   2442:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2443:        break
                   2444:      fi
                   2445:      # Just in case.
                   2446:      sleep 1
                   2447:      am_has_slept=yes
                   2448:    done
                   2449:    test "$2" = conftest.file
                   2450:    )
                   2451: then
                   2452:    # Ok.
                   2453:    :
                   2454: else
                   2455:    as_fn_error $? "newly created file is older than distributed files!
                   2456: Check your system clock" "$LINENO" 5
                   2457: fi
                   2458: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2459: $as_echo "yes" >&6; }
                   2460: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2461: # generated files are strictly newer.
                   2462: am_sleep_pid=
                   2463: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2464:   ( sleep 1 ) &
                   2465:   am_sleep_pid=$!
                   2466: fi
                   2467: 
                   2468: rm -f conftest.file
                   2469: 
                   2470: test "$program_prefix" != NONE &&
                   2471:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2472: # Use a double $ so make ignores it.
                   2473: test "$program_suffix" != NONE &&
                   2474:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2475: # Double any \ or $.
                   2476: # By default was `s,x,x', remove it if useless.
                   2477: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2478: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2479: 
                   2480: # Expand $ac_aux_dir to an absolute path.
                   2481: am_aux_dir=`cd "$ac_aux_dir" && pwd`
                   2482: 
                   2483: if test x"${MISSING+set}" != xset; then
                   2484:   case $am_aux_dir in
                   2485:   *\ * | *\    *)
                   2486:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2487:   *)
                   2488:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2489:   esac
                   2490: fi
                   2491: # Use eval to expand $SHELL
                   2492: if eval "$MISSING --is-lightweight"; then
                   2493:   am_missing_run="$MISSING "
                   2494: else
                   2495:   am_missing_run=
                   2496:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2497: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
                   2498: fi
                   2499: 
                   2500: if test x"${install_sh+set}" != xset; then
                   2501:   case $am_aux_dir in
                   2502:   *\ * | *\    *)
                   2503:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2504:   *)
                   2505:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2506:   esac
                   2507: fi
                   2508: 
                   2509: # Installed binaries are usually stripped using 'strip' when the user
                   2510: # run "make install-strip".  However 'strip' might not be the right
                   2511: # tool to use in cross-compilation environments, therefore Automake
                   2512: # will honor the 'STRIP' environment variable to overrule this program.
                   2513: if test "$cross_compiling" != no; then
                   2514:   if test -n "$ac_tool_prefix"; then
                   2515:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2516: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2518: $as_echo_n "checking for $ac_word... " >&6; }
                   2519: if ${ac_cv_prog_STRIP+:} false; then :
                   2520:   $as_echo_n "(cached) " >&6
                   2521: else
                   2522:   if test -n "$STRIP"; then
                   2523:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2524: else
                   2525: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2526: for as_dir in $PATH
                   2527: do
                   2528:   IFS=$as_save_IFS
                   2529:   test -z "$as_dir" && as_dir=.
                   2530:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2531:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2532:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2533:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2534:     break 2
                   2535:   fi
                   2536: done
                   2537:   done
                   2538: IFS=$as_save_IFS
                   2539: 
                   2540: fi
                   2541: fi
                   2542: STRIP=$ac_cv_prog_STRIP
                   2543: if test -n "$STRIP"; then
                   2544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2545: $as_echo "$STRIP" >&6; }
                   2546: else
                   2547:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2548: $as_echo "no" >&6; }
                   2549: fi
                   2550: 
                   2551: 
                   2552: fi
                   2553: if test -z "$ac_cv_prog_STRIP"; then
                   2554:   ac_ct_STRIP=$STRIP
                   2555:   # Extract the first word of "strip", so it can be a program name with args.
                   2556: set dummy strip; ac_word=$2
                   2557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2558: $as_echo_n "checking for $ac_word... " >&6; }
                   2559: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2560:   $as_echo_n "(cached) " >&6
                   2561: else
                   2562:   if test -n "$ac_ct_STRIP"; then
                   2563:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2564: else
                   2565: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2566: for as_dir in $PATH
                   2567: do
                   2568:   IFS=$as_save_IFS
                   2569:   test -z "$as_dir" && as_dir=.
                   2570:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2571:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2572:     ac_cv_prog_ac_ct_STRIP="strip"
                   2573:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2574:     break 2
                   2575:   fi
                   2576: done
                   2577:   done
                   2578: IFS=$as_save_IFS
                   2579: 
                   2580: fi
                   2581: fi
                   2582: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2583: if test -n "$ac_ct_STRIP"; then
                   2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2585: $as_echo "$ac_ct_STRIP" >&6; }
                   2586: else
                   2587:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2588: $as_echo "no" >&6; }
                   2589: fi
                   2590: 
                   2591:   if test "x$ac_ct_STRIP" = x; then
                   2592:     STRIP=":"
                   2593:   else
                   2594:     case $cross_compiling:$ac_tool_warned in
                   2595: yes:)
                   2596: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2597: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2598: ac_tool_warned=yes ;;
                   2599: esac
                   2600:     STRIP=$ac_ct_STRIP
                   2601:   fi
                   2602: else
                   2603:   STRIP="$ac_cv_prog_STRIP"
                   2604: fi
                   2605: 
                   2606: fi
                   2607: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2608: 
                   2609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2610: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2611: if test -z "$MKDIR_P"; then
                   2612:   if ${ac_cv_path_mkdir+:} false; then :
                   2613:   $as_echo_n "(cached) " >&6
                   2614: else
                   2615:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2616: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2617: do
                   2618:   IFS=$as_save_IFS
                   2619:   test -z "$as_dir" && as_dir=.
                   2620:     for ac_prog in mkdir gmkdir; do
                   2621:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2622:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
                   2623:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2624:             'mkdir (GNU coreutils) '* | \
                   2625:             'mkdir (coreutils) '* | \
                   2626:             'mkdir (fileutils) '4.1*)
                   2627:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2628:               break 3;;
                   2629:           esac
                   2630:         done
                   2631:        done
                   2632:   done
                   2633: IFS=$as_save_IFS
                   2634: 
                   2635: fi
                   2636: 
                   2637:   test -d ./--version && rmdir ./--version
                   2638:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2639:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2640:   else
                   2641:     # As a last resort, use the slow shell script.  Don't cache a
                   2642:     # value for MKDIR_P within a source directory, because that will
                   2643:     # break other packages using the cache if that directory is
                   2644:     # removed, or if the value is a relative name.
                   2645:     MKDIR_P="$ac_install_sh -d"
                   2646:   fi
                   2647: fi
                   2648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2649: $as_echo "$MKDIR_P" >&6; }
                   2650: 
                   2651: for ac_prog in gawk mawk nawk awk
                   2652: do
                   2653:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2654: set dummy $ac_prog; ac_word=$2
                   2655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2656: $as_echo_n "checking for $ac_word... " >&6; }
                   2657: if ${ac_cv_prog_AWK+:} false; then :
                   2658:   $as_echo_n "(cached) " >&6
                   2659: else
                   2660:   if test -n "$AWK"; then
                   2661:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2662: else
                   2663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2664: for as_dir in $PATH
                   2665: do
                   2666:   IFS=$as_save_IFS
                   2667:   test -z "$as_dir" && as_dir=.
                   2668:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2669:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2670:     ac_cv_prog_AWK="$ac_prog"
                   2671:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2672:     break 2
                   2673:   fi
                   2674: done
                   2675:   done
                   2676: IFS=$as_save_IFS
                   2677: 
                   2678: fi
                   2679: fi
                   2680: AWK=$ac_cv_prog_AWK
                   2681: if test -n "$AWK"; then
                   2682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2683: $as_echo "$AWK" >&6; }
                   2684: else
                   2685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2686: $as_echo "no" >&6; }
                   2687: fi
                   2688: 
                   2689: 
                   2690:   test -n "$AWK" && break
                   2691: done
                   2692: 
                   2693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2694: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2695: set x ${MAKE-make}
                   2696: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2697: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2698:   $as_echo_n "(cached) " >&6
                   2699: else
                   2700:   cat >conftest.make <<\_ACEOF
                   2701: SHELL = /bin/sh
                   2702: all:
                   2703:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2704: _ACEOF
                   2705: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2706: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2707:   *@@@%%%=?*=@@@%%%*)
                   2708:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2709:   *)
                   2710:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2711: esac
                   2712: rm -f conftest.make
                   2713: fi
                   2714: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2716: $as_echo "yes" >&6; }
                   2717:   SET_MAKE=
                   2718: else
                   2719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2720: $as_echo "no" >&6; }
                   2721:   SET_MAKE="MAKE=${MAKE-make}"
                   2722: fi
                   2723: 
                   2724: rm -rf .tst 2>/dev/null
                   2725: mkdir .tst 2>/dev/null
                   2726: if test -d .tst; then
                   2727:   am__leading_dot=.
                   2728: else
                   2729:   am__leading_dot=_
                   2730: fi
                   2731: rmdir .tst 2>/dev/null
                   2732: 
                   2733: # Check whether --enable-silent-rules was given.
                   2734: if test "${enable_silent_rules+set}" = set; then :
                   2735:   enableval=$enable_silent_rules;
                   2736: fi
                   2737: 
                   2738: case $enable_silent_rules in # (((
                   2739:   yes) AM_DEFAULT_VERBOSITY=0;;
                   2740:    no) AM_DEFAULT_VERBOSITY=1;;
                   2741:     *) AM_DEFAULT_VERBOSITY=1;;
                   2742: esac
                   2743: am_make=${MAKE-make}
                   2744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   2745: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   2746: if ${am_cv_make_support_nested_variables+:} false; then :
                   2747:   $as_echo_n "(cached) " >&6
                   2748: else
                   2749:   if $as_echo 'TRUE=$(BAR$(V))
                   2750: BAR0=false
                   2751: BAR1=true
                   2752: V=1
                   2753: am__doit:
                   2754:        @$(TRUE)
                   2755: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   2756:   am_cv_make_support_nested_variables=yes
                   2757: else
                   2758:   am_cv_make_support_nested_variables=no
                   2759: fi
                   2760: fi
                   2761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   2762: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   2763: if test $am_cv_make_support_nested_variables = yes; then
                   2764:     AM_V='$(V)'
                   2765:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   2766: else
                   2767:   AM_V=$AM_DEFAULT_VERBOSITY
                   2768:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   2769: fi
                   2770: AM_BACKSLASH='\'
                   2771: 
                   2772: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2773:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2774:   # is not polluted with repeated "-I."
                   2775:   am__isrc=' -I$(srcdir)'
                   2776:   # test to see if srcdir already configured
                   2777:   if test -f $srcdir/config.status; then
                   2778:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2779:   fi
                   2780: fi
                   2781: 
                   2782: # test whether we have cygpath
                   2783: if test -z "$CYGPATH_W"; then
                   2784:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2785:     CYGPATH_W='cygpath -w'
                   2786:   else
                   2787:     CYGPATH_W=echo
                   2788:   fi
                   2789: fi
                   2790: 
                   2791: 
                   2792: # Define the identity of the package.
                   2793:  PACKAGE='tmux'
                   2794:  VERSION='2.4'
                   2795: 
                   2796: 
                   2797: cat >>confdefs.h <<_ACEOF
                   2798: #define PACKAGE "$PACKAGE"
                   2799: _ACEOF
                   2800: 
                   2801: 
                   2802: cat >>confdefs.h <<_ACEOF
                   2803: #define VERSION "$VERSION"
                   2804: _ACEOF
                   2805: 
                   2806: # Some tools Automake needs.
                   2807: 
                   2808: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2809: 
                   2810: 
                   2811: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2812: 
                   2813: 
                   2814: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2815: 
                   2816: 
                   2817: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2818: 
                   2819: 
                   2820: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2821: 
                   2822: # For better backward compatibility.  To be removed once Automake 1.9.x
                   2823: # dies out for good.  For more background, see:
                   2824: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   2825: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
                   2826: mkdir_p='$(MKDIR_P)'
                   2827: 
                   2828: # We need awk for the "check" target (and possibly the TAP driver).  The
                   2829: # system "awk" is bad on some platforms.
                   2830: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   2831: # in the wild :-(  We should find a proper way to deprecate it ...
                   2832: AMTAR='$${TAR-tar}'
                   2833: 
                   2834: 
                   2835: # We'll loop over all known methods to create a tar archive until one works.
                   2836: _am_tools='gnutar  pax cpio none'
                   2837: 
                   2838: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   2839: 
                   2840: 
                   2841: 
                   2842: 
                   2843: 
                   2844: 
                   2845: # POSIX will say in a future version that running "rm -f" with no argument
                   2846: # is OK; and we want to be able to make that assumption in our Makefile
                   2847: # recipes.  So use an aggressive probe to check that the usage we want is
                   2848: # actually supported "in the wild" to an acceptable degree.
                   2849: # See automake bug#10828.
                   2850: # To make any issue more visible, cause the running configure to be aborted
                   2851: # by default if the 'rm' program in use doesn't match our expectations; the
                   2852: # user can still override this though.
                   2853: if rm -f && rm -fr && rm -rf; then : OK; else
                   2854:   cat >&2 <<'END'
                   2855: Oops!
                   2856: 
                   2857: Your 'rm' program seems unable to run without file operands specified
                   2858: on the command line, even when the '-f' option is present.  This is contrary
                   2859: to the behaviour of most rm programs out there, and not conforming with
                   2860: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   2861: 
                   2862: Please tell bug-automake@gnu.org about your system, including the value
                   2863: of your $PATH and any error possibly output before this message.  This
                   2864: can help us improve future automake versions.
                   2865: 
                   2866: END
                   2867:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   2868:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   2869:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   2870:     echo >&2
                   2871:   else
                   2872:     cat >&2 <<'END'
                   2873: Aborting the configuration process, to ensure you take notice of the issue.
                   2874: 
                   2875: You can download and install GNU coreutils to get an 'rm' implementation
                   2876: that behaves properly: <http://www.gnu.org/software/coreutils/>.
                   2877: 
                   2878: If you want to complete the configuration process using your problematic
                   2879: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   2880: to "yes", and re-run configure.
                   2881: 
                   2882: END
                   2883:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   2884:   fi
                   2885: fi
                   2886: 
                   2887: 
                   2888: # Make sure we can run config.sub.
                   2889: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2890:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2891: 
                   2892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2893: $as_echo_n "checking build system type... " >&6; }
                   2894: if ${ac_cv_build+:} false; then :
                   2895:   $as_echo_n "(cached) " >&6
                   2896: else
                   2897:   ac_build_alias=$build_alias
                   2898: test "x$ac_build_alias" = x &&
                   2899:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2900: test "x$ac_build_alias" = x &&
                   2901:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2902: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2903:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2904: 
                   2905: fi
                   2906: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2907: $as_echo "$ac_cv_build" >&6; }
                   2908: case $ac_cv_build in
                   2909: *-*-*) ;;
                   2910: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2911: esac
                   2912: build=$ac_cv_build
                   2913: ac_save_IFS=$IFS; IFS='-'
                   2914: set x $ac_cv_build
                   2915: shift
                   2916: build_cpu=$1
                   2917: build_vendor=$2
                   2918: shift; shift
                   2919: # Remember, the first character of IFS is used to create $*,
                   2920: # except with old shells:
                   2921: build_os=$*
                   2922: IFS=$ac_save_IFS
                   2923: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2924: 
                   2925: 
                   2926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2927: $as_echo_n "checking host system type... " >&6; }
                   2928: if ${ac_cv_host+:} false; then :
                   2929:   $as_echo_n "(cached) " >&6
                   2930: else
                   2931:   if test "x$host_alias" = x; then
                   2932:   ac_cv_host=$ac_cv_build
                   2933: else
                   2934:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2935:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2936: fi
                   2937: 
                   2938: fi
                   2939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2940: $as_echo "$ac_cv_host" >&6; }
                   2941: case $ac_cv_host in
                   2942: *-*-*) ;;
                   2943: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2944: esac
                   2945: host=$ac_cv_host
                   2946: ac_save_IFS=$IFS; IFS='-'
                   2947: set x $ac_cv_host
                   2948: shift
                   2949: host_cpu=$1
                   2950: host_vendor=$2
                   2951: shift; shift
                   2952: # Remember, the first character of IFS is used to create $*,
                   2953: # except with old shells:
                   2954: host_os=$*
                   2955: IFS=$ac_save_IFS
                   2956: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2957: 
                   2958: 
                   2959: 
                   2960: # When CFLAGS isn't set at this stage and gcc is detected by the macro below,
                   2961: # autoconf will automatically use CFLAGS="-O2 -g". Prevent that by using an
                   2962: # empty default.
                   2963: : ${CFLAGS=""}
                   2964: 
                   2965: # Save user CPPFLAGS, CFLAGS and LDFLAGS. We need to change them because
                   2966: # AC_CHECK_HEADER doesn't give us any other way to update the include
                   2967: # paths. But for Makefile.am we want to use AM_CPPFLAGS and friends.
                   2968: SAVED_CFLAGS="$CFLAGS"
                   2969: SAVED_CPPFLAGS="$CPPFLAGS"
                   2970: SAVED_LDFLAGS="$LDFLAGS"
                   2971: 
                   2972: # Set up the compiler in two different ways and say yes we may want to install.
                   2973: ac_ext=c
                   2974: ac_cpp='$CPP $CPPFLAGS'
                   2975: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2976: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2977: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2978: if test -n "$ac_tool_prefix"; then
                   2979:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2980: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2981: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2982: $as_echo_n "checking for $ac_word... " >&6; }
                   2983: if ${ac_cv_prog_CC+:} false; then :
                   2984:   $as_echo_n "(cached) " >&6
                   2985: else
                   2986:   if test -n "$CC"; then
                   2987:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2988: else
                   2989: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2990: for as_dir in $PATH
                   2991: do
                   2992:   IFS=$as_save_IFS
                   2993:   test -z "$as_dir" && as_dir=.
                   2994:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2995:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2996:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2997:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2998:     break 2
                   2999:   fi
                   3000: done
                   3001:   done
                   3002: IFS=$as_save_IFS
                   3003: 
                   3004: fi
                   3005: fi
                   3006: CC=$ac_cv_prog_CC
                   3007: if test -n "$CC"; then
                   3008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3009: $as_echo "$CC" >&6; }
                   3010: else
                   3011:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3012: $as_echo "no" >&6; }
                   3013: fi
                   3014: 
                   3015: 
                   3016: fi
                   3017: if test -z "$ac_cv_prog_CC"; then
                   3018:   ac_ct_CC=$CC
                   3019:   # Extract the first word of "gcc", so it can be a program name with args.
                   3020: set dummy gcc; ac_word=$2
                   3021: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3022: $as_echo_n "checking for $ac_word... " >&6; }
                   3023: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3024:   $as_echo_n "(cached) " >&6
                   3025: else
                   3026:   if test -n "$ac_ct_CC"; then
                   3027:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3028: else
                   3029: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3030: for as_dir in $PATH
                   3031: do
                   3032:   IFS=$as_save_IFS
                   3033:   test -z "$as_dir" && as_dir=.
                   3034:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3035:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3036:     ac_cv_prog_ac_ct_CC="gcc"
                   3037:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3038:     break 2
                   3039:   fi
                   3040: done
                   3041:   done
                   3042: IFS=$as_save_IFS
                   3043: 
                   3044: fi
                   3045: fi
                   3046: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3047: if test -n "$ac_ct_CC"; then
                   3048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3049: $as_echo "$ac_ct_CC" >&6; }
                   3050: else
                   3051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3052: $as_echo "no" >&6; }
                   3053: fi
                   3054: 
                   3055:   if test "x$ac_ct_CC" = x; then
                   3056:     CC=""
                   3057:   else
                   3058:     case $cross_compiling:$ac_tool_warned in
                   3059: yes:)
                   3060: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3061: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3062: ac_tool_warned=yes ;;
                   3063: esac
                   3064:     CC=$ac_ct_CC
                   3065:   fi
                   3066: else
                   3067:   CC="$ac_cv_prog_CC"
                   3068: fi
                   3069: 
                   3070: if test -z "$CC"; then
                   3071:           if test -n "$ac_tool_prefix"; then
                   3072:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3073: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3075: $as_echo_n "checking for $ac_word... " >&6; }
                   3076: if ${ac_cv_prog_CC+:} false; then :
                   3077:   $as_echo_n "(cached) " >&6
                   3078: else
                   3079:   if test -n "$CC"; then
                   3080:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3081: else
                   3082: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3083: for as_dir in $PATH
                   3084: do
                   3085:   IFS=$as_save_IFS
                   3086:   test -z "$as_dir" && as_dir=.
                   3087:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3088:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3089:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3091:     break 2
                   3092:   fi
                   3093: done
                   3094:   done
                   3095: IFS=$as_save_IFS
                   3096: 
                   3097: fi
                   3098: fi
                   3099: CC=$ac_cv_prog_CC
                   3100: if test -n "$CC"; then
                   3101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3102: $as_echo "$CC" >&6; }
                   3103: else
                   3104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3105: $as_echo "no" >&6; }
                   3106: fi
                   3107: 
                   3108: 
                   3109:   fi
                   3110: fi
                   3111: if test -z "$CC"; then
                   3112:   # Extract the first word of "cc", so it can be a program name with args.
                   3113: set dummy cc; ac_word=$2
                   3114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3115: $as_echo_n "checking for $ac_word... " >&6; }
                   3116: if ${ac_cv_prog_CC+:} false; then :
                   3117:   $as_echo_n "(cached) " >&6
                   3118: else
                   3119:   if test -n "$CC"; then
                   3120:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3121: else
                   3122:   ac_prog_rejected=no
                   3123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3124: for as_dir in $PATH
                   3125: do
                   3126:   IFS=$as_save_IFS
                   3127:   test -z "$as_dir" && as_dir=.
                   3128:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3129:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3130:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3131:        ac_prog_rejected=yes
                   3132:        continue
                   3133:      fi
                   3134:     ac_cv_prog_CC="cc"
                   3135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3136:     break 2
                   3137:   fi
                   3138: done
                   3139:   done
                   3140: IFS=$as_save_IFS
                   3141: 
                   3142: if test $ac_prog_rejected = yes; then
                   3143:   # We found a bogon in the path, so make sure we never use it.
                   3144:   set dummy $ac_cv_prog_CC
                   3145:   shift
                   3146:   if test $# != 0; then
                   3147:     # We chose a different compiler from the bogus one.
                   3148:     # However, it has the same basename, so the bogon will be chosen
                   3149:     # first if we set CC to just the basename; use the full file name.
                   3150:     shift
                   3151:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3152:   fi
                   3153: fi
                   3154: fi
                   3155: fi
                   3156: CC=$ac_cv_prog_CC
                   3157: if test -n "$CC"; then
                   3158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3159: $as_echo "$CC" >&6; }
                   3160: else
                   3161:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3162: $as_echo "no" >&6; }
                   3163: fi
                   3164: 
                   3165: 
                   3166: fi
                   3167: if test -z "$CC"; then
                   3168:   if test -n "$ac_tool_prefix"; then
                   3169:   for ac_prog in cl.exe
                   3170:   do
                   3171:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3172: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3174: $as_echo_n "checking for $ac_word... " >&6; }
                   3175: if ${ac_cv_prog_CC+:} false; then :
                   3176:   $as_echo_n "(cached) " >&6
                   3177: else
                   3178:   if test -n "$CC"; then
                   3179:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3180: else
                   3181: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3182: for as_dir in $PATH
                   3183: do
                   3184:   IFS=$as_save_IFS
                   3185:   test -z "$as_dir" && as_dir=.
                   3186:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3187:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3188:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3189:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3190:     break 2
                   3191:   fi
                   3192: done
                   3193:   done
                   3194: IFS=$as_save_IFS
                   3195: 
                   3196: fi
                   3197: fi
                   3198: CC=$ac_cv_prog_CC
                   3199: if test -n "$CC"; then
                   3200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3201: $as_echo "$CC" >&6; }
                   3202: else
                   3203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3204: $as_echo "no" >&6; }
                   3205: fi
                   3206: 
                   3207: 
                   3208:     test -n "$CC" && break
                   3209:   done
                   3210: fi
                   3211: if test -z "$CC"; then
                   3212:   ac_ct_CC=$CC
                   3213:   for ac_prog in cl.exe
                   3214: do
                   3215:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3216: set dummy $ac_prog; ac_word=$2
                   3217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3218: $as_echo_n "checking for $ac_word... " >&6; }
                   3219: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3220:   $as_echo_n "(cached) " >&6
                   3221: else
                   3222:   if test -n "$ac_ct_CC"; then
                   3223:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3224: else
                   3225: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3226: for as_dir in $PATH
                   3227: do
                   3228:   IFS=$as_save_IFS
                   3229:   test -z "$as_dir" && as_dir=.
                   3230:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3231:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3232:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3233:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3234:     break 2
                   3235:   fi
                   3236: done
                   3237:   done
                   3238: IFS=$as_save_IFS
                   3239: 
                   3240: fi
                   3241: fi
                   3242: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3243: if test -n "$ac_ct_CC"; then
                   3244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3245: $as_echo "$ac_ct_CC" >&6; }
                   3246: else
                   3247:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3248: $as_echo "no" >&6; }
                   3249: fi
                   3250: 
                   3251: 
                   3252:   test -n "$ac_ct_CC" && break
                   3253: done
                   3254: 
                   3255:   if test "x$ac_ct_CC" = x; then
                   3256:     CC=""
                   3257:   else
                   3258:     case $cross_compiling:$ac_tool_warned in
                   3259: yes:)
                   3260: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3261: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3262: ac_tool_warned=yes ;;
                   3263: esac
                   3264:     CC=$ac_ct_CC
                   3265:   fi
                   3266: fi
                   3267: 
                   3268: fi
                   3269: 
                   3270: 
                   3271: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3272: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3273: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3274: See \`config.log' for more details" "$LINENO" 5; }
                   3275: 
                   3276: # Provide some information about the compiler.
                   3277: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3278: set X $ac_compile
                   3279: ac_compiler=$2
                   3280: for ac_option in --version -v -V -qversion; do
                   3281:   { { ac_try="$ac_compiler $ac_option >&5"
                   3282: case "(($ac_try" in
                   3283:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3284:   *) ac_try_echo=$ac_try;;
                   3285: esac
                   3286: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3287: $as_echo "$ac_try_echo"; } >&5
                   3288:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3289:   ac_status=$?
                   3290:   if test -s conftest.err; then
                   3291:     sed '10a\
                   3292: ... rest of stderr output deleted ...
                   3293:          10q' conftest.err >conftest.er1
                   3294:     cat conftest.er1 >&5
                   3295:   fi
                   3296:   rm -f conftest.er1 conftest.err
                   3297:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3298:   test $ac_status = 0; }
                   3299: done
                   3300: 
                   3301: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3302: /* end confdefs.h.  */
                   3303: 
                   3304: int
                   3305: main ()
                   3306: {
                   3307: 
                   3308:   ;
                   3309:   return 0;
                   3310: }
                   3311: _ACEOF
                   3312: ac_clean_files_save=$ac_clean_files
                   3313: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3314: # Try to create an executable without -o first, disregard a.out.
                   3315: # It will help us diagnose broken compilers, and finding out an intuition
                   3316: # of exeext.
                   3317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3318: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3319: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3320: 
                   3321: # The possible output files:
                   3322: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3323: 
                   3324: ac_rmfiles=
                   3325: for ac_file in $ac_files
                   3326: do
                   3327:   case $ac_file in
                   3328:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3329:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3330:   esac
                   3331: done
                   3332: rm -f $ac_rmfiles
                   3333: 
                   3334: if { { ac_try="$ac_link_default"
                   3335: case "(($ac_try" in
                   3336:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3337:   *) ac_try_echo=$ac_try;;
                   3338: esac
                   3339: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3340: $as_echo "$ac_try_echo"; } >&5
                   3341:   (eval "$ac_link_default") 2>&5
                   3342:   ac_status=$?
                   3343:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3344:   test $ac_status = 0; }; then :
                   3345:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3346: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3347: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3348: # so that the user can short-circuit this test for compilers unknown to
                   3349: # Autoconf.
                   3350: for ac_file in $ac_files ''
                   3351: do
                   3352:   test -f "$ac_file" || continue
                   3353:   case $ac_file in
                   3354:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3355:        ;;
                   3356:     [ab].out )
                   3357:        # We found the default executable, but exeext='' is most
                   3358:        # certainly right.
                   3359:        break;;
                   3360:     *.* )
                   3361:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3362:        then :; else
                   3363:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3364:        fi
                   3365:        # We set ac_cv_exeext here because the later test for it is not
                   3366:        # safe: cross compilers may not add the suffix if given an `-o'
                   3367:        # argument, so we may need to know it at that point already.
                   3368:        # Even if this section looks crufty: it has the advantage of
                   3369:        # actually working.
                   3370:        break;;
                   3371:     * )
                   3372:        break;;
                   3373:   esac
                   3374: done
                   3375: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3376: 
                   3377: else
                   3378:   ac_file=''
                   3379: fi
                   3380: if test -z "$ac_file"; then :
                   3381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3382: $as_echo "no" >&6; }
                   3383: $as_echo "$as_me: failed program was:" >&5
                   3384: sed 's/^/| /' conftest.$ac_ext >&5
                   3385: 
                   3386: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3387: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3388: as_fn_error 77 "C compiler cannot create executables
                   3389: See \`config.log' for more details" "$LINENO" 5; }
                   3390: else
                   3391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3392: $as_echo "yes" >&6; }
                   3393: fi
                   3394: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3395: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3397: $as_echo "$ac_file" >&6; }
                   3398: ac_exeext=$ac_cv_exeext
                   3399: 
                   3400: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3401: ac_clean_files=$ac_clean_files_save
                   3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3403: $as_echo_n "checking for suffix of executables... " >&6; }
                   3404: if { { ac_try="$ac_link"
                   3405: case "(($ac_try" in
                   3406:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3407:   *) ac_try_echo=$ac_try;;
                   3408: esac
                   3409: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3410: $as_echo "$ac_try_echo"; } >&5
                   3411:   (eval "$ac_link") 2>&5
                   3412:   ac_status=$?
                   3413:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3414:   test $ac_status = 0; }; then :
                   3415:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3416: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3417: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3418: # `rm'.
                   3419: for ac_file in conftest.exe conftest conftest.*; do
                   3420:   test -f "$ac_file" || continue
                   3421:   case $ac_file in
                   3422:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3423:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3424:          break;;
                   3425:     * ) break;;
                   3426:   esac
                   3427: done
                   3428: else
                   3429:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3430: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3431: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3432: See \`config.log' for more details" "$LINENO" 5; }
                   3433: fi
                   3434: rm -f conftest conftest$ac_cv_exeext
                   3435: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3436: $as_echo "$ac_cv_exeext" >&6; }
                   3437: 
                   3438: rm -f conftest.$ac_ext
                   3439: EXEEXT=$ac_cv_exeext
                   3440: ac_exeext=$EXEEXT
                   3441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3442: /* end confdefs.h.  */
                   3443: #include <stdio.h>
                   3444: int
                   3445: main ()
                   3446: {
                   3447: FILE *f = fopen ("conftest.out", "w");
                   3448:  return ferror (f) || fclose (f) != 0;
                   3449: 
                   3450:   ;
                   3451:   return 0;
                   3452: }
                   3453: _ACEOF
                   3454: ac_clean_files="$ac_clean_files conftest.out"
                   3455: # Check that the compiler produces executables we can run.  If not, either
                   3456: # the compiler is broken, or we cross compile.
                   3457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3458: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3459: if test "$cross_compiling" != yes; then
                   3460:   { { ac_try="$ac_link"
                   3461: case "(($ac_try" in
                   3462:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3463:   *) ac_try_echo=$ac_try;;
                   3464: esac
                   3465: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3466: $as_echo "$ac_try_echo"; } >&5
                   3467:   (eval "$ac_link") 2>&5
                   3468:   ac_status=$?
                   3469:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3470:   test $ac_status = 0; }
                   3471:   if { ac_try='./conftest$ac_cv_exeext'
                   3472:   { { case "(($ac_try" in
                   3473:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3474:   *) ac_try_echo=$ac_try;;
                   3475: esac
                   3476: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3477: $as_echo "$ac_try_echo"; } >&5
                   3478:   (eval "$ac_try") 2>&5
                   3479:   ac_status=$?
                   3480:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3481:   test $ac_status = 0; }; }; then
                   3482:     cross_compiling=no
                   3483:   else
                   3484:     if test "$cross_compiling" = maybe; then
                   3485:        cross_compiling=yes
                   3486:     else
                   3487:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3488: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3489: as_fn_error $? "cannot run C compiled programs.
                   3490: If you meant to cross compile, use \`--host'.
                   3491: See \`config.log' for more details" "$LINENO" 5; }
                   3492:     fi
                   3493:   fi
                   3494: fi
                   3495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3496: $as_echo "$cross_compiling" >&6; }
                   3497: 
                   3498: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3499: ac_clean_files=$ac_clean_files_save
                   3500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3501: $as_echo_n "checking for suffix of object files... " >&6; }
                   3502: if ${ac_cv_objext+:} false; then :
                   3503:   $as_echo_n "(cached) " >&6
                   3504: else
                   3505:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3506: /* end confdefs.h.  */
                   3507: 
                   3508: int
                   3509: main ()
                   3510: {
                   3511: 
                   3512:   ;
                   3513:   return 0;
                   3514: }
                   3515: _ACEOF
                   3516: rm -f conftest.o conftest.obj
                   3517: if { { ac_try="$ac_compile"
                   3518: case "(($ac_try" in
                   3519:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3520:   *) ac_try_echo=$ac_try;;
                   3521: esac
                   3522: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3523: $as_echo "$ac_try_echo"; } >&5
                   3524:   (eval "$ac_compile") 2>&5
                   3525:   ac_status=$?
                   3526:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3527:   test $ac_status = 0; }; then :
                   3528:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3529:   test -f "$ac_file" || continue;
                   3530:   case $ac_file in
                   3531:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3532:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3533:        break;;
                   3534:   esac
                   3535: done
                   3536: else
                   3537:   $as_echo "$as_me: failed program was:" >&5
                   3538: sed 's/^/| /' conftest.$ac_ext >&5
                   3539: 
                   3540: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3541: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3542: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3543: See \`config.log' for more details" "$LINENO" 5; }
                   3544: fi
                   3545: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3546: fi
                   3547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3548: $as_echo "$ac_cv_objext" >&6; }
                   3549: OBJEXT=$ac_cv_objext
                   3550: ac_objext=$OBJEXT
                   3551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3552: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3553: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3554:   $as_echo_n "(cached) " >&6
                   3555: else
                   3556:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3557: /* end confdefs.h.  */
                   3558: 
                   3559: int
                   3560: main ()
                   3561: {
                   3562: #ifndef __GNUC__
                   3563:        choke me
                   3564: #endif
                   3565: 
                   3566:   ;
                   3567:   return 0;
                   3568: }
                   3569: _ACEOF
                   3570: if ac_fn_c_try_compile "$LINENO"; then :
                   3571:   ac_compiler_gnu=yes
                   3572: else
                   3573:   ac_compiler_gnu=no
                   3574: fi
                   3575: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3576: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3577: 
                   3578: fi
                   3579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3580: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3581: if test $ac_compiler_gnu = yes; then
                   3582:   GCC=yes
                   3583: else
                   3584:   GCC=
                   3585: fi
                   3586: ac_test_CFLAGS=${CFLAGS+set}
                   3587: ac_save_CFLAGS=$CFLAGS
                   3588: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3589: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3590: if ${ac_cv_prog_cc_g+:} false; then :
                   3591:   $as_echo_n "(cached) " >&6
                   3592: else
                   3593:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3594:    ac_c_werror_flag=yes
                   3595:    ac_cv_prog_cc_g=no
                   3596:    CFLAGS="-g"
                   3597:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3598: /* end confdefs.h.  */
                   3599: 
                   3600: int
                   3601: main ()
                   3602: {
                   3603: 
                   3604:   ;
                   3605:   return 0;
                   3606: }
                   3607: _ACEOF
                   3608: if ac_fn_c_try_compile "$LINENO"; then :
                   3609:   ac_cv_prog_cc_g=yes
                   3610: else
                   3611:   CFLAGS=""
                   3612:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3613: /* end confdefs.h.  */
                   3614: 
                   3615: int
                   3616: main ()
                   3617: {
                   3618: 
                   3619:   ;
                   3620:   return 0;
                   3621: }
                   3622: _ACEOF
                   3623: if ac_fn_c_try_compile "$LINENO"; then :
                   3624: 
                   3625: else
                   3626:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3627:         CFLAGS="-g"
                   3628:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3629: /* end confdefs.h.  */
                   3630: 
                   3631: int
                   3632: main ()
                   3633: {
                   3634: 
                   3635:   ;
                   3636:   return 0;
                   3637: }
                   3638: _ACEOF
                   3639: if ac_fn_c_try_compile "$LINENO"; then :
                   3640:   ac_cv_prog_cc_g=yes
                   3641: fi
                   3642: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3643: fi
                   3644: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3645: fi
                   3646: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3647:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3648: fi
                   3649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3650: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3651: if test "$ac_test_CFLAGS" = set; then
                   3652:   CFLAGS=$ac_save_CFLAGS
                   3653: elif test $ac_cv_prog_cc_g = yes; then
                   3654:   if test "$GCC" = yes; then
                   3655:     CFLAGS="-g -O2"
                   3656:   else
                   3657:     CFLAGS="-g"
                   3658:   fi
                   3659: else
                   3660:   if test "$GCC" = yes; then
                   3661:     CFLAGS="-O2"
                   3662:   else
                   3663:     CFLAGS=
                   3664:   fi
                   3665: fi
                   3666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3667: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3668: if ${ac_cv_prog_cc_c89+:} false; then :
                   3669:   $as_echo_n "(cached) " >&6
                   3670: else
                   3671:   ac_cv_prog_cc_c89=no
                   3672: ac_save_CC=$CC
                   3673: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3674: /* end confdefs.h.  */
                   3675: #include <stdarg.h>
                   3676: #include <stdio.h>
                   3677: struct stat;
                   3678: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3679: struct buf { int x; };
                   3680: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3681: static char *e (p, i)
                   3682:      char **p;
                   3683:      int i;
                   3684: {
                   3685:   return p[i];
                   3686: }
                   3687: static char *f (char * (*g) (char **, int), char **p, ...)
                   3688: {
                   3689:   char *s;
                   3690:   va_list v;
                   3691:   va_start (v,p);
                   3692:   s = g (p, va_arg (v,int));
                   3693:   va_end (v);
                   3694:   return s;
                   3695: }
                   3696: 
                   3697: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3698:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3699:    These don't provoke an error unfortunately, instead are silently treated
                   3700:    as 'x'.  The following induces an error, until -std is added to get
                   3701:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3702:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3703:    that's true only with -std.  */
                   3704: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3705: 
                   3706: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3707:    inside strings and character constants.  */
                   3708: #define FOO(x) 'x'
                   3709: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3710: 
                   3711: int test (int i, double x);
                   3712: struct s1 {int (*f) (int a);};
                   3713: struct s2 {int (*f) (double a);};
                   3714: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3715: int argc;
                   3716: char **argv;
                   3717: int
                   3718: main ()
                   3719: {
                   3720: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3721:   ;
                   3722:   return 0;
                   3723: }
                   3724: _ACEOF
                   3725: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3726:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3727: do
                   3728:   CC="$ac_save_CC $ac_arg"
                   3729:   if ac_fn_c_try_compile "$LINENO"; then :
                   3730:   ac_cv_prog_cc_c89=$ac_arg
                   3731: fi
                   3732: rm -f core conftest.err conftest.$ac_objext
                   3733:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3734: done
                   3735: rm -f conftest.$ac_ext
                   3736: CC=$ac_save_CC
                   3737: 
                   3738: fi
                   3739: # AC_CACHE_VAL
                   3740: case "x$ac_cv_prog_cc_c89" in
                   3741:   x)
                   3742:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3743: $as_echo "none needed" >&6; } ;;
                   3744:   xno)
                   3745:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3746: $as_echo "unsupported" >&6; } ;;
                   3747:   *)
                   3748:     CC="$CC $ac_cv_prog_cc_c89"
                   3749:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3750: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3751: esac
                   3752: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3753: 
                   3754: fi
                   3755: 
                   3756: ac_ext=c
                   3757: ac_cpp='$CPP $CPPFLAGS'
                   3758: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3759: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3760: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3761: 
                   3762: ac_ext=c
                   3763: ac_cpp='$CPP $CPPFLAGS'
                   3764: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3765: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3766: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   3768: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   3769: if ${am_cv_prog_cc_c_o+:} false; then :
                   3770:   $as_echo_n "(cached) " >&6
                   3771: else
                   3772:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3773: /* end confdefs.h.  */
                   3774: 
                   3775: int
                   3776: main ()
                   3777: {
                   3778: 
                   3779:   ;
                   3780:   return 0;
                   3781: }
                   3782: _ACEOF
                   3783:   # Make sure it works both with $CC and with simple cc.
                   3784:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   3785:   # compilers refuse to overwrite an existing .o file with -o,
                   3786:   # though they will create one.
                   3787:   am_cv_prog_cc_c_o=yes
                   3788:   for am_i in 1 2; do
                   3789:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   3790:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   3791:    ac_status=$?
                   3792:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3793:    (exit $ac_status); } \
                   3794:          && test -f conftest2.$ac_objext; then
                   3795:       : OK
                   3796:     else
                   3797:       am_cv_prog_cc_c_o=no
                   3798:       break
                   3799:     fi
                   3800:   done
                   3801:   rm -f core conftest*
                   3802:   unset am_i
                   3803: fi
                   3804: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   3805: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   3806: if test "$am_cv_prog_cc_c_o" != yes; then
                   3807:    # Losing compiler, so override with the script.
                   3808:    # FIXME: It is wrong to rewrite CC.
                   3809:    # But if we don't then we get into trouble of one sort or another.
                   3810:    # A longer-term fix would be to have automake use am__CC in this case,
                   3811:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   3812:    CC="$am_aux_dir/compile $CC"
                   3813: fi
                   3814: ac_ext=c
                   3815: ac_cpp='$CPP $CPPFLAGS'
                   3816: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3817: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3818: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3819: 
                   3820: DEPDIR="${am__leading_dot}deps"
                   3821: 
                   3822: ac_config_commands="$ac_config_commands depfiles"
                   3823: 
                   3824: 
                   3825: am_make=${MAKE-make}
                   3826: cat > confinc << 'END'
                   3827: am__doit:
                   3828:        @echo this is the am__doit target
                   3829: .PHONY: am__doit
                   3830: END
                   3831: # If we don't find an include directive, just comment out the code.
                   3832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3833: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3834: am__include="#"
                   3835: am__quote=
                   3836: _am_result=none
                   3837: # First try GNU make style include.
                   3838: echo "include confinc" > confmf
                   3839: # Ignore all kinds of additional output from 'make'.
                   3840: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3841: *the\ am__doit\ target*)
                   3842:   am__include=include
                   3843:   am__quote=
                   3844:   _am_result=GNU
                   3845:   ;;
                   3846: esac
                   3847: # Now try BSD make style include.
                   3848: if test "$am__include" = "#"; then
                   3849:    echo '.include "confinc"' > confmf
                   3850:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3851:    *the\ am__doit\ target*)
                   3852:      am__include=.include
                   3853:      am__quote="\""
                   3854:      _am_result=BSD
                   3855:      ;;
                   3856:    esac
                   3857: fi
                   3858: 
                   3859: 
                   3860: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3861: $as_echo "$_am_result" >&6; }
                   3862: rm -f confinc confmf
                   3863: 
                   3864: # Check whether --enable-dependency-tracking was given.
                   3865: if test "${enable_dependency_tracking+set}" = set; then :
                   3866:   enableval=$enable_dependency_tracking;
                   3867: fi
                   3868: 
                   3869: if test "x$enable_dependency_tracking" != xno; then
                   3870:   am_depcomp="$ac_aux_dir/depcomp"
                   3871:   AMDEPBACKSLASH='\'
                   3872:   am__nodep='_no'
                   3873: fi
                   3874:  if test "x$enable_dependency_tracking" != xno; then
                   3875:   AMDEP_TRUE=
                   3876:   AMDEP_FALSE='#'
                   3877: else
                   3878:   AMDEP_TRUE='#'
                   3879:   AMDEP_FALSE=
                   3880: fi
                   3881: 
                   3882: 
                   3883: 
                   3884: depcc="$CC"   am_compiler_list=
                   3885: 
                   3886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3887: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3888: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   3889:   $as_echo_n "(cached) " >&6
                   3890: else
                   3891:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3892:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3893:   # making bogus files that we don't know about and never remove.  For
                   3894:   # instance it was reported that on HP-UX the gcc test will end up
                   3895:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   3896:   # in D".
                   3897:   rm -rf conftest.dir
                   3898:   mkdir conftest.dir
                   3899:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3900:   # using a relative directory.
                   3901:   cp "$am_depcomp" conftest.dir
                   3902:   cd conftest.dir
                   3903:   # We will build objects and dependencies in a subdirectory because
                   3904:   # it helps to detect inapplicable dependency modes.  For instance
                   3905:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3906:   # side effect of compilation, but ICC will put the dependencies in
                   3907:   # the current directory while Tru64 will put them in the object
                   3908:   # directory.
                   3909:   mkdir sub
                   3910: 
                   3911:   am_cv_CC_dependencies_compiler_type=none
                   3912:   if test "$am_compiler_list" = ""; then
                   3913:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3914:   fi
                   3915:   am__universal=false
                   3916:   case " $depcc " in #(
                   3917:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3918:      esac
                   3919: 
                   3920:   for depmode in $am_compiler_list; do
                   3921:     # Setup a source with many dependencies, because some compilers
                   3922:     # like to wrap large dependency lists on column 80 (with \), and
                   3923:     # we should not choose a depcomp mode which is confused by this.
                   3924:     #
                   3925:     # We need to recreate these files for each test, as the compiler may
                   3926:     # overwrite some of them when testing with obscure command lines.
                   3927:     # This happens at least with the AIX C compiler.
                   3928:     : > sub/conftest.c
                   3929:     for i in 1 2 3 4 5 6; do
                   3930:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3931:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   3932:       # Solaris 10 /bin/sh.
                   3933:       echo '/* dummy */' > sub/conftst$i.h
                   3934:     done
                   3935:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3936: 
                   3937:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
                   3938:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3939:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   3940:     # versions had trouble with output in subdirs.
                   3941:     am__obj=sub/conftest.${OBJEXT-o}
                   3942:     am__minus_obj="-o $am__obj"
                   3943:     case $depmode in
                   3944:     gcc)
                   3945:       # This depmode causes a compiler race in universal mode.
                   3946:       test "$am__universal" = false || continue
                   3947:       ;;
                   3948:     nosideeffect)
                   3949:       # After this tag, mechanisms are not by side-effect, so they'll
                   3950:       # only be used when explicitly requested.
                   3951:       if test "x$enable_dependency_tracking" = xyes; then
                   3952:        continue
                   3953:       else
                   3954:        break
                   3955:       fi
                   3956:       ;;
                   3957:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   3958:       # This compiler won't grok '-c -o', but also, the minuso test has
                   3959:       # not run yet.  These depmodes are late enough in the game, and
                   3960:       # so weak that their functioning should not be impacted.
                   3961:       am__obj=conftest.${OBJEXT-o}
                   3962:       am__minus_obj=
                   3963:       ;;
                   3964:     none) break ;;
                   3965:     esac
                   3966:     if depmode=$depmode \
                   3967:        source=sub/conftest.c object=$am__obj \
                   3968:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3969:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3970:          >/dev/null 2>conftest.err &&
                   3971:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3972:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3973:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3974:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3975:       # icc doesn't choke on unknown options, it will just issue warnings
                   3976:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3977:       # that says an option was ignored or not supported.
                   3978:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3979:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3980:       # The diagnosis changed in icc 8.0:
                   3981:       #   icc: Command line remark: option '-MP' not supported
                   3982:       if (grep 'ignoring option' conftest.err ||
                   3983:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3984:         am_cv_CC_dependencies_compiler_type=$depmode
                   3985:         break
                   3986:       fi
                   3987:     fi
                   3988:   done
                   3989: 
                   3990:   cd ..
                   3991:   rm -rf conftest.dir
                   3992: else
                   3993:   am_cv_CC_dependencies_compiler_type=none
                   3994: fi
                   3995: 
                   3996: fi
                   3997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3998: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   3999: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4000: 
                   4001:  if
                   4002:   test "x$enable_dependency_tracking" != xno \
                   4003:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4004:   am__fastdepCC_TRUE=
                   4005:   am__fastdepCC_FALSE='#'
                   4006: else
                   4007:   am__fastdepCC_TRUE='#'
                   4008:   am__fastdepCC_FALSE=
                   4009: fi
                   4010: 
                   4011: 
                   4012: 
                   4013:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
                   4014: $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
                   4015: if ${ac_cv_prog_cc_c99+:} false; then :
                   4016:   $as_echo_n "(cached) " >&6
                   4017: else
                   4018:   ac_cv_prog_cc_c99=no
                   4019: ac_save_CC=$CC
                   4020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4021: /* end confdefs.h.  */
                   4022: #include <stdarg.h>
                   4023: #include <stdbool.h>
                   4024: #include <stdlib.h>
                   4025: #include <wchar.h>
                   4026: #include <stdio.h>
                   4027: 
                   4028: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   4029: #define debug(...) fprintf (stderr, __VA_ARGS__)
                   4030: #define showlist(...) puts (#__VA_ARGS__)
                   4031: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   4032: static void
                   4033: test_varargs_macros (void)
                   4034: {
                   4035:   int x = 1234;
                   4036:   int y = 5678;
                   4037:   debug ("Flag");
                   4038:   debug ("X = %d\n", x);
                   4039:   showlist (The first, second, and third items.);
                   4040:   report (x>y, "x is %d but y is %d", x, y);
                   4041: }
                   4042: 
                   4043: // Check long long types.
                   4044: #define BIG64 18446744073709551615ull
                   4045: #define BIG32 4294967295ul
                   4046: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   4047: #if !BIG_OK
                   4048:   your preprocessor is broken;
                   4049: #endif
                   4050: #if BIG_OK
                   4051: #else
                   4052:   your preprocessor is broken;
                   4053: #endif
                   4054: static long long int bignum = -9223372036854775807LL;
                   4055: static unsigned long long int ubignum = BIG64;
                   4056: 
                   4057: struct incomplete_array
                   4058: {
                   4059:   int datasize;
                   4060:   double data[];
                   4061: };
                   4062: 
                   4063: struct named_init {
                   4064:   int number;
                   4065:   const wchar_t *name;
                   4066:   double average;
                   4067: };
                   4068: 
                   4069: typedef const char *ccp;
                   4070: 
                   4071: static inline int
                   4072: test_restrict (ccp restrict text)
                   4073: {
                   4074:   // See if C++-style comments work.
                   4075:   // Iterate through items via the restricted pointer.
                   4076:   // Also check for declarations in for loops.
                   4077:   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
                   4078:     continue;
                   4079:   return 0;
                   4080: }
                   4081: 
                   4082: // Check varargs and va_copy.
                   4083: static void
                   4084: test_varargs (const char *format, ...)
                   4085: {
                   4086:   va_list args;
                   4087:   va_start (args, format);
                   4088:   va_list args_copy;
                   4089:   va_copy (args_copy, args);
                   4090: 
                   4091:   const char *str;
                   4092:   int number;
                   4093:   float fnumber;
                   4094: 
                   4095:   while (*format)
                   4096:     {
                   4097:       switch (*format++)
                   4098:        {
                   4099:        case 's': // string
                   4100:          str = va_arg (args_copy, const char *);
                   4101:          break;
                   4102:        case 'd': // int
                   4103:          number = va_arg (args_copy, int);
                   4104:          break;
                   4105:        case 'f': // float
                   4106:          fnumber = va_arg (args_copy, double);
                   4107:          break;
                   4108:        default:
                   4109:          break;
                   4110:        }
                   4111:     }
                   4112:   va_end (args_copy);
                   4113:   va_end (args);
                   4114: }
                   4115: 
                   4116: int
                   4117: main ()
                   4118: {
                   4119: 
                   4120:   // Check bool.
                   4121:   _Bool success = false;
                   4122: 
                   4123:   // Check restrict.
                   4124:   if (test_restrict ("String literal") == 0)
                   4125:     success = true;
                   4126:   char *restrict newvar = "Another string";
                   4127: 
                   4128:   // Check varargs.
                   4129:   test_varargs ("s, d' f .", "string", 65, 34.234);
                   4130:   test_varargs_macros ();
                   4131: 
                   4132:   // Check flexible array members.
                   4133:   struct incomplete_array *ia =
                   4134:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   4135:   ia->datasize = 10;
                   4136:   for (int i = 0; i < ia->datasize; ++i)
                   4137:     ia->data[i] = i * 1.234;
                   4138: 
                   4139:   // Check named initializers.
                   4140:   struct named_init ni = {
                   4141:     .number = 34,
                   4142:     .name = L"Test wide string",
                   4143:     .average = 543.34343,
                   4144:   };
                   4145: 
                   4146:   ni.number = 58;
                   4147: 
                   4148:   int dynamic_array[ni.number];
                   4149:   dynamic_array[ni.number - 1] = 543;
                   4150: 
                   4151:   // work around unused variable warnings
                   4152:   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
                   4153:          || dynamic_array[ni.number - 1] != 543);
                   4154: 
                   4155:   ;
                   4156:   return 0;
                   4157: }
                   4158: _ACEOF
                   4159: for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
                   4160: do
                   4161:   CC="$ac_save_CC $ac_arg"
                   4162:   if ac_fn_c_try_compile "$LINENO"; then :
                   4163:   ac_cv_prog_cc_c99=$ac_arg
                   4164: fi
                   4165: rm -f core conftest.err conftest.$ac_objext
                   4166:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   4167: done
                   4168: rm -f conftest.$ac_ext
                   4169: CC=$ac_save_CC
                   4170: 
                   4171: fi
                   4172: # AC_CACHE_VAL
                   4173: case "x$ac_cv_prog_cc_c99" in
                   4174:   x)
                   4175:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4176: $as_echo "none needed" >&6; } ;;
                   4177:   xno)
                   4178:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4179: $as_echo "unsupported" >&6; } ;;
                   4180:   *)
                   4181:     CC="$CC $ac_cv_prog_cc_c99"
                   4182:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
                   4183: $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
                   4184: esac
                   4185: if test "x$ac_cv_prog_cc_c99" != xno; then :
                   4186: 
                   4187: fi
                   4188: 
                   4189: 
                   4190: ac_ext=c
                   4191: ac_cpp='$CPP $CPPFLAGS'
                   4192: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4193: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4194: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4196: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4197: # On Suns, sometimes $CPP names a directory.
                   4198: if test -n "$CPP" && test -d "$CPP"; then
                   4199:   CPP=
                   4200: fi
                   4201: if test -z "$CPP"; then
                   4202:   if ${ac_cv_prog_CPP+:} false; then :
                   4203:   $as_echo_n "(cached) " >&6
                   4204: else
                   4205:       # Double quotes because CPP needs to be expanded
                   4206:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4207:     do
                   4208:       ac_preproc_ok=false
                   4209: for ac_c_preproc_warn_flag in '' yes
                   4210: do
                   4211:   # Use a header file that comes with gcc, so configuring glibc
                   4212:   # with a fresh cross-compiler works.
                   4213:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4214:   # <limits.h> exists even on freestanding compilers.
                   4215:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4216:   # not just through cpp. "Syntax error" is here to catch this case.
                   4217:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4218: /* end confdefs.h.  */
                   4219: #ifdef __STDC__
                   4220: # include <limits.h>
                   4221: #else
                   4222: # include <assert.h>
                   4223: #endif
                   4224:                     Syntax error
                   4225: _ACEOF
                   4226: if ac_fn_c_try_cpp "$LINENO"; then :
                   4227: 
                   4228: else
                   4229:   # Broken: fails on valid input.
                   4230: continue
                   4231: fi
                   4232: rm -f conftest.err conftest.i conftest.$ac_ext
                   4233: 
                   4234:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4235:   # can be detected and how.
                   4236:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4237: /* end confdefs.h.  */
                   4238: #include <ac_nonexistent.h>
                   4239: _ACEOF
                   4240: if ac_fn_c_try_cpp "$LINENO"; then :
                   4241:   # Broken: success on invalid input.
                   4242: continue
                   4243: else
                   4244:   # Passes both tests.
                   4245: ac_preproc_ok=:
                   4246: break
                   4247: fi
                   4248: rm -f conftest.err conftest.i conftest.$ac_ext
                   4249: 
                   4250: done
                   4251: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4252: rm -f conftest.i conftest.err conftest.$ac_ext
                   4253: if $ac_preproc_ok; then :
                   4254:   break
                   4255: fi
                   4256: 
                   4257:     done
                   4258:     ac_cv_prog_CPP=$CPP
                   4259: 
                   4260: fi
                   4261:   CPP=$ac_cv_prog_CPP
                   4262: else
                   4263:   ac_cv_prog_CPP=$CPP
                   4264: fi
                   4265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4266: $as_echo "$CPP" >&6; }
                   4267: ac_preproc_ok=false
                   4268: for ac_c_preproc_warn_flag in '' yes
                   4269: do
                   4270:   # Use a header file that comes with gcc, so configuring glibc
                   4271:   # with a fresh cross-compiler works.
                   4272:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4273:   # <limits.h> exists even on freestanding compilers.
                   4274:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4275:   # not just through cpp. "Syntax error" is here to catch this case.
                   4276:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4277: /* end confdefs.h.  */
                   4278: #ifdef __STDC__
                   4279: # include <limits.h>
                   4280: #else
                   4281: # include <assert.h>
                   4282: #endif
                   4283:                     Syntax error
                   4284: _ACEOF
                   4285: if ac_fn_c_try_cpp "$LINENO"; then :
                   4286: 
                   4287: else
                   4288:   # Broken: fails on valid input.
                   4289: continue
                   4290: fi
                   4291: rm -f conftest.err conftest.i conftest.$ac_ext
                   4292: 
                   4293:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4294:   # can be detected and how.
                   4295:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4296: /* end confdefs.h.  */
                   4297: #include <ac_nonexistent.h>
                   4298: _ACEOF
                   4299: if ac_fn_c_try_cpp "$LINENO"; then :
                   4300:   # Broken: success on invalid input.
                   4301: continue
                   4302: else
                   4303:   # Passes both tests.
                   4304: ac_preproc_ok=:
                   4305: break
                   4306: fi
                   4307: rm -f conftest.err conftest.i conftest.$ac_ext
                   4308: 
                   4309: done
                   4310: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4311: rm -f conftest.i conftest.err conftest.$ac_ext
                   4312: if $ac_preproc_ok; then :
                   4313: 
                   4314: else
                   4315:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4316: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4317: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4318: See \`config.log' for more details" "$LINENO" 5; }
                   4319: fi
                   4320: 
                   4321: ac_ext=c
                   4322: ac_cpp='$CPP $CPPFLAGS'
                   4323: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4324: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4325: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4326: 
                   4327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4328: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4329: if ${ac_cv_path_GREP+:} false; then :
                   4330:   $as_echo_n "(cached) " >&6
                   4331: else
                   4332:   if test -z "$GREP"; then
                   4333:   ac_path_GREP_found=false
                   4334:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4335:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4336: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4337: do
                   4338:   IFS=$as_save_IFS
                   4339:   test -z "$as_dir" && as_dir=.
                   4340:     for ac_prog in grep ggrep; do
                   4341:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4342:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4343:       as_fn_executable_p "$ac_path_GREP" || continue
                   4344: # Check for GNU ac_path_GREP and select it if it is found.
                   4345:   # Check for GNU $ac_path_GREP
                   4346: case `"$ac_path_GREP" --version 2>&1` in
                   4347: *GNU*)
                   4348:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4349: *)
                   4350:   ac_count=0
                   4351:   $as_echo_n 0123456789 >"conftest.in"
                   4352:   while :
                   4353:   do
                   4354:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4355:     mv "conftest.tmp" "conftest.in"
                   4356:     cp "conftest.in" "conftest.nl"
                   4357:     $as_echo 'GREP' >> "conftest.nl"
                   4358:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4359:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4360:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4361:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4362:       # Best one so far, save it but keep looking for a better one
                   4363:       ac_cv_path_GREP="$ac_path_GREP"
                   4364:       ac_path_GREP_max=$ac_count
                   4365:     fi
                   4366:     # 10*(2^10) chars as input seems more than enough
                   4367:     test $ac_count -gt 10 && break
                   4368:   done
                   4369:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4370: esac
                   4371: 
                   4372:       $ac_path_GREP_found && break 3
                   4373:     done
                   4374:   done
                   4375:   done
                   4376: IFS=$as_save_IFS
                   4377:   if test -z "$ac_cv_path_GREP"; then
                   4378:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4379:   fi
                   4380: else
                   4381:   ac_cv_path_GREP=$GREP
                   4382: fi
                   4383: 
                   4384: fi
                   4385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4386: $as_echo "$ac_cv_path_GREP" >&6; }
                   4387:  GREP="$ac_cv_path_GREP"
                   4388: 
                   4389: 
                   4390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4391: $as_echo_n "checking for egrep... " >&6; }
                   4392: if ${ac_cv_path_EGREP+:} false; then :
                   4393:   $as_echo_n "(cached) " >&6
                   4394: else
                   4395:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4396:    then ac_cv_path_EGREP="$GREP -E"
                   4397:    else
                   4398:      if test -z "$EGREP"; then
                   4399:   ac_path_EGREP_found=false
                   4400:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4401:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4402: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4403: do
                   4404:   IFS=$as_save_IFS
                   4405:   test -z "$as_dir" && as_dir=.
                   4406:     for ac_prog in egrep; do
                   4407:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4408:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4409:       as_fn_executable_p "$ac_path_EGREP" || continue
                   4410: # Check for GNU ac_path_EGREP and select it if it is found.
                   4411:   # Check for GNU $ac_path_EGREP
                   4412: case `"$ac_path_EGREP" --version 2>&1` in
                   4413: *GNU*)
                   4414:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4415: *)
                   4416:   ac_count=0
                   4417:   $as_echo_n 0123456789 >"conftest.in"
                   4418:   while :
                   4419:   do
                   4420:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4421:     mv "conftest.tmp" "conftest.in"
                   4422:     cp "conftest.in" "conftest.nl"
                   4423:     $as_echo 'EGREP' >> "conftest.nl"
                   4424:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4425:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4426:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4427:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4428:       # Best one so far, save it but keep looking for a better one
                   4429:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4430:       ac_path_EGREP_max=$ac_count
                   4431:     fi
                   4432:     # 10*(2^10) chars as input seems more than enough
                   4433:     test $ac_count -gt 10 && break
                   4434:   done
                   4435:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4436: esac
                   4437: 
                   4438:       $ac_path_EGREP_found && break 3
                   4439:     done
                   4440:   done
                   4441:   done
                   4442: IFS=$as_save_IFS
                   4443:   if test -z "$ac_cv_path_EGREP"; then
                   4444:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4445:   fi
                   4446: else
                   4447:   ac_cv_path_EGREP=$EGREP
                   4448: fi
                   4449: 
                   4450:    fi
                   4451: fi
                   4452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4453: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4454:  EGREP="$ac_cv_path_EGREP"
                   4455: 
                   4456: 
                   4457: 
                   4458: 
                   4459: 
                   4460: 
                   4461: 
                   4462: 
                   4463: 
                   4464: 
                   4465: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
                   4466:        if test -n "$ac_tool_prefix"; then
                   4467:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
                   4468: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
                   4469: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4470: $as_echo_n "checking for $ac_word... " >&6; }
                   4471: if ${ac_cv_path_PKG_CONFIG+:} false; then :
                   4472:   $as_echo_n "(cached) " >&6
                   4473: else
                   4474:   case $PKG_CONFIG in
                   4475:   [\\/]* | ?:[\\/]*)
                   4476:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
                   4477:   ;;
                   4478:   *)
                   4479:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4480: for as_dir in $PATH
                   4481: do
                   4482:   IFS=$as_save_IFS
                   4483:   test -z "$as_dir" && as_dir=.
                   4484:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4485:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4486:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   4487:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4488:     break 2
                   4489:   fi
                   4490: done
                   4491:   done
                   4492: IFS=$as_save_IFS
                   4493: 
                   4494:   ;;
                   4495: esac
                   4496: fi
                   4497: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
                   4498: if test -n "$PKG_CONFIG"; then
                   4499:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
                   4500: $as_echo "$PKG_CONFIG" >&6; }
                   4501: else
                   4502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4503: $as_echo "no" >&6; }
                   4504: fi
                   4505: 
                   4506: 
                   4507: fi
                   4508: if test -z "$ac_cv_path_PKG_CONFIG"; then
                   4509:   ac_pt_PKG_CONFIG=$PKG_CONFIG
                   4510:   # Extract the first word of "pkg-config", so it can be a program name with args.
                   4511: set dummy pkg-config; ac_word=$2
                   4512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4513: $as_echo_n "checking for $ac_word... " >&6; }
                   4514: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
                   4515:   $as_echo_n "(cached) " >&6
                   4516: else
                   4517:   case $ac_pt_PKG_CONFIG in
                   4518:   [\\/]* | ?:[\\/]*)
                   4519:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
                   4520:   ;;
                   4521:   *)
                   4522:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4523: for as_dir in $PATH
                   4524: do
                   4525:   IFS=$as_save_IFS
                   4526:   test -z "$as_dir" && as_dir=.
                   4527:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4528:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4529:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   4530:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4531:     break 2
                   4532:   fi
                   4533: done
                   4534:   done
                   4535: IFS=$as_save_IFS
                   4536: 
                   4537:   ;;
                   4538: esac
                   4539: fi
                   4540: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
                   4541: if test -n "$ac_pt_PKG_CONFIG"; then
                   4542:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
                   4543: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
                   4544: else
                   4545:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4546: $as_echo "no" >&6; }
                   4547: fi
                   4548: 
                   4549:   if test "x$ac_pt_PKG_CONFIG" = x; then
                   4550:     PKG_CONFIG=""
                   4551:   else
                   4552:     case $cross_compiling:$ac_tool_warned in
                   4553: yes:)
                   4554: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4555: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4556: ac_tool_warned=yes ;;
                   4557: esac
                   4558:     PKG_CONFIG=$ac_pt_PKG_CONFIG
                   4559:   fi
                   4560: else
                   4561:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
                   4562: fi
                   4563: 
                   4564: fi
                   4565: if test -n "$PKG_CONFIG"; then
                   4566:        _pkg_min_version=0.9.0
                   4567:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
                   4568: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
                   4569:        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
                   4570:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4571: $as_echo "yes" >&6; }
                   4572:        else
                   4573:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4574: $as_echo "no" >&6; }
                   4575:                PKG_CONFIG=""
                   4576:        fi
                   4577: fi
                   4578: 
                   4579: 
                   4580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4581: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4582: if ${ac_cv_header_stdc+:} false; then :
                   4583:   $as_echo_n "(cached) " >&6
                   4584: else
                   4585:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4586: /* end confdefs.h.  */
                   4587: #include <stdlib.h>
                   4588: #include <stdarg.h>
                   4589: #include <string.h>
                   4590: #include <float.h>
                   4591: 
                   4592: int
                   4593: main ()
                   4594: {
                   4595: 
                   4596:   ;
                   4597:   return 0;
                   4598: }
                   4599: _ACEOF
                   4600: if ac_fn_c_try_compile "$LINENO"; then :
                   4601:   ac_cv_header_stdc=yes
                   4602: else
                   4603:   ac_cv_header_stdc=no
                   4604: fi
                   4605: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4606: 
                   4607: if test $ac_cv_header_stdc = yes; then
                   4608:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4609:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4610: /* end confdefs.h.  */
                   4611: #include <string.h>
                   4612: 
                   4613: _ACEOF
                   4614: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4615:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4616: 
                   4617: else
                   4618:   ac_cv_header_stdc=no
                   4619: fi
                   4620: rm -f conftest*
                   4621: 
                   4622: fi
                   4623: 
                   4624: if test $ac_cv_header_stdc = yes; then
                   4625:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4626:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4627: /* end confdefs.h.  */
                   4628: #include <stdlib.h>
                   4629: 
                   4630: _ACEOF
                   4631: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4632:   $EGREP "free" >/dev/null 2>&1; then :
                   4633: 
                   4634: else
                   4635:   ac_cv_header_stdc=no
                   4636: fi
                   4637: rm -f conftest*
                   4638: 
                   4639: fi
                   4640: 
                   4641: if test $ac_cv_header_stdc = yes; then
                   4642:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4643:   if test "$cross_compiling" = yes; then :
                   4644:   :
                   4645: else
                   4646:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4647: /* end confdefs.h.  */
                   4648: #include <ctype.h>
                   4649: #include <stdlib.h>
                   4650: #if ((' ' & 0x0FF) == 0x020)
                   4651: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4652: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4653: #else
                   4654: # define ISLOWER(c) \
                   4655:                   (('a' <= (c) && (c) <= 'i') \
                   4656:                     || ('j' <= (c) && (c) <= 'r') \
                   4657:                     || ('s' <= (c) && (c) <= 'z'))
                   4658: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4659: #endif
                   4660: 
                   4661: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4662: int
                   4663: main ()
                   4664: {
                   4665:   int i;
                   4666:   for (i = 0; i < 256; i++)
                   4667:     if (XOR (islower (i), ISLOWER (i))
                   4668:        || toupper (i) != TOUPPER (i))
                   4669:       return 2;
                   4670:   return 0;
                   4671: }
                   4672: _ACEOF
                   4673: if ac_fn_c_try_run "$LINENO"; then :
                   4674: 
                   4675: else
                   4676:   ac_cv_header_stdc=no
                   4677: fi
                   4678: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4679:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4680: fi
                   4681: 
                   4682: fi
                   4683: fi
                   4684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4685: $as_echo "$ac_cv_header_stdc" >&6; }
                   4686: if test $ac_cv_header_stdc = yes; then
                   4687: 
                   4688: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   4689: 
                   4690: fi
                   4691: 
                   4692: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4693: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4694:                  inttypes.h stdint.h unistd.h
                   4695: do :
                   4696:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4697: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4698: "
                   4699: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4700:   cat >>confdefs.h <<_ACEOF
                   4701: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4702: _ACEOF
                   4703: 
                   4704: fi
                   4705: 
                   4706: done
                   4707: 
                   4708: 
                   4709: 
                   4710:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   4711: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   4712:   MINIX=yes
                   4713: else
                   4714:   MINIX=
                   4715: fi
                   4716: 
                   4717: 
                   4718:   if test "$MINIX" = yes; then
                   4719: 
                   4720: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
                   4721: 
                   4722: 
                   4723: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
                   4724: 
                   4725: 
                   4726: $as_echo "#define _MINIX 1" >>confdefs.h
                   4727: 
                   4728:   fi
                   4729: 
                   4730: 
                   4731:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   4732: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   4733: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   4734:   $as_echo_n "(cached) " >&6
                   4735: else
                   4736:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4737: /* end confdefs.h.  */
                   4738: 
                   4739: #         define __EXTENSIONS__ 1
                   4740:           $ac_includes_default
                   4741: int
                   4742: main ()
                   4743: {
                   4744: 
                   4745:   ;
                   4746:   return 0;
                   4747: }
                   4748: _ACEOF
                   4749: if ac_fn_c_try_compile "$LINENO"; then :
                   4750:   ac_cv_safe_to_define___extensions__=yes
                   4751: else
                   4752:   ac_cv_safe_to_define___extensions__=no
                   4753: fi
                   4754: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4755: fi
                   4756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   4757: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   4758:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   4759:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
                   4760: 
                   4761:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   4762: 
                   4763:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
                   4764: 
                   4765:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
                   4766: 
                   4767:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
                   4768: 
                   4769: 
                   4770: 
                   4771: # Default tmux.conf goes in /etc not ${prefix}/etc.
                   4772: test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
                   4773: 
                   4774: # Is this --enable-debug?
                   4775: # Check whether --enable-debug was given.
                   4776: if test "${enable_debug+set}" = set; then :
                   4777:   enableval=$enable_debug;
                   4778: fi
                   4779: 
                   4780:  if test "x$enable_debug" = xyes; then
                   4781:   IS_DEBUG_TRUE=
                   4782:   IS_DEBUG_FALSE='#'
                   4783: else
                   4784:   IS_DEBUG_TRUE='#'
                   4785:   IS_DEBUG_FALSE=
                   4786: fi
                   4787: 
                   4788: 
                   4789: # Is this a static build?
                   4790: # Check whether --enable-static was given.
                   4791: if test "${enable_static+set}" = set; then :
                   4792:   enableval=$enable_static;
                   4793: fi
                   4794: 
                   4795: if test "x$enable_static" = xyes; then
                   4796:        test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
                   4797:        AM_LDFLAGS="-static $AM_LDFLAGS"
                   4798:        LDFLAGS="$AM_LDFLAGS $SAVED_LDFLAGS"
                   4799: fi
                   4800: 
                   4801: # Is this gcc?
                   4802:  if test "x$GCC" = xyes; then
                   4803:   IS_GCC_TRUE=
                   4804:   IS_GCC_FALSE='#'
                   4805: else
                   4806:   IS_GCC_TRUE='#'
                   4807:   IS_GCC_FALSE=
                   4808: fi
                   4809: 
                   4810: 
                   4811: # Is this Sun CC?
                   4812: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4813: /* end confdefs.h.  */
                   4814: 
                   4815:                #ifdef __SUNPRO_C
                   4816:                yes
                   4817:                #endif
                   4818: 
                   4819: _ACEOF
                   4820: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4821:   $EGREP "yes" >/dev/null 2>&1; then :
                   4822:   found_suncc=yes
                   4823: else
                   4824:   found_suncc=no
                   4825: 
                   4826: fi
                   4827: rm -f conftest*
                   4828: 
                   4829:  if test "x$found_suncc" = xyes; then
                   4830:   IS_SUNCC_TRUE=
                   4831:   IS_SUNCC_FALSE='#'
                   4832: else
                   4833:   IS_SUNCC_TRUE='#'
                   4834:   IS_SUNCC_FALSE=
                   4835: fi
                   4836: 
                   4837: 
                   4838: # Check for various headers. Alternatives included from compat.h.
                   4839: for ac_header in  \
                   4840:        bitstring.h \
                   4841:        dirent.h \
                   4842:        fcntl.h \
                   4843:        inttypes.h \
                   4844:        libutil.h \
                   4845:        ndir.h \
                   4846:        paths.h \
                   4847:        pty.h \
                   4848:        stdint.h \
                   4849:        sys/dir.h \
                   4850:        sys/ndir.h \
                   4851:        sys/tree.h \
                   4852:        util.h \
                   4853: 
                   4854: do :
                   4855:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4856: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   4857: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4858:   cat >>confdefs.h <<_ACEOF
                   4859: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4860: _ACEOF
                   4861: 
                   4862: fi
                   4863: 
                   4864: done
                   4865: 
                   4866: 
                   4867: # Look for library needed for flock.
                   4868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing flock" >&5
                   4869: $as_echo_n "checking for library containing flock... " >&6; }
                   4870: if ${ac_cv_search_flock+:} false; then :
                   4871:   $as_echo_n "(cached) " >&6
                   4872: else
                   4873:   ac_func_search_save_LIBS=$LIBS
                   4874: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4875: /* end confdefs.h.  */
                   4876: 
                   4877: /* Override any GCC internal prototype to avoid an error.
                   4878:    Use char because int might match the return type of a GCC
                   4879:    builtin and then its argument prototype would still apply.  */
                   4880: #ifdef __cplusplus
                   4881: extern "C"
                   4882: #endif
                   4883: char flock ();
                   4884: int
                   4885: main ()
                   4886: {
                   4887: return flock ();
                   4888:   ;
                   4889:   return 0;
                   4890: }
                   4891: _ACEOF
                   4892: for ac_lib in '' bsd; do
                   4893:   if test -z "$ac_lib"; then
                   4894:     ac_res="none required"
                   4895:   else
                   4896:     ac_res=-l$ac_lib
                   4897:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   4898:   fi
                   4899:   if ac_fn_c_try_link "$LINENO"; then :
                   4900:   ac_cv_search_flock=$ac_res
                   4901: fi
                   4902: rm -f core conftest.err conftest.$ac_objext \
                   4903:     conftest$ac_exeext
                   4904:   if ${ac_cv_search_flock+:} false; then :
                   4905:   break
                   4906: fi
                   4907: done
                   4908: if ${ac_cv_search_flock+:} false; then :
                   4909: 
                   4910: else
                   4911:   ac_cv_search_flock=no
                   4912: fi
                   4913: rm conftest.$ac_ext
                   4914: LIBS=$ac_func_search_save_LIBS
                   4915: fi
                   4916: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_flock" >&5
                   4917: $as_echo "$ac_cv_search_flock" >&6; }
                   4918: ac_res=$ac_cv_search_flock
                   4919: if test "$ac_res" != no; then :
                   4920:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   4921: 
                   4922: fi
                   4923: 
                   4924: 
                   4925: # Check for functions that are replaced or omitted.
                   4926: for ac_func in  \
                   4927:        dirfd \
                   4928:        flock \
                   4929:        prctl \
                   4930:        sysconf \
                   4931: 
                   4932: do :
                   4933:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4934: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   4935: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   4936:   cat >>confdefs.h <<_ACEOF
                   4937: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4938: _ACEOF
                   4939: 
                   4940: fi
                   4941: done
                   4942: 
                   4943: 
                   4944: # Check for functions with a compatibility implementation.
                   4945: ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
                   4946: if test "x$ac_cv_func_asprintf" = xyes; then :
                   4947:   $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
                   4948: 
                   4949: else
                   4950:   case " $LIBOBJS " in
                   4951:   *" asprintf.$ac_objext "* ) ;;
                   4952:   *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
                   4953:  ;;
                   4954: esac
                   4955: 
                   4956: fi
                   4957: 
                   4958: ac_fn_c_check_func "$LINENO" "cfmakeraw" "ac_cv_func_cfmakeraw"
                   4959: if test "x$ac_cv_func_cfmakeraw" = xyes; then :
                   4960:   $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
                   4961: 
                   4962: else
                   4963:   case " $LIBOBJS " in
                   4964:   *" cfmakeraw.$ac_objext "* ) ;;
                   4965:   *) LIBOBJS="$LIBOBJS cfmakeraw.$ac_objext"
                   4966:  ;;
                   4967: esac
                   4968: 
                   4969: fi
                   4970: 
                   4971: ac_fn_c_check_func "$LINENO" "closefrom" "ac_cv_func_closefrom"
                   4972: if test "x$ac_cv_func_closefrom" = xyes; then :
                   4973:   $as_echo "#define HAVE_CLOSEFROM 1" >>confdefs.h
                   4974: 
                   4975: else
                   4976:   case " $LIBOBJS " in
                   4977:   *" closefrom.$ac_objext "* ) ;;
                   4978:   *) LIBOBJS="$LIBOBJS closefrom.$ac_objext"
                   4979:  ;;
                   4980: esac
                   4981: 
                   4982: fi
                   4983: 
                   4984: ac_fn_c_check_func "$LINENO" "explicit_bzero" "ac_cv_func_explicit_bzero"
                   4985: if test "x$ac_cv_func_explicit_bzero" = xyes; then :
                   4986:   $as_echo "#define HAVE_EXPLICIT_BZERO 1" >>confdefs.h
                   4987: 
                   4988: else
                   4989:   case " $LIBOBJS " in
                   4990:   *" explicit_bzero.$ac_objext "* ) ;;
                   4991:   *) LIBOBJS="$LIBOBJS explicit_bzero.$ac_objext"
                   4992:  ;;
                   4993: esac
                   4994: 
                   4995: fi
                   4996: 
                   4997: ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln"
                   4998: if test "x$ac_cv_func_fgetln" = xyes; then :
                   4999:   $as_echo "#define HAVE_FGETLN 1" >>confdefs.h
                   5000: 
                   5001: else
                   5002:   case " $LIBOBJS " in
                   5003:   *" fgetln.$ac_objext "* ) ;;
                   5004:   *) LIBOBJS="$LIBOBJS fgetln.$ac_objext"
                   5005:  ;;
                   5006: esac
                   5007: 
                   5008: fi
                   5009: 
                   5010: ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln"
                   5011: if test "x$ac_cv_func_fparseln" = xyes; then :
                   5012:   $as_echo "#define HAVE_FPARSELN 1" >>confdefs.h
                   5013: 
                   5014: else
                   5015:   case " $LIBOBJS " in
                   5016:   *" fparseln.$ac_objext "* ) ;;
                   5017:   *) LIBOBJS="$LIBOBJS fparseln.$ac_objext"
                   5018:  ;;
                   5019: esac
                   5020: 
                   5021: fi
                   5022: 
                   5023: ac_fn_c_check_func "$LINENO" "freezero" "ac_cv_func_freezero"
                   5024: if test "x$ac_cv_func_freezero" = xyes; then :
                   5025:   $as_echo "#define HAVE_FREEZERO 1" >>confdefs.h
                   5026: 
                   5027: else
                   5028:   case " $LIBOBJS " in
                   5029:   *" freezero.$ac_objext "* ) ;;
                   5030:   *) LIBOBJS="$LIBOBJS freezero.$ac_objext"
                   5031:  ;;
                   5032: esac
                   5033: 
                   5034: fi
                   5035: 
                   5036: ac_fn_c_check_func "$LINENO" "getdtablecount" "ac_cv_func_getdtablecount"
                   5037: if test "x$ac_cv_func_getdtablecount" = xyes; then :
                   5038:   $as_echo "#define HAVE_GETDTABLECOUNT 1" >>confdefs.h
                   5039: 
                   5040: else
                   5041:   case " $LIBOBJS " in
                   5042:   *" getdtablecount.$ac_objext "* ) ;;
                   5043:   *) LIBOBJS="$LIBOBJS getdtablecount.$ac_objext"
                   5044:  ;;
                   5045: esac
                   5046: 
                   5047: fi
                   5048: 
                   5049: ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname"
                   5050: if test "x$ac_cv_func_getprogname" = xyes; then :
                   5051:   $as_echo "#define HAVE_GETPROGNAME 1" >>confdefs.h
                   5052: 
                   5053: else
                   5054:   case " $LIBOBJS " in
                   5055:   *" getprogname.$ac_objext "* ) ;;
                   5056:   *) LIBOBJS="$LIBOBJS getprogname.$ac_objext"
                   5057:  ;;
                   5058: esac
                   5059: 
                   5060: fi
                   5061: 
                   5062: ac_fn_c_check_func "$LINENO" "recallocarray" "ac_cv_func_recallocarray"
                   5063: if test "x$ac_cv_func_recallocarray" = xyes; then :
                   5064:   $as_echo "#define HAVE_RECALLOCARRAY 1" >>confdefs.h
                   5065: 
                   5066: else
                   5067:   case " $LIBOBJS " in
                   5068:   *" recallocarray.$ac_objext "* ) ;;
                   5069:   *) LIBOBJS="$LIBOBJS recallocarray.$ac_objext"
                   5070:  ;;
                   5071: esac
                   5072: 
                   5073: fi
                   5074: 
                   5075: ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
                   5076: if test "x$ac_cv_func_reallocarray" = xyes; then :
                   5077:   $as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h
                   5078: 
                   5079: else
                   5080:   case " $LIBOBJS " in
                   5081:   *" reallocarray.$ac_objext "* ) ;;
                   5082:   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
                   5083:  ;;
                   5084: esac
                   5085: 
                   5086: fi
                   5087: 
                   5088: ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
                   5089: if test "x$ac_cv_func_setenv" = xyes; then :
                   5090:   $as_echo "#define HAVE_SETENV 1" >>confdefs.h
                   5091: 
                   5092: else
                   5093:   case " $LIBOBJS " in
                   5094:   *" setenv.$ac_objext "* ) ;;
                   5095:   *) LIBOBJS="$LIBOBJS setenv.$ac_objext"
                   5096:  ;;
                   5097: esac
                   5098: 
                   5099: fi
                   5100: 
                   5101: ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
                   5102: if test "x$ac_cv_func_setproctitle" = xyes; then :
                   5103:   $as_echo "#define HAVE_SETPROCTITLE 1" >>confdefs.h
                   5104: 
                   5105: else
                   5106:   case " $LIBOBJS " in
                   5107:   *" setproctitle.$ac_objext "* ) ;;
                   5108:   *) LIBOBJS="$LIBOBJS setproctitle.$ac_objext"
                   5109:  ;;
                   5110: esac
                   5111: 
                   5112: fi
                   5113: 
                   5114: ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
                   5115: if test "x$ac_cv_func_strcasestr" = xyes; then :
                   5116:   $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
                   5117: 
                   5118: else
                   5119:   case " $LIBOBJS " in
                   5120:   *" strcasestr.$ac_objext "* ) ;;
                   5121:   *) LIBOBJS="$LIBOBJS strcasestr.$ac_objext"
                   5122:  ;;
                   5123: esac
                   5124: 
                   5125: fi
                   5126: 
                   5127: ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
                   5128: if test "x$ac_cv_func_strlcat" = xyes; then :
                   5129:   $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
                   5130: 
                   5131: else
                   5132:   case " $LIBOBJS " in
                   5133:   *" strlcat.$ac_objext "* ) ;;
                   5134:   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
                   5135:  ;;
                   5136: esac
                   5137: 
                   5138: fi
                   5139: 
                   5140: ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
                   5141: if test "x$ac_cv_func_strlcpy" = xyes; then :
                   5142:   $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
                   5143: 
                   5144: else
                   5145:   case " $LIBOBJS " in
                   5146:   *" strlcpy.$ac_objext "* ) ;;
                   5147:   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
                   5148:  ;;
                   5149: esac
                   5150: 
                   5151: fi
                   5152: 
                   5153: ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
                   5154: if test "x$ac_cv_func_strndup" = xyes; then :
                   5155:   $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
                   5156: 
                   5157: else
                   5158:   case " $LIBOBJS " in
                   5159:   *" strndup.$ac_objext "* ) ;;
                   5160:   *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
                   5161:  ;;
                   5162: esac
                   5163: 
                   5164: fi
                   5165: 
                   5166: ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep"
                   5167: if test "x$ac_cv_func_strsep" = xyes; then :
                   5168:   $as_echo "#define HAVE_STRSEP 1" >>confdefs.h
                   5169: 
                   5170: else
                   5171:   case " $LIBOBJS " in
                   5172:   *" strsep.$ac_objext "* ) ;;
                   5173:   *) LIBOBJS="$LIBOBJS strsep.$ac_objext"
                   5174:  ;;
                   5175: esac
                   5176: 
                   5177: fi
                   5178: 
                   5179: ac_fn_c_check_func "$LINENO" "strtonum" "ac_cv_func_strtonum"
                   5180: if test "x$ac_cv_func_strtonum" = xyes; then :
                   5181:   $as_echo "#define HAVE_STRTONUM 1" >>confdefs.h
                   5182: 
                   5183: else
                   5184:   case " $LIBOBJS " in
                   5185:   *" strtonum.$ac_objext "* ) ;;
                   5186:   *) LIBOBJS="$LIBOBJS strtonum.$ac_objext"
                   5187:  ;;
                   5188: esac
                   5189: 
                   5190: fi
                   5191: 
                   5192: 
                   5193:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
                   5194: $as_echo_n "checking for working strnlen... " >&6; }
                   5195: if ${ac_cv_func_strnlen_working+:} false; then :
                   5196:   $as_echo_n "(cached) " >&6
                   5197: else
                   5198:   if test "$cross_compiling" = yes; then :
                   5199:   # Guess no on AIX systems, yes otherwise.
                   5200:                case "$host_os" in
                   5201:                  aix*) ac_cv_func_strnlen_working=no;;
                   5202:                  *)    ac_cv_func_strnlen_working=yes;;
                   5203:                esac
                   5204: else
                   5205:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5206: /* end confdefs.h.  */
                   5207: $ac_includes_default
                   5208: int
                   5209: main ()
                   5210: {
                   5211: 
                   5212: #define S "foobar"
                   5213: #define S_LEN (sizeof S - 1)
                   5214: 
                   5215:   /* At least one implementation is buggy: that of AIX 4.3 would
                   5216:      give strnlen (S, 1) == 3.  */
                   5217: 
                   5218:   int i;
                   5219:   for (i = 0; i < S_LEN + 1; ++i)
                   5220:     {
                   5221:       int expected = i <= S_LEN ? i : S_LEN;
                   5222:       if (strnlen (S, i) != expected)
                   5223:        return 1;
                   5224:     }
                   5225:   return 0;
                   5226: 
                   5227:   ;
                   5228:   return 0;
                   5229: }
                   5230: _ACEOF
                   5231: if ac_fn_c_try_run "$LINENO"; then :
                   5232:   ac_cv_func_strnlen_working=yes
                   5233: else
                   5234:   ac_cv_func_strnlen_working=no
                   5235: fi
                   5236: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5237:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5238: fi
                   5239: 
                   5240: fi
                   5241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
                   5242: $as_echo "$ac_cv_func_strnlen_working" >&6; }
                   5243: test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
                   5244:   *" strnlen.$ac_objext "* ) ;;
                   5245:   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
                   5246:  ;;
                   5247: esac
                   5248: 
                   5249: 
                   5250: 
                   5251: # Look for clock_gettime. Must come before event_init.
                   5252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
                   5253: $as_echo_n "checking for library containing clock_gettime... " >&6; }
                   5254: if ${ac_cv_search_clock_gettime+:} false; then :
                   5255:   $as_echo_n "(cached) " >&6
                   5256: else
                   5257:   ac_func_search_save_LIBS=$LIBS
                   5258: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5259: /* end confdefs.h.  */
                   5260: 
                   5261: /* Override any GCC internal prototype to avoid an error.
                   5262:    Use char because int might match the return type of a GCC
                   5263:    builtin and then its argument prototype would still apply.  */
                   5264: #ifdef __cplusplus
                   5265: extern "C"
                   5266: #endif
                   5267: char clock_gettime ();
                   5268: int
                   5269: main ()
                   5270: {
                   5271: return clock_gettime ();
                   5272:   ;
                   5273:   return 0;
                   5274: }
                   5275: _ACEOF
                   5276: for ac_lib in '' rt; do
                   5277:   if test -z "$ac_lib"; then
                   5278:     ac_res="none required"
                   5279:   else
                   5280:     ac_res=-l$ac_lib
                   5281:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5282:   fi
                   5283:   if ac_fn_c_try_link "$LINENO"; then :
                   5284:   ac_cv_search_clock_gettime=$ac_res
                   5285: fi
                   5286: rm -f core conftest.err conftest.$ac_objext \
                   5287:     conftest$ac_exeext
                   5288:   if ${ac_cv_search_clock_gettime+:} false; then :
                   5289:   break
                   5290: fi
                   5291: done
                   5292: if ${ac_cv_search_clock_gettime+:} false; then :
                   5293: 
                   5294: else
                   5295:   ac_cv_search_clock_gettime=no
                   5296: fi
                   5297: rm conftest.$ac_ext
                   5298: LIBS=$ac_func_search_save_LIBS
                   5299: fi
                   5300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
                   5301: $as_echo "$ac_cv_search_clock_gettime" >&6; }
                   5302: ac_res=$ac_cv_search_clock_gettime
                   5303: if test "$ac_res" != no; then :
                   5304:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5305: 
                   5306: fi
                   5307: 
                   5308: 
                   5309: # Look for libevent.
                   5310: 
                   5311: pkg_failed=no
                   5312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEVENT" >&5
                   5313: $as_echo_n "checking for LIBEVENT... " >&6; }
                   5314: 
                   5315: if test -n "$LIBEVENT_CFLAGS"; then
                   5316:     pkg_cv_LIBEVENT_CFLAGS="$LIBEVENT_CFLAGS"
                   5317:  elif test -n "$PKG_CONFIG"; then
                   5318:     if test -n "$PKG_CONFIG" && \
                   5319:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent\""; } >&5
                   5320:   ($PKG_CONFIG --exists --print-errors "libevent") 2>&5
                   5321:   ac_status=$?
                   5322:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5323:   test $ac_status = 0; }; then
                   5324:   pkg_cv_LIBEVENT_CFLAGS=`$PKG_CONFIG --cflags "libevent" 2>/dev/null`
                   5325:                      test "x$?" != "x0" && pkg_failed=yes
                   5326: else
                   5327:   pkg_failed=yes
                   5328: fi
                   5329:  else
                   5330:     pkg_failed=untried
                   5331: fi
                   5332: if test -n "$LIBEVENT_LIBS"; then
                   5333:     pkg_cv_LIBEVENT_LIBS="$LIBEVENT_LIBS"
                   5334:  elif test -n "$PKG_CONFIG"; then
                   5335:     if test -n "$PKG_CONFIG" && \
                   5336:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent\""; } >&5
                   5337:   ($PKG_CONFIG --exists --print-errors "libevent") 2>&5
                   5338:   ac_status=$?
                   5339:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5340:   test $ac_status = 0; }; then
                   5341:   pkg_cv_LIBEVENT_LIBS=`$PKG_CONFIG --libs "libevent" 2>/dev/null`
                   5342:                      test "x$?" != "x0" && pkg_failed=yes
                   5343: else
                   5344:   pkg_failed=yes
                   5345: fi
                   5346:  else
                   5347:     pkg_failed=untried
                   5348: fi
                   5349: 
                   5350: 
                   5351: 
                   5352: if test $pkg_failed = yes; then
                   5353:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5354: $as_echo "no" >&6; }
                   5355: 
                   5356: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
                   5357:         _pkg_short_errors_supported=yes
                   5358: else
                   5359:         _pkg_short_errors_supported=no
                   5360: fi
                   5361:         if test $_pkg_short_errors_supported = yes; then
                   5362:                LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libevent" 2>&1`
                   5363:         else
                   5364:                LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libevent" 2>&1`
                   5365:         fi
                   5366:        # Put the nasty error message in config.log where it belongs
                   5367:        echo "$LIBEVENT_PKG_ERRORS" >&5
                   5368: 
                   5369: 
                   5370:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing event_init" >&5
                   5371: $as_echo_n "checking for library containing event_init... " >&6; }
                   5372: if ${ac_cv_search_event_init+:} false; then :
                   5373:   $as_echo_n "(cached) " >&6
                   5374: else
                   5375:   ac_func_search_save_LIBS=$LIBS
                   5376: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5377: /* end confdefs.h.  */
                   5378: 
                   5379: /* Override any GCC internal prototype to avoid an error.
                   5380:    Use char because int might match the return type of a GCC
                   5381:    builtin and then its argument prototype would still apply.  */
                   5382: #ifdef __cplusplus
                   5383: extern "C"
                   5384: #endif
                   5385: char event_init ();
                   5386: int
                   5387: main ()
                   5388: {
                   5389: return event_init ();
                   5390:   ;
                   5391:   return 0;
                   5392: }
                   5393: _ACEOF
                   5394: for ac_lib in '' event event-1.4 event2; do
                   5395:   if test -z "$ac_lib"; then
                   5396:     ac_res="none required"
                   5397:   else
                   5398:     ac_res=-l$ac_lib
                   5399:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5400:   fi
                   5401:   if ac_fn_c_try_link "$LINENO"; then :
                   5402:   ac_cv_search_event_init=$ac_res
                   5403: fi
                   5404: rm -f core conftest.err conftest.$ac_objext \
                   5405:     conftest$ac_exeext
                   5406:   if ${ac_cv_search_event_init+:} false; then :
                   5407:   break
                   5408: fi
                   5409: done
                   5410: if ${ac_cv_search_event_init+:} false; then :
                   5411: 
                   5412: else
                   5413:   ac_cv_search_event_init=no
                   5414: fi
                   5415: rm conftest.$ac_ext
                   5416: LIBS=$ac_func_search_save_LIBS
                   5417: fi
                   5418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_init" >&5
                   5419: $as_echo "$ac_cv_search_event_init" >&6; }
                   5420: ac_res=$ac_cv_search_event_init
                   5421: if test "$ac_res" != no; then :
                   5422:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5423:   found_libevent=yes
                   5424: else
                   5425:   found_libevent=no
                   5426: 
                   5427: fi
                   5428: 
                   5429: 
                   5430: 
                   5431: elif test $pkg_failed = untried; then
                   5432:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5433: $as_echo "no" >&6; }
                   5434: 
                   5435:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing event_init" >&5
                   5436: $as_echo_n "checking for library containing event_init... " >&6; }
                   5437: if ${ac_cv_search_event_init+:} false; then :
                   5438:   $as_echo_n "(cached) " >&6
                   5439: else
                   5440:   ac_func_search_save_LIBS=$LIBS
                   5441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5442: /* end confdefs.h.  */
                   5443: 
                   5444: /* Override any GCC internal prototype to avoid an error.
                   5445:    Use char because int might match the return type of a GCC
                   5446:    builtin and then its argument prototype would still apply.  */
                   5447: #ifdef __cplusplus
                   5448: extern "C"
                   5449: #endif
                   5450: char event_init ();
                   5451: int
                   5452: main ()
                   5453: {
                   5454: return event_init ();
                   5455:   ;
                   5456:   return 0;
                   5457: }
                   5458: _ACEOF
                   5459: for ac_lib in '' event event-1.4 event2; do
                   5460:   if test -z "$ac_lib"; then
                   5461:     ac_res="none required"
                   5462:   else
                   5463:     ac_res=-l$ac_lib
                   5464:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5465:   fi
                   5466:   if ac_fn_c_try_link "$LINENO"; then :
                   5467:   ac_cv_search_event_init=$ac_res
                   5468: fi
                   5469: rm -f core conftest.err conftest.$ac_objext \
                   5470:     conftest$ac_exeext
                   5471:   if ${ac_cv_search_event_init+:} false; then :
                   5472:   break
                   5473: fi
                   5474: done
                   5475: if ${ac_cv_search_event_init+:} false; then :
                   5476: 
                   5477: else
                   5478:   ac_cv_search_event_init=no
                   5479: fi
                   5480: rm conftest.$ac_ext
                   5481: LIBS=$ac_func_search_save_LIBS
                   5482: fi
                   5483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_init" >&5
                   5484: $as_echo "$ac_cv_search_event_init" >&6; }
                   5485: ac_res=$ac_cv_search_event_init
                   5486: if test "$ac_res" != no; then :
                   5487:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5488:   found_libevent=yes
                   5489: else
                   5490:   found_libevent=no
                   5491: 
                   5492: fi
                   5493: 
                   5494: 
                   5495: 
                   5496: else
                   5497:        LIBEVENT_CFLAGS=$pkg_cv_LIBEVENT_CFLAGS
                   5498:        LIBEVENT_LIBS=$pkg_cv_LIBEVENT_LIBS
                   5499:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5500: $as_echo "yes" >&6; }
                   5501: 
                   5502:                AM_CFLAGS="$LIBEVENT_CFLAGS $AM_CFLAGS"
                   5503:                CFLAGS="$AM_CFLAGS $SAVED_CFLAGS"
                   5504:                LIBS="$LIBEVENT_LIBS $LIBS"
                   5505:                found_libevent=yes
                   5506: 
                   5507: fi
                   5508: ac_fn_c_check_header_mongrel "$LINENO" "event.h" "ac_cv_header_event_h" "$ac_includes_default"
                   5509: if test "x$ac_cv_header_event_h" = xyes; then :
                   5510: 
                   5511: else
                   5512:   found_libevent=no
                   5513: 
                   5514: fi
                   5515: 
                   5516: 
                   5517: if test "x$found_libevent" = xno; then
                   5518:        as_fn_error $? "\"libevent not found\"" "$LINENO" 5
                   5519: fi
                   5520: 
                   5521: # Look for ncurses.
                   5522: 
                   5523: pkg_failed=no
                   5524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTINFO" >&5
                   5525: $as_echo_n "checking for LIBTINFO... " >&6; }
                   5526: 
                   5527: if test -n "$LIBTINFO_CFLAGS"; then
                   5528:     pkg_cv_LIBTINFO_CFLAGS="$LIBTINFO_CFLAGS"
                   5529:  elif test -n "$PKG_CONFIG"; then
                   5530:     if test -n "$PKG_CONFIG" && \
                   5531:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5
                   5532:   ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5
                   5533:   ac_status=$?
                   5534:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5535:   test $ac_status = 0; }; then
                   5536:   pkg_cv_LIBTINFO_CFLAGS=`$PKG_CONFIG --cflags "tinfo" 2>/dev/null`
                   5537:                      test "x$?" != "x0" && pkg_failed=yes
                   5538: else
                   5539:   pkg_failed=yes
                   5540: fi
                   5541:  else
                   5542:     pkg_failed=untried
                   5543: fi
                   5544: if test -n "$LIBTINFO_LIBS"; then
                   5545:     pkg_cv_LIBTINFO_LIBS="$LIBTINFO_LIBS"
                   5546:  elif test -n "$PKG_CONFIG"; then
                   5547:     if test -n "$PKG_CONFIG" && \
                   5548:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5
                   5549:   ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5
                   5550:   ac_status=$?
                   5551:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5552:   test $ac_status = 0; }; then
                   5553:   pkg_cv_LIBTINFO_LIBS=`$PKG_CONFIG --libs "tinfo" 2>/dev/null`
                   5554:                      test "x$?" != "x0" && pkg_failed=yes
                   5555: else
                   5556:   pkg_failed=yes
                   5557: fi
                   5558:  else
                   5559:     pkg_failed=untried
                   5560: fi
                   5561: 
                   5562: 
                   5563: 
                   5564: if test $pkg_failed = yes; then
                   5565:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5566: $as_echo "no" >&6; }
                   5567: 
                   5568: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
                   5569:         _pkg_short_errors_supported=yes
                   5570: else
                   5571:         _pkg_short_errors_supported=no
                   5572: fi
                   5573:         if test $_pkg_short_errors_supported = yes; then
                   5574:                LIBTINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinfo" 2>&1`
                   5575:         else
                   5576:                LIBTINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinfo" 2>&1`
                   5577:         fi
                   5578:        # Put the nasty error message in config.log where it belongs
                   5579:        echo "$LIBTINFO_PKG_ERRORS" >&5
                   5580: 
                   5581:        found_ncurses=no
                   5582: 
                   5583: elif test $pkg_failed = untried; then
                   5584:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5585: $as_echo "no" >&6; }
                   5586:        found_ncurses=no
                   5587: 
                   5588: else
                   5589:        LIBTINFO_CFLAGS=$pkg_cv_LIBTINFO_CFLAGS
                   5590:        LIBTINFO_LIBS=$pkg_cv_LIBTINFO_LIBS
                   5591:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5592: $as_echo "yes" >&6; }
                   5593:        found_ncurses=yes
                   5594: fi
                   5595: if test "x$found_ncurses" = xno; then
                   5596: 
                   5597: pkg_failed=no
                   5598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNCURSES" >&5
                   5599: $as_echo_n "checking for LIBNCURSES... " >&6; }
                   5600: 
                   5601: if test -n "$LIBNCURSES_CFLAGS"; then
                   5602:     pkg_cv_LIBNCURSES_CFLAGS="$LIBNCURSES_CFLAGS"
                   5603:  elif test -n "$PKG_CONFIG"; then
                   5604:     if test -n "$PKG_CONFIG" && \
                   5605:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
                   5606:   ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
                   5607:   ac_status=$?
                   5608:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5609:   test $ac_status = 0; }; then
                   5610:   pkg_cv_LIBNCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
                   5611:                      test "x$?" != "x0" && pkg_failed=yes
                   5612: else
                   5613:   pkg_failed=yes
                   5614: fi
                   5615:  else
                   5616:     pkg_failed=untried
                   5617: fi
                   5618: if test -n "$LIBNCURSES_LIBS"; then
                   5619:     pkg_cv_LIBNCURSES_LIBS="$LIBNCURSES_LIBS"
                   5620:  elif test -n "$PKG_CONFIG"; then
                   5621:     if test -n "$PKG_CONFIG" && \
                   5622:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
                   5623:   ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
                   5624:   ac_status=$?
                   5625:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5626:   test $ac_status = 0; }; then
                   5627:   pkg_cv_LIBNCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
                   5628:                      test "x$?" != "x0" && pkg_failed=yes
                   5629: else
                   5630:   pkg_failed=yes
                   5631: fi
                   5632:  else
                   5633:     pkg_failed=untried
                   5634: fi
                   5635: 
                   5636: 
                   5637: 
                   5638: if test $pkg_failed = yes; then
                   5639:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5640: $as_echo "no" >&6; }
                   5641: 
                   5642: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
                   5643:         _pkg_short_errors_supported=yes
                   5644: else
                   5645:         _pkg_short_errors_supported=no
                   5646: fi
                   5647:         if test $_pkg_short_errors_supported = yes; then
                   5648:                LIBNCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
                   5649:         else
                   5650:                LIBNCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
                   5651:         fi
                   5652:        # Put the nasty error message in config.log where it belongs
                   5653:        echo "$LIBNCURSES_PKG_ERRORS" >&5
                   5654: 
                   5655:        found_ncurses=no
                   5656: 
                   5657: elif test $pkg_failed = untried; then
                   5658:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5659: $as_echo "no" >&6; }
                   5660:        found_ncurses=no
                   5661: 
                   5662: else
                   5663:        LIBNCURSES_CFLAGS=$pkg_cv_LIBNCURSES_CFLAGS
                   5664:        LIBNCURSES_LIBS=$pkg_cv_LIBNCURSES_LIBS
                   5665:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5666: $as_echo "yes" >&6; }
                   5667:        found_ncurses=yes
                   5668: fi
                   5669: fi
                   5670: if test "x$found_ncurses" = xno; then
                   5671: 
                   5672: pkg_failed=no
                   5673: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNCURSES" >&5
                   5674: $as_echo_n "checking for LIBNCURSES... " >&6; }
                   5675: 
                   5676: if test -n "$LIBNCURSES_CFLAGS"; then
                   5677:     pkg_cv_LIBNCURSES_CFLAGS="$LIBNCURSES_CFLAGS"
                   5678:  elif test -n "$PKG_CONFIG"; then
                   5679:     if test -n "$PKG_CONFIG" && \
                   5680:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
                   5681:   ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
                   5682:   ac_status=$?
                   5683:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5684:   test $ac_status = 0; }; then
                   5685:   pkg_cv_LIBNCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null`
                   5686:                      test "x$?" != "x0" && pkg_failed=yes
                   5687: else
                   5688:   pkg_failed=yes
                   5689: fi
                   5690:  else
                   5691:     pkg_failed=untried
                   5692: fi
                   5693: if test -n "$LIBNCURSES_LIBS"; then
                   5694:     pkg_cv_LIBNCURSES_LIBS="$LIBNCURSES_LIBS"
                   5695:  elif test -n "$PKG_CONFIG"; then
                   5696:     if test -n "$PKG_CONFIG" && \
                   5697:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
                   5698:   ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
                   5699:   ac_status=$?
                   5700:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5701:   test $ac_status = 0; }; then
                   5702:   pkg_cv_LIBNCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
                   5703:                      test "x$?" != "x0" && pkg_failed=yes
                   5704: else
                   5705:   pkg_failed=yes
                   5706: fi
                   5707:  else
                   5708:     pkg_failed=untried
                   5709: fi
                   5710: 
                   5711: 
                   5712: 
                   5713: if test $pkg_failed = yes; then
                   5714:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5715: $as_echo "no" >&6; }
                   5716: 
                   5717: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
                   5718:         _pkg_short_errors_supported=yes
                   5719: else
                   5720:         _pkg_short_errors_supported=no
                   5721: fi
                   5722:         if test $_pkg_short_errors_supported = yes; then
                   5723:                LIBNCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1`
                   5724:         else
                   5725:                LIBNCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1`
                   5726:         fi
                   5727:        # Put the nasty error message in config.log where it belongs
                   5728:        echo "$LIBNCURSES_PKG_ERRORS" >&5
                   5729: 
                   5730:        found_ncurses=no
                   5731: 
                   5732: elif test $pkg_failed = untried; then
                   5733:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5734: $as_echo "no" >&6; }
                   5735:        found_ncurses=no
                   5736: 
                   5737: else
                   5738:        LIBNCURSES_CFLAGS=$pkg_cv_LIBNCURSES_CFLAGS
                   5739:        LIBNCURSES_LIBS=$pkg_cv_LIBNCURSES_LIBS
                   5740:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5741: $as_echo "yes" >&6; }
                   5742:        found_ncurses=yes
                   5743: fi
                   5744: fi
                   5745: if test "x$found_ncurses" = xyes; then
                   5746:        CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $CPPFLAGS"
                   5747:        LIBS="$LIBNCURSES_LIBS $LIBTINFO_LIBS $LIBS"
                   5748: else
                   5749:        # pkg-config didn't work, try ncurses.
                   5750:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
                   5751: $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
                   5752: if ${ac_cv_lib_tinfo_setupterm+:} false; then :
                   5753:   $as_echo_n "(cached) " >&6
                   5754: else
                   5755:   ac_check_lib_save_LIBS=$LIBS
                   5756: LIBS="-ltinfo  $LIBS"
                   5757: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5758: /* end confdefs.h.  */
                   5759: 
                   5760: /* Override any GCC internal prototype to avoid an error.
                   5761:    Use char because int might match the return type of a GCC
                   5762:    builtin and then its argument prototype would still apply.  */
                   5763: #ifdef __cplusplus
                   5764: extern "C"
                   5765: #endif
                   5766: char setupterm ();
                   5767: int
                   5768: main ()
                   5769: {
                   5770: return setupterm ();
                   5771:   ;
                   5772:   return 0;
                   5773: }
                   5774: _ACEOF
                   5775: if ac_fn_c_try_link "$LINENO"; then :
                   5776:   ac_cv_lib_tinfo_setupterm=yes
                   5777: else
                   5778:   ac_cv_lib_tinfo_setupterm=no
                   5779: fi
                   5780: rm -f core conftest.err conftest.$ac_objext \
                   5781:     conftest$ac_exeext conftest.$ac_ext
                   5782: LIBS=$ac_check_lib_save_LIBS
                   5783: fi
                   5784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
                   5785: $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
                   5786: if test "x$ac_cv_lib_tinfo_setupterm" = xyes; then :
                   5787:   found_ncurses=yes
                   5788: else
                   5789:   found_ncurses=no
                   5790: 
                   5791: fi
                   5792: 
                   5793:        if test "x$found_ncurses" = xno; then
                   5794:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
                   5795: $as_echo_n "checking for setupterm in -lncurses... " >&6; }
                   5796: if ${ac_cv_lib_ncurses_setupterm+:} false; then :
                   5797:   $as_echo_n "(cached) " >&6
                   5798: else
                   5799:   ac_check_lib_save_LIBS=$LIBS
                   5800: LIBS="-lncurses  $LIBS"
                   5801: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5802: /* end confdefs.h.  */
                   5803: 
                   5804: /* Override any GCC internal prototype to avoid an error.
                   5805:    Use char because int might match the return type of a GCC
                   5806:    builtin and then its argument prototype would still apply.  */
                   5807: #ifdef __cplusplus
                   5808: extern "C"
                   5809: #endif
                   5810: char setupterm ();
                   5811: int
                   5812: main ()
                   5813: {
                   5814: return setupterm ();
                   5815:   ;
                   5816:   return 0;
                   5817: }
                   5818: _ACEOF
                   5819: if ac_fn_c_try_link "$LINENO"; then :
                   5820:   ac_cv_lib_ncurses_setupterm=yes
                   5821: else
                   5822:   ac_cv_lib_ncurses_setupterm=no
                   5823: fi
                   5824: rm -f core conftest.err conftest.$ac_objext \
                   5825:     conftest$ac_exeext conftest.$ac_ext
                   5826: LIBS=$ac_check_lib_save_LIBS
                   5827: fi
                   5828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
                   5829: $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
                   5830: if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
                   5831:   found_ncurses=yes
                   5832: else
                   5833:   found_ncurses=no
                   5834: 
                   5835: fi
                   5836: 
                   5837:        fi
                   5838:        if test "x$found_ncurses" = xyes; then
                   5839:                ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
                   5840: if test "x$ac_cv_header_ncurses_h" = xyes; then :
                   5841:   LIBS="$LIBS -lncurses"
                   5842: else
                   5843:   found_ncurses=no
                   5844: fi
                   5845: 
                   5846: 
                   5847:        fi
                   5848: fi
                   5849: if test "x$found_ncurses" = xyes; then
                   5850:        $as_echo "#define HAVE_NCURSES_H 1" >>confdefs.h
                   5851: 
                   5852: else
                   5853:        # No ncurses, try curses.
                   5854:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
                   5855: $as_echo_n "checking for setupterm in -lcurses... " >&6; }
                   5856: if ${ac_cv_lib_curses_setupterm+:} false; then :
                   5857:   $as_echo_n "(cached) " >&6
                   5858: else
                   5859:   ac_check_lib_save_LIBS=$LIBS
                   5860: LIBS="-lcurses  $LIBS"
                   5861: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5862: /* end confdefs.h.  */
                   5863: 
                   5864: /* Override any GCC internal prototype to avoid an error.
                   5865:    Use char because int might match the return type of a GCC
                   5866:    builtin and then its argument prototype would still apply.  */
                   5867: #ifdef __cplusplus
                   5868: extern "C"
                   5869: #endif
                   5870: char setupterm ();
                   5871: int
                   5872: main ()
                   5873: {
                   5874: return setupterm ();
                   5875:   ;
                   5876:   return 0;
                   5877: }
                   5878: _ACEOF
                   5879: if ac_fn_c_try_link "$LINENO"; then :
                   5880:   ac_cv_lib_curses_setupterm=yes
                   5881: else
                   5882:   ac_cv_lib_curses_setupterm=no
                   5883: fi
                   5884: rm -f core conftest.err conftest.$ac_objext \
                   5885:     conftest$ac_exeext conftest.$ac_ext
                   5886: LIBS=$ac_check_lib_save_LIBS
                   5887: fi
                   5888: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
                   5889: $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
                   5890: if test "x$ac_cv_lib_curses_setupterm" = xyes; then :
                   5891:   found_curses=yes
                   5892: else
                   5893:   found_curses=no
                   5894: 
                   5895: fi
                   5896: 
                   5897:        ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
                   5898: if test "x$ac_cv_header_curses_h" = xyes; then :
                   5899: 
                   5900: else
                   5901:   found_curses=no
                   5902: fi
                   5903: 
                   5904: 
                   5905:        if test "x$found_curses" = xyes; then
                   5906:                LIBS="$LIBS -lcurses"
                   5907:                $as_echo "#define HAVE_CURSES_H 1" >>confdefs.h
                   5908: 
                   5909:        else
                   5910:                as_fn_error $? "\"curses not found\"" "$LINENO" 5
                   5911:        fi
                   5912: fi
                   5913: 
                   5914: # Look for utempter.
                   5915: # Check whether --enable-utempter was given.
                   5916: if test "${enable_utempter+set}" = set; then :
                   5917:   enableval=$enable_utempter;
                   5918: fi
                   5919: 
                   5920: if test "x$enable_utempter" = xyes; then
                   5921:        ac_fn_c_check_header_mongrel "$LINENO" "utempter.h" "ac_cv_header_utempter_h" "$ac_includes_default"
                   5922: if test "x$ac_cv_header_utempter_h" = xyes; then :
                   5923:   enable_utempter=yes
                   5924: else
                   5925:   enable_utempter=no
                   5926: fi
                   5927: 
                   5928: 
                   5929:        if test "x$enable_utempter" = xyes; then
                   5930:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing utempter_add_record" >&5
                   5931: $as_echo_n "checking for library containing utempter_add_record... " >&6; }
                   5932: if ${ac_cv_search_utempter_add_record+:} false; then :
                   5933:   $as_echo_n "(cached) " >&6
                   5934: else
                   5935:   ac_func_search_save_LIBS=$LIBS
                   5936: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5937: /* end confdefs.h.  */
                   5938: 
                   5939: /* Override any GCC internal prototype to avoid an error.
                   5940:    Use char because int might match the return type of a GCC
                   5941:    builtin and then its argument prototype would still apply.  */
                   5942: #ifdef __cplusplus
                   5943: extern "C"
                   5944: #endif
                   5945: char utempter_add_record ();
                   5946: int
                   5947: main ()
                   5948: {
                   5949: return utempter_add_record ();
                   5950:   ;
                   5951:   return 0;
                   5952: }
                   5953: _ACEOF
                   5954: for ac_lib in '' utempter; do
                   5955:   if test -z "$ac_lib"; then
                   5956:     ac_res="none required"
                   5957:   else
                   5958:     ac_res=-l$ac_lib
                   5959:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5960:   fi
                   5961:   if ac_fn_c_try_link "$LINENO"; then :
                   5962:   ac_cv_search_utempter_add_record=$ac_res
                   5963: fi
                   5964: rm -f core conftest.err conftest.$ac_objext \
                   5965:     conftest$ac_exeext
                   5966:   if ${ac_cv_search_utempter_add_record+:} false; then :
                   5967:   break
                   5968: fi
                   5969: done
                   5970: if ${ac_cv_search_utempter_add_record+:} false; then :
                   5971: 
                   5972: else
                   5973:   ac_cv_search_utempter_add_record=no
                   5974: fi
                   5975: rm conftest.$ac_ext
                   5976: LIBS=$ac_func_search_save_LIBS
                   5977: fi
                   5978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_utempter_add_record" >&5
                   5979: $as_echo "$ac_cv_search_utempter_add_record" >&6; }
                   5980: ac_res=$ac_cv_search_utempter_add_record
                   5981: if test "$ac_res" != no; then :
                   5982:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5983:   enable_utempter=yes
                   5984: else
                   5985:   enable_utempter=no
                   5986: 
                   5987: fi
                   5988: 
                   5989:        fi
                   5990:        if test "x$enable_utempter" = xyes; then
                   5991:                $as_echo "#define HAVE_UTEMPTER 1" >>confdefs.h
                   5992: 
                   5993:        else
                   5994:                as_fn_error $? "\"utempter not found\"" "$LINENO" 5
                   5995:        fi
                   5996: fi
                   5997: 
                   5998: # Look for utf8proc.
                   5999: # Check whether --enable-utf8proc was given.
                   6000: if test "${enable_utf8proc+set}" = set; then :
                   6001:   enableval=$enable_utf8proc;
                   6002: fi
                   6003: 
                   6004: if test "x$enable_utf8proc" = xyes; then
                   6005:        ac_fn_c_check_header_mongrel "$LINENO" "utf8proc.h" "ac_cv_header_utf8proc_h" "$ac_includes_default"
                   6006: if test "x$ac_cv_header_utf8proc_h" = xyes; then :
                   6007:   enable_utf8proc=yes
                   6008: else
                   6009:   enable_utf8proc=no
                   6010: fi
                   6011: 
                   6012: 
                   6013:        if test "x$enable_utf8proc" = xyes; then
                   6014:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing utf8proc_charwidth" >&5
                   6015: $as_echo_n "checking for library containing utf8proc_charwidth... " >&6; }
                   6016: if ${ac_cv_search_utf8proc_charwidth+:} false; then :
                   6017:   $as_echo_n "(cached) " >&6
                   6018: else
                   6019:   ac_func_search_save_LIBS=$LIBS
                   6020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6021: /* end confdefs.h.  */
                   6022: 
                   6023: /* Override any GCC internal prototype to avoid an error.
                   6024:    Use char because int might match the return type of a GCC
                   6025:    builtin and then its argument prototype would still apply.  */
                   6026: #ifdef __cplusplus
                   6027: extern "C"
                   6028: #endif
                   6029: char utf8proc_charwidth ();
                   6030: int
                   6031: main ()
                   6032: {
                   6033: return utf8proc_charwidth ();
                   6034:   ;
                   6035:   return 0;
                   6036: }
                   6037: _ACEOF
                   6038: for ac_lib in '' utf8proc; do
                   6039:   if test -z "$ac_lib"; then
                   6040:     ac_res="none required"
                   6041:   else
                   6042:     ac_res=-l$ac_lib
                   6043:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6044:   fi
                   6045:   if ac_fn_c_try_link "$LINENO"; then :
                   6046:   ac_cv_search_utf8proc_charwidth=$ac_res
                   6047: fi
                   6048: rm -f core conftest.err conftest.$ac_objext \
                   6049:     conftest$ac_exeext
                   6050:   if ${ac_cv_search_utf8proc_charwidth+:} false; then :
                   6051:   break
                   6052: fi
                   6053: done
                   6054: if ${ac_cv_search_utf8proc_charwidth+:} false; then :
                   6055: 
                   6056: else
                   6057:   ac_cv_search_utf8proc_charwidth=no
                   6058: fi
                   6059: rm conftest.$ac_ext
                   6060: LIBS=$ac_func_search_save_LIBS
                   6061: fi
                   6062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_utf8proc_charwidth" >&5
                   6063: $as_echo "$ac_cv_search_utf8proc_charwidth" >&6; }
                   6064: ac_res=$ac_cv_search_utf8proc_charwidth
                   6065: if test "$ac_res" != no; then :
                   6066:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6067:   enable_utf8proc=yes
                   6068: else
                   6069:   enable_utf8proc=no
                   6070: 
                   6071: fi
                   6072: 
                   6073:        fi
                   6074:        if test "x$enable_utf8proc" = xyes; then
                   6075:                $as_echo "#define HAVE_UTF8PROC 1" >>confdefs.h
                   6076: 
                   6077:        else
                   6078:                as_fn_error $? "\"utf8proc not found\"" "$LINENO" 5
                   6079:        fi
                   6080: fi
                   6081:  if test "x$enable_utf8proc" = xyes; then
                   6082:   HAVE_UTF8PROC_TRUE=
                   6083:   HAVE_UTF8PROC_FALSE='#'
                   6084: else
                   6085:   HAVE_UTF8PROC_TRUE='#'
                   6086:   HAVE_UTF8PROC_FALSE=
                   6087: fi
                   6088: 
                   6089: 
                   6090: # Check for b64_ntop. If we have b64_ntop, we assume b64_pton as well.
                   6091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for b64_ntop" >&5
                   6092: $as_echo_n "checking for b64_ntop... " >&6; }
                   6093: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6094: /* end confdefs.h.  */
                   6095: 
                   6096:                #include <sys/types.h>
                   6097:                #include <netinet/in.h>
                   6098:                #include <resolv.h>
                   6099: 
                   6100: int
                   6101: main ()
                   6102: {
                   6103: b64_ntop(NULL, 0, NULL, 0);
                   6104:   ;
                   6105:   return 0;
                   6106: }
                   6107: _ACEOF
                   6108: if ac_fn_c_try_link "$LINENO"; then :
                   6109:   found_b64_ntop=yes
                   6110: else
                   6111:   found_b64_ntop=no
                   6112: 
                   6113: fi
                   6114: rm -f core conftest.err conftest.$ac_objext \
                   6115:     conftest$ac_exeext conftest.$ac_ext
                   6116: if test "x$found_b64_ntop" = xno; then
                   6117:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6118: $as_echo "no" >&6; }
                   6119: 
                   6120:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for b64_ntop with -lresolv" >&5
                   6121: $as_echo_n "checking for b64_ntop with -lresolv... " >&6; }
                   6122:        LIBS="$LIBS -lresolv"
                   6123:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6124: /* end confdefs.h.  */
                   6125: 
                   6126:                        #include <sys/types.h>
                   6127:                        #include <netinet/in.h>
                   6128:                        #include <resolv.h>
                   6129: 
                   6130: int
                   6131: main ()
                   6132: {
                   6133: b64_ntop(NULL, 0, NULL, 0);
                   6134:   ;
                   6135:   return 0;
                   6136: }
                   6137: _ACEOF
                   6138: if ac_fn_c_try_link "$LINENO"; then :
                   6139:   found_b64_ntop=yes
                   6140: else
                   6141:   found_b64_ntop=no
                   6142: 
                   6143: fi
                   6144: rm -f core conftest.err conftest.$ac_objext \
                   6145:     conftest$ac_exeext conftest.$ac_ext
                   6146:        if test "x$found_b64_ntop" = xno; then
                   6147:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6148: $as_echo "no" >&6; }
                   6149:        fi
                   6150: fi
                   6151: if test "x$found_b64_ntop" = xyes; then
                   6152:        $as_echo "#define HAVE_B64_NTOP 1" >>confdefs.h
                   6153: 
                   6154:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6155: $as_echo "yes" >&6; }
                   6156: else
                   6157:        case " $LIBOBJS " in
                   6158:   *" base64.$ac_objext "* ) ;;
                   6159:   *) LIBOBJS="$LIBOBJS base64.$ac_objext"
                   6160:  ;;
                   6161: esac
                   6162: 
                   6163: fi
                   6164: 
                   6165: # Look for networking libraries.
                   6166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
                   6167: $as_echo_n "checking for library containing inet_ntoa... " >&6; }
                   6168: if ${ac_cv_search_inet_ntoa+:} false; then :
                   6169:   $as_echo_n "(cached) " >&6
                   6170: else
                   6171:   ac_func_search_save_LIBS=$LIBS
                   6172: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6173: /* end confdefs.h.  */
                   6174: 
                   6175: /* Override any GCC internal prototype to avoid an error.
                   6176:    Use char because int might match the return type of a GCC
                   6177:    builtin and then its argument prototype would still apply.  */
                   6178: #ifdef __cplusplus
                   6179: extern "C"
                   6180: #endif
                   6181: char inet_ntoa ();
                   6182: int
                   6183: main ()
                   6184: {
                   6185: return inet_ntoa ();
                   6186:   ;
                   6187:   return 0;
                   6188: }
                   6189: _ACEOF
                   6190: for ac_lib in '' nsl; do
                   6191:   if test -z "$ac_lib"; then
                   6192:     ac_res="none required"
                   6193:   else
                   6194:     ac_res=-l$ac_lib
                   6195:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6196:   fi
                   6197:   if ac_fn_c_try_link "$LINENO"; then :
                   6198:   ac_cv_search_inet_ntoa=$ac_res
                   6199: fi
                   6200: rm -f core conftest.err conftest.$ac_objext \
                   6201:     conftest$ac_exeext
                   6202:   if ${ac_cv_search_inet_ntoa+:} false; then :
                   6203:   break
                   6204: fi
                   6205: done
                   6206: if ${ac_cv_search_inet_ntoa+:} false; then :
                   6207: 
                   6208: else
                   6209:   ac_cv_search_inet_ntoa=no
                   6210: fi
                   6211: rm conftest.$ac_ext
                   6212: LIBS=$ac_func_search_save_LIBS
                   6213: fi
                   6214: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
                   6215: $as_echo "$ac_cv_search_inet_ntoa" >&6; }
                   6216: ac_res=$ac_cv_search_inet_ntoa
                   6217: if test "$ac_res" != no; then :
                   6218:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6219: 
                   6220: fi
                   6221: 
                   6222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
                   6223: $as_echo_n "checking for library containing socket... " >&6; }
                   6224: if ${ac_cv_search_socket+:} false; then :
                   6225:   $as_echo_n "(cached) " >&6
                   6226: else
                   6227:   ac_func_search_save_LIBS=$LIBS
                   6228: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6229: /* end confdefs.h.  */
                   6230: 
                   6231: /* Override any GCC internal prototype to avoid an error.
                   6232:    Use char because int might match the return type of a GCC
                   6233:    builtin and then its argument prototype would still apply.  */
                   6234: #ifdef __cplusplus
                   6235: extern "C"
                   6236: #endif
                   6237: char socket ();
                   6238: int
                   6239: main ()
                   6240: {
                   6241: return socket ();
                   6242:   ;
                   6243:   return 0;
                   6244: }
                   6245: _ACEOF
                   6246: for ac_lib in '' socket; do
                   6247:   if test -z "$ac_lib"; then
                   6248:     ac_res="none required"
                   6249:   else
                   6250:     ac_res=-l$ac_lib
                   6251:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6252:   fi
                   6253:   if ac_fn_c_try_link "$LINENO"; then :
                   6254:   ac_cv_search_socket=$ac_res
                   6255: fi
                   6256: rm -f core conftest.err conftest.$ac_objext \
                   6257:     conftest$ac_exeext
                   6258:   if ${ac_cv_search_socket+:} false; then :
                   6259:   break
                   6260: fi
                   6261: done
                   6262: if ${ac_cv_search_socket+:} false; then :
                   6263: 
                   6264: else
                   6265:   ac_cv_search_socket=no
                   6266: fi
                   6267: rm conftest.$ac_ext
                   6268: LIBS=$ac_func_search_save_LIBS
                   6269: fi
                   6270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
                   6271: $as_echo "$ac_cv_search_socket" >&6; }
                   6272: ac_res=$ac_cv_search_socket
                   6273: if test "$ac_res" != no; then :
                   6274:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6275: 
                   6276: fi
                   6277: 
                   6278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lxnet" >&5
                   6279: $as_echo_n "checking for socket in -lxnet... " >&6; }
                   6280: if ${ac_cv_lib_xnet_socket+:} false; then :
                   6281:   $as_echo_n "(cached) " >&6
                   6282: else
                   6283:   ac_check_lib_save_LIBS=$LIBS
                   6284: LIBS="-lxnet  $LIBS"
                   6285: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6286: /* end confdefs.h.  */
                   6287: 
                   6288: /* Override any GCC internal prototype to avoid an error.
                   6289:    Use char because int might match the return type of a GCC
                   6290:    builtin and then its argument prototype would still apply.  */
                   6291: #ifdef __cplusplus
                   6292: extern "C"
                   6293: #endif
                   6294: char socket ();
                   6295: int
                   6296: main ()
                   6297: {
                   6298: return socket ();
                   6299:   ;
                   6300:   return 0;
                   6301: }
                   6302: _ACEOF
                   6303: if ac_fn_c_try_link "$LINENO"; then :
                   6304:   ac_cv_lib_xnet_socket=yes
                   6305: else
                   6306:   ac_cv_lib_xnet_socket=no
                   6307: fi
                   6308: rm -f core conftest.err conftest.$ac_objext \
                   6309:     conftest$ac_exeext conftest.$ac_ext
                   6310: LIBS=$ac_check_lib_save_LIBS
                   6311: fi
                   6312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_socket" >&5
                   6313: $as_echo "$ac_cv_lib_xnet_socket" >&6; }
                   6314: if test "x$ac_cv_lib_xnet_socket" = xyes; then :
                   6315:   cat >>confdefs.h <<_ACEOF
                   6316: #define HAVE_LIBXNET 1
                   6317: _ACEOF
                   6318: 
                   6319:   LIBS="-lxnet $LIBS"
                   6320: 
                   6321: fi
                   6322: 
                   6323: 
                   6324: # Check for CMSG_DATA. Some platforms require _XOPEN_SOURCE_EXTENDED (for
                   6325: # example see xopen_networking(7) on HP-UX).
                   6326: XOPEN_DEFINES=
                   6327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CMSG_DATA" >&5
                   6328: $as_echo_n "checking for CMSG_DATA... " >&6; }
                   6329: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6330: /* end confdefs.h.  */
                   6331: 
                   6332:                #include <sys/socket.h>
                   6333:                #ifdef CMSG_DATA
                   6334:                yes
                   6335:                #endif
                   6336: 
                   6337: _ACEOF
                   6338: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6339:   $EGREP "yes" >/dev/null 2>&1; then :
                   6340:   found_cmsg_data=yes
                   6341: else
                   6342:   found_cmsg_data=no
                   6343: 
                   6344: fi
                   6345: rm -f conftest*
                   6346: 
                   6347: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_cmsg_data" >&5
                   6348: $as_echo "$found_cmsg_data" >&6; }
                   6349: if test "x$found_cmsg_data" = xno; then
                   6350:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CMSG_DATA needs _XOPEN_SOURCE_EXTENDED" >&5
                   6351: $as_echo_n "checking if CMSG_DATA needs _XOPEN_SOURCE_EXTENDED... " >&6; }
                   6352:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6353: /* end confdefs.h.  */
                   6354: 
                   6355:                        #define _XOPEN_SOURCE 1
                   6356:                        #define _XOPEN_SOURCE_EXTENDED 1
                   6357:                        #include <sys/socket.h>
                   6358:                        #ifdef CMSG_DATA
                   6359:                        yes
                   6360:                        #endif
                   6361: 
                   6362: _ACEOF
                   6363: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6364:   $EGREP "yes" >/dev/null 2>&1; then :
                   6365:   found_cmsg_data=yes
                   6366: else
                   6367:   found_cmsg_data=no
                   6368: 
                   6369: fi
                   6370: rm -f conftest*
                   6371: 
                   6372:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_cmsg_data" >&5
                   6373: $as_echo "$found_cmsg_data" >&6; }
                   6374:        if test "x$found_cmsg_data" = xyes; then
                   6375:                XOPEN_DEFINES="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED"
                   6376:        else
                   6377:                as_fn_error $? "\"CMSG_DATA not found\"" "$LINENO" 5
                   6378:        fi
                   6379: fi
                   6380: 
                   6381: 
                   6382: # Look for err and friends in err.h.
                   6383: ac_fn_c_check_func "$LINENO" "err" "ac_cv_func_err"
                   6384: if test "x$ac_cv_func_err" = xyes; then :
                   6385:   found_err_h=yes
                   6386: else
                   6387:   found_err_h=no
                   6388: fi
                   6389: 
                   6390: ac_fn_c_check_func "$LINENO" "errx" "ac_cv_func_errx"
                   6391: if test "x$ac_cv_func_errx" = xyes; then :
                   6392: 
                   6393: else
                   6394:   found_err_h=no
                   6395: fi
                   6396: 
                   6397: ac_fn_c_check_func "$LINENO" "warn" "ac_cv_func_warn"
                   6398: if test "x$ac_cv_func_warn" = xyes; then :
                   6399: 
                   6400: else
                   6401:   found_err_h=no
                   6402: fi
                   6403: 
                   6404: ac_fn_c_check_func "$LINENO" "warnx" "ac_cv_func_warnx"
                   6405: if test "x$ac_cv_func_warnx" = xyes; then :
                   6406: 
                   6407: else
                   6408:   found_err_h=no
                   6409: fi
                   6410: 
                   6411: if test "x$found_err_h" = xyes; then
                   6412:        ac_fn_c_check_header_mongrel "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default"
                   6413: if test "x$ac_cv_header_err_h" = xyes; then :
                   6414: 
                   6415: else
                   6416:   found_err_h=no
                   6417: fi
                   6418: 
                   6419: 
                   6420: else
                   6421:        case " $LIBOBJS " in
                   6422:   *" err.$ac_objext "* ) ;;
                   6423:   *) LIBOBJS="$LIBOBJS err.$ac_objext"
                   6424:  ;;
                   6425: esac
                   6426: 
                   6427: fi
                   6428: 
                   6429: # Look for imsg_init in libutil.
                   6430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing imsg_init" >&5
                   6431: $as_echo_n "checking for library containing imsg_init... " >&6; }
                   6432: if ${ac_cv_search_imsg_init+:} false; then :
                   6433:   $as_echo_n "(cached) " >&6
                   6434: else
                   6435:   ac_func_search_save_LIBS=$LIBS
                   6436: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6437: /* end confdefs.h.  */
                   6438: 
                   6439: /* Override any GCC internal prototype to avoid an error.
                   6440:    Use char because int might match the return type of a GCC
                   6441:    builtin and then its argument prototype would still apply.  */
                   6442: #ifdef __cplusplus
                   6443: extern "C"
                   6444: #endif
                   6445: char imsg_init ();
                   6446: int
                   6447: main ()
                   6448: {
                   6449: return imsg_init ();
                   6450:   ;
                   6451:   return 0;
                   6452: }
                   6453: _ACEOF
                   6454: for ac_lib in '' util; do
                   6455:   if test -z "$ac_lib"; then
                   6456:     ac_res="none required"
                   6457:   else
                   6458:     ac_res=-l$ac_lib
                   6459:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6460:   fi
                   6461:   if ac_fn_c_try_link "$LINENO"; then :
                   6462:   ac_cv_search_imsg_init=$ac_res
                   6463: fi
                   6464: rm -f core conftest.err conftest.$ac_objext \
                   6465:     conftest$ac_exeext
                   6466:   if ${ac_cv_search_imsg_init+:} false; then :
                   6467:   break
                   6468: fi
                   6469: done
                   6470: if ${ac_cv_search_imsg_init+:} false; then :
                   6471: 
                   6472: else
                   6473:   ac_cv_search_imsg_init=no
                   6474: fi
                   6475: rm conftest.$ac_ext
                   6476: LIBS=$ac_func_search_save_LIBS
                   6477: fi
                   6478: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_imsg_init" >&5
                   6479: $as_echo "$ac_cv_search_imsg_init" >&6; }
                   6480: ac_res=$ac_cv_search_imsg_init
                   6481: if test "$ac_res" != no; then :
                   6482:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6483:   found_imsg_init=yes
                   6484: else
                   6485:   found_imsg_init=no
                   6486: fi
                   6487: 
                   6488: if test "x$found_imsg_init" = xyes; then
                   6489:        $as_echo "#define HAVE_IMSG 1" >>confdefs.h
                   6490: 
                   6491: else
                   6492:        case " $LIBOBJS " in
                   6493:   *" imsg.$ac_objext "* ) ;;
                   6494:   *) LIBOBJS="$LIBOBJS imsg.$ac_objext"
                   6495:  ;;
                   6496: esac
                   6497: 
                   6498:        case " $LIBOBJS " in
                   6499:   *" imsg-buffer.$ac_objext "* ) ;;
                   6500:   *) LIBOBJS="$LIBOBJS imsg-buffer.$ac_objext"
                   6501:  ;;
                   6502: esac
                   6503: 
                   6504: fi
                   6505: 
                   6506: # Look for daemon, compat/daemon.c used if missing. Solaris 10 has it in
                   6507: # libresolv, but no declaration anywhere, so check for declaration as well as
                   6508: # function.
                   6509: ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
                   6510: if test "x$ac_cv_func_daemon" = xyes; then :
                   6511:   found_daemon=yes
                   6512: else
                   6513:   found_daemon=no
                   6514: fi
                   6515: 
                   6516: ac_fn_c_check_decl "$LINENO" "daemon" "ac_cv_have_decl_daemon" "
                   6517:                #include <stdlib.h>
                   6518:                #include <unistd.h>
                   6519: 
                   6520: 
                   6521: "
                   6522: if test "x$ac_cv_have_decl_daemon" = xyes; then :
                   6523: 
                   6524: else
                   6525:   found_daemon=no
                   6526: fi
                   6527: 
                   6528: if test "x$found_daemon" = xyes; then
                   6529:        $as_echo "#define HAVE_DAEMON 1" >>confdefs.h
                   6530: 
                   6531: else
                   6532:        case " $LIBOBJS " in
                   6533:   *" daemon.$ac_objext "* ) ;;
                   6534:   *) LIBOBJS="$LIBOBJS daemon.$ac_objext"
                   6535:  ;;
                   6536: esac
                   6537: 
                   6538: fi
                   6539: 
                   6540: # Look for stravis, compat/{vis,unvis}.c used if missing.
                   6541: ac_fn_c_check_func "$LINENO" "stravis" "ac_cv_func_stravis"
                   6542: if test "x$ac_cv_func_stravis" = xyes; then :
                   6543:   found_stravis=yes
                   6544: else
                   6545:   found_stravis=no
                   6546: fi
                   6547: 
                   6548: if test "x$found_stravis" = xyes; then
                   6549:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnvis is broken" >&5
                   6550: $as_echo_n "checking if strnvis is broken... " >&6; }
                   6551:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6552: /* end confdefs.h.  */
                   6553: #include <vis.h>
                   6554: 
                   6555: _ACEOF
                   6556: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6557:   $EGREP "strnvis\(char \*, const char \*, size_t, int\)" >/dev/null 2>&1; then :
                   6558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6559: $as_echo "no" >&6; }
                   6560: else
                   6561:   found_stravis=no
                   6562: fi
                   6563: rm -f conftest*
                   6564: 
                   6565:        if test "x$found_stravis" = xno; then
                   6566:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6567: $as_echo "yes" >&6; }
                   6568:        fi
                   6569: fi
                   6570: if test "x$found_stravis" = xyes; then
                   6571:        ac_fn_c_check_decl "$LINENO" "VIS_DQ" "ac_cv_have_decl_VIS_DQ" "
                   6572:                        #include <stdlib.h>
                   6573:                        #include <vis.h>
                   6574: 
                   6575: 
                   6576: "
                   6577: if test "x$ac_cv_have_decl_VIS_DQ" = xyes; then :
                   6578: 
                   6579: else
                   6580:   found_stravis=no
                   6581: fi
                   6582: 
                   6583: fi
                   6584: if test "x$found_stravis" = xyes; then
                   6585:        $as_echo "#define HAVE_VIS 1" >>confdefs.h
                   6586: 
                   6587: else
                   6588:        case " $LIBOBJS " in
                   6589:   *" vis.$ac_objext "* ) ;;
                   6590:   *) LIBOBJS="$LIBOBJS vis.$ac_objext"
                   6591:  ;;
                   6592: esac
                   6593: 
                   6594:        case " $LIBOBJS " in
                   6595:   *" unvis.$ac_objext "* ) ;;
                   6596:   *) LIBOBJS="$LIBOBJS unvis.$ac_objext"
                   6597:  ;;
                   6598: esac
                   6599: 
                   6600: fi
                   6601: 
                   6602: # Look for getopt. glibc's getopt does not enforce argument order and the ways
                   6603: # of making it do so are stupid, so just use our own instead.
                   6604: ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
                   6605: if test "x$ac_cv_func_getopt" = xyes; then :
                   6606:   found_getopt=yes
                   6607: else
                   6608:   found_getopt=no
                   6609: fi
                   6610: 
                   6611: if test "x$found_getopt" != xno; then
                   6612:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getopt is suitable" >&5
                   6613: $as_echo_n "checking if getopt is suitable... " >&6; }
                   6614:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6615: /* end confdefs.h.  */
                   6616: 
                   6617:                        #include <features.h>
                   6618:                        #ifdef __GLIBC__
                   6619:                        yes
                   6620:                        #endif
                   6621: 
                   6622: _ACEOF
                   6623: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6624:   $EGREP "yes" >/dev/null 2>&1; then :
                   6625: 
                   6626:                        found_getopt=no
                   6627:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6628: $as_echo "no" >&6; }
                   6629: 
                   6630: else
                   6631:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6632: $as_echo "yes" >&6; }
                   6633: fi
                   6634: rm -f conftest*
                   6635: 
                   6636: fi
                   6637: if test "x$found_getopt" != xno; then
                   6638:        ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" "
                   6639:                        #include <unistd.h>
                   6640: 
                   6641: "
                   6642: if test "x$ac_cv_have_decl_optarg" = xyes; then :
                   6643:   ac_have_decl=1
                   6644: else
                   6645:   ac_have_decl=0
                   6646: fi
                   6647: 
                   6648: cat >>confdefs.h <<_ACEOF
                   6649: #define HAVE_DECL_OPTARG $ac_have_decl
                   6650: _ACEOF
                   6651: if test $ac_have_decl = 1; then :
                   6652: 
                   6653: else
                   6654:   found_getopt=no
                   6655: fi
                   6656: ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" "
                   6657:                        #include <unistd.h>
                   6658: 
                   6659: "
                   6660: if test "x$ac_cv_have_decl_optind" = xyes; then :
                   6661:   ac_have_decl=1
                   6662: else
                   6663:   ac_have_decl=0
                   6664: fi
                   6665: 
                   6666: cat >>confdefs.h <<_ACEOF
                   6667: #define HAVE_DECL_OPTIND $ac_have_decl
                   6668: _ACEOF
                   6669: if test $ac_have_decl = 1; then :
                   6670: 
                   6671: else
                   6672:   found_getopt=no
                   6673: fi
                   6674: ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "
                   6675:                        #include <unistd.h>
                   6676: 
                   6677: "
                   6678: if test "x$ac_cv_have_decl_optreset" = xyes; then :
                   6679:   ac_have_decl=1
                   6680: else
                   6681:   ac_have_decl=0
                   6682: fi
                   6683: 
                   6684: cat >>confdefs.h <<_ACEOF
                   6685: #define HAVE_DECL_OPTRESET $ac_have_decl
                   6686: _ACEOF
                   6687: if test $ac_have_decl = 1; then :
                   6688: 
                   6689: else
                   6690:   found_getopt=no
                   6691: fi
                   6692: 
                   6693: fi
                   6694: if test "x$found_getopt" != xno; then
                   6695:        $as_echo "#define HAVE_GETOPT 1" >>confdefs.h
                   6696: 
                   6697: else
                   6698:        case " $LIBOBJS " in
                   6699:   *" getopt.$ac_objext "* ) ;;
                   6700:   *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
                   6701:  ;;
                   6702: esac
                   6703: 
                   6704: fi
                   6705: 
                   6706: # Look for forkpty in libutil. compat/forkpty-*.c is linked if not found.
                   6707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing forkpty" >&5
                   6708: $as_echo_n "checking for library containing forkpty... " >&6; }
                   6709: if ${ac_cv_search_forkpty+:} false; then :
                   6710:   $as_echo_n "(cached) " >&6
                   6711: else
                   6712:   ac_func_search_save_LIBS=$LIBS
                   6713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6714: /* end confdefs.h.  */
                   6715: 
                   6716: /* Override any GCC internal prototype to avoid an error.
                   6717:    Use char because int might match the return type of a GCC
                   6718:    builtin and then its argument prototype would still apply.  */
                   6719: #ifdef __cplusplus
                   6720: extern "C"
                   6721: #endif
                   6722: char forkpty ();
                   6723: int
                   6724: main ()
                   6725: {
                   6726: return forkpty ();
                   6727:   ;
                   6728:   return 0;
                   6729: }
                   6730: _ACEOF
                   6731: for ac_lib in '' util; do
                   6732:   if test -z "$ac_lib"; then
                   6733:     ac_res="none required"
                   6734:   else
                   6735:     ac_res=-l$ac_lib
                   6736:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6737:   fi
                   6738:   if ac_fn_c_try_link "$LINENO"; then :
                   6739:   ac_cv_search_forkpty=$ac_res
                   6740: fi
                   6741: rm -f core conftest.err conftest.$ac_objext \
                   6742:     conftest$ac_exeext
                   6743:   if ${ac_cv_search_forkpty+:} false; then :
                   6744:   break
                   6745: fi
                   6746: done
                   6747: if ${ac_cv_search_forkpty+:} false; then :
                   6748: 
                   6749: else
                   6750:   ac_cv_search_forkpty=no
                   6751: fi
                   6752: rm conftest.$ac_ext
                   6753: LIBS=$ac_func_search_save_LIBS
                   6754: fi
                   6755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_forkpty" >&5
                   6756: $as_echo "$ac_cv_search_forkpty" >&6; }
                   6757: ac_res=$ac_cv_search_forkpty
                   6758: if test "$ac_res" != no; then :
                   6759:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6760:   found_forkpty=yes
                   6761: else
                   6762:   found_forkpty=no
                   6763: fi
                   6764: 
                   6765: if test "x$found_forkpty" = xyes; then
                   6766:        $as_echo "#define HAVE_FORKPTY 1" >>confdefs.h
                   6767: 
                   6768: fi
                   6769:  if test "x$found_forkpty" = xno; then
                   6770:   NEED_FORKPTY_TRUE=
                   6771:   NEED_FORKPTY_FALSE='#'
                   6772: else
                   6773:   NEED_FORKPTY_TRUE='#'
                   6774:   NEED_FORKPTY_FALSE=
                   6775: fi
                   6776: 
                   6777: 
                   6778: # Look for a suitable queue.h.
                   6779: ac_fn_c_check_decl "$LINENO" "TAILQ_CONCAT" "ac_cv_have_decl_TAILQ_CONCAT" "#include <sys/queue.h>
                   6780: 
                   6781: "
                   6782: if test "x$ac_cv_have_decl_TAILQ_CONCAT" = xyes; then :
                   6783:   found_queue_h=yes
                   6784: else
                   6785:   found_queue_h=no
                   6786: fi
                   6787: 
                   6788: ac_fn_c_check_decl "$LINENO" "TAILQ_PREV" "ac_cv_have_decl_TAILQ_PREV" "#include <sys/queue.h>
                   6789: 
                   6790: "
                   6791: if test "x$ac_cv_have_decl_TAILQ_PREV" = xyes; then :
                   6792:   found_queue_h=yes
                   6793: else
                   6794:   found_queue_h=no
                   6795: fi
                   6796: 
                   6797: ac_fn_c_check_decl "$LINENO" "TAILQ_REPLACE" "ac_cv_have_decl_TAILQ_REPLACE" "#include <sys/queue.h>
                   6798: 
                   6799: "
                   6800: if test "x$ac_cv_have_decl_TAILQ_REPLACE" = xyes; then :
                   6801: 
                   6802: else
                   6803:   found_queue_h=no
                   6804: fi
                   6805: 
                   6806: if test "x$found_queue_h" = xyes; then
                   6807:        $as_echo "#define HAVE_QUEUE_H 1" >>confdefs.h
                   6808: 
                   6809: fi
                   6810: 
                   6811: # Look for __progname.
                   6812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5
                   6813: $as_echo_n "checking for __progname... " >&6; }
                   6814: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6815: /* end confdefs.h.  */
                   6816: 
                   6817:                #include <stdio.h>
                   6818:                #include <stdlib.h>
                   6819:                extern char *__progname;
                   6820:                int main(void) {
                   6821:                        const char *cp = __progname;
                   6822:                        printf("%s\n", cp);
                   6823:                        exit(0);
                   6824:                }
                   6825: 
                   6826: _ACEOF
                   6827: if ac_fn_c_try_link "$LINENO"; then :
                   6828:   $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
                   6829:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6830: $as_echo "yes" >&6; }
                   6831: else
                   6832:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6833: $as_echo "no" >&6; }
                   6834: 
                   6835: fi
                   6836: rm -f core conftest.err conftest.$ac_objext \
                   6837:     conftest$ac_exeext conftest.$ac_ext
                   6838: 
                   6839: # Look for program_invocation_short_name.
                   6840: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_short_name" >&5
                   6841: $as_echo_n "checking for program_invocation_short_name... " >&6; }
                   6842: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6843: /* end confdefs.h.  */
                   6844: 
                   6845:                #include <errno.h>
                   6846:                #include <stdio.h>
                   6847:                #include <stdlib.h>
                   6848:                int main(void) {
                   6849:                        const char *cp = program_invocation_short_name;
                   6850:                        printf("%s\n", cp);
                   6851:                        exit(0);
                   6852:                }
                   6853: 
                   6854: _ACEOF
                   6855: if ac_fn_c_try_link "$LINENO"; then :
                   6856:   $as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
                   6857:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6858: $as_echo "yes" >&6; }
                   6859: else
                   6860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6861: $as_echo "no" >&6; }
                   6862: 
                   6863: fi
                   6864: rm -f core conftest.err conftest.$ac_objext \
                   6865:     conftest$ac_exeext conftest.$ac_ext
                   6866: 
                   6867: # Look for prctl(PR_SET_NAME).
                   6868: ac_fn_c_check_decl "$LINENO" "PR_SET_NAME" "ac_cv_have_decl_PR_SET_NAME" "#include <sys/prctl.h>
                   6869: 
                   6870: "
                   6871: if test "x$ac_cv_have_decl_PR_SET_NAME" = xyes; then :
                   6872:   $as_echo "#define HAVE_PR_SET_NAME 1" >>confdefs.h
                   6873: 
                   6874: fi
                   6875: 
                   6876: 
                   6877: # Look for fcntl(F_CLOSEM).
                   6878: ac_fn_c_check_decl "$LINENO" "F_CLOSEM" "ac_cv_have_decl_F_CLOSEM" "#include <fcntl.h>
                   6879: 
                   6880: "
                   6881: if test "x$ac_cv_have_decl_F_CLOSEM" = xyes; then :
                   6882:   $as_echo "#define HAVE_FCNTL_CLOSEM 1" >>confdefs.h
                   6883: 
                   6884: fi
                   6885: 
                   6886: 
                   6887: # Look for /proc/$$.
                   6888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/\$\$" >&5
                   6889: $as_echo_n "checking for /proc/\$\$... " >&6; }
                   6890: if test -d /proc/$$; then
                   6891:        $as_echo "#define HAVE_PROC_PID 1" >>confdefs.h
                   6892: 
                   6893:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6894: $as_echo "yes" >&6; }
                   6895: else
                   6896:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6897: $as_echo "no" >&6; }
                   6898: fi
                   6899: 
                   6900: # Man page defaults to mdoc.
                   6901: MANFORMAT=mdoc
                   6902: 
                   6903: 
                   6904: # Figure out the platform.
                   6905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking platform" >&5
                   6906: $as_echo_n "checking platform... " >&6; }
                   6907: case "$host_os" in
                   6908:        *aix*)
                   6909:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: aix" >&5
                   6910: $as_echo "aix" >&6; }
                   6911:                PLATFORM=aix
                   6912:                ;;
                   6913:        *darwin*)
                   6914:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
                   6915: $as_echo "darwin" >&6; }
                   6916:                $as_echo "#define BROKEN_CMSG_FIRSTHDR 1" >>confdefs.h
                   6917: 
                   6918:                PLATFORM=darwin
                   6919:                ;;
                   6920:        *dragonfly*)
                   6921:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
                   6922: $as_echo "dragonfly" >&6; }
                   6923:                PLATFORM=dragonfly
                   6924:                ;;
                   6925:        *linux*)
                   6926:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: linux" >&5
                   6927: $as_echo "linux" >&6; }
                   6928:                PLATFORM=linux
                   6929:                ;;
                   6930:        *freebsd*)
                   6931:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: freebsd" >&5
                   6932: $as_echo "freebsd" >&6; }
                   6933:                PLATFORM=freebsd
                   6934:                ;;
                   6935:        *netbsd*)
                   6936:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: netbsd" >&5
                   6937: $as_echo "netbsd" >&6; }
                   6938:                PLATFORM=netbsd
                   6939:                ;;
                   6940:        *openbsd*)
                   6941:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: openbsd" >&5
                   6942: $as_echo "openbsd" >&6; }
                   6943:                PLATFORM=openbsd
                   6944:                ;;
                   6945:        *sunos*)
                   6946:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: sunos" >&5
                   6947: $as_echo "sunos" >&6; }
                   6948:                PLATFORM=sunos
                   6949:                ;;
                   6950:        *solaris*)
                   6951:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: sunos" >&5
                   6952: $as_echo "sunos" >&6; }
                   6953:                PLATFORM=sunos
                   6954:                MANFORMAT=man
                   6955:                ;;
                   6956:        *hpux*)
                   6957:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: hpux" >&5
                   6958: $as_echo "hpux" >&6; }
                   6959:                PLATFORM=hpux
                   6960:                ;;
                   6961:        *cygwin*)
                   6962:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: cygwin" >&5
                   6963: $as_echo "cygwin" >&6; }
                   6964:                PLATFORM=cygwin
                   6965:                ;;
                   6966:        *)
                   6967:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
                   6968: $as_echo "unknown" >&6; }
                   6969:                PLATFORM=unknown
                   6970:                ;;
                   6971: esac
                   6972: 
                   6973:  if test "x$PLATFORM" = xaix; then
                   6974:   IS_AIX_TRUE=
                   6975:   IS_AIX_FALSE='#'
                   6976: else
                   6977:   IS_AIX_TRUE='#'
                   6978:   IS_AIX_FALSE=
                   6979: fi
                   6980: 
                   6981:  if test "x$PLATFORM" = xdarwin; then
                   6982:   IS_DARWIN_TRUE=
                   6983:   IS_DARWIN_FALSE='#'
                   6984: else
                   6985:   IS_DARWIN_TRUE='#'
                   6986:   IS_DARWIN_FALSE=
                   6987: fi
                   6988: 
                   6989:  if test "x$PLATFORM" = xdragonfly; then
                   6990:   IS_DRAGONFLY_TRUE=
                   6991:   IS_DRAGONFLY_FALSE='#'
                   6992: else
                   6993:   IS_DRAGONFLY_TRUE='#'
                   6994:   IS_DRAGONFLY_FALSE=
                   6995: fi
                   6996: 
                   6997:  if test "x$PLATFORM" = xlinux; then
                   6998:   IS_LINUX_TRUE=
                   6999:   IS_LINUX_FALSE='#'
                   7000: else
                   7001:   IS_LINUX_TRUE='#'
                   7002:   IS_LINUX_FALSE=
                   7003: fi
                   7004: 
                   7005:  if test "x$PLATFORM" = xfreebsd; then
                   7006:   IS_FREEBSD_TRUE=
                   7007:   IS_FREEBSD_FALSE='#'
                   7008: else
                   7009:   IS_FREEBSD_TRUE='#'
                   7010:   IS_FREEBSD_FALSE=
                   7011: fi
                   7012: 
                   7013:  if test "x$PLATFORM" = xnetbsd; then
                   7014:   IS_NETBSD_TRUE=
                   7015:   IS_NETBSD_FALSE='#'
                   7016: else
                   7017:   IS_NETBSD_TRUE='#'
                   7018:   IS_NETBSD_FALSE=
                   7019: fi
                   7020: 
                   7021:  if test "x$PLATFORM" = xopenbsd; then
                   7022:   IS_OPENBSD_TRUE=
                   7023:   IS_OPENBSD_FALSE='#'
                   7024: else
                   7025:   IS_OPENBSD_TRUE='#'
                   7026:   IS_OPENBSD_FALSE=
                   7027: fi
                   7028: 
                   7029:  if test "x$PLATFORM" = xsunos; then
                   7030:   IS_SUNOS_TRUE=
                   7031:   IS_SUNOS_FALSE='#'
                   7032: else
                   7033:   IS_SUNOS_TRUE='#'
                   7034:   IS_SUNOS_FALSE=
                   7035: fi
                   7036: 
                   7037:  if test "x$PLATFORM" = xhpux; then
                   7038:   IS_HPUX_TRUE=
                   7039:   IS_HPUX_FALSE='#'
                   7040: else
                   7041:   IS_HPUX_TRUE='#'
                   7042:   IS_HPUX_FALSE=
                   7043: fi
                   7044: 
                   7045:  if test "x$PLATFORM" = xunknown; then
                   7046:   IS_UNKNOWN_TRUE=
                   7047:   IS_UNKNOWN_FALSE='#'
                   7048: else
                   7049:   IS_UNKNOWN_TRUE='#'
                   7050:   IS_UNKNOWN_FALSE=
                   7051: fi
                   7052: 
                   7053: 
                   7054: # Save our CFLAGS/CPPFLAGS/LDFLAGS for the Makefile and restore the old user
                   7055: # variables.
                   7056: 
                   7057: CPPFLAGS="$SAVED_CPPFLAGS"
                   7058: 
                   7059: CFLAGS="$SAVED_CFLAGS"
                   7060: 
                   7061: LDFLAGS="$SAVED_LDFLAGS"
                   7062: 
                   7063: # autoconf should create a Makefile.
                   7064: ac_config_files="$ac_config_files Makefile"
                   7065: 
                   7066: cat >confcache <<\_ACEOF
                   7067: # This file is a shell script that caches the results of configure
                   7068: # tests run on this system so they can be shared between configure
                   7069: # scripts and configure runs, see configure's option --config-cache.
                   7070: # It is not useful on other systems.  If it contains results you don't
                   7071: # want to keep, you may remove or edit it.
                   7072: #
                   7073: # config.status only pays attention to the cache file if you give it
                   7074: # the --recheck option to rerun configure.
                   7075: #
                   7076: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   7077: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   7078: # following values.
                   7079: 
                   7080: _ACEOF
                   7081: 
                   7082: # The following way of writing the cache mishandles newlines in values,
                   7083: # but we know of no workaround that is simple, portable, and efficient.
                   7084: # So, we kill variables containing newlines.
                   7085: # Ultrix sh set writes to stderr and can't be redirected directly,
                   7086: # and sets the high bit in the cache file unless we assign to the vars.
                   7087: (
                   7088:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   7089:     eval ac_val=\$$ac_var
                   7090:     case $ac_val in #(
                   7091:     *${as_nl}*)
                   7092:       case $ac_var in #(
                   7093:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   7094: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   7095:       esac
                   7096:       case $ac_var in #(
                   7097:       _ | IFS | as_nl) ;; #(
                   7098:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   7099:       *) { eval $ac_var=; unset $ac_var;} ;;
                   7100:       esac ;;
                   7101:     esac
                   7102:   done
                   7103: 
                   7104:   (set) 2>&1 |
                   7105:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   7106:     *${as_nl}ac_space=\ *)
                   7107:       # `set' does not quote correctly, so add quotes: double-quote
                   7108:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   7109:       sed -n \
                   7110:        "s/'/'\\\\''/g;
                   7111:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   7112:       ;; #(
                   7113:     *)
                   7114:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   7115:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   7116:       ;;
                   7117:     esac |
                   7118:     sort
                   7119: ) |
                   7120:   sed '
                   7121:      /^ac_cv_env_/b end
                   7122:      t clear
                   7123:      :clear
                   7124:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   7125:      t end
                   7126:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   7127:      :end' >>confcache
                   7128: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   7129:   if test -w "$cache_file"; then
                   7130:     if test "x$cache_file" != "x/dev/null"; then
                   7131:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   7132: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   7133:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   7134:        cat confcache >"$cache_file"
                   7135:       else
                   7136:         case $cache_file in #(
                   7137:         */* | ?:*)
                   7138:          mv -f confcache "$cache_file"$$ &&
                   7139:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   7140:         *)
                   7141:          mv -f confcache "$cache_file" ;;
                   7142:        esac
                   7143:       fi
                   7144:     fi
                   7145:   else
                   7146:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   7147: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   7148:   fi
                   7149: fi
                   7150: rm -f confcache
                   7151: 
                   7152: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   7153: # Let make expand exec_prefix.
                   7154: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   7155: 
                   7156: # Transform confdefs.h into DEFS.
                   7157: # Protect against shell expansion while executing Makefile rules.
                   7158: # Protect against Makefile macro expansion.
                   7159: #
                   7160: # If the first sed substitution is executed (which looks for macros that
                   7161: # take arguments), then branch to the quote section.  Otherwise,
                   7162: # look for a macro that doesn't take arguments.
                   7163: ac_script='
                   7164: :mline
                   7165: /\\$/{
                   7166:  N
                   7167:  s,\\\n,,
                   7168:  b mline
                   7169: }
                   7170: t clear
                   7171: :clear
                   7172: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
                   7173: t quote
                   7174: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
                   7175: t quote
                   7176: b any
                   7177: :quote
                   7178: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
                   7179: s/\[/\\&/g
                   7180: s/\]/\\&/g
                   7181: s/\$/$$/g
                   7182: H
                   7183: :any
                   7184: ${
                   7185:        g
                   7186:        s/^\n//
                   7187:        s/\n/ /g
                   7188:        p
                   7189: }
                   7190: '
                   7191: DEFS=`sed -n "$ac_script" confdefs.h`
                   7192: 
                   7193: 
                   7194: ac_libobjs=
                   7195: ac_ltlibobjs=
                   7196: U=
                   7197: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   7198:   # 1. Remove the extension, and $U if already installed.
                   7199:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   7200:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   7201:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   7202:   #    will be set to the directory where LIBOBJS objects are built.
                   7203:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   7204:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   7205: done
                   7206: LIBOBJS=$ac_libobjs
                   7207: 
                   7208: LTLIBOBJS=$ac_ltlibobjs
                   7209: 
                   7210: 
                   7211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   7212: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   7213:    if test -n "$am_sleep_pid"; then
                   7214:      # Hide warnings about reused PIDs.
                   7215:      wait $am_sleep_pid 2>/dev/null
                   7216:    fi
                   7217:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   7218: $as_echo "done" >&6; }
                   7219:  if test -n "$EXEEXT"; then
                   7220:   am__EXEEXT_TRUE=
                   7221:   am__EXEEXT_FALSE='#'
                   7222: else
                   7223:   am__EXEEXT_TRUE='#'
                   7224:   am__EXEEXT_FALSE=
                   7225: fi
                   7226: 
                   7227: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   7228:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   7229: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7230: fi
                   7231: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   7232:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   7233: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7234: fi
                   7235: if test -z "${IS_DEBUG_TRUE}" && test -z "${IS_DEBUG_FALSE}"; then
                   7236:   as_fn_error $? "conditional \"IS_DEBUG\" was never defined.
                   7237: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7238: fi
                   7239: if test -z "${IS_GCC_TRUE}" && test -z "${IS_GCC_FALSE}"; then
                   7240:   as_fn_error $? "conditional \"IS_GCC\" was never defined.
                   7241: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7242: fi
                   7243: if test -z "${IS_SUNCC_TRUE}" && test -z "${IS_SUNCC_FALSE}"; then
                   7244:   as_fn_error $? "conditional \"IS_SUNCC\" was never defined.
                   7245: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7246: fi
                   7247: if test -z "${HAVE_UTF8PROC_TRUE}" && test -z "${HAVE_UTF8PROC_FALSE}"; then
                   7248:   as_fn_error $? "conditional \"HAVE_UTF8PROC\" was never defined.
                   7249: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7250: fi
                   7251: if test -z "${NEED_FORKPTY_TRUE}" && test -z "${NEED_FORKPTY_FALSE}"; then
                   7252:   as_fn_error $? "conditional \"NEED_FORKPTY\" was never defined.
                   7253: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7254: fi
                   7255: if test -z "${IS_AIX_TRUE}" && test -z "${IS_AIX_FALSE}"; then
                   7256:   as_fn_error $? "conditional \"IS_AIX\" was never defined.
                   7257: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7258: fi
                   7259: if test -z "${IS_DARWIN_TRUE}" && test -z "${IS_DARWIN_FALSE}"; then
                   7260:   as_fn_error $? "conditional \"IS_DARWIN\" was never defined.
                   7261: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7262: fi
                   7263: if test -z "${IS_DRAGONFLY_TRUE}" && test -z "${IS_DRAGONFLY_FALSE}"; then
                   7264:   as_fn_error $? "conditional \"IS_DRAGONFLY\" was never defined.
                   7265: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7266: fi
                   7267: if test -z "${IS_LINUX_TRUE}" && test -z "${IS_LINUX_FALSE}"; then
                   7268:   as_fn_error $? "conditional \"IS_LINUX\" was never defined.
                   7269: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7270: fi
                   7271: if test -z "${IS_FREEBSD_TRUE}" && test -z "${IS_FREEBSD_FALSE}"; then
                   7272:   as_fn_error $? "conditional \"IS_FREEBSD\" was never defined.
                   7273: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7274: fi
                   7275: if test -z "${IS_NETBSD_TRUE}" && test -z "${IS_NETBSD_FALSE}"; then
                   7276:   as_fn_error $? "conditional \"IS_NETBSD\" was never defined.
                   7277: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7278: fi
                   7279: if test -z "${IS_OPENBSD_TRUE}" && test -z "${IS_OPENBSD_FALSE}"; then
                   7280:   as_fn_error $? "conditional \"IS_OPENBSD\" was never defined.
                   7281: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7282: fi
                   7283: if test -z "${IS_SUNOS_TRUE}" && test -z "${IS_SUNOS_FALSE}"; then
                   7284:   as_fn_error $? "conditional \"IS_SUNOS\" was never defined.
                   7285: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7286: fi
                   7287: if test -z "${IS_HPUX_TRUE}" && test -z "${IS_HPUX_FALSE}"; then
                   7288:   as_fn_error $? "conditional \"IS_HPUX\" was never defined.
                   7289: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7290: fi
                   7291: if test -z "${IS_UNKNOWN_TRUE}" && test -z "${IS_UNKNOWN_FALSE}"; then
                   7292:   as_fn_error $? "conditional \"IS_UNKNOWN\" was never defined.
                   7293: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   7294: fi
                   7295: 
                   7296: : "${CONFIG_STATUS=./config.status}"
                   7297: ac_write_fail=0
                   7298: ac_clean_files_save=$ac_clean_files
                   7299: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   7300: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   7301: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   7302: as_write_fail=0
                   7303: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   7304: #! $SHELL
                   7305: # Generated by $as_me.
                   7306: # Run this file to recreate the current configuration.
                   7307: # Compiler output produced by configure, useful for debugging
                   7308: # configure, is in config.log if it exists.
                   7309: 
                   7310: debug=false
                   7311: ac_cs_recheck=false
                   7312: ac_cs_silent=false
                   7313: 
                   7314: SHELL=\${CONFIG_SHELL-$SHELL}
                   7315: export SHELL
                   7316: _ASEOF
                   7317: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   7318: ## -------------------- ##
                   7319: ## M4sh Initialization. ##
                   7320: ## -------------------- ##
                   7321: 
                   7322: # Be more Bourne compatible
                   7323: DUALCASE=1; export DUALCASE # for MKS sh
                   7324: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   7325:   emulate sh
                   7326:   NULLCMD=:
                   7327:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   7328:   # is contrary to our usage.  Disable this feature.
                   7329:   alias -g '${1+"$@"}'='"$@"'
                   7330:   setopt NO_GLOB_SUBST
                   7331: else
                   7332:   case `(set -o) 2>/dev/null` in #(
                   7333:   *posix*) :
                   7334:     set -o posix ;; #(
                   7335:   *) :
                   7336:      ;;
                   7337: esac
                   7338: fi
                   7339: 
                   7340: 
                   7341: as_nl='
                   7342: '
                   7343: export as_nl
                   7344: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   7345: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   7346: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   7347: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   7348: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   7349: # but without wasting forks for bash or zsh.
                   7350: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   7351:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   7352:   as_echo='print -r --'
                   7353:   as_echo_n='print -rn --'
                   7354: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   7355:   as_echo='printf %s\n'
                   7356:   as_echo_n='printf %s'
                   7357: else
                   7358:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   7359:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   7360:     as_echo_n='/usr/ucb/echo -n'
                   7361:   else
                   7362:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   7363:     as_echo_n_body='eval
                   7364:       arg=$1;
                   7365:       case $arg in #(
                   7366:       *"$as_nl"*)
                   7367:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   7368:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   7369:       esac;
                   7370:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   7371:     '
                   7372:     export as_echo_n_body
                   7373:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   7374:   fi
                   7375:   export as_echo_body
                   7376:   as_echo='sh -c $as_echo_body as_echo'
                   7377: fi
                   7378: 
                   7379: # The user is always right.
                   7380: if test "${PATH_SEPARATOR+set}" != set; then
                   7381:   PATH_SEPARATOR=:
                   7382:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   7383:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   7384:       PATH_SEPARATOR=';'
                   7385:   }
                   7386: fi
                   7387: 
                   7388: 
                   7389: # IFS
                   7390: # We need space, tab and new line, in precisely that order.  Quoting is
                   7391: # there to prevent editors from complaining about space-tab.
                   7392: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   7393: # splitting by setting IFS to empty value.)
                   7394: IFS=" ""       $as_nl"
                   7395: 
                   7396: # Find who we are.  Look in the path if we contain no directory separator.
                   7397: as_myself=
                   7398: case $0 in #((
                   7399:   *[\\/]* ) as_myself=$0 ;;
                   7400:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7401: for as_dir in $PATH
                   7402: do
                   7403:   IFS=$as_save_IFS
                   7404:   test -z "$as_dir" && as_dir=.
                   7405:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   7406:   done
                   7407: IFS=$as_save_IFS
                   7408: 
                   7409:      ;;
                   7410: esac
                   7411: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   7412: # in which case we are not to be found in the path.
                   7413: if test "x$as_myself" = x; then
                   7414:   as_myself=$0
                   7415: fi
                   7416: if test ! -f "$as_myself"; then
                   7417:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   7418:   exit 1
                   7419: fi
                   7420: 
                   7421: # Unset variables that we do not need and which cause bugs (e.g. in
                   7422: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   7423: # suppresses any "Segmentation fault" message there.  '((' could
                   7424: # trigger a bug in pdksh 5.2.14.
                   7425: for as_var in BASH_ENV ENV MAIL MAILPATH
                   7426: do eval test x\${$as_var+set} = xset \
                   7427:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   7428: done
                   7429: PS1='$ '
                   7430: PS2='> '
                   7431: PS4='+ '
                   7432: 
                   7433: # NLS nuisances.
                   7434: LC_ALL=C
                   7435: export LC_ALL
                   7436: LANGUAGE=C
                   7437: export LANGUAGE
                   7438: 
                   7439: # CDPATH.
                   7440: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   7441: 
                   7442: 
                   7443: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   7444: # ----------------------------------------
                   7445: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   7446: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   7447: # script with STATUS, using 1 if that was 0.
                   7448: as_fn_error ()
                   7449: {
                   7450:   as_status=$1; test $as_status -eq 0 && as_status=1
                   7451:   if test "$4"; then
                   7452:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   7453:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   7454:   fi
                   7455:   $as_echo "$as_me: error: $2" >&2
                   7456:   as_fn_exit $as_status
                   7457: } # as_fn_error
                   7458: 
                   7459: 
                   7460: # as_fn_set_status STATUS
                   7461: # -----------------------
                   7462: # Set $? to STATUS, without forking.
                   7463: as_fn_set_status ()
                   7464: {
                   7465:   return $1
                   7466: } # as_fn_set_status
                   7467: 
                   7468: # as_fn_exit STATUS
                   7469: # -----------------
                   7470: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   7471: as_fn_exit ()
                   7472: {
                   7473:   set +e
                   7474:   as_fn_set_status $1
                   7475:   exit $1
                   7476: } # as_fn_exit
                   7477: 
                   7478: # as_fn_unset VAR
                   7479: # ---------------
                   7480: # Portably unset VAR.
                   7481: as_fn_unset ()
                   7482: {
                   7483:   { eval $1=; unset $1;}
                   7484: }
                   7485: as_unset=as_fn_unset
                   7486: # as_fn_append VAR VALUE
                   7487: # ----------------------
                   7488: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   7489: # advantage of any shell optimizations that allow amortized linear growth over
                   7490: # repeated appends, instead of the typical quadratic growth present in naive
                   7491: # implementations.
                   7492: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   7493:   eval 'as_fn_append ()
                   7494:   {
                   7495:     eval $1+=\$2
                   7496:   }'
                   7497: else
                   7498:   as_fn_append ()
                   7499:   {
                   7500:     eval $1=\$$1\$2
                   7501:   }
                   7502: fi # as_fn_append
                   7503: 
                   7504: # as_fn_arith ARG...
                   7505: # ------------------
                   7506: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   7507: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   7508: # must be portable across $(()) and expr.
                   7509: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   7510:   eval 'as_fn_arith ()
                   7511:   {
                   7512:     as_val=$(( $* ))
                   7513:   }'
                   7514: else
                   7515:   as_fn_arith ()
                   7516:   {
                   7517:     as_val=`expr "$@" || test $? -eq 1`
                   7518:   }
                   7519: fi # as_fn_arith
                   7520: 
                   7521: 
                   7522: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   7523:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   7524:   as_expr=expr
                   7525: else
                   7526:   as_expr=false
                   7527: fi
                   7528: 
                   7529: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   7530:   as_basename=basename
                   7531: else
                   7532:   as_basename=false
                   7533: fi
                   7534: 
                   7535: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   7536:   as_dirname=dirname
                   7537: else
                   7538:   as_dirname=false
                   7539: fi
                   7540: 
                   7541: as_me=`$as_basename -- "$0" ||
                   7542: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   7543:         X"$0" : 'X\(//\)$' \| \
                   7544:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   7545: $as_echo X/"$0" |
                   7546:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   7547:            s//\1/
                   7548:            q
                   7549:          }
                   7550:          /^X\/\(\/\/\)$/{
                   7551:            s//\1/
                   7552:            q
                   7553:          }
                   7554:          /^X\/\(\/\).*/{
                   7555:            s//\1/
                   7556:            q
                   7557:          }
                   7558:          s/.*/./; q'`
                   7559: 
                   7560: # Avoid depending upon Character Ranges.
                   7561: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   7562: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   7563: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   7564: as_cr_digits='0123456789'
                   7565: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   7566: 
                   7567: ECHO_C= ECHO_N= ECHO_T=
                   7568: case `echo -n x` in #(((((
                   7569: -n*)
                   7570:   case `echo 'xy\c'` in
                   7571:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   7572:   xy)  ECHO_C='\c';;
                   7573:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   7574:        ECHO_T='        ';;
                   7575:   esac;;
                   7576: *)
                   7577:   ECHO_N='-n';;
                   7578: esac
                   7579: 
                   7580: rm -f conf$$ conf$$.exe conf$$.file
                   7581: if test -d conf$$.dir; then
                   7582:   rm -f conf$$.dir/conf$$.file
                   7583: else
                   7584:   rm -f conf$$.dir
                   7585:   mkdir conf$$.dir 2>/dev/null
                   7586: fi
                   7587: if (echo >conf$$.file) 2>/dev/null; then
                   7588:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   7589:     as_ln_s='ln -s'
                   7590:     # ... but there are two gotchas:
                   7591:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   7592:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   7593:     # In both cases, we have to default to `cp -pR'.
                   7594:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   7595:       as_ln_s='cp -pR'
                   7596:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   7597:     as_ln_s=ln
                   7598:   else
                   7599:     as_ln_s='cp -pR'
                   7600:   fi
                   7601: else
                   7602:   as_ln_s='cp -pR'
                   7603: fi
                   7604: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   7605: rmdir conf$$.dir 2>/dev/null
                   7606: 
                   7607: 
                   7608: # as_fn_mkdir_p
                   7609: # -------------
                   7610: # Create "$as_dir" as a directory, including parents if necessary.
                   7611: as_fn_mkdir_p ()
                   7612: {
                   7613: 
                   7614:   case $as_dir in #(
                   7615:   -*) as_dir=./$as_dir;;
                   7616:   esac
                   7617:   test -d "$as_dir" || eval $as_mkdir_p || {
                   7618:     as_dirs=
                   7619:     while :; do
                   7620:       case $as_dir in #(
                   7621:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   7622:       *) as_qdir=$as_dir;;
                   7623:       esac
                   7624:       as_dirs="'$as_qdir' $as_dirs"
                   7625:       as_dir=`$as_dirname -- "$as_dir" ||
                   7626: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7627:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   7628:         X"$as_dir" : 'X\(//\)$' \| \
                   7629:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   7630: $as_echo X"$as_dir" |
                   7631:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7632:            s//\1/
                   7633:            q
                   7634:          }
                   7635:          /^X\(\/\/\)[^/].*/{
                   7636:            s//\1/
                   7637:            q
                   7638:          }
                   7639:          /^X\(\/\/\)$/{
                   7640:            s//\1/
                   7641:            q
                   7642:          }
                   7643:          /^X\(\/\).*/{
                   7644:            s//\1/
                   7645:            q
                   7646:          }
                   7647:          s/.*/./; q'`
                   7648:       test -d "$as_dir" && break
                   7649:     done
                   7650:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   7651:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   7652: 
                   7653: 
                   7654: } # as_fn_mkdir_p
                   7655: if mkdir -p . 2>/dev/null; then
                   7656:   as_mkdir_p='mkdir -p "$as_dir"'
                   7657: else
                   7658:   test -d ./-p && rmdir ./-p
                   7659:   as_mkdir_p=false
                   7660: fi
                   7661: 
                   7662: 
                   7663: # as_fn_executable_p FILE
                   7664: # -----------------------
                   7665: # Test if FILE is an executable regular file.
                   7666: as_fn_executable_p ()
                   7667: {
                   7668:   test -f "$1" && test -x "$1"
                   7669: } # as_fn_executable_p
                   7670: as_test_x='test -x'
                   7671: as_executable_p=as_fn_executable_p
                   7672: 
                   7673: # Sed expression to map a string onto a valid CPP name.
                   7674: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   7675: 
                   7676: # Sed expression to map a string onto a valid variable name.
                   7677: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   7678: 
                   7679: 
                   7680: exec 6>&1
                   7681: ## ----------------------------------- ##
                   7682: ## Main body of $CONFIG_STATUS script. ##
                   7683: ## ----------------------------------- ##
                   7684: _ASEOF
                   7685: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   7686: 
                   7687: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7688: # Save the log message, to keep $0 and so on meaningful, and to
                   7689: # report actual input values of CONFIG_FILES etc. instead of their
                   7690: # values after options handling.
                   7691: ac_log="
                   7692: This file was extended by tmux $as_me 2.4, which was
                   7693: generated by GNU Autoconf 2.69.  Invocation command line was
                   7694: 
                   7695:   CONFIG_FILES    = $CONFIG_FILES
                   7696:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7697:   CONFIG_LINKS    = $CONFIG_LINKS
                   7698:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7699:   $ $0 $@
                   7700: 
                   7701: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   7702: "
                   7703: 
                   7704: _ACEOF
                   7705: 
                   7706: case $ac_config_files in *"
                   7707: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   7708: esac
                   7709: 
                   7710: 
                   7711: 
                   7712: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7713: # Files that config.status was made for.
                   7714: config_files="$ac_config_files"
                   7715: config_commands="$ac_config_commands"
                   7716: 
                   7717: _ACEOF
                   7718: 
                   7719: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7720: ac_cs_usage="\
                   7721: \`$as_me' instantiates files and other configuration actions
                   7722: from templates according to the current configuration.  Unless the files
                   7723: and actions are specified as TAGs, all are instantiated by default.
                   7724: 
                   7725: Usage: $0 [OPTION]... [TAG]...
                   7726: 
                   7727:   -h, --help       print this help, then exit
                   7728:   -V, --version    print version number and configuration settings, then exit
                   7729:       --config     print configuration, then exit
                   7730:   -q, --quiet, --silent
                   7731:                    do not print progress messages
                   7732:   -d, --debug      don't remove temporary files
                   7733:       --recheck    update $as_me by reconfiguring in the same conditions
                   7734:       --file=FILE[:TEMPLATE]
                   7735:                    instantiate the configuration file FILE
                   7736: 
                   7737: Configuration files:
                   7738: $config_files
                   7739: 
                   7740: Configuration commands:
                   7741: $config_commands
                   7742: 
                   7743: Report bugs to the package provider."
                   7744: 
                   7745: _ACEOF
                   7746: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7747: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   7748: ac_cs_version="\\
                   7749: tmux config.status 2.4
                   7750: configured by $0, generated by GNU Autoconf 2.69,
                   7751:   with options \\"\$ac_cs_config\\"
                   7752: 
                   7753: Copyright (C) 2012 Free Software Foundation, Inc.
                   7754: This config.status script is free software; the Free Software Foundation
                   7755: gives unlimited permission to copy, distribute and modify it."
                   7756: 
                   7757: ac_pwd='$ac_pwd'
                   7758: srcdir='$srcdir'
                   7759: INSTALL='$INSTALL'
                   7760: MKDIR_P='$MKDIR_P'
                   7761: AWK='$AWK'
                   7762: test -n "\$AWK" || AWK=awk
                   7763: _ACEOF
                   7764: 
                   7765: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7766: # The default lists apply if the user does not specify any file.
                   7767: ac_need_defaults=:
                   7768: while test $# != 0
                   7769: do
                   7770:   case $1 in
                   7771:   --*=?*)
                   7772:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7773:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   7774:     ac_shift=:
                   7775:     ;;
                   7776:   --*=)
                   7777:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7778:     ac_optarg=
                   7779:     ac_shift=:
                   7780:     ;;
                   7781:   *)
                   7782:     ac_option=$1
                   7783:     ac_optarg=$2
                   7784:     ac_shift=shift
                   7785:     ;;
                   7786:   esac
                   7787: 
                   7788:   case $ac_option in
                   7789:   # Handling of the options.
                   7790:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7791:     ac_cs_recheck=: ;;
                   7792:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   7793:     $as_echo "$ac_cs_version"; exit ;;
                   7794:   --config | --confi | --conf | --con | --co | --c )
                   7795:     $as_echo "$ac_cs_config"; exit ;;
                   7796:   --debug | --debu | --deb | --de | --d | -d )
                   7797:     debug=: ;;
                   7798:   --file | --fil | --fi | --f )
                   7799:     $ac_shift
                   7800:     case $ac_optarg in
                   7801:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   7802:     '') as_fn_error $? "missing file argument" ;;
                   7803:     esac
                   7804:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   7805:     ac_need_defaults=false;;
                   7806:   --he | --h |  --help | --hel | -h )
                   7807:     $as_echo "$ac_cs_usage"; exit ;;
                   7808:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7809:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7810:     ac_cs_silent=: ;;
                   7811: 
                   7812:   # This is an error.
                   7813:   -*) as_fn_error $? "unrecognized option: \`$1'
                   7814: Try \`$0 --help' for more information." ;;
                   7815: 
                   7816:   *) as_fn_append ac_config_targets " $1"
                   7817:      ac_need_defaults=false ;;
                   7818: 
                   7819:   esac
                   7820:   shift
                   7821: done
                   7822: 
                   7823: ac_configure_extra_args=
                   7824: 
                   7825: if $ac_cs_silent; then
                   7826:   exec 6>/dev/null
                   7827:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7828: fi
                   7829: 
                   7830: _ACEOF
                   7831: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7832: if \$ac_cs_recheck; then
                   7833:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   7834:   shift
                   7835:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   7836:   CONFIG_SHELL='$SHELL'
                   7837:   export CONFIG_SHELL
                   7838:   exec "\$@"
                   7839: fi
                   7840: 
                   7841: _ACEOF
                   7842: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7843: exec 5>>config.log
                   7844: {
                   7845:   echo
                   7846:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7847: ## Running $as_me. ##
                   7848: _ASBOX
                   7849:   $as_echo "$ac_log"
                   7850: } >&5
                   7851: 
                   7852: _ACEOF
                   7853: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7854: #
                   7855: # INIT-COMMANDS
                   7856: #
                   7857: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   7858: 
                   7859: _ACEOF
                   7860: 
                   7861: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   7862: 
                   7863: # Handling of arguments.
                   7864: for ac_config_target in $ac_config_targets
                   7865: do
                   7866:   case $ac_config_target in
                   7867:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   7868:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   7869: 
                   7870:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   7871:   esac
                   7872: done
                   7873: 
                   7874: 
                   7875: # If the user did not use the arguments to specify the items to instantiate,
                   7876: # then the envvar interface is used.  Set only those that are not.
                   7877: # We use the long form for the default assignment because of an extremely
                   7878: # bizarre bug on SunOS 4.1.3.
                   7879: if $ac_need_defaults; then
                   7880:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   7881:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   7882: fi
                   7883: 
                   7884: # Have a temporary directory for convenience.  Make it in the build tree
                   7885: # simply because there is no reason against having it here, and in addition,
                   7886: # creating and moving files from /tmp can sometimes cause problems.
                   7887: # Hook for its removal unless debugging.
                   7888: # Note that there is a small window in which the directory will not be cleaned:
                   7889: # after its creation but before its name has been assigned to `$tmp'.
                   7890: $debug ||
                   7891: {
                   7892:   tmp= ac_tmp=
                   7893:   trap 'exit_status=$?
                   7894:   : "${ac_tmp:=$tmp}"
                   7895:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   7896: ' 0
                   7897:   trap 'as_fn_exit 1' 1 2 13 15
                   7898: }
                   7899: # Create a (secure) tmp directory for tmp files.
                   7900: 
                   7901: {
                   7902:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   7903:   test -d "$tmp"
                   7904: }  ||
                   7905: {
                   7906:   tmp=./conf$$-$RANDOM
                   7907:   (umask 077 && mkdir "$tmp")
                   7908: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   7909: ac_tmp=$tmp
                   7910: 
                   7911: # Set up the scripts for CONFIG_FILES section.
                   7912: # No need to generate them if there are no CONFIG_FILES.
                   7913: # This happens for instance with `./config.status config.h'.
                   7914: if test -n "$CONFIG_FILES"; then
                   7915: 
                   7916: 
                   7917: ac_cr=`echo X | tr X '\015'`
                   7918: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   7919: # But we know of no other shell where ac_cr would be empty at this
                   7920: # point, so we can use a bashism as a fallback.
                   7921: if test "x$ac_cr" = x; then
                   7922:   eval ac_cr=\$\'\\r\'
                   7923: fi
                   7924: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   7925: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   7926:   ac_cs_awk_cr='\\r'
                   7927: else
                   7928:   ac_cs_awk_cr=$ac_cr
                   7929: fi
                   7930: 
                   7931: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   7932: _ACEOF
                   7933: 
                   7934: 
                   7935: {
                   7936:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   7937:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   7938:   echo "_ACEOF"
                   7939: } >conf$$subs.sh ||
                   7940:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7941: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   7942: ac_delim='%!_!# '
                   7943: for ac_last_try in false false false false false :; do
                   7944:   . ./conf$$subs.sh ||
                   7945:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7946: 
                   7947:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   7948:   if test $ac_delim_n = $ac_delim_num; then
                   7949:     break
                   7950:   elif $ac_last_try; then
                   7951:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   7952:   else
                   7953:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7954:   fi
                   7955: done
                   7956: rm -f conf$$subs.sh
                   7957: 
                   7958: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   7959: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   7960: _ACEOF
                   7961: sed -n '
                   7962: h
                   7963: s/^/S["/; s/!.*/"]=/
                   7964: p
                   7965: g
                   7966: s/^[^!]*!//
                   7967: :repl
                   7968: t repl
                   7969: s/'"$ac_delim"'$//
                   7970: t delim
                   7971: :nl
                   7972: h
                   7973: s/\(.\{148\}\)..*/\1/
                   7974: t more1
                   7975: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   7976: p
                   7977: n
                   7978: b repl
                   7979: :more1
                   7980: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7981: p
                   7982: g
                   7983: s/.\{148\}//
                   7984: t nl
                   7985: :delim
                   7986: h
                   7987: s/\(.\{148\}\)..*/\1/
                   7988: t more2
                   7989: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   7990: p
                   7991: b
                   7992: :more2
                   7993: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   7994: p
                   7995: g
                   7996: s/.\{148\}//
                   7997: t delim
                   7998: ' <conf$$subs.awk | sed '
                   7999: /^[^""]/{
                   8000:   N
                   8001:   s/\n//
                   8002: }
                   8003: ' >>$CONFIG_STATUS || ac_write_fail=1
                   8004: rm -f conf$$subs.awk
                   8005: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8006: _ACAWK
                   8007: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   8008:   for (key in S) S_is_set[key] = 1
                   8009:   FS = ""
                   8010: 
                   8011: }
                   8012: {
                   8013:   line = $ 0
                   8014:   nfields = split(line, field, "@")
                   8015:   substed = 0
                   8016:   len = length(field[1])
                   8017:   for (i = 2; i < nfields; i++) {
                   8018:     key = field[i]
                   8019:     keylen = length(key)
                   8020:     if (S_is_set[key]) {
                   8021:       value = S[key]
                   8022:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   8023:       len += length(value) + length(field[++i])
                   8024:       substed = 1
                   8025:     } else
                   8026:       len += 1 + keylen
                   8027:   }
                   8028: 
                   8029:   print line
                   8030: }
                   8031: 
                   8032: _ACAWK
                   8033: _ACEOF
                   8034: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8035: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   8036:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   8037: else
                   8038:   cat
                   8039: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   8040:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   8041: _ACEOF
                   8042: 
                   8043: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   8044: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   8045: # trailing colons and then remove the whole line if VPATH becomes empty
                   8046: # (actually we leave an empty line to preserve line numbers).
                   8047: if test "x$srcdir" = x.; then
                   8048:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   8049: h
                   8050: s///
                   8051: s/^/:/
                   8052: s/[     ]*$/:/
                   8053: s/:\$(srcdir):/:/g
                   8054: s/:\${srcdir}:/:/g
                   8055: s/:@srcdir@:/:/g
                   8056: s/^:*//
                   8057: s/:*$//
                   8058: x
                   8059: s/\(=[  ]*\).*/\1/
                   8060: G
                   8061: s/\n//
                   8062: s/^[^=]*=[      ]*$//
                   8063: }'
                   8064: fi
                   8065: 
                   8066: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8067: fi # test -n "$CONFIG_FILES"
                   8068: 
                   8069: 
                   8070: eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
                   8071: shift
                   8072: for ac_tag
                   8073: do
                   8074:   case $ac_tag in
                   8075:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   8076:   esac
                   8077:   case $ac_mode$ac_tag in
                   8078:   :[FHL]*:*);;
                   8079:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   8080:   :[FH]-) ac_tag=-:-;;
                   8081:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   8082:   esac
                   8083:   ac_save_IFS=$IFS
                   8084:   IFS=:
                   8085:   set x $ac_tag
                   8086:   IFS=$ac_save_IFS
                   8087:   shift
                   8088:   ac_file=$1
                   8089:   shift
                   8090: 
                   8091:   case $ac_mode in
                   8092:   :L) ac_source=$1;;
                   8093:   :[FH])
                   8094:     ac_file_inputs=
                   8095:     for ac_f
                   8096:     do
                   8097:       case $ac_f in
                   8098:       -) ac_f="$ac_tmp/stdin";;
                   8099:       *) # Look for the file first in the build tree, then in the source tree
                   8100:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   8101:         # because $ac_f cannot contain `:'.
                   8102:         test -f "$ac_f" ||
                   8103:           case $ac_f in
                   8104:           [\\/$]*) false;;
                   8105:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   8106:           esac ||
                   8107:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   8108:       esac
                   8109:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   8110:       as_fn_append ac_file_inputs " '$ac_f'"
                   8111:     done
                   8112: 
                   8113:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8114:     # use $as_me), people would be surprised to read:
                   8115:     #    /* config.h.  Generated by config.status.  */
                   8116:     configure_input='Generated from '`
                   8117:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   8118:        `' by configure.'
                   8119:     if test x"$ac_file" != x-; then
                   8120:       configure_input="$ac_file.  $configure_input"
                   8121:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   8122: $as_echo "$as_me: creating $ac_file" >&6;}
                   8123:     fi
                   8124:     # Neutralize special characters interpreted by sed in replacement strings.
                   8125:     case $configure_input in #(
                   8126:     *\&* | *\|* | *\\* )
                   8127:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   8128:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   8129:     *) ac_sed_conf_input=$configure_input;;
                   8130:     esac
                   8131: 
                   8132:     case $ac_tag in
                   8133:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   8134:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   8135:     esac
                   8136:     ;;
                   8137:   esac
                   8138: 
                   8139:   ac_dir=`$as_dirname -- "$ac_file" ||
                   8140: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8141:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   8142:         X"$ac_file" : 'X\(//\)$' \| \
                   8143:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   8144: $as_echo X"$ac_file" |
                   8145:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8146:            s//\1/
                   8147:            q
                   8148:          }
                   8149:          /^X\(\/\/\)[^/].*/{
                   8150:            s//\1/
                   8151:            q
                   8152:          }
                   8153:          /^X\(\/\/\)$/{
                   8154:            s//\1/
                   8155:            q
                   8156:          }
                   8157:          /^X\(\/\).*/{
                   8158:            s//\1/
                   8159:            q
                   8160:          }
                   8161:          s/.*/./; q'`
                   8162:   as_dir="$ac_dir"; as_fn_mkdir_p
                   8163:   ac_builddir=.
                   8164: 
                   8165: case "$ac_dir" in
                   8166: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   8167: *)
                   8168:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   8169:   # A ".." for each directory in $ac_dir_suffix.
                   8170:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   8171:   case $ac_top_builddir_sub in
                   8172:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   8173:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   8174:   esac ;;
                   8175: esac
                   8176: ac_abs_top_builddir=$ac_pwd
                   8177: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   8178: # for backward compatibility:
                   8179: ac_top_builddir=$ac_top_build_prefix
                   8180: 
                   8181: case $srcdir in
                   8182:   .)  # We are building in place.
                   8183:     ac_srcdir=.
                   8184:     ac_top_srcdir=$ac_top_builddir_sub
                   8185:     ac_abs_top_srcdir=$ac_pwd ;;
                   8186:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   8187:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8188:     ac_top_srcdir=$srcdir
                   8189:     ac_abs_top_srcdir=$srcdir ;;
                   8190:   *) # Relative name.
                   8191:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   8192:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   8193:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   8194: esac
                   8195: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   8196: 
                   8197: 
                   8198:   case $ac_mode in
                   8199:   :F)
                   8200:   #
                   8201:   # CONFIG_FILE
                   8202:   #
                   8203: 
                   8204:   case $INSTALL in
                   8205:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   8206:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   8207:   esac
                   8208:   ac_MKDIR_P=$MKDIR_P
                   8209:   case $MKDIR_P in
                   8210:   [\\/$]* | ?:[\\/]* ) ;;
                   8211:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   8212:   esac
                   8213: _ACEOF
                   8214: 
                   8215: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8216: # If the template does not know about datarootdir, expand it.
                   8217: # FIXME: This hack should be removed a few years after 2.60.
                   8218: ac_datarootdir_hack=; ac_datarootdir_seen=
                   8219: ac_sed_dataroot='
                   8220: /datarootdir/ {
                   8221:   p
                   8222:   q
                   8223: }
                   8224: /@datadir@/p
                   8225: /@docdir@/p
                   8226: /@infodir@/p
                   8227: /@localedir@/p
                   8228: /@mandir@/p'
                   8229: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   8230: *datarootdir*) ac_datarootdir_seen=yes;;
                   8231: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   8232:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   8233: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   8234: _ACEOF
                   8235: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8236:   ac_datarootdir_hack='
                   8237:   s&@datadir@&$datadir&g
                   8238:   s&@docdir@&$docdir&g
                   8239:   s&@infodir@&$infodir&g
                   8240:   s&@localedir@&$localedir&g
                   8241:   s&@mandir@&$mandir&g
                   8242:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   8243: esac
                   8244: _ACEOF
                   8245: 
                   8246: # Neutralize VPATH when `$srcdir' = `.'.
                   8247: # Shell code in configure.ac might set extrasub.
                   8248: # FIXME: do we really want to maintain this feature?
                   8249: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   8250: ac_sed_extra="$ac_vpsub
                   8251: $extrasub
                   8252: _ACEOF
                   8253: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   8254: :t
                   8255: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   8256: s|@configure_input@|$ac_sed_conf_input|;t t
                   8257: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   8258: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   8259: s&@srcdir@&$ac_srcdir&;t t
                   8260: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   8261: s&@top_srcdir@&$ac_top_srcdir&;t t
                   8262: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   8263: s&@builddir@&$ac_builddir&;t t
                   8264: s&@abs_builddir@&$ac_abs_builddir&;t t
                   8265: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   8266: s&@INSTALL@&$ac_INSTALL&;t t
                   8267: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   8268: $ac_datarootdir_hack
                   8269: "
                   8270: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   8271:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   8272: 
                   8273: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   8274:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   8275:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   8276:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   8277:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   8278: which seems to be undefined.  Please make sure it is defined" >&5
                   8279: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   8280: which seems to be undefined.  Please make sure it is defined" >&2;}
                   8281: 
                   8282:   rm -f "$ac_tmp/stdin"
                   8283:   case $ac_file in
                   8284:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   8285:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   8286:   esac \
                   8287:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   8288:  ;;
                   8289: 
                   8290: 
                   8291:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   8292: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   8293:  ;;
                   8294:   esac
                   8295: 
                   8296: 
                   8297:   case $ac_file$ac_mode in
                   8298:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   8299:   # Older Autoconf quotes --file arguments for eval, but not when files
                   8300:   # are listed without --file.  Let's play safe and only enable the eval
                   8301:   # if we detect the quoting.
                   8302:   case $CONFIG_FILES in
                   8303:   *\'*) eval set x "$CONFIG_FILES" ;;
                   8304:   *)   set x $CONFIG_FILES ;;
                   8305:   esac
                   8306:   shift
                   8307:   for mf
                   8308:   do
                   8309:     # Strip MF so we end up with the name of the file.
                   8310:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   8311:     # Check whether this is an Automake generated Makefile or not.
                   8312:     # We used to match only the files named 'Makefile.in', but
                   8313:     # some people rename them; so instead we look at the file content.
                   8314:     # Grep'ing the first line is not enough: some people post-process
                   8315:     # each Makefile.in and add a new line on top of each file to say so.
                   8316:     # Grep'ing the whole file is not good either: AIX grep has a line
                   8317:     # limit of 2048, but all sed's we know have understand at least 4000.
                   8318:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   8319:       dirpart=`$as_dirname -- "$mf" ||
                   8320: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8321:         X"$mf" : 'X\(//\)[^/]' \| \
                   8322:         X"$mf" : 'X\(//\)$' \| \
                   8323:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   8324: $as_echo X"$mf" |
                   8325:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8326:            s//\1/
                   8327:            q
                   8328:          }
                   8329:          /^X\(\/\/\)[^/].*/{
                   8330:            s//\1/
                   8331:            q
                   8332:          }
                   8333:          /^X\(\/\/\)$/{
                   8334:            s//\1/
                   8335:            q
                   8336:          }
                   8337:          /^X\(\/\).*/{
                   8338:            s//\1/
                   8339:            q
                   8340:          }
                   8341:          s/.*/./; q'`
                   8342:     else
                   8343:       continue
                   8344:     fi
                   8345:     # Extract the definition of DEPDIR, am__include, and am__quote
                   8346:     # from the Makefile without running 'make'.
                   8347:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   8348:     test -z "$DEPDIR" && continue
                   8349:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   8350:     test -z "$am__include" && continue
                   8351:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   8352:     # Find all dependency output files, they are included files with
                   8353:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   8354:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   8355:     # expansion.
                   8356:     for file in `sed -n "
                   8357:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   8358:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
                   8359:       # Make sure the directory exists.
                   8360:       test -f "$dirpart/$file" && continue
                   8361:       fdir=`$as_dirname -- "$file" ||
                   8362: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8363:         X"$file" : 'X\(//\)[^/]' \| \
                   8364:         X"$file" : 'X\(//\)$' \| \
                   8365:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   8366: $as_echo X"$file" |
                   8367:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8368:            s//\1/
                   8369:            q
                   8370:          }
                   8371:          /^X\(\/\/\)[^/].*/{
                   8372:            s//\1/
                   8373:            q
                   8374:          }
                   8375:          /^X\(\/\/\)$/{
                   8376:            s//\1/
                   8377:            q
                   8378:          }
                   8379:          /^X\(\/\).*/{
                   8380:            s//\1/
                   8381:            q
                   8382:          }
                   8383:          s/.*/./; q'`
                   8384:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   8385:       # echo "creating $dirpart/$file"
                   8386:       echo '# dummy' > "$dirpart/$file"
                   8387:     done
                   8388:   done
                   8389: }
                   8390:  ;;
                   8391: 
                   8392:   esac
                   8393: done # for ac_tag
                   8394: 
                   8395: 
                   8396: as_fn_exit 0
                   8397: _ACEOF
                   8398: ac_clean_files=$ac_clean_files_save
                   8399: 
                   8400: test $ac_write_fail = 0 ||
                   8401:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   8402: 
                   8403: 
                   8404: # configure is writing to config.log, and then calls config.status.
                   8405: # config.status does its own redirection, appending to config.log.
                   8406: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8407: # by configure, so config.status won't be able to write to it; its
                   8408: # output is simply discarded.  So we exec the FD to /dev/null,
                   8409: # effectively closing config.log, so it can be properly (re)opened and
                   8410: # appended to by config.status.  When coming back to configure, we
                   8411: # need to make the FD available again.
                   8412: if test "$no_create" != yes; then
                   8413:   ac_cs_success=:
                   8414:   ac_config_status_args=
                   8415:   test "$silent" = yes &&
                   8416:     ac_config_status_args="$ac_config_status_args --quiet"
                   8417:   exec 5>/dev/null
                   8418:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   8419:   exec 5>>config.log
                   8420:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8421:   # would make configure fail if this is the last instruction.
                   8422:   $ac_cs_success || as_fn_exit 1
                   8423: fi
                   8424: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   8425:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   8426: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   8427: fi
                   8428: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>