Annotation of embedaddon/bird/configure, revision 1.1.1.1.2.1

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

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