Annotation of uae/configure, revision 1.1.1.23

1.1       root        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.23! root        3: # Generated by GNU Autoconf 2.61 for UAE 0.8.27.
1.1       root        4: #
1.1.1.22  root        5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      6: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1       root        7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
1.1.1.19  root        9: ## --------------------- ##
                     10: ## M4sh Initialization.  ##
                     11: ## --------------------- ##
                     12: 
1.1.1.22  root       13: # Be more Bourne compatible
                     14: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.19  root       15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     16:   emulate sh
                     17:   NULLCMD=:
                     18:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     19:   # is contrary to our usage.  Disable this feature.
                     20:   alias -g '${1+"$@"}'='"$@"'
1.1.1.22  root       21:   setopt NO_GLOB_SUBST
                     22: else
                     23:   case `(set -o) 2>/dev/null` in
                     24:   *posix*) set -o posix ;;
                     25: esac
                     26: 
                     27: fi
                     28: 
                     29: 
                     30: 
                     31: 
                     32: # PATH needs CR
                     33: # Avoid depending upon Character Ranges.
                     34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     37: as_cr_digits='0123456789'
                     38: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     39: 
                     40: # The user is always right.
                     41: if test "${PATH_SEPARATOR+set}" != set; then
                     42:   echo "#! /bin/sh" >conf$$.sh
                     43:   echo  "exit 0"   >>conf$$.sh
                     44:   chmod +x conf$$.sh
                     45:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     46:     PATH_SEPARATOR=';'
                     47:   else
                     48:     PATH_SEPARATOR=:
                     49:   fi
                     50:   rm -f conf$$.sh
1.1.1.19  root       51: fi
                     52: 
                     53: # Support unset when possible.
                     54: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                     55:   as_unset=unset
                     56: else
                     57:   as_unset=false
                     58: fi
                     59: 
                     60: 
1.1.1.22  root       61: # IFS
                     62: # We need space, tab and new line, in precisely that order.  Quoting is
                     63: # there to prevent editors from complaining about space-tab.
                     64: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     65: # splitting by setting IFS to empty value.)
                     66: as_nl='
                     67: '
                     68: IFS=" ""       $as_nl"
                     69: 
                     70: # Find who we are.  Look in the path if we contain no directory separator.
                     71: case $0 in
                     72:   *[\\/]* ) as_myself=$0 ;;
                     73:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     74: for as_dir in $PATH
                     75: do
                     76:   IFS=$as_save_IFS
                     77:   test -z "$as_dir" && as_dir=.
                     78:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     79: done
                     80: IFS=$as_save_IFS
                     81: 
                     82:      ;;
                     83: esac
                     84: # We did not find ourselves, most probably we were run as `sh COMMAND'
                     85: # in which case we are not to be found in the path.
                     86: if test "x$as_myself" = x; then
                     87:   as_myself=$0
                     88: fi
                     89: if test ! -f "$as_myself"; then
                     90:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                     91:   { (exit 1); exit 1; }
                     92: fi
                     93: 
1.1.1.19  root       94: # Work around bugs in pre-3.0 UWIN ksh.
1.1.1.22  root       95: for as_var in ENV MAIL MAILPATH
                     96: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
                     97: done
1.1.1.19  root       98: PS1='$ '
                     99: PS2='> '
                    100: PS4='+ '
                    101: 
                    102: # NLS nuisances.
                    103: for as_var in \
                    104:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                    105:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                    106:   LC_TELEPHONE LC_TIME
                    107: do
                    108:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                    109:     eval $as_var=C; export $as_var
                    110:   else
1.1.1.22  root      111:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.1.1.19  root      112:   fi
                    113: done
                    114: 
                    115: # Required to use basename.
1.1.1.22  root      116: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    117:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1.1.19  root      118:   as_expr=expr
                    119: else
                    120:   as_expr=false
                    121: fi
                    122: 
1.1.1.22  root      123: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1.1.19  root      124:   as_basename=basename
                    125: else
                    126:   as_basename=false
                    127: fi
                    128: 
                    129: 
                    130: # Name of the executable.
1.1.1.22  root      131: as_me=`$as_basename -- "$0" ||
1.1.1.19  root      132: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    133:         X"$0" : 'X\(//\)$' \| \
1.1.1.22  root      134:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.19  root      135: echo X/"$0" |
1.1.1.22  root      136:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    137:            s//\1/
                    138:            q
                    139:          }
                    140:          /^X\/\(\/\/\)$/{
                    141:            s//\1/
                    142:            q
                    143:          }
                    144:          /^X\/\(\/\).*/{
                    145:            s//\1/
                    146:            q
                    147:          }
                    148:          s/.*/./; q'`
1.1.1.19  root      149: 
1.1.1.22  root      150: # CDPATH.
                    151: $as_unset CDPATH
1.1.1.19  root      152: 
                    153: 
1.1.1.22  root      154: if test "x$CONFIG_SHELL" = x; then
                    155:   if (eval ":") 2>/dev/null; then
                    156:   as_have_required=yes
                    157: else
                    158:   as_have_required=no
                    159: fi
                    160: 
                    161:   if test $as_have_required = yes &&    (eval ":
                    162: (as_func_return () {
                    163:   (exit \$1)
                    164: }
                    165: as_func_success () {
                    166:   as_func_return 0
                    167: }
                    168: as_func_failure () {
                    169:   as_func_return 1
                    170: }
                    171: as_func_ret_success () {
                    172:   return 0
                    173: }
                    174: as_func_ret_failure () {
                    175:   return 1
                    176: }
                    177: 
                    178: exitcode=0
                    179: if as_func_success; then
                    180:   :
                    181: else
                    182:   exitcode=1
                    183:   echo as_func_success failed.
1.1.1.19  root      184: fi
                    185: 
1.1.1.22  root      186: if as_func_failure; then
                    187:   exitcode=1
                    188:   echo as_func_failure succeeded.
                    189: fi
1.1.1.19  root      190: 
1.1.1.22  root      191: if as_func_ret_success; then
                    192:   :
                    193: else
                    194:   exitcode=1
                    195:   echo as_func_ret_success failed.
                    196: fi
1.1.1.19  root      197: 
1.1.1.22  root      198: if as_func_ret_failure; then
                    199:   exitcode=1
                    200:   echo as_func_ret_failure succeeded.
                    201: fi
                    202: 
                    203: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
                    204:   :
                    205: else
                    206:   exitcode=1
                    207:   echo positional parameters were not saved.
                    208: fi
                    209: 
                    210: test \$exitcode = 0) || { (exit 1); exit 1; }
                    211: 
                    212: (
                    213:   as_lineno_1=\$LINENO
                    214:   as_lineno_2=\$LINENO
                    215:   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
                    216:   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
                    217: ") 2> /dev/null; then
                    218:   :
                    219: else
                    220:   as_candidate_shells=
1.1.1.19  root      221:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    222: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    223: do
                    224:   IFS=$as_save_IFS
                    225:   test -z "$as_dir" && as_dir=.
1.1.1.22  root      226:   case $as_dir in
1.1.1.19  root      227:         /*)
1.1.1.22  root      228:           for as_base in sh bash ksh sh5; do
                    229:             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
                    230:           done;;
                    231:        esac
                    232: done
                    233: IFS=$as_save_IFS
                    234: 
                    235: 
                    236:       for as_shell in $as_candidate_shells $SHELL; do
                    237:         # Try only shells that exist, to save several forks.
                    238:         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    239:                { ("$as_shell") 2> /dev/null <<\_ASEOF
                    240: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                    241:   emulate sh
                    242:   NULLCMD=:
                    243:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                    244:   # is contrary to our usage.  Disable this feature.
                    245:   alias -g '${1+"$@"}'='"$@"'
                    246:   setopt NO_GLOB_SUBST
                    247: else
                    248:   case `(set -o) 2>/dev/null` in
                    249:   *posix*) set -o posix ;;
                    250: esac
                    251: 
                    252: fi
                    253: 
                    254: 
                    255: :
                    256: _ASEOF
                    257: }; then
                    258:   CONFIG_SHELL=$as_shell
                    259:               as_have_required=yes
                    260:               if { "$as_shell" 2> /dev/null <<\_ASEOF
                    261: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                    262:   emulate sh
                    263:   NULLCMD=:
                    264:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                    265:   # is contrary to our usage.  Disable this feature.
                    266:   alias -g '${1+"$@"}'='"$@"'
                    267:   setopt NO_GLOB_SUBST
                    268: else
                    269:   case `(set -o) 2>/dev/null` in
                    270:   *posix*) set -o posix ;;
                    271: esac
                    272: 
                    273: fi
                    274: 
                    275: 
                    276: :
                    277: (as_func_return () {
                    278:   (exit $1)
                    279: }
                    280: as_func_success () {
                    281:   as_func_return 0
                    282: }
                    283: as_func_failure () {
                    284:   as_func_return 1
                    285: }
                    286: as_func_ret_success () {
                    287:   return 0
                    288: }
                    289: as_func_ret_failure () {
                    290:   return 1
                    291: }
                    292: 
                    293: exitcode=0
                    294: if as_func_success; then
                    295:   :
                    296: else
                    297:   exitcode=1
                    298:   echo as_func_success failed.
                    299: fi
                    300: 
                    301: if as_func_failure; then
                    302:   exitcode=1
                    303:   echo as_func_failure succeeded.
                    304: fi
                    305: 
                    306: if as_func_ret_success; then
                    307:   :
                    308: else
                    309:   exitcode=1
                    310:   echo as_func_ret_success failed.
                    311: fi
                    312: 
                    313: if as_func_ret_failure; then
                    314:   exitcode=1
                    315:   echo as_func_ret_failure succeeded.
                    316: fi
                    317: 
                    318: if ( set x; as_func_ret_success y && test x = "$1" ); then
                    319:   :
                    320: else
                    321:   exitcode=1
                    322:   echo positional parameters were not saved.
                    323: fi
                    324: 
                    325: test $exitcode = 0) || { (exit 1); exit 1; }
                    326: 
                    327: (
1.1.1.19  root      328:   as_lineno_1=$LINENO
                    329:   as_lineno_2=$LINENO
                    330:   test "x$as_lineno_1" != "x$as_lineno_2" &&
1.1.1.22  root      331:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
                    332: 
                    333: _ASEOF
                    334: }; then
                    335:   break
                    336: fi
                    337: 
                    338: fi
                    339: 
                    340:       done
                    341: 
                    342:       if test "x$CONFIG_SHELL" != x; then
                    343:   for as_var in BASH_ENV ENV
                    344:         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
                    345:         done
                    346:         export CONFIG_SHELL
                    347:         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
                    348: fi
                    349: 
                    350: 
                    351:     if test $as_have_required = no; then
                    352:   echo This script requires a shell more modern than all the
                    353:       echo shells that I found on your system.  Please install a
                    354:       echo modern shell, or manually run the script under such a
                    355:       echo shell if you do have one.
                    356:       { (exit 1); exit 1; }
                    357: fi
                    358: 
                    359: 
                    360: fi
                    361: 
                    362: fi
                    363: 
                    364: 
                    365: 
                    366: (eval "as_func_return () {
                    367:   (exit \$1)
                    368: }
                    369: as_func_success () {
                    370:   as_func_return 0
                    371: }
                    372: as_func_failure () {
                    373:   as_func_return 1
                    374: }
                    375: as_func_ret_success () {
                    376:   return 0
                    377: }
                    378: as_func_ret_failure () {
                    379:   return 1
                    380: }
                    381: 
                    382: exitcode=0
                    383: if as_func_success; then
                    384:   :
                    385: else
                    386:   exitcode=1
                    387:   echo as_func_success failed.
                    388: fi
                    389: 
                    390: if as_func_failure; then
                    391:   exitcode=1
                    392:   echo as_func_failure succeeded.
                    393: fi
                    394: 
                    395: if as_func_ret_success; then
                    396:   :
                    397: else
                    398:   exitcode=1
                    399:   echo as_func_ret_success failed.
                    400: fi
                    401: 
                    402: if as_func_ret_failure; then
                    403:   exitcode=1
                    404:   echo as_func_ret_failure succeeded.
                    405: fi
                    406: 
                    407: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
                    408:   :
                    409: else
                    410:   exitcode=1
                    411:   echo positional parameters were not saved.
                    412: fi
                    413: 
                    414: test \$exitcode = 0") || {
                    415:   echo No shell found that supports shell functions.
                    416:   echo Please tell [email protected] about your system,
                    417:   echo including any error possibly output before this
                    418:   echo message
                    419: }
                    420: 
                    421: 
                    422: 
                    423:   as_lineno_1=$LINENO
                    424:   as_lineno_2=$LINENO
                    425:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    426:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1.1.19  root      427: 
                    428:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    429:   # uniformly replaced by the line number.  The first 'sed' inserts a
1.1.1.22  root      430:   # line-number line after each line using $LINENO; the second 'sed'
                    431:   # does the real work.  The second script uses 'N' to pair each
                    432:   # line-number line with the line containing $LINENO, and appends
                    433:   # trailing '-' during substitution so that $LINENO is not a special
                    434:   # case at line end.
1.1.1.19  root      435:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.1.1.22  root      436:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
                    437:   # E. McMahon (1931-1989) for sed's syntax.  :-)
                    438:   sed -n '
                    439:     p
                    440:     /[$]LINENO/=
                    441:   ' <$as_myself |
1.1.1.19  root      442:     sed '
1.1.1.22  root      443:       s/[$]LINENO.*/&-/
                    444:       t lineno
                    445:       b
                    446:       :lineno
1.1.1.19  root      447:       N
1.1.1.22  root      448:       :loop
                    449:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1.1.19  root      450:       t loop
1.1.1.22  root      451:       s/-\n.*//
1.1.1.19  root      452:     ' >$as_me.lineno &&
1.1.1.22  root      453:   chmod +x "$as_me.lineno" ||
1.1.1.19  root      454:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    455:    { (exit 1); exit 1; }; }
                    456: 
                    457:   # Don't try to exec as it changes $[0], causing all sort of problems
                    458:   # (the dirname of $[0] is not the place where we might find the
1.1.1.22  root      459:   # original and so on.  Autoconf is especially sensitive to this).
                    460:   . "./$as_me.lineno"
1.1.1.19  root      461:   # Exit status is that of the last command.
                    462:   exit
                    463: }
                    464: 
                    465: 
1.1.1.22  root      466: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    467:   as_dirname=dirname
                    468: else
                    469:   as_dirname=false
                    470: fi
                    471: 
                    472: ECHO_C= ECHO_N= ECHO_T=
                    473: case `echo -n x` in
                    474: -n*)
                    475:   case `echo 'x\c'` in
                    476:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    477:   *)   ECHO_C='\c';;
                    478:   esac;;
                    479: *)
                    480:   ECHO_N='-n';;
1.1.1.19  root      481: esac
1.1       root      482: 
1.1.1.22  root      483: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    484:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1.1.19  root      485:   as_expr=expr
                    486: else
                    487:   as_expr=false
                    488: fi
                    489: 
                    490: rm -f conf$$ conf$$.exe conf$$.file
1.1.1.22  root      491: if test -d conf$$.dir; then
                    492:   rm -f conf$$.dir/conf$$.file
                    493: else
                    494:   rm -f conf$$.dir
                    495:   mkdir conf$$.dir
                    496: fi
1.1.1.19  root      497: echo >conf$$.file
                    498: if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1.1.22  root      499:   as_ln_s='ln -s'
                    500:   # ... but there are two gotchas:
                    501:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    502:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    503:   # In both cases, we have to default to `cp -p'.
                    504:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.19  root      505:     as_ln_s='cp -p'
                    506: elif ln conf$$.file conf$$ 2>/dev/null; then
                    507:   as_ln_s=ln
                    508: else
                    509:   as_ln_s='cp -p'
                    510: fi
1.1.1.22  root      511: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    512: rmdir conf$$.dir 2>/dev/null
1.1.1.19  root      513: 
                    514: if mkdir -p . 2>/dev/null; then
                    515:   as_mkdir_p=:
                    516: else
                    517:   test -d ./-p && rmdir ./-p
                    518:   as_mkdir_p=false
                    519: fi
                    520: 
1.1.1.22  root      521: if test -x / >/dev/null 2>&1; then
                    522:   as_test_x='test -x'
                    523: else
                    524:   if ls -dL / >/dev/null 2>&1; then
                    525:     as_ls_L_option=L
                    526:   else
                    527:     as_ls_L_option=
                    528:   fi
                    529:   as_test_x='
                    530:     eval sh -c '\''
                    531:       if test -d "$1"; then
                    532:         test -d "$1/.";
                    533:       else
                    534:        case $1 in
                    535:         -*)set "./$1";;
                    536:        esac;
                    537:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
                    538:        ???[sx]*):;;*)false;;esac;fi
                    539:     '\'' sh
                    540:   '
                    541: fi
                    542: as_executable_p=$as_test_x
1.1.1.19  root      543: 
                    544: # Sed expression to map a string onto a valid CPP name.
                    545: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    546: 
                    547: # Sed expression to map a string onto a valid variable name.
                    548: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    549: 
                    550: 
                    551: 
1.1.1.22  root      552: exec 7<&0 </dev/null 6>&1
1.1.1.19  root      553: 
                    554: # Name of the host.
                    555: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    556: # so uname gets run too.
                    557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    558: 
                    559: #
                    560: # Initializations.
                    561: #
1.1       root      562: ac_default_prefix=/usr/local
1.1.1.22  root      563: ac_clean_files=
1.1.1.19  root      564: ac_config_libobj_dir=.
1.1.1.22  root      565: LIBOBJS=
1.1.1.19  root      566: cross_compiling=no
                    567: subdirs=
                    568: MFLAGS=
                    569: MAKEFLAGS=
                    570: SHELL=${CONFIG_SHELL-/bin/sh}
                    571: 
                    572: # Identity of this package.
1.1.1.22  root      573: PACKAGE_NAME='UAE'
                    574: PACKAGE_TARNAME='uae'
1.1.1.23! root      575: PACKAGE_VERSION='0.8.27'
        !           576: PACKAGE_STRING='UAE 0.8.27'
1.1.1.22  root      577: PACKAGE_BUGREPORT=''
1.1.1.19  root      578: 
                    579: ac_unique_file="amiga/source/transdisk.c"
                    580: # Factoring default headers for most tests.
                    581: ac_includes_default="\
                    582: #include <stdio.h>
1.1.1.22  root      583: #ifdef HAVE_SYS_TYPES_H
1.1.1.19  root      584: # include <sys/types.h>
                    585: #endif
1.1.1.22  root      586: #ifdef HAVE_SYS_STAT_H
1.1.1.19  root      587: # include <sys/stat.h>
                    588: #endif
1.1.1.22  root      589: #ifdef STDC_HEADERS
1.1.1.19  root      590: # include <stdlib.h>
                    591: # include <stddef.h>
                    592: #else
1.1.1.22  root      593: # ifdef HAVE_STDLIB_H
1.1.1.19  root      594: #  include <stdlib.h>
                    595: # endif
                    596: #endif
1.1.1.22  root      597: #ifdef HAVE_STRING_H
                    598: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1.1.19  root      599: #  include <memory.h>
                    600: # endif
                    601: # include <string.h>
                    602: #endif
1.1.1.22  root      603: #ifdef HAVE_STRINGS_H
1.1.1.19  root      604: # include <strings.h>
                    605: #endif
1.1.1.22  root      606: #ifdef HAVE_INTTYPES_H
1.1.1.19  root      607: # include <inttypes.h>
                    608: #endif
1.1.1.22  root      609: #ifdef HAVE_STDINT_H
                    610: # include <stdint.h>
                    611: #endif
                    612: #ifdef HAVE_UNISTD_H
1.1.1.19  root      613: # include <unistd.h>
                    614: #endif"
                    615: 
1.1.1.22  root      616: ac_header_list=
                    617: ac_subst_vars='SHELL
                    618: PATH_SEPARATOR
                    619: PACKAGE_NAME
                    620: PACKAGE_TARNAME
                    621: PACKAGE_VERSION
                    622: PACKAGE_STRING
                    623: PACKAGE_BUGREPORT
                    624: exec_prefix
                    625: prefix
                    626: program_transform_name
                    627: bindir
                    628: sbindir
                    629: libexecdir
                    630: datarootdir
                    631: datadir
                    632: sysconfdir
                    633: sharedstatedir
                    634: localstatedir
                    635: includedir
                    636: oldincludedir
                    637: docdir
                    638: infodir
                    639: htmldir
                    640: dvidir
                    641: pdfdir
                    642: psdir
                    643: libdir
                    644: localedir
                    645: mandir
                    646: DEFS
                    647: ECHO_C
                    648: ECHO_N
                    649: ECHO_T
                    650: LIBS
                    651: build_alias
                    652: host_alias
                    653: target_alias
                    654: CC
                    655: CFLAGS
                    656: LDFLAGS
                    657: CPPFLAGS
                    658: ac_ct_CC
                    659: EXEEXT
                    660: OBJEXT
                    661: CPP
1.1.1.23! root      662: INSTALL_PROGRAM
        !           663: INSTALL_SCRIPT
        !           664: INSTALL_DATA
1.1.1.22  root      665: SET_MAKE
                    666: MAKEDEPPRG
                    667: FILEPRG
                    668: WRCPRG
                    669: RCLPRG
                    670: SDL_CONFIG
                    671: GREP
                    672: EGREP
                    673: build
                    674: build_cpu
                    675: build_vendor
                    676: build_os
                    677: host
                    678: host_cpu
                    679: host_vendor
                    680: host_os
                    681: XMKMF
                    682: X_CFLAGS
                    683: X_PRE_LIBS
                    684: X_LIBS
                    685: X_EXTRA_LIBS
                    686: LIBOBJS
                    687: PKG_CONFIG
                    688: GTK_CFLAGS
                    689: GTK_LIBS
                    690: ac_cv_c_inline
                    691: NO_SCHED_CFLAGS
                    692: NO_REORDER_CFLAGS
                    693: LIBRARIES
                    694: TARGET
                    695: GFXOBJS
1.1.1.23! root      696: GUIOBJS
1.1.1.22  root      697: RESOBJS
                    698: ASMOBJS
                    699: SCSIOBJS
                    700: CPUOBJS
                    701: DEBUGOBJS
                    702: FSDBOBJS
                    703: MATHLIB
                    704: SHM_SUPPORT_LINKS
                    705: top_srcdir
                    706: LTLIBOBJS'
1.1.1.19  root      707: ac_subst_files=''
1.1.1.22  root      708:       ac_precious_vars='build_alias
                    709: host_alias
                    710: target_alias
                    711: CC
                    712: CFLAGS
                    713: LDFLAGS
                    714: LIBS
                    715: CPPFLAGS
                    716: CPP
                    717: XMKMF'
                    718: 
1.1       root      719: 
                    720: # Initialize some variables set by options.
1.1.1.19  root      721: ac_init_help=
                    722: ac_init_version=false
1.1       root      723: # The variables have the same names as the options, with
                    724: # dashes changed to underlines.
1.1.1.19  root      725: cache_file=/dev/null
1.1       root      726: exec_prefix=NONE
                    727: no_create=
                    728: no_recursion=
                    729: prefix=NONE
                    730: program_prefix=NONE
                    731: program_suffix=NONE
                    732: program_transform_name=s,x,x,
                    733: silent=
                    734: site=
                    735: srcdir=
                    736: verbose=
                    737: x_includes=NONE
                    738: x_libraries=NONE
1.1.1.19  root      739: 
                    740: # Installation directory options.
                    741: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    742: # and all the variables that are supposed to be based on exec_prefix
                    743: # by default will actually change.
                    744: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1.1.22  root      745: # (The list follows the same order as the GNU Coding Standards.)
1.1       root      746: bindir='${exec_prefix}/bin'
                    747: sbindir='${exec_prefix}/sbin'
                    748: libexecdir='${exec_prefix}/libexec'
1.1.1.22  root      749: datarootdir='${prefix}/share'
                    750: datadir='${datarootdir}'
1.1       root      751: sysconfdir='${prefix}/etc'
                    752: sharedstatedir='${prefix}/com'
                    753: localstatedir='${prefix}/var'
                    754: includedir='${prefix}/include'
                    755: oldincludedir='/usr/include'
1.1.1.22  root      756: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    757: infodir='${datarootdir}/info'
                    758: htmldir='${docdir}'
                    759: dvidir='${docdir}'
                    760: pdfdir='${docdir}'
                    761: psdir='${docdir}'
                    762: libdir='${exec_prefix}/lib'
                    763: localedir='${datarootdir}/locale'
                    764: mandir='${datarootdir}/man'
1.1       root      765: 
                    766: ac_prev=
1.1.1.22  root      767: ac_dashdash=
1.1       root      768: for ac_option
                    769: do
                    770:   # If the previous option needs an argument, assign it.
                    771:   if test -n "$ac_prev"; then
1.1.1.22  root      772:     eval $ac_prev=\$ac_option
1.1       root      773:     ac_prev=
                    774:     continue
                    775:   fi
                    776: 
1.1.1.22  root      777:   case $ac_option in
                    778:   *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    779:   *)   ac_optarg=yes ;;
                    780:   esac
1.1       root      781: 
                    782:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    783: 
1.1.1.22  root      784:   case $ac_dashdash$ac_option in
                    785:   --)
                    786:     ac_dashdash=yes ;;
1.1       root      787: 
                    788:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    789:     ac_prev=bindir ;;
                    790:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1.1.19  root      791:     bindir=$ac_optarg ;;
1.1       root      792: 
                    793:   -build | --build | --buil | --bui | --bu)
1.1.1.19  root      794:     ac_prev=build_alias ;;
1.1       root      795:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1.1.19  root      796:     build_alias=$ac_optarg ;;
1.1       root      797: 
                    798:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    799:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    800:     ac_prev=cache_file ;;
                    801:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    802:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1.1.19  root      803:     cache_file=$ac_optarg ;;
                    804: 
                    805:   --config-cache | -C)
                    806:     cache_file=config.cache ;;
1.1       root      807: 
1.1.1.22  root      808:   -datadir | --datadir | --datadi | --datad)
1.1       root      809:     ac_prev=datadir ;;
1.1.1.22  root      810:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1.1.19  root      811:     datadir=$ac_optarg ;;
1.1       root      812: 
1.1.1.22  root      813:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    814:   | --dataroo | --dataro | --datar)
                    815:     ac_prev=datarootdir ;;
                    816:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    817:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    818:     datarootdir=$ac_optarg ;;
                    819: 
1.1       root      820:   -disable-* | --disable-*)
1.1.1.19  root      821:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       root      822:     # Reject names that are not valid shell variable names.
1.1.1.22  root      823:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.19  root      824:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    825:    { (exit 1); exit 1; }; }
1.1.1.22  root      826:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
                    827:     eval enable_$ac_feature=no ;;
                    828: 
                    829:   -docdir | --docdir | --docdi | --doc | --do)
                    830:     ac_prev=docdir ;;
                    831:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    832:     docdir=$ac_optarg ;;
                    833: 
                    834:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    835:     ac_prev=dvidir ;;
                    836:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    837:     dvidir=$ac_optarg ;;
1.1       root      838: 
                    839:   -enable-* | --enable-*)
1.1.1.19  root      840:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       root      841:     # Reject names that are not valid shell variable names.
1.1.1.22  root      842:     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.19  root      843:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    844:    { (exit 1); exit 1; }; }
1.1.1.22  root      845:     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
                    846:     eval enable_$ac_feature=\$ac_optarg ;;
1.1       root      847: 
                    848:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    849:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    850:   | --exec | --exe | --ex)
                    851:     ac_prev=exec_prefix ;;
                    852:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    853:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    854:   | --exec=* | --exe=* | --ex=*)
1.1.1.19  root      855:     exec_prefix=$ac_optarg ;;
1.1       root      856: 
                    857:   -gas | --gas | --ga | --g)
                    858:     # Obsolete; use --with-gas.
                    859:     with_gas=yes ;;
                    860: 
1.1.1.19  root      861:   -help | --help | --hel | --he | -h)
                    862:     ac_init_help=long ;;
                    863:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    864:     ac_init_help=recursive ;;
                    865:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    866:     ac_init_help=short ;;
1.1       root      867: 
                    868:   -host | --host | --hos | --ho)
1.1.1.19  root      869:     ac_prev=host_alias ;;
1.1       root      870:   -host=* | --host=* | --hos=* | --ho=*)
1.1.1.19  root      871:     host_alias=$ac_optarg ;;
1.1       root      872: 
1.1.1.22  root      873:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    874:     ac_prev=htmldir ;;
                    875:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    876:   | --ht=*)
                    877:     htmldir=$ac_optarg ;;
                    878: 
1.1       root      879:   -includedir | --includedir | --includedi | --included | --include \
                    880:   | --includ | --inclu | --incl | --inc)
                    881:     ac_prev=includedir ;;
                    882:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    883:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1.1.19  root      884:     includedir=$ac_optarg ;;
1.1       root      885: 
                    886:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    887:     ac_prev=infodir ;;
                    888:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1.1.19  root      889:     infodir=$ac_optarg ;;
1.1       root      890: 
                    891:   -libdir | --libdir | --libdi | --libd)
                    892:     ac_prev=libdir ;;
                    893:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1.1.19  root      894:     libdir=$ac_optarg ;;
1.1       root      895: 
                    896:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    897:   | --libexe | --libex | --libe)
                    898:     ac_prev=libexecdir ;;
                    899:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    900:   | --libexe=* | --libex=* | --libe=*)
1.1.1.19  root      901:     libexecdir=$ac_optarg ;;
1.1       root      902: 
1.1.1.22  root      903:   -localedir | --localedir | --localedi | --localed | --locale)
                    904:     ac_prev=localedir ;;
                    905:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    906:     localedir=$ac_optarg ;;
                    907: 
1.1       root      908:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.1.22  root      909:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       root      910:     ac_prev=localstatedir ;;
                    911:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.1.22  root      912:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1.1.19  root      913:     localstatedir=$ac_optarg ;;
1.1       root      914: 
                    915:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    916:     ac_prev=mandir ;;
                    917:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1.1.19  root      918:     mandir=$ac_optarg ;;
1.1       root      919: 
                    920:   -nfp | --nfp | --nf)
                    921:     # Obsolete; use --without-fp.
                    922:     with_fp=no ;;
                    923: 
                    924:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1.1.19  root      925:   | --no-cr | --no-c | -n)
1.1       root      926:     no_create=yes ;;
                    927: 
                    928:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    929:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    930:     no_recursion=yes ;;
                    931: 
                    932:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    933:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    934:   | --oldin | --oldi | --old | --ol | --o)
                    935:     ac_prev=oldincludedir ;;
                    936:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    937:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    938:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1.1.19  root      939:     oldincludedir=$ac_optarg ;;
1.1       root      940: 
                    941:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    942:     ac_prev=prefix ;;
                    943:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1.1.19  root      944:     prefix=$ac_optarg ;;
1.1       root      945: 
                    946:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    947:   | --program-pre | --program-pr | --program-p)
                    948:     ac_prev=program_prefix ;;
                    949:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    950:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1.1.19  root      951:     program_prefix=$ac_optarg ;;
1.1       root      952: 
                    953:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    954:   | --program-suf | --program-su | --program-s)
                    955:     ac_prev=program_suffix ;;
                    956:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    957:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1.1.19  root      958:     program_suffix=$ac_optarg ;;
1.1       root      959: 
                    960:   -program-transform-name | --program-transform-name \
                    961:   | --program-transform-nam | --program-transform-na \
                    962:   | --program-transform-n | --program-transform- \
                    963:   | --program-transform | --program-transfor \
                    964:   | --program-transfo | --program-transf \
                    965:   | --program-trans | --program-tran \
                    966:   | --progr-tra | --program-tr | --program-t)
                    967:     ac_prev=program_transform_name ;;
                    968:   -program-transform-name=* | --program-transform-name=* \
                    969:   | --program-transform-nam=* | --program-transform-na=* \
                    970:   | --program-transform-n=* | --program-transform-=* \
                    971:   | --program-transform=* | --program-transfor=* \
                    972:   | --program-transfo=* | --program-transf=* \
                    973:   | --program-trans=* | --program-tran=* \
                    974:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.1.1.19  root      975:     program_transform_name=$ac_optarg ;;
1.1       root      976: 
1.1.1.22  root      977:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                    978:     ac_prev=pdfdir ;;
                    979:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                    980:     pdfdir=$ac_optarg ;;
                    981: 
                    982:   -psdir | --psdir | --psdi | --psd | --ps)
                    983:     ac_prev=psdir ;;
                    984:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                    985:     psdir=$ac_optarg ;;
                    986: 
1.1       root      987:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    988:   | -silent | --silent | --silen | --sile | --sil)
                    989:     silent=yes ;;
                    990: 
                    991:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    992:     ac_prev=sbindir ;;
                    993:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    994:   | --sbi=* | --sb=*)
1.1.1.19  root      995:     sbindir=$ac_optarg ;;
1.1       root      996: 
                    997:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    998:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    999:   | --sharedst | --shareds | --shared | --share | --shar \
                   1000:   | --sha | --sh)
                   1001:     ac_prev=sharedstatedir ;;
                   1002:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1003:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1004:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1005:   | --sha=* | --sh=*)
1.1.1.19  root     1006:     sharedstatedir=$ac_optarg ;;
1.1       root     1007: 
                   1008:   -site | --site | --sit)
                   1009:     ac_prev=site ;;
                   1010:   -site=* | --site=* | --sit=*)
1.1.1.19  root     1011:     site=$ac_optarg ;;
1.1       root     1012: 
                   1013:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1014:     ac_prev=srcdir ;;
                   1015:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1.1.19  root     1016:     srcdir=$ac_optarg ;;
1.1       root     1017: 
                   1018:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1019:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1020:     ac_prev=sysconfdir ;;
                   1021:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1022:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1.1.19  root     1023:     sysconfdir=$ac_optarg ;;
1.1       root     1024: 
                   1025:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.1.1.19  root     1026:     ac_prev=target_alias ;;
1.1       root     1027:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1.1.19  root     1028:     target_alias=$ac_optarg ;;
1.1       root     1029: 
                   1030:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1031:     verbose=yes ;;
                   1032: 
1.1.1.19  root     1033:   -version | --version | --versio | --versi | --vers | -V)
                   1034:     ac_init_version=: ;;
1.1       root     1035: 
                   1036:   -with-* | --with-*)
1.1.1.19  root     1037:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       root     1038:     # Reject names that are not valid shell variable names.
1.1.1.22  root     1039:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.19  root     1040:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                   1041:    { (exit 1); exit 1; }; }
1.1.1.22  root     1042:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
                   1043:     eval with_$ac_package=\$ac_optarg ;;
1.1       root     1044: 
                   1045:   -without-* | --without-*)
1.1.1.19  root     1046:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       root     1047:     # Reject names that are not valid shell variable names.
1.1.1.22  root     1048:     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.19  root     1049:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                   1050:    { (exit 1); exit 1; }; }
1.1.1.22  root     1051:     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
                   1052:     eval with_$ac_package=no ;;
1.1       root     1053: 
                   1054:   --x)
                   1055:     # Obsolete; use --with-x.
                   1056:     with_x=yes ;;
                   1057: 
                   1058:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1059:   | --x-incl | --x-inc | --x-in | --x-i)
                   1060:     ac_prev=x_includes ;;
                   1061:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1062:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1.1.19  root     1063:     x_includes=$ac_optarg ;;
1.1       root     1064: 
                   1065:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1066:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1067:     ac_prev=x_libraries ;;
                   1068:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1069:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1.1.19  root     1070:     x_libraries=$ac_optarg ;;
1.1       root     1071: 
1.1.1.19  root     1072:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                   1073: Try \`$0 --help' for more information." >&2
                   1074:    { (exit 1); exit 1; }; }
1.1       root     1075:     ;;
                   1076: 
1.1.1.19  root     1077:   *=*)
                   1078:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1079:     # Reject names that are not valid shell variable names.
                   1080:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                   1081:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                   1082:    { (exit 1); exit 1; }; }
1.1.1.22  root     1083:     eval $ac_envvar=\$ac_optarg
1.1.1.19  root     1084:     export $ac_envvar ;;
                   1085: 
1.1       root     1086:   *)
1.1.1.19  root     1087:     # FIXME: should be removed in autoconf 3.0.
                   1088:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1089:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1090:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1091:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       root     1092:     ;;
                   1093: 
                   1094:   esac
                   1095: done
                   1096: 
                   1097: if test -n "$ac_prev"; then
1.1.1.19  root     1098:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1099:   { echo "$as_me: error: missing argument to $ac_option" >&2
                   1100:    { (exit 1); exit 1; }; }
1.1       root     1101: fi
                   1102: 
1.1.1.22  root     1103: # Be sure to have absolute directory names.
                   1104: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1105:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1106:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1107:                libdir localedir mandir
1.1       root     1108: do
1.1.1.22  root     1109:   eval ac_val=\$$ac_var
1.1.1.19  root     1110:   case $ac_val in
1.1.1.22  root     1111:     [\\/$]* | ?:[\\/]* )  continue;;
                   1112:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       root     1113:   esac
1.1.1.22  root     1114:   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                   1115:    { (exit 1); exit 1; }; }
1.1       root     1116: done
                   1117: 
1.1.1.19  root     1118: # There might be people who depend on the old broken behavior: `$host'
                   1119: # used to hold the argument of --host etc.
                   1120: # FIXME: To remove some day.
                   1121: build=$build_alias
                   1122: host=$host_alias
                   1123: target=$target_alias
                   1124: 
                   1125: # FIXME: To remove some day.
                   1126: if test "x$host_alias" != x; then
                   1127:   if test "x$build_alias" = x; then
                   1128:     cross_compiling=maybe
                   1129:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                   1130:     If a cross compiler is detected then cross compile mode will be used." >&2
                   1131:   elif test "x$build_alias" != "x$host_alias"; then
                   1132:     cross_compiling=yes
                   1133:   fi
                   1134: fi
1.1       root     1135: 
1.1.1.19  root     1136: ac_tool_prefix=
                   1137: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1138: 
                   1139: test "$silent" = yes && exec 6>/dev/null
1.1       root     1140: 
                   1141: 
1.1.1.22  root     1142: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1143: ac_ls_di=`ls -di .` &&
                   1144: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1145:   { echo "$as_me: error: Working directory cannot be determined" >&2
                   1146:    { (exit 1); exit 1; }; }
                   1147: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1148:   { echo "$as_me: error: pwd does not report name of working directory" >&2
                   1149:    { (exit 1); exit 1; }; }
                   1150: 
                   1151: 
1.1       root     1152: # Find the source files, if location was not specified.
                   1153: if test -z "$srcdir"; then
                   1154:   ac_srcdir_defaulted=yes
1.1.1.22  root     1155:   # Try the directory containing this script, then the parent directory.
                   1156:   ac_confdir=`$as_dirname -- "$0" ||
1.1.1.19  root     1157: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1158:         X"$0" : 'X\(//\)[^/]' \| \
                   1159:         X"$0" : 'X\(//\)$' \| \
1.1.1.22  root     1160:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.19  root     1161: echo X"$0" |
1.1.1.22  root     1162:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1163:            s//\1/
                   1164:            q
                   1165:          }
                   1166:          /^X\(\/\/\)[^/].*/{
                   1167:            s//\1/
                   1168:            q
                   1169:          }
                   1170:          /^X\(\/\/\)$/{
                   1171:            s//\1/
                   1172:            q
                   1173:          }
                   1174:          /^X\(\/\).*/{
                   1175:            s//\1/
                   1176:            q
                   1177:          }
                   1178:          s/.*/./; q'`
1.1       root     1179:   srcdir=$ac_confdir
1.1.1.22  root     1180:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       root     1181:     srcdir=..
                   1182:   fi
                   1183: else
                   1184:   ac_srcdir_defaulted=no
                   1185: fi
1.1.1.22  root     1186: if test ! -r "$srcdir/$ac_unique_file"; then
                   1187:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1188:   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                   1189:    { (exit 1); exit 1; }; }
                   1190: fi
                   1191: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1192: ac_abs_confdir=`(
                   1193:        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
                   1194:    { (exit 1); exit 1; }; }
                   1195:        pwd)`
                   1196: # When building in place, set srcdir=.
                   1197: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1198:   srcdir=.
                   1199: fi
                   1200: # Remove unnecessary trailing slashes from srcdir.
                   1201: # Double slashes in file names in object file debugging info
                   1202: # mess up M-x gdb in Emacs.
                   1203: case $srcdir in
                   1204: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1205: esac
                   1206: for ac_var in $ac_precious_vars; do
                   1207:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1208:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1209:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1210:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1211: done
1.1.1.19  root     1212: 
                   1213: #
                   1214: # Report the --help message.
                   1215: #
                   1216: if test "$ac_init_help" = "long"; then
                   1217:   # Omit some internal or obsolete options to make the list less imposing.
                   1218:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1219:   cat <<_ACEOF
1.1.1.23! root     1220: \`configure' configures UAE 0.8.27 to adapt to many kinds of systems.
1.1.1.19  root     1221: 
                   1222: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1223: 
                   1224: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1225: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1226: 
                   1227: Defaults for the options are specified in brackets.
                   1228: 
                   1229: Configuration:
                   1230:   -h, --help              display this help and exit
                   1231:       --help=short        display options specific to this package
                   1232:       --help=recursive    display the short help of all the included packages
                   1233:   -V, --version           display version information and exit
                   1234:   -q, --quiet, --silent   do not print \`checking...' messages
                   1235:       --cache-file=FILE   cache test results in FILE [disabled]
                   1236:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1237:   -n, --no-create         do not create output files
                   1238:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1239: 
                   1240: Installation directories:
                   1241:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1242:                          [$ac_default_prefix]
                   1243:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1244:                          [PREFIX]
                   1245: 
                   1246: By default, \`make install' will install all the files in
                   1247: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1248: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1249: for instance \`--prefix=\$HOME'.
                   1250: 
                   1251: For better control, use the options below.
                   1252: 
                   1253: Fine tuning of the installation directories:
                   1254:   --bindir=DIR           user executables [EPREFIX/bin]
                   1255:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                   1256:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                   1257:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                   1258:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                   1259:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                   1260:   --libdir=DIR           object code libraries [EPREFIX/lib]
                   1261:   --includedir=DIR       C header files [PREFIX/include]
                   1262:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1.1.1.22  root     1263:   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
                   1264:   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
                   1265:   --infodir=DIR          info documentation [DATAROOTDIR/info]
                   1266:   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
                   1267:   --mandir=DIR           man documentation [DATAROOTDIR/man]
                   1268:   --docdir=DIR           documentation root [DATAROOTDIR/doc/uae]
                   1269:   --htmldir=DIR          html documentation [DOCDIR]
                   1270:   --dvidir=DIR           dvi documentation [DOCDIR]
                   1271:   --pdfdir=DIR           pdf documentation [DOCDIR]
                   1272:   --psdir=DIR            ps documentation [DOCDIR]
1.1.1.19  root     1273: _ACEOF
                   1274: 
                   1275:   cat <<\_ACEOF
                   1276: 
                   1277: X features:
                   1278:   --x-includes=DIR    X include files are in DIR
                   1279:   --x-libraries=DIR   X library files are in DIR
                   1280: 
                   1281: System types:
                   1282:   --build=BUILD     configure for building on BUILD [guessed]
                   1283:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1284: _ACEOF
                   1285: fi
                   1286: 
                   1287: if test -n "$ac_init_help"; then
1.1.1.22  root     1288:   case $ac_init_help in
1.1.1.23! root     1289:      short | recursive ) echo "Configuration of UAE 0.8.27:";;
1.1.1.22  root     1290:    esac
1.1.1.19  root     1291:   cat <<\_ACEOF
                   1292: 
                   1293: Optional Features:
                   1294:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1295:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1296:   --enable-profiling      Build a profiling (SLOW!) version
                   1297:   --enable-dga            X11 version: Use the DGA extension
                   1298:   --enable-vidmode        X11 version: Use the XF86VidMode extension
                   1299:   --enable-ui             Use a user interface if possible (default on)
1.1.1.20  root     1300:   --disable-gtktest       do not try to compile and run a test GTK+ program
1.1.1.19  root     1301:   --enable-threads        Enable some generally useful thread support
                   1302:   --enable-file-sound     Enable sound output to file
                   1303:   --enable-scsi-device    Enable the uaescsi.device
                   1304: 
                   1305: Optional Packages:
                   1306:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1307:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1308:   --with-x                use the X Window System
                   1309:   --with-svgalib          Use SVGAlib for graphics output
                   1310:   --with-sdl              Use SDL library for low-level functions
                   1311:   --with-sdl-sound        Use SDL library for sound
                   1312:   --with-sdl-gfx          Use SDL library for graphics
1.1.1.23! root     1313:   --with-oss-sound        Use OSS interface sound (default)
1.1.1.19  root     1314:   --with-alsa             Use ALSA library for sound
                   1315:   --with-asciiart         Use ncurses ascii art for graphics output
                   1316:   --with-hostcc=x         Use a x as compiler for the host system
                   1317: 
                   1318: Some influential environment variables:
                   1319:   CC          C compiler command
                   1320:   CFLAGS      C compiler flags
                   1321:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1322:               nonstandard directory <lib dir>
1.1.1.22  root     1323:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1324:   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
                   1325:               you have headers in a nonstandard directory <include dir>
1.1.1.19  root     1326:   CPP         C preprocessor
1.1.1.22  root     1327:   XMKMF       Path to xmkmf, Makefile generator for X Window System
1.1.1.19  root     1328: 
                   1329: Use these variables to override the choices made by `configure' or to help
                   1330: it to find libraries and programs with nonstandard names/locations.
                   1331: 
                   1332: _ACEOF
1.1.1.22  root     1333: ac_status=$?
1.1.1.19  root     1334: fi
                   1335: 
                   1336: if test "$ac_init_help" = "recursive"; then
                   1337:   # If there are subdirs, report their specific --help.
                   1338:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.1.22  root     1339:     test -d "$ac_dir" || continue
1.1.1.19  root     1340:     ac_builddir=.
                   1341: 
1.1.1.22  root     1342: case "$ac_dir" in
                   1343: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1344: *)
1.1.1.19  root     1345:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1.1.22  root     1346:   # A ".." for each directory in $ac_dir_suffix.
                   1347:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
                   1348:   case $ac_top_builddir_sub in
                   1349:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1350:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1351:   esac ;;
                   1352: esac
                   1353: ac_abs_top_builddir=$ac_pwd
                   1354: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1355: # for backward compatibility:
                   1356: ac_top_builddir=$ac_top_build_prefix
1.1.1.19  root     1357: 
                   1358: case $srcdir in
1.1.1.22  root     1359:   .)  # We are building in place.
1.1.1.19  root     1360:     ac_srcdir=.
1.1.1.22  root     1361:     ac_top_srcdir=$ac_top_builddir_sub
                   1362:     ac_abs_top_srcdir=$ac_pwd ;;
                   1363:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1.1.19  root     1364:     ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1.22  root     1365:     ac_top_srcdir=$srcdir
                   1366:     ac_abs_top_srcdir=$srcdir ;;
                   1367:   *) # Relative name.
                   1368:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1369:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1370:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1371: esac
                   1372: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1373: 
                   1374:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1375:     # Check for guested configure.
                   1376:     if test -f "$ac_srcdir/configure.gnu"; then
                   1377:       echo &&
                   1378:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1379:     elif test -f "$ac_srcdir/configure"; then
                   1380:       echo &&
                   1381:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1.1.19  root     1382:     else
                   1383:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.1.22  root     1384:     fi || ac_status=$?
                   1385:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1.1.19  root     1386:   done
                   1387: fi
                   1388: 
1.1.1.22  root     1389: test -n "$ac_init_help" && exit $ac_status
1.1.1.19  root     1390: if $ac_init_version; then
                   1391:   cat <<\_ACEOF
1.1.1.23! root     1392: UAE configure 0.8.27
1.1.1.22  root     1393: generated by GNU Autoconf 2.61
1.1.1.19  root     1394: 
1.1.1.22  root     1395: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                   1396: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1.1.1.19  root     1397: This configure script is free software; the Free Software Foundation
                   1398: gives unlimited permission to copy, distribute and modify it.
                   1399: _ACEOF
1.1.1.22  root     1400:   exit
1.1.1.19  root     1401: fi
1.1.1.22  root     1402: cat >config.log <<_ACEOF
1.1.1.19  root     1403: This file contains any messages produced by compilers while
                   1404: running configure, to aid debugging if configure makes a mistake.
                   1405: 
1.1.1.23! root     1406: It was created by UAE $as_me 0.8.27, which was
1.1.1.22  root     1407: generated by GNU Autoconf 2.61.  Invocation command line was
1.1.1.19  root     1408: 
                   1409:   $ $0 $@
                   1410: 
                   1411: _ACEOF
1.1.1.22  root     1412: exec 5>>config.log
1.1.1.19  root     1413: {
                   1414: cat <<_ASUNAME
                   1415: ## --------- ##
                   1416: ## Platform. ##
                   1417: ## --------- ##
                   1418: 
                   1419: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1420: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1421: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1422: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1423: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1424: 
                   1425: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1426: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1427: 
                   1428: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1429: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1430: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1.1.22  root     1431: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.1.1.19  root     1432: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1433: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1434: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1435: 
                   1436: _ASUNAME
                   1437: 
                   1438: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1439: for as_dir in $PATH
                   1440: do
                   1441:   IFS=$as_save_IFS
                   1442:   test -z "$as_dir" && as_dir=.
                   1443:   echo "PATH: $as_dir"
                   1444: done
1.1.1.22  root     1445: IFS=$as_save_IFS
1.1.1.19  root     1446: 
                   1447: } >&5
                   1448: 
                   1449: cat >&5 <<_ACEOF
                   1450: 
                   1451: 
                   1452: ## ----------- ##
                   1453: ## Core tests. ##
                   1454: ## ----------- ##
                   1455: 
                   1456: _ACEOF
                   1457: 
                   1458: 
                   1459: # Keep a trace of the command line.
                   1460: # Strip out --no-create and --no-recursion so they do not pile up.
                   1461: # Strip out --silent because we don't want to record it for future runs.
                   1462: # Also quote any args containing shell meta-characters.
                   1463: # Make two passes to allow for proper duplicate-argument suppression.
                   1464: ac_configure_args=
                   1465: ac_configure_args0=
                   1466: ac_configure_args1=
                   1467: ac_must_keep_next=false
                   1468: for ac_pass in 1 2
                   1469: do
                   1470:   for ac_arg
                   1471:   do
                   1472:     case $ac_arg in
                   1473:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1474:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1475:     | -silent | --silent | --silen | --sile | --sil)
                   1476:       continue ;;
1.1.1.22  root     1477:     *\'*)
1.1.1.19  root     1478:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1479:     esac
                   1480:     case $ac_pass in
                   1481:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1482:     2)
                   1483:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1484:       if test $ac_must_keep_next = true; then
                   1485:        ac_must_keep_next=false # Got value, back to normal.
                   1486:       else
                   1487:        case $ac_arg in
                   1488:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1489:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1490:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1491:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1492:            case "$ac_configure_args0 " in
                   1493:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1494:            esac
                   1495:            ;;
                   1496:          -* ) ac_must_keep_next=true ;;
                   1497:        esac
                   1498:       fi
1.1.1.22  root     1499:       ac_configure_args="$ac_configure_args '$ac_arg'"
1.1.1.19  root     1500:       ;;
                   1501:     esac
                   1502:   done
                   1503: done
                   1504: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1505: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1506: 
                   1507: # When interrupted or exit'd, cleanup temporary files, and complete
                   1508: # config.log.  We remove comments because anyway the quotes in there
                   1509: # would cause problems or look ugly.
1.1.1.22  root     1510: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1511: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1.1.19  root     1512: trap 'exit_status=$?
                   1513:   # Save into config.log some information that might help in debugging.
                   1514:   {
                   1515:     echo
                   1516: 
                   1517:     cat <<\_ASBOX
                   1518: ## ---------------- ##
                   1519: ## Cache variables. ##
                   1520: ## ---------------- ##
                   1521: _ASBOX
                   1522:     echo
                   1523:     # The following way of writing the cache mishandles newlines in values,
1.1.1.22  root     1524: (
                   1525:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1526:     eval ac_val=\$$ac_var
                   1527:     case $ac_val in #(
                   1528:     *${as_nl}*)
                   1529:       case $ac_var in #(
                   1530:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
                   1531: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
                   1532:       esac
                   1533:       case $ac_var in #(
                   1534:       _ | IFS | as_nl) ;; #(
                   1535:       *) $as_unset $ac_var ;;
                   1536:       esac ;;
                   1537:     esac
                   1538:   done
1.1.1.19  root     1539:   (set) 2>&1 |
1.1.1.22  root     1540:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1541:     *${as_nl}ac_space=\ *)
1.1.1.19  root     1542:       sed -n \
1.1.1.22  root     1543:        "s/'\''/'\''\\\\'\'''\''/g;
                   1544:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1545:       ;; #(
1.1.1.19  root     1546:     *)
1.1.1.22  root     1547:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1.1.19  root     1548:       ;;
1.1.1.22  root     1549:     esac |
                   1550:     sort
                   1551: )
1.1.1.19  root     1552:     echo
                   1553: 
                   1554:     cat <<\_ASBOX
                   1555: ## ----------------- ##
                   1556: ## Output variables. ##
                   1557: ## ----------------- ##
                   1558: _ASBOX
                   1559:     echo
                   1560:     for ac_var in $ac_subst_vars
                   1561:     do
1.1.1.22  root     1562:       eval ac_val=\$$ac_var
                   1563:       case $ac_val in
                   1564:       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   1565:       esac
                   1566:       echo "$ac_var='\''$ac_val'\''"
1.1.1.19  root     1567:     done | sort
                   1568:     echo
                   1569: 
                   1570:     if test -n "$ac_subst_files"; then
                   1571:       cat <<\_ASBOX
1.1.1.22  root     1572: ## ------------------- ##
                   1573: ## File substitutions. ##
                   1574: ## ------------------- ##
1.1.1.19  root     1575: _ASBOX
                   1576:       echo
                   1577:       for ac_var in $ac_subst_files
                   1578:       do
1.1.1.22  root     1579:        eval ac_val=\$$ac_var
                   1580:        case $ac_val in
                   1581:        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   1582:        esac
                   1583:        echo "$ac_var='\''$ac_val'\''"
1.1.1.19  root     1584:       done | sort
                   1585:       echo
                   1586:     fi
                   1587: 
                   1588:     if test -s confdefs.h; then
                   1589:       cat <<\_ASBOX
                   1590: ## ----------- ##
                   1591: ## confdefs.h. ##
                   1592: ## ----------- ##
                   1593: _ASBOX
                   1594:       echo
1.1.1.22  root     1595:       cat confdefs.h
1.1.1.19  root     1596:       echo
                   1597:     fi
                   1598:     test "$ac_signal" != 0 &&
                   1599:       echo "$as_me: caught signal $ac_signal"
                   1600:     echo "$as_me: exit $exit_status"
                   1601:   } >&5
1.1.1.22  root     1602:   rm -f core *.core core.conftest.* &&
                   1603:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1.1.19  root     1604:     exit $exit_status
1.1.1.22  root     1605: ' 0
1.1.1.19  root     1606: for ac_signal in 1 2 13 15; do
                   1607:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1608: done
                   1609: ac_signal=0
                   1610: 
                   1611: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.1.22  root     1612: rm -f -r conftest* confdefs.h
1.1.1.19  root     1613: 
                   1614: # Predefined preprocessor variables.
                   1615: 
                   1616: cat >>confdefs.h <<_ACEOF
                   1617: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1618: _ACEOF
                   1619: 
                   1620: 
                   1621: cat >>confdefs.h <<_ACEOF
                   1622: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1623: _ACEOF
                   1624: 
                   1625: 
                   1626: cat >>confdefs.h <<_ACEOF
                   1627: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1628: _ACEOF
                   1629: 
1.1       root     1630: 
1.1.1.19  root     1631: cat >>confdefs.h <<_ACEOF
                   1632: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1633: _ACEOF
                   1634: 
                   1635: 
                   1636: cat >>confdefs.h <<_ACEOF
                   1637: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1638: _ACEOF
                   1639: 
                   1640: 
                   1641: # Let the site file select an alternate cache file if it wants to.
1.1       root     1642: # Prefer explicitly selected file to automatically selected ones.
1.1.1.22  root     1643: if test -n "$CONFIG_SITE"; then
                   1644:   set x "$CONFIG_SITE"
                   1645: elif test "x$prefix" != xNONE; then
                   1646:   set x "$prefix/share/config.site" "$prefix/etc/config.site"
                   1647: else
                   1648:   set x "$ac_default_prefix/share/config.site" \
                   1649:        "$ac_default_prefix/etc/config.site"
1.1       root     1650: fi
1.1.1.22  root     1651: shift
                   1652: for ac_site_file
                   1653: do
1.1       root     1654:   if test -r "$ac_site_file"; then
1.1.1.19  root     1655:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1656: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1657:     sed 's/^/| /' "$ac_site_file" >&5
1.1       root     1658:     . "$ac_site_file"
                   1659:   fi
                   1660: done
                   1661: 
                   1662: if test -r "$cache_file"; then
1.1.1.19  root     1663:   # Some versions of bash will fail to source /dev/null (special
                   1664:   # files actually), so we avoid doing that.
                   1665:   if test -f "$cache_file"; then
                   1666:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1667: echo "$as_me: loading cache $cache_file" >&6;}
                   1668:     case $cache_file in
1.1.1.22  root     1669:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   1670:       *)                      . "./$cache_file";;
1.1.1.19  root     1671:     esac
                   1672:   fi
1.1       root     1673: else
1.1.1.19  root     1674:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1675: echo "$as_me: creating cache $cache_file" >&6;}
                   1676:   >$cache_file
                   1677: fi
                   1678: 
1.1.1.22  root     1679: ac_header_list="$ac_header_list utime.h"
1.1.1.19  root     1680: # Check that the precious variables saved in the cache have kept the same
                   1681: # value.
                   1682: ac_cache_corrupted=false
1.1.1.22  root     1683: for ac_var in $ac_precious_vars; do
1.1.1.19  root     1684:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1685:   eval ac_new_set=\$ac_env_${ac_var}_set
1.1.1.22  root     1686:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   1687:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1.1.19  root     1688:   case $ac_old_set,$ac_new_set in
                   1689:     set,)
                   1690:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1691: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1692:       ac_cache_corrupted=: ;;
                   1693:     ,set)
                   1694:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1695: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1696:       ac_cache_corrupted=: ;;
                   1697:     ,);;
                   1698:     *)
                   1699:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1700:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1701: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1702:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1703: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1704:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1705: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1706:        ac_cache_corrupted=:
                   1707:       fi;;
                   1708:   esac
                   1709:   # Pass precious variables to config.status.
                   1710:   if test "$ac_new_set" = set; then
                   1711:     case $ac_new_val in
1.1.1.22  root     1712:     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.1.19  root     1713:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1714:     esac
                   1715:     case " $ac_configure_args " in
                   1716:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1717:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1718:     esac
                   1719:   fi
                   1720: done
                   1721: if $ac_cache_corrupted; then
                   1722:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1723: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1724:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1725: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1726:    { (exit 1); exit 1; }; }
1.1       root     1727: fi
                   1728: 
                   1729: 
                   1730: 
                   1731: 
                   1732: 
1.1.1.4   root     1733: 
1.1.1.19  root     1734: 
                   1735: 
                   1736: 
                   1737: 
                   1738: 
                   1739: 
                   1740: 
                   1741: 
                   1742: 
                   1743: 
                   1744: 
                   1745: 
                   1746: 
                   1747: 
                   1748: 
                   1749: 
                   1750: 
1.1.1.22  root     1751: 
                   1752: 
                   1753: ac_ext=c
                   1754: ac_cpp='$CPP $CPPFLAGS'
                   1755: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1756: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1757: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1758: 
                   1759: 
                   1760: 
                   1761: 
                   1762: 
1.1.1.19  root     1763: ac_ext=c
                   1764: ac_cpp='$CPP $CPPFLAGS'
                   1765: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1766: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1767: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1768: if test -n "$ac_tool_prefix"; then
                   1769:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1770: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.22  root     1771: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1772: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     1773: if test "${ac_cv_prog_CC+set}" = set; then
                   1774:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1775: else
                   1776:   if test -n "$CC"; then
                   1777:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1778: else
1.1.1.19  root     1779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1780: for as_dir in $PATH
                   1781: do
                   1782:   IFS=$as_save_IFS
                   1783:   test -z "$as_dir" && as_dir=.
                   1784:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     1785:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     1786:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1787:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1788:     break 2
                   1789:   fi
                   1790: done
                   1791: done
1.1.1.22  root     1792: IFS=$as_save_IFS
1.1.1.19  root     1793: 
1.1       root     1794: fi
                   1795: fi
1.1.1.19  root     1796: CC=$ac_cv_prog_CC
1.1       root     1797: if test -n "$CC"; then
1.1.1.22  root     1798:   { echo "$as_me:$LINENO: result: $CC" >&5
                   1799: echo "${ECHO_T}$CC" >&6; }
1.1       root     1800: else
1.1.1.22  root     1801:   { echo "$as_me:$LINENO: result: no" >&5
                   1802: echo "${ECHO_T}no" >&6; }
1.1       root     1803: fi
                   1804: 
1.1.1.22  root     1805: 
1.1.1.19  root     1806: fi
                   1807: if test -z "$ac_cv_prog_CC"; then
                   1808:   ac_ct_CC=$CC
                   1809:   # Extract the first word of "gcc", so it can be a program name with args.
                   1810: set dummy gcc; ac_word=$2
1.1.1.22  root     1811: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1812: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     1813: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1814:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     1815: else
1.1.1.19  root     1816:   if test -n "$ac_ct_CC"; then
                   1817:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       root     1818: else
1.1.1.19  root     1819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1820: for as_dir in $PATH
                   1821: do
                   1822:   IFS=$as_save_IFS
                   1823:   test -z "$as_dir" && as_dir=.
                   1824:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     1825:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     1826:     ac_cv_prog_ac_ct_CC="gcc"
                   1827:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1828:     break 2
                   1829:   fi
                   1830: done
                   1831: done
1.1.1.22  root     1832: IFS=$as_save_IFS
1.1.1.19  root     1833: 
                   1834: fi
                   1835: fi
                   1836: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1837: if test -n "$ac_ct_CC"; then
1.1.1.22  root     1838:   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1839: echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1.1.19  root     1840: else
1.1.1.22  root     1841:   { echo "$as_me:$LINENO: result: no" >&5
                   1842: echo "${ECHO_T}no" >&6; }
1.1.1.19  root     1843: fi
                   1844: 
1.1.1.22  root     1845:   if test "x$ac_ct_CC" = x; then
                   1846:     CC=""
                   1847:   else
                   1848:     case $cross_compiling:$ac_tool_warned in
                   1849: yes:)
                   1850: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
                   1851: whose name does not start with the host triplet.  If you think this
                   1852: configuration is useful to you, please write to [email protected]." >&5
                   1853: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
                   1854: whose name does not start with the host triplet.  If you think this
                   1855: configuration is useful to you, please write to [email protected]." >&2;}
                   1856: ac_tool_warned=yes ;;
                   1857: esac
                   1858:     CC=$ac_ct_CC
                   1859:   fi
1.1.1.19  root     1860: else
                   1861:   CC="$ac_cv_prog_CC"
                   1862: fi
                   1863: 
                   1864: if test -z "$CC"; then
1.1.1.22  root     1865:           if test -n "$ac_tool_prefix"; then
                   1866:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1.1.19  root     1867: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.22  root     1868: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1869: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     1870: if test "${ac_cv_prog_CC+set}" = set; then
                   1871:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1872: else
                   1873:   if test -n "$CC"; then
                   1874:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1875: else
                   1876: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1877: for as_dir in $PATH
                   1878: do
                   1879:   IFS=$as_save_IFS
                   1880:   test -z "$as_dir" && as_dir=.
                   1881:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     1882:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     1883:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1884:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1885:     break 2
                   1886:   fi
                   1887: done
                   1888: done
1.1.1.22  root     1889: IFS=$as_save_IFS
1.1.1.19  root     1890: 
                   1891: fi
                   1892: fi
                   1893: CC=$ac_cv_prog_CC
                   1894: if test -n "$CC"; then
1.1.1.22  root     1895:   { echo "$as_me:$LINENO: result: $CC" >&5
                   1896: echo "${ECHO_T}$CC" >&6; }
1.1.1.19  root     1897: else
1.1.1.22  root     1898:   { echo "$as_me:$LINENO: result: no" >&5
                   1899: echo "${ECHO_T}no" >&6; }
1.1.1.19  root     1900: fi
                   1901: 
                   1902: 
1.1.1.22  root     1903:   fi
1.1.1.19  root     1904: fi
                   1905: if test -z "$CC"; then
                   1906:   # Extract the first word of "cc", so it can be a program name with args.
                   1907: set dummy cc; ac_word=$2
1.1.1.22  root     1908: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1909: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     1910: if test "${ac_cv_prog_CC+set}" = set; then
                   1911:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1912: else
                   1913:   if test -n "$CC"; then
                   1914:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1915: else
                   1916:   ac_prog_rejected=no
                   1917: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1918: for as_dir in $PATH
                   1919: do
                   1920:   IFS=$as_save_IFS
                   1921:   test -z "$as_dir" && as_dir=.
                   1922:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     1923:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     1924:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   1925:        ac_prog_rejected=yes
                   1926:        continue
                   1927:      fi
                   1928:     ac_cv_prog_CC="cc"
                   1929:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1930:     break 2
                   1931:   fi
                   1932: done
                   1933: done
1.1.1.22  root     1934: IFS=$as_save_IFS
1.1.1.19  root     1935: 
                   1936: if test $ac_prog_rejected = yes; then
                   1937:   # We found a bogon in the path, so make sure we never use it.
                   1938:   set dummy $ac_cv_prog_CC
1.1       root     1939:   shift
1.1.1.19  root     1940:   if test $# != 0; then
1.1       root     1941:     # We chose a different compiler from the bogus one.
                   1942:     # However, it has the same basename, so the bogon will be chosen
                   1943:     # first if we set CC to just the basename; use the full file name.
                   1944:     shift
1.1.1.19  root     1945:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       root     1946:   fi
                   1947: fi
                   1948: fi
                   1949: fi
1.1.1.19  root     1950: CC=$ac_cv_prog_CC
1.1       root     1951: if test -n "$CC"; then
1.1.1.22  root     1952:   { echo "$as_me:$LINENO: result: $CC" >&5
                   1953: echo "${ECHO_T}$CC" >&6; }
1.1       root     1954: else
1.1.1.22  root     1955:   { echo "$as_me:$LINENO: result: no" >&5
                   1956: echo "${ECHO_T}no" >&6; }
1.1       root     1957: fi
                   1958: 
1.1.1.22  root     1959: 
1.1.1.19  root     1960: fi
                   1961: if test -z "$CC"; then
                   1962:   if test -n "$ac_tool_prefix"; then
1.1.1.22  root     1963:   for ac_prog in cl.exe
1.1.1.19  root     1964:   do
                   1965:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1966: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.22  root     1967: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1968: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     1969: if test "${ac_cv_prog_CC+set}" = set; then
                   1970:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.9   root     1971: else
                   1972:   if test -n "$CC"; then
                   1973:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1974: else
1.1.1.19  root     1975: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1976: for as_dir in $PATH
                   1977: do
                   1978:   IFS=$as_save_IFS
                   1979:   test -z "$as_dir" && as_dir=.
                   1980:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     1981:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     1982:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   1983:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1984:     break 2
                   1985:   fi
                   1986: done
                   1987: done
1.1.1.22  root     1988: IFS=$as_save_IFS
1.1.1.19  root     1989: 
1.1.1.9   root     1990: fi
                   1991: fi
1.1.1.19  root     1992: CC=$ac_cv_prog_CC
1.1.1.9   root     1993: if test -n "$CC"; then
1.1.1.22  root     1994:   { echo "$as_me:$LINENO: result: $CC" >&5
                   1995: echo "${ECHO_T}$CC" >&6; }
1.1.1.9   root     1996: else
1.1.1.22  root     1997:   { echo "$as_me:$LINENO: result: no" >&5
                   1998: echo "${ECHO_T}no" >&6; }
1.1.1.9   root     1999: fi
1.1.1.19  root     2000: 
1.1.1.22  root     2001: 
1.1.1.19  root     2002:     test -n "$CC" && break
                   2003:   done
                   2004: fi
                   2005: if test -z "$CC"; then
                   2006:   ac_ct_CC=$CC
1.1.1.22  root     2007:   for ac_prog in cl.exe
1.1.1.19  root     2008: do
                   2009:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2010: set dummy $ac_prog; ac_word=$2
1.1.1.22  root     2011: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2012: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     2013: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2014:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2015: else
                   2016:   if test -n "$ac_ct_CC"; then
                   2017:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2018: else
                   2019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2020: for as_dir in $PATH
                   2021: do
                   2022:   IFS=$as_save_IFS
                   2023:   test -z "$as_dir" && as_dir=.
                   2024:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     2025:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     2026:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2027:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2028:     break 2
1.1.1.9   root     2029:   fi
1.1.1.19  root     2030: done
                   2031: done
1.1.1.22  root     2032: IFS=$as_save_IFS
1.1.1.19  root     2033: 
1.1       root     2034: fi
1.1.1.19  root     2035: fi
                   2036: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2037: if test -n "$ac_ct_CC"; then
1.1.1.22  root     2038:   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2039: echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1.1.19  root     2040: else
1.1.1.22  root     2041:   { echo "$as_me:$LINENO: result: no" >&5
                   2042: echo "${ECHO_T}no" >&6; }
1.1.1.19  root     2043: fi
                   2044: 
1.1.1.22  root     2045: 
1.1.1.19  root     2046:   test -n "$ac_ct_CC" && break
                   2047: done
1.1       root     2048: 
1.1.1.22  root     2049:   if test "x$ac_ct_CC" = x; then
                   2050:     CC=""
                   2051:   else
                   2052:     case $cross_compiling:$ac_tool_warned in
                   2053: yes:)
                   2054: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
                   2055: whose name does not start with the host triplet.  If you think this
                   2056: configuration is useful to you, please write to [email protected]." >&5
                   2057: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
                   2058: whose name does not start with the host triplet.  If you think this
                   2059: configuration is useful to you, please write to [email protected]." >&2;}
                   2060: ac_tool_warned=yes ;;
                   2061: esac
                   2062:     CC=$ac_ct_CC
                   2063:   fi
1.1.1.19  root     2064: fi
1.1.1.4   root     2065: 
1.1.1.19  root     2066: fi
1.1.1.4   root     2067: 
1.1.1.9   root     2068: 
1.1.1.19  root     2069: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2070: See \`config.log' for more details." >&5
                   2071: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2072: See \`config.log' for more details." >&2;}
                   2073:    { (exit 1); exit 1; }; }
                   2074: 
                   2075: # Provide some information about the compiler.
1.1.1.22  root     2076: echo "$as_me:$LINENO: checking for C compiler version" >&5
1.1.1.19  root     2077: ac_compiler=`set X $ac_compile; echo $2`
1.1.1.22  root     2078: { (ac_try="$ac_compiler --version >&5"
                   2079: case "(($ac_try" in
                   2080:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2081:   *) ac_try_echo=$ac_try;;
                   2082: esac
                   2083: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2084:   (eval "$ac_compiler --version >&5") 2>&5
1.1.1.19  root     2085:   ac_status=$?
                   2086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2087:   (exit $ac_status); }
1.1.1.22  root     2088: { (ac_try="$ac_compiler -v >&5"
                   2089: case "(($ac_try" in
                   2090:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2091:   *) ac_try_echo=$ac_try;;
                   2092: esac
                   2093: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2094:   (eval "$ac_compiler -v >&5") 2>&5
1.1.1.19  root     2095:   ac_status=$?
                   2096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2097:   (exit $ac_status); }
1.1.1.22  root     2098: { (ac_try="$ac_compiler -V >&5"
                   2099: case "(($ac_try" in
                   2100:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2101:   *) ac_try_echo=$ac_try;;
                   2102: esac
                   2103: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2104:   (eval "$ac_compiler -V >&5") 2>&5
1.1.1.19  root     2105:   ac_status=$?
                   2106:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2107:   (exit $ac_status); }
                   2108: 
                   2109: cat >conftest.$ac_ext <<_ACEOF
                   2110: /* confdefs.h.  */
                   2111: _ACEOF
                   2112: cat confdefs.h >>conftest.$ac_ext
                   2113: cat >>conftest.$ac_ext <<_ACEOF
                   2114: /* end confdefs.h.  */
1.1.1.9   root     2115: 
1.1.1.19  root     2116: int
                   2117: main ()
                   2118: {
                   2119: 
                   2120:   ;
                   2121:   return 0;
                   2122: }
                   2123: _ACEOF
                   2124: ac_clean_files_save=$ac_clean_files
                   2125: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2126: # Try to create an executable without -o first, disregard a.out.
                   2127: # It will help us diagnose broken compilers, and finding out an intuition
                   2128: # of exeext.
1.1.1.22  root     2129: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
                   2130: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.1.1.19  root     2131: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.1.1.22  root     2132: #
                   2133: # List of possible output files, starting from the most likely.
                   2134: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
                   2135: # only as a last resort.  b.out is created by i960 compilers.
                   2136: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
                   2137: #
                   2138: # The IRIX 6 linker writes into existing files which may not be
                   2139: # executable, retaining their permissions.  Remove them first so a
                   2140: # subsequent execution test works.
                   2141: ac_rmfiles=
                   2142: for ac_file in $ac_files
                   2143: do
                   2144:   case $ac_file in
                   2145:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
                   2146:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2147:   esac
                   2148: done
                   2149: rm -f $ac_rmfiles
                   2150: 
                   2151: if { (ac_try="$ac_link_default"
                   2152: case "(($ac_try" in
                   2153:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2154:   *) ac_try_echo=$ac_try;;
                   2155: esac
                   2156: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2157:   (eval "$ac_link_default") 2>&5
1.1.1.19  root     2158:   ac_status=$?
                   2159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2160:   (exit $ac_status); }; then
1.1.1.22  root     2161:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2162: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2163: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2164: # so that the user can short-circuit this test for compilers unknown to
                   2165: # Autoconf.
                   2166: for ac_file in $ac_files ''
1.1.1.19  root     2167: do
                   2168:   test -f "$ac_file" || continue
                   2169:   case $ac_file in
1.1.1.22  root     2170:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1.1.1.19  root     2171:        ;;
                   2172:     [ab].out )
                   2173:        # We found the default executable, but exeext='' is most
                   2174:        # certainly right.
                   2175:        break;;
                   2176:     *.* )
1.1.1.22  root     2177:         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   2178:        then :; else
                   2179:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2180:        fi
                   2181:        # We set ac_cv_exeext here because the later test for it is not
                   2182:        # safe: cross compilers may not add the suffix if given an `-o'
                   2183:        # argument, so we may need to know it at that point already.
                   2184:        # Even if this section looks crufty: it has the advantage of
                   2185:        # actually working.
1.1.1.19  root     2186:        break;;
                   2187:     * )
                   2188:        break;;
                   2189:   esac
                   2190: done
1.1.1.22  root     2191: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2192: 
1.1.1.19  root     2193: else
1.1.1.22  root     2194:   ac_file=''
                   2195: fi
                   2196: 
                   2197: { echo "$as_me:$LINENO: result: $ac_file" >&5
                   2198: echo "${ECHO_T}$ac_file" >&6; }
                   2199: if test -z "$ac_file"; then
1.1.1.19  root     2200:   echo "$as_me: failed program was:" >&5
                   2201: sed 's/^/| /' conftest.$ac_ext >&5
                   2202: 
                   2203: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
                   2204: See \`config.log' for more details." >&5
                   2205: echo "$as_me: error: C compiler cannot create executables
                   2206: See \`config.log' for more details." >&2;}
                   2207:    { (exit 77); exit 77; }; }
                   2208: fi
                   2209: 
                   2210: ac_exeext=$ac_cv_exeext
                   2211: 
1.1.1.22  root     2212: # Check that the compiler produces executables we can run.  If not, either
1.1.1.19  root     2213: # the compiler is broken, or we cross compile.
1.1.1.22  root     2214: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
                   2215: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.1.1.19  root     2216: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2217: # If not cross compiling, check that we can run a simple program.
                   2218: if test "$cross_compiling" != yes; then
                   2219:   if { ac_try='./$ac_file'
1.1.1.22  root     2220:   { (case "(($ac_try" in
                   2221:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2222:   *) ac_try_echo=$ac_try;;
                   2223: esac
                   2224: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2225:   (eval "$ac_try") 2>&5
1.1.1.19  root     2226:   ac_status=$?
                   2227:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2228:   (exit $ac_status); }; }; then
                   2229:     cross_compiling=no
1.1.1.4   root     2230:   else
1.1.1.19  root     2231:     if test "$cross_compiling" = maybe; then
                   2232:        cross_compiling=yes
                   2233:     else
                   2234:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
                   2235: If you meant to cross compile, use \`--host'.
                   2236: See \`config.log' for more details." >&5
                   2237: echo "$as_me: error: cannot run C compiled programs.
                   2238: If you meant to cross compile, use \`--host'.
                   2239: See \`config.log' for more details." >&2;}
                   2240:    { (exit 1); exit 1; }; }
                   2241:     fi
1.1.1.4   root     2242:   fi
                   2243: fi
1.1.1.22  root     2244: { echo "$as_me:$LINENO: result: yes" >&5
                   2245: echo "${ECHO_T}yes" >&6; }
1.1.1.19  root     2246: 
                   2247: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2248: ac_clean_files=$ac_clean_files_save
1.1.1.22  root     2249: # Check that the compiler produces executables we can run.  If not, either
1.1.1.19  root     2250: # the compiler is broken, or we cross compile.
1.1.1.22  root     2251: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2252: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
                   2253: { echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2254: echo "${ECHO_T}$cross_compiling" >&6; }
                   2255: 
                   2256: { echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2257: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
                   2258: if { (ac_try="$ac_link"
                   2259: case "(($ac_try" in
                   2260:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2261:   *) ac_try_echo=$ac_try;;
                   2262: esac
                   2263: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2264:   (eval "$ac_link") 2>&5
1.1.1.19  root     2265:   ac_status=$?
                   2266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2267:   (exit $ac_status); }; then
                   2268:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2269: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2270: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2271: # `rm'.
                   2272: for ac_file in conftest.exe conftest conftest.*; do
                   2273:   test -f "$ac_file" || continue
                   2274:   case $ac_file in
1.1.1.22  root     2275:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.1.1.19  root     2276:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2277:          break;;
                   2278:     * ) break;;
                   2279:   esac
                   2280: done
1.1       root     2281: else
1.1.1.19  root     2282:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2283: See \`config.log' for more details." >&5
                   2284: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2285: See \`config.log' for more details." >&2;}
                   2286:    { (exit 1); exit 1; }; }
                   2287: fi
                   2288: 
                   2289: rm -f conftest$ac_cv_exeext
1.1.1.22  root     2290: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2291: echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.1.1.19  root     2292: 
                   2293: rm -f conftest.$ac_ext
                   2294: EXEEXT=$ac_cv_exeext
                   2295: ac_exeext=$EXEEXT
1.1.1.22  root     2296: { echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2297: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.1.1.19  root     2298: if test "${ac_cv_objext+set}" = set; then
                   2299:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2300: else
                   2301:   cat >conftest.$ac_ext <<_ACEOF
                   2302: /* confdefs.h.  */
                   2303: _ACEOF
                   2304: cat confdefs.h >>conftest.$ac_ext
                   2305: cat >>conftest.$ac_ext <<_ACEOF
                   2306: /* end confdefs.h.  */
1.1       root     2307: 
1.1.1.19  root     2308: int
                   2309: main ()
                   2310: {
1.1.1.4   root     2311: 
1.1.1.19  root     2312:   ;
                   2313:   return 0;
                   2314: }
                   2315: _ACEOF
                   2316: rm -f conftest.o conftest.obj
1.1.1.22  root     2317: if { (ac_try="$ac_compile"
                   2318: case "(($ac_try" in
                   2319:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2320:   *) ac_try_echo=$ac_try;;
                   2321: esac
                   2322: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2323:   (eval "$ac_compile") 2>&5
1.1.1.19  root     2324:   ac_status=$?
                   2325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2326:   (exit $ac_status); }; then
1.1.1.22  root     2327:   for ac_file in conftest.o conftest.obj conftest.*; do
                   2328:   test -f "$ac_file" || continue;
1.1.1.19  root     2329:   case $ac_file in
1.1.1.22  root     2330:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.1.1.19  root     2331:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2332:        break;;
                   2333:   esac
                   2334: done
1.1.1.9   root     2335: else
1.1.1.19  root     2336:   echo "$as_me: failed program was:" >&5
                   2337: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.9   root     2338: 
1.1.1.19  root     2339: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2340: See \`config.log' for more details." >&5
                   2341: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2342: See \`config.log' for more details." >&2;}
                   2343:    { (exit 1); exit 1; }; }
                   2344: fi
                   2345: 
                   2346: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2347: fi
1.1.1.22  root     2348: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2349: echo "${ECHO_T}$ac_cv_objext" >&6; }
1.1.1.19  root     2350: OBJEXT=$ac_cv_objext
                   2351: ac_objext=$OBJEXT
1.1.1.22  root     2352: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2353: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.1.1.19  root     2354: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2355:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2356: else
                   2357:   cat >conftest.$ac_ext <<_ACEOF
                   2358: /* confdefs.h.  */
                   2359: _ACEOF
                   2360: cat confdefs.h >>conftest.$ac_ext
                   2361: cat >>conftest.$ac_ext <<_ACEOF
                   2362: /* end confdefs.h.  */
                   2363: 
                   2364: int
                   2365: main ()
                   2366: {
                   2367: #ifndef __GNUC__
                   2368:        choke me
                   2369: #endif
                   2370: 
                   2371:   ;
                   2372:   return 0;
                   2373: }
                   2374: _ACEOF
                   2375: rm -f conftest.$ac_objext
1.1.1.22  root     2376: if { (ac_try="$ac_compile"
                   2377: case "(($ac_try" in
                   2378:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2379:   *) ac_try_echo=$ac_try;;
                   2380: esac
                   2381: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2382:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     2383:   ac_status=$?
                   2384:   grep -v '^ *+' conftest.er1 >conftest.err
                   2385:   rm -f conftest.er1
                   2386:   cat conftest.err >&5
                   2387:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2388:   (exit $ac_status); } && {
                   2389:         test -z "$ac_c_werror_flag" ||
                   2390:         test ! -s conftest.err
                   2391:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     2392:   ac_compiler_gnu=yes
                   2393: else
                   2394:   echo "$as_me: failed program was:" >&5
                   2395: sed 's/^/| /' conftest.$ac_ext >&5
                   2396: 
1.1.1.22  root     2397:        ac_compiler_gnu=no
1.1.1.19  root     2398: fi
1.1.1.22  root     2399: 
                   2400: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     2401: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2402: 
                   2403: fi
1.1.1.22  root     2404: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   2405: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.1.1.19  root     2406: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   2407: ac_test_CFLAGS=${CFLAGS+set}
                   2408: ac_save_CFLAGS=$CFLAGS
1.1.1.22  root     2409: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   2410: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.1.1.19  root     2411: if test "${ac_cv_prog_cc_g+set}" = set; then
                   2412:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2413: else
1.1.1.22  root     2414:   ac_save_c_werror_flag=$ac_c_werror_flag
                   2415:    ac_c_werror_flag=yes
                   2416:    ac_cv_prog_cc_g=no
                   2417:    CFLAGS="-g"
                   2418:    cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     2419: /* confdefs.h.  */
                   2420: _ACEOF
                   2421: cat confdefs.h >>conftest.$ac_ext
                   2422: cat >>conftest.$ac_ext <<_ACEOF
                   2423: /* end confdefs.h.  */
                   2424: 
                   2425: int
                   2426: main ()
                   2427: {
                   2428: 
                   2429:   ;
                   2430:   return 0;
                   2431: }
                   2432: _ACEOF
                   2433: rm -f conftest.$ac_objext
1.1.1.22  root     2434: if { (ac_try="$ac_compile"
                   2435: case "(($ac_try" in
                   2436:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2437:   *) ac_try_echo=$ac_try;;
                   2438: esac
                   2439: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2440:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     2441:   ac_status=$?
                   2442:   grep -v '^ *+' conftest.er1 >conftest.err
                   2443:   rm -f conftest.er1
                   2444:   cat conftest.err >&5
                   2445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2446:   (exit $ac_status); } && {
                   2447:         test -z "$ac_c_werror_flag" ||
                   2448:         test ! -s conftest.err
                   2449:        } && test -s conftest.$ac_objext; then
                   2450:   ac_cv_prog_cc_g=yes
                   2451: else
                   2452:   echo "$as_me: failed program was:" >&5
                   2453: sed 's/^/| /' conftest.$ac_ext >&5
                   2454: 
                   2455:        CFLAGS=""
                   2456:       cat >conftest.$ac_ext <<_ACEOF
                   2457: /* confdefs.h.  */
                   2458: _ACEOF
                   2459: cat confdefs.h >>conftest.$ac_ext
                   2460: cat >>conftest.$ac_ext <<_ACEOF
                   2461: /* end confdefs.h.  */
                   2462: 
                   2463: int
                   2464: main ()
                   2465: {
                   2466: 
                   2467:   ;
                   2468:   return 0;
                   2469: }
                   2470: _ACEOF
                   2471: rm -f conftest.$ac_objext
                   2472: if { (ac_try="$ac_compile"
                   2473: case "(($ac_try" in
                   2474:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2475:   *) ac_try_echo=$ac_try;;
                   2476: esac
                   2477: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2478:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     2479:   ac_status=$?
1.1.1.22  root     2480:   grep -v '^ *+' conftest.er1 >conftest.err
                   2481:   rm -f conftest.er1
                   2482:   cat conftest.err >&5
1.1.1.19  root     2483:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2484:   (exit $ac_status); } && {
                   2485:         test -z "$ac_c_werror_flag" ||
                   2486:         test ! -s conftest.err
                   2487:        } && test -s conftest.$ac_objext; then
                   2488:   :
                   2489: else
                   2490:   echo "$as_me: failed program was:" >&5
                   2491: sed 's/^/| /' conftest.$ac_ext >&5
                   2492: 
                   2493:        ac_c_werror_flag=$ac_save_c_werror_flag
                   2494:         CFLAGS="-g"
                   2495:         cat >conftest.$ac_ext <<_ACEOF
                   2496: /* confdefs.h.  */
                   2497: _ACEOF
                   2498: cat confdefs.h >>conftest.$ac_ext
                   2499: cat >>conftest.$ac_ext <<_ACEOF
                   2500: /* end confdefs.h.  */
                   2501: 
                   2502: int
                   2503: main ()
                   2504: {
                   2505: 
                   2506:   ;
                   2507:   return 0;
                   2508: }
                   2509: _ACEOF
                   2510: rm -f conftest.$ac_objext
                   2511: if { (ac_try="$ac_compile"
                   2512: case "(($ac_try" in
                   2513:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2514:   *) ac_try_echo=$ac_try;;
                   2515: esac
                   2516: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2517:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     2518:   ac_status=$?
1.1.1.22  root     2519:   grep -v '^ *+' conftest.er1 >conftest.err
                   2520:   rm -f conftest.er1
                   2521:   cat conftest.err >&5
1.1.1.19  root     2522:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2523:   (exit $ac_status); } && {
                   2524:         test -z "$ac_c_werror_flag" ||
                   2525:         test ! -s conftest.err
                   2526:        } && test -s conftest.$ac_objext; then
1.1.1.4   root     2527:   ac_cv_prog_cc_g=yes
1.1       root     2528: else
1.1.1.19  root     2529:   echo "$as_me: failed program was:" >&5
                   2530: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     2531: 
1.1.1.22  root     2532: 
                   2533: fi
                   2534: 
                   2535: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2536: fi
                   2537: 
                   2538: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     2539: fi
1.1.1.22  root     2540: 
                   2541: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2542:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1.1.19  root     2543: fi
1.1.1.22  root     2544: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   2545: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.1.1.9   root     2546: if test "$ac_test_CFLAGS" = set; then
1.1.1.19  root     2547:   CFLAGS=$ac_save_CFLAGS
1.1.1.9   root     2548: elif test $ac_cv_prog_cc_g = yes; then
                   2549:   if test "$GCC" = yes; then
1.1.1.4   root     2550:     CFLAGS="-g -O2"
                   2551:   else
1.1.1.9   root     2552:     CFLAGS="-g"
1.1       root     2553:   fi
                   2554: else
1.1.1.9   root     2555:   if test "$GCC" = yes; then
                   2556:     CFLAGS="-O2"
                   2557:   else
                   2558:     CFLAGS=
                   2559:   fi
1.1       root     2560: fi
1.1.1.22  root     2561: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
                   2562: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
                   2563: if test "${ac_cv_prog_cc_c89+set}" = set; then
1.1.1.19  root     2564:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2565: else
1.1.1.22  root     2566:   ac_cv_prog_cc_c89=no
1.1.1.19  root     2567: ac_save_CC=$CC
                   2568: cat >conftest.$ac_ext <<_ACEOF
                   2569: /* confdefs.h.  */
                   2570: _ACEOF
                   2571: cat confdefs.h >>conftest.$ac_ext
                   2572: cat >>conftest.$ac_ext <<_ACEOF
                   2573: /* end confdefs.h.  */
                   2574: #include <stdarg.h>
                   2575: #include <stdio.h>
                   2576: #include <sys/types.h>
                   2577: #include <sys/stat.h>
                   2578: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2579: struct buf { int x; };
                   2580: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2581: static char *e (p, i)
                   2582:      char **p;
                   2583:      int i;
                   2584: {
                   2585:   return p[i];
                   2586: }
                   2587: static char *f (char * (*g) (char **, int), char **p, ...)
                   2588: {
                   2589:   char *s;
                   2590:   va_list v;
                   2591:   va_start (v,p);
                   2592:   s = g (p, va_arg (v,int));
                   2593:   va_end (v);
                   2594:   return s;
                   2595: }
                   2596: 
                   2597: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2598:    function prototypes and stuff, but not '\xHH' hex character constants.
                   2599:    These don't provoke an error unfortunately, instead are silently treated
1.1.1.22  root     2600:    as 'x'.  The following induces an error, until -std is added to get
1.1.1.19  root     2601:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   2602:    array size at least.  It's necessary to write '\x00'==0 to get something
1.1.1.22  root     2603:    that's true only with -std.  */
1.1.1.19  root     2604: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   2605: 
1.1.1.22  root     2606: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2607:    inside strings and character constants.  */
                   2608: #define FOO(x) 'x'
                   2609: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   2610: 
1.1.1.19  root     2611: int test (int i, double x);
                   2612: struct s1 {int (*f) (int a);};
                   2613: struct s2 {int (*f) (double a);};
                   2614: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2615: int argc;
                   2616: char **argv;
                   2617: int
                   2618: main ()
                   2619: {
                   2620: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2621:   ;
                   2622:   return 0;
                   2623: }
                   2624: _ACEOF
1.1.1.22  root     2625: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   2626:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1.1.19  root     2627: do
                   2628:   CC="$ac_save_CC $ac_arg"
                   2629:   rm -f conftest.$ac_objext
1.1.1.22  root     2630: if { (ac_try="$ac_compile"
                   2631: case "(($ac_try" in
                   2632:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2633:   *) ac_try_echo=$ac_try;;
                   2634: esac
                   2635: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2636:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     2637:   ac_status=$?
                   2638:   grep -v '^ *+' conftest.er1 >conftest.err
                   2639:   rm -f conftest.er1
                   2640:   cat conftest.err >&5
                   2641:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2642:   (exit $ac_status); } && {
                   2643:         test -z "$ac_c_werror_flag" ||
                   2644:         test ! -s conftest.err
                   2645:        } && test -s conftest.$ac_objext; then
                   2646:   ac_cv_prog_cc_c89=$ac_arg
1.1.1.19  root     2647: else
                   2648:   echo "$as_me: failed program was:" >&5
                   2649: sed 's/^/| /' conftest.$ac_ext >&5
                   2650: 
1.1.1.22  root     2651: 
1.1.1.19  root     2652: fi
1.1.1.22  root     2653: 
                   2654: rm -f core conftest.err conftest.$ac_objext
                   2655:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1.1.19  root     2656: done
1.1.1.22  root     2657: rm -f conftest.$ac_ext
1.1.1.19  root     2658: CC=$ac_save_CC
                   2659: 
                   2660: fi
1.1.1.22  root     2661: # AC_CACHE_VAL
                   2662: case "x$ac_cv_prog_cc_c89" in
                   2663:   x)
                   2664:     { echo "$as_me:$LINENO: result: none needed" >&5
                   2665: echo "${ECHO_T}none needed" >&6; } ;;
                   2666:   xno)
                   2667:     { echo "$as_me:$LINENO: result: unsupported" >&5
                   2668: echo "${ECHO_T}unsupported" >&6; } ;;
1.1.1.19  root     2669:   *)
1.1.1.22  root     2670:     CC="$CC $ac_cv_prog_cc_c89"
                   2671:     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
                   2672: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.1.1.19  root     2673: esac
                   2674: 
1.1.1.22  root     2675: 
                   2676: ac_ext=c
                   2677: ac_cpp='$CPP $CPPFLAGS'
                   2678: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2679: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2680: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2681: 
                   2682: 
                   2683: ac_ext=c
                   2684: ac_cpp='$CPP $CPPFLAGS'
                   2685: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2686: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2687: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2688: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   2689: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
                   2690: # On Suns, sometimes $CPP names a directory.
                   2691: if test -n "$CPP" && test -d "$CPP"; then
                   2692:   CPP=
                   2693: fi
                   2694: if test -z "$CPP"; then
                   2695:   if test "${ac_cv_prog_CPP+set}" = set; then
                   2696:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2697: else
                   2698:       # Double quotes because CPP needs to be expanded
                   2699:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   2700:     do
                   2701:       ac_preproc_ok=false
                   2702: for ac_c_preproc_warn_flag in '' yes
1.1.1.19  root     2703: do
1.1.1.22  root     2704:   # Use a header file that comes with gcc, so configuring glibc
                   2705:   # with a fresh cross-compiler works.
                   2706:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2707:   # <limits.h> exists even on freestanding compilers.
                   2708:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2709:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.19  root     2710:   cat >conftest.$ac_ext <<_ACEOF
                   2711: /* confdefs.h.  */
                   2712: _ACEOF
                   2713: cat confdefs.h >>conftest.$ac_ext
                   2714: cat >>conftest.$ac_ext <<_ACEOF
                   2715: /* end confdefs.h.  */
                   2716: #ifdef __STDC__
                   2717: # include <limits.h>
                   2718: #else
                   2719: # include <assert.h>
                   2720: #endif
                   2721:                     Syntax error
                   2722: _ACEOF
1.1.1.22  root     2723: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   2724: case "(($ac_try" in
                   2725:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2726:   *) ac_try_echo=$ac_try;;
                   2727: esac
                   2728: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2729:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     2730:   ac_status=$?
                   2731:   grep -v '^ *+' conftest.er1 >conftest.err
                   2732:   rm -f conftest.er1
                   2733:   cat conftest.err >&5
                   2734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2735:   (exit $ac_status); } >/dev/null && {
                   2736:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   2737:         test ! -s conftest.err
                   2738:        }; then
1.1.1.9   root     2739:   :
                   2740: else
1.1.1.19  root     2741:   echo "$as_me: failed program was:" >&5
                   2742: sed 's/^/| /' conftest.$ac_ext >&5
                   2743: 
                   2744:   # Broken: fails on valid input.
                   2745: continue
                   2746: fi
1.1.1.22  root     2747: 
1.1.1.19  root     2748: rm -f conftest.err conftest.$ac_ext
                   2749: 
1.1.1.22  root     2750:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1.1.19  root     2751:   # can be detected and how.
                   2752:   cat >conftest.$ac_ext <<_ACEOF
                   2753: /* confdefs.h.  */
                   2754: _ACEOF
                   2755: cat confdefs.h >>conftest.$ac_ext
                   2756: cat >>conftest.$ac_ext <<_ACEOF
                   2757: /* end confdefs.h.  */
                   2758: #include <ac_nonexistent.h>
                   2759: _ACEOF
1.1.1.22  root     2760: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   2761: case "(($ac_try" in
                   2762:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2763:   *) ac_try_echo=$ac_try;;
                   2764: esac
                   2765: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2766:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     2767:   ac_status=$?
                   2768:   grep -v '^ *+' conftest.er1 >conftest.err
                   2769:   rm -f conftest.er1
                   2770:   cat conftest.err >&5
                   2771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2772:   (exit $ac_status); } >/dev/null && {
                   2773:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   2774:         test ! -s conftest.err
                   2775:        }; then
1.1.1.19  root     2776:   # Broken: success on invalid input.
                   2777: continue
                   2778: else
                   2779:   echo "$as_me: failed program was:" >&5
                   2780: sed 's/^/| /' conftest.$ac_ext >&5
                   2781: 
                   2782:   # Passes both tests.
                   2783: ac_preproc_ok=:
                   2784: break
1.1       root     2785: fi
1.1.1.22  root     2786: 
1.1.1.19  root     2787: rm -f conftest.err conftest.$ac_ext
                   2788: 
                   2789: done
                   2790: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2791: rm -f conftest.err conftest.$ac_ext
                   2792: if $ac_preproc_ok; then
                   2793:   break
1.1.1.9   root     2794: fi
1.1.1.19  root     2795: 
                   2796:     done
                   2797:     ac_cv_prog_CPP=$CPP
                   2798: 
                   2799: fi
                   2800:   CPP=$ac_cv_prog_CPP
                   2801: else
                   2802:   ac_cv_prog_CPP=$CPP
                   2803: fi
1.1.1.22  root     2804: { echo "$as_me:$LINENO: result: $CPP" >&5
                   2805: echo "${ECHO_T}$CPP" >&6; }
1.1.1.19  root     2806: ac_preproc_ok=false
                   2807: for ac_c_preproc_warn_flag in '' yes
                   2808: do
                   2809:   # Use a header file that comes with gcc, so configuring glibc
                   2810:   # with a fresh cross-compiler works.
                   2811:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2812:   # <limits.h> exists even on freestanding compilers.
                   2813:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2814:   # not just through cpp. "Syntax error" is here to catch this case.
                   2815:   cat >conftest.$ac_ext <<_ACEOF
                   2816: /* confdefs.h.  */
                   2817: _ACEOF
                   2818: cat confdefs.h >>conftest.$ac_ext
                   2819: cat >>conftest.$ac_ext <<_ACEOF
                   2820: /* end confdefs.h.  */
                   2821: #ifdef __STDC__
                   2822: # include <limits.h>
                   2823: #else
                   2824: # include <assert.h>
                   2825: #endif
                   2826:                     Syntax error
                   2827: _ACEOF
1.1.1.22  root     2828: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   2829: case "(($ac_try" in
                   2830:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2831:   *) ac_try_echo=$ac_try;;
                   2832: esac
                   2833: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2834:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     2835:   ac_status=$?
                   2836:   grep -v '^ *+' conftest.er1 >conftest.err
                   2837:   rm -f conftest.er1
                   2838:   cat conftest.err >&5
                   2839:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2840:   (exit $ac_status); } >/dev/null && {
                   2841:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   2842:         test ! -s conftest.err
                   2843:        }; then
1.1.1.19  root     2844:   :
                   2845: else
                   2846:   echo "$as_me: failed program was:" >&5
                   2847: sed 's/^/| /' conftest.$ac_ext >&5
                   2848: 
                   2849:   # Broken: fails on valid input.
                   2850: continue
                   2851: fi
1.1.1.22  root     2852: 
1.1.1.19  root     2853: rm -f conftest.err conftest.$ac_ext
                   2854: 
1.1.1.22  root     2855:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1.1.19  root     2856:   # can be detected and how.
                   2857:   cat >conftest.$ac_ext <<_ACEOF
                   2858: /* confdefs.h.  */
                   2859: _ACEOF
                   2860: cat confdefs.h >>conftest.$ac_ext
                   2861: cat >>conftest.$ac_ext <<_ACEOF
                   2862: /* end confdefs.h.  */
                   2863: #include <ac_nonexistent.h>
                   2864: _ACEOF
1.1.1.22  root     2865: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   2866: case "(($ac_try" in
                   2867:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2868:   *) ac_try_echo=$ac_try;;
                   2869: esac
                   2870: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   2871:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     2872:   ac_status=$?
                   2873:   grep -v '^ *+' conftest.er1 >conftest.err
                   2874:   rm -f conftest.er1
                   2875:   cat conftest.err >&5
                   2876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     2877:   (exit $ac_status); } >/dev/null && {
                   2878:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   2879:         test ! -s conftest.err
                   2880:        }; then
1.1.1.19  root     2881:   # Broken: success on invalid input.
                   2882: continue
1.1       root     2883: else
1.1.1.19  root     2884:   echo "$as_me: failed program was:" >&5
                   2885: sed 's/^/| /' conftest.$ac_ext >&5
                   2886: 
                   2887:   # Passes both tests.
                   2888: ac_preproc_ok=:
                   2889: break
                   2890: fi
1.1.1.22  root     2891: 
1.1.1.19  root     2892: rm -f conftest.err conftest.$ac_ext
                   2893: 
                   2894: done
                   2895: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2896: rm -f conftest.err conftest.$ac_ext
                   2897: if $ac_preproc_ok; then
                   2898:   :
                   2899: else
                   2900:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   2901: See \`config.log' for more details." >&5
                   2902: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   2903: See \`config.log' for more details." >&2;}
                   2904:    { (exit 1); exit 1; }; }
1.1       root     2905: fi
                   2906: 
1.1.1.19  root     2907: ac_ext=c
                   2908: ac_cpp='$CPP $CPPFLAGS'
                   2909: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2910: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2911: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2912: 
1.1.1.23! root     2913: ac_aux_dir=
        !          2914: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
        !          2915:   if test -f "$ac_dir/install-sh"; then
        !          2916:     ac_aux_dir=$ac_dir
        !          2917:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !          2918:     break
        !          2919:   elif test -f "$ac_dir/install.sh"; then
        !          2920:     ac_aux_dir=$ac_dir
        !          2921:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !          2922:     break
        !          2923:   elif test -f "$ac_dir/shtool"; then
        !          2924:     ac_aux_dir=$ac_dir
        !          2925:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !          2926:     break
        !          2927:   fi
        !          2928: done
        !          2929: if test -z "$ac_aux_dir"; then
        !          2930:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
        !          2931: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
        !          2932:    { (exit 1); exit 1; }; }
        !          2933: fi
        !          2934: 
        !          2935: # These three variables are undocumented and unsupported,
        !          2936: # and are intended to be withdrawn in a future Autoconf release.
        !          2937: # They can cause serious problems if a builder's source tree is in a directory
        !          2938: # whose full name contains unusual characters.
        !          2939: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
        !          2940: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
        !          2941: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
        !          2942: 
        !          2943: 
        !          2944: # Find a good install program.  We prefer a C program (faster),
        !          2945: # so one script is as good as another.  But avoid the broken or
        !          2946: # incompatible versions:
        !          2947: # SysV /etc/install, /usr/sbin/install
        !          2948: # SunOS /usr/etc/install
        !          2949: # IRIX /sbin/install
        !          2950: # AIX /bin/install
        !          2951: # AmigaOS /C/install, which installs bootblocks on floppy discs
        !          2952: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !          2953: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !          2954: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !          2955: # OS/2's system install, which has a completely different semantic
        !          2956: # ./install, which can be erroneously created by make from ./install.sh.
        !          2957: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          2958: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
        !          2959: if test -z "$INSTALL"; then
        !          2960: if test "${ac_cv_path_install+set}" = set; then
        !          2961:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2962: else
        !          2963:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2964: for as_dir in $PATH
        !          2965: do
        !          2966:   IFS=$as_save_IFS
        !          2967:   test -z "$as_dir" && as_dir=.
        !          2968:   # Account for people who put trailing slashes in PATH elements.
        !          2969: case $as_dir/ in
        !          2970:   ./ | .// | /cC/* | \
        !          2971:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
        !          2972:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
        !          2973:   /usr/ucb/* ) ;;
        !          2974:   *)
        !          2975:     # OSF1 and SCO ODT 3.0 have their own names for install.
        !          2976:     # Don't use installbsd from OSF since it installs stuff as root
        !          2977:     # by default.
        !          2978:     for ac_prog in ginstall scoinst install; do
        !          2979:       for ac_exec_ext in '' $ac_executable_extensions; do
        !          2980:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
        !          2981:          if test $ac_prog = install &&
        !          2982:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2983:            # AIX install.  It has an incompatible calling convention.
        !          2984:            :
        !          2985:          elif test $ac_prog = install &&
        !          2986:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2987:            # program-specific install script used by HP pwplus--don't use.
        !          2988:            :
        !          2989:          else
        !          2990:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          2991:            break 3
        !          2992:          fi
        !          2993:        fi
        !          2994:       done
        !          2995:     done
        !          2996:     ;;
        !          2997: esac
        !          2998: done
        !          2999: IFS=$as_save_IFS
        !          3000: 
        !          3001: 
        !          3002: fi
        !          3003:   if test "${ac_cv_path_install+set}" = set; then
        !          3004:     INSTALL=$ac_cv_path_install
        !          3005:   else
        !          3006:     # As a last resort, use the slow shell script.  Don't cache a
        !          3007:     # value for INSTALL within a source directory, because that will
        !          3008:     # break other packages using the cache if that directory is
        !          3009:     # removed, or if the value is a relative name.
        !          3010:     INSTALL=$ac_install_sh
        !          3011:   fi
        !          3012: fi
        !          3013: { echo "$as_me:$LINENO: result: $INSTALL" >&5
        !          3014: echo "${ECHO_T}$INSTALL" >&6; }
        !          3015: 
        !          3016: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !          3017: # It thinks the first close brace ends the variable substitution.
        !          3018: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !          3019: 
        !          3020: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
        !          3021: 
        !          3022: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !          3023: 
1.1.1.22  root     3024: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3025: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
                   3026: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3027: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     3028:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3029: else
1.1.1.19  root     3030:   cat >conftest.make <<\_ACEOF
1.1.1.22  root     3031: SHELL = /bin/sh
1.1       root     3032: all:
1.1.1.22  root     3033:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.1.1.19  root     3034: _ACEOF
1.1       root     3035: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.22  root     3036: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3037:   *@@@%%%=?*=@@@%%%*)
                   3038:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3039:   *)
                   3040:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3041: esac
1.1.1.19  root     3042: rm -f conftest.make
1.1       root     3043: fi
1.1.1.22  root     3044: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3045:   { echo "$as_me:$LINENO: result: yes" >&5
                   3046: echo "${ECHO_T}yes" >&6; }
1.1       root     3047:   SET_MAKE=
                   3048: else
1.1.1.22  root     3049:   { echo "$as_me:$LINENO: result: no" >&5
                   3050: echo "${ECHO_T}no" >&6; }
1.1       root     3051:   SET_MAKE="MAKE=${MAKE-make}"
                   3052: fi
                   3053: 
1.1.1.11  root     3054: # Extract the first word of "makedepend", so it can be a program name with args.
                   3055: set dummy makedepend; ac_word=$2
1.1.1.22  root     3056: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3057: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     3058: if test "${ac_cv_path_MAKEDEPPRG+set}" = set; then
                   3059:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     3060: else
1.1.1.19  root     3061:   case $MAKEDEPPRG in
                   3062:   [\\/]* | ?:[\\/]*)
1.1.1.11  root     3063:   ac_cv_path_MAKEDEPPRG="$MAKEDEPPRG" # Let the user override the test with a path.
                   3064:   ;;
                   3065:   *)
1.1.1.19  root     3066:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3067: for as_dir in $PATH
                   3068: do
                   3069:   IFS=$as_save_IFS
                   3070:   test -z "$as_dir" && as_dir=.
                   3071:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     3072:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     3073:     ac_cv_path_MAKEDEPPRG="$as_dir/$ac_word$ac_exec_ext"
                   3074:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3075:     break 2
                   3076:   fi
                   3077: done
                   3078: done
1.1.1.22  root     3079: IFS=$as_save_IFS
1.1.1.19  root     3080: 
                   3081:   test -z "$ac_cv_path_MAKEDEPPRG" && ac_cv_path_MAKEDEPPRG="not-found"
                   3082:   ;;
                   3083: esac
                   3084: fi
                   3085: MAKEDEPPRG=$ac_cv_path_MAKEDEPPRG
1.1.1.11  root     3086: if test -n "$MAKEDEPPRG"; then
1.1.1.22  root     3087:   { echo "$as_me:$LINENO: result: $MAKEDEPPRG" >&5
                   3088: echo "${ECHO_T}$MAKEDEPPRG" >&6; }
1.1.1.11  root     3089: else
1.1.1.22  root     3090:   { echo "$as_me:$LINENO: result: no" >&5
                   3091: echo "${ECHO_T}no" >&6; }
1.1.1.11  root     3092: fi
                   3093: 
1.1.1.22  root     3094: 
1.1.1.4   root     3095: # Extract the first word of "file", so it can be a program name with args.
                   3096: set dummy file; ac_word=$2
1.1.1.22  root     3097: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3098: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     3099: if test "${ac_cv_path_FILEPRG+set}" = set; then
                   3100:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     3101: else
1.1.1.19  root     3102:   case $FILEPRG in
                   3103:   [\\/]* | ?:[\\/]*)
1.1.1.4   root     3104:   ac_cv_path_FILEPRG="$FILEPRG" # Let the user override the test with a path.
                   3105:   ;;
                   3106:   *)
1.1.1.19  root     3107:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3108: for as_dir in $PATH
                   3109: do
                   3110:   IFS=$as_save_IFS
                   3111:   test -z "$as_dir" && as_dir=.
                   3112:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     3113:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     3114:     ac_cv_path_FILEPRG="$as_dir/$ac_word$ac_exec_ext"
                   3115:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3116:     break 2
                   3117:   fi
                   3118: done
                   3119: done
1.1.1.22  root     3120: IFS=$as_save_IFS
1.1.1.19  root     3121: 
1.1.1.4   root     3122:   test -z "$ac_cv_path_FILEPRG" && ac_cv_path_FILEPRG="not-found"
                   3123:   ;;
                   3124: esac
                   3125: fi
1.1.1.19  root     3126: FILEPRG=$ac_cv_path_FILEPRG
1.1.1.4   root     3127: if test -n "$FILEPRG"; then
1.1.1.22  root     3128:   { echo "$as_me:$LINENO: result: $FILEPRG" >&5
                   3129: echo "${ECHO_T}$FILEPRG" >&6; }
1.1.1.4   root     3130: else
1.1.1.22  root     3131:   { echo "$as_me:$LINENO: result: no" >&5
                   3132: echo "${ECHO_T}no" >&6; }
1.1.1.4   root     3133: fi
                   3134: 
1.1.1.22  root     3135: 
1.1.1.6   root     3136: # Extract the first word of "wrc", so it can be a program name with args.
                   3137: set dummy wrc; ac_word=$2
1.1.1.22  root     3138: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3139: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     3140: if test "${ac_cv_path_WRCPRG+set}" = set; then
                   3141:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     3142: else
1.1.1.19  root     3143:   case $WRCPRG in
                   3144:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     3145:   ac_cv_path_WRCPRG="$WRCPRG" # Let the user override the test with a path.
                   3146:   ;;
                   3147:   *)
1.1.1.19  root     3148:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3149: for as_dir in $PATH
                   3150: do
                   3151:   IFS=$as_save_IFS
                   3152:   test -z "$as_dir" && as_dir=.
                   3153:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     3154:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     3155:     ac_cv_path_WRCPRG="$as_dir/$ac_word$ac_exec_ext"
                   3156:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3157:     break 2
                   3158:   fi
                   3159: done
                   3160: done
1.1.1.22  root     3161: IFS=$as_save_IFS
1.1.1.19  root     3162: 
1.1.1.6   root     3163:   test -z "$ac_cv_path_WRCPRG" && ac_cv_path_WRCPRG="not-found"
                   3164:   ;;
                   3165: esac
                   3166: fi
1.1.1.19  root     3167: WRCPRG=$ac_cv_path_WRCPRG
1.1.1.6   root     3168: if test -n "$WRCPRG"; then
1.1.1.22  root     3169:   { echo "$as_me:$LINENO: result: $WRCPRG" >&5
                   3170: echo "${ECHO_T}$WRCPRG" >&6; }
1.1.1.6   root     3171: else
1.1.1.22  root     3172:   { echo "$as_me:$LINENO: result: no" >&5
                   3173: echo "${ECHO_T}no" >&6; }
1.1.1.6   root     3174: fi
                   3175: 
1.1.1.22  root     3176: 
1.1.1.6   root     3177: # Extract the first word of "rcl", so it can be a program name with args.
                   3178: set dummy rcl; ac_word=$2
1.1.1.22  root     3179: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3180: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     3181: if test "${ac_cv_path_RCLPRG+set}" = set; then
                   3182:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     3183: else
1.1.1.19  root     3184:   case $RCLPRG in
                   3185:   [\\/]* | ?:[\\/]*)
1.1.1.6   root     3186:   ac_cv_path_RCLPRG="$RCLPRG" # Let the user override the test with a path.
                   3187:   ;;
                   3188:   *)
1.1.1.19  root     3189:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3190: for as_dir in $PATH
                   3191: do
                   3192:   IFS=$as_save_IFS
                   3193:   test -z "$as_dir" && as_dir=.
                   3194:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     3195:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     3196:     ac_cv_path_RCLPRG="$as_dir/$ac_word$ac_exec_ext"
                   3197:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3198:     break 2
                   3199:   fi
                   3200: done
                   3201: done
1.1.1.22  root     3202: IFS=$as_save_IFS
1.1.1.19  root     3203: 
1.1.1.6   root     3204:   test -z "$ac_cv_path_RCLPRG" && ac_cv_path_RCLPRG="not-found"
                   3205:   ;;
                   3206: esac
                   3207: fi
1.1.1.19  root     3208: RCLPRG=$ac_cv_path_RCLPRG
1.1.1.6   root     3209: if test -n "$RCLPRG"; then
1.1.1.22  root     3210:   { echo "$as_me:$LINENO: result: $RCLPRG" >&5
                   3211: echo "${ECHO_T}$RCLPRG" >&6; }
1.1.1.6   root     3212: else
1.1.1.22  root     3213:   { echo "$as_me:$LINENO: result: no" >&5
                   3214: echo "${ECHO_T}no" >&6; }
1.1.1.6   root     3215: fi
                   3216: 
1.1.1.22  root     3217: 
1.1.1.16  root     3218: # Extract the first word of "sdl-config", so it can be a program name with args.
                   3219: set dummy sdl-config; ac_word=$2
1.1.1.22  root     3220: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3221: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.19  root     3222: if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
                   3223:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.16  root     3224: else
1.1.1.19  root     3225:   case $SDL_CONFIG in
                   3226:   [\\/]* | ?:[\\/]*)
1.1.1.16  root     3227:   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
                   3228:   ;;
                   3229:   *)
1.1.1.19  root     3230:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3231: for as_dir in $PATH
                   3232: do
                   3233:   IFS=$as_save_IFS
                   3234:   test -z "$as_dir" && as_dir=.
                   3235:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     3236:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.19  root     3237:     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   3238:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3239:     break 2
                   3240:   fi
                   3241: done
                   3242: done
1.1.1.22  root     3243: IFS=$as_save_IFS
1.1.1.19  root     3244: 
1.1.1.16  root     3245:   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="not-found"
                   3246:   ;;
                   3247: esac
                   3248: fi
1.1.1.19  root     3249: SDL_CONFIG=$ac_cv_path_SDL_CONFIG
1.1.1.16  root     3250: if test -n "$SDL_CONFIG"; then
1.1.1.22  root     3251:   { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
                   3252: echo "${ECHO_T}$SDL_CONFIG" >&6; }
                   3253: else
                   3254:   { echo "$as_me:$LINENO: result: no" >&5
                   3255: echo "${ECHO_T}no" >&6; }
                   3256: fi
                   3257: 
                   3258: 
                   3259: 
                   3260: 
                   3261: 
                   3262: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
                   3263: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
                   3264: if test "${ac_cv_path_GREP+set}" = set; then
                   3265:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3266: else
                   3267:   # Extract the first word of "grep ggrep" to use in msg output
                   3268: if test -z "$GREP"; then
                   3269: set dummy grep ggrep; ac_prog_name=$2
                   3270: if test "${ac_cv_path_GREP+set}" = set; then
                   3271:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3272: else
                   3273:   ac_path_GREP_found=false
                   3274: # Loop through the user's path and test for each of PROGNAME-LIST
                   3275: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3276: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3277: do
                   3278:   IFS=$as_save_IFS
                   3279:   test -z "$as_dir" && as_dir=.
                   3280:   for ac_prog in grep ggrep; do
                   3281:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3282:     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   3283:     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   3284:     # Check for GNU ac_path_GREP and select it if it is found.
                   3285:   # Check for GNU $ac_path_GREP
                   3286: case `"$ac_path_GREP" --version 2>&1` in
                   3287: *GNU*)
                   3288:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   3289: *)
                   3290:   ac_count=0
                   3291:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
                   3292:   while :
                   3293:   do
                   3294:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3295:     mv "conftest.tmp" "conftest.in"
                   3296:     cp "conftest.in" "conftest.nl"
                   3297:     echo 'GREP' >> "conftest.nl"
                   3298:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3299:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   3300:     ac_count=`expr $ac_count + 1`
                   3301:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3302:       # Best one so far, save it but keep looking for a better one
                   3303:       ac_cv_path_GREP="$ac_path_GREP"
                   3304:       ac_path_GREP_max=$ac_count
                   3305:     fi
                   3306:     # 10*(2^10) chars as input seems more than enough
                   3307:     test $ac_count -gt 10 && break
                   3308:   done
                   3309:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3310: esac
                   3311: 
                   3312: 
                   3313:     $ac_path_GREP_found && break 3
                   3314:   done
                   3315: done
                   3316: 
                   3317: done
                   3318: IFS=$as_save_IFS
                   3319: 
                   3320: 
                   3321: fi
                   3322: 
                   3323: GREP="$ac_cv_path_GREP"
                   3324: if test -z "$GREP"; then
                   3325:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
                   3326: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
                   3327:    { (exit 1); exit 1; }; }
                   3328: fi
                   3329: 
1.1.1.16  root     3330: else
1.1.1.22  root     3331:   ac_cv_path_GREP=$GREP
1.1.1.16  root     3332: fi
                   3333: 
1.1       root     3334: 
1.1.1.22  root     3335: fi
                   3336: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
                   3337: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
                   3338:  GREP="$ac_cv_path_GREP"
1.1.1.19  root     3339: 
                   3340: 
1.1.1.22  root     3341: { echo "$as_me:$LINENO: checking for egrep" >&5
                   3342: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
                   3343: if test "${ac_cv_path_EGREP+set}" = set; then
                   3344:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3345: else
                   3346:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   3347:    then ac_cv_path_EGREP="$GREP -E"
                   3348:    else
                   3349:      # Extract the first word of "egrep" to use in msg output
                   3350: if test -z "$EGREP"; then
                   3351: set dummy egrep; ac_prog_name=$2
                   3352: if test "${ac_cv_path_EGREP+set}" = set; then
1.1.1.19  root     3353:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3354: else
1.1.1.22  root     3355:   ac_path_EGREP_found=false
                   3356: # Loop through the user's path and test for each of PROGNAME-LIST
                   3357: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3358: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3359: do
                   3360:   IFS=$as_save_IFS
                   3361:   test -z "$as_dir" && as_dir=.
                   3362:   for ac_prog in egrep; do
                   3363:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3364:     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   3365:     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   3366:     # Check for GNU ac_path_EGREP and select it if it is found.
                   3367:   # Check for GNU $ac_path_EGREP
                   3368: case `"$ac_path_EGREP" --version 2>&1` in
                   3369: *GNU*)
                   3370:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   3371: *)
                   3372:   ac_count=0
                   3373:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
                   3374:   while :
                   3375:   do
                   3376:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3377:     mv "conftest.tmp" "conftest.in"
                   3378:     cp "conftest.in" "conftest.nl"
                   3379:     echo 'EGREP' >> "conftest.nl"
                   3380:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3381:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   3382:     ac_count=`expr $ac_count + 1`
                   3383:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   3384:       # Best one so far, save it but keep looking for a better one
                   3385:       ac_cv_path_EGREP="$ac_path_EGREP"
                   3386:       ac_path_EGREP_max=$ac_count
1.1.1.19  root     3387:     fi
1.1.1.22  root     3388:     # 10*(2^10) chars as input seems more than enough
                   3389:     test $ac_count -gt 10 && break
                   3390:   done
                   3391:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3392: esac
                   3393: 
                   3394: 
                   3395:     $ac_path_EGREP_found && break 3
                   3396:   done
                   3397: done
                   3398: 
                   3399: done
                   3400: IFS=$as_save_IFS
                   3401: 
                   3402: 
                   3403: fi
                   3404: 
                   3405: EGREP="$ac_cv_path_EGREP"
                   3406: if test -z "$EGREP"; then
                   3407:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
                   3408: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
                   3409:    { (exit 1); exit 1; }; }
1.1.1.19  root     3410: fi
1.1.1.22  root     3411: 
                   3412: else
                   3413:   ac_cv_path_EGREP=$EGREP
                   3414: fi
                   3415: 
                   3416: 
                   3417:    fi
                   3418: fi
                   3419: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
                   3420: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
                   3421:  EGREP="$ac_cv_path_EGREP"
1.1.1.19  root     3422: 
                   3423: 
                   3424: 
1.1.1.22  root     3425: { echo "$as_me:$LINENO: checking for AIX" >&5
                   3426: echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
1.1.1.19  root     3427: cat >conftest.$ac_ext <<_ACEOF
                   3428: /* confdefs.h.  */
                   3429: _ACEOF
                   3430: cat confdefs.h >>conftest.$ac_ext
                   3431: cat >>conftest.$ac_ext <<_ACEOF
                   3432: /* end confdefs.h.  */
1.1       root     3433: #ifdef _AIX
                   3434:   yes
                   3435: #endif
                   3436: 
1.1.1.19  root     3437: _ACEOF
1.1       root     3438: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     3439:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.22  root     3440:   { echo "$as_me:$LINENO: result: yes" >&5
                   3441: echo "${ECHO_T}yes" >&6; }
1.1.1.19  root     3442: cat >>confdefs.h <<\_ACEOF
1.1       root     3443: #define _ALL_SOURCE 1
1.1.1.19  root     3444: _ACEOF
1.1       root     3445: 
                   3446: else
1.1.1.22  root     3447:   { echo "$as_me:$LINENO: result: no" >&5
                   3448: echo "${ECHO_T}no" >&6; }
1.1       root     3449: fi
                   3450: rm -f conftest*
                   3451: 
                   3452: 
1.1.1.22  root     3453: { echo "$as_me:$LINENO: checking for library containing strerror" >&5
                   3454: echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
1.1.1.19  root     3455: if test "${ac_cv_search_strerror+set}" = set; then
                   3456:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3457: else
                   3458:   ac_func_search_save_LIBS=$LIBS
                   3459: cat >conftest.$ac_ext <<_ACEOF
                   3460: /* confdefs.h.  */
                   3461: _ACEOF
                   3462: cat confdefs.h >>conftest.$ac_ext
                   3463: cat >>conftest.$ac_ext <<_ACEOF
                   3464: /* end confdefs.h.  */
1.1       root     3465: 
1.1.1.22  root     3466: /* Override any GCC internal prototype to avoid an error.
                   3467:    Use char because int might match the return type of a GCC
                   3468:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     3469: #ifdef __cplusplus
                   3470: extern "C"
                   3471: #endif
                   3472: char strerror ();
                   3473: int
                   3474: main ()
                   3475: {
1.1.1.22  root     3476: return strerror ();
1.1.1.19  root     3477:   ;
                   3478:   return 0;
                   3479: }
                   3480: _ACEOF
1.1.1.22  root     3481: for ac_lib in '' cposix; do
                   3482:   if test -z "$ac_lib"; then
                   3483:     ac_res="none required"
                   3484:   else
                   3485:     ac_res=-l$ac_lib
                   3486:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   3487:   fi
                   3488:   rm -f conftest.$ac_objext conftest$ac_exeext
                   3489: if { (ac_try="$ac_link"
                   3490: case "(($ac_try" in
                   3491:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3492:   *) ac_try_echo=$ac_try;;
                   3493: esac
                   3494: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3495:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3496:   ac_status=$?
                   3497:   grep -v '^ *+' conftest.er1 >conftest.err
                   3498:   rm -f conftest.er1
                   3499:   cat conftest.err >&5
                   3500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3501:   (exit $ac_status); } && {
                   3502:         test -z "$ac_c_werror_flag" ||
                   3503:         test ! -s conftest.err
                   3504:        } && test -s conftest$ac_exeext &&
                   3505:        $as_test_x conftest$ac_exeext; then
                   3506:   ac_cv_search_strerror=$ac_res
1.1.1.19  root     3507: else
                   3508:   echo "$as_me: failed program was:" >&5
                   3509: sed 's/^/| /' conftest.$ac_ext >&5
                   3510: 
                   3511: 
1.1.1.22  root     3512: fi
1.1.1.19  root     3513: 
1.1.1.22  root     3514: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
                   3515:       conftest$ac_exeext
                   3516:   if test "${ac_cv_search_strerror+set}" = set; then
                   3517:   break
1.1.1.19  root     3518: fi
1.1.1.22  root     3519: done
                   3520: if test "${ac_cv_search_strerror+set}" = set; then
                   3521:   :
                   3522: else
                   3523:   ac_cv_search_strerror=no
1.1.1.19  root     3524: fi
1.1.1.22  root     3525: rm conftest.$ac_ext
1.1.1.19  root     3526: LIBS=$ac_func_search_save_LIBS
1.1       root     3527: fi
1.1.1.22  root     3528: { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
                   3529: echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
                   3530: ac_res=$ac_cv_search_strerror
                   3531: if test "$ac_res" != no; then
                   3532:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1       root     3533: 
1.1.1.19  root     3534: fi
1.1       root     3535: 
1.1.1.19  root     3536: 
1.1.1.22  root     3537: { echo "$as_me:$LINENO: checking for Watcom C" >&5
                   3538: echo $ECHO_N "checking for Watcom C... $ECHO_C" >&6; }
1.1.1.19  root     3539: cat >conftest.$ac_ext <<_ACEOF
                   3540: /* confdefs.h.  */
                   3541: _ACEOF
                   3542: cat confdefs.h >>conftest.$ac_ext
                   3543: cat >>conftest.$ac_ext <<_ACEOF
                   3544: /* end confdefs.h.  */
1.1.1.6   root     3545: #ifdef __WATCOMC__
                   3546:   yes
                   3547: #endif
                   3548: 
1.1.1.19  root     3549: _ACEOF
1.1.1.6   root     3550: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     3551:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     3552:   uae_cv_prog_cc_watcom=yes
                   3553: else
                   3554:   uae_cv_prog_cc_watcom=no
                   3555: fi
                   3556: rm -f conftest*
                   3557: 
1.1.1.22  root     3558: { echo "$as_me:$LINENO: result: $uae_cv_prog_cc_watcom" >&5
                   3559: echo "${ECHO_T}$uae_cv_prog_cc_watcom" >&6; }
1.1.1.6   root     3560: 
1.1.1.19  root     3561: # Make sure we can run config.sub.
1.1.1.22  root     3562: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3563:   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
                   3564: echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1.1.1.19  root     3565:    { (exit 1); exit 1; }; }
                   3566: 
1.1.1.22  root     3567: { echo "$as_me:$LINENO: checking build system type" >&5
                   3568: echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1.1.1.19  root     3569: if test "${ac_cv_build+set}" = set; then
                   3570:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3571: else
1.1.1.22  root     3572:   ac_build_alias=$build_alias
                   3573: test "x$ac_build_alias" = x &&
                   3574:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3575: test "x$ac_build_alias" = x &&
1.1.1.19  root     3576:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3577: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3578:    { (exit 1); exit 1; }; }
1.1.1.22  root     3579: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3580:   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
                   3581: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1.1.1.19  root     3582:    { (exit 1); exit 1; }; }
                   3583: 
                   3584: fi
1.1.1.22  root     3585: { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3586: echo "${ECHO_T}$ac_cv_build" >&6; }
                   3587: case $ac_cv_build in
                   3588: *-*-*) ;;
                   3589: *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
                   3590: echo "$as_me: error: invalid value of canonical build" >&2;}
                   3591:    { (exit 1); exit 1; }; };;
                   3592: esac
1.1.1.19  root     3593: build=$ac_cv_build
1.1.1.22  root     3594: ac_save_IFS=$IFS; IFS='-'
                   3595: set x $ac_cv_build
                   3596: shift
                   3597: build_cpu=$1
                   3598: build_vendor=$2
                   3599: shift; shift
                   3600: # Remember, the first character of IFS is used to create $*,
                   3601: # except with old shells:
                   3602: build_os=$*
                   3603: IFS=$ac_save_IFS
                   3604: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.1.1.19  root     3605: 
                   3606: 
1.1.1.22  root     3607: { echo "$as_me:$LINENO: checking host system type" >&5
                   3608: echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1.1.1.19  root     3609: if test "${ac_cv_host+set}" = set; then
                   3610:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3611: else
1.1.1.22  root     3612:   if test "x$host_alias" = x; then
                   3613:   ac_cv_host=$ac_cv_build
                   3614: else
                   3615:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3616:     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
                   3617: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.1.1.19  root     3618:    { (exit 1); exit 1; }; }
1.1.1.22  root     3619: fi
1.1.1.19  root     3620: 
                   3621: fi
1.1.1.22  root     3622: { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3623: echo "${ECHO_T}$ac_cv_host" >&6; }
                   3624: case $ac_cv_host in
                   3625: *-*-*) ;;
                   3626: *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
                   3627: echo "$as_me: error: invalid value of canonical host" >&2;}
                   3628:    { (exit 1); exit 1; }; };;
                   3629: esac
1.1.1.19  root     3630: host=$ac_cv_host
1.1.1.22  root     3631: ac_save_IFS=$IFS; IFS='-'
                   3632: set x $ac_cv_host
                   3633: shift
                   3634: host_cpu=$1
                   3635: host_vendor=$2
                   3636: shift; shift
                   3637: # Remember, the first character of IFS is used to create $*,
                   3638: # except with old shells:
                   3639: host_os=$*
                   3640: IFS=$ac_save_IFS
                   3641: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1.1.19  root     3642: 
                   3643: 
                   3644: case $host_os in
                   3645:   *cygwin* ) CYGWIN=yes;;
                   3646:         * ) CYGWIN=no;;
                   3647: esac
1.1.1.6   root     3648: 
1.1.1.19  root     3649: case $host_os in
                   3650:   *mingw32* ) MINGW32=yes;;
                   3651:          * ) MINGW32=no;;
                   3652: esac
1.1.1.6   root     3653: 
                   3654: 
                   3655: 
1.1.1.4   root     3656: NR_WARNINGS=0
                   3657: NR_ERRORS=0
                   3658: 
1.1.1.6   root     3659: tmp_save_dir=`pwd`
                   3660: cd $srcdir
                   3661: abssrcdir=`pwd`
                   3662: cd $tmp_save_dir
                   3663: 
1.1.1.4   root     3664: NEED_THREAD_SUPPORT=no
                   3665: 
                   3666: ADDITIONAL_CFLAGS=
                   3667: OPTIMIZE_CFLAGS=
                   3668: WARNING_CFLAGS=
                   3669: DEBUG_CFLAGS=
                   3670: NO_SCHED_CFLAGS=
1.1.1.19  root     3671: NO_REORDER_CFLAGS=
1.1.1.14  root     3672: LDFLAGS="$LDFLAGS -L."
1.1.1.4   root     3673: 
                   3674: HAVE_BEOS=no
1.1.1.22  root     3675: { echo "$as_me:$LINENO: checking for main in -lMedia_s" >&5
                   3676: echo $ECHO_N "checking for main in -lMedia_s... $ECHO_C" >&6; }
1.1.1.19  root     3677: if test "${ac_cv_lib_Media_s_main+set}" = set; then
                   3678:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3679: else
1.1.1.19  root     3680:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3681: LIBS="-lMedia_s  $LIBS"
1.1.1.19  root     3682: cat >conftest.$ac_ext <<_ACEOF
                   3683: /* confdefs.h.  */
                   3684: _ACEOF
                   3685: cat confdefs.h >>conftest.$ac_ext
                   3686: cat >>conftest.$ac_ext <<_ACEOF
                   3687: /* end confdefs.h.  */
1.1       root     3688: 
                   3689: 
1.1.1.19  root     3690: int
                   3691: main ()
                   3692: {
1.1.1.22  root     3693: return main ();
1.1.1.19  root     3694:   ;
                   3695:   return 0;
                   3696: }
                   3697: _ACEOF
                   3698: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     3699: if { (ac_try="$ac_link"
                   3700: case "(($ac_try" in
                   3701:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3702:   *) ac_try_echo=$ac_try;;
                   3703: esac
                   3704: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3705:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3706:   ac_status=$?
                   3707:   grep -v '^ *+' conftest.er1 >conftest.err
                   3708:   rm -f conftest.er1
                   3709:   cat conftest.err >&5
                   3710:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3711:   (exit $ac_status); } && {
                   3712:         test -z "$ac_c_werror_flag" ||
                   3713:         test ! -s conftest.err
                   3714:        } && test -s conftest$ac_exeext &&
                   3715:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     3716:   ac_cv_lib_Media_s_main=yes
                   3717: else
                   3718:   echo "$as_me: failed program was:" >&5
                   3719: sed 's/^/| /' conftest.$ac_ext >&5
                   3720: 
1.1.1.22  root     3721:        ac_cv_lib_Media_s_main=no
1.1.1.19  root     3722: fi
1.1.1.22  root     3723: 
                   3724: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     3725:       conftest$ac_exeext conftest.$ac_ext
                   3726: LIBS=$ac_check_lib_save_LIBS
                   3727: fi
1.1.1.22  root     3728: { echo "$as_me:$LINENO: result: $ac_cv_lib_Media_s_main" >&5
                   3729: echo "${ECHO_T}$ac_cv_lib_Media_s_main" >&6; }
1.1.1.19  root     3730: if test $ac_cv_lib_Media_s_main = yes; then
1.1.1.4   root     3731:   HAVE_MEDIA_LIB=yes
1.1       root     3732: else
1.1.1.19  root     3733:   HAVE_MEDIA_LIB=no
1.1       root     3734: fi
                   3735: 
1.1.1.22  root     3736: { echo "$as_me:$LINENO: checking for main in -lNeXT_s" >&5
                   3737: echo $ECHO_N "checking for main in -lNeXT_s... $ECHO_C" >&6; }
1.1.1.19  root     3738: if test "${ac_cv_lib_NeXT_s_main+set}" = set; then
                   3739:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3740: else
1.1.1.19  root     3741:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3742: LIBS="-lNeXT_s  $LIBS"
1.1.1.19  root     3743: cat >conftest.$ac_ext <<_ACEOF
                   3744: /* confdefs.h.  */
                   3745: _ACEOF
                   3746: cat confdefs.h >>conftest.$ac_ext
                   3747: cat >>conftest.$ac_ext <<_ACEOF
                   3748: /* end confdefs.h.  */
1.1       root     3749: 
                   3750: 
1.1.1.19  root     3751: int
                   3752: main ()
                   3753: {
1.1.1.22  root     3754: return main ();
1.1.1.19  root     3755:   ;
                   3756:   return 0;
                   3757: }
                   3758: _ACEOF
                   3759: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     3760: if { (ac_try="$ac_link"
                   3761: case "(($ac_try" in
                   3762:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3763:   *) ac_try_echo=$ac_try;;
                   3764: esac
                   3765: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3766:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3767:   ac_status=$?
                   3768:   grep -v '^ *+' conftest.er1 >conftest.err
                   3769:   rm -f conftest.er1
                   3770:   cat conftest.err >&5
                   3771:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3772:   (exit $ac_status); } && {
                   3773:         test -z "$ac_c_werror_flag" ||
                   3774:         test ! -s conftest.err
                   3775:        } && test -s conftest$ac_exeext &&
                   3776:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     3777:   ac_cv_lib_NeXT_s_main=yes
                   3778: else
                   3779:   echo "$as_me: failed program was:" >&5
                   3780: sed 's/^/| /' conftest.$ac_ext >&5
                   3781: 
1.1.1.22  root     3782:        ac_cv_lib_NeXT_s_main=no
1.1.1.19  root     3783: fi
1.1.1.22  root     3784: 
                   3785: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     3786:       conftest$ac_exeext conftest.$ac_ext
                   3787: LIBS=$ac_check_lib_save_LIBS
                   3788: fi
1.1.1.22  root     3789: { echo "$as_me:$LINENO: result: $ac_cv_lib_NeXT_s_main" >&5
                   3790: echo "${ECHO_T}$ac_cv_lib_NeXT_s_main" >&6; }
1.1.1.19  root     3791: if test $ac_cv_lib_NeXT_s_main = yes; then
1.1.1.4   root     3792:   HAVE_NEXT_LIB=yes
1.1       root     3793: else
1.1.1.19  root     3794:   HAVE_NEXT_LIB=no
1.1       root     3795: fi
                   3796: 
1.1.1.22  root     3797: { echo "$as_me:$LINENO: checking for cos in -lmoto" >&5
                   3798: echo $ECHO_N "checking for cos in -lmoto... $ECHO_C" >&6; }
1.1.1.19  root     3799: if test "${ac_cv_lib_moto_cos+set}" = set; then
                   3800:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.11  root     3801: else
1.1.1.19  root     3802:   ac_check_lib_save_LIBS=$LIBS
1.1.1.11  root     3803: LIBS="-lmoto  $LIBS"
1.1.1.19  root     3804: cat >conftest.$ac_ext <<_ACEOF
                   3805: /* confdefs.h.  */
                   3806: _ACEOF
                   3807: cat confdefs.h >>conftest.$ac_ext
                   3808: cat >>conftest.$ac_ext <<_ACEOF
                   3809: /* end confdefs.h.  */
                   3810: 
1.1.1.22  root     3811: /* Override any GCC internal prototype to avoid an error.
                   3812:    Use char because int might match the return type of a GCC
                   3813:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     3814: #ifdef __cplusplus
                   3815: extern "C"
                   3816: #endif
                   3817: char cos ();
                   3818: int
                   3819: main ()
                   3820: {
1.1.1.22  root     3821: return cos ();
1.1.1.19  root     3822:   ;
                   3823:   return 0;
                   3824: }
                   3825: _ACEOF
                   3826: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     3827: if { (ac_try="$ac_link"
                   3828: case "(($ac_try" in
                   3829:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3830:   *) ac_try_echo=$ac_try;;
                   3831: esac
                   3832: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3833:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3834:   ac_status=$?
                   3835:   grep -v '^ *+' conftest.er1 >conftest.err
                   3836:   rm -f conftest.er1
                   3837:   cat conftest.err >&5
                   3838:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3839:   (exit $ac_status); } && {
                   3840:         test -z "$ac_c_werror_flag" ||
                   3841:         test ! -s conftest.err
                   3842:        } && test -s conftest$ac_exeext &&
                   3843:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     3844:   ac_cv_lib_moto_cos=yes
                   3845: else
                   3846:   echo "$as_me: failed program was:" >&5
                   3847: sed 's/^/| /' conftest.$ac_ext >&5
                   3848: 
1.1.1.22  root     3849:        ac_cv_lib_moto_cos=no
1.1.1.19  root     3850: fi
1.1.1.22  root     3851: 
                   3852: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     3853:       conftest$ac_exeext conftest.$ac_ext
                   3854: LIBS=$ac_check_lib_save_LIBS
                   3855: fi
1.1.1.22  root     3856: { echo "$as_me:$LINENO: result: $ac_cv_lib_moto_cos" >&5
                   3857: echo "${ECHO_T}$ac_cv_lib_moto_cos" >&6; }
1.1.1.19  root     3858: if test $ac_cv_lib_moto_cos = yes; then
1.1.1.11  root     3859:   HAVE_MOTO_LIB=yes
                   3860: else
1.1.1.19  root     3861:   HAVE_MOTO_LIB=no
1.1.1.11  root     3862: fi
                   3863: 
1.1.1.22  root     3864: { echo "$as_me:$LINENO: checking for OpenLibrary in -lamiga" >&5
                   3865: echo $ECHO_N "checking for OpenLibrary in -lamiga... $ECHO_C" >&6; }
1.1.1.19  root     3866: if test "${ac_cv_lib_amiga_OpenLibrary+set}" = set; then
                   3867:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     3868: else
1.1.1.19  root     3869:   ac_check_lib_save_LIBS=$LIBS
1.1.1.3   root     3870: LIBS="-lamiga  $LIBS"
1.1.1.19  root     3871: cat >conftest.$ac_ext <<_ACEOF
                   3872: /* confdefs.h.  */
                   3873: _ACEOF
                   3874: cat confdefs.h >>conftest.$ac_ext
                   3875: cat >>conftest.$ac_ext <<_ACEOF
                   3876: /* end confdefs.h.  */
                   3877: 
1.1.1.22  root     3878: /* Override any GCC internal prototype to avoid an error.
                   3879:    Use char because int might match the return type of a GCC
                   3880:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     3881: #ifdef __cplusplus
                   3882: extern "C"
                   3883: #endif
                   3884: char OpenLibrary ();
                   3885: int
                   3886: main ()
                   3887: {
1.1.1.22  root     3888: return OpenLibrary ();
1.1.1.19  root     3889:   ;
                   3890:   return 0;
                   3891: }
                   3892: _ACEOF
                   3893: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     3894: if { (ac_try="$ac_link"
                   3895: case "(($ac_try" in
                   3896:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3897:   *) ac_try_echo=$ac_try;;
                   3898: esac
                   3899: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3900:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3901:   ac_status=$?
                   3902:   grep -v '^ *+' conftest.er1 >conftest.err
                   3903:   rm -f conftest.er1
                   3904:   cat conftest.err >&5
                   3905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3906:   (exit $ac_status); } && {
                   3907:         test -z "$ac_c_werror_flag" ||
                   3908:         test ! -s conftest.err
                   3909:        } && test -s conftest$ac_exeext &&
                   3910:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     3911:   ac_cv_lib_amiga_OpenLibrary=yes
                   3912: else
                   3913:   echo "$as_me: failed program was:" >&5
                   3914: sed 's/^/| /' conftest.$ac_ext >&5
                   3915: 
1.1.1.22  root     3916:        ac_cv_lib_amiga_OpenLibrary=no
1.1.1.19  root     3917: fi
1.1.1.22  root     3918: 
                   3919: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     3920:       conftest$ac_exeext conftest.$ac_ext
                   3921: LIBS=$ac_check_lib_save_LIBS
                   3922: fi
1.1.1.22  root     3923: { echo "$as_me:$LINENO: result: $ac_cv_lib_amiga_OpenLibrary" >&5
                   3924: echo "${ECHO_T}$ac_cv_lib_amiga_OpenLibrary" >&6; }
1.1.1.19  root     3925: if test $ac_cv_lib_amiga_OpenLibrary = yes; then
1.1.1.4   root     3926:   HAVE_AMIGA_LIB=yes
1.1.1.3   root     3927: else
1.1.1.19  root     3928:   HAVE_AMIGA_LIB=n
1.1.1.3   root     3929: fi
                   3930: 
1.1.1.22  root     3931: { echo "$as_me:$LINENO: checking for vga_setmode in -lvga" >&5
                   3932: echo $ECHO_N "checking for vga_setmode in -lvga... $ECHO_C" >&6; }
1.1.1.19  root     3933: if test "${ac_cv_lib_vga_vga_setmode+set}" = set; then
                   3934:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     3935: else
1.1.1.19  root     3936:   ac_check_lib_save_LIBS=$LIBS
1.1       root     3937: LIBS="-lvga  $LIBS"
1.1.1.19  root     3938: cat >conftest.$ac_ext <<_ACEOF
                   3939: /* confdefs.h.  */
                   3940: _ACEOF
                   3941: cat confdefs.h >>conftest.$ac_ext
                   3942: cat >>conftest.$ac_ext <<_ACEOF
                   3943: /* end confdefs.h.  */
                   3944: 
1.1.1.22  root     3945: /* Override any GCC internal prototype to avoid an error.
                   3946:    Use char because int might match the return type of a GCC
                   3947:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     3948: #ifdef __cplusplus
                   3949: extern "C"
                   3950: #endif
                   3951: char vga_setmode ();
                   3952: int
                   3953: main ()
                   3954: {
1.1.1.22  root     3955: return vga_setmode ();
1.1.1.19  root     3956:   ;
                   3957:   return 0;
                   3958: }
                   3959: _ACEOF
                   3960: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     3961: if { (ac_try="$ac_link"
                   3962: case "(($ac_try" in
                   3963:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3964:   *) ac_try_echo=$ac_try;;
                   3965: esac
                   3966: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   3967:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     3968:   ac_status=$?
                   3969:   grep -v '^ *+' conftest.er1 >conftest.err
                   3970:   rm -f conftest.er1
                   3971:   cat conftest.err >&5
                   3972:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     3973:   (exit $ac_status); } && {
                   3974:         test -z "$ac_c_werror_flag" ||
                   3975:         test ! -s conftest.err
                   3976:        } && test -s conftest$ac_exeext &&
                   3977:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     3978:   ac_cv_lib_vga_vga_setmode=yes
                   3979: else
                   3980:   echo "$as_me: failed program was:" >&5
                   3981: sed 's/^/| /' conftest.$ac_ext >&5
                   3982: 
1.1.1.22  root     3983:        ac_cv_lib_vga_vga_setmode=no
1.1.1.19  root     3984: fi
1.1.1.22  root     3985: 
                   3986: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     3987:       conftest$ac_exeext conftest.$ac_ext
                   3988: LIBS=$ac_check_lib_save_LIBS
                   3989: fi
1.1.1.22  root     3990: { echo "$as_me:$LINENO: result: $ac_cv_lib_vga_vga_setmode" >&5
                   3991: echo "${ECHO_T}$ac_cv_lib_vga_vga_setmode" >&6; }
1.1.1.19  root     3992: if test $ac_cv_lib_vga_vga_setmode = yes; then
1.1.1.4   root     3993:   HAVE_SVGA_LIB=yes
1.1       root     3994: else
1.1.1.19  root     3995:   HAVE_SVGA_LIB=no
1.1       root     3996: fi
                   3997: 
1.1.1.22  root     3998: { echo "$as_me:$LINENO: checking for AFOpenAudioConn in -lAF" >&5
                   3999: echo $ECHO_N "checking for AFOpenAudioConn in -lAF... $ECHO_C" >&6; }
1.1.1.19  root     4000: if test "${ac_cv_lib_AF_AFOpenAudioConn+set}" = set; then
                   4001:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4002: else
1.1.1.19  root     4003:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4004: LIBS="-lAF  $LIBS"
1.1.1.19  root     4005: cat >conftest.$ac_ext <<_ACEOF
                   4006: /* confdefs.h.  */
                   4007: _ACEOF
                   4008: cat confdefs.h >>conftest.$ac_ext
                   4009: cat >>conftest.$ac_ext <<_ACEOF
                   4010: /* end confdefs.h.  */
                   4011: 
1.1.1.22  root     4012: /* Override any GCC internal prototype to avoid an error.
                   4013:    Use char because int might match the return type of a GCC
                   4014:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4015: #ifdef __cplusplus
                   4016: extern "C"
                   4017: #endif
                   4018: char AFOpenAudioConn ();
                   4019: int
                   4020: main ()
                   4021: {
1.1.1.22  root     4022: return AFOpenAudioConn ();
1.1.1.19  root     4023:   ;
                   4024:   return 0;
                   4025: }
                   4026: _ACEOF
                   4027: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4028: if { (ac_try="$ac_link"
                   4029: case "(($ac_try" in
                   4030:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4031:   *) ac_try_echo=$ac_try;;
                   4032: esac
                   4033: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4034:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4035:   ac_status=$?
                   4036:   grep -v '^ *+' conftest.er1 >conftest.err
                   4037:   rm -f conftest.er1
                   4038:   cat conftest.err >&5
                   4039:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4040:   (exit $ac_status); } && {
                   4041:         test -z "$ac_c_werror_flag" ||
                   4042:         test ! -s conftest.err
                   4043:        } && test -s conftest$ac_exeext &&
                   4044:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4045:   ac_cv_lib_AF_AFOpenAudioConn=yes
                   4046: else
                   4047:   echo "$as_me: failed program was:" >&5
                   4048: sed 's/^/| /' conftest.$ac_ext >&5
                   4049: 
1.1.1.22  root     4050:        ac_cv_lib_AF_AFOpenAudioConn=no
1.1.1.19  root     4051: fi
1.1.1.22  root     4052: 
                   4053: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4054:       conftest$ac_exeext conftest.$ac_ext
                   4055: LIBS=$ac_check_lib_save_LIBS
                   4056: fi
1.1.1.22  root     4057: { echo "$as_me:$LINENO: result: $ac_cv_lib_AF_AFOpenAudioConn" >&5
                   4058: echo "${ECHO_T}$ac_cv_lib_AF_AFOpenAudioConn" >&6; }
1.1.1.19  root     4059: if test $ac_cv_lib_AF_AFOpenAudioConn = yes; then
1.1.1.4   root     4060:   HAVE_AF_LIB=yes
                   4061: else
1.1.1.19  root     4062:   HAVE_AF_LIB=no
1.1.1.4   root     4063: fi
                   4064: 
1.1.1.22  root     4065: { echo "$as_me:$LINENO: checking for waveOutGetNumDevs in -lmme" >&5
                   4066: echo $ECHO_N "checking for waveOutGetNumDevs in -lmme... $ECHO_C" >&6; }
1.1.1.19  root     4067: if test "${ac_cv_lib_mme_waveOutGetNumDevs+set}" = set; then
                   4068:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     4069: else
1.1.1.19  root     4070:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     4071: LIBS="-lmme  $LIBS"
1.1.1.19  root     4072: cat >conftest.$ac_ext <<_ACEOF
                   4073: /* confdefs.h.  */
                   4074: _ACEOF
                   4075: cat confdefs.h >>conftest.$ac_ext
                   4076: cat >>conftest.$ac_ext <<_ACEOF
                   4077: /* end confdefs.h.  */
                   4078: 
1.1.1.22  root     4079: /* Override any GCC internal prototype to avoid an error.
                   4080:    Use char because int might match the return type of a GCC
                   4081:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4082: #ifdef __cplusplus
                   4083: extern "C"
                   4084: #endif
                   4085: char waveOutGetNumDevs ();
                   4086: int
                   4087: main ()
                   4088: {
1.1.1.22  root     4089: return waveOutGetNumDevs ();
1.1.1.19  root     4090:   ;
                   4091:   return 0;
                   4092: }
                   4093: _ACEOF
                   4094: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4095: if { (ac_try="$ac_link"
                   4096: case "(($ac_try" in
                   4097:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4098:   *) ac_try_echo=$ac_try;;
                   4099: esac
                   4100: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4101:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4102:   ac_status=$?
                   4103:   grep -v '^ *+' conftest.er1 >conftest.err
                   4104:   rm -f conftest.er1
                   4105:   cat conftest.err >&5
                   4106:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4107:   (exit $ac_status); } && {
                   4108:         test -z "$ac_c_werror_flag" ||
                   4109:         test ! -s conftest.err
                   4110:        } && test -s conftest$ac_exeext &&
                   4111:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4112:   ac_cv_lib_mme_waveOutGetNumDevs=yes
                   4113: else
                   4114:   echo "$as_me: failed program was:" >&5
                   4115: sed 's/^/| /' conftest.$ac_ext >&5
                   4116: 
1.1.1.22  root     4117:        ac_cv_lib_mme_waveOutGetNumDevs=no
1.1.1.19  root     4118: fi
1.1.1.22  root     4119: 
                   4120: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4121:       conftest$ac_exeext conftest.$ac_ext
                   4122: LIBS=$ac_check_lib_save_LIBS
                   4123: fi
1.1.1.22  root     4124: { echo "$as_me:$LINENO: result: $ac_cv_lib_mme_waveOutGetNumDevs" >&5
                   4125: echo "${ECHO_T}$ac_cv_lib_mme_waveOutGetNumDevs" >&6; }
1.1.1.19  root     4126: if test $ac_cv_lib_mme_waveOutGetNumDevs = yes; then
1.1.1.6   root     4127:   HAVE_MME_LIB=yes
                   4128: else
1.1.1.19  root     4129:   HAVE_MME_LIB=no
1.1.1.6   root     4130: fi
                   4131: 
1.1.1.22  root     4132: { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
                   4133: echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
1.1.1.19  root     4134: if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
                   4135:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     4136: else
1.1.1.19  root     4137:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     4138: LIBS="-lncurses  $LIBS"
1.1.1.19  root     4139: cat >conftest.$ac_ext <<_ACEOF
                   4140: /* confdefs.h.  */
                   4141: _ACEOF
                   4142: cat confdefs.h >>conftest.$ac_ext
                   4143: cat >>conftest.$ac_ext <<_ACEOF
                   4144: /* end confdefs.h.  */
                   4145: 
1.1.1.22  root     4146: /* Override any GCC internal prototype to avoid an error.
                   4147:    Use char because int might match the return type of a GCC
                   4148:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4149: #ifdef __cplusplus
                   4150: extern "C"
                   4151: #endif
                   4152: char waddch ();
                   4153: int
                   4154: main ()
                   4155: {
1.1.1.22  root     4156: return waddch ();
1.1.1.19  root     4157:   ;
                   4158:   return 0;
                   4159: }
                   4160: _ACEOF
                   4161: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4162: if { (ac_try="$ac_link"
                   4163: case "(($ac_try" in
                   4164:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4165:   *) ac_try_echo=$ac_try;;
                   4166: esac
                   4167: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4168:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4169:   ac_status=$?
                   4170:   grep -v '^ *+' conftest.er1 >conftest.err
                   4171:   rm -f conftest.er1
                   4172:   cat conftest.err >&5
                   4173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4174:   (exit $ac_status); } && {
                   4175:         test -z "$ac_c_werror_flag" ||
                   4176:         test ! -s conftest.err
                   4177:        } && test -s conftest$ac_exeext &&
                   4178:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4179:   ac_cv_lib_ncurses_waddch=yes
                   4180: else
                   4181:   echo "$as_me: failed program was:" >&5
                   4182: sed 's/^/| /' conftest.$ac_ext >&5
                   4183: 
1.1.1.22  root     4184:        ac_cv_lib_ncurses_waddch=no
1.1.1.19  root     4185: fi
1.1.1.22  root     4186: 
                   4187: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4188:       conftest$ac_exeext conftest.$ac_ext
                   4189: LIBS=$ac_check_lib_save_LIBS
                   4190: fi
1.1.1.22  root     4191: { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
                   4192: echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
1.1.1.19  root     4193: if test $ac_cv_lib_ncurses_waddch = yes; then
1.1.1.4   root     4194:   HAVE_NCURSES_LIB=yes
                   4195: else
1.1.1.19  root     4196:   HAVE_NCURSES_LIB=no
1.1.1.4   root     4197: fi
                   4198: 
1.1.1.22  root     4199: { echo "$as_me:$LINENO: checking for sem_init in -lposix4" >&5
                   4200: echo $ECHO_N "checking for sem_init in -lposix4... $ECHO_C" >&6; }
1.1.1.19  root     4201: if test "${ac_cv_lib_posix4_sem_init+set}" = set; then
                   4202:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     4203: else
1.1.1.19  root     4204:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     4205: LIBS="-lposix4  $LIBS"
1.1.1.19  root     4206: cat >conftest.$ac_ext <<_ACEOF
                   4207: /* confdefs.h.  */
                   4208: _ACEOF
                   4209: cat confdefs.h >>conftest.$ac_ext
                   4210: cat >>conftest.$ac_ext <<_ACEOF
                   4211: /* end confdefs.h.  */
                   4212: 
1.1.1.22  root     4213: /* Override any GCC internal prototype to avoid an error.
                   4214:    Use char because int might match the return type of a GCC
                   4215:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4216: #ifdef __cplusplus
                   4217: extern "C"
                   4218: #endif
                   4219: char sem_init ();
                   4220: int
                   4221: main ()
                   4222: {
1.1.1.22  root     4223: return sem_init ();
1.1.1.19  root     4224:   ;
                   4225:   return 0;
                   4226: }
                   4227: _ACEOF
                   4228: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4229: if { (ac_try="$ac_link"
                   4230: case "(($ac_try" in
                   4231:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4232:   *) ac_try_echo=$ac_try;;
                   4233: esac
                   4234: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4235:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4236:   ac_status=$?
                   4237:   grep -v '^ *+' conftest.er1 >conftest.err
                   4238:   rm -f conftest.er1
                   4239:   cat conftest.err >&5
                   4240:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4241:   (exit $ac_status); } && {
                   4242:         test -z "$ac_c_werror_flag" ||
                   4243:         test ! -s conftest.err
                   4244:        } && test -s conftest$ac_exeext &&
                   4245:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4246:   ac_cv_lib_posix4_sem_init=yes
                   4247: else
                   4248:   echo "$as_me: failed program was:" >&5
                   4249: sed 's/^/| /' conftest.$ac_ext >&5
                   4250: 
1.1.1.22  root     4251:        ac_cv_lib_posix4_sem_init=no
1.1.1.19  root     4252: fi
1.1.1.22  root     4253: 
                   4254: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4255:       conftest$ac_exeext conftest.$ac_ext
                   4256: LIBS=$ac_check_lib_save_LIBS
                   4257: fi
1.1.1.22  root     4258: { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sem_init" >&5
                   4259: echo "${ECHO_T}$ac_cv_lib_posix4_sem_init" >&6; }
1.1.1.19  root     4260: if test $ac_cv_lib_posix4_sem_init = yes; then
1.1.1.6   root     4261:   HAVE_POSIX4_LIB=yes
1.1.1.4   root     4262: else
1.1.1.19  root     4263:   HAVE_POSIX4_LIB=no
1.1.1.4   root     4264: fi
                   4265: 
1.1.1.22  root     4266: { echo "$as_me:$LINENO: checking for sem_init in -lrt" >&5
                   4267: echo $ECHO_N "checking for sem_init in -lrt... $ECHO_C" >&6; }
1.1.1.19  root     4268: if test "${ac_cv_lib_rt_sem_init+set}" = set; then
                   4269:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     4270: else
1.1.1.19  root     4271:   ac_check_lib_save_LIBS=$LIBS
1.1.1.6   root     4272: LIBS="-lrt  $LIBS"
1.1.1.19  root     4273: cat >conftest.$ac_ext <<_ACEOF
                   4274: /* confdefs.h.  */
                   4275: _ACEOF
                   4276: cat confdefs.h >>conftest.$ac_ext
                   4277: cat >>conftest.$ac_ext <<_ACEOF
                   4278: /* end confdefs.h.  */
                   4279: 
1.1.1.22  root     4280: /* Override any GCC internal prototype to avoid an error.
                   4281:    Use char because int might match the return type of a GCC
                   4282:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4283: #ifdef __cplusplus
                   4284: extern "C"
                   4285: #endif
                   4286: char sem_init ();
                   4287: int
                   4288: main ()
                   4289: {
1.1.1.22  root     4290: return sem_init ();
1.1.1.19  root     4291:   ;
                   4292:   return 0;
                   4293: }
                   4294: _ACEOF
                   4295: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4296: if { (ac_try="$ac_link"
                   4297: case "(($ac_try" in
                   4298:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4299:   *) ac_try_echo=$ac_try;;
                   4300: esac
                   4301: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4302:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4303:   ac_status=$?
                   4304:   grep -v '^ *+' conftest.er1 >conftest.err
                   4305:   rm -f conftest.er1
                   4306:   cat conftest.err >&5
                   4307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4308:   (exit $ac_status); } && {
                   4309:         test -z "$ac_c_werror_flag" ||
                   4310:         test ! -s conftest.err
                   4311:        } && test -s conftest$ac_exeext &&
                   4312:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4313:   ac_cv_lib_rt_sem_init=yes
                   4314: else
                   4315:   echo "$as_me: failed program was:" >&5
                   4316: sed 's/^/| /' conftest.$ac_ext >&5
                   4317: 
1.1.1.22  root     4318:        ac_cv_lib_rt_sem_init=no
1.1.1.19  root     4319: fi
1.1.1.22  root     4320: 
                   4321: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4322:       conftest$ac_exeext conftest.$ac_ext
                   4323: LIBS=$ac_check_lib_save_LIBS
                   4324: fi
1.1.1.22  root     4325: { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sem_init" >&5
                   4326: echo "${ECHO_T}$ac_cv_lib_rt_sem_init" >&6; }
1.1.1.19  root     4327: if test $ac_cv_lib_rt_sem_init = yes; then
1.1.1.6   root     4328:   HAVE_RT_LIB=yes
1.1.1.4   root     4329: else
1.1.1.19  root     4330:   HAVE_RT_LIB=no
1.1.1.4   root     4331: fi
                   4332: 
1.1.1.22  root     4333: { echo "$as_me:$LINENO: checking for alOpenPort in -laudio" >&5
                   4334: echo $ECHO_N "checking for alOpenPort in -laudio... $ECHO_C" >&6; }
1.1.1.19  root     4335: if test "${ac_cv_lib_audio_alOpenPort+set}" = set; then
                   4336:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.8   root     4337: else
1.1.1.19  root     4338:   ac_check_lib_save_LIBS=$LIBS
1.1.1.8   root     4339: LIBS="-laudio  $LIBS"
1.1.1.19  root     4340: cat >conftest.$ac_ext <<_ACEOF
                   4341: /* confdefs.h.  */
                   4342: _ACEOF
                   4343: cat confdefs.h >>conftest.$ac_ext
                   4344: cat >>conftest.$ac_ext <<_ACEOF
                   4345: /* end confdefs.h.  */
                   4346: 
1.1.1.22  root     4347: /* Override any GCC internal prototype to avoid an error.
                   4348:    Use char because int might match the return type of a GCC
                   4349:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4350: #ifdef __cplusplus
                   4351: extern "C"
                   4352: #endif
                   4353: char alOpenPort ();
                   4354: int
                   4355: main ()
                   4356: {
1.1.1.22  root     4357: return alOpenPort ();
1.1.1.19  root     4358:   ;
                   4359:   return 0;
                   4360: }
                   4361: _ACEOF
                   4362: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4363: if { (ac_try="$ac_link"
                   4364: case "(($ac_try" in
                   4365:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4366:   *) ac_try_echo=$ac_try;;
                   4367: esac
                   4368: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4369:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4370:   ac_status=$?
                   4371:   grep -v '^ *+' conftest.er1 >conftest.err
                   4372:   rm -f conftest.er1
                   4373:   cat conftest.err >&5
                   4374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4375:   (exit $ac_status); } && {
                   4376:         test -z "$ac_c_werror_flag" ||
                   4377:         test ! -s conftest.err
                   4378:        } && test -s conftest$ac_exeext &&
                   4379:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4380:   ac_cv_lib_audio_alOpenPort=yes
                   4381: else
                   4382:   echo "$as_me: failed program was:" >&5
                   4383: sed 's/^/| /' conftest.$ac_ext >&5
                   4384: 
1.1.1.22  root     4385:        ac_cv_lib_audio_alOpenPort=no
1.1.1.19  root     4386: fi
1.1.1.22  root     4387: 
                   4388: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4389:       conftest$ac_exeext conftest.$ac_ext
                   4390: LIBS=$ac_check_lib_save_LIBS
                   4391: fi
1.1.1.22  root     4392: { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_alOpenPort" >&5
                   4393: echo "${ECHO_T}$ac_cv_lib_audio_alOpenPort" >&6; }
1.1.1.19  root     4394: if test $ac_cv_lib_audio_alOpenPort = yes; then
1.1.1.8   root     4395:   HAVE_SGIAUDIO_LIB=yes
                   4396: else
1.1.1.19  root     4397:   HAVE_SGIAUDIO_LIB=no
1.1.1.8   root     4398: fi
                   4399: 
1.1.1.23! root     4400: { echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
        !          4401: echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6; }
        !          4402: if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
        !          4403:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4404: else
        !          4405:   ac_check_lib_save_LIBS=$LIBS
        !          4406: LIBS="-lasound  $LIBS"
        !          4407: cat >conftest.$ac_ext <<_ACEOF
        !          4408: /* confdefs.h.  */
        !          4409: _ACEOF
        !          4410: cat confdefs.h >>conftest.$ac_ext
        !          4411: cat >>conftest.$ac_ext <<_ACEOF
        !          4412: /* end confdefs.h.  */
        !          4413: 
        !          4414: /* Override any GCC internal prototype to avoid an error.
        !          4415:    Use char because int might match the return type of a GCC
        !          4416:    builtin and then its argument prototype would still apply.  */
        !          4417: #ifdef __cplusplus
        !          4418: extern "C"
        !          4419: #endif
        !          4420: char snd_pcm_open ();
        !          4421: int
        !          4422: main ()
        !          4423: {
        !          4424: return snd_pcm_open ();
        !          4425:   ;
        !          4426:   return 0;
        !          4427: }
        !          4428: _ACEOF
        !          4429: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4430: if { (ac_try="$ac_link"
        !          4431: case "(($ac_try" in
        !          4432:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          4433:   *) ac_try_echo=$ac_try;;
        !          4434: esac
        !          4435: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          4436:   (eval "$ac_link") 2>conftest.er1
        !          4437:   ac_status=$?
        !          4438:   grep -v '^ *+' conftest.er1 >conftest.err
        !          4439:   rm -f conftest.er1
        !          4440:   cat conftest.err >&5
        !          4441:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4442:   (exit $ac_status); } && {
        !          4443:         test -z "$ac_c_werror_flag" ||
        !          4444:         test ! -s conftest.err
        !          4445:        } && test -s conftest$ac_exeext &&
        !          4446:        $as_test_x conftest$ac_exeext; then
        !          4447:   ac_cv_lib_asound_snd_pcm_open=yes
        !          4448: else
        !          4449:   echo "$as_me: failed program was:" >&5
        !          4450: sed 's/^/| /' conftest.$ac_ext >&5
        !          4451: 
        !          4452:        ac_cv_lib_asound_snd_pcm_open=no
        !          4453: fi
        !          4454: 
        !          4455: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        !          4456:       conftest$ac_exeext conftest.$ac_ext
        !          4457: LIBS=$ac_check_lib_save_LIBS
        !          4458: fi
        !          4459: { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
        !          4460: echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6; }
        !          4461: if test $ac_cv_lib_asound_snd_pcm_open = yes; then
        !          4462:   HAVE_ALSA=yes
        !          4463: else
        !          4464:   HAVE_ALSA=no
        !          4465: fi
        !          4466: 
1.1       root     4467: 
1.1.1.22  root     4468: { echo "$as_me:$LINENO: checking for X" >&5
                   4469: echo $ECHO_N "checking for X... $ECHO_C" >&6; }
1.1.1.19  root     4470: 
1.1       root     4471: 
1.1.1.22  root     4472: # Check whether --with-x was given.
1.1       root     4473: if test "${with_x+set}" = set; then
1.1.1.22  root     4474:   withval=$with_x;
                   4475: fi
1.1       root     4476: 
                   4477: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   4478: if test "x$with_x" = xno; then
                   4479:   # The user explicitly disabled X.
                   4480:   have_x=disabled
                   4481: else
1.1.1.22  root     4482:   case $x_includes,$x_libraries in #(
                   4483:     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
                   4484: echo "$as_me: error: Cannot use X directory names containing '" >&2;}
                   4485:    { (exit 1); exit 1; }; };; #(
                   4486:     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
1.1.1.19  root     4487:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4488: else
                   4489:   # One or both of the vars are not set, and there is no cached value.
1.1.1.19  root     4490: ac_x_includes=no ac_x_libraries=no
1.1.1.22  root     4491: rm -f -r conftest.dir
1.1.1.19  root     4492: if mkdir conftest.dir; then
                   4493:   cd conftest.dir
                   4494:   cat >Imakefile <<'_ACEOF'
1.1.1.22  root     4495: incroot:
                   4496:        @echo incroot='${INCROOT}'
                   4497: usrlibdir:
                   4498:        @echo usrlibdir='${USRLIBDIR}'
                   4499: libdir:
                   4500:        @echo libdir='${LIBDIR}'
1.1.1.19  root     4501: _ACEOF
1.1.1.22  root     4502:   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1.1       root     4503:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.22  root     4504:     for ac_var in incroot usrlibdir libdir; do
                   4505:       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
                   4506:     done
1.1       root     4507:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   4508:     for ac_extension in a so sl; do
1.1.1.22  root     4509:       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
                   4510:         test -f "$ac_im_libdir/libX11.$ac_extension"; then
1.1.1.19  root     4511:        ac_im_usrlibdir=$ac_im_libdir; break
1.1       root     4512:       fi
                   4513:     done
1.1.1.4   root     4514:     # Screen out bogus values from the imake configuration.  They are
                   4515:     # bogus both because they are the default anyway, and because
                   4516:     # using them would break gcc on systems where it needs fixed includes.
1.1.1.19  root     4517:     case $ac_im_incroot in
1.1.1.22  root     4518:        /usr/include) ac_x_includes= ;;
1.1.1.19  root     4519:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       root     4520:     esac
1.1.1.19  root     4521:     case $ac_im_usrlibdir in
1.1       root     4522:        /usr/lib | /lib) ;;
1.1.1.19  root     4523:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       root     4524:     esac
                   4525:   fi
                   4526:   cd ..
1.1.1.22  root     4527:   rm -f -r conftest.dir
1.1       root     4528: fi
                   4529: 
1.1.1.19  root     4530: # Standard set of common directories for X headers.
                   4531: # Check X11 before X11Rn because it is often a symlink to the current release.
                   4532: ac_x_header_dirs='
                   4533: /usr/X11/include
                   4534: /usr/X11R6/include
                   4535: /usr/X11R5/include
                   4536: /usr/X11R4/include
                   4537: 
                   4538: /usr/include/X11
                   4539: /usr/include/X11R6
                   4540: /usr/include/X11R5
                   4541: /usr/include/X11R4
                   4542: 
                   4543: /usr/local/X11/include
                   4544: /usr/local/X11R6/include
                   4545: /usr/local/X11R5/include
                   4546: /usr/local/X11R4/include
                   4547: 
                   4548: /usr/local/include/X11
                   4549: /usr/local/include/X11R6
                   4550: /usr/local/include/X11R5
                   4551: /usr/local/include/X11R4
                   4552: 
                   4553: /usr/X386/include
                   4554: /usr/x386/include
                   4555: /usr/XFree86/include/X11
                   4556: 
                   4557: /usr/include
                   4558: /usr/local/include
                   4559: /usr/unsupported/include
                   4560: /usr/athena/include
                   4561: /usr/local/x11r5/include
                   4562: /usr/lpp/Xamples/include
                   4563: 
                   4564: /usr/openwin/include
                   4565: /usr/openwin/share/include'
1.1       root     4566: 
1.1.1.19  root     4567: if test "$ac_x_includes" = no; then
1.1.1.22  root     4568:   # Guess where to find include files, by looking for Xlib.h.
1.1       root     4569:   # First, try using that file with no special directory specified.
1.1.1.19  root     4570:   cat >conftest.$ac_ext <<_ACEOF
                   4571: /* confdefs.h.  */
                   4572: _ACEOF
                   4573: cat confdefs.h >>conftest.$ac_ext
                   4574: cat >>conftest.$ac_ext <<_ACEOF
                   4575: /* end confdefs.h.  */
1.1.1.22  root     4576: #include <X11/Xlib.h>
1.1.1.19  root     4577: _ACEOF
1.1.1.22  root     4578: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   4579: case "(($ac_try" in
                   4580:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4581:   *) ac_try_echo=$ac_try;;
                   4582: esac
                   4583: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4584:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     4585:   ac_status=$?
                   4586:   grep -v '^ *+' conftest.er1 >conftest.err
                   4587:   rm -f conftest.er1
                   4588:   cat conftest.err >&5
                   4589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4590:   (exit $ac_status); } >/dev/null && {
                   4591:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   4592:         test ! -s conftest.err
                   4593:        }; then
1.1.1.19  root     4594:   # We can compile using X headers with no special include directory.
                   4595: ac_x_includes=
                   4596: else
                   4597:   echo "$as_me: failed program was:" >&5
                   4598: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     4599: 
1.1.1.19  root     4600:   for ac_dir in $ac_x_header_dirs; do
1.1.1.22  root     4601:   if test -r "$ac_dir/X11/Xlib.h"; then
1.1.1.19  root     4602:     ac_x_includes=$ac_dir
                   4603:     break
                   4604:   fi
                   4605: done
                   4606: fi
1.1.1.22  root     4607: 
1.1.1.19  root     4608: rm -f conftest.err conftest.$ac_ext
                   4609: fi # $ac_x_includes = no
1.1       root     4610: 
1.1.1.19  root     4611: if test "$ac_x_libraries" = no; then
                   4612:   # Check for the libraries.
1.1       root     4613:   # See if we find them without any special options.
                   4614:   # Don't add to $LIBS permanently.
1.1.1.19  root     4615:   ac_save_LIBS=$LIBS
1.1.1.22  root     4616:   LIBS="-lX11 $LIBS"
1.1.1.19  root     4617:   cat >conftest.$ac_ext <<_ACEOF
                   4618: /* confdefs.h.  */
                   4619: _ACEOF
                   4620: cat confdefs.h >>conftest.$ac_ext
                   4621: cat >>conftest.$ac_ext <<_ACEOF
                   4622: /* end confdefs.h.  */
1.1.1.22  root     4623: #include <X11/Xlib.h>
1.1.1.19  root     4624: int
                   4625: main ()
                   4626: {
1.1.1.22  root     4627: XrmInitialize ()
1.1.1.19  root     4628:   ;
                   4629:   return 0;
                   4630: }
                   4631: _ACEOF
                   4632: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4633: if { (ac_try="$ac_link"
                   4634: case "(($ac_try" in
                   4635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4636:   *) ac_try_echo=$ac_try;;
                   4637: esac
                   4638: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4639:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4640:   ac_status=$?
                   4641:   grep -v '^ *+' conftest.er1 >conftest.err
                   4642:   rm -f conftest.er1
                   4643:   cat conftest.err >&5
                   4644:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4645:   (exit $ac_status); } && {
                   4646:         test -z "$ac_c_werror_flag" ||
                   4647:         test ! -s conftest.err
                   4648:        } && test -s conftest$ac_exeext &&
                   4649:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4650:   LIBS=$ac_save_LIBS
1.1       root     4651: # We can link X programs with no special library path.
                   4652: ac_x_libraries=
                   4653: else
1.1.1.19  root     4654:   echo "$as_me: failed program was:" >&5
                   4655: sed 's/^/| /' conftest.$ac_ext >&5
                   4656: 
1.1.1.22  root     4657:        LIBS=$ac_save_LIBS
1.1.1.19  root     4658: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       root     4659: do
1.1.1.19  root     4660:   # Don't even attempt the hair of trying to link an X program!
1.1       root     4661:   for ac_extension in a so sl; do
1.1.1.22  root     4662:     if test -r "$ac_dir/libX11.$ac_extension"; then
1.1       root     4663:       ac_x_libraries=$ac_dir
                   4664:       break 2
                   4665:     fi
                   4666:   done
                   4667: done
                   4668: fi
1.1.1.22  root     4669: 
                   4670: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4671:       conftest$ac_exeext conftest.$ac_ext
                   4672: fi # $ac_x_libraries = no
1.1       root     4673: 
1.1.1.22  root     4674: case $ac_x_includes,$ac_x_libraries in #(
                   4675:   no,* | *,no | *\'*)
                   4676:     # Didn't find X, or a directory has "'" in its name.
                   4677:     ac_cv_have_x="have_x=no";; #(
                   4678:   *)
                   4679:     # Record where we found X for the cache.
                   4680:     ac_cv_have_x="have_x=yes\
                   4681:        ac_x_includes='$ac_x_includes'\
                   4682:        ac_x_libraries='$ac_x_libraries'"
                   4683: esac
1.1       root     4684: fi
1.1.1.22  root     4685: ;; #(
                   4686:     *) have_x=yes;;
                   4687:   esac
1.1       root     4688:   eval "$ac_cv_have_x"
                   4689: fi # $with_x != no
                   4690: 
                   4691: if test "$have_x" != yes; then
1.1.1.22  root     4692:   { echo "$as_me:$LINENO: result: $have_x" >&5
                   4693: echo "${ECHO_T}$have_x" >&6; }
1.1       root     4694:   no_x=yes
                   4695: else
                   4696:   # If each of the values was on the command line, it overrides each guess.
                   4697:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   4698:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   4699:   # Update the cache value to reflect the command line values.
1.1.1.22  root     4700:   ac_cv_have_x="have_x=yes\
                   4701:        ac_x_includes='$x_includes'\
                   4702:        ac_x_libraries='$x_libraries'"
                   4703:   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
                   4704: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
1.1       root     4705: fi
                   4706: 
                   4707: if test "$no_x" = yes; then
                   4708:   # Not all programs may use this symbol, but it does not hurt to define it.
1.1.1.19  root     4709: 
                   4710: cat >>confdefs.h <<\_ACEOF
1.1.1.4   root     4711: #define X_DISPLAY_MISSING 1
1.1.1.19  root     4712: _ACEOF
1.1.1.4   root     4713: 
                   4714:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1.1       root     4715: else
                   4716:   if test -n "$x_includes"; then
                   4717:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   4718:   fi
                   4719: 
                   4720:   # It would also be nice to do this for all -L options, not just this one.
                   4721:   if test -n "$x_libraries"; then
                   4722:     X_LIBS="$X_LIBS -L$x_libraries"
1.1.1.4   root     4723:     # For Solaris; some versions of Sun CC require a space after -R and
                   4724:     # others require no space.  Words are not sufficient . . . .
1.1.1.22  root     4725:     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
                   4726: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
                   4727:     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   4728:     ac_xsave_c_werror_flag=$ac_c_werror_flag
                   4729:     ac_c_werror_flag=yes
                   4730:     cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     4731: /* confdefs.h.  */
                   4732: _ACEOF
                   4733: cat confdefs.h >>conftest.$ac_ext
                   4734: cat >>conftest.$ac_ext <<_ACEOF
                   4735: /* end confdefs.h.  */
1.1       root     4736: 
1.1.1.19  root     4737: int
                   4738: main ()
                   4739: {
1.1       root     4740: 
1.1.1.19  root     4741:   ;
                   4742:   return 0;
                   4743: }
                   4744: _ACEOF
                   4745: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4746: if { (ac_try="$ac_link"
                   4747: case "(($ac_try" in
                   4748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4749:   *) ac_try_echo=$ac_try;;
                   4750: esac
                   4751: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4752:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4753:   ac_status=$?
                   4754:   grep -v '^ *+' conftest.er1 >conftest.err
                   4755:   rm -f conftest.er1
                   4756:   cat conftest.err >&5
                   4757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4758:   (exit $ac_status); } && {
                   4759:         test -z "$ac_c_werror_flag" ||
                   4760:         test ! -s conftest.err
                   4761:        } && test -s conftest$ac_exeext &&
                   4762:        $as_test_x conftest$ac_exeext; then
                   4763:   { echo "$as_me:$LINENO: result: no" >&5
                   4764: echo "${ECHO_T}no" >&6; }
                   4765:        X_LIBS="$X_LIBS -R$x_libraries"
1.1       root     4766: else
1.1.1.19  root     4767:   echo "$as_me: failed program was:" >&5
                   4768: sed 's/^/| /' conftest.$ac_ext >&5
                   4769: 
1.1.1.4   root     4770:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.1.1.22  root     4771:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     4772: /* confdefs.h.  */
                   4773: _ACEOF
                   4774: cat confdefs.h >>conftest.$ac_ext
                   4775: cat >>conftest.$ac_ext <<_ACEOF
                   4776: /* end confdefs.h.  */
1.1       root     4777: 
1.1.1.19  root     4778: int
                   4779: main ()
                   4780: {
1.1.1.4   root     4781: 
1.1.1.19  root     4782:   ;
                   4783:   return 0;
                   4784: }
                   4785: _ACEOF
                   4786: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4787: if { (ac_try="$ac_link"
                   4788: case "(($ac_try" in
                   4789:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4790:   *) ac_try_echo=$ac_try;;
                   4791: esac
                   4792: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4793:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4794:   ac_status=$?
                   4795:   grep -v '^ *+' conftest.er1 >conftest.err
                   4796:   rm -f conftest.er1
                   4797:   cat conftest.err >&5
                   4798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4799:   (exit $ac_status); } && {
                   4800:         test -z "$ac_c_werror_flag" ||
                   4801:         test ! -s conftest.err
                   4802:        } && test -s conftest$ac_exeext &&
                   4803:        $as_test_x conftest$ac_exeext; then
                   4804:   { echo "$as_me:$LINENO: result: yes" >&5
                   4805: echo "${ECHO_T}yes" >&6; }
                   4806:          X_LIBS="$X_LIBS -R $x_libraries"
1.1       root     4807: else
1.1.1.19  root     4808:   echo "$as_me: failed program was:" >&5
                   4809: sed 's/^/| /' conftest.$ac_ext >&5
                   4810: 
1.1.1.22  root     4811:        { echo "$as_me:$LINENO: result: neither works" >&5
                   4812: echo "${ECHO_T}neither works" >&6; }
1.1       root     4813: fi
1.1.1.22  root     4814: 
                   4815: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4816:       conftest$ac_exeext conftest.$ac_ext
1.1.1.22  root     4817: fi
                   4818: 
                   4819: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
                   4820:       conftest$ac_exeext conftest.$ac_ext
                   4821:     ac_c_werror_flag=$ac_xsave_c_werror_flag
                   4822:     LIBS=$ac_xsave_LIBS
1.1.1.4   root     4823:   fi
1.1       root     4824: 
                   4825:   # Check for system-dependent libraries X programs must link with.
1.1.1.4   root     4826:   # Do this before checking for the system-independent R6 libraries
                   4827:   # (-lICE), since we may need -lsocket or whatever for X linking.
1.1       root     4828: 
                   4829:   if test "$ISC" = yes; then
                   4830:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   4831:   else
1.1.1.19  root     4832:     # Martyn Johnson says this is needed for Ultrix, if the X
                   4833:     # libraries were built with DECnet support.  And Karl Berry says
1.1       root     4834:     # the Alpha needs dnet_stub (dnet does not exist).
1.1.1.19  root     4835:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   4836:     cat >conftest.$ac_ext <<_ACEOF
                   4837: /* confdefs.h.  */
                   4838: _ACEOF
                   4839: cat confdefs.h >>conftest.$ac_ext
                   4840: cat >>conftest.$ac_ext <<_ACEOF
                   4841: /* end confdefs.h.  */
                   4842: 
1.1.1.22  root     4843: /* Override any GCC internal prototype to avoid an error.
                   4844:    Use char because int might match the return type of a GCC
                   4845:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4846: #ifdef __cplusplus
                   4847: extern "C"
                   4848: #endif
                   4849: char XOpenDisplay ();
                   4850: int
                   4851: main ()
                   4852: {
1.1.1.22  root     4853: return XOpenDisplay ();
1.1.1.19  root     4854:   ;
                   4855:   return 0;
                   4856: }
                   4857: _ACEOF
                   4858: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4859: if { (ac_try="$ac_link"
                   4860: case "(($ac_try" in
                   4861:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4862:   *) ac_try_echo=$ac_try;;
                   4863: esac
                   4864: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4865:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4866:   ac_status=$?
                   4867:   grep -v '^ *+' conftest.er1 >conftest.err
                   4868:   rm -f conftest.er1
                   4869:   cat conftest.err >&5
                   4870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4871:   (exit $ac_status); } && {
                   4872:         test -z "$ac_c_werror_flag" ||
                   4873:         test ! -s conftest.err
                   4874:        } && test -s conftest$ac_exeext &&
                   4875:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4876:   :
                   4877: else
                   4878:   echo "$as_me: failed program was:" >&5
                   4879: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     4880: 
1.1.1.22  root     4881:        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
                   4882: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
1.1.1.19  root     4883: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   4884:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4885: else
                   4886:   ac_check_lib_save_LIBS=$LIBS
                   4887: LIBS="-ldnet  $LIBS"
                   4888: cat >conftest.$ac_ext <<_ACEOF
                   4889: /* confdefs.h.  */
                   4890: _ACEOF
                   4891: cat confdefs.h >>conftest.$ac_ext
                   4892: cat >>conftest.$ac_ext <<_ACEOF
                   4893: /* end confdefs.h.  */
1.1       root     4894: 
1.1.1.22  root     4895: /* Override any GCC internal prototype to avoid an error.
                   4896:    Use char because int might match the return type of a GCC
                   4897:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4898: #ifdef __cplusplus
                   4899: extern "C"
                   4900: #endif
                   4901: char dnet_ntoa ();
                   4902: int
                   4903: main ()
                   4904: {
1.1.1.22  root     4905: return dnet_ntoa ();
1.1.1.19  root     4906:   ;
                   4907:   return 0;
                   4908: }
                   4909: _ACEOF
                   4910: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4911: if { (ac_try="$ac_link"
                   4912: case "(($ac_try" in
                   4913:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4914:   *) ac_try_echo=$ac_try;;
                   4915: esac
                   4916: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4917:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4918:   ac_status=$?
                   4919:   grep -v '^ *+' conftest.er1 >conftest.err
                   4920:   rm -f conftest.er1
                   4921:   cat conftest.err >&5
                   4922:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4923:   (exit $ac_status); } && {
                   4924:         test -z "$ac_c_werror_flag" ||
                   4925:         test ! -s conftest.err
                   4926:        } && test -s conftest$ac_exeext &&
                   4927:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4928:   ac_cv_lib_dnet_dnet_ntoa=yes
                   4929: else
                   4930:   echo "$as_me: failed program was:" >&5
                   4931: sed 's/^/| /' conftest.$ac_ext >&5
                   4932: 
1.1.1.22  root     4933:        ac_cv_lib_dnet_dnet_ntoa=no
1.1.1.19  root     4934: fi
1.1.1.22  root     4935: 
                   4936: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     4937:       conftest$ac_exeext conftest.$ac_ext
                   4938: LIBS=$ac_check_lib_save_LIBS
                   4939: fi
1.1.1.22  root     4940: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   4941: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.1.1.19  root     4942: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       root     4943:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   4944: fi
                   4945: 
                   4946:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.1.1.22  root     4947:       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
                   4948: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
1.1.1.19  root     4949: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   4950:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     4951: else
1.1.1.19  root     4952:   ac_check_lib_save_LIBS=$LIBS
1.1       root     4953: LIBS="-ldnet_stub  $LIBS"
1.1.1.19  root     4954: cat >conftest.$ac_ext <<_ACEOF
                   4955: /* confdefs.h.  */
                   4956: _ACEOF
                   4957: cat confdefs.h >>conftest.$ac_ext
                   4958: cat >>conftest.$ac_ext <<_ACEOF
                   4959: /* end confdefs.h.  */
                   4960: 
1.1.1.22  root     4961: /* Override any GCC internal prototype to avoid an error.
                   4962:    Use char because int might match the return type of a GCC
                   4963:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     4964: #ifdef __cplusplus
                   4965: extern "C"
                   4966: #endif
                   4967: char dnet_ntoa ();
                   4968: int
                   4969: main ()
                   4970: {
1.1.1.22  root     4971: return dnet_ntoa ();
1.1.1.19  root     4972:   ;
                   4973:   return 0;
                   4974: }
                   4975: _ACEOF
                   4976: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     4977: if { (ac_try="$ac_link"
                   4978: case "(($ac_try" in
                   4979:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4980:   *) ac_try_echo=$ac_try;;
                   4981: esac
                   4982: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   4983:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     4984:   ac_status=$?
                   4985:   grep -v '^ *+' conftest.er1 >conftest.err
                   4986:   rm -f conftest.er1
                   4987:   cat conftest.err >&5
                   4988:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     4989:   (exit $ac_status); } && {
                   4990:         test -z "$ac_c_werror_flag" ||
                   4991:         test ! -s conftest.err
                   4992:        } && test -s conftest$ac_exeext &&
                   4993:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     4994:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   4995: else
                   4996:   echo "$as_me: failed program was:" >&5
                   4997: sed 's/^/| /' conftest.$ac_ext >&5
                   4998: 
1.1.1.22  root     4999:        ac_cv_lib_dnet_stub_dnet_ntoa=no
1.1.1.19  root     5000: fi
1.1.1.22  root     5001: 
                   5002: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5003:       conftest$ac_exeext conftest.$ac_ext
                   5004: LIBS=$ac_check_lib_save_LIBS
                   5005: fi
1.1.1.22  root     5006: { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   5007: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.1.1.19  root     5008: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       root     5009:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   5010: fi
                   5011: 
                   5012:     fi
1.1.1.19  root     5013: fi
1.1.1.22  root     5014: 
                   5015: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5016:       conftest$ac_exeext conftest.$ac_ext
                   5017:     LIBS="$ac_xsave_LIBS"
1.1       root     5018: 
                   5019:     # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
                   5020:     # to get the SysV transport functions.
1.1.1.19  root     5021:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1.1.4   root     5022:     # needs -lnsl.
                   5023:     # The nsl library prevents programs from opening the X display
1.1.1.19  root     5024:     # on Irix 5.2, according to T.E. Dickey.
                   5025:     # The functions gethostbyname, getservbyname, and inet_addr are
                   5026:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1.1.1.22  root     5027:     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   5028: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
1.1.1.19  root     5029: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   5030:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5031: else
                   5032:   cat >conftest.$ac_ext <<_ACEOF
                   5033: /* confdefs.h.  */
                   5034: _ACEOF
                   5035: cat confdefs.h >>conftest.$ac_ext
                   5036: cat >>conftest.$ac_ext <<_ACEOF
                   5037: /* end confdefs.h.  */
                   5038: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
                   5039:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   5040: #define gethostbyname innocuous_gethostbyname
                   5041: 
1.1.1.4   root     5042: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     5043:     which can conflict with char gethostbyname (); below.
                   5044:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5045:     <limits.h> exists even on freestanding compilers.  */
1.1.1.4   root     5046: 
1.1.1.19  root     5047: #ifdef __STDC__
                   5048: # include <limits.h>
                   5049: #else
                   5050: # include <assert.h>
                   5051: #endif
1.1.1.4   root     5052: 
1.1.1.19  root     5053: #undef gethostbyname
                   5054: 
1.1.1.22  root     5055: /* Override any GCC internal prototype to avoid an error.
                   5056:    Use char because int might match the return type of a GCC
                   5057:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5058: #ifdef __cplusplus
                   5059: extern "C"
                   5060: #endif
                   5061: char gethostbyname ();
1.1.1.4   root     5062: /* The GNU C library defines this for functions which it implements
                   5063:     to always fail with ENOSYS.  Some functions are actually named
                   5064:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     5065: #if defined __stub_gethostbyname || defined __stub___gethostbyname
1.1.1.4   root     5066: choke me
                   5067: #endif
                   5068: 
1.1.1.19  root     5069: int
                   5070: main ()
                   5071: {
1.1.1.22  root     5072: return gethostbyname ();
1.1.1.19  root     5073:   ;
                   5074:   return 0;
                   5075: }
                   5076: _ACEOF
                   5077: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5078: if { (ac_try="$ac_link"
                   5079: case "(($ac_try" in
                   5080:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5081:   *) ac_try_echo=$ac_try;;
                   5082: esac
                   5083: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5084:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5085:   ac_status=$?
                   5086:   grep -v '^ *+' conftest.er1 >conftest.err
                   5087:   rm -f conftest.er1
                   5088:   cat conftest.err >&5
                   5089:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5090:   (exit $ac_status); } && {
                   5091:         test -z "$ac_c_werror_flag" ||
                   5092:         test ! -s conftest.err
                   5093:        } && test -s conftest$ac_exeext &&
                   5094:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5095:   ac_cv_func_gethostbyname=yes
                   5096: else
                   5097:   echo "$as_me: failed program was:" >&5
                   5098: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5099: 
1.1.1.22  root     5100:        ac_cv_func_gethostbyname=no
1.1.1.4   root     5101: fi
1.1.1.22  root     5102: 
                   5103: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5104:       conftest$ac_exeext conftest.$ac_ext
                   5105: fi
1.1.1.22  root     5106: { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   5107: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
1.1.1.4   root     5108: 
                   5109:     if test $ac_cv_func_gethostbyname = no; then
1.1.1.22  root     5110:       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   5111: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
1.1.1.19  root     5112: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   5113:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5114: else
1.1.1.19  root     5115:   ac_check_lib_save_LIBS=$LIBS
1.1       root     5116: LIBS="-lnsl  $LIBS"
1.1.1.19  root     5117: cat >conftest.$ac_ext <<_ACEOF
                   5118: /* confdefs.h.  */
                   5119: _ACEOF
                   5120: cat confdefs.h >>conftest.$ac_ext
                   5121: cat >>conftest.$ac_ext <<_ACEOF
                   5122: /* end confdefs.h.  */
                   5123: 
1.1.1.22  root     5124: /* Override any GCC internal prototype to avoid an error.
                   5125:    Use char because int might match the return type of a GCC
                   5126:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5127: #ifdef __cplusplus
                   5128: extern "C"
                   5129: #endif
                   5130: char gethostbyname ();
                   5131: int
                   5132: main ()
                   5133: {
1.1.1.22  root     5134: return gethostbyname ();
1.1.1.19  root     5135:   ;
                   5136:   return 0;
                   5137: }
                   5138: _ACEOF
                   5139: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5140: if { (ac_try="$ac_link"
                   5141: case "(($ac_try" in
                   5142:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5143:   *) ac_try_echo=$ac_try;;
                   5144: esac
                   5145: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5146:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5147:   ac_status=$?
                   5148:   grep -v '^ *+' conftest.er1 >conftest.err
                   5149:   rm -f conftest.er1
                   5150:   cat conftest.err >&5
                   5151:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5152:   (exit $ac_status); } && {
                   5153:         test -z "$ac_c_werror_flag" ||
                   5154:         test ! -s conftest.err
                   5155:        } && test -s conftest$ac_exeext &&
                   5156:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5157:   ac_cv_lib_nsl_gethostbyname=yes
                   5158: else
                   5159:   echo "$as_me: failed program was:" >&5
                   5160: sed 's/^/| /' conftest.$ac_ext >&5
                   5161: 
1.1.1.22  root     5162:        ac_cv_lib_nsl_gethostbyname=no
1.1.1.19  root     5163: fi
1.1.1.22  root     5164: 
                   5165: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5166:       conftest$ac_exeext conftest.$ac_ext
                   5167: LIBS=$ac_check_lib_save_LIBS
                   5168: fi
1.1.1.22  root     5169: { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5170: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
1.1.1.19  root     5171: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   5172:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
1.1       root     5173: fi
                   5174: 
1.1.1.19  root     5175:       if test $ac_cv_lib_nsl_gethostbyname = no; then
1.1.1.22  root     5176:        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
                   5177: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
1.1.1.19  root     5178: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
                   5179:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5180: else
                   5181:   ac_check_lib_save_LIBS=$LIBS
                   5182: LIBS="-lbsd  $LIBS"
                   5183: cat >conftest.$ac_ext <<_ACEOF
                   5184: /* confdefs.h.  */
                   5185: _ACEOF
                   5186: cat confdefs.h >>conftest.$ac_ext
                   5187: cat >>conftest.$ac_ext <<_ACEOF
                   5188: /* end confdefs.h.  */
                   5189: 
1.1.1.22  root     5190: /* Override any GCC internal prototype to avoid an error.
                   5191:    Use char because int might match the return type of a GCC
                   5192:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5193: #ifdef __cplusplus
                   5194: extern "C"
                   5195: #endif
                   5196: char gethostbyname ();
                   5197: int
                   5198: main ()
                   5199: {
1.1.1.22  root     5200: return gethostbyname ();
1.1.1.19  root     5201:   ;
                   5202:   return 0;
                   5203: }
                   5204: _ACEOF
                   5205: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5206: if { (ac_try="$ac_link"
                   5207: case "(($ac_try" in
                   5208:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5209:   *) ac_try_echo=$ac_try;;
                   5210: esac
                   5211: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5212:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5213:   ac_status=$?
                   5214:   grep -v '^ *+' conftest.er1 >conftest.err
                   5215:   rm -f conftest.er1
                   5216:   cat conftest.err >&5
                   5217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5218:   (exit $ac_status); } && {
                   5219:         test -z "$ac_c_werror_flag" ||
                   5220:         test ! -s conftest.err
                   5221:        } && test -s conftest$ac_exeext &&
                   5222:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5223:   ac_cv_lib_bsd_gethostbyname=yes
                   5224: else
                   5225:   echo "$as_me: failed program was:" >&5
                   5226: sed 's/^/| /' conftest.$ac_ext >&5
                   5227: 
1.1.1.22  root     5228:        ac_cv_lib_bsd_gethostbyname=no
1.1.1.19  root     5229: fi
1.1.1.22  root     5230: 
                   5231: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5232:       conftest$ac_exeext conftest.$ac_ext
                   5233: LIBS=$ac_check_lib_save_LIBS
                   5234: fi
1.1.1.22  root     5235: { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   5236: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
1.1.1.19  root     5237: if test $ac_cv_lib_bsd_gethostbyname = yes; then
                   5238:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       root     5239: fi
                   5240: 
1.1.1.19  root     5241:       fi
1.1.1.4   root     5242:     fi
1.1       root     5243: 
                   5244:     # [email protected] says without -lsocket,
1.1.1.4   root     5245:     # socket/setsockopt and other routines are undefined under SCO ODT
                   5246:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.1.1.19  root     5247:     # on later versions), says Simon Leinen: it contains gethostby*
                   5248:     # variants that don't use the name server (or something).  -lsocket
                   5249:     # must be given before -lnsl if both are needed.  We assume that
                   5250:     # if connect needs -lnsl, so does gethostbyname.
1.1.1.22  root     5251:     { echo "$as_me:$LINENO: checking for connect" >&5
                   5252: echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
1.1.1.19  root     5253: if test "${ac_cv_func_connect+set}" = set; then
                   5254:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5255: else
                   5256:   cat >conftest.$ac_ext <<_ACEOF
                   5257: /* confdefs.h.  */
                   5258: _ACEOF
                   5259: cat confdefs.h >>conftest.$ac_ext
                   5260: cat >>conftest.$ac_ext <<_ACEOF
                   5261: /* end confdefs.h.  */
                   5262: /* Define connect to an innocuous variant, in case <limits.h> declares connect.
                   5263:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   5264: #define connect innocuous_connect
                   5265: 
1.1.1.4   root     5266: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     5267:     which can conflict with char connect (); below.
                   5268:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5269:     <limits.h> exists even on freestanding compilers.  */
                   5270: 
                   5271: #ifdef __STDC__
                   5272: # include <limits.h>
                   5273: #else
                   5274: # include <assert.h>
                   5275: #endif
1.1.1.4   root     5276: 
1.1.1.19  root     5277: #undef connect
1.1.1.4   root     5278: 
1.1.1.22  root     5279: /* Override any GCC internal prototype to avoid an error.
                   5280:    Use char because int might match the return type of a GCC
                   5281:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5282: #ifdef __cplusplus
                   5283: extern "C"
                   5284: #endif
                   5285: char connect ();
1.1.1.4   root     5286: /* The GNU C library defines this for functions which it implements
                   5287:     to always fail with ENOSYS.  Some functions are actually named
                   5288:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     5289: #if defined __stub_connect || defined __stub___connect
1.1.1.4   root     5290: choke me
                   5291: #endif
                   5292: 
1.1.1.19  root     5293: int
                   5294: main ()
                   5295: {
1.1.1.22  root     5296: return connect ();
1.1.1.19  root     5297:   ;
                   5298:   return 0;
                   5299: }
                   5300: _ACEOF
                   5301: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5302: if { (ac_try="$ac_link"
                   5303: case "(($ac_try" in
                   5304:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5305:   *) ac_try_echo=$ac_try;;
                   5306: esac
                   5307: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5308:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5309:   ac_status=$?
                   5310:   grep -v '^ *+' conftest.er1 >conftest.err
                   5311:   rm -f conftest.er1
                   5312:   cat conftest.err >&5
                   5313:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5314:   (exit $ac_status); } && {
                   5315:         test -z "$ac_c_werror_flag" ||
                   5316:         test ! -s conftest.err
                   5317:        } && test -s conftest$ac_exeext &&
                   5318:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5319:   ac_cv_func_connect=yes
                   5320: else
                   5321:   echo "$as_me: failed program was:" >&5
                   5322: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5323: 
1.1.1.22  root     5324:        ac_cv_func_connect=no
1.1.1.19  root     5325: fi
1.1.1.22  root     5326: 
                   5327: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5328:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     5329: fi
1.1.1.22  root     5330: { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
                   5331: echo "${ECHO_T}$ac_cv_func_connect" >&6; }
1.1.1.4   root     5332: 
                   5333:     if test $ac_cv_func_connect = no; then
1.1.1.22  root     5334:       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
                   5335: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
1.1.1.19  root     5336: if test "${ac_cv_lib_socket_connect+set}" = set; then
                   5337:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5338: else
1.1.1.19  root     5339:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     5340: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.1.1.19  root     5341: cat >conftest.$ac_ext <<_ACEOF
                   5342: /* confdefs.h.  */
                   5343: _ACEOF
                   5344: cat confdefs.h >>conftest.$ac_ext
                   5345: cat >>conftest.$ac_ext <<_ACEOF
                   5346: /* end confdefs.h.  */
                   5347: 
1.1.1.22  root     5348: /* Override any GCC internal prototype to avoid an error.
                   5349:    Use char because int might match the return type of a GCC
                   5350:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5351: #ifdef __cplusplus
                   5352: extern "C"
                   5353: #endif
                   5354: char connect ();
                   5355: int
                   5356: main ()
                   5357: {
1.1.1.22  root     5358: return connect ();
1.1.1.19  root     5359:   ;
                   5360:   return 0;
                   5361: }
                   5362: _ACEOF
                   5363: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5364: if { (ac_try="$ac_link"
                   5365: case "(($ac_try" in
                   5366:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5367:   *) ac_try_echo=$ac_try;;
                   5368: esac
                   5369: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5370:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5371:   ac_status=$?
                   5372:   grep -v '^ *+' conftest.er1 >conftest.err
                   5373:   rm -f conftest.er1
                   5374:   cat conftest.err >&5
                   5375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5376:   (exit $ac_status); } && {
                   5377:         test -z "$ac_c_werror_flag" ||
                   5378:         test ! -s conftest.err
                   5379:        } && test -s conftest$ac_exeext &&
                   5380:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5381:   ac_cv_lib_socket_connect=yes
                   5382: else
                   5383:   echo "$as_me: failed program was:" >&5
                   5384: sed 's/^/| /' conftest.$ac_ext >&5
                   5385: 
1.1.1.22  root     5386:        ac_cv_lib_socket_connect=no
1.1.1.19  root     5387: fi
1.1.1.22  root     5388: 
                   5389: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5390:       conftest$ac_exeext conftest.$ac_ext
                   5391: LIBS=$ac_check_lib_save_LIBS
                   5392: fi
1.1.1.22  root     5393: { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
                   5394: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
1.1.1.19  root     5395: if test $ac_cv_lib_socket_connect = yes; then
1.1.1.4   root     5396:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   5397: fi
                   5398: 
                   5399:     fi
                   5400: 
1.1.1.19  root     5401:     # Guillermo Gomez says -lposix is necessary on A/UX.
1.1.1.22  root     5402:     { echo "$as_me:$LINENO: checking for remove" >&5
                   5403: echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
1.1.1.19  root     5404: if test "${ac_cv_func_remove+set}" = set; then
                   5405:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5406: else
                   5407:   cat >conftest.$ac_ext <<_ACEOF
                   5408: /* confdefs.h.  */
                   5409: _ACEOF
                   5410: cat confdefs.h >>conftest.$ac_ext
                   5411: cat >>conftest.$ac_ext <<_ACEOF
                   5412: /* end confdefs.h.  */
                   5413: /* Define remove to an innocuous variant, in case <limits.h> declares remove.
                   5414:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   5415: #define remove innocuous_remove
                   5416: 
1.1.1.4   root     5417: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     5418:     which can conflict with char remove (); below.
                   5419:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5420:     <limits.h> exists even on freestanding compilers.  */
                   5421: 
                   5422: #ifdef __STDC__
                   5423: # include <limits.h>
                   5424: #else
                   5425: # include <assert.h>
                   5426: #endif
1.1.1.4   root     5427: 
1.1.1.19  root     5428: #undef remove
1.1.1.4   root     5429: 
1.1.1.22  root     5430: /* Override any GCC internal prototype to avoid an error.
                   5431:    Use char because int might match the return type of a GCC
                   5432:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5433: #ifdef __cplusplus
                   5434: extern "C"
                   5435: #endif
                   5436: char remove ();
1.1.1.4   root     5437: /* The GNU C library defines this for functions which it implements
                   5438:     to always fail with ENOSYS.  Some functions are actually named
                   5439:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     5440: #if defined __stub_remove || defined __stub___remove
1.1.1.4   root     5441: choke me
                   5442: #endif
                   5443: 
1.1.1.19  root     5444: int
                   5445: main ()
                   5446: {
1.1.1.22  root     5447: return remove ();
1.1.1.19  root     5448:   ;
                   5449:   return 0;
                   5450: }
                   5451: _ACEOF
                   5452: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5453: if { (ac_try="$ac_link"
                   5454: case "(($ac_try" in
                   5455:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5456:   *) ac_try_echo=$ac_try;;
                   5457: esac
                   5458: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5459:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5460:   ac_status=$?
                   5461:   grep -v '^ *+' conftest.er1 >conftest.err
                   5462:   rm -f conftest.er1
                   5463:   cat conftest.err >&5
                   5464:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5465:   (exit $ac_status); } && {
                   5466:         test -z "$ac_c_werror_flag" ||
                   5467:         test ! -s conftest.err
                   5468:        } && test -s conftest$ac_exeext &&
                   5469:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5470:   ac_cv_func_remove=yes
                   5471: else
                   5472:   echo "$as_me: failed program was:" >&5
                   5473: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5474: 
1.1.1.22  root     5475:        ac_cv_func_remove=no
1.1.1.19  root     5476: fi
1.1.1.22  root     5477: 
                   5478: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5479:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     5480: fi
1.1.1.22  root     5481: { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
                   5482: echo "${ECHO_T}$ac_cv_func_remove" >&6; }
1.1.1.4   root     5483: 
                   5484:     if test $ac_cv_func_remove = no; then
1.1.1.22  root     5485:       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
                   5486: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
1.1.1.19  root     5487: if test "${ac_cv_lib_posix_remove+set}" = set; then
                   5488:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5489: else
1.1.1.19  root     5490:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     5491: LIBS="-lposix  $LIBS"
1.1.1.19  root     5492: cat >conftest.$ac_ext <<_ACEOF
                   5493: /* confdefs.h.  */
                   5494: _ACEOF
                   5495: cat confdefs.h >>conftest.$ac_ext
                   5496: cat >>conftest.$ac_ext <<_ACEOF
                   5497: /* end confdefs.h.  */
                   5498: 
1.1.1.22  root     5499: /* Override any GCC internal prototype to avoid an error.
                   5500:    Use char because int might match the return type of a GCC
                   5501:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5502: #ifdef __cplusplus
                   5503: extern "C"
                   5504: #endif
                   5505: char remove ();
                   5506: int
                   5507: main ()
                   5508: {
1.1.1.22  root     5509: return remove ();
1.1.1.19  root     5510:   ;
                   5511:   return 0;
                   5512: }
                   5513: _ACEOF
                   5514: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5515: if { (ac_try="$ac_link"
                   5516: case "(($ac_try" in
                   5517:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5518:   *) ac_try_echo=$ac_try;;
                   5519: esac
                   5520: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5521:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5522:   ac_status=$?
                   5523:   grep -v '^ *+' conftest.er1 >conftest.err
                   5524:   rm -f conftest.er1
                   5525:   cat conftest.err >&5
                   5526:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5527:   (exit $ac_status); } && {
                   5528:         test -z "$ac_c_werror_flag" ||
                   5529:         test ! -s conftest.err
                   5530:        } && test -s conftest$ac_exeext &&
                   5531:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5532:   ac_cv_lib_posix_remove=yes
                   5533: else
                   5534:   echo "$as_me: failed program was:" >&5
                   5535: sed 's/^/| /' conftest.$ac_ext >&5
                   5536: 
1.1.1.22  root     5537:        ac_cv_lib_posix_remove=no
1.1.1.19  root     5538: fi
1.1.1.22  root     5539: 
                   5540: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5541:       conftest$ac_exeext conftest.$ac_ext
                   5542: LIBS=$ac_check_lib_save_LIBS
                   5543: fi
1.1.1.22  root     5544: { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
                   5545: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
1.1.1.19  root     5546: if test $ac_cv_lib_posix_remove = yes; then
1.1.1.4   root     5547:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   5548: fi
                   5549: 
                   5550:     fi
                   5551: 
                   5552:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.1.1.22  root     5553:     { echo "$as_me:$LINENO: checking for shmat" >&5
                   5554: echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
1.1.1.19  root     5555: if test "${ac_cv_func_shmat+set}" = set; then
                   5556:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5557: else
                   5558:   cat >conftest.$ac_ext <<_ACEOF
                   5559: /* confdefs.h.  */
                   5560: _ACEOF
                   5561: cat confdefs.h >>conftest.$ac_ext
                   5562: cat >>conftest.$ac_ext <<_ACEOF
                   5563: /* end confdefs.h.  */
                   5564: /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
                   5565:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   5566: #define shmat innocuous_shmat
                   5567: 
1.1.1.4   root     5568: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     5569:     which can conflict with char shmat (); below.
                   5570:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5571:     <limits.h> exists even on freestanding compilers.  */
                   5572: 
                   5573: #ifdef __STDC__
                   5574: # include <limits.h>
                   5575: #else
                   5576: # include <assert.h>
                   5577: #endif
1.1.1.4   root     5578: 
1.1.1.19  root     5579: #undef shmat
1.1.1.4   root     5580: 
1.1.1.22  root     5581: /* Override any GCC internal prototype to avoid an error.
                   5582:    Use char because int might match the return type of a GCC
                   5583:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5584: #ifdef __cplusplus
                   5585: extern "C"
                   5586: #endif
                   5587: char shmat ();
1.1.1.4   root     5588: /* The GNU C library defines this for functions which it implements
                   5589:     to always fail with ENOSYS.  Some functions are actually named
                   5590:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     5591: #if defined __stub_shmat || defined __stub___shmat
1.1.1.4   root     5592: choke me
                   5593: #endif
                   5594: 
1.1.1.19  root     5595: int
                   5596: main ()
                   5597: {
1.1.1.22  root     5598: return shmat ();
1.1.1.19  root     5599:   ;
                   5600:   return 0;
                   5601: }
                   5602: _ACEOF
                   5603: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5604: if { (ac_try="$ac_link"
                   5605: case "(($ac_try" in
                   5606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5607:   *) ac_try_echo=$ac_try;;
                   5608: esac
                   5609: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5610:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5611:   ac_status=$?
                   5612:   grep -v '^ *+' conftest.er1 >conftest.err
                   5613:   rm -f conftest.er1
                   5614:   cat conftest.err >&5
                   5615:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5616:   (exit $ac_status); } && {
                   5617:         test -z "$ac_c_werror_flag" ||
                   5618:         test ! -s conftest.err
                   5619:        } && test -s conftest$ac_exeext &&
                   5620:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5621:   ac_cv_func_shmat=yes
                   5622: else
                   5623:   echo "$as_me: failed program was:" >&5
                   5624: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     5625: 
1.1.1.22  root     5626:        ac_cv_func_shmat=no
1.1.1.19  root     5627: fi
1.1.1.22  root     5628: 
                   5629: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5630:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     5631: fi
1.1.1.22  root     5632: { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
                   5633: echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
1.1.1.4   root     5634: 
                   5635:     if test $ac_cv_func_shmat = no; then
1.1.1.22  root     5636:       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
                   5637: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
1.1.1.19  root     5638: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
                   5639:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5640: else
1.1.1.19  root     5641:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     5642: LIBS="-lipc  $LIBS"
1.1.1.19  root     5643: cat >conftest.$ac_ext <<_ACEOF
                   5644: /* confdefs.h.  */
                   5645: _ACEOF
                   5646: cat confdefs.h >>conftest.$ac_ext
                   5647: cat >>conftest.$ac_ext <<_ACEOF
                   5648: /* end confdefs.h.  */
                   5649: 
1.1.1.22  root     5650: /* Override any GCC internal prototype to avoid an error.
                   5651:    Use char because int might match the return type of a GCC
                   5652:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5653: #ifdef __cplusplus
                   5654: extern "C"
                   5655: #endif
                   5656: char shmat ();
                   5657: int
                   5658: main ()
                   5659: {
1.1.1.22  root     5660: return shmat ();
1.1.1.19  root     5661:   ;
                   5662:   return 0;
                   5663: }
                   5664: _ACEOF
                   5665: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5666: if { (ac_try="$ac_link"
                   5667: case "(($ac_try" in
                   5668:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5669:   *) ac_try_echo=$ac_try;;
                   5670: esac
                   5671: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5672:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5673:   ac_status=$?
                   5674:   grep -v '^ *+' conftest.er1 >conftest.err
                   5675:   rm -f conftest.er1
                   5676:   cat conftest.err >&5
                   5677:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5678:   (exit $ac_status); } && {
                   5679:         test -z "$ac_c_werror_flag" ||
                   5680:         test ! -s conftest.err
                   5681:        } && test -s conftest$ac_exeext &&
                   5682:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5683:   ac_cv_lib_ipc_shmat=yes
                   5684: else
                   5685:   echo "$as_me: failed program was:" >&5
                   5686: sed 's/^/| /' conftest.$ac_ext >&5
                   5687: 
1.1.1.22  root     5688:        ac_cv_lib_ipc_shmat=no
1.1.1.19  root     5689: fi
1.1.1.22  root     5690: 
                   5691: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5692:       conftest$ac_exeext conftest.$ac_ext
                   5693: LIBS=$ac_check_lib_save_LIBS
                   5694: fi
1.1.1.22  root     5695: { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
                   5696: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
1.1.1.19  root     5697: if test $ac_cv_lib_ipc_shmat = yes; then
1.1.1.4   root     5698:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
1.1       root     5699: fi
                   5700: 
                   5701:     fi
                   5702:   fi
1.1.1.4   root     5703: 
                   5704:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.1.1.19  root     5705:   ac_save_LDFLAGS=$LDFLAGS
1.1.1.4   root     5706:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   5707:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   5708:   # check for ICE first), but we must link in the order -lSM -lICE or
                   5709:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   5710:   # These have to be linked with before -lX11, unlike the other
                   5711:   # libraries we check for below, so use a different variable.
1.1.1.19  root     5712:   # John Interrante, Karl Berry
1.1.1.22  root     5713:   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
                   5714: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
1.1.1.19  root     5715: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
                   5716:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     5717: else
1.1.1.19  root     5718:   ac_check_lib_save_LIBS=$LIBS
1.1.1.9   root     5719: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.1.1.19  root     5720: cat >conftest.$ac_ext <<_ACEOF
                   5721: /* confdefs.h.  */
                   5722: _ACEOF
                   5723: cat confdefs.h >>conftest.$ac_ext
                   5724: cat >>conftest.$ac_ext <<_ACEOF
                   5725: /* end confdefs.h.  */
                   5726: 
1.1.1.22  root     5727: /* Override any GCC internal prototype to avoid an error.
                   5728:    Use char because int might match the return type of a GCC
                   5729:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5730: #ifdef __cplusplus
                   5731: extern "C"
                   5732: #endif
                   5733: char IceConnectionNumber ();
                   5734: int
                   5735: main ()
                   5736: {
1.1.1.22  root     5737: return IceConnectionNumber ();
1.1.1.19  root     5738:   ;
                   5739:   return 0;
                   5740: }
                   5741: _ACEOF
                   5742: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     5743: if { (ac_try="$ac_link"
                   5744: case "(($ac_try" in
                   5745:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5746:   *) ac_try_echo=$ac_try;;
                   5747: esac
                   5748: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5749:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5750:   ac_status=$?
                   5751:   grep -v '^ *+' conftest.er1 >conftest.err
                   5752:   rm -f conftest.er1
                   5753:   cat conftest.err >&5
                   5754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5755:   (exit $ac_status); } && {
                   5756:         test -z "$ac_c_werror_flag" ||
                   5757:         test ! -s conftest.err
                   5758:        } && test -s conftest$ac_exeext &&
                   5759:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     5760:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   5761: else
                   5762:   echo "$as_me: failed program was:" >&5
                   5763: sed 's/^/| /' conftest.$ac_ext >&5
                   5764: 
1.1.1.22  root     5765:        ac_cv_lib_ICE_IceConnectionNumber=no
1.1.1.19  root     5766: fi
1.1.1.22  root     5767: 
                   5768: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     5769:       conftest$ac_exeext conftest.$ac_ext
                   5770: LIBS=$ac_check_lib_save_LIBS
                   5771: fi
1.1.1.22  root     5772: { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   5773: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.1.1.19  root     5774: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1.1.4   root     5775:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   5776: fi
1.1       root     5777: 
1.1.1.19  root     5778:   LDFLAGS=$ac_save_LDFLAGS
1.1       root     5779: 
1.1.1.3   root     5780: fi
                   5781: 
1.1.1.22  root     5782: ac_config_headers="$ac_config_headers src/sysconfig.h"
1.1.1.19  root     5783: 
                   5784: 
                   5785: 
                   5786: 
                   5787: 
1.1.1.3   root     5788: 
1.1.1.4   root     5789: 
1.1       root     5790: ac_header_dirent=no
1.1.1.19  root     5791: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   5792:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
1.1.1.22  root     5793: { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
                   5794: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
                   5795: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     5796:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5797: else
                   5798:   cat >conftest.$ac_ext <<_ACEOF
                   5799: /* confdefs.h.  */
                   5800: _ACEOF
                   5801: cat confdefs.h >>conftest.$ac_ext
                   5802: cat >>conftest.$ac_ext <<_ACEOF
                   5803: /* end confdefs.h.  */
1.1       root     5804: #include <sys/types.h>
                   5805: #include <$ac_hdr>
1.1.1.19  root     5806: 
                   5807: int
                   5808: main ()
                   5809: {
                   5810: if ((DIR *) 0)
                   5811: return 0;
                   5812:   ;
                   5813:   return 0;
                   5814: }
                   5815: _ACEOF
                   5816: rm -f conftest.$ac_objext
1.1.1.22  root     5817: if { (ac_try="$ac_compile"
                   5818: case "(($ac_try" in
                   5819:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5820:   *) ac_try_echo=$ac_try;;
                   5821: esac
                   5822: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5823:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     5824:   ac_status=$?
                   5825:   grep -v '^ *+' conftest.er1 >conftest.err
                   5826:   rm -f conftest.er1
                   5827:   cat conftest.err >&5
                   5828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5829:   (exit $ac_status); } && {
                   5830:         test -z "$ac_c_werror_flag" ||
                   5831:         test ! -s conftest.err
                   5832:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     5833:   eval "$as_ac_Header=yes"
                   5834: else
                   5835:   echo "$as_me: failed program was:" >&5
                   5836: sed 's/^/| /' conftest.$ac_ext >&5
                   5837: 
1.1.1.22  root     5838:        eval "$as_ac_Header=no"
1.1.1.19  root     5839: fi
1.1.1.22  root     5840: 
                   5841: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     5842: fi
1.1.1.22  root     5843: ac_res=`eval echo '${'$as_ac_Header'}'`
                   5844:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   5845: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     5846: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5847:   cat >>confdefs.h <<_ACEOF
                   5848: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   5849: _ACEOF
                   5850: 
                   5851: ac_header_dirent=$ac_hdr; break
1.1       root     5852: fi
1.1.1.19  root     5853: 
1.1       root     5854: done
                   5855: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   5856: if test $ac_header_dirent = dirent.h; then
1.1.1.22  root     5857:   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   5858: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
1.1.1.19  root     5859: if test "${ac_cv_search_opendir+set}" = set; then
                   5860:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5861: else
                   5862:   ac_func_search_save_LIBS=$LIBS
                   5863: cat >conftest.$ac_ext <<_ACEOF
                   5864: /* confdefs.h.  */
                   5865: _ACEOF
                   5866: cat confdefs.h >>conftest.$ac_ext
                   5867: cat >>conftest.$ac_ext <<_ACEOF
                   5868: /* end confdefs.h.  */
                   5869: 
1.1.1.22  root     5870: /* Override any GCC internal prototype to avoid an error.
                   5871:    Use char because int might match the return type of a GCC
                   5872:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5873: #ifdef __cplusplus
                   5874: extern "C"
                   5875: #endif
                   5876: char opendir ();
                   5877: int
                   5878: main ()
                   5879: {
1.1.1.22  root     5880: return opendir ();
1.1.1.19  root     5881:   ;
                   5882:   return 0;
                   5883: }
                   5884: _ACEOF
1.1.1.22  root     5885: for ac_lib in '' dir; do
                   5886:   if test -z "$ac_lib"; then
                   5887:     ac_res="none required"
                   5888:   else
                   5889:     ac_res=-l$ac_lib
                   5890:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5891:   fi
                   5892:   rm -f conftest.$ac_objext conftest$ac_exeext
                   5893: if { (ac_try="$ac_link"
                   5894: case "(($ac_try" in
                   5895:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5896:   *) ac_try_echo=$ac_try;;
                   5897: esac
                   5898: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5899:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5900:   ac_status=$?
                   5901:   grep -v '^ *+' conftest.er1 >conftest.err
                   5902:   rm -f conftest.er1
                   5903:   cat conftest.err >&5
                   5904:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5905:   (exit $ac_status); } && {
                   5906:         test -z "$ac_c_werror_flag" ||
                   5907:         test ! -s conftest.err
                   5908:        } && test -s conftest$ac_exeext &&
                   5909:        $as_test_x conftest$ac_exeext; then
                   5910:   ac_cv_search_opendir=$ac_res
1.1.1.19  root     5911: else
                   5912:   echo "$as_me: failed program was:" >&5
                   5913: sed 's/^/| /' conftest.$ac_ext >&5
                   5914: 
1.1       root     5915: 
1.1.1.22  root     5916: fi
1.1       root     5917: 
1.1.1.22  root     5918: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
                   5919:       conftest$ac_exeext
                   5920:   if test "${ac_cv_search_opendir+set}" = set; then
                   5921:   break
1.1       root     5922: fi
1.1.1.22  root     5923: done
                   5924: if test "${ac_cv_search_opendir+set}" = set; then
                   5925:   :
                   5926: else
                   5927:   ac_cv_search_opendir=no
1.1.1.19  root     5928: fi
1.1.1.22  root     5929: rm conftest.$ac_ext
1.1.1.19  root     5930: LIBS=$ac_func_search_save_LIBS
                   5931: fi
1.1.1.22  root     5932: { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   5933: echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
                   5934: ac_res=$ac_cv_search_opendir
                   5935: if test "$ac_res" != no; then
                   5936:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1.1.19  root     5937: 
1.1       root     5938: fi
                   5939: 
                   5940: else
1.1.1.22  root     5941:   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
                   5942: echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
1.1.1.19  root     5943: if test "${ac_cv_search_opendir+set}" = set; then
                   5944:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     5945: else
1.1.1.19  root     5946:   ac_func_search_save_LIBS=$LIBS
                   5947: cat >conftest.$ac_ext <<_ACEOF
                   5948: /* confdefs.h.  */
                   5949: _ACEOF
                   5950: cat confdefs.h >>conftest.$ac_ext
                   5951: cat >>conftest.$ac_ext <<_ACEOF
                   5952: /* end confdefs.h.  */
                   5953: 
1.1.1.22  root     5954: /* Override any GCC internal prototype to avoid an error.
                   5955:    Use char because int might match the return type of a GCC
                   5956:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     5957: #ifdef __cplusplus
                   5958: extern "C"
                   5959: #endif
                   5960: char opendir ();
                   5961: int
                   5962: main ()
                   5963: {
1.1.1.22  root     5964: return opendir ();
1.1.1.19  root     5965:   ;
                   5966:   return 0;
                   5967: }
                   5968: _ACEOF
1.1.1.22  root     5969: for ac_lib in '' x; do
                   5970:   if test -z "$ac_lib"; then
                   5971:     ac_res="none required"
                   5972:   else
                   5973:     ac_res=-l$ac_lib
                   5974:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5975:   fi
                   5976:   rm -f conftest.$ac_objext conftest$ac_exeext
                   5977: if { (ac_try="$ac_link"
                   5978: case "(($ac_try" in
                   5979:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5980:   *) ac_try_echo=$ac_try;;
                   5981: esac
                   5982: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5983:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     5984:   ac_status=$?
                   5985:   grep -v '^ *+' conftest.er1 >conftest.err
                   5986:   rm -f conftest.er1
                   5987:   cat conftest.err >&5
                   5988:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     5989:   (exit $ac_status); } && {
                   5990:         test -z "$ac_c_werror_flag" ||
                   5991:         test ! -s conftest.err
                   5992:        } && test -s conftest$ac_exeext &&
                   5993:        $as_test_x conftest$ac_exeext; then
                   5994:   ac_cv_search_opendir=$ac_res
1.1.1.19  root     5995: else
                   5996:   echo "$as_me: failed program was:" >&5
                   5997: sed 's/^/| /' conftest.$ac_ext >&5
                   5998: 
1.1       root     5999: 
1.1.1.22  root     6000: fi
1.1       root     6001: 
1.1.1.22  root     6002: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
                   6003:       conftest$ac_exeext
                   6004:   if test "${ac_cv_search_opendir+set}" = set; then
                   6005:   break
1.1       root     6006: fi
1.1.1.22  root     6007: done
                   6008: if test "${ac_cv_search_opendir+set}" = set; then
                   6009:   :
                   6010: else
                   6011:   ac_cv_search_opendir=no
1.1.1.19  root     6012: fi
1.1.1.22  root     6013: rm conftest.$ac_ext
1.1.1.19  root     6014: LIBS=$ac_func_search_save_LIBS
                   6015: fi
1.1.1.22  root     6016: { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
                   6017: echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
                   6018: ac_res=$ac_cv_search_opendir
                   6019: if test "$ac_res" != no; then
                   6020:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1.1.19  root     6021: 
1.1       root     6022: fi
                   6023: 
                   6024: fi
                   6025: 
1.1.1.22  root     6026: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   6027: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.1.1.19  root     6028: if test "${ac_cv_header_stdc+set}" = set; then
                   6029:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     6030: else
1.1.1.19  root     6031:   cat >conftest.$ac_ext <<_ACEOF
                   6032: /* confdefs.h.  */
                   6033: _ACEOF
                   6034: cat confdefs.h >>conftest.$ac_ext
                   6035: cat >>conftest.$ac_ext <<_ACEOF
                   6036: /* end confdefs.h.  */
1.1       root     6037: #include <stdlib.h>
                   6038: #include <stdarg.h>
                   6039: #include <string.h>
                   6040: #include <float.h>
1.1.1.19  root     6041: 
                   6042: int
                   6043: main ()
                   6044: {
                   6045: 
                   6046:   ;
                   6047:   return 0;
                   6048: }
                   6049: _ACEOF
                   6050: rm -f conftest.$ac_objext
1.1.1.22  root     6051: if { (ac_try="$ac_compile"
                   6052: case "(($ac_try" in
                   6053:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6054:   *) ac_try_echo=$ac_try;;
                   6055: esac
                   6056: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6057:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6058:   ac_status=$?
                   6059:   grep -v '^ *+' conftest.er1 >conftest.err
                   6060:   rm -f conftest.er1
                   6061:   cat conftest.err >&5
                   6062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6063:   (exit $ac_status); } && {
                   6064:         test -z "$ac_c_werror_flag" ||
                   6065:         test ! -s conftest.err
                   6066:        } && test -s conftest.$ac_objext; then
1.1       root     6067:   ac_cv_header_stdc=yes
                   6068: else
1.1.1.19  root     6069:   echo "$as_me: failed program was:" >&5
                   6070: sed 's/^/| /' conftest.$ac_ext >&5
                   6071: 
1.1.1.22  root     6072:        ac_cv_header_stdc=no
1.1       root     6073: fi
1.1.1.22  root     6074: 
                   6075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     6076: 
                   6077: if test $ac_cv_header_stdc = yes; then
                   6078:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.19  root     6079:   cat >conftest.$ac_ext <<_ACEOF
                   6080: /* confdefs.h.  */
                   6081: _ACEOF
                   6082: cat confdefs.h >>conftest.$ac_ext
                   6083: cat >>conftest.$ac_ext <<_ACEOF
                   6084: /* end confdefs.h.  */
1.1       root     6085: #include <string.h>
1.1.1.19  root     6086: 
                   6087: _ACEOF
1.1       root     6088: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     6089:   $EGREP "memchr" >/dev/null 2>&1; then
1.1       root     6090:   :
                   6091: else
                   6092:   ac_cv_header_stdc=no
                   6093: fi
                   6094: rm -f conftest*
                   6095: 
                   6096: fi
                   6097: 
                   6098: if test $ac_cv_header_stdc = yes; then
                   6099:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.19  root     6100:   cat >conftest.$ac_ext <<_ACEOF
                   6101: /* confdefs.h.  */
                   6102: _ACEOF
                   6103: cat confdefs.h >>conftest.$ac_ext
                   6104: cat >>conftest.$ac_ext <<_ACEOF
                   6105: /* end confdefs.h.  */
1.1       root     6106: #include <stdlib.h>
1.1.1.19  root     6107: 
                   6108: _ACEOF
1.1       root     6109: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     6110:   $EGREP "free" >/dev/null 2>&1; then
1.1       root     6111:   :
                   6112: else
                   6113:   ac_cv_header_stdc=no
                   6114: fi
                   6115: rm -f conftest*
                   6116: 
                   6117: fi
                   6118: 
                   6119: if test $ac_cv_header_stdc = yes; then
                   6120:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.19  root     6121:   if test "$cross_compiling" = yes; then
1.1       root     6122:   :
                   6123: else
1.1.1.19  root     6124:   cat >conftest.$ac_ext <<_ACEOF
                   6125: /* confdefs.h.  */
                   6126: _ACEOF
                   6127: cat confdefs.h >>conftest.$ac_ext
                   6128: cat >>conftest.$ac_ext <<_ACEOF
                   6129: /* end confdefs.h.  */
1.1       root     6130: #include <ctype.h>
1.1.1.22  root     6131: #include <stdlib.h>
1.1.1.19  root     6132: #if ((' ' & 0x0FF) == 0x020)
                   6133: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   6134: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   6135: #else
                   6136: # define ISLOWER(c) \
                   6137:                   (('a' <= (c) && (c) <= 'i') \
                   6138:                     || ('j' <= (c) && (c) <= 'r') \
                   6139:                     || ('s' <= (c) && (c) <= 'z'))
                   6140: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   6141: #endif
1.1       root     6142: 
1.1.1.19  root     6143: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   6144: int
                   6145: main ()
                   6146: {
                   6147:   int i;
                   6148:   for (i = 0; i < 256; i++)
                   6149:     if (XOR (islower (i), ISLOWER (i))
                   6150:        || toupper (i) != TOUPPER (i))
1.1.1.22  root     6151:       return 2;
                   6152:   return 0;
1.1.1.19  root     6153: }
                   6154: _ACEOF
                   6155: rm -f conftest$ac_exeext
1.1.1.22  root     6156: if { (ac_try="$ac_link"
                   6157: case "(($ac_try" in
                   6158:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6159:   *) ac_try_echo=$ac_try;;
                   6160: esac
                   6161: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6162:   (eval "$ac_link") 2>&5
1.1.1.19  root     6163:   ac_status=$?
                   6164:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6165:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     6166:   { (case "(($ac_try" in
                   6167:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6168:   *) ac_try_echo=$ac_try;;
                   6169: esac
                   6170: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6171:   (eval "$ac_try") 2>&5
1.1.1.19  root     6172:   ac_status=$?
                   6173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6174:   (exit $ac_status); }; }; then
1.1       root     6175:   :
                   6176: else
1.1.1.19  root     6177:   echo "$as_me: program exited with status $ac_status" >&5
                   6178: echo "$as_me: failed program was:" >&5
                   6179: sed 's/^/| /' conftest.$ac_ext >&5
                   6180: 
                   6181: ( exit $ac_status )
                   6182: ac_cv_header_stdc=no
1.1       root     6183: fi
1.1.1.22  root     6184: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       root     6185: fi
1.1.1.22  root     6186: 
                   6187: 
1.1.1.4   root     6188: fi
1.1       root     6189: fi
1.1.1.22  root     6190: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   6191: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.1       root     6192: if test $ac_cv_header_stdc = yes; then
1.1.1.19  root     6193: 
                   6194: cat >>confdefs.h <<\_ACEOF
1.1       root     6195: #define STDC_HEADERS 1
1.1.1.19  root     6196: _ACEOF
1.1       root     6197: 
                   6198: fi
                   6199: 
1.1.1.4   root     6200: 
1.1.1.19  root     6201: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   6202: 
                   6203: 
                   6204: 
                   6205: 
                   6206: 
                   6207: 
                   6208: 
                   6209: 
                   6210: 
                   6211: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   6212:                  inttypes.h stdint.h unistd.h
1.1.1.4   root     6213: do
1.1.1.19  root     6214: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6215: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6216: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6217: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6218:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6219: else
                   6220:   cat >conftest.$ac_ext <<_ACEOF
                   6221: /* confdefs.h.  */
                   6222: _ACEOF
                   6223: cat confdefs.h >>conftest.$ac_ext
                   6224: cat >>conftest.$ac_ext <<_ACEOF
                   6225: /* end confdefs.h.  */
                   6226: $ac_includes_default
                   6227: 
                   6228: #include <$ac_header>
                   6229: _ACEOF
                   6230: rm -f conftest.$ac_objext
1.1.1.22  root     6231: if { (ac_try="$ac_compile"
                   6232: case "(($ac_try" in
                   6233:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6234:   *) ac_try_echo=$ac_try;;
                   6235: esac
                   6236: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6237:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6238:   ac_status=$?
                   6239:   grep -v '^ *+' conftest.er1 >conftest.err
                   6240:   rm -f conftest.er1
                   6241:   cat conftest.err >&5
                   6242:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6243:   (exit $ac_status); } && {
                   6244:         test -z "$ac_c_werror_flag" ||
                   6245:         test ! -s conftest.err
                   6246:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6247:   eval "$as_ac_Header=yes"
                   6248: else
                   6249:   echo "$as_me: failed program was:" >&5
                   6250: sed 's/^/| /' conftest.$ac_ext >&5
                   6251: 
1.1.1.22  root     6252:        eval "$as_ac_Header=no"
1.1.1.19  root     6253: fi
1.1.1.22  root     6254: 
                   6255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     6256: fi
1.1.1.22  root     6257: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6258:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6259: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6260: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6261:   cat >>confdefs.h <<_ACEOF
                   6262: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6263: _ACEOF
                   6264: 
1.1.1.4   root     6265: fi
1.1.1.19  root     6266: 
1.1.1.4   root     6267: done
                   6268: 
1.1.1.19  root     6269: 
                   6270: 
                   6271: 
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: 
                   6277: 
                   6278: 
                   6279: 
                   6280: for ac_header in unistd.h fcntl.h sys/time.h sys/types.h utime.h string.h strings.h values.h ncurses.h curses.h
1.1       root     6281: do
1.1.1.19  root     6282: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6283: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   6284:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6285: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6286: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6287:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6288: fi
1.1.1.22  root     6289: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6290:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6291: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6292: else
                   6293:   # Is the header compilable?
1.1.1.22  root     6294: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6295: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     6296: cat >conftest.$ac_ext <<_ACEOF
                   6297: /* confdefs.h.  */
                   6298: _ACEOF
                   6299: cat confdefs.h >>conftest.$ac_ext
                   6300: cat >>conftest.$ac_ext <<_ACEOF
                   6301: /* end confdefs.h.  */
                   6302: $ac_includes_default
                   6303: #include <$ac_header>
                   6304: _ACEOF
                   6305: rm -f conftest.$ac_objext
1.1.1.22  root     6306: if { (ac_try="$ac_compile"
                   6307: case "(($ac_try" in
                   6308:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6309:   *) ac_try_echo=$ac_try;;
                   6310: esac
                   6311: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6312:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6313:   ac_status=$?
                   6314:   grep -v '^ *+' conftest.er1 >conftest.err
                   6315:   rm -f conftest.er1
                   6316:   cat conftest.err >&5
                   6317:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6318:   (exit $ac_status); } && {
                   6319:         test -z "$ac_c_werror_flag" ||
                   6320:         test ! -s conftest.err
                   6321:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6322:   ac_header_compiler=yes
                   6323: else
                   6324:   echo "$as_me: failed program was:" >&5
                   6325: sed 's/^/| /' conftest.$ac_ext >&5
                   6326: 
1.1.1.22  root     6327:        ac_header_compiler=no
1.1.1.19  root     6328: fi
1.1.1.22  root     6329: 
                   6330: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6331: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6332: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     6333: 
                   6334: # Is the header present?
1.1.1.22  root     6335: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6336: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     6337: cat >conftest.$ac_ext <<_ACEOF
                   6338: /* confdefs.h.  */
                   6339: _ACEOF
                   6340: cat confdefs.h >>conftest.$ac_ext
                   6341: cat >>conftest.$ac_ext <<_ACEOF
                   6342: /* end confdefs.h.  */
                   6343: #include <$ac_header>
                   6344: _ACEOF
1.1.1.22  root     6345: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   6346: case "(($ac_try" in
                   6347:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6348:   *) ac_try_echo=$ac_try;;
                   6349: esac
                   6350: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6351:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     6352:   ac_status=$?
                   6353:   grep -v '^ *+' conftest.er1 >conftest.err
                   6354:   rm -f conftest.er1
                   6355:   cat conftest.err >&5
                   6356:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6357:   (exit $ac_status); } >/dev/null && {
                   6358:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   6359:         test ! -s conftest.err
                   6360:        }; then
1.1.1.19  root     6361:   ac_header_preproc=yes
1.1       root     6362: else
1.1.1.19  root     6363:   echo "$as_me: failed program was:" >&5
                   6364: sed 's/^/| /' conftest.$ac_ext >&5
                   6365: 
                   6366:   ac_header_preproc=no
1.1       root     6367: fi
1.1.1.22  root     6368: 
1.1.1.19  root     6369: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     6370: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6371: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     6372: 
1.1.1.19  root     6373: # So?  What about this header?
                   6374: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6375:   yes:no: )
                   6376:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6377: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6378:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6379: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6380:     ac_header_preproc=yes
                   6381:     ;;
                   6382:   no:yes:* )
                   6383:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6384: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6385:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6386: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6387:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6388: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6389:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6390: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6391:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6392: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6393:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6394: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     6395: 
1.1.1.19  root     6396:     ;;
                   6397: esac
1.1.1.22  root     6398: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6399: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6400: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6401:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     6402: else
1.1.1.19  root     6403:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       root     6404: fi
1.1.1.22  root     6405: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6406:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6407: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6408: 
1.1       root     6409: fi
1.1.1.19  root     6410: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6411:   cat >>confdefs.h <<_ACEOF
                   6412: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6413: _ACEOF
                   6414: 
1.1       root     6415: fi
1.1.1.19  root     6416: 
1.1       root     6417: done
                   6418: 
1.1.1.19  root     6419: 
                   6420: 
                   6421: 
                   6422: 
                   6423: 
                   6424: 
                   6425: 
                   6426: for ac_header in sys/soundcard.h machine/soundcard.h sun/audioio.h sys/audioio.h getopt.h features.h sys/termios.h
1.1.1.4   root     6427: do
1.1.1.19  root     6428: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6429: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   6430:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6431: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6432: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6433:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6434: fi
1.1.1.22  root     6435: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6436:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6437: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6438: else
                   6439:   # Is the header compilable?
1.1.1.22  root     6440: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6441: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     6442: cat >conftest.$ac_ext <<_ACEOF
                   6443: /* confdefs.h.  */
                   6444: _ACEOF
                   6445: cat confdefs.h >>conftest.$ac_ext
                   6446: cat >>conftest.$ac_ext <<_ACEOF
                   6447: /* end confdefs.h.  */
                   6448: $ac_includes_default
                   6449: #include <$ac_header>
                   6450: _ACEOF
                   6451: rm -f conftest.$ac_objext
1.1.1.22  root     6452: if { (ac_try="$ac_compile"
                   6453: case "(($ac_try" in
                   6454:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6455:   *) ac_try_echo=$ac_try;;
                   6456: esac
                   6457: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6458:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6459:   ac_status=$?
                   6460:   grep -v '^ *+' conftest.er1 >conftest.err
                   6461:   rm -f conftest.er1
                   6462:   cat conftest.err >&5
                   6463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6464:   (exit $ac_status); } && {
                   6465:         test -z "$ac_c_werror_flag" ||
                   6466:         test ! -s conftest.err
                   6467:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6468:   ac_header_compiler=yes
                   6469: else
                   6470:   echo "$as_me: failed program was:" >&5
                   6471: sed 's/^/| /' conftest.$ac_ext >&5
                   6472: 
1.1.1.22  root     6473:        ac_header_compiler=no
1.1.1.19  root     6474: fi
1.1.1.22  root     6475: 
                   6476: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6477: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6478: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     6479: 
                   6480: # Is the header present?
1.1.1.22  root     6481: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6482: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     6483: cat >conftest.$ac_ext <<_ACEOF
                   6484: /* confdefs.h.  */
                   6485: _ACEOF
                   6486: cat confdefs.h >>conftest.$ac_ext
                   6487: cat >>conftest.$ac_ext <<_ACEOF
                   6488: /* end confdefs.h.  */
                   6489: #include <$ac_header>
                   6490: _ACEOF
1.1.1.22  root     6491: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   6492: case "(($ac_try" in
                   6493:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6494:   *) ac_try_echo=$ac_try;;
                   6495: esac
                   6496: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6497:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     6498:   ac_status=$?
                   6499:   grep -v '^ *+' conftest.er1 >conftest.err
                   6500:   rm -f conftest.er1
                   6501:   cat conftest.err >&5
                   6502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6503:   (exit $ac_status); } >/dev/null && {
                   6504:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   6505:         test ! -s conftest.err
                   6506:        }; then
1.1.1.19  root     6507:   ac_header_preproc=yes
1.1.1.4   root     6508: else
1.1.1.19  root     6509:   echo "$as_me: failed program was:" >&5
                   6510: sed 's/^/| /' conftest.$ac_ext >&5
                   6511: 
                   6512:   ac_header_preproc=no
1.1.1.4   root     6513: fi
1.1.1.22  root     6514: 
1.1.1.19  root     6515: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     6516: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6517: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     6518: 
1.1.1.19  root     6519: # So?  What about this header?
                   6520: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6521:   yes:no: )
                   6522:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6523: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6524:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6525: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6526:     ac_header_preproc=yes
                   6527:     ;;
                   6528:   no:yes:* )
                   6529:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6530: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6531:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6532: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6533:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6534: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6535:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6536: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6537:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6538: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6539:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6540: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     6541: 
1.1.1.19  root     6542:     ;;
                   6543: esac
1.1.1.22  root     6544: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6545: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6546: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6547:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     6548: else
1.1.1.19  root     6549:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.4   root     6550: fi
1.1.1.22  root     6551: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6552:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6553: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6554: 
1.1.1.4   root     6555: fi
1.1.1.19  root     6556: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6557:   cat >>confdefs.h <<_ACEOF
                   6558: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6559: _ACEOF
                   6560: 
1.1       root     6561: fi
                   6562: 
1.1.1.19  root     6563: done
                   6564: 
                   6565: 
                   6566: 
                   6567: 
                   6568: 
                   6569: 
                   6570: 
                   6571: for ac_header in posix_opt.h sys/ioctl.h sys/ipc.h sys/shm.h sys/stat.h sys/utime.h
1.1.1.6   root     6572: do
1.1.1.19  root     6573: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6574: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   6575:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6576: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6577: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6578:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6579: fi
1.1.1.22  root     6580: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6581:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6582: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6583: else
                   6584:   # Is the header compilable?
1.1.1.22  root     6585: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6586: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     6587: cat >conftest.$ac_ext <<_ACEOF
                   6588: /* confdefs.h.  */
                   6589: _ACEOF
                   6590: cat confdefs.h >>conftest.$ac_ext
                   6591: cat >>conftest.$ac_ext <<_ACEOF
                   6592: /* end confdefs.h.  */
                   6593: $ac_includes_default
                   6594: #include <$ac_header>
                   6595: _ACEOF
                   6596: rm -f conftest.$ac_objext
1.1.1.22  root     6597: if { (ac_try="$ac_compile"
                   6598: case "(($ac_try" in
                   6599:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6600:   *) ac_try_echo=$ac_try;;
                   6601: esac
                   6602: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6603:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6604:   ac_status=$?
                   6605:   grep -v '^ *+' conftest.er1 >conftest.err
                   6606:   rm -f conftest.er1
                   6607:   cat conftest.err >&5
                   6608:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6609:   (exit $ac_status); } && {
                   6610:         test -z "$ac_c_werror_flag" ||
                   6611:         test ! -s conftest.err
                   6612:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6613:   ac_header_compiler=yes
                   6614: else
                   6615:   echo "$as_me: failed program was:" >&5
                   6616: sed 's/^/| /' conftest.$ac_ext >&5
                   6617: 
1.1.1.22  root     6618:        ac_header_compiler=no
1.1.1.19  root     6619: fi
1.1.1.22  root     6620: 
                   6621: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6622: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6623: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     6624: 
                   6625: # Is the header present?
1.1.1.22  root     6626: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6627: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     6628: cat >conftest.$ac_ext <<_ACEOF
                   6629: /* confdefs.h.  */
                   6630: _ACEOF
                   6631: cat confdefs.h >>conftest.$ac_ext
                   6632: cat >>conftest.$ac_ext <<_ACEOF
                   6633: /* end confdefs.h.  */
                   6634: #include <$ac_header>
                   6635: _ACEOF
1.1.1.22  root     6636: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   6637: case "(($ac_try" in
                   6638:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6639:   *) ac_try_echo=$ac_try;;
                   6640: esac
                   6641: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6642:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     6643:   ac_status=$?
                   6644:   grep -v '^ *+' conftest.er1 >conftest.err
                   6645:   rm -f conftest.er1
                   6646:   cat conftest.err >&5
                   6647:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6648:   (exit $ac_status); } >/dev/null && {
                   6649:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   6650:         test ! -s conftest.err
                   6651:        }; then
1.1.1.19  root     6652:   ac_header_preproc=yes
1.1.1.6   root     6653: else
1.1.1.19  root     6654:   echo "$as_me: failed program was:" >&5
                   6655: sed 's/^/| /' conftest.$ac_ext >&5
                   6656: 
                   6657:   ac_header_preproc=no
1.1.1.6   root     6658: fi
1.1.1.22  root     6659: 
1.1.1.19  root     6660: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     6661: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6662: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1       root     6663: 
1.1.1.19  root     6664: # So?  What about this header?
                   6665: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6666:   yes:no: )
                   6667:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6668: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6669:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6670: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6671:     ac_header_preproc=yes
                   6672:     ;;
                   6673:   no:yes:* )
                   6674:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6675: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6676:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6677: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6678:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6679: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6680:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6681: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6682:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6683: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6684:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6685: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     6686: 
1.1.1.19  root     6687:     ;;
                   6688: esac
1.1.1.22  root     6689: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6690: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6691: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6692:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     6693: else
1.1.1.19  root     6694:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.8   root     6695: fi
1.1.1.22  root     6696: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6697:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6698: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6699: 
1.1.1.8   root     6700: fi
1.1.1.19  root     6701: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6702:   cat >>confdefs.h <<_ACEOF
                   6703: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6704: _ACEOF
                   6705: 
1.1.1.8   root     6706: fi
1.1.1.19  root     6707: 
1.1.1.8   root     6708: done
                   6709: 
1.1.1.19  root     6710: 
                   6711: 
                   6712: for ac_header in windows.h ddraw.h
1.1.1.8   root     6713: do
1.1.1.19  root     6714: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6715: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   6716:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6717: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6718: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6719:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6720: fi
1.1.1.22  root     6721: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6722:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6723: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6724: else
                   6725:   # Is the header compilable?
1.1.1.22  root     6726: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6727: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     6728: cat >conftest.$ac_ext <<_ACEOF
                   6729: /* confdefs.h.  */
                   6730: _ACEOF
                   6731: cat confdefs.h >>conftest.$ac_ext
                   6732: cat >>conftest.$ac_ext <<_ACEOF
                   6733: /* end confdefs.h.  */
                   6734: $ac_includes_default
                   6735: #include <$ac_header>
                   6736: _ACEOF
                   6737: rm -f conftest.$ac_objext
1.1.1.22  root     6738: if { (ac_try="$ac_compile"
                   6739: case "(($ac_try" in
                   6740:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6741:   *) ac_try_echo=$ac_try;;
                   6742: esac
                   6743: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6744:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6745:   ac_status=$?
                   6746:   grep -v '^ *+' conftest.er1 >conftest.err
                   6747:   rm -f conftest.er1
                   6748:   cat conftest.err >&5
                   6749:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6750:   (exit $ac_status); } && {
                   6751:         test -z "$ac_c_werror_flag" ||
                   6752:         test ! -s conftest.err
                   6753:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6754:   ac_header_compiler=yes
                   6755: else
                   6756:   echo "$as_me: failed program was:" >&5
                   6757: sed 's/^/| /' conftest.$ac_ext >&5
                   6758: 
1.1.1.22  root     6759:        ac_header_compiler=no
1.1.1.19  root     6760: fi
1.1.1.22  root     6761: 
                   6762: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6763: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6764: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     6765: 
                   6766: # Is the header present?
1.1.1.22  root     6767: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6768: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     6769: cat >conftest.$ac_ext <<_ACEOF
                   6770: /* confdefs.h.  */
                   6771: _ACEOF
                   6772: cat confdefs.h >>conftest.$ac_ext
                   6773: cat >>conftest.$ac_ext <<_ACEOF
                   6774: /* end confdefs.h.  */
                   6775: #include <$ac_header>
                   6776: _ACEOF
1.1.1.22  root     6777: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   6778: case "(($ac_try" in
                   6779:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6780:   *) ac_try_echo=$ac_try;;
                   6781: esac
                   6782: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6783:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     6784:   ac_status=$?
                   6785:   grep -v '^ *+' conftest.er1 >conftest.err
                   6786:   rm -f conftest.er1
                   6787:   cat conftest.err >&5
                   6788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6789:   (exit $ac_status); } >/dev/null && {
                   6790:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   6791:         test ! -s conftest.err
                   6792:        }; then
1.1.1.19  root     6793:   ac_header_preproc=yes
1.1.1.6   root     6794: else
1.1.1.19  root     6795:   echo "$as_me: failed program was:" >&5
                   6796: sed 's/^/| /' conftest.$ac_ext >&5
                   6797: 
                   6798:   ac_header_preproc=no
1.1.1.6   root     6799: fi
1.1.1.22  root     6800: 
1.1.1.19  root     6801: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     6802: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6803: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.6   root     6804: 
1.1.1.19  root     6805: # So?  What about this header?
                   6806: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6807:   yes:no: )
                   6808:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6809: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6810:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6811: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6812:     ac_header_preproc=yes
                   6813:     ;;
                   6814:   no:yes:* )
                   6815:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6816: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   6817:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6818: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6819:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6820: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6821:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6822: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6823:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6824: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   6825:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6826: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     6827: 
1.1.1.19  root     6828:     ;;
                   6829: esac
1.1.1.22  root     6830: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6831: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6832: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6833:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     6834: else
1.1.1.19  root     6835:   eval "$as_ac_Header=\$ac_header_preproc"
1.1.1.6   root     6836: fi
1.1.1.22  root     6837: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6838:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6839: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6840: 
1.1.1.6   root     6841: fi
1.1.1.19  root     6842: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6843:   cat >>confdefs.h <<_ACEOF
                   6844: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6845: _ACEOF
                   6846: 
1.1.1.6   root     6847: fi
                   6848: 
1.1.1.19  root     6849: done
1.1.1.6   root     6850: 
1.1.1.19  root     6851: if test "${ac_cv_header_be_math_h+set}" = set; then
1.1.1.22  root     6852:   { echo "$as_me:$LINENO: checking for be_math.h" >&5
                   6853: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6; }
1.1.1.19  root     6854: if test "${ac_cv_header_be_math_h+set}" = set; then
                   6855:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6856: fi
1.1.1.22  root     6857: { echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
                   6858: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6; }
1.1.1.19  root     6859: else
                   6860:   # Is the header compilable?
1.1.1.22  root     6861: { echo "$as_me:$LINENO: checking be_math.h usability" >&5
                   6862: echo $ECHO_N "checking be_math.h usability... $ECHO_C" >&6; }
1.1.1.19  root     6863: cat >conftest.$ac_ext <<_ACEOF
                   6864: /* confdefs.h.  */
                   6865: _ACEOF
                   6866: cat confdefs.h >>conftest.$ac_ext
                   6867: cat >>conftest.$ac_ext <<_ACEOF
                   6868: /* end confdefs.h.  */
                   6869: $ac_includes_default
                   6870: #include <be_math.h>
                   6871: _ACEOF
                   6872: rm -f conftest.$ac_objext
1.1.1.22  root     6873: if { (ac_try="$ac_compile"
                   6874: case "(($ac_try" in
                   6875:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6876:   *) ac_try_echo=$ac_try;;
                   6877: esac
                   6878: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6879:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     6880:   ac_status=$?
                   6881:   grep -v '^ *+' conftest.er1 >conftest.err
                   6882:   rm -f conftest.er1
                   6883:   cat conftest.err >&5
                   6884:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6885:   (exit $ac_status); } && {
                   6886:         test -z "$ac_c_werror_flag" ||
                   6887:         test ! -s conftest.err
                   6888:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     6889:   ac_header_compiler=yes
                   6890: else
                   6891:   echo "$as_me: failed program was:" >&5
                   6892: sed 's/^/| /' conftest.$ac_ext >&5
                   6893: 
1.1.1.22  root     6894:        ac_header_compiler=no
1.1.1.19  root     6895: fi
1.1.1.22  root     6896: 
                   6897: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6898: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6899: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     6900: 
                   6901: # Is the header present?
1.1.1.22  root     6902: { echo "$as_me:$LINENO: checking be_math.h presence" >&5
                   6903: echo $ECHO_N "checking be_math.h presence... $ECHO_C" >&6; }
1.1.1.19  root     6904: cat >conftest.$ac_ext <<_ACEOF
                   6905: /* confdefs.h.  */
                   6906: _ACEOF
                   6907: cat confdefs.h >>conftest.$ac_ext
                   6908: cat >>conftest.$ac_ext <<_ACEOF
                   6909: /* end confdefs.h.  */
                   6910: #include <be_math.h>
                   6911: _ACEOF
1.1.1.22  root     6912: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   6913: case "(($ac_try" in
                   6914:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6915:   *) ac_try_echo=$ac_try;;
                   6916: esac
                   6917: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6918:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     6919:   ac_status=$?
                   6920:   grep -v '^ *+' conftest.er1 >conftest.err
                   6921:   rm -f conftest.er1
                   6922:   cat conftest.err >&5
                   6923:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     6924:   (exit $ac_status); } >/dev/null && {
                   6925:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   6926:         test ! -s conftest.err
                   6927:        }; then
1.1.1.19  root     6928:   ac_header_preproc=yes
1.1.1.6   root     6929: else
1.1.1.19  root     6930:   echo "$as_me: failed program was:" >&5
                   6931: sed 's/^/| /' conftest.$ac_ext >&5
                   6932: 
                   6933:   ac_header_preproc=no
                   6934: fi
1.1.1.22  root     6935: 
1.1.1.19  root     6936: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     6937: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6938: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     6939: 
                   6940: # So?  What about this header?
                   6941: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6942:   yes:no: )
                   6943:     { echo "$as_me:$LINENO: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&5
                   6944: echo "$as_me: WARNING: be_math.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   6945:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the compiler's result" >&5
                   6946: echo "$as_me: WARNING: be_math.h: proceeding with the compiler's result" >&2;}
                   6947:     ac_header_preproc=yes
                   6948:     ;;
                   6949:   no:yes:* )
                   6950:     { echo "$as_me:$LINENO: WARNING: be_math.h: present but cannot be compiled" >&5
                   6951: echo "$as_me: WARNING: be_math.h: present but cannot be compiled" >&2;}
                   6952:     { echo "$as_me:$LINENO: WARNING: be_math.h:     check for missing prerequisite headers?" >&5
                   6953: echo "$as_me: WARNING: be_math.h:     check for missing prerequisite headers?" >&2;}
                   6954:     { echo "$as_me:$LINENO: WARNING: be_math.h: see the Autoconf documentation" >&5
                   6955: echo "$as_me: WARNING: be_math.h: see the Autoconf documentation" >&2;}
                   6956:     { echo "$as_me:$LINENO: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&5
                   6957: echo "$as_me: WARNING: be_math.h:     section \"Present But Cannot Be Compiled\"" >&2;}
                   6958:     { echo "$as_me:$LINENO: WARNING: be_math.h: proceeding with the preprocessor's result" >&5
                   6959: echo "$as_me: WARNING: be_math.h: proceeding with the preprocessor's result" >&2;}
                   6960:     { echo "$as_me:$LINENO: WARNING: be_math.h: in the future, the compiler will take precedence" >&5
                   6961: echo "$as_me: WARNING: be_math.h: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     6962: 
1.1.1.19  root     6963:     ;;
                   6964: esac
1.1.1.22  root     6965: { echo "$as_me:$LINENO: checking for be_math.h" >&5
                   6966: echo $ECHO_N "checking for be_math.h... $ECHO_C" >&6; }
1.1.1.19  root     6967: if test "${ac_cv_header_be_math_h+set}" = set; then
                   6968:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6969: else
                   6970:   ac_cv_header_be_math_h=$ac_header_preproc
                   6971: fi
1.1.1.22  root     6972: { echo "$as_me:$LINENO: result: $ac_cv_header_be_math_h" >&5
                   6973: echo "${ECHO_T}$ac_cv_header_be_math_h" >&6; }
1.1.1.19  root     6974: 
                   6975: fi
                   6976: if test $ac_cv_header_be_math_h = yes; then
                   6977:   HAVE_BEOS=yes
                   6978: else
                   6979:   HAVE_BEOS=no
                   6980: fi
                   6981: 
                   6982: 
                   6983: 
                   6984: for ac_header in machine/joystick.h
                   6985: do
                   6986: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     6987: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   6988:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6989: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   6990: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     6991:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6992: fi
1.1.1.22  root     6993: ac_res=`eval echo '${'$as_ac_Header'}'`
                   6994:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   6995: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     6996: else
                   6997:   # Is the header compilable?
1.1.1.22  root     6998: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6999: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     7000: cat >conftest.$ac_ext <<_ACEOF
                   7001: /* confdefs.h.  */
                   7002: _ACEOF
                   7003: cat confdefs.h >>conftest.$ac_ext
                   7004: cat >>conftest.$ac_ext <<_ACEOF
                   7005: /* end confdefs.h.  */
                   7006: $ac_includes_default
                   7007: #include <$ac_header>
                   7008: _ACEOF
                   7009: rm -f conftest.$ac_objext
1.1.1.22  root     7010: if { (ac_try="$ac_compile"
                   7011: case "(($ac_try" in
                   7012:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7013:   *) ac_try_echo=$ac_try;;
                   7014: esac
                   7015: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7016:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7017:   ac_status=$?
                   7018:   grep -v '^ *+' conftest.er1 >conftest.err
                   7019:   rm -f conftest.er1
                   7020:   cat conftest.err >&5
                   7021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7022:   (exit $ac_status); } && {
                   7023:         test -z "$ac_c_werror_flag" ||
                   7024:         test ! -s conftest.err
                   7025:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7026:   ac_header_compiler=yes
                   7027: else
                   7028:   echo "$as_me: failed program was:" >&5
                   7029: sed 's/^/| /' conftest.$ac_ext >&5
                   7030: 
1.1.1.22  root     7031:        ac_header_compiler=no
1.1.1.19  root     7032: fi
1.1.1.22  root     7033: 
                   7034: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7035: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   7036: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     7037: 
                   7038: # Is the header present?
1.1.1.22  root     7039: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   7040: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     7041: cat >conftest.$ac_ext <<_ACEOF
                   7042: /* confdefs.h.  */
                   7043: _ACEOF
                   7044: cat confdefs.h >>conftest.$ac_ext
                   7045: cat >>conftest.$ac_ext <<_ACEOF
                   7046: /* end confdefs.h.  */
                   7047: #include <$ac_header>
                   7048: _ACEOF
1.1.1.22  root     7049: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   7050: case "(($ac_try" in
                   7051:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7052:   *) ac_try_echo=$ac_try;;
                   7053: esac
                   7054: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7055:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     7056:   ac_status=$?
                   7057:   grep -v '^ *+' conftest.er1 >conftest.err
                   7058:   rm -f conftest.er1
                   7059:   cat conftest.err >&5
                   7060:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7061:   (exit $ac_status); } >/dev/null && {
                   7062:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   7063:         test ! -s conftest.err
                   7064:        }; then
1.1.1.19  root     7065:   ac_header_preproc=yes
                   7066: else
                   7067:   echo "$as_me: failed program was:" >&5
                   7068: sed 's/^/| /' conftest.$ac_ext >&5
                   7069: 
                   7070:   ac_header_preproc=no
                   7071: fi
1.1.1.22  root     7072: 
1.1.1.19  root     7073: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     7074: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   7075: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     7076: 
                   7077: # So?  What about this header?
                   7078: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   7079:   yes:no: )
                   7080:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   7081: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   7082:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   7083: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   7084:     ac_header_preproc=yes
                   7085:     ;;
                   7086:   no:yes:* )
                   7087:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   7088: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   7089:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   7090: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   7091:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   7092: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   7093:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   7094: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   7095:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   7096: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   7097:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   7098: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     7099: 
1.1.1.19  root     7100:     ;;
                   7101: esac
1.1.1.22  root     7102: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7103: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7104: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7105:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7106: else
                   7107:   eval "$as_ac_Header=\$ac_header_preproc"
                   7108: fi
1.1.1.22  root     7109: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7110:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7111: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7112: 
                   7113: fi
                   7114: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7115:   cat >>confdefs.h <<_ACEOF
                   7116: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7117: _ACEOF
                   7118: 
                   7119: fi
                   7120: 
                   7121: done
                   7122: 
                   7123: 
                   7124: for ac_header in devices/ahi.h
                   7125: do
                   7126: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     7127: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   7128:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7129: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7130: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7131:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7132: fi
1.1.1.22  root     7133: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7134:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7135: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7136: else
                   7137:   # Is the header compilable?
1.1.1.22  root     7138: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   7139: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     7140: cat >conftest.$ac_ext <<_ACEOF
                   7141: /* confdefs.h.  */
                   7142: _ACEOF
                   7143: cat confdefs.h >>conftest.$ac_ext
                   7144: cat >>conftest.$ac_ext <<_ACEOF
                   7145: /* end confdefs.h.  */
                   7146: $ac_includes_default
                   7147: #include <$ac_header>
                   7148: _ACEOF
                   7149: rm -f conftest.$ac_objext
1.1.1.22  root     7150: if { (ac_try="$ac_compile"
                   7151: case "(($ac_try" in
                   7152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7153:   *) ac_try_echo=$ac_try;;
                   7154: esac
                   7155: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7156:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7157:   ac_status=$?
                   7158:   grep -v '^ *+' conftest.er1 >conftest.err
                   7159:   rm -f conftest.er1
                   7160:   cat conftest.err >&5
                   7161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7162:   (exit $ac_status); } && {
                   7163:         test -z "$ac_c_werror_flag" ||
                   7164:         test ! -s conftest.err
                   7165:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7166:   ac_header_compiler=yes
                   7167: else
                   7168:   echo "$as_me: failed program was:" >&5
                   7169: sed 's/^/| /' conftest.$ac_ext >&5
                   7170: 
1.1.1.22  root     7171:        ac_header_compiler=no
1.1.1.19  root     7172: fi
1.1.1.22  root     7173: 
                   7174: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7175: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   7176: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     7177: 
                   7178: # Is the header present?
1.1.1.22  root     7179: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   7180: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     7181: cat >conftest.$ac_ext <<_ACEOF
                   7182: /* confdefs.h.  */
                   7183: _ACEOF
                   7184: cat confdefs.h >>conftest.$ac_ext
                   7185: cat >>conftest.$ac_ext <<_ACEOF
                   7186: /* end confdefs.h.  */
                   7187: #include <$ac_header>
                   7188: _ACEOF
1.1.1.22  root     7189: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   7190: case "(($ac_try" in
                   7191:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7192:   *) ac_try_echo=$ac_try;;
                   7193: esac
                   7194: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7195:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     7196:   ac_status=$?
                   7197:   grep -v '^ *+' conftest.er1 >conftest.err
                   7198:   rm -f conftest.er1
                   7199:   cat conftest.err >&5
                   7200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7201:   (exit $ac_status); } >/dev/null && {
                   7202:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   7203:         test ! -s conftest.err
                   7204:        }; then
1.1.1.19  root     7205:   ac_header_preproc=yes
                   7206: else
                   7207:   echo "$as_me: failed program was:" >&5
                   7208: sed 's/^/| /' conftest.$ac_ext >&5
                   7209: 
                   7210:   ac_header_preproc=no
                   7211: fi
1.1.1.22  root     7212: 
1.1.1.19  root     7213: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     7214: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   7215: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     7216: 
                   7217: # So?  What about this header?
                   7218: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   7219:   yes:no: )
                   7220:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   7221: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   7222:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   7223: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   7224:     ac_header_preproc=yes
                   7225:     ;;
                   7226:   no:yes:* )
                   7227:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   7228: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   7229:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   7230: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   7231:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   7232: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   7233:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   7234: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   7235:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   7236: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   7237:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   7238: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     7239: 
1.1.1.19  root     7240:     ;;
                   7241: esac
1.1.1.22  root     7242: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7243: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7244: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7245:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7246: else
                   7247:   eval "$as_ac_Header=\$ac_header_preproc"
                   7248: fi
1.1.1.22  root     7249: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7250:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7251: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7252: 
                   7253: fi
                   7254: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7255:   cat >>confdefs.h <<_ACEOF
                   7256: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7257: _ACEOF
                   7258: 
                   7259: fi
                   7260: 
                   7261: done
                   7262: 
                   7263: 
                   7264: for ac_header in dmedia/audio.h
                   7265: do
                   7266: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     7267: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   7268:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7269: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7270: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7271:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7272: fi
1.1.1.22  root     7273: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7274:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7275: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7276: else
                   7277:   # Is the header compilable?
1.1.1.22  root     7278: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   7279: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     7280: cat >conftest.$ac_ext <<_ACEOF
                   7281: /* confdefs.h.  */
                   7282: _ACEOF
                   7283: cat confdefs.h >>conftest.$ac_ext
                   7284: cat >>conftest.$ac_ext <<_ACEOF
                   7285: /* end confdefs.h.  */
                   7286: $ac_includes_default
                   7287: #include <$ac_header>
                   7288: _ACEOF
                   7289: rm -f conftest.$ac_objext
1.1.1.22  root     7290: if { (ac_try="$ac_compile"
                   7291: case "(($ac_try" in
                   7292:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7293:   *) ac_try_echo=$ac_try;;
                   7294: esac
                   7295: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7296:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7297:   ac_status=$?
                   7298:   grep -v '^ *+' conftest.er1 >conftest.err
                   7299:   rm -f conftest.er1
                   7300:   cat conftest.err >&5
                   7301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7302:   (exit $ac_status); } && {
                   7303:         test -z "$ac_c_werror_flag" ||
                   7304:         test ! -s conftest.err
                   7305:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7306:   ac_header_compiler=yes
                   7307: else
                   7308:   echo "$as_me: failed program was:" >&5
                   7309: sed 's/^/| /' conftest.$ac_ext >&5
                   7310: 
1.1.1.22  root     7311:        ac_header_compiler=no
1.1.1.19  root     7312: fi
1.1.1.22  root     7313: 
                   7314: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7315: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   7316: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     7317: 
                   7318: # Is the header present?
1.1.1.22  root     7319: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   7320: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     7321: cat >conftest.$ac_ext <<_ACEOF
                   7322: /* confdefs.h.  */
                   7323: _ACEOF
                   7324: cat confdefs.h >>conftest.$ac_ext
                   7325: cat >>conftest.$ac_ext <<_ACEOF
                   7326: /* end confdefs.h.  */
                   7327: #include <$ac_header>
                   7328: _ACEOF
1.1.1.22  root     7329: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   7330: case "(($ac_try" in
                   7331:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7332:   *) ac_try_echo=$ac_try;;
                   7333: esac
                   7334: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7335:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     7336:   ac_status=$?
                   7337:   grep -v '^ *+' conftest.er1 >conftest.err
                   7338:   rm -f conftest.er1
                   7339:   cat conftest.err >&5
                   7340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7341:   (exit $ac_status); } >/dev/null && {
                   7342:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   7343:         test ! -s conftest.err
                   7344:        }; then
1.1.1.19  root     7345:   ac_header_preproc=yes
                   7346: else
                   7347:   echo "$as_me: failed program was:" >&5
                   7348: sed 's/^/| /' conftest.$ac_ext >&5
                   7349: 
                   7350:   ac_header_preproc=no
                   7351: fi
1.1.1.22  root     7352: 
1.1.1.19  root     7353: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     7354: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   7355: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     7356: 
                   7357: # So?  What about this header?
                   7358: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   7359:   yes:no: )
                   7360:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   7361: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   7362:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   7363: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   7364:     ac_header_preproc=yes
                   7365:     ;;
                   7366:   no:yes:* )
                   7367:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   7368: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   7369:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   7370: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   7371:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   7372: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   7373:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   7374: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   7375:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   7376: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   7377:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   7378: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     7379: 
1.1.1.19  root     7380:     ;;
                   7381: esac
1.1.1.22  root     7382: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7383: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7384: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7385:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7386: else
                   7387:   eval "$as_ac_Header=\$ac_header_preproc"
                   7388: fi
1.1.1.22  root     7389: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7390:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7391: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7392: 
                   7393: fi
                   7394: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7395:   cat >>confdefs.h <<_ACEOF
                   7396: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7397: _ACEOF
                   7398: 
                   7399: fi
                   7400: 
                   7401: done
                   7402: 
                   7403: 
                   7404: 
                   7405: for ac_header in libraries/cybergraphics.h cybergraphx/cybergraphics.h
                   7406: do
                   7407: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     7408: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   7409:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7410: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7411: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7412:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7413: fi
1.1.1.22  root     7414: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7415:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7416: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7417: else
                   7418:   # Is the header compilable?
1.1.1.22  root     7419: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   7420: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     7421: cat >conftest.$ac_ext <<_ACEOF
                   7422: /* confdefs.h.  */
                   7423: _ACEOF
                   7424: cat confdefs.h >>conftest.$ac_ext
                   7425: cat >>conftest.$ac_ext <<_ACEOF
                   7426: /* end confdefs.h.  */
                   7427: $ac_includes_default
                   7428: #include <$ac_header>
                   7429: _ACEOF
                   7430: rm -f conftest.$ac_objext
1.1.1.22  root     7431: if { (ac_try="$ac_compile"
                   7432: case "(($ac_try" in
                   7433:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7434:   *) ac_try_echo=$ac_try;;
                   7435: esac
                   7436: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7437:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7438:   ac_status=$?
                   7439:   grep -v '^ *+' conftest.er1 >conftest.err
                   7440:   rm -f conftest.er1
                   7441:   cat conftest.err >&5
                   7442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7443:   (exit $ac_status); } && {
                   7444:         test -z "$ac_c_werror_flag" ||
                   7445:         test ! -s conftest.err
                   7446:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7447:   ac_header_compiler=yes
                   7448: else
                   7449:   echo "$as_me: failed program was:" >&5
                   7450: sed 's/^/| /' conftest.$ac_ext >&5
                   7451: 
1.1.1.22  root     7452:        ac_header_compiler=no
1.1.1.19  root     7453: fi
1.1.1.22  root     7454: 
                   7455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7456: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   7457: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     7458: 
                   7459: # Is the header present?
1.1.1.22  root     7460: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   7461: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     7462: cat >conftest.$ac_ext <<_ACEOF
                   7463: /* confdefs.h.  */
                   7464: _ACEOF
                   7465: cat confdefs.h >>conftest.$ac_ext
                   7466: cat >>conftest.$ac_ext <<_ACEOF
                   7467: /* end confdefs.h.  */
                   7468: #include <$ac_header>
                   7469: _ACEOF
1.1.1.22  root     7470: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   7471: case "(($ac_try" in
                   7472:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7473:   *) ac_try_echo=$ac_try;;
                   7474: esac
                   7475: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7476:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     7477:   ac_status=$?
                   7478:   grep -v '^ *+' conftest.er1 >conftest.err
                   7479:   rm -f conftest.er1
                   7480:   cat conftest.err >&5
                   7481:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7482:   (exit $ac_status); } >/dev/null && {
                   7483:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   7484:         test ! -s conftest.err
                   7485:        }; then
1.1.1.19  root     7486:   ac_header_preproc=yes
                   7487: else
                   7488:   echo "$as_me: failed program was:" >&5
                   7489: sed 's/^/| /' conftest.$ac_ext >&5
                   7490: 
                   7491:   ac_header_preproc=no
                   7492: fi
1.1.1.22  root     7493: 
1.1.1.19  root     7494: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     7495: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   7496: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     7497: 
                   7498: # So?  What about this header?
                   7499: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   7500:   yes:no: )
                   7501:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   7502: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   7503:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   7504: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   7505:     ac_header_preproc=yes
                   7506:     ;;
                   7507:   no:yes:* )
                   7508:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   7509: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   7510:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   7511: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   7512:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   7513: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   7514:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   7515: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   7516:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   7517: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   7518:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   7519: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     7520: 
1.1.1.19  root     7521:     ;;
                   7522: esac
1.1.1.22  root     7523: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7524: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   7525: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     7526:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7527: else
                   7528:   eval "$as_ac_Header=\$ac_header_preproc"
                   7529: fi
1.1.1.22  root     7530: ac_res=`eval echo '${'$as_ac_Header'}'`
                   7531:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   7532: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     7533: 
                   7534: fi
                   7535: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7536:   cat >>confdefs.h <<_ACEOF
                   7537: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7538: _ACEOF
                   7539: 
                   7540: fi
                   7541: 
                   7542: done
                   7543: 
                   7544: 
1.1.1.22  root     7545: { echo "$as_me:$LINENO: checking for char" >&5
                   7546: echo $ECHO_N "checking for char... $ECHO_C" >&6; }
1.1.1.19  root     7547: if test "${ac_cv_type_char+set}" = set; then
                   7548:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7549: else
                   7550:   cat >conftest.$ac_ext <<_ACEOF
                   7551: /* confdefs.h.  */
                   7552: _ACEOF
                   7553: cat confdefs.h >>conftest.$ac_ext
                   7554: cat >>conftest.$ac_ext <<_ACEOF
                   7555: /* end confdefs.h.  */
                   7556: $ac_includes_default
1.1.1.22  root     7557: typedef char ac__type_new_;
1.1.1.19  root     7558: int
                   7559: main ()
                   7560: {
1.1.1.22  root     7561: if ((ac__type_new_ *) 0)
1.1.1.19  root     7562:   return 0;
1.1.1.22  root     7563: if (sizeof (ac__type_new_))
1.1.1.19  root     7564:   return 0;
                   7565:   ;
                   7566:   return 0;
                   7567: }
                   7568: _ACEOF
                   7569: rm -f conftest.$ac_objext
1.1.1.22  root     7570: if { (ac_try="$ac_compile"
                   7571: case "(($ac_try" in
                   7572:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7573:   *) ac_try_echo=$ac_try;;
                   7574: esac
                   7575: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7576:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7577:   ac_status=$?
                   7578:   grep -v '^ *+' conftest.er1 >conftest.err
                   7579:   rm -f conftest.er1
                   7580:   cat conftest.err >&5
                   7581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7582:   (exit $ac_status); } && {
                   7583:         test -z "$ac_c_werror_flag" ||
                   7584:         test ! -s conftest.err
                   7585:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7586:   ac_cv_type_char=yes
                   7587: else
                   7588:   echo "$as_me: failed program was:" >&5
                   7589: sed 's/^/| /' conftest.$ac_ext >&5
                   7590: 
1.1.1.22  root     7591:        ac_cv_type_char=no
1.1.1.19  root     7592: fi
1.1.1.22  root     7593: 
                   7594: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7595: fi
1.1.1.22  root     7596: { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
                   7597: echo "${ECHO_T}$ac_cv_type_char" >&6; }
1.1.1.19  root     7598: 
1.1.1.22  root     7599: # The cast to long int works around a bug in the HP C Compiler
                   7600: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   7601: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   7602: # This bug is HP SR number 8606223364.
                   7603: { echo "$as_me:$LINENO: checking size of char" >&5
                   7604: echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
1.1.1.19  root     7605: if test "${ac_cv_sizeof_char+set}" = set; then
                   7606:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7607: else
                   7608:   if test "$cross_compiling" = yes; then
                   7609:   # Depending upon the size, compute the lo and hi bounds.
                   7610: cat >conftest.$ac_ext <<_ACEOF
                   7611: /* confdefs.h.  */
                   7612: _ACEOF
                   7613: cat confdefs.h >>conftest.$ac_ext
                   7614: cat >>conftest.$ac_ext <<_ACEOF
                   7615: /* end confdefs.h.  */
                   7616: $ac_includes_default
1.1.1.22  root     7617:    typedef char ac__type_sizeof_;
1.1.1.19  root     7618: int
                   7619: main ()
                   7620: {
1.1.1.22  root     7621: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     7622: test_array [0] = 0
                   7623: 
                   7624:   ;
                   7625:   return 0;
                   7626: }
                   7627: _ACEOF
                   7628: rm -f conftest.$ac_objext
1.1.1.22  root     7629: if { (ac_try="$ac_compile"
                   7630: case "(($ac_try" in
                   7631:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7632:   *) ac_try_echo=$ac_try;;
                   7633: esac
                   7634: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7635:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7636:   ac_status=$?
                   7637:   grep -v '^ *+' conftest.er1 >conftest.err
                   7638:   rm -f conftest.er1
                   7639:   cat conftest.err >&5
                   7640:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7641:   (exit $ac_status); } && {
                   7642:         test -z "$ac_c_werror_flag" ||
                   7643:         test ! -s conftest.err
                   7644:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7645:   ac_lo=0 ac_mid=0
                   7646:   while :; do
                   7647:     cat >conftest.$ac_ext <<_ACEOF
                   7648: /* confdefs.h.  */
                   7649: _ACEOF
                   7650: cat confdefs.h >>conftest.$ac_ext
                   7651: cat >>conftest.$ac_ext <<_ACEOF
                   7652: /* end confdefs.h.  */
                   7653: $ac_includes_default
1.1.1.22  root     7654:    typedef char ac__type_sizeof_;
1.1.1.19  root     7655: int
                   7656: main ()
                   7657: {
1.1.1.22  root     7658: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     7659: test_array [0] = 0
                   7660: 
                   7661:   ;
                   7662:   return 0;
                   7663: }
                   7664: _ACEOF
                   7665: rm -f conftest.$ac_objext
1.1.1.22  root     7666: if { (ac_try="$ac_compile"
                   7667: case "(($ac_try" in
                   7668:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7669:   *) ac_try_echo=$ac_try;;
                   7670: esac
                   7671: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7672:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7673:   ac_status=$?
                   7674:   grep -v '^ *+' conftest.er1 >conftest.err
                   7675:   rm -f conftest.er1
                   7676:   cat conftest.err >&5
                   7677:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7678:   (exit $ac_status); } && {
                   7679:         test -z "$ac_c_werror_flag" ||
                   7680:         test ! -s conftest.err
                   7681:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7682:   ac_hi=$ac_mid; break
                   7683: else
                   7684:   echo "$as_me: failed program was:" >&5
                   7685: sed 's/^/| /' conftest.$ac_ext >&5
                   7686: 
1.1.1.22  root     7687:        ac_lo=`expr $ac_mid + 1`
                   7688:                        if test $ac_lo -le $ac_mid; then
                   7689:                          ac_lo= ac_hi=
                   7690:                          break
                   7691:                        fi
                   7692:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.19  root     7693: fi
1.1.1.22  root     7694: 
                   7695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7696:   done
                   7697: else
                   7698:   echo "$as_me: failed program was:" >&5
                   7699: sed 's/^/| /' conftest.$ac_ext >&5
                   7700: 
1.1.1.22  root     7701:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     7702: /* confdefs.h.  */
                   7703: _ACEOF
                   7704: cat confdefs.h >>conftest.$ac_ext
                   7705: cat >>conftest.$ac_ext <<_ACEOF
                   7706: /* end confdefs.h.  */
                   7707: $ac_includes_default
1.1.1.22  root     7708:    typedef char ac__type_sizeof_;
1.1.1.19  root     7709: int
                   7710: main ()
                   7711: {
1.1.1.22  root     7712: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     7713: test_array [0] = 0
                   7714: 
                   7715:   ;
                   7716:   return 0;
                   7717: }
                   7718: _ACEOF
                   7719: rm -f conftest.$ac_objext
1.1.1.22  root     7720: if { (ac_try="$ac_compile"
                   7721: case "(($ac_try" in
                   7722:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7723:   *) ac_try_echo=$ac_try;;
                   7724: esac
                   7725: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7726:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7727:   ac_status=$?
                   7728:   grep -v '^ *+' conftest.er1 >conftest.err
                   7729:   rm -f conftest.er1
                   7730:   cat conftest.err >&5
                   7731:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7732:   (exit $ac_status); } && {
                   7733:         test -z "$ac_c_werror_flag" ||
                   7734:         test ! -s conftest.err
                   7735:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7736:   ac_hi=-1 ac_mid=-1
                   7737:   while :; do
                   7738:     cat >conftest.$ac_ext <<_ACEOF
                   7739: /* confdefs.h.  */
                   7740: _ACEOF
                   7741: cat confdefs.h >>conftest.$ac_ext
                   7742: cat >>conftest.$ac_ext <<_ACEOF
                   7743: /* end confdefs.h.  */
                   7744: $ac_includes_default
1.1.1.22  root     7745:    typedef char ac__type_sizeof_;
1.1.1.19  root     7746: int
                   7747: main ()
                   7748: {
1.1.1.22  root     7749: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     7750: test_array [0] = 0
                   7751: 
                   7752:   ;
                   7753:   return 0;
                   7754: }
                   7755: _ACEOF
                   7756: rm -f conftest.$ac_objext
1.1.1.22  root     7757: if { (ac_try="$ac_compile"
                   7758: case "(($ac_try" in
                   7759:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7760:   *) ac_try_echo=$ac_try;;
                   7761: esac
                   7762: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7763:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7764:   ac_status=$?
                   7765:   grep -v '^ *+' conftest.er1 >conftest.err
                   7766:   rm -f conftest.er1
                   7767:   cat conftest.err >&5
                   7768:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7769:   (exit $ac_status); } && {
                   7770:         test -z "$ac_c_werror_flag" ||
                   7771:         test ! -s conftest.err
                   7772:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7773:   ac_lo=$ac_mid; break
                   7774: else
                   7775:   echo "$as_me: failed program was:" >&5
                   7776: sed 's/^/| /' conftest.$ac_ext >&5
                   7777: 
1.1.1.22  root     7778:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   7779:                        if test $ac_mid -le $ac_hi; then
                   7780:                          ac_lo= ac_hi=
                   7781:                          break
                   7782:                        fi
                   7783:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.19  root     7784: fi
1.1.1.22  root     7785: 
                   7786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7787:   done
                   7788: else
                   7789:   echo "$as_me: failed program was:" >&5
                   7790: sed 's/^/| /' conftest.$ac_ext >&5
                   7791: 
1.1.1.22  root     7792:        ac_lo= ac_hi=
1.1.1.19  root     7793: fi
1.1.1.22  root     7794: 
                   7795: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7796: fi
1.1.1.22  root     7797: 
                   7798: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7799: # Binary search between lo and hi bounds.
                   7800: while test "x$ac_lo" != "x$ac_hi"; do
                   7801:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   7802:   cat >conftest.$ac_ext <<_ACEOF
                   7803: /* confdefs.h.  */
                   7804: _ACEOF
                   7805: cat confdefs.h >>conftest.$ac_ext
                   7806: cat >>conftest.$ac_ext <<_ACEOF
                   7807: /* end confdefs.h.  */
                   7808: $ac_includes_default
1.1.1.22  root     7809:    typedef char ac__type_sizeof_;
1.1.1.19  root     7810: int
                   7811: main ()
                   7812: {
1.1.1.22  root     7813: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     7814: test_array [0] = 0
                   7815: 
                   7816:   ;
                   7817:   return 0;
                   7818: }
                   7819: _ACEOF
                   7820: rm -f conftest.$ac_objext
1.1.1.22  root     7821: if { (ac_try="$ac_compile"
                   7822: case "(($ac_try" in
                   7823:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7824:   *) ac_try_echo=$ac_try;;
                   7825: esac
                   7826: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7827:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7828:   ac_status=$?
                   7829:   grep -v '^ *+' conftest.er1 >conftest.err
                   7830:   rm -f conftest.er1
                   7831:   cat conftest.err >&5
                   7832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7833:   (exit $ac_status); } && {
                   7834:         test -z "$ac_c_werror_flag" ||
                   7835:         test ! -s conftest.err
                   7836:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7837:   ac_hi=$ac_mid
                   7838: else
                   7839:   echo "$as_me: failed program was:" >&5
                   7840: sed 's/^/| /' conftest.$ac_ext >&5
                   7841: 
1.1.1.22  root     7842:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     7843: fi
1.1.1.22  root     7844: 
                   7845: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7846: done
                   7847: case $ac_lo in
                   7848: ?*) ac_cv_sizeof_char=$ac_lo;;
1.1.1.22  root     7849: '') if test "$ac_cv_type_char" = yes; then
                   7850:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
1.1.1.19  root     7851: See \`config.log' for more details." >&5
1.1.1.22  root     7852: echo "$as_me: error: cannot compute sizeof (char)
1.1.1.19  root     7853: See \`config.log' for more details." >&2;}
1.1.1.22  root     7854:    { (exit 77); exit 77; }; }
                   7855:    else
                   7856:      ac_cv_sizeof_char=0
                   7857:    fi ;;
1.1.1.19  root     7858: esac
                   7859: else
                   7860:   cat >conftest.$ac_ext <<_ACEOF
                   7861: /* confdefs.h.  */
                   7862: _ACEOF
                   7863: cat confdefs.h >>conftest.$ac_ext
                   7864: cat >>conftest.$ac_ext <<_ACEOF
                   7865: /* end confdefs.h.  */
                   7866: $ac_includes_default
1.1.1.22  root     7867:    typedef char ac__type_sizeof_;
                   7868: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   7869: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.6   root     7870: #include <stdio.h>
1.1.1.19  root     7871: #include <stdlib.h>
                   7872: int
                   7873: main ()
1.1.1.6   root     7874: {
1.1.1.19  root     7875: 
                   7876:   FILE *f = fopen ("conftest.val", "w");
                   7877:   if (! f)
1.1.1.22  root     7878:     return 1;
                   7879:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     7880:     {
1.1.1.22  root     7881:       long int i = longval ();
                   7882:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   7883:        return 1;
1.1.1.19  root     7884:       fprintf (f, "%ld\n", i);
                   7885:     }
                   7886:   else
                   7887:     {
1.1.1.22  root     7888:       unsigned long int i = ulongval ();
                   7889:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   7890:        return 1;
1.1.1.19  root     7891:       fprintf (f, "%lu\n", i);
                   7892:     }
1.1.1.22  root     7893:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     7894: 
                   7895:   ;
                   7896:   return 0;
1.1.1.6   root     7897: }
1.1.1.19  root     7898: _ACEOF
                   7899: rm -f conftest$ac_exeext
1.1.1.22  root     7900: if { (ac_try="$ac_link"
                   7901: case "(($ac_try" in
                   7902:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7903:   *) ac_try_echo=$ac_try;;
                   7904: esac
                   7905: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7906:   (eval "$ac_link") 2>&5
1.1.1.19  root     7907:   ac_status=$?
                   7908:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7909:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     7910:   { (case "(($ac_try" in
                   7911:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7912:   *) ac_try_echo=$ac_try;;
                   7913: esac
                   7914: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7915:   (eval "$ac_try") 2>&5
1.1.1.19  root     7916:   ac_status=$?
                   7917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7918:   (exit $ac_status); }; }; then
                   7919:   ac_cv_sizeof_char=`cat conftest.val`
                   7920: else
                   7921:   echo "$as_me: program exited with status $ac_status" >&5
                   7922: echo "$as_me: failed program was:" >&5
                   7923: sed 's/^/| /' conftest.$ac_ext >&5
                   7924: 
                   7925: ( exit $ac_status )
1.1.1.22  root     7926: if test "$ac_cv_type_char" = yes; then
                   7927:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
1.1.1.19  root     7928: See \`config.log' for more details." >&5
1.1.1.22  root     7929: echo "$as_me: error: cannot compute sizeof (char)
1.1.1.19  root     7930: See \`config.log' for more details." >&2;}
1.1.1.22  root     7931:    { (exit 77); exit 77; }; }
                   7932:    else
                   7933:      ac_cv_sizeof_char=0
                   7934:    fi
1.1.1.19  root     7935: fi
1.1.1.22  root     7936: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     7937: fi
                   7938: rm -f conftest.val
1.1.1.6   root     7939: fi
1.1.1.22  root     7940: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
                   7941: echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
                   7942: 
                   7943: 
                   7944: 
1.1.1.19  root     7945: cat >>confdefs.h <<_ACEOF
                   7946: #define SIZEOF_CHAR $ac_cv_sizeof_char
                   7947: _ACEOF
                   7948: 
                   7949: 
1.1.1.22  root     7950: { echo "$as_me:$LINENO: checking for short" >&5
                   7951: echo $ECHO_N "checking for short... $ECHO_C" >&6; }
1.1.1.19  root     7952: if test "${ac_cv_type_short+set}" = set; then
                   7953:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7954: else
                   7955:   cat >conftest.$ac_ext <<_ACEOF
                   7956: /* confdefs.h.  */
                   7957: _ACEOF
                   7958: cat confdefs.h >>conftest.$ac_ext
                   7959: cat >>conftest.$ac_ext <<_ACEOF
                   7960: /* end confdefs.h.  */
                   7961: $ac_includes_default
1.1.1.22  root     7962: typedef short ac__type_new_;
1.1.1.19  root     7963: int
                   7964: main ()
                   7965: {
1.1.1.22  root     7966: if ((ac__type_new_ *) 0)
1.1.1.19  root     7967:   return 0;
1.1.1.22  root     7968: if (sizeof (ac__type_new_))
1.1.1.19  root     7969:   return 0;
                   7970:   ;
                   7971:   return 0;
                   7972: }
                   7973: _ACEOF
                   7974: rm -f conftest.$ac_objext
1.1.1.22  root     7975: if { (ac_try="$ac_compile"
                   7976: case "(($ac_try" in
                   7977:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   7978:   *) ac_try_echo=$ac_try;;
                   7979: esac
                   7980: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   7981:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     7982:   ac_status=$?
                   7983:   grep -v '^ *+' conftest.er1 >conftest.err
                   7984:   rm -f conftest.er1
                   7985:   cat conftest.err >&5
                   7986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     7987:   (exit $ac_status); } && {
                   7988:         test -z "$ac_c_werror_flag" ||
                   7989:         test ! -s conftest.err
                   7990:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     7991:   ac_cv_type_short=yes
                   7992: else
                   7993:   echo "$as_me: failed program was:" >&5
                   7994: sed 's/^/| /' conftest.$ac_ext >&5
                   7995: 
1.1.1.22  root     7996:        ac_cv_type_short=no
1.1.1.19  root     7997: fi
1.1.1.22  root     7998: 
                   7999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8000: fi
1.1.1.22  root     8001: { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
                   8002: echo "${ECHO_T}$ac_cv_type_short" >&6; }
1.1.1.19  root     8003: 
1.1.1.22  root     8004: # The cast to long int works around a bug in the HP C Compiler
                   8005: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8006: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8007: # This bug is HP SR number 8606223364.
                   8008: { echo "$as_me:$LINENO: checking size of short" >&5
                   8009: echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
1.1.1.19  root     8010: if test "${ac_cv_sizeof_short+set}" = set; then
                   8011:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8012: else
                   8013:   if test "$cross_compiling" = yes; then
                   8014:   # Depending upon the size, compute the lo and hi bounds.
                   8015: cat >conftest.$ac_ext <<_ACEOF
                   8016: /* confdefs.h.  */
                   8017: _ACEOF
                   8018: cat confdefs.h >>conftest.$ac_ext
                   8019: cat >>conftest.$ac_ext <<_ACEOF
                   8020: /* end confdefs.h.  */
                   8021: $ac_includes_default
1.1.1.22  root     8022:    typedef short ac__type_sizeof_;
1.1.1.19  root     8023: int
                   8024: main ()
                   8025: {
1.1.1.22  root     8026: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     8027: test_array [0] = 0
                   8028: 
                   8029:   ;
                   8030:   return 0;
                   8031: }
                   8032: _ACEOF
                   8033: rm -f conftest.$ac_objext
1.1.1.22  root     8034: if { (ac_try="$ac_compile"
                   8035: case "(($ac_try" in
                   8036:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8037:   *) ac_try_echo=$ac_try;;
                   8038: esac
                   8039: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8040:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8041:   ac_status=$?
                   8042:   grep -v '^ *+' conftest.er1 >conftest.err
                   8043:   rm -f conftest.er1
                   8044:   cat conftest.err >&5
                   8045:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8046:   (exit $ac_status); } && {
                   8047:         test -z "$ac_c_werror_flag" ||
                   8048:         test ! -s conftest.err
                   8049:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8050:   ac_lo=0 ac_mid=0
                   8051:   while :; do
                   8052:     cat >conftest.$ac_ext <<_ACEOF
                   8053: /* confdefs.h.  */
                   8054: _ACEOF
                   8055: cat confdefs.h >>conftest.$ac_ext
                   8056: cat >>conftest.$ac_ext <<_ACEOF
                   8057: /* end confdefs.h.  */
                   8058: $ac_includes_default
1.1.1.22  root     8059:    typedef short ac__type_sizeof_;
1.1.1.19  root     8060: int
                   8061: main ()
                   8062: {
1.1.1.22  root     8063: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     8064: test_array [0] = 0
1.1.1.6   root     8065: 
1.1.1.19  root     8066:   ;
                   8067:   return 0;
                   8068: }
                   8069: _ACEOF
                   8070: rm -f conftest.$ac_objext
1.1.1.22  root     8071: if { (ac_try="$ac_compile"
                   8072: case "(($ac_try" in
                   8073:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8074:   *) ac_try_echo=$ac_try;;
                   8075: esac
                   8076: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8077:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8078:   ac_status=$?
                   8079:   grep -v '^ *+' conftest.er1 >conftest.err
                   8080:   rm -f conftest.er1
                   8081:   cat conftest.err >&5
                   8082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8083:   (exit $ac_status); } && {
                   8084:         test -z "$ac_c_werror_flag" ||
                   8085:         test ! -s conftest.err
                   8086:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8087:   ac_hi=$ac_mid; break
                   8088: else
                   8089:   echo "$as_me: failed program was:" >&5
                   8090: sed 's/^/| /' conftest.$ac_ext >&5
                   8091: 
1.1.1.22  root     8092:        ac_lo=`expr $ac_mid + 1`
                   8093:                        if test $ac_lo -le $ac_mid; then
                   8094:                          ac_lo= ac_hi=
                   8095:                          break
                   8096:                        fi
                   8097:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.6   root     8098: fi
1.1.1.22  root     8099: 
                   8100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8101:   done
                   8102: else
                   8103:   echo "$as_me: failed program was:" >&5
                   8104: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.6   root     8105: 
1.1.1.22  root     8106:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     8107: /* confdefs.h.  */
                   8108: _ACEOF
                   8109: cat confdefs.h >>conftest.$ac_ext
                   8110: cat >>conftest.$ac_ext <<_ACEOF
                   8111: /* end confdefs.h.  */
                   8112: $ac_includes_default
1.1.1.22  root     8113:    typedef short ac__type_sizeof_;
1.1.1.19  root     8114: int
                   8115: main ()
                   8116: {
1.1.1.22  root     8117: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     8118: test_array [0] = 0
1.1.1.6   root     8119: 
1.1.1.19  root     8120:   ;
                   8121:   return 0;
                   8122: }
                   8123: _ACEOF
                   8124: rm -f conftest.$ac_objext
1.1.1.22  root     8125: if { (ac_try="$ac_compile"
                   8126: case "(($ac_try" in
                   8127:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8128:   *) ac_try_echo=$ac_try;;
                   8129: esac
                   8130: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8131:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8132:   ac_status=$?
                   8133:   grep -v '^ *+' conftest.er1 >conftest.err
                   8134:   rm -f conftest.er1
                   8135:   cat conftest.err >&5
                   8136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8137:   (exit $ac_status); } && {
                   8138:         test -z "$ac_c_werror_flag" ||
                   8139:         test ! -s conftest.err
                   8140:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8141:   ac_hi=-1 ac_mid=-1
                   8142:   while :; do
                   8143:     cat >conftest.$ac_ext <<_ACEOF
                   8144: /* confdefs.h.  */
                   8145: _ACEOF
                   8146: cat confdefs.h >>conftest.$ac_ext
                   8147: cat >>conftest.$ac_ext <<_ACEOF
                   8148: /* end confdefs.h.  */
                   8149: $ac_includes_default
1.1.1.22  root     8150:    typedef short ac__type_sizeof_;
1.1.1.19  root     8151: int
                   8152: main ()
                   8153: {
1.1.1.22  root     8154: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     8155: test_array [0] = 0
                   8156: 
                   8157:   ;
                   8158:   return 0;
                   8159: }
                   8160: _ACEOF
                   8161: rm -f conftest.$ac_objext
1.1.1.22  root     8162: if { (ac_try="$ac_compile"
                   8163: case "(($ac_try" in
                   8164:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8165:   *) ac_try_echo=$ac_try;;
                   8166: esac
                   8167: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8168:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8169:   ac_status=$?
                   8170:   grep -v '^ *+' conftest.er1 >conftest.err
                   8171:   rm -f conftest.er1
                   8172:   cat conftest.err >&5
                   8173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8174:   (exit $ac_status); } && {
                   8175:         test -z "$ac_c_werror_flag" ||
                   8176:         test ! -s conftest.err
                   8177:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8178:   ac_lo=$ac_mid; break
                   8179: else
                   8180:   echo "$as_me: failed program was:" >&5
                   8181: sed 's/^/| /' conftest.$ac_ext >&5
                   8182: 
1.1.1.22  root     8183:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   8184:                        if test $ac_mid -le $ac_hi; then
                   8185:                          ac_lo= ac_hi=
                   8186:                          break
                   8187:                        fi
                   8188:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.19  root     8189: fi
1.1.1.22  root     8190: 
                   8191: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8192:   done
1.1.1.6   root     8193: else
1.1.1.19  root     8194:   echo "$as_me: failed program was:" >&5
                   8195: sed 's/^/| /' conftest.$ac_ext >&5
                   8196: 
1.1.1.22  root     8197:        ac_lo= ac_hi=
1.1.1.19  root     8198: fi
1.1.1.22  root     8199: 
                   8200: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8201: fi
1.1.1.22  root     8202: 
                   8203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8204: # Binary search between lo and hi bounds.
                   8205: while test "x$ac_lo" != "x$ac_hi"; do
                   8206:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   8207:   cat >conftest.$ac_ext <<_ACEOF
                   8208: /* confdefs.h.  */
                   8209: _ACEOF
                   8210: cat confdefs.h >>conftest.$ac_ext
                   8211: cat >>conftest.$ac_ext <<_ACEOF
                   8212: /* end confdefs.h.  */
                   8213: $ac_includes_default
1.1.1.22  root     8214:    typedef short ac__type_sizeof_;
1.1.1.19  root     8215: int
                   8216: main ()
                   8217: {
1.1.1.22  root     8218: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     8219: test_array [0] = 0
                   8220: 
                   8221:   ;
                   8222:   return 0;
                   8223: }
                   8224: _ACEOF
                   8225: rm -f conftest.$ac_objext
1.1.1.22  root     8226: if { (ac_try="$ac_compile"
                   8227: case "(($ac_try" in
                   8228:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8229:   *) ac_try_echo=$ac_try;;
                   8230: esac
                   8231: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8232:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8233:   ac_status=$?
                   8234:   grep -v '^ *+' conftest.er1 >conftest.err
                   8235:   rm -f conftest.er1
                   8236:   cat conftest.err >&5
                   8237:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8238:   (exit $ac_status); } && {
                   8239:         test -z "$ac_c_werror_flag" ||
                   8240:         test ! -s conftest.err
                   8241:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8242:   ac_hi=$ac_mid
1.1.1.6   root     8243: else
1.1.1.19  root     8244:   echo "$as_me: failed program was:" >&5
                   8245: sed 's/^/| /' conftest.$ac_ext >&5
                   8246: 
1.1.1.22  root     8247:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     8248: fi
1.1.1.22  root     8249: 
                   8250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8251: done
                   8252: case $ac_lo in
                   8253: ?*) ac_cv_sizeof_short=$ac_lo;;
1.1.1.22  root     8254: '') if test "$ac_cv_type_short" = yes; then
                   8255:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
1.1.1.19  root     8256: See \`config.log' for more details." >&5
1.1.1.22  root     8257: echo "$as_me: error: cannot compute sizeof (short)
1.1.1.19  root     8258: See \`config.log' for more details." >&2;}
1.1.1.22  root     8259:    { (exit 77); exit 77; }; }
                   8260:    else
                   8261:      ac_cv_sizeof_short=0
                   8262:    fi ;;
1.1.1.19  root     8263: esac
                   8264: else
                   8265:   cat >conftest.$ac_ext <<_ACEOF
                   8266: /* confdefs.h.  */
                   8267: _ACEOF
                   8268: cat confdefs.h >>conftest.$ac_ext
                   8269: cat >>conftest.$ac_ext <<_ACEOF
                   8270: /* end confdefs.h.  */
                   8271: $ac_includes_default
1.1.1.22  root     8272:    typedef short ac__type_sizeof_;
                   8273: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   8274: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.6   root     8275: #include <stdio.h>
1.1.1.19  root     8276: #include <stdlib.h>
                   8277: int
                   8278: main ()
1.1.1.6   root     8279: {
1.1.1.19  root     8280: 
                   8281:   FILE *f = fopen ("conftest.val", "w");
                   8282:   if (! f)
1.1.1.22  root     8283:     return 1;
                   8284:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     8285:     {
1.1.1.22  root     8286:       long int i = longval ();
                   8287:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   8288:        return 1;
1.1.1.19  root     8289:       fprintf (f, "%ld\n", i);
                   8290:     }
                   8291:   else
                   8292:     {
1.1.1.22  root     8293:       unsigned long int i = ulongval ();
                   8294:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   8295:        return 1;
1.1.1.19  root     8296:       fprintf (f, "%lu\n", i);
                   8297:     }
1.1.1.22  root     8298:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     8299: 
                   8300:   ;
                   8301:   return 0;
1.1.1.6   root     8302: }
1.1.1.19  root     8303: _ACEOF
                   8304: rm -f conftest$ac_exeext
1.1.1.22  root     8305: if { (ac_try="$ac_link"
                   8306: case "(($ac_try" in
                   8307:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8308:   *) ac_try_echo=$ac_try;;
                   8309: esac
                   8310: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8311:   (eval "$ac_link") 2>&5
1.1.1.19  root     8312:   ac_status=$?
                   8313:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8314:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     8315:   { (case "(($ac_try" in
                   8316:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8317:   *) ac_try_echo=$ac_try;;
                   8318: esac
                   8319: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8320:   (eval "$ac_try") 2>&5
1.1.1.19  root     8321:   ac_status=$?
                   8322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8323:   (exit $ac_status); }; }; then
                   8324:   ac_cv_sizeof_short=`cat conftest.val`
                   8325: else
                   8326:   echo "$as_me: program exited with status $ac_status" >&5
                   8327: echo "$as_me: failed program was:" >&5
                   8328: sed 's/^/| /' conftest.$ac_ext >&5
                   8329: 
                   8330: ( exit $ac_status )
1.1.1.22  root     8331: if test "$ac_cv_type_short" = yes; then
                   8332:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
1.1.1.19  root     8333: See \`config.log' for more details." >&5
1.1.1.22  root     8334: echo "$as_me: error: cannot compute sizeof (short)
1.1.1.19  root     8335: See \`config.log' for more details." >&2;}
1.1.1.22  root     8336:    { (exit 77); exit 77; }; }
                   8337:    else
                   8338:      ac_cv_sizeof_short=0
                   8339:    fi
1.1.1.19  root     8340: fi
1.1.1.22  root     8341: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8342: fi
                   8343: rm -f conftest.val
1.1       root     8344: fi
1.1.1.22  root     8345: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
                   8346: echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
                   8347: 
                   8348: 
                   8349: 
1.1.1.19  root     8350: cat >>confdefs.h <<_ACEOF
                   8351: #define SIZEOF_SHORT $ac_cv_sizeof_short
                   8352: _ACEOF
1.1.1.4   root     8353: 
1.1.1.19  root     8354: 
1.1.1.22  root     8355: { echo "$as_me:$LINENO: checking for int" >&5
                   8356: echo $ECHO_N "checking for int... $ECHO_C" >&6; }
1.1.1.19  root     8357: if test "${ac_cv_type_int+set}" = set; then
                   8358:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8359: else
                   8360:   cat >conftest.$ac_ext <<_ACEOF
                   8361: /* confdefs.h.  */
                   8362: _ACEOF
                   8363: cat confdefs.h >>conftest.$ac_ext
                   8364: cat >>conftest.$ac_ext <<_ACEOF
                   8365: /* end confdefs.h.  */
                   8366: $ac_includes_default
1.1.1.22  root     8367: typedef int ac__type_new_;
1.1.1.19  root     8368: int
                   8369: main ()
                   8370: {
1.1.1.22  root     8371: if ((ac__type_new_ *) 0)
1.1.1.19  root     8372:   return 0;
1.1.1.22  root     8373: if (sizeof (ac__type_new_))
1.1.1.19  root     8374:   return 0;
                   8375:   ;
                   8376:   return 0;
                   8377: }
                   8378: _ACEOF
                   8379: rm -f conftest.$ac_objext
1.1.1.22  root     8380: if { (ac_try="$ac_compile"
                   8381: case "(($ac_try" in
                   8382:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8383:   *) ac_try_echo=$ac_try;;
                   8384: esac
                   8385: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8386:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8387:   ac_status=$?
                   8388:   grep -v '^ *+' conftest.er1 >conftest.err
                   8389:   rm -f conftest.er1
                   8390:   cat conftest.err >&5
                   8391:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8392:   (exit $ac_status); } && {
                   8393:         test -z "$ac_c_werror_flag" ||
                   8394:         test ! -s conftest.err
                   8395:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8396:   ac_cv_type_int=yes
                   8397: else
                   8398:   echo "$as_me: failed program was:" >&5
                   8399: sed 's/^/| /' conftest.$ac_ext >&5
                   8400: 
1.1.1.22  root     8401:        ac_cv_type_int=no
1.1.1.19  root     8402: fi
1.1.1.22  root     8403: 
                   8404: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8405: fi
1.1.1.22  root     8406: { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
                   8407: echo "${ECHO_T}$ac_cv_type_int" >&6; }
1.1.1.19  root     8408: 
1.1.1.22  root     8409: # The cast to long int works around a bug in the HP C Compiler
                   8410: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8411: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8412: # This bug is HP SR number 8606223364.
                   8413: { echo "$as_me:$LINENO: checking size of int" >&5
                   8414: echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
1.1.1.19  root     8415: if test "${ac_cv_sizeof_int+set}" = set; then
                   8416:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8417: else
                   8418:   if test "$cross_compiling" = yes; then
                   8419:   # Depending upon the size, compute the lo and hi bounds.
                   8420: cat >conftest.$ac_ext <<_ACEOF
                   8421: /* confdefs.h.  */
                   8422: _ACEOF
                   8423: cat confdefs.h >>conftest.$ac_ext
                   8424: cat >>conftest.$ac_ext <<_ACEOF
                   8425: /* end confdefs.h.  */
                   8426: $ac_includes_default
1.1.1.22  root     8427:    typedef int ac__type_sizeof_;
1.1.1.19  root     8428: int
                   8429: main ()
                   8430: {
1.1.1.22  root     8431: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     8432: test_array [0] = 0
                   8433: 
                   8434:   ;
                   8435:   return 0;
                   8436: }
                   8437: _ACEOF
                   8438: rm -f conftest.$ac_objext
1.1.1.22  root     8439: if { (ac_try="$ac_compile"
                   8440: case "(($ac_try" in
                   8441:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8442:   *) ac_try_echo=$ac_try;;
                   8443: esac
                   8444: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8445:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8446:   ac_status=$?
                   8447:   grep -v '^ *+' conftest.er1 >conftest.err
                   8448:   rm -f conftest.er1
                   8449:   cat conftest.err >&5
                   8450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8451:   (exit $ac_status); } && {
                   8452:         test -z "$ac_c_werror_flag" ||
                   8453:         test ! -s conftest.err
                   8454:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8455:   ac_lo=0 ac_mid=0
                   8456:   while :; do
                   8457:     cat >conftest.$ac_ext <<_ACEOF
                   8458: /* confdefs.h.  */
                   8459: _ACEOF
                   8460: cat confdefs.h >>conftest.$ac_ext
                   8461: cat >>conftest.$ac_ext <<_ACEOF
                   8462: /* end confdefs.h.  */
                   8463: $ac_includes_default
1.1.1.22  root     8464:    typedef int ac__type_sizeof_;
1.1.1.19  root     8465: int
                   8466: main ()
                   8467: {
1.1.1.22  root     8468: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     8469: test_array [0] = 0
                   8470: 
                   8471:   ;
                   8472:   return 0;
                   8473: }
                   8474: _ACEOF
                   8475: rm -f conftest.$ac_objext
1.1.1.22  root     8476: if { (ac_try="$ac_compile"
                   8477: case "(($ac_try" in
                   8478:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8479:   *) ac_try_echo=$ac_try;;
                   8480: esac
                   8481: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8482:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8483:   ac_status=$?
                   8484:   grep -v '^ *+' conftest.er1 >conftest.err
                   8485:   rm -f conftest.er1
                   8486:   cat conftest.err >&5
                   8487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8488:   (exit $ac_status); } && {
                   8489:         test -z "$ac_c_werror_flag" ||
                   8490:         test ! -s conftest.err
                   8491:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8492:   ac_hi=$ac_mid; break
                   8493: else
                   8494:   echo "$as_me: failed program was:" >&5
                   8495: sed 's/^/| /' conftest.$ac_ext >&5
                   8496: 
1.1.1.22  root     8497:        ac_lo=`expr $ac_mid + 1`
                   8498:                        if test $ac_lo -le $ac_mid; then
                   8499:                          ac_lo= ac_hi=
                   8500:                          break
                   8501:                        fi
                   8502:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8503: fi
1.1.1.22  root     8504: 
                   8505: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8506:   done
                   8507: else
                   8508:   echo "$as_me: failed program was:" >&5
                   8509: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8510: 
1.1.1.22  root     8511:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     8512: /* confdefs.h.  */
                   8513: _ACEOF
                   8514: cat confdefs.h >>conftest.$ac_ext
                   8515: cat >>conftest.$ac_ext <<_ACEOF
                   8516: /* end confdefs.h.  */
                   8517: $ac_includes_default
1.1.1.22  root     8518:    typedef int ac__type_sizeof_;
1.1.1.19  root     8519: int
                   8520: main ()
                   8521: {
1.1.1.22  root     8522: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     8523: test_array [0] = 0
1.1       root     8524: 
1.1.1.19  root     8525:   ;
                   8526:   return 0;
                   8527: }
                   8528: _ACEOF
                   8529: rm -f conftest.$ac_objext
1.1.1.22  root     8530: if { (ac_try="$ac_compile"
                   8531: case "(($ac_try" in
                   8532:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8533:   *) ac_try_echo=$ac_try;;
                   8534: esac
                   8535: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8536:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8537:   ac_status=$?
                   8538:   grep -v '^ *+' conftest.er1 >conftest.err
                   8539:   rm -f conftest.er1
                   8540:   cat conftest.err >&5
                   8541:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8542:   (exit $ac_status); } && {
                   8543:         test -z "$ac_c_werror_flag" ||
                   8544:         test ! -s conftest.err
                   8545:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8546:   ac_hi=-1 ac_mid=-1
                   8547:   while :; do
                   8548:     cat >conftest.$ac_ext <<_ACEOF
                   8549: /* confdefs.h.  */
                   8550: _ACEOF
                   8551: cat confdefs.h >>conftest.$ac_ext
                   8552: cat >>conftest.$ac_ext <<_ACEOF
                   8553: /* end confdefs.h.  */
                   8554: $ac_includes_default
1.1.1.22  root     8555:    typedef int ac__type_sizeof_;
1.1.1.19  root     8556: int
                   8557: main ()
                   8558: {
1.1.1.22  root     8559: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     8560: test_array [0] = 0
                   8561: 
                   8562:   ;
                   8563:   return 0;
                   8564: }
                   8565: _ACEOF
                   8566: rm -f conftest.$ac_objext
1.1.1.22  root     8567: if { (ac_try="$ac_compile"
                   8568: case "(($ac_try" in
                   8569:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8570:   *) ac_try_echo=$ac_try;;
                   8571: esac
                   8572: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8573:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8574:   ac_status=$?
                   8575:   grep -v '^ *+' conftest.er1 >conftest.err
                   8576:   rm -f conftest.er1
                   8577:   cat conftest.err >&5
                   8578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8579:   (exit $ac_status); } && {
                   8580:         test -z "$ac_c_werror_flag" ||
                   8581:         test ! -s conftest.err
                   8582:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8583:   ac_lo=$ac_mid; break
                   8584: else
                   8585:   echo "$as_me: failed program was:" >&5
                   8586: sed 's/^/| /' conftest.$ac_ext >&5
                   8587: 
1.1.1.22  root     8588:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   8589:                        if test $ac_mid -le $ac_hi; then
                   8590:                          ac_lo= ac_hi=
                   8591:                          break
                   8592:                        fi
                   8593:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.19  root     8594: fi
1.1.1.22  root     8595: 
                   8596: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8597:   done
1.1       root     8598: else
1.1.1.19  root     8599:   echo "$as_me: failed program was:" >&5
                   8600: sed 's/^/| /' conftest.$ac_ext >&5
                   8601: 
1.1.1.22  root     8602:        ac_lo= ac_hi=
1.1.1.19  root     8603: fi
1.1.1.22  root     8604: 
                   8605: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8606: fi
1.1.1.22  root     8607: 
                   8608: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8609: # Binary search between lo and hi bounds.
                   8610: while test "x$ac_lo" != "x$ac_hi"; do
                   8611:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   8612:   cat >conftest.$ac_ext <<_ACEOF
                   8613: /* confdefs.h.  */
                   8614: _ACEOF
                   8615: cat confdefs.h >>conftest.$ac_ext
                   8616: cat >>conftest.$ac_ext <<_ACEOF
                   8617: /* end confdefs.h.  */
                   8618: $ac_includes_default
1.1.1.22  root     8619:    typedef int ac__type_sizeof_;
1.1.1.19  root     8620: int
                   8621: main ()
                   8622: {
1.1.1.22  root     8623: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     8624: test_array [0] = 0
                   8625: 
                   8626:   ;
                   8627:   return 0;
                   8628: }
                   8629: _ACEOF
                   8630: rm -f conftest.$ac_objext
1.1.1.22  root     8631: if { (ac_try="$ac_compile"
                   8632: case "(($ac_try" in
                   8633:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8634:   *) ac_try_echo=$ac_try;;
                   8635: esac
                   8636: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8637:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8638:   ac_status=$?
                   8639:   grep -v '^ *+' conftest.er1 >conftest.err
                   8640:   rm -f conftest.er1
                   8641:   cat conftest.err >&5
                   8642:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8643:   (exit $ac_status); } && {
                   8644:         test -z "$ac_c_werror_flag" ||
                   8645:         test ! -s conftest.err
                   8646:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8647:   ac_hi=$ac_mid
1.1       root     8648: else
1.1.1.19  root     8649:   echo "$as_me: failed program was:" >&5
                   8650: sed 's/^/| /' conftest.$ac_ext >&5
                   8651: 
1.1.1.22  root     8652:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     8653: fi
1.1.1.22  root     8654: 
                   8655: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8656: done
                   8657: case $ac_lo in
                   8658: ?*) ac_cv_sizeof_int=$ac_lo;;
1.1.1.22  root     8659: '') if test "$ac_cv_type_int" = yes; then
                   8660:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
1.1.1.19  root     8661: See \`config.log' for more details." >&5
1.1.1.22  root     8662: echo "$as_me: error: cannot compute sizeof (int)
1.1.1.19  root     8663: See \`config.log' for more details." >&2;}
1.1.1.22  root     8664:    { (exit 77); exit 77; }; }
                   8665:    else
                   8666:      ac_cv_sizeof_int=0
                   8667:    fi ;;
1.1.1.19  root     8668: esac
                   8669: else
                   8670:   cat >conftest.$ac_ext <<_ACEOF
                   8671: /* confdefs.h.  */
                   8672: _ACEOF
                   8673: cat confdefs.h >>conftest.$ac_ext
                   8674: cat >>conftest.$ac_ext <<_ACEOF
                   8675: /* end confdefs.h.  */
                   8676: $ac_includes_default
1.1.1.22  root     8677:    typedef int ac__type_sizeof_;
                   8678: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   8679: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     8680: #include <stdio.h>
1.1.1.19  root     8681: #include <stdlib.h>
                   8682: int
                   8683: main ()
1.1       root     8684: {
1.1.1.19  root     8685: 
                   8686:   FILE *f = fopen ("conftest.val", "w");
                   8687:   if (! f)
1.1.1.22  root     8688:     return 1;
                   8689:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     8690:     {
1.1.1.22  root     8691:       long int i = longval ();
                   8692:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   8693:        return 1;
1.1.1.19  root     8694:       fprintf (f, "%ld\n", i);
                   8695:     }
                   8696:   else
                   8697:     {
1.1.1.22  root     8698:       unsigned long int i = ulongval ();
                   8699:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   8700:        return 1;
1.1.1.19  root     8701:       fprintf (f, "%lu\n", i);
                   8702:     }
1.1.1.22  root     8703:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     8704: 
                   8705:   ;
                   8706:   return 0;
1.1       root     8707: }
1.1.1.19  root     8708: _ACEOF
                   8709: rm -f conftest$ac_exeext
1.1.1.22  root     8710: if { (ac_try="$ac_link"
                   8711: case "(($ac_try" in
                   8712:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8713:   *) ac_try_echo=$ac_try;;
                   8714: esac
                   8715: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8716:   (eval "$ac_link") 2>&5
1.1.1.19  root     8717:   ac_status=$?
                   8718:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8719:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     8720:   { (case "(($ac_try" in
                   8721:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8722:   *) ac_try_echo=$ac_try;;
                   8723: esac
                   8724: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8725:   (eval "$ac_try") 2>&5
1.1.1.19  root     8726:   ac_status=$?
                   8727:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8728:   (exit $ac_status); }; }; then
                   8729:   ac_cv_sizeof_int=`cat conftest.val`
                   8730: else
                   8731:   echo "$as_me: program exited with status $ac_status" >&5
                   8732: echo "$as_me: failed program was:" >&5
                   8733: sed 's/^/| /' conftest.$ac_ext >&5
                   8734: 
                   8735: ( exit $ac_status )
1.1.1.22  root     8736: if test "$ac_cv_type_int" = yes; then
                   8737:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
1.1.1.19  root     8738: See \`config.log' for more details." >&5
1.1.1.22  root     8739: echo "$as_me: error: cannot compute sizeof (int)
1.1.1.19  root     8740: See \`config.log' for more details." >&2;}
1.1.1.22  root     8741:    { (exit 77); exit 77; }; }
                   8742:    else
                   8743:      ac_cv_sizeof_int=0
                   8744:    fi
1.1.1.19  root     8745: fi
1.1.1.22  root     8746: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8747: fi
                   8748: rm -f conftest.val
1.1       root     8749: fi
1.1.1.22  root     8750: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
                   8751: echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
                   8752: 
                   8753: 
                   8754: 
1.1.1.19  root     8755: cat >>confdefs.h <<_ACEOF
                   8756: #define SIZEOF_INT $ac_cv_sizeof_int
                   8757: _ACEOF
                   8758: 
                   8759: 
1.1.1.22  root     8760: { echo "$as_me:$LINENO: checking for long" >&5
                   8761: echo $ECHO_N "checking for long... $ECHO_C" >&6; }
1.1.1.19  root     8762: if test "${ac_cv_type_long+set}" = set; then
                   8763:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8764: else
                   8765:   cat >conftest.$ac_ext <<_ACEOF
                   8766: /* confdefs.h.  */
                   8767: _ACEOF
                   8768: cat confdefs.h >>conftest.$ac_ext
                   8769: cat >>conftest.$ac_ext <<_ACEOF
                   8770: /* end confdefs.h.  */
                   8771: $ac_includes_default
1.1.1.22  root     8772: typedef long ac__type_new_;
1.1.1.19  root     8773: int
                   8774: main ()
                   8775: {
1.1.1.22  root     8776: if ((ac__type_new_ *) 0)
1.1.1.19  root     8777:   return 0;
1.1.1.22  root     8778: if (sizeof (ac__type_new_))
1.1.1.19  root     8779:   return 0;
                   8780:   ;
                   8781:   return 0;
                   8782: }
                   8783: _ACEOF
                   8784: rm -f conftest.$ac_objext
1.1.1.22  root     8785: if { (ac_try="$ac_compile"
                   8786: case "(($ac_try" in
                   8787:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8788:   *) ac_try_echo=$ac_try;;
                   8789: esac
                   8790: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8791:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8792:   ac_status=$?
                   8793:   grep -v '^ *+' conftest.er1 >conftest.err
                   8794:   rm -f conftest.er1
                   8795:   cat conftest.err >&5
                   8796:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8797:   (exit $ac_status); } && {
                   8798:         test -z "$ac_c_werror_flag" ||
                   8799:         test ! -s conftest.err
                   8800:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8801:   ac_cv_type_long=yes
                   8802: else
                   8803:   echo "$as_me: failed program was:" >&5
                   8804: sed 's/^/| /' conftest.$ac_ext >&5
                   8805: 
1.1.1.22  root     8806:        ac_cv_type_long=no
1.1.1.19  root     8807: fi
1.1.1.22  root     8808: 
                   8809: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8810: fi
1.1.1.22  root     8811: { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
                   8812: echo "${ECHO_T}$ac_cv_type_long" >&6; }
1.1.1.19  root     8813: 
1.1.1.22  root     8814: # The cast to long int works around a bug in the HP C Compiler
                   8815: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   8816: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   8817: # This bug is HP SR number 8606223364.
                   8818: { echo "$as_me:$LINENO: checking size of long" >&5
                   8819: echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
1.1.1.19  root     8820: if test "${ac_cv_sizeof_long+set}" = set; then
                   8821:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8822: else
                   8823:   if test "$cross_compiling" = yes; then
                   8824:   # Depending upon the size, compute the lo and hi bounds.
                   8825: cat >conftest.$ac_ext <<_ACEOF
                   8826: /* confdefs.h.  */
                   8827: _ACEOF
                   8828: cat confdefs.h >>conftest.$ac_ext
                   8829: cat >>conftest.$ac_ext <<_ACEOF
                   8830: /* end confdefs.h.  */
                   8831: $ac_includes_default
1.1.1.22  root     8832:    typedef long ac__type_sizeof_;
1.1.1.19  root     8833: int
                   8834: main ()
                   8835: {
1.1.1.22  root     8836: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     8837: test_array [0] = 0
1.1.1.4   root     8838: 
1.1.1.19  root     8839:   ;
                   8840:   return 0;
                   8841: }
                   8842: _ACEOF
                   8843: rm -f conftest.$ac_objext
1.1.1.22  root     8844: if { (ac_try="$ac_compile"
                   8845: case "(($ac_try" in
                   8846:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8847:   *) ac_try_echo=$ac_try;;
                   8848: esac
                   8849: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8850:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8851:   ac_status=$?
                   8852:   grep -v '^ *+' conftest.er1 >conftest.err
                   8853:   rm -f conftest.er1
                   8854:   cat conftest.err >&5
                   8855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8856:   (exit $ac_status); } && {
                   8857:         test -z "$ac_c_werror_flag" ||
                   8858:         test ! -s conftest.err
                   8859:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8860:   ac_lo=0 ac_mid=0
                   8861:   while :; do
                   8862:     cat >conftest.$ac_ext <<_ACEOF
                   8863: /* confdefs.h.  */
                   8864: _ACEOF
                   8865: cat confdefs.h >>conftest.$ac_ext
                   8866: cat >>conftest.$ac_ext <<_ACEOF
                   8867: /* end confdefs.h.  */
                   8868: $ac_includes_default
1.1.1.22  root     8869:    typedef long ac__type_sizeof_;
1.1.1.19  root     8870: int
                   8871: main ()
                   8872: {
1.1.1.22  root     8873: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     8874: test_array [0] = 0
                   8875: 
                   8876:   ;
                   8877:   return 0;
                   8878: }
                   8879: _ACEOF
                   8880: rm -f conftest.$ac_objext
1.1.1.22  root     8881: if { (ac_try="$ac_compile"
                   8882: case "(($ac_try" in
                   8883:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8884:   *) ac_try_echo=$ac_try;;
                   8885: esac
                   8886: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8887:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8888:   ac_status=$?
                   8889:   grep -v '^ *+' conftest.er1 >conftest.err
                   8890:   rm -f conftest.er1
                   8891:   cat conftest.err >&5
                   8892:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8893:   (exit $ac_status); } && {
                   8894:         test -z "$ac_c_werror_flag" ||
                   8895:         test ! -s conftest.err
                   8896:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8897:   ac_hi=$ac_mid; break
                   8898: else
                   8899:   echo "$as_me: failed program was:" >&5
                   8900: sed 's/^/| /' conftest.$ac_ext >&5
                   8901: 
1.1.1.22  root     8902:        ac_lo=`expr $ac_mid + 1`
                   8903:                        if test $ac_lo -le $ac_mid; then
                   8904:                          ac_lo= ac_hi=
                   8905:                          break
                   8906:                        fi
                   8907:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     8908: fi
1.1.1.22  root     8909: 
                   8910: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     8911:   done
                   8912: else
                   8913:   echo "$as_me: failed program was:" >&5
                   8914: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     8915: 
1.1.1.22  root     8916:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     8917: /* confdefs.h.  */
                   8918: _ACEOF
                   8919: cat confdefs.h >>conftest.$ac_ext
                   8920: cat >>conftest.$ac_ext <<_ACEOF
                   8921: /* end confdefs.h.  */
                   8922: $ac_includes_default
1.1.1.22  root     8923:    typedef long ac__type_sizeof_;
1.1.1.19  root     8924: int
                   8925: main ()
                   8926: {
1.1.1.22  root     8927: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     8928: test_array [0] = 0
1.1       root     8929: 
1.1.1.19  root     8930:   ;
                   8931:   return 0;
                   8932: }
                   8933: _ACEOF
                   8934: rm -f conftest.$ac_objext
1.1.1.22  root     8935: if { (ac_try="$ac_compile"
                   8936: case "(($ac_try" in
                   8937:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8938:   *) ac_try_echo=$ac_try;;
                   8939: esac
                   8940: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8941:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8942:   ac_status=$?
                   8943:   grep -v '^ *+' conftest.er1 >conftest.err
                   8944:   rm -f conftest.er1
                   8945:   cat conftest.err >&5
                   8946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8947:   (exit $ac_status); } && {
                   8948:         test -z "$ac_c_werror_flag" ||
                   8949:         test ! -s conftest.err
                   8950:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8951:   ac_hi=-1 ac_mid=-1
                   8952:   while :; do
                   8953:     cat >conftest.$ac_ext <<_ACEOF
                   8954: /* confdefs.h.  */
                   8955: _ACEOF
                   8956: cat confdefs.h >>conftest.$ac_ext
                   8957: cat >>conftest.$ac_ext <<_ACEOF
                   8958: /* end confdefs.h.  */
                   8959: $ac_includes_default
1.1.1.22  root     8960:    typedef long ac__type_sizeof_;
1.1.1.19  root     8961: int
                   8962: main ()
                   8963: {
1.1.1.22  root     8964: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     8965: test_array [0] = 0
                   8966: 
                   8967:   ;
                   8968:   return 0;
                   8969: }
                   8970: _ACEOF
                   8971: rm -f conftest.$ac_objext
1.1.1.22  root     8972: if { (ac_try="$ac_compile"
                   8973: case "(($ac_try" in
                   8974:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   8975:   *) ac_try_echo=$ac_try;;
                   8976: esac
                   8977: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   8978:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     8979:   ac_status=$?
                   8980:   grep -v '^ *+' conftest.er1 >conftest.err
                   8981:   rm -f conftest.er1
                   8982:   cat conftest.err >&5
                   8983:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     8984:   (exit $ac_status); } && {
                   8985:         test -z "$ac_c_werror_flag" ||
                   8986:         test ! -s conftest.err
                   8987:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     8988:   ac_lo=$ac_mid; break
                   8989: else
                   8990:   echo "$as_me: failed program was:" >&5
                   8991: sed 's/^/| /' conftest.$ac_ext >&5
                   8992: 
1.1.1.22  root     8993:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   8994:                        if test $ac_mid -le $ac_hi; then
                   8995:                          ac_lo= ac_hi=
                   8996:                          break
                   8997:                        fi
                   8998:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.19  root     8999: fi
1.1.1.22  root     9000: 
                   9001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9002:   done
1.1       root     9003: else
1.1.1.19  root     9004:   echo "$as_me: failed program was:" >&5
                   9005: sed 's/^/| /' conftest.$ac_ext >&5
                   9006: 
1.1.1.22  root     9007:        ac_lo= ac_hi=
1.1.1.19  root     9008: fi
1.1.1.22  root     9009: 
                   9010: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9011: fi
1.1.1.22  root     9012: 
                   9013: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9014: # Binary search between lo and hi bounds.
                   9015: while test "x$ac_lo" != "x$ac_hi"; do
                   9016:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   9017:   cat >conftest.$ac_ext <<_ACEOF
                   9018: /* confdefs.h.  */
                   9019: _ACEOF
                   9020: cat confdefs.h >>conftest.$ac_ext
                   9021: cat >>conftest.$ac_ext <<_ACEOF
                   9022: /* end confdefs.h.  */
                   9023: $ac_includes_default
1.1.1.22  root     9024:    typedef long ac__type_sizeof_;
1.1.1.19  root     9025: int
                   9026: main ()
                   9027: {
1.1.1.22  root     9028: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     9029: test_array [0] = 0
                   9030: 
                   9031:   ;
                   9032:   return 0;
                   9033: }
                   9034: _ACEOF
                   9035: rm -f conftest.$ac_objext
1.1.1.22  root     9036: if { (ac_try="$ac_compile"
                   9037: case "(($ac_try" in
                   9038:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9039:   *) ac_try_echo=$ac_try;;
                   9040: esac
                   9041: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9042:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9043:   ac_status=$?
                   9044:   grep -v '^ *+' conftest.er1 >conftest.err
                   9045:   rm -f conftest.er1
                   9046:   cat conftest.err >&5
                   9047:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9048:   (exit $ac_status); } && {
                   9049:         test -z "$ac_c_werror_flag" ||
                   9050:         test ! -s conftest.err
                   9051:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9052:   ac_hi=$ac_mid
1.1       root     9053: else
1.1.1.19  root     9054:   echo "$as_me: failed program was:" >&5
                   9055: sed 's/^/| /' conftest.$ac_ext >&5
                   9056: 
1.1.1.22  root     9057:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     9058: fi
1.1.1.22  root     9059: 
                   9060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9061: done
                   9062: case $ac_lo in
                   9063: ?*) ac_cv_sizeof_long=$ac_lo;;
1.1.1.22  root     9064: '') if test "$ac_cv_type_long" = yes; then
                   9065:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.1.1.19  root     9066: See \`config.log' for more details." >&5
1.1.1.22  root     9067: echo "$as_me: error: cannot compute sizeof (long)
1.1.1.19  root     9068: See \`config.log' for more details." >&2;}
1.1.1.22  root     9069:    { (exit 77); exit 77; }; }
                   9070:    else
                   9071:      ac_cv_sizeof_long=0
                   9072:    fi ;;
1.1.1.19  root     9073: esac
                   9074: else
                   9075:   cat >conftest.$ac_ext <<_ACEOF
                   9076: /* confdefs.h.  */
                   9077: _ACEOF
                   9078: cat confdefs.h >>conftest.$ac_ext
                   9079: cat >>conftest.$ac_ext <<_ACEOF
                   9080: /* end confdefs.h.  */
                   9081: $ac_includes_default
1.1.1.22  root     9082:    typedef long ac__type_sizeof_;
                   9083: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   9084: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     9085: #include <stdio.h>
1.1.1.19  root     9086: #include <stdlib.h>
                   9087: int
                   9088: main ()
1.1       root     9089: {
1.1.1.19  root     9090: 
                   9091:   FILE *f = fopen ("conftest.val", "w");
                   9092:   if (! f)
1.1.1.22  root     9093:     return 1;
                   9094:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     9095:     {
1.1.1.22  root     9096:       long int i = longval ();
                   9097:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9098:        return 1;
1.1.1.19  root     9099:       fprintf (f, "%ld\n", i);
                   9100:     }
                   9101:   else
                   9102:     {
1.1.1.22  root     9103:       unsigned long int i = ulongval ();
                   9104:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9105:        return 1;
1.1.1.19  root     9106:       fprintf (f, "%lu\n", i);
                   9107:     }
1.1.1.22  root     9108:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     9109: 
                   9110:   ;
                   9111:   return 0;
1.1       root     9112: }
1.1.1.19  root     9113: _ACEOF
                   9114: rm -f conftest$ac_exeext
1.1.1.22  root     9115: if { (ac_try="$ac_link"
                   9116: case "(($ac_try" in
                   9117:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9118:   *) ac_try_echo=$ac_try;;
                   9119: esac
                   9120: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9121:   (eval "$ac_link") 2>&5
1.1.1.19  root     9122:   ac_status=$?
                   9123:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9124:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     9125:   { (case "(($ac_try" in
                   9126:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9127:   *) ac_try_echo=$ac_try;;
                   9128: esac
                   9129: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9130:   (eval "$ac_try") 2>&5
1.1.1.19  root     9131:   ac_status=$?
                   9132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9133:   (exit $ac_status); }; }; then
                   9134:   ac_cv_sizeof_long=`cat conftest.val`
                   9135: else
                   9136:   echo "$as_me: program exited with status $ac_status" >&5
                   9137: echo "$as_me: failed program was:" >&5
                   9138: sed 's/^/| /' conftest.$ac_ext >&5
                   9139: 
                   9140: ( exit $ac_status )
1.1.1.22  root     9141: if test "$ac_cv_type_long" = yes; then
                   9142:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.1.1.19  root     9143: See \`config.log' for more details." >&5
1.1.1.22  root     9144: echo "$as_me: error: cannot compute sizeof (long)
1.1.1.19  root     9145: See \`config.log' for more details." >&2;}
1.1.1.22  root     9146:    { (exit 77); exit 77; }; }
                   9147:    else
                   9148:      ac_cv_sizeof_long=0
                   9149:    fi
1.1.1.19  root     9150: fi
1.1.1.22  root     9151: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9152: fi
                   9153: rm -f conftest.val
1.1       root     9154: fi
1.1.1.22  root     9155: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
                   9156: echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
                   9157: 
                   9158: 
                   9159: 
1.1.1.19  root     9160: cat >>confdefs.h <<_ACEOF
                   9161: #define SIZEOF_LONG $ac_cv_sizeof_long
                   9162: _ACEOF
1.1.1.4   root     9163: 
1.1.1.19  root     9164: 
1.1.1.23! root     9165: { echo "$as_me:$LINENO: checking for void *" >&5
        !          9166: echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
        !          9167: if test "${ac_cv_type_void_p+set}" = set; then
1.1.1.19  root     9168:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9169: else
                   9170:   cat >conftest.$ac_ext <<_ACEOF
                   9171: /* confdefs.h.  */
                   9172: _ACEOF
                   9173: cat confdefs.h >>conftest.$ac_ext
                   9174: cat >>conftest.$ac_ext <<_ACEOF
                   9175: /* end confdefs.h.  */
                   9176: $ac_includes_default
1.1.1.23! root     9177: typedef void * ac__type_new_;
1.1.1.19  root     9178: int
                   9179: main ()
                   9180: {
1.1.1.22  root     9181: if ((ac__type_new_ *) 0)
1.1.1.19  root     9182:   return 0;
1.1.1.22  root     9183: if (sizeof (ac__type_new_))
1.1.1.19  root     9184:   return 0;
                   9185:   ;
                   9186:   return 0;
                   9187: }
                   9188: _ACEOF
                   9189: rm -f conftest.$ac_objext
1.1.1.22  root     9190: if { (ac_try="$ac_compile"
                   9191: case "(($ac_try" in
                   9192:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9193:   *) ac_try_echo=$ac_try;;
                   9194: esac
                   9195: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9196:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9197:   ac_status=$?
                   9198:   grep -v '^ *+' conftest.er1 >conftest.err
                   9199:   rm -f conftest.er1
                   9200:   cat conftest.err >&5
                   9201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9202:   (exit $ac_status); } && {
                   9203:         test -z "$ac_c_werror_flag" ||
                   9204:         test ! -s conftest.err
                   9205:        } && test -s conftest.$ac_objext; then
1.1.1.23! root     9206:   ac_cv_type_void_p=yes
1.1.1.19  root     9207: else
                   9208:   echo "$as_me: failed program was:" >&5
                   9209: sed 's/^/| /' conftest.$ac_ext >&5
                   9210: 
1.1.1.23! root     9211:        ac_cv_type_void_p=no
1.1.1.19  root     9212: fi
1.1.1.22  root     9213: 
                   9214: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9215: fi
1.1.1.23! root     9216: { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
        !          9217: echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
1.1.1.19  root     9218: 
1.1.1.22  root     9219: # The cast to long int works around a bug in the HP C Compiler
                   9220: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   9221: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   9222: # This bug is HP SR number 8606223364.
1.1.1.23! root     9223: { echo "$as_me:$LINENO: checking size of void *" >&5
        !          9224: echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
        !          9225: if test "${ac_cv_sizeof_void_p+set}" = set; then
1.1.1.19  root     9226:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9227: else
                   9228:   if test "$cross_compiling" = yes; then
                   9229:   # Depending upon the size, compute the lo and hi bounds.
                   9230: cat >conftest.$ac_ext <<_ACEOF
                   9231: /* confdefs.h.  */
                   9232: _ACEOF
                   9233: cat confdefs.h >>conftest.$ac_ext
                   9234: cat >>conftest.$ac_ext <<_ACEOF
                   9235: /* end confdefs.h.  */
                   9236: $ac_includes_default
1.1.1.23! root     9237:    typedef void * ac__type_sizeof_;
1.1.1.19  root     9238: int
                   9239: main ()
                   9240: {
1.1.1.22  root     9241: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     9242: test_array [0] = 0
                   9243: 
                   9244:   ;
                   9245:   return 0;
                   9246: }
                   9247: _ACEOF
                   9248: rm -f conftest.$ac_objext
1.1.1.22  root     9249: if { (ac_try="$ac_compile"
                   9250: case "(($ac_try" in
                   9251:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9252:   *) ac_try_echo=$ac_try;;
                   9253: esac
                   9254: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9255:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9256:   ac_status=$?
                   9257:   grep -v '^ *+' conftest.er1 >conftest.err
                   9258:   rm -f conftest.er1
                   9259:   cat conftest.err >&5
                   9260:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9261:   (exit $ac_status); } && {
                   9262:         test -z "$ac_c_werror_flag" ||
                   9263:         test ! -s conftest.err
                   9264:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9265:   ac_lo=0 ac_mid=0
                   9266:   while :; do
                   9267:     cat >conftest.$ac_ext <<_ACEOF
                   9268: /* confdefs.h.  */
                   9269: _ACEOF
                   9270: cat confdefs.h >>conftest.$ac_ext
                   9271: cat >>conftest.$ac_ext <<_ACEOF
                   9272: /* end confdefs.h.  */
                   9273: $ac_includes_default
1.1.1.23! root     9274:    typedef void * ac__type_sizeof_;
1.1.1.19  root     9275: int
                   9276: main ()
                   9277: {
1.1.1.22  root     9278: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     9279: test_array [0] = 0
                   9280: 
                   9281:   ;
                   9282:   return 0;
                   9283: }
                   9284: _ACEOF
                   9285: rm -f conftest.$ac_objext
1.1.1.22  root     9286: if { (ac_try="$ac_compile"
                   9287: case "(($ac_try" in
                   9288:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9289:   *) ac_try_echo=$ac_try;;
                   9290: esac
                   9291: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9292:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9293:   ac_status=$?
                   9294:   grep -v '^ *+' conftest.er1 >conftest.err
                   9295:   rm -f conftest.er1
                   9296:   cat conftest.err >&5
                   9297:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9298:   (exit $ac_status); } && {
                   9299:         test -z "$ac_c_werror_flag" ||
                   9300:         test ! -s conftest.err
                   9301:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9302:   ac_hi=$ac_mid; break
                   9303: else
                   9304:   echo "$as_me: failed program was:" >&5
                   9305: sed 's/^/| /' conftest.$ac_ext >&5
                   9306: 
1.1.1.22  root     9307:        ac_lo=`expr $ac_mid + 1`
                   9308:                        if test $ac_lo -le $ac_mid; then
                   9309:                          ac_lo= ac_hi=
                   9310:                          break
                   9311:                        fi
                   9312:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.4   root     9313: fi
1.1.1.22  root     9314: 
                   9315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9316:   done
                   9317: else
                   9318:   echo "$as_me: failed program was:" >&5
                   9319: sed 's/^/| /' conftest.$ac_ext >&5
                   9320: 
1.1.1.22  root     9321:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     9322: /* confdefs.h.  */
                   9323: _ACEOF
                   9324: cat confdefs.h >>conftest.$ac_ext
                   9325: cat >>conftest.$ac_ext <<_ACEOF
                   9326: /* end confdefs.h.  */
                   9327: $ac_includes_default
1.1.1.23! root     9328:    typedef void * ac__type_sizeof_;
1.1.1.19  root     9329: int
                   9330: main ()
                   9331: {
1.1.1.22  root     9332: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     9333: test_array [0] = 0
1.1       root     9334: 
1.1.1.19  root     9335:   ;
                   9336:   return 0;
                   9337: }
                   9338: _ACEOF
                   9339: rm -f conftest.$ac_objext
1.1.1.22  root     9340: if { (ac_try="$ac_compile"
                   9341: case "(($ac_try" in
                   9342:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9343:   *) ac_try_echo=$ac_try;;
                   9344: esac
                   9345: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9346:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9347:   ac_status=$?
                   9348:   grep -v '^ *+' conftest.er1 >conftest.err
                   9349:   rm -f conftest.er1
                   9350:   cat conftest.err >&5
                   9351:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9352:   (exit $ac_status); } && {
                   9353:         test -z "$ac_c_werror_flag" ||
                   9354:         test ! -s conftest.err
                   9355:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9356:   ac_hi=-1 ac_mid=-1
                   9357:   while :; do
                   9358:     cat >conftest.$ac_ext <<_ACEOF
                   9359: /* confdefs.h.  */
                   9360: _ACEOF
                   9361: cat confdefs.h >>conftest.$ac_ext
                   9362: cat >>conftest.$ac_ext <<_ACEOF
                   9363: /* end confdefs.h.  */
                   9364: $ac_includes_default
1.1.1.23! root     9365:    typedef void * ac__type_sizeof_;
1.1.1.19  root     9366: int
                   9367: main ()
                   9368: {
1.1.1.22  root     9369: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     9370: test_array [0] = 0
1.1       root     9371: 
1.1.1.19  root     9372:   ;
                   9373:   return 0;
                   9374: }
                   9375: _ACEOF
                   9376: rm -f conftest.$ac_objext
1.1.1.22  root     9377: if { (ac_try="$ac_compile"
                   9378: case "(($ac_try" in
                   9379:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9380:   *) ac_try_echo=$ac_try;;
                   9381: esac
                   9382: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9383:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9384:   ac_status=$?
                   9385:   grep -v '^ *+' conftest.er1 >conftest.err
                   9386:   rm -f conftest.er1
                   9387:   cat conftest.err >&5
                   9388:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9389:   (exit $ac_status); } && {
                   9390:         test -z "$ac_c_werror_flag" ||
                   9391:         test ! -s conftest.err
                   9392:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9393:   ac_lo=$ac_mid; break
                   9394: else
                   9395:   echo "$as_me: failed program was:" >&5
                   9396: sed 's/^/| /' conftest.$ac_ext >&5
                   9397: 
1.1.1.22  root     9398:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   9399:                        if test $ac_mid -le $ac_hi; then
                   9400:                          ac_lo= ac_hi=
                   9401:                          break
                   9402:                        fi
                   9403:                        ac_mid=`expr 2 '*' $ac_mid`
1.1.1.19  root     9404: fi
1.1.1.22  root     9405: 
                   9406: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9407:   done
1.1       root     9408: else
1.1.1.19  root     9409:   echo "$as_me: failed program was:" >&5
                   9410: sed 's/^/| /' conftest.$ac_ext >&5
                   9411: 
1.1.1.22  root     9412:        ac_lo= ac_hi=
1.1.1.19  root     9413: fi
1.1.1.22  root     9414: 
                   9415: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9416: fi
1.1.1.22  root     9417: 
                   9418: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9419: # Binary search between lo and hi bounds.
                   9420: while test "x$ac_lo" != "x$ac_hi"; do
                   9421:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   9422:   cat >conftest.$ac_ext <<_ACEOF
                   9423: /* confdefs.h.  */
                   9424: _ACEOF
                   9425: cat confdefs.h >>conftest.$ac_ext
                   9426: cat >>conftest.$ac_ext <<_ACEOF
                   9427: /* end confdefs.h.  */
                   9428: $ac_includes_default
1.1.1.23! root     9429:    typedef void * ac__type_sizeof_;
1.1.1.19  root     9430: int
                   9431: main ()
                   9432: {
1.1.1.22  root     9433: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     9434: test_array [0] = 0
                   9435: 
                   9436:   ;
                   9437:   return 0;
                   9438: }
                   9439: _ACEOF
                   9440: rm -f conftest.$ac_objext
1.1.1.22  root     9441: if { (ac_try="$ac_compile"
                   9442: case "(($ac_try" in
                   9443:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9444:   *) ac_try_echo=$ac_try;;
                   9445: esac
                   9446: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9447:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9448:   ac_status=$?
                   9449:   grep -v '^ *+' conftest.er1 >conftest.err
                   9450:   rm -f conftest.er1
                   9451:   cat conftest.err >&5
                   9452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9453:   (exit $ac_status); } && {
                   9454:         test -z "$ac_c_werror_flag" ||
                   9455:         test ! -s conftest.err
                   9456:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9457:   ac_hi=$ac_mid
1.1       root     9458: else
1.1.1.19  root     9459:   echo "$as_me: failed program was:" >&5
                   9460: sed 's/^/| /' conftest.$ac_ext >&5
                   9461: 
1.1.1.22  root     9462:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     9463: fi
1.1.1.22  root     9464: 
                   9465: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9466: done
                   9467: case $ac_lo in
1.1.1.23! root     9468: ?*) ac_cv_sizeof_void_p=$ac_lo;;
        !          9469: '') if test "$ac_cv_type_void_p" = yes; then
        !          9470:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.1.1.19  root     9471: See \`config.log' for more details." >&5
1.1.1.23! root     9472: echo "$as_me: error: cannot compute sizeof (void *)
1.1.1.19  root     9473: See \`config.log' for more details." >&2;}
1.1.1.22  root     9474:    { (exit 77); exit 77; }; }
                   9475:    else
1.1.1.23! root     9476:      ac_cv_sizeof_void_p=0
1.1.1.22  root     9477:    fi ;;
1.1.1.19  root     9478: esac
                   9479: else
                   9480:   cat >conftest.$ac_ext <<_ACEOF
                   9481: /* confdefs.h.  */
                   9482: _ACEOF
                   9483: cat confdefs.h >>conftest.$ac_ext
                   9484: cat >>conftest.$ac_ext <<_ACEOF
                   9485: /* end confdefs.h.  */
                   9486: $ac_includes_default
1.1.1.23! root     9487:    typedef void * ac__type_sizeof_;
1.1.1.22  root     9488: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   9489: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1       root     9490: #include <stdio.h>
1.1.1.19  root     9491: #include <stdlib.h>
                   9492: int
                   9493: main ()
                   9494: {
                   9495: 
                   9496:   FILE *f = fopen ("conftest.val", "w");
                   9497:   if (! f)
1.1.1.22  root     9498:     return 1;
                   9499:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     9500:     {
1.1.1.22  root     9501:       long int i = longval ();
                   9502:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9503:        return 1;
1.1.1.19  root     9504:       fprintf (f, "%ld\n", i);
                   9505:     }
                   9506:   else
                   9507:     {
1.1.1.22  root     9508:       unsigned long int i = ulongval ();
                   9509:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9510:        return 1;
1.1.1.19  root     9511:       fprintf (f, "%lu\n", i);
                   9512:     }
1.1.1.22  root     9513:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     9514: 
                   9515:   ;
                   9516:   return 0;
                   9517: }
                   9518: _ACEOF
                   9519: rm -f conftest$ac_exeext
1.1.1.22  root     9520: if { (ac_try="$ac_link"
                   9521: case "(($ac_try" in
                   9522:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9523:   *) ac_try_echo=$ac_try;;
                   9524: esac
                   9525: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9526:   (eval "$ac_link") 2>&5
1.1.1.19  root     9527:   ac_status=$?
                   9528:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9529:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     9530:   { (case "(($ac_try" in
                   9531:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9532:   *) ac_try_echo=$ac_try;;
                   9533: esac
                   9534: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9535:   (eval "$ac_try") 2>&5
1.1.1.19  root     9536:   ac_status=$?
                   9537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9538:   (exit $ac_status); }; }; then
1.1.1.23! root     9539:   ac_cv_sizeof_void_p=`cat conftest.val`
1.1.1.19  root     9540: else
                   9541:   echo "$as_me: program exited with status $ac_status" >&5
                   9542: echo "$as_me: failed program was:" >&5
                   9543: sed 's/^/| /' conftest.$ac_ext >&5
                   9544: 
                   9545: ( exit $ac_status )
1.1.1.23! root     9546: if test "$ac_cv_type_void_p" = yes; then
        !          9547:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.1.1.19  root     9548: See \`config.log' for more details." >&5
1.1.1.23! root     9549: echo "$as_me: error: cannot compute sizeof (void *)
1.1.1.19  root     9550: See \`config.log' for more details." >&2;}
1.1.1.22  root     9551:    { (exit 77); exit 77; }; }
                   9552:    else
1.1.1.23! root     9553:      ac_cv_sizeof_void_p=0
1.1.1.22  root     9554:    fi
1.1.1.19  root     9555: fi
1.1.1.22  root     9556: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9557: fi
                   9558: rm -f conftest.val
                   9559: fi
1.1.1.23! root     9560: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
        !          9561: echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
1.1.1.22  root     9562: 
                   9563: 
                   9564: 
1.1.1.19  root     9565: cat >>confdefs.h <<_ACEOF
1.1.1.23! root     9566: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.1.1.19  root     9567: _ACEOF
                   9568: 
                   9569: 
1.1.1.23! root     9570: { echo "$as_me:$LINENO: checking for long long" >&5
        !          9571: echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
        !          9572: if test "${ac_cv_type_long_long+set}" = set; then
1.1.1.19  root     9573:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9574: else
                   9575:   cat >conftest.$ac_ext <<_ACEOF
                   9576: /* confdefs.h.  */
                   9577: _ACEOF
                   9578: cat confdefs.h >>conftest.$ac_ext
                   9579: cat >>conftest.$ac_ext <<_ACEOF
                   9580: /* end confdefs.h.  */
                   9581: $ac_includes_default
1.1.1.23! root     9582: typedef long long ac__type_new_;
1.1.1.19  root     9583: int
                   9584: main ()
                   9585: {
1.1.1.22  root     9586: if ((ac__type_new_ *) 0)
1.1.1.19  root     9587:   return 0;
1.1.1.22  root     9588: if (sizeof (ac__type_new_))
1.1.1.19  root     9589:   return 0;
                   9590:   ;
                   9591:   return 0;
                   9592: }
                   9593: _ACEOF
                   9594: rm -f conftest.$ac_objext
1.1.1.22  root     9595: if { (ac_try="$ac_compile"
                   9596: case "(($ac_try" in
                   9597:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9598:   *) ac_try_echo=$ac_try;;
                   9599: esac
                   9600: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9601:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9602:   ac_status=$?
                   9603:   grep -v '^ *+' conftest.er1 >conftest.err
                   9604:   rm -f conftest.er1
                   9605:   cat conftest.err >&5
                   9606:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9607:   (exit $ac_status); } && {
                   9608:         test -z "$ac_c_werror_flag" ||
                   9609:         test ! -s conftest.err
                   9610:        } && test -s conftest.$ac_objext; then
1.1.1.23! root     9611:   ac_cv_type_long_long=yes
1.1.1.19  root     9612: else
                   9613:   echo "$as_me: failed program was:" >&5
                   9614: sed 's/^/| /' conftest.$ac_ext >&5
                   9615: 
1.1.1.23! root     9616:        ac_cv_type_long_long=no
1.1.1.19  root     9617: fi
1.1.1.22  root     9618: 
                   9619: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9620: fi
1.1.1.23! root     9621: { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
        !          9622: echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
1.1.1.19  root     9623: 
1.1.1.22  root     9624: # The cast to long int works around a bug in the HP C Compiler
                   9625: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   9626: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   9627: # This bug is HP SR number 8606223364.
1.1.1.23! root     9628: { echo "$as_me:$LINENO: checking size of long long" >&5
        !          9629: echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
        !          9630: if test "${ac_cv_sizeof_long_long+set}" = set; then
1.1.1.19  root     9631:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9632: else
                   9633:   if test "$cross_compiling" = yes; then
                   9634:   # Depending upon the size, compute the lo and hi bounds.
                   9635: cat >conftest.$ac_ext <<_ACEOF
                   9636: /* confdefs.h.  */
                   9637: _ACEOF
                   9638: cat confdefs.h >>conftest.$ac_ext
                   9639: cat >>conftest.$ac_ext <<_ACEOF
                   9640: /* end confdefs.h.  */
                   9641: $ac_includes_default
1.1.1.23! root     9642:    typedef long long ac__type_sizeof_;
1.1.1.19  root     9643: int
                   9644: main ()
                   9645: {
1.1.1.22  root     9646: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.1.1.19  root     9647: test_array [0] = 0
                   9648: 
                   9649:   ;
                   9650:   return 0;
                   9651: }
                   9652: _ACEOF
                   9653: rm -f conftest.$ac_objext
1.1.1.22  root     9654: if { (ac_try="$ac_compile"
                   9655: case "(($ac_try" in
                   9656:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9657:   *) ac_try_echo=$ac_try;;
                   9658: esac
                   9659: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9660:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9661:   ac_status=$?
                   9662:   grep -v '^ *+' conftest.er1 >conftest.err
                   9663:   rm -f conftest.er1
                   9664:   cat conftest.err >&5
                   9665:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9666:   (exit $ac_status); } && {
                   9667:         test -z "$ac_c_werror_flag" ||
                   9668:         test ! -s conftest.err
                   9669:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9670:   ac_lo=0 ac_mid=0
                   9671:   while :; do
                   9672:     cat >conftest.$ac_ext <<_ACEOF
                   9673: /* confdefs.h.  */
                   9674: _ACEOF
                   9675: cat confdefs.h >>conftest.$ac_ext
                   9676: cat >>conftest.$ac_ext <<_ACEOF
                   9677: /* end confdefs.h.  */
                   9678: $ac_includes_default
1.1.1.23! root     9679:    typedef long long ac__type_sizeof_;
1.1.1.19  root     9680: int
                   9681: main ()
                   9682: {
1.1.1.22  root     9683: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     9684: test_array [0] = 0
                   9685: 
                   9686:   ;
                   9687:   return 0;
                   9688: }
                   9689: _ACEOF
                   9690: rm -f conftest.$ac_objext
1.1.1.22  root     9691: if { (ac_try="$ac_compile"
                   9692: case "(($ac_try" in
                   9693:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9694:   *) ac_try_echo=$ac_try;;
                   9695: esac
                   9696: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9697:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9698:   ac_status=$?
                   9699:   grep -v '^ *+' conftest.er1 >conftest.err
                   9700:   rm -f conftest.er1
                   9701:   cat conftest.err >&5
                   9702:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9703:   (exit $ac_status); } && {
                   9704:         test -z "$ac_c_werror_flag" ||
                   9705:         test ! -s conftest.err
                   9706:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9707:   ac_hi=$ac_mid; break
                   9708: else
                   9709:   echo "$as_me: failed program was:" >&5
                   9710: sed 's/^/| /' conftest.$ac_ext >&5
                   9711: 
1.1.1.22  root     9712:        ac_lo=`expr $ac_mid + 1`
                   9713:                        if test $ac_lo -le $ac_mid; then
                   9714:                          ac_lo= ac_hi=
                   9715:                          break
                   9716:                        fi
                   9717:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.1.1.19  root     9718: fi
1.1.1.22  root     9719: 
                   9720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9721:   done
                   9722: else
                   9723:   echo "$as_me: failed program was:" >&5
                   9724: sed 's/^/| /' conftest.$ac_ext >&5
                   9725: 
1.1.1.22  root     9726:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     9727: /* confdefs.h.  */
                   9728: _ACEOF
                   9729: cat confdefs.h >>conftest.$ac_ext
                   9730: cat >>conftest.$ac_ext <<_ACEOF
                   9731: /* end confdefs.h.  */
                   9732: $ac_includes_default
1.1.1.23! root     9733:    typedef long long ac__type_sizeof_;
1.1.1.19  root     9734: int
                   9735: main ()
1.1       root     9736: {
1.1.1.22  root     9737: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.1.1.19  root     9738: test_array [0] = 0
                   9739: 
                   9740:   ;
                   9741:   return 0;
1.1       root     9742: }
1.1.1.19  root     9743: _ACEOF
                   9744: rm -f conftest.$ac_objext
1.1.1.22  root     9745: if { (ac_try="$ac_compile"
                   9746: case "(($ac_try" in
                   9747:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9748:   *) ac_try_echo=$ac_try;;
                   9749: esac
                   9750: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9751:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9752:   ac_status=$?
                   9753:   grep -v '^ *+' conftest.er1 >conftest.err
                   9754:   rm -f conftest.er1
                   9755:   cat conftest.err >&5
                   9756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9757:   (exit $ac_status); } && {
                   9758:         test -z "$ac_c_werror_flag" ||
                   9759:         test ! -s conftest.err
                   9760:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9761:   ac_hi=-1 ac_mid=-1
                   9762:   while :; do
                   9763:     cat >conftest.$ac_ext <<_ACEOF
                   9764: /* confdefs.h.  */
                   9765: _ACEOF
                   9766: cat confdefs.h >>conftest.$ac_ext
                   9767: cat >>conftest.$ac_ext <<_ACEOF
                   9768: /* end confdefs.h.  */
                   9769: $ac_includes_default
1.1.1.23! root     9770:    typedef long long ac__type_sizeof_;
1.1.1.19  root     9771: int
                   9772: main ()
                   9773: {
1.1.1.22  root     9774: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.1.1.19  root     9775: test_array [0] = 0
                   9776: 
                   9777:   ;
                   9778:   return 0;
                   9779: }
                   9780: _ACEOF
                   9781: rm -f conftest.$ac_objext
1.1.1.22  root     9782: if { (ac_try="$ac_compile"
                   9783: case "(($ac_try" in
                   9784:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9785:   *) ac_try_echo=$ac_try;;
                   9786: esac
                   9787: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9788:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9789:   ac_status=$?
                   9790:   grep -v '^ *+' conftest.er1 >conftest.err
                   9791:   rm -f conftest.er1
                   9792:   cat conftest.err >&5
                   9793:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9794:   (exit $ac_status); } && {
                   9795:         test -z "$ac_c_werror_flag" ||
                   9796:         test ! -s conftest.err
                   9797:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9798:   ac_lo=$ac_mid; break
                   9799: else
                   9800:   echo "$as_me: failed program was:" >&5
                   9801: sed 's/^/| /' conftest.$ac_ext >&5
                   9802: 
1.1.1.22  root     9803:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   9804:                        if test $ac_mid -le $ac_hi; then
                   9805:                          ac_lo= ac_hi=
                   9806:                          break
                   9807:                        fi
                   9808:                        ac_mid=`expr 2 '*' $ac_mid`
1.1       root     9809: fi
1.1.1.22  root     9810: 
                   9811: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9812:   done
                   9813: else
                   9814:   echo "$as_me: failed program was:" >&5
                   9815: sed 's/^/| /' conftest.$ac_ext >&5
1.1.1.4   root     9816: 
1.1.1.22  root     9817:        ac_lo= ac_hi=
1.1.1.4   root     9818: fi
1.1.1.22  root     9819: 
                   9820: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9821: fi
1.1.1.22  root     9822: 
                   9823: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9824: # Binary search between lo and hi bounds.
                   9825: while test "x$ac_lo" != "x$ac_hi"; do
                   9826:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   9827:   cat >conftest.$ac_ext <<_ACEOF
                   9828: /* confdefs.h.  */
                   9829: _ACEOF
                   9830: cat confdefs.h >>conftest.$ac_ext
                   9831: cat >>conftest.$ac_ext <<_ACEOF
                   9832: /* end confdefs.h.  */
                   9833: $ac_includes_default
1.1.1.23! root     9834:    typedef long long ac__type_sizeof_;
1.1.1.19  root     9835: int
                   9836: main ()
                   9837: {
1.1.1.22  root     9838: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.1.1.19  root     9839: test_array [0] = 0
1.1       root     9840: 
1.1.1.19  root     9841:   ;
                   9842:   return 0;
                   9843: }
                   9844: _ACEOF
                   9845: rm -f conftest.$ac_objext
1.1.1.22  root     9846: if { (ac_try="$ac_compile"
                   9847: case "(($ac_try" in
                   9848:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9849:   *) ac_try_echo=$ac_try;;
                   9850: esac
                   9851: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9852:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     9853:   ac_status=$?
                   9854:   grep -v '^ *+' conftest.er1 >conftest.err
                   9855:   rm -f conftest.er1
                   9856:   cat conftest.err >&5
                   9857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     9858:   (exit $ac_status); } && {
                   9859:         test -z "$ac_c_werror_flag" ||
                   9860:         test ! -s conftest.err
                   9861:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     9862:   ac_hi=$ac_mid
                   9863: else
                   9864:   echo "$as_me: failed program was:" >&5
                   9865: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     9866: 
1.1.1.22  root     9867:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.1.1.19  root     9868: fi
1.1.1.22  root     9869: 
                   9870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9871: done
                   9872: case $ac_lo in
1.1.1.23! root     9873: ?*) ac_cv_sizeof_long_long=$ac_lo;;
        !          9874: '') if test "$ac_cv_type_long_long" = yes; then
        !          9875:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
1.1.1.19  root     9876: See \`config.log' for more details." >&5
1.1.1.23! root     9877: echo "$as_me: error: cannot compute sizeof (long long)
1.1.1.19  root     9878: See \`config.log' for more details." >&2;}
1.1.1.22  root     9879:    { (exit 77); exit 77; }; }
                   9880:    else
1.1.1.23! root     9881:      ac_cv_sizeof_long_long=0
1.1.1.22  root     9882:    fi ;;
1.1.1.19  root     9883: esac
1.1.1.6   root     9884: else
1.1.1.19  root     9885:   cat >conftest.$ac_ext <<_ACEOF
                   9886: /* confdefs.h.  */
                   9887: _ACEOF
                   9888: cat confdefs.h >>conftest.$ac_ext
                   9889: cat >>conftest.$ac_ext <<_ACEOF
                   9890: /* end confdefs.h.  */
                   9891: $ac_includes_default
1.1.1.23! root     9892:    typedef long long ac__type_sizeof_;
1.1.1.22  root     9893: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   9894: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.1.1.6   root     9895: #include <stdio.h>
1.1.1.19  root     9896: #include <stdlib.h>
                   9897: int
                   9898: main ()
1.1.1.6   root     9899: {
1.1.1.19  root     9900: 
                   9901:   FILE *f = fopen ("conftest.val", "w");
                   9902:   if (! f)
1.1.1.22  root     9903:     return 1;
                   9904:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.1.1.19  root     9905:     {
1.1.1.22  root     9906:       long int i = longval ();
                   9907:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9908:        return 1;
1.1.1.19  root     9909:       fprintf (f, "%ld\n", i);
                   9910:     }
                   9911:   else
                   9912:     {
1.1.1.22  root     9913:       unsigned long int i = ulongval ();
                   9914:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   9915:        return 1;
1.1.1.19  root     9916:       fprintf (f, "%lu\n", i);
                   9917:     }
1.1.1.22  root     9918:   return ferror (f) || fclose (f) != 0;
1.1.1.19  root     9919: 
                   9920:   ;
                   9921:   return 0;
1.1.1.6   root     9922: }
1.1.1.19  root     9923: _ACEOF
                   9924: rm -f conftest$ac_exeext
1.1.1.22  root     9925: if { (ac_try="$ac_link"
                   9926: case "(($ac_try" in
                   9927:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9928:   *) ac_try_echo=$ac_try;;
                   9929: esac
                   9930: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9931:   (eval "$ac_link") 2>&5
1.1.1.19  root     9932:   ac_status=$?
                   9933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9934:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     9935:   { (case "(($ac_try" in
                   9936:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   9937:   *) ac_try_echo=$ac_try;;
                   9938: esac
                   9939: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   9940:   (eval "$ac_try") 2>&5
1.1.1.19  root     9941:   ac_status=$?
                   9942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9943:   (exit $ac_status); }; }; then
1.1.1.23! root     9944:   ac_cv_sizeof_long_long=`cat conftest.val`
1.1.1.19  root     9945: else
                   9946:   echo "$as_me: program exited with status $ac_status" >&5
                   9947: echo "$as_me: failed program was:" >&5
                   9948: sed 's/^/| /' conftest.$ac_ext >&5
                   9949: 
                   9950: ( exit $ac_status )
1.1.1.23! root     9951: if test "$ac_cv_type_long_long" = yes; then
        !          9952:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
1.1.1.19  root     9953: See \`config.log' for more details." >&5
1.1.1.23! root     9954: echo "$as_me: error: cannot compute sizeof (long long)
1.1.1.19  root     9955: See \`config.log' for more details." >&2;}
1.1.1.22  root     9956:    { (exit 77); exit 77; }; }
                   9957:    else
1.1.1.23! root     9958:      ac_cv_sizeof_long_long=0
1.1.1.22  root     9959:    fi
1.1.1.19  root     9960: fi
1.1.1.22  root     9961: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     9962: fi
                   9963: rm -f conftest.val
1.1.1.6   root     9964: fi
1.1.1.23! root     9965: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
        !          9966: echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
1.1.1.22  root     9967: 
                   9968: 
                   9969: 
1.1.1.19  root     9970: cat >>confdefs.h <<_ACEOF
1.1.1.23! root     9971: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
1.1.1.19  root     9972: _ACEOF
1.1.1.6   root     9973: 
                   9974: 
1.1.1.23! root     9975: { echo "$as_me:$LINENO: checking for __int64" >&5
        !          9976: echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
        !          9977: if test "${ac_cv_type___int64+set}" = set; then
1.1.1.19  root     9978:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     9979: else
1.1.1.19  root     9980:   cat >conftest.$ac_ext <<_ACEOF
                   9981: /* confdefs.h.  */
                   9982: _ACEOF
                   9983: cat confdefs.h >>conftest.$ac_ext
                   9984: cat >>conftest.$ac_ext <<_ACEOF
                   9985: /* end confdefs.h.  */
1.1.1.23! root     9986: $ac_includes_default
        !          9987: typedef __int64 ac__type_new_;
1.1.1.19  root     9988: int
                   9989: main ()
                   9990: {
1.1.1.23! root     9991: if ((ac__type_new_ *) 0)
        !          9992:   return 0;
        !          9993: if (sizeof (ac__type_new_))
        !          9994:   return 0;
        !          9995:   ;
        !          9996:   return 0;
        !          9997: }
        !          9998: _ACEOF
        !          9999: rm -f conftest.$ac_objext
        !          10000: if { (ac_try="$ac_compile"
        !          10001: case "(($ac_try" in
        !          10002:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10003:   *) ac_try_echo=$ac_try;;
        !          10004: esac
        !          10005: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10006:   (eval "$ac_compile") 2>conftest.er1
        !          10007:   ac_status=$?
        !          10008:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10009:   rm -f conftest.er1
        !          10010:   cat conftest.err >&5
        !          10011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10012:   (exit $ac_status); } && {
        !          10013:         test -z "$ac_c_werror_flag" ||
        !          10014:         test ! -s conftest.err
        !          10015:        } && test -s conftest.$ac_objext; then
        !          10016:   ac_cv_type___int64=yes
        !          10017: else
        !          10018:   echo "$as_me: failed program was:" >&5
        !          10019: sed 's/^/| /' conftest.$ac_ext >&5
        !          10020: 
        !          10021:        ac_cv_type___int64=no
        !          10022: fi
        !          10023: 
        !          10024: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10025: fi
        !          10026: { echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
        !          10027: echo "${ECHO_T}$ac_cv_type___int64" >&6; }
        !          10028: 
        !          10029: # The cast to long int works around a bug in the HP C Compiler
        !          10030: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
        !          10031: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
        !          10032: # This bug is HP SR number 8606223364.
        !          10033: { echo "$as_me:$LINENO: checking size of __int64" >&5
        !          10034: echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
        !          10035: if test "${ac_cv_sizeof___int64+set}" = set; then
        !          10036:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10037: else
        !          10038:   if test "$cross_compiling" = yes; then
        !          10039:   # Depending upon the size, compute the lo and hi bounds.
        !          10040: cat >conftest.$ac_ext <<_ACEOF
        !          10041: /* confdefs.h.  */
        !          10042: _ACEOF
        !          10043: cat confdefs.h >>conftest.$ac_ext
        !          10044: cat >>conftest.$ac_ext <<_ACEOF
        !          10045: /* end confdefs.h.  */
        !          10046: $ac_includes_default
        !          10047:    typedef __int64 ac__type_sizeof_;
        !          10048: int
        !          10049: main ()
        !          10050: {
        !          10051: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
        !          10052: test_array [0] = 0
        !          10053: 
        !          10054:   ;
        !          10055:   return 0;
        !          10056: }
        !          10057: _ACEOF
        !          10058: rm -f conftest.$ac_objext
        !          10059: if { (ac_try="$ac_compile"
        !          10060: case "(($ac_try" in
        !          10061:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10062:   *) ac_try_echo=$ac_try;;
        !          10063: esac
        !          10064: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10065:   (eval "$ac_compile") 2>conftest.er1
        !          10066:   ac_status=$?
        !          10067:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10068:   rm -f conftest.er1
        !          10069:   cat conftest.err >&5
        !          10070:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10071:   (exit $ac_status); } && {
        !          10072:         test -z "$ac_c_werror_flag" ||
        !          10073:         test ! -s conftest.err
        !          10074:        } && test -s conftest.$ac_objext; then
        !          10075:   ac_lo=0 ac_mid=0
        !          10076:   while :; do
        !          10077:     cat >conftest.$ac_ext <<_ACEOF
        !          10078: /* confdefs.h.  */
        !          10079: _ACEOF
        !          10080: cat confdefs.h >>conftest.$ac_ext
        !          10081: cat >>conftest.$ac_ext <<_ACEOF
        !          10082: /* end confdefs.h.  */
        !          10083: $ac_includes_default
        !          10084:    typedef __int64 ac__type_sizeof_;
        !          10085: int
        !          10086: main ()
        !          10087: {
        !          10088: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
        !          10089: test_array [0] = 0
        !          10090: 
        !          10091:   ;
        !          10092:   return 0;
        !          10093: }
        !          10094: _ACEOF
        !          10095: rm -f conftest.$ac_objext
        !          10096: if { (ac_try="$ac_compile"
        !          10097: case "(($ac_try" in
        !          10098:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10099:   *) ac_try_echo=$ac_try;;
        !          10100: esac
        !          10101: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10102:   (eval "$ac_compile") 2>conftest.er1
        !          10103:   ac_status=$?
        !          10104:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10105:   rm -f conftest.er1
        !          10106:   cat conftest.err >&5
        !          10107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10108:   (exit $ac_status); } && {
        !          10109:         test -z "$ac_c_werror_flag" ||
        !          10110:         test ! -s conftest.err
        !          10111:        } && test -s conftest.$ac_objext; then
        !          10112:   ac_hi=$ac_mid; break
        !          10113: else
        !          10114:   echo "$as_me: failed program was:" >&5
        !          10115: sed 's/^/| /' conftest.$ac_ext >&5
        !          10116: 
        !          10117:        ac_lo=`expr $ac_mid + 1`
        !          10118:                        if test $ac_lo -le $ac_mid; then
        !          10119:                          ac_lo= ac_hi=
        !          10120:                          break
        !          10121:                        fi
        !          10122:                        ac_mid=`expr 2 '*' $ac_mid + 1`
        !          10123: fi
        !          10124: 
        !          10125: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10126:   done
        !          10127: else
        !          10128:   echo "$as_me: failed program was:" >&5
        !          10129: sed 's/^/| /' conftest.$ac_ext >&5
        !          10130: 
        !          10131:        cat >conftest.$ac_ext <<_ACEOF
        !          10132: /* confdefs.h.  */
        !          10133: _ACEOF
        !          10134: cat confdefs.h >>conftest.$ac_ext
        !          10135: cat >>conftest.$ac_ext <<_ACEOF
        !          10136: /* end confdefs.h.  */
        !          10137: $ac_includes_default
        !          10138:    typedef __int64 ac__type_sizeof_;
        !          10139: int
        !          10140: main ()
        !          10141: {
        !          10142: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
        !          10143: test_array [0] = 0
        !          10144: 
        !          10145:   ;
        !          10146:   return 0;
        !          10147: }
        !          10148: _ACEOF
        !          10149: rm -f conftest.$ac_objext
        !          10150: if { (ac_try="$ac_compile"
        !          10151: case "(($ac_try" in
        !          10152:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10153:   *) ac_try_echo=$ac_try;;
        !          10154: esac
        !          10155: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10156:   (eval "$ac_compile") 2>conftest.er1
        !          10157:   ac_status=$?
        !          10158:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10159:   rm -f conftest.er1
        !          10160:   cat conftest.err >&5
        !          10161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10162:   (exit $ac_status); } && {
        !          10163:         test -z "$ac_c_werror_flag" ||
        !          10164:         test ! -s conftest.err
        !          10165:        } && test -s conftest.$ac_objext; then
        !          10166:   ac_hi=-1 ac_mid=-1
        !          10167:   while :; do
        !          10168:     cat >conftest.$ac_ext <<_ACEOF
        !          10169: /* confdefs.h.  */
        !          10170: _ACEOF
        !          10171: cat confdefs.h >>conftest.$ac_ext
        !          10172: cat >>conftest.$ac_ext <<_ACEOF
        !          10173: /* end confdefs.h.  */
        !          10174: $ac_includes_default
        !          10175:    typedef __int64 ac__type_sizeof_;
        !          10176: int
        !          10177: main ()
        !          10178: {
        !          10179: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
        !          10180: test_array [0] = 0
        !          10181: 
        !          10182:   ;
        !          10183:   return 0;
        !          10184: }
        !          10185: _ACEOF
        !          10186: rm -f conftest.$ac_objext
        !          10187: if { (ac_try="$ac_compile"
        !          10188: case "(($ac_try" in
        !          10189:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10190:   *) ac_try_echo=$ac_try;;
        !          10191: esac
        !          10192: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10193:   (eval "$ac_compile") 2>conftest.er1
        !          10194:   ac_status=$?
        !          10195:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10196:   rm -f conftest.er1
        !          10197:   cat conftest.err >&5
        !          10198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10199:   (exit $ac_status); } && {
        !          10200:         test -z "$ac_c_werror_flag" ||
        !          10201:         test ! -s conftest.err
        !          10202:        } && test -s conftest.$ac_objext; then
        !          10203:   ac_lo=$ac_mid; break
        !          10204: else
        !          10205:   echo "$as_me: failed program was:" >&5
        !          10206: sed 's/^/| /' conftest.$ac_ext >&5
        !          10207: 
        !          10208:        ac_hi=`expr '(' $ac_mid ')' - 1`
        !          10209:                        if test $ac_mid -le $ac_hi; then
        !          10210:                          ac_lo= ac_hi=
        !          10211:                          break
        !          10212:                        fi
        !          10213:                        ac_mid=`expr 2 '*' $ac_mid`
        !          10214: fi
        !          10215: 
        !          10216: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10217:   done
        !          10218: else
        !          10219:   echo "$as_me: failed program was:" >&5
        !          10220: sed 's/^/| /' conftest.$ac_ext >&5
        !          10221: 
        !          10222:        ac_lo= ac_hi=
        !          10223: fi
        !          10224: 
        !          10225: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10226: fi
        !          10227: 
        !          10228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10229: # Binary search between lo and hi bounds.
        !          10230: while test "x$ac_lo" != "x$ac_hi"; do
        !          10231:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
        !          10232:   cat >conftest.$ac_ext <<_ACEOF
        !          10233: /* confdefs.h.  */
        !          10234: _ACEOF
        !          10235: cat confdefs.h >>conftest.$ac_ext
        !          10236: cat >>conftest.$ac_ext <<_ACEOF
        !          10237: /* end confdefs.h.  */
        !          10238: $ac_includes_default
        !          10239:    typedef __int64 ac__type_sizeof_;
        !          10240: int
        !          10241: main ()
        !          10242: {
        !          10243: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
        !          10244: test_array [0] = 0
        !          10245: 
        !          10246:   ;
        !          10247:   return 0;
        !          10248: }
        !          10249: _ACEOF
        !          10250: rm -f conftest.$ac_objext
        !          10251: if { (ac_try="$ac_compile"
        !          10252: case "(($ac_try" in
        !          10253:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10254:   *) ac_try_echo=$ac_try;;
        !          10255: esac
        !          10256: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10257:   (eval "$ac_compile") 2>conftest.er1
        !          10258:   ac_status=$?
        !          10259:   grep -v '^ *+' conftest.er1 >conftest.err
        !          10260:   rm -f conftest.er1
        !          10261:   cat conftest.err >&5
        !          10262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10263:   (exit $ac_status); } && {
        !          10264:         test -z "$ac_c_werror_flag" ||
        !          10265:         test ! -s conftest.err
        !          10266:        } && test -s conftest.$ac_objext; then
        !          10267:   ac_hi=$ac_mid
        !          10268: else
        !          10269:   echo "$as_me: failed program was:" >&5
        !          10270: sed 's/^/| /' conftest.$ac_ext >&5
        !          10271: 
        !          10272:        ac_lo=`expr '(' $ac_mid ')' + 1`
        !          10273: fi
        !          10274: 
        !          10275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          10276: done
        !          10277: case $ac_lo in
        !          10278: ?*) ac_cv_sizeof___int64=$ac_lo;;
        !          10279: '') if test "$ac_cv_type___int64" = yes; then
        !          10280:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
        !          10281: See \`config.log' for more details." >&5
        !          10282: echo "$as_me: error: cannot compute sizeof (__int64)
        !          10283: See \`config.log' for more details." >&2;}
        !          10284:    { (exit 77); exit 77; }; }
        !          10285:    else
        !          10286:      ac_cv_sizeof___int64=0
        !          10287:    fi ;;
        !          10288: esac
        !          10289: else
        !          10290:   cat >conftest.$ac_ext <<_ACEOF
        !          10291: /* confdefs.h.  */
        !          10292: _ACEOF
        !          10293: cat confdefs.h >>conftest.$ac_ext
        !          10294: cat >>conftest.$ac_ext <<_ACEOF
        !          10295: /* end confdefs.h.  */
        !          10296: $ac_includes_default
        !          10297:    typedef __int64 ac__type_sizeof_;
        !          10298: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          10299: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
        !          10300: #include <stdio.h>
        !          10301: #include <stdlib.h>
        !          10302: int
        !          10303: main ()
        !          10304: {
        !          10305: 
        !          10306:   FILE *f = fopen ("conftest.val", "w");
        !          10307:   if (! f)
        !          10308:     return 1;
        !          10309:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
        !          10310:     {
        !          10311:       long int i = longval ();
        !          10312:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          10313:        return 1;
        !          10314:       fprintf (f, "%ld\n", i);
        !          10315:     }
        !          10316:   else
        !          10317:     {
        !          10318:       unsigned long int i = ulongval ();
        !          10319:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
        !          10320:        return 1;
        !          10321:       fprintf (f, "%lu\n", i);
        !          10322:     }
        !          10323:   return ferror (f) || fclose (f) != 0;
        !          10324: 
        !          10325:   ;
        !          10326:   return 0;
        !          10327: }
        !          10328: _ACEOF
        !          10329: rm -f conftest$ac_exeext
        !          10330: if { (ac_try="$ac_link"
        !          10331: case "(($ac_try" in
        !          10332:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10333:   *) ac_try_echo=$ac_try;;
        !          10334: esac
        !          10335: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10336:   (eval "$ac_link") 2>&5
        !          10337:   ac_status=$?
        !          10338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10339:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          10340:   { (case "(($ac_try" in
        !          10341:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          10342:   *) ac_try_echo=$ac_try;;
        !          10343: esac
        !          10344: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          10345:   (eval "$ac_try") 2>&5
        !          10346:   ac_status=$?
        !          10347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          10348:   (exit $ac_status); }; }; then
        !          10349:   ac_cv_sizeof___int64=`cat conftest.val`
        !          10350: else
        !          10351:   echo "$as_me: program exited with status $ac_status" >&5
        !          10352: echo "$as_me: failed program was:" >&5
        !          10353: sed 's/^/| /' conftest.$ac_ext >&5
        !          10354: 
        !          10355: ( exit $ac_status )
        !          10356: if test "$ac_cv_type___int64" = yes; then
        !          10357:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
        !          10358: See \`config.log' for more details." >&5
        !          10359: echo "$as_me: error: cannot compute sizeof (__int64)
        !          10360: See \`config.log' for more details." >&2;}
        !          10361:    { (exit 77); exit 77; }; }
        !          10362:    else
        !          10363:      ac_cv_sizeof___int64=0
        !          10364:    fi
        !          10365: fi
        !          10366: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          10367: fi
        !          10368: rm -f conftest.val
        !          10369: fi
        !          10370: { echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
        !          10371: echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
        !          10372: 
        !          10373: 
        !          10374: 
        !          10375: cat >>confdefs.h <<_ACEOF
        !          10376: #define SIZEOF___INT64 $ac_cv_sizeof___int64
        !          10377: _ACEOF
        !          10378: 
        !          10379: 
        !          10380: 
        !          10381: { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
        !          10382: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
        !          10383: if test "${ac_cv_c_const+set}" = set; then
        !          10384:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10385: else
        !          10386:   cat >conftest.$ac_ext <<_ACEOF
        !          10387: /* confdefs.h.  */
        !          10388: _ACEOF
        !          10389: cat confdefs.h >>conftest.$ac_ext
        !          10390: cat >>conftest.$ac_ext <<_ACEOF
        !          10391: /* end confdefs.h.  */
        !          10392: 
        !          10393: int
        !          10394: main ()
        !          10395: {
        !          10396: /* FIXME: Include the comments suggested by Paul. */
        !          10397: #ifndef __cplusplus
        !          10398:   /* Ultrix mips cc rejects this.  */
        !          10399:   typedef int charset[2];
        !          10400:   const charset cs;
        !          10401:   /* SunOS 4.1.1 cc rejects this.  */
        !          10402:   char const *const *pcpcc;
        !          10403:   char **ppc;
        !          10404:   /* NEC SVR4.0.2 mips cc rejects this.  */
        !          10405:   struct point {int x, y;};
        !          10406:   static struct point const zero = {0,0};
        !          10407:   /* AIX XL C 1.02.0.0 rejects this.
        !          10408:      It does not let you subtract one const X* pointer from another in
        !          10409:      an arm of an if-expression whose if-part is not a constant
        !          10410:      expression */
1.1.1.19  root     10411:   const char *g = "string";
1.1.1.22  root     10412:   pcpcc = &g + (g ? g-g : 0);
1.1.1.19  root     10413:   /* HPUX 7.0 cc rejects these. */
1.1.1.22  root     10414:   ++pcpcc;
                   10415:   ppc = (char**) pcpcc;
                   10416:   pcpcc = (char const *const *) ppc;
1.1.1.19  root     10417:   { /* SCO 3.2v4 cc rejects this.  */
                   10418:     char *t;
                   10419:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   10420: 
                   10421:     *t++ = 0;
1.1.1.22  root     10422:     if (s) return 0;
1.1.1.19  root     10423:   }
                   10424:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   10425:     int x[] = {25, 17};
                   10426:     const int *foo = &x[0];
                   10427:     ++foo;
                   10428:   }
                   10429:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   10430:     typedef const int *iptr;
                   10431:     iptr p = 0;
                   10432:     ++p;
                   10433:   }
                   10434:   { /* AIX XL C 1.02.0.0 rejects this saying
                   10435:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   10436:     struct s { int j; const int *ap[3]; };
                   10437:     struct s *b; b->j = 5;
                   10438:   }
                   10439:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   10440:     const int foo = 10;
1.1.1.22  root     10441:     if (!foo) return 0;
1.1.1.19  root     10442:   }
1.1.1.22  root     10443:   return !cs[0] && !zero.x;
1.1.1.19  root     10444: #endif
1.1       root     10445: 
1.1.1.19  root     10446:   ;
                   10447:   return 0;
1.1       root     10448: }
1.1.1.19  root     10449: _ACEOF
                   10450: rm -f conftest.$ac_objext
1.1.1.22  root     10451: if { (ac_try="$ac_compile"
                   10452: case "(($ac_try" in
                   10453:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10454:   *) ac_try_echo=$ac_try;;
                   10455: esac
                   10456: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10457:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10458:   ac_status=$?
                   10459:   grep -v '^ *+' conftest.er1 >conftest.err
                   10460:   rm -f conftest.er1
                   10461:   cat conftest.err >&5
                   10462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10463:   (exit $ac_status); } && {
                   10464:         test -z "$ac_c_werror_flag" ||
                   10465:         test ! -s conftest.err
                   10466:        } && test -s conftest.$ac_objext; then
1.1       root     10467:   ac_cv_c_const=yes
                   10468: else
1.1.1.19  root     10469:   echo "$as_me: failed program was:" >&5
                   10470: sed 's/^/| /' conftest.$ac_ext >&5
                   10471: 
1.1.1.22  root     10472:        ac_cv_c_const=no
1.1       root     10473: fi
1.1.1.22  root     10474: 
                   10475: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10476: fi
1.1.1.22  root     10477: { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
                   10478: echo "${ECHO_T}$ac_cv_c_const" >&6; }
1.1       root     10479: if test $ac_cv_c_const = no; then
1.1.1.19  root     10480: 
                   10481: cat >>confdefs.h <<\_ACEOF
                   10482: #define const
                   10483: _ACEOF
1.1       root     10484: 
                   10485: fi
                   10486: 
1.1.1.22  root     10487: { echo "$as_me:$LINENO: checking for inline" >&5
                   10488: echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
1.1.1.19  root     10489: if test "${ac_cv_c_inline+set}" = set; then
                   10490:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10491: else
                   10492:   ac_cv_c_inline=no
                   10493: for ac_kw in inline __inline__ __inline; do
1.1.1.19  root     10494:   cat >conftest.$ac_ext <<_ACEOF
                   10495: /* confdefs.h.  */
                   10496: _ACEOF
                   10497: cat confdefs.h >>conftest.$ac_ext
                   10498: cat >>conftest.$ac_ext <<_ACEOF
                   10499: /* end confdefs.h.  */
                   10500: #ifndef __cplusplus
                   10501: typedef int foo_t;
                   10502: static $ac_kw foo_t static_foo () {return 0; }
                   10503: $ac_kw foo_t foo () {return 0; }
                   10504: #endif
1.1       root     10505: 
1.1.1.19  root     10506: _ACEOF
                   10507: rm -f conftest.$ac_objext
1.1.1.22  root     10508: if { (ac_try="$ac_compile"
                   10509: case "(($ac_try" in
                   10510:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10511:   *) ac_try_echo=$ac_try;;
                   10512: esac
                   10513: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10514:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10515:   ac_status=$?
                   10516:   grep -v '^ *+' conftest.er1 >conftest.err
                   10517:   rm -f conftest.er1
                   10518:   cat conftest.err >&5
                   10519:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10520:   (exit $ac_status); } && {
                   10521:         test -z "$ac_c_werror_flag" ||
                   10522:         test ! -s conftest.err
                   10523:        } && test -s conftest.$ac_objext; then
                   10524:   ac_cv_c_inline=$ac_kw
1.1.1.4   root     10525: else
1.1.1.19  root     10526:   echo "$as_me: failed program was:" >&5
                   10527: sed 's/^/| /' conftest.$ac_ext >&5
                   10528: 
1.1.1.22  root     10529: 
1.1       root     10530: fi
1.1.1.22  root     10531: 
                   10532: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   10533:   test "$ac_cv_c_inline" != no && break
1.1       root     10534: done
                   10535: 
                   10536: fi
1.1.1.22  root     10537: { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
                   10538: echo "${ECHO_T}$ac_cv_c_inline" >&6; }
1.1       root     10539: 
1.1.1.19  root     10540: 
                   10541: case $ac_cv_c_inline in
1.1       root     10542:   inline | yes) ;;
1.1.1.19  root     10543:   *)
                   10544:     case $ac_cv_c_inline in
                   10545:       no) ac_val=;;
                   10546:       *) ac_val=$ac_cv_c_inline;;
                   10547:     esac
                   10548:     cat >>confdefs.h <<_ACEOF
                   10549: #ifndef __cplusplus
                   10550: #define inline $ac_val
                   10551: #endif
                   10552: _ACEOF
                   10553:     ;;
1.1       root     10554: esac
                   10555: 
1.1.1.4   root     10556: if [ "x$ac_cv_c_inline" = "xno" ]; then
                   10557:   ac_cv_c_inline=
                   10558: fi
1.1.1.22  root     10559: { echo "$as_me:$LINENO: checking for mode_t" >&5
                   10560: echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
1.1.1.19  root     10561: if test "${ac_cv_type_mode_t+set}" = set; then
                   10562:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10563: else
                   10564:   cat >conftest.$ac_ext <<_ACEOF
                   10565: /* confdefs.h.  */
                   10566: _ACEOF
                   10567: cat confdefs.h >>conftest.$ac_ext
                   10568: cat >>conftest.$ac_ext <<_ACEOF
                   10569: /* end confdefs.h.  */
                   10570: $ac_includes_default
1.1.1.22  root     10571: typedef mode_t ac__type_new_;
1.1.1.19  root     10572: int
                   10573: main ()
                   10574: {
1.1.1.22  root     10575: if ((ac__type_new_ *) 0)
1.1.1.19  root     10576:   return 0;
1.1.1.22  root     10577: if (sizeof (ac__type_new_))
1.1.1.19  root     10578:   return 0;
                   10579:   ;
                   10580:   return 0;
                   10581: }
                   10582: _ACEOF
                   10583: rm -f conftest.$ac_objext
1.1.1.22  root     10584: if { (ac_try="$ac_compile"
                   10585: case "(($ac_try" in
                   10586:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10587:   *) ac_try_echo=$ac_try;;
                   10588: esac
                   10589: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10590:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10591:   ac_status=$?
                   10592:   grep -v '^ *+' conftest.er1 >conftest.err
                   10593:   rm -f conftest.er1
                   10594:   cat conftest.err >&5
                   10595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10596:   (exit $ac_status); } && {
                   10597:         test -z "$ac_c_werror_flag" ||
                   10598:         test ! -s conftest.err
                   10599:        } && test -s conftest.$ac_objext; then
1.1       root     10600:   ac_cv_type_mode_t=yes
                   10601: else
1.1.1.19  root     10602:   echo "$as_me: failed program was:" >&5
                   10603: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     10604: 
1.1.1.22  root     10605:        ac_cv_type_mode_t=no
1.1       root     10606: fi
1.1.1.22  root     10607: 
                   10608: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     10609: fi
1.1.1.22  root     10610: { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
                   10611: echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
1.1.1.19  root     10612: if test $ac_cv_type_mode_t = yes; then
                   10613:   :
                   10614: else
                   10615: 
                   10616: cat >>confdefs.h <<_ACEOF
1.1       root     10617: #define mode_t int
1.1.1.19  root     10618: _ACEOF
1.1       root     10619: 
                   10620: fi
                   10621: 
1.1.1.22  root     10622: { echo "$as_me:$LINENO: checking for off_t" >&5
                   10623: echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
1.1.1.19  root     10624: if test "${ac_cv_type_off_t+set}" = set; then
                   10625:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10626: else
                   10627:   cat >conftest.$ac_ext <<_ACEOF
                   10628: /* confdefs.h.  */
                   10629: _ACEOF
                   10630: cat confdefs.h >>conftest.$ac_ext
                   10631: cat >>conftest.$ac_ext <<_ACEOF
                   10632: /* end confdefs.h.  */
                   10633: $ac_includes_default
1.1.1.22  root     10634: typedef off_t ac__type_new_;
1.1.1.19  root     10635: int
                   10636: main ()
                   10637: {
1.1.1.22  root     10638: if ((ac__type_new_ *) 0)
1.1.1.19  root     10639:   return 0;
1.1.1.22  root     10640: if (sizeof (ac__type_new_))
1.1.1.19  root     10641:   return 0;
                   10642:   ;
                   10643:   return 0;
                   10644: }
                   10645: _ACEOF
                   10646: rm -f conftest.$ac_objext
1.1.1.22  root     10647: if { (ac_try="$ac_compile"
                   10648: case "(($ac_try" in
                   10649:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10650:   *) ac_try_echo=$ac_try;;
                   10651: esac
                   10652: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10653:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10654:   ac_status=$?
                   10655:   grep -v '^ *+' conftest.er1 >conftest.err
                   10656:   rm -f conftest.er1
                   10657:   cat conftest.err >&5
                   10658:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10659:   (exit $ac_status); } && {
                   10660:         test -z "$ac_c_werror_flag" ||
                   10661:         test ! -s conftest.err
                   10662:        } && test -s conftest.$ac_objext; then
1.1       root     10663:   ac_cv_type_off_t=yes
                   10664: else
1.1.1.19  root     10665:   echo "$as_me: failed program was:" >&5
                   10666: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     10667: 
1.1.1.22  root     10668:        ac_cv_type_off_t=no
1.1       root     10669: fi
1.1.1.22  root     10670: 
                   10671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     10672: fi
1.1.1.22  root     10673: { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   10674: echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
1.1.1.19  root     10675: if test $ac_cv_type_off_t = yes; then
                   10676:   :
                   10677: else
                   10678: 
                   10679: cat >>confdefs.h <<_ACEOF
1.1.1.22  root     10680: #define off_t long int
1.1.1.19  root     10681: _ACEOF
1.1       root     10682: 
                   10683: fi
                   10684: 
1.1.1.22  root     10685: { echo "$as_me:$LINENO: checking for pid_t" >&5
                   10686: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
1.1.1.19  root     10687: if test "${ac_cv_type_pid_t+set}" = set; then
                   10688:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10689: else
                   10690:   cat >conftest.$ac_ext <<_ACEOF
                   10691: /* confdefs.h.  */
                   10692: _ACEOF
                   10693: cat confdefs.h >>conftest.$ac_ext
                   10694: cat >>conftest.$ac_ext <<_ACEOF
                   10695: /* end confdefs.h.  */
                   10696: $ac_includes_default
1.1.1.22  root     10697: typedef pid_t ac__type_new_;
1.1.1.19  root     10698: int
                   10699: main ()
                   10700: {
1.1.1.22  root     10701: if ((ac__type_new_ *) 0)
1.1.1.19  root     10702:   return 0;
1.1.1.22  root     10703: if (sizeof (ac__type_new_))
1.1.1.19  root     10704:   return 0;
                   10705:   ;
                   10706:   return 0;
                   10707: }
                   10708: _ACEOF
                   10709: rm -f conftest.$ac_objext
1.1.1.22  root     10710: if { (ac_try="$ac_compile"
                   10711: case "(($ac_try" in
                   10712:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10713:   *) ac_try_echo=$ac_try;;
                   10714: esac
                   10715: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10716:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10717:   ac_status=$?
                   10718:   grep -v '^ *+' conftest.er1 >conftest.err
                   10719:   rm -f conftest.er1
                   10720:   cat conftest.err >&5
                   10721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10722:   (exit $ac_status); } && {
                   10723:         test -z "$ac_c_werror_flag" ||
                   10724:         test ! -s conftest.err
                   10725:        } && test -s conftest.$ac_objext; then
1.1       root     10726:   ac_cv_type_pid_t=yes
                   10727: else
1.1.1.19  root     10728:   echo "$as_me: failed program was:" >&5
                   10729: sed 's/^/| /' conftest.$ac_ext >&5
1.1       root     10730: 
1.1.1.22  root     10731:        ac_cv_type_pid_t=no
1.1       root     10732: fi
1.1.1.22  root     10733: 
                   10734: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     10735: fi
1.1.1.22  root     10736: { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
                   10737: echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
1.1.1.19  root     10738: if test $ac_cv_type_pid_t = yes; then
                   10739:   :
                   10740: else
                   10741: 
                   10742: cat >>confdefs.h <<_ACEOF
1.1       root     10743: #define pid_t int
1.1.1.19  root     10744: _ACEOF
1.1       root     10745: 
                   10746: fi
                   10747: 
1.1.1.22  root     10748: { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
                   10749: echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
1.1.1.19  root     10750: if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
                   10751:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10752: else
                   10753:   cat >conftest.$ac_ext <<_ACEOF
                   10754: /* confdefs.h.  */
                   10755: _ACEOF
                   10756: cat confdefs.h >>conftest.$ac_ext
                   10757: cat >>conftest.$ac_ext <<_ACEOF
                   10758: /* end confdefs.h.  */
                   10759: $ac_includes_default
                   10760: int
                   10761: main ()
                   10762: {
                   10763: static struct stat ac_aggr;
                   10764: if (ac_aggr.st_blocks)
                   10765: return 0;
                   10766:   ;
                   10767:   return 0;
                   10768: }
                   10769: _ACEOF
                   10770: rm -f conftest.$ac_objext
1.1.1.22  root     10771: if { (ac_try="$ac_compile"
                   10772: case "(($ac_try" in
                   10773:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10774:   *) ac_try_echo=$ac_try;;
                   10775: esac
                   10776: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10777:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10778:   ac_status=$?
                   10779:   grep -v '^ *+' conftest.er1 >conftest.err
                   10780:   rm -f conftest.er1
                   10781:   cat conftest.err >&5
                   10782:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10783:   (exit $ac_status); } && {
                   10784:         test -z "$ac_c_werror_flag" ||
                   10785:         test ! -s conftest.err
                   10786:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     10787:   ac_cv_member_struct_stat_st_blocks=yes
                   10788: else
                   10789:   echo "$as_me: failed program was:" >&5
                   10790: sed 's/^/| /' conftest.$ac_ext >&5
                   10791: 
1.1.1.22  root     10792:        cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     10793: /* confdefs.h.  */
                   10794: _ACEOF
                   10795: cat confdefs.h >>conftest.$ac_ext
                   10796: cat >>conftest.$ac_ext <<_ACEOF
                   10797: /* end confdefs.h.  */
                   10798: $ac_includes_default
                   10799: int
                   10800: main ()
                   10801: {
                   10802: static struct stat ac_aggr;
                   10803: if (sizeof ac_aggr.st_blocks)
                   10804: return 0;
                   10805:   ;
                   10806:   return 0;
                   10807: }
                   10808: _ACEOF
                   10809: rm -f conftest.$ac_objext
1.1.1.22  root     10810: if { (ac_try="$ac_compile"
                   10811: case "(($ac_try" in
                   10812:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10813:   *) ac_try_echo=$ac_try;;
                   10814: esac
                   10815: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10816:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10817:   ac_status=$?
                   10818:   grep -v '^ *+' conftest.er1 >conftest.err
                   10819:   rm -f conftest.er1
                   10820:   cat conftest.err >&5
                   10821:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10822:   (exit $ac_status); } && {
                   10823:         test -z "$ac_c_werror_flag" ||
                   10824:         test ! -s conftest.err
                   10825:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     10826:   ac_cv_member_struct_stat_st_blocks=yes
                   10827: else
                   10828:   echo "$as_me: failed program was:" >&5
                   10829: sed 's/^/| /' conftest.$ac_ext >&5
                   10830: 
1.1.1.22  root     10831:        ac_cv_member_struct_stat_st_blocks=no
1.1.1.19  root     10832: fi
1.1.1.22  root     10833: 
                   10834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     10835: fi
1.1.1.22  root     10836: 
                   10837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     10838: fi
1.1.1.22  root     10839: { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
                   10840: echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
1.1.1.19  root     10841: if test $ac_cv_member_struct_stat_st_blocks = yes; then
                   10842: 
                   10843: cat >>confdefs.h <<_ACEOF
                   10844: #define HAVE_STRUCT_STAT_ST_BLOCKS 1
                   10845: _ACEOF
                   10846: 
1.1       root     10847: 
1.1.1.19  root     10848: cat >>confdefs.h <<\_ACEOF
1.1       root     10849: #define HAVE_ST_BLOCKS 1
1.1.1.19  root     10850: _ACEOF
1.1       root     10851: 
                   10852: else
1.1.1.22  root     10853:   case " $LIBOBJS " in
1.1.1.19  root     10854:   *" fileblocks.$ac_objext "* ) ;;
1.1.1.22  root     10855:   *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
                   10856:  ;;
1.1.1.19  root     10857: esac
                   10858: 
1.1       root     10859: fi
                   10860: 
1.1.1.19  root     10861: 
1.1.1.22  root     10862: { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   10863: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
1.1.1.19  root     10864: if test "${ac_cv_header_time+set}" = set; then
                   10865:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10866: else
                   10867:   cat >conftest.$ac_ext <<_ACEOF
                   10868: /* confdefs.h.  */
                   10869: _ACEOF
                   10870: cat confdefs.h >>conftest.$ac_ext
                   10871: cat >>conftest.$ac_ext <<_ACEOF
                   10872: /* end confdefs.h.  */
1.1       root     10873: #include <sys/types.h>
                   10874: #include <sys/time.h>
                   10875: #include <time.h>
1.1.1.19  root     10876: 
                   10877: int
                   10878: main ()
                   10879: {
                   10880: if ((struct tm *) 0)
                   10881: return 0;
                   10882:   ;
                   10883:   return 0;
                   10884: }
                   10885: _ACEOF
                   10886: rm -f conftest.$ac_objext
1.1.1.22  root     10887: if { (ac_try="$ac_compile"
                   10888: case "(($ac_try" in
                   10889:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10890:   *) ac_try_echo=$ac_try;;
                   10891: esac
                   10892: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10893:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10894:   ac_status=$?
                   10895:   grep -v '^ *+' conftest.er1 >conftest.err
                   10896:   rm -f conftest.er1
                   10897:   cat conftest.err >&5
                   10898:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10899:   (exit $ac_status); } && {
                   10900:         test -z "$ac_c_werror_flag" ||
                   10901:         test ! -s conftest.err
                   10902:        } && test -s conftest.$ac_objext; then
1.1       root     10903:   ac_cv_header_time=yes
                   10904: else
1.1.1.19  root     10905:   echo "$as_me: failed program was:" >&5
                   10906: sed 's/^/| /' conftest.$ac_ext >&5
                   10907: 
1.1.1.22  root     10908:        ac_cv_header_time=no
1.1       root     10909: fi
1.1.1.22  root     10910: 
                   10911: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10912: fi
1.1.1.22  root     10913: { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   10914: echo "${ECHO_T}$ac_cv_header_time" >&6; }
1.1       root     10915: if test $ac_cv_header_time = yes; then
1.1.1.19  root     10916: 
                   10917: cat >>confdefs.h <<\_ACEOF
1.1       root     10918: #define TIME_WITH_SYS_TIME 1
1.1.1.19  root     10919: _ACEOF
1.1       root     10920: 
                   10921: fi
                   10922: 
1.1.1.22  root     10923: { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
                   10924: echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
1.1.1.19  root     10925: if test "${ac_cv_struct_tm+set}" = set; then
                   10926:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10927: else
1.1.1.19  root     10928:   cat >conftest.$ac_ext <<_ACEOF
                   10929: /* confdefs.h.  */
                   10930: _ACEOF
                   10931: cat confdefs.h >>conftest.$ac_ext
                   10932: cat >>conftest.$ac_ext <<_ACEOF
                   10933: /* end confdefs.h.  */
1.1       root     10934: #include <sys/types.h>
                   10935: #include <time.h>
1.1.1.19  root     10936: 
                   10937: int
                   10938: main ()
                   10939: {
1.1.1.22  root     10940: struct tm tm;
                   10941:                                     int *p = &tm.tm_sec;
                   10942:                                     return !p;
1.1.1.19  root     10943:   ;
                   10944:   return 0;
                   10945: }
                   10946: _ACEOF
                   10947: rm -f conftest.$ac_objext
1.1.1.22  root     10948: if { (ac_try="$ac_compile"
                   10949: case "(($ac_try" in
                   10950:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   10951:   *) ac_try_echo=$ac_try;;
                   10952: esac
                   10953: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   10954:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     10955:   ac_status=$?
                   10956:   grep -v '^ *+' conftest.er1 >conftest.err
                   10957:   rm -f conftest.er1
                   10958:   cat conftest.err >&5
                   10959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     10960:   (exit $ac_status); } && {
                   10961:         test -z "$ac_c_werror_flag" ||
                   10962:         test ! -s conftest.err
                   10963:        } && test -s conftest.$ac_objext; then
1.1       root     10964:   ac_cv_struct_tm=time.h
                   10965: else
1.1.1.19  root     10966:   echo "$as_me: failed program was:" >&5
                   10967: sed 's/^/| /' conftest.$ac_ext >&5
                   10968: 
1.1.1.22  root     10969:        ac_cv_struct_tm=sys/time.h
1.1       root     10970: fi
1.1.1.22  root     10971: 
                   10972: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     10973: fi
1.1.1.22  root     10974: { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
                   10975: echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
1.1       root     10976: if test $ac_cv_struct_tm = sys/time.h; then
1.1.1.19  root     10977: 
                   10978: cat >>confdefs.h <<\_ACEOF
1.1       root     10979: #define TM_IN_SYS_TIME 1
1.1.1.19  root     10980: _ACEOF
1.1       root     10981: 
                   10982: fi
                   10983: 
                   10984: 
1.1.1.19  root     10985: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.22  root     10986:     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
                   10987: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
1.1.1.19  root     10988: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
                   10989:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     10990: else
                   10991:     ac_pattern="Autoconf.*'x'"
1.1.1.19  root     10992:   cat >conftest.$ac_ext <<_ACEOF
                   10993: /* confdefs.h.  */
                   10994: _ACEOF
                   10995: cat confdefs.h >>conftest.$ac_ext
                   10996: cat >>conftest.$ac_ext <<_ACEOF
                   10997: /* end confdefs.h.  */
1.1       root     10998: #include <sgtty.h>
                   10999: Autoconf TIOCGETP
1.1.1.19  root     11000: _ACEOF
1.1       root     11001: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     11002:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     11003:   ac_cv_prog_gcc_traditional=yes
                   11004: else
                   11005:   ac_cv_prog_gcc_traditional=no
                   11006: fi
                   11007: rm -f conftest*
                   11008: 
                   11009: 
                   11010:   if test $ac_cv_prog_gcc_traditional = no; then
1.1.1.19  root     11011:     cat >conftest.$ac_ext <<_ACEOF
                   11012: /* confdefs.h.  */
                   11013: _ACEOF
                   11014: cat confdefs.h >>conftest.$ac_ext
                   11015: cat >>conftest.$ac_ext <<_ACEOF
                   11016: /* end confdefs.h.  */
1.1       root     11017: #include <termio.h>
                   11018: Autoconf TCGETA
1.1.1.19  root     11019: _ACEOF
1.1       root     11020: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     11021:   $EGREP "$ac_pattern" >/dev/null 2>&1; then
1.1       root     11022:   ac_cv_prog_gcc_traditional=yes
                   11023: fi
                   11024: rm -f conftest*
                   11025: 
                   11026:   fi
                   11027: fi
1.1.1.22  root     11028: { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
                   11029: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
1.1       root     11030:   if test $ac_cv_prog_gcc_traditional = yes; then
                   11031:     CC="$CC -traditional"
                   11032:   fi
                   11033: fi
                   11034: 
1.1.1.22  root     11035: { echo "$as_me:$LINENO: checking for working memcmp" >&5
                   11036: echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
1.1.1.19  root     11037: if test "${ac_cv_func_memcmp_working+set}" = set; then
                   11038:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       root     11039: else
                   11040:   if test "$cross_compiling" = yes; then
1.1.1.19  root     11041:   ac_cv_func_memcmp_working=no
1.1       root     11042: else
1.1.1.19  root     11043:   cat >conftest.$ac_ext <<_ACEOF
                   11044: /* confdefs.h.  */
                   11045: _ACEOF
                   11046: cat confdefs.h >>conftest.$ac_ext
                   11047: cat >>conftest.$ac_ext <<_ACEOF
                   11048: /* end confdefs.h.  */
                   11049: $ac_includes_default
                   11050: int
                   11051: main ()
1.1       root     11052: {
1.1.1.19  root     11053: 
                   11054:   /* Some versions of memcmp are not 8-bit clean.  */
1.1.1.22  root     11055:   char c0 = '\100', c1 = '\200', c2 = '\201';
1.1.1.19  root     11056:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
1.1.1.22  root     11057:     return 1;
1.1       root     11058: 
1.1.1.19  root     11059:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   11060:      or more and with at least one buffer not starting on a 4-byte boundary.
                   11061:      William Lewis provided this test program.   */
                   11062:   {
                   11063:     char foo[21];
                   11064:     char bar[21];
                   11065:     int i;
                   11066:     for (i = 0; i < 4; i++)
                   11067:       {
                   11068:        char *a = foo + i;
                   11069:        char *b = bar + i;
                   11070:        strcpy (a, "--------01111111");
                   11071:        strcpy (b, "--------10000000");
                   11072:        if (memcmp (a, b, 16) >= 0)
1.1.1.22  root     11073:          return 1;
1.1.1.19  root     11074:       }
1.1.1.22  root     11075:     return 0;
1.1.1.19  root     11076:   }
1.1       root     11077: 
1.1.1.19  root     11078:   ;
                   11079:   return 0;
                   11080: }
                   11081: _ACEOF
                   11082: rm -f conftest$ac_exeext
1.1.1.22  root     11083: if { (ac_try="$ac_link"
                   11084: case "(($ac_try" in
                   11085:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11086:   *) ac_try_echo=$ac_try;;
                   11087: esac
                   11088: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11089:   (eval "$ac_link") 2>&5
1.1.1.19  root     11090:   ac_status=$?
                   11091:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11092:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     11093:   { (case "(($ac_try" in
                   11094:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11095:   *) ac_try_echo=$ac_try;;
                   11096: esac
                   11097: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11098:   (eval "$ac_try") 2>&5
1.1.1.19  root     11099:   ac_status=$?
                   11100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11101:   (exit $ac_status); }; }; then
                   11102:   ac_cv_func_memcmp_working=yes
                   11103: else
                   11104:   echo "$as_me: program exited with status $ac_status" >&5
                   11105: echo "$as_me: failed program was:" >&5
                   11106: sed 's/^/| /' conftest.$ac_ext >&5
                   11107: 
                   11108: ( exit $ac_status )
                   11109: ac_cv_func_memcmp_working=no
                   11110: fi
1.1.1.22  root     11111: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     11112: fi
1.1.1.22  root     11113: 
                   11114: 
1.1.1.19  root     11115: fi
1.1.1.22  root     11116: { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
                   11117: echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
                   11118: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
1.1.1.19  root     11119:   *" memcmp.$ac_objext "* ) ;;
1.1.1.22  root     11120:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
                   11121:  ;;
1.1.1.19  root     11122: esac
1.1.1.4   root     11123: 
1.1       root     11124: 
1.1.1.22  root     11125: { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
                   11126: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
1.1.1.19  root     11127: if test "${ac_cv_type_signal+set}" = set; then
                   11128:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11129: else
                   11130:   cat >conftest.$ac_ext <<_ACEOF
                   11131: /* confdefs.h.  */
                   11132: _ACEOF
                   11133: cat confdefs.h >>conftest.$ac_ext
                   11134: cat >>conftest.$ac_ext <<_ACEOF
                   11135: /* end confdefs.h.  */
1.1       root     11136: #include <sys/types.h>
                   11137: #include <signal.h>
                   11138: 
1.1.1.19  root     11139: int
                   11140: main ()
                   11141: {
1.1.1.22  root     11142: return *(signal (0, 0)) (0) == 1;
1.1.1.19  root     11143:   ;
                   11144:   return 0;
                   11145: }
                   11146: _ACEOF
                   11147: rm -f conftest.$ac_objext
1.1.1.22  root     11148: if { (ac_try="$ac_compile"
                   11149: case "(($ac_try" in
                   11150:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11151:   *) ac_try_echo=$ac_try;;
                   11152: esac
                   11153: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11154:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     11155:   ac_status=$?
                   11156:   grep -v '^ *+' conftest.er1 >conftest.err
                   11157:   rm -f conftest.er1
                   11158:   cat conftest.err >&5
                   11159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11160:   (exit $ac_status); } && {
                   11161:         test -z "$ac_c_werror_flag" ||
                   11162:         test ! -s conftest.err
                   11163:        } && test -s conftest.$ac_objext; then
                   11164:   ac_cv_type_signal=int
1.1       root     11165: else
1.1.1.19  root     11166:   echo "$as_me: failed program was:" >&5
                   11167: sed 's/^/| /' conftest.$ac_ext >&5
                   11168: 
1.1.1.22  root     11169:        ac_cv_type_signal=void
1.1       root     11170: fi
1.1.1.22  root     11171: 
                   11172: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       root     11173: fi
1.1.1.22  root     11174: { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
                   11175: echo "${ECHO_T}$ac_cv_type_signal" >&6; }
1.1       root     11176: 
1.1.1.19  root     11177: cat >>confdefs.h <<_ACEOF
1.1       root     11178: #define RETSIGTYPE $ac_cv_type_signal
1.1.1.19  root     11179: _ACEOF
1.1       root     11180: 
                   11181: 
1.1.1.22  root     11182: 
                   11183: 
                   11184: 
                   11185: 
                   11186: for ac_header in $ac_header_list
                   11187: do
                   11188: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   11189: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   11190:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   11191: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   11192: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   11193:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11194: fi
                   11195: ac_res=`eval echo '${'$as_ac_Header'}'`
                   11196:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11197: echo "${ECHO_T}$ac_res" >&6; }
                   11198: else
                   11199:   # Is the header compilable?
                   11200: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   11201: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
                   11202: cat >conftest.$ac_ext <<_ACEOF
                   11203: /* confdefs.h.  */
                   11204: _ACEOF
                   11205: cat confdefs.h >>conftest.$ac_ext
                   11206: cat >>conftest.$ac_ext <<_ACEOF
                   11207: /* end confdefs.h.  */
                   11208: $ac_includes_default
                   11209: #include <$ac_header>
                   11210: _ACEOF
                   11211: rm -f conftest.$ac_objext
                   11212: if { (ac_try="$ac_compile"
                   11213: case "(($ac_try" in
                   11214:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11215:   *) ac_try_echo=$ac_try;;
                   11216: esac
                   11217: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11218:   (eval "$ac_compile") 2>conftest.er1
                   11219:   ac_status=$?
                   11220:   grep -v '^ *+' conftest.er1 >conftest.err
                   11221:   rm -f conftest.er1
                   11222:   cat conftest.err >&5
                   11223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11224:   (exit $ac_status); } && {
                   11225:         test -z "$ac_c_werror_flag" ||
                   11226:         test ! -s conftest.err
                   11227:        } && test -s conftest.$ac_objext; then
                   11228:   ac_header_compiler=yes
                   11229: else
                   11230:   echo "$as_me: failed program was:" >&5
                   11231: sed 's/^/| /' conftest.$ac_ext >&5
                   11232: 
                   11233:        ac_header_compiler=no
                   11234: fi
                   11235: 
                   11236: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11237: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   11238: echo "${ECHO_T}$ac_header_compiler" >&6; }
                   11239: 
                   11240: # Is the header present?
                   11241: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   11242: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
                   11243: cat >conftest.$ac_ext <<_ACEOF
                   11244: /* confdefs.h.  */
                   11245: _ACEOF
                   11246: cat confdefs.h >>conftest.$ac_ext
                   11247: cat >>conftest.$ac_ext <<_ACEOF
                   11248: /* end confdefs.h.  */
                   11249: #include <$ac_header>
                   11250: _ACEOF
                   11251: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   11252: case "(($ac_try" in
                   11253:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11254:   *) ac_try_echo=$ac_try;;
                   11255: esac
                   11256: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11257:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
                   11258:   ac_status=$?
                   11259:   grep -v '^ *+' conftest.er1 >conftest.err
                   11260:   rm -f conftest.er1
                   11261:   cat conftest.err >&5
                   11262:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11263:   (exit $ac_status); } >/dev/null && {
                   11264:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   11265:         test ! -s conftest.err
                   11266:        }; then
                   11267:   ac_header_preproc=yes
                   11268: else
                   11269:   echo "$as_me: failed program was:" >&5
                   11270: sed 's/^/| /' conftest.$ac_ext >&5
                   11271: 
                   11272:   ac_header_preproc=no
                   11273: fi
                   11274: 
                   11275: rm -f conftest.err conftest.$ac_ext
                   11276: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   11277: echo "${ECHO_T}$ac_header_preproc" >&6; }
                   11278: 
                   11279: # So?  What about this header?
                   11280: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   11281:   yes:no: )
                   11282:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   11283: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   11284:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   11285: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   11286:     ac_header_preproc=yes
                   11287:     ;;
                   11288:   no:yes:* )
                   11289:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   11290: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   11291:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   11292: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   11293:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   11294: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   11295:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   11296: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   11297:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   11298: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   11299:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   11300: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   11301: 
                   11302:     ;;
                   11303: esac
                   11304: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   11305: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   11306: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   11307:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11308: else
                   11309:   eval "$as_ac_Header=\$ac_header_preproc"
                   11310: fi
                   11311: ac_res=`eval echo '${'$as_ac_Header'}'`
                   11312:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11313: echo "${ECHO_T}$ac_res" >&6; }
                   11314: 
                   11315: fi
                   11316: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   11317:   cat >>confdefs.h <<_ACEOF
                   11318: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   11319: _ACEOF
                   11320: 
                   11321: fi
                   11322: 
                   11323: done
                   11324: 
                   11325: 
                   11326: 
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
                   11334: echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
                   11335: if test "${ac_cv_func_utime_null+set}" = set; then
                   11336:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11337: else
                   11338:   rm -f conftest.data; >conftest.data
1.1       root     11339: # Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
                   11340: if test "$cross_compiling" = yes; then
                   11341:   ac_cv_func_utime_null=no
                   11342: else
1.1.1.19  root     11343:   cat >conftest.$ac_ext <<_ACEOF
                   11344: /* confdefs.h.  */
                   11345: _ACEOF
                   11346: cat confdefs.h >>conftest.$ac_ext
                   11347: cat >>conftest.$ac_ext <<_ACEOF
                   11348: /* end confdefs.h.  */
                   11349: $ac_includes_default
1.1.1.22  root     11350:               #ifdef HAVE_UTIME_H
                   11351:               # include <utime.h>
                   11352:               #endif
1.1.1.19  root     11353: int
                   11354: main ()
                   11355: {
1.1       root     11356: struct stat s, t;
1.1.1.22  root     11357:   return ! (stat ("conftest.data", &s) == 0
                   11358:            && utime ("conftest.data", 0) == 0
                   11359:            && stat ("conftest.data", &t) == 0
                   11360:            && t.st_mtime >= s.st_mtime
                   11361:            && t.st_mtime - s.st_mtime < 120);
1.1.1.19  root     11362:   ;
                   11363:   return 0;
1.1       root     11364: }
1.1.1.19  root     11365: _ACEOF
                   11366: rm -f conftest$ac_exeext
1.1.1.22  root     11367: if { (ac_try="$ac_link"
                   11368: case "(($ac_try" in
                   11369:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11370:   *) ac_try_echo=$ac_try;;
                   11371: esac
                   11372: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11373:   (eval "$ac_link") 2>&5
1.1.1.19  root     11374:   ac_status=$?
                   11375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11376:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     11377:   { (case "(($ac_try" in
                   11378:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11379:   *) ac_try_echo=$ac_try;;
                   11380: esac
                   11381: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11382:   (eval "$ac_try") 2>&5
1.1.1.19  root     11383:   ac_status=$?
                   11384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11385:   (exit $ac_status); }; }; then
1.1       root     11386:   ac_cv_func_utime_null=yes
                   11387: else
1.1.1.19  root     11388:   echo "$as_me: program exited with status $ac_status" >&5
                   11389: echo "$as_me: failed program was:" >&5
                   11390: sed 's/^/| /' conftest.$ac_ext >&5
                   11391: 
                   11392: ( exit $ac_status )
                   11393: ac_cv_func_utime_null=no
1.1       root     11394: fi
1.1.1.22  root     11395: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     11396: fi
1.1.1.22  root     11397: 
                   11398: 
1.1       root     11399: fi
1.1.1.22  root     11400: { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
                   11401: echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
1.1       root     11402: if test $ac_cv_func_utime_null = yes; then
1.1.1.19  root     11403: 
                   11404: cat >>confdefs.h <<\_ACEOF
1.1       root     11405: #define HAVE_UTIME_NULL 1
1.1.1.19  root     11406: _ACEOF
1.1       root     11407: 
                   11408: fi
1.1.1.19  root     11409: rm -f conftest.data
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
1.1       root     11417: 
1.1.1.16  root     11418: for ac_func in getcwd getopt strdup gettimeofday sigaction mkdir rmdir
                   11419: do
1.1.1.19  root     11420: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.22  root     11421: { echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11422: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
                   11423: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11424:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11425: else
                   11426:   cat >conftest.$ac_ext <<_ACEOF
                   11427: /* confdefs.h.  */
                   11428: _ACEOF
                   11429: cat confdefs.h >>conftest.$ac_ext
                   11430: cat >>conftest.$ac_ext <<_ACEOF
                   11431: /* end confdefs.h.  */
                   11432: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11433:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11434: #define $ac_func innocuous_$ac_func
                   11435: 
1.1.1.16  root     11436: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11437:     which can conflict with char $ac_func (); below.
                   11438:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11439:     <limits.h> exists even on freestanding compilers.  */
                   11440: 
                   11441: #ifdef __STDC__
                   11442: # include <limits.h>
                   11443: #else
                   11444: # include <assert.h>
                   11445: #endif
1.1.1.16  root     11446: 
1.1.1.19  root     11447: #undef $ac_func
1.1.1.16  root     11448: 
1.1.1.22  root     11449: /* Override any GCC internal prototype to avoid an error.
                   11450:    Use char because int might match the return type of a GCC
                   11451:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     11452: #ifdef __cplusplus
                   11453: extern "C"
                   11454: #endif
                   11455: char $ac_func ();
1.1.1.16  root     11456: /* The GNU C library defines this for functions which it implements
                   11457:     to always fail with ENOSYS.  Some functions are actually named
                   11458:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     11459: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1.1.16  root     11460: choke me
                   11461: #endif
                   11462: 
1.1.1.19  root     11463: int
                   11464: main ()
                   11465: {
1.1.1.22  root     11466: return $ac_func ();
1.1.1.19  root     11467:   ;
                   11468:   return 0;
                   11469: }
                   11470: _ACEOF
                   11471: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     11472: if { (ac_try="$ac_link"
                   11473: case "(($ac_try" in
                   11474:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11475:   *) ac_try_echo=$ac_try;;
                   11476: esac
                   11477: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11478:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     11479:   ac_status=$?
                   11480:   grep -v '^ *+' conftest.er1 >conftest.err
                   11481:   rm -f conftest.er1
                   11482:   cat conftest.err >&5
                   11483:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11484:   (exit $ac_status); } && {
                   11485:         test -z "$ac_c_werror_flag" ||
                   11486:         test ! -s conftest.err
                   11487:        } && test -s conftest$ac_exeext &&
                   11488:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     11489:   eval "$as_ac_var=yes"
                   11490: else
                   11491:   echo "$as_me: failed program was:" >&5
                   11492: sed 's/^/| /' conftest.$ac_ext >&5
                   11493: 
1.1.1.22  root     11494:        eval "$as_ac_var=no"
1.1.1.19  root     11495: fi
1.1.1.22  root     11496: 
                   11497: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     11498:       conftest$ac_exeext conftest.$ac_ext
                   11499: fi
1.1.1.22  root     11500: ac_res=`eval echo '${'$as_ac_var'}'`
                   11501:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11502: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11503: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11504:   cat >>confdefs.h <<_ACEOF
                   11505: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11506: _ACEOF
1.1.1.16  root     11507: 
                   11508: fi
                   11509: done
                   11510: 
1.1.1.19  root     11511: 
                   11512: 
                   11513: 
                   11514: 
                   11515: 
                   11516: 
1.1.1.16  root     11517: for ac_func in select strerror strstr isnan isinf setitimer
1.1.1.6   root     11518: do
1.1.1.19  root     11519: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.22  root     11520: { echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11521: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
                   11522: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11523:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11524: else
                   11525:   cat >conftest.$ac_ext <<_ACEOF
                   11526: /* confdefs.h.  */
                   11527: _ACEOF
                   11528: cat confdefs.h >>conftest.$ac_ext
                   11529: cat >>conftest.$ac_ext <<_ACEOF
                   11530: /* end confdefs.h.  */
                   11531: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11532:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11533: #define $ac_func innocuous_$ac_func
                   11534: 
1.1.1.6   root     11535: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11536:     which can conflict with char $ac_func (); below.
                   11537:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11538:     <limits.h> exists even on freestanding compilers.  */
                   11539: 
                   11540: #ifdef __STDC__
                   11541: # include <limits.h>
                   11542: #else
                   11543: # include <assert.h>
                   11544: #endif
1.1.1.6   root     11545: 
1.1.1.19  root     11546: #undef $ac_func
1.1.1.6   root     11547: 
1.1.1.22  root     11548: /* Override any GCC internal prototype to avoid an error.
                   11549:    Use char because int might match the return type of a GCC
                   11550:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     11551: #ifdef __cplusplus
                   11552: extern "C"
                   11553: #endif
                   11554: char $ac_func ();
1.1.1.6   root     11555: /* The GNU C library defines this for functions which it implements
                   11556:     to always fail with ENOSYS.  Some functions are actually named
                   11557:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     11558: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1.1.6   root     11559: choke me
                   11560: #endif
                   11561: 
1.1.1.19  root     11562: int
                   11563: main ()
                   11564: {
1.1.1.22  root     11565: return $ac_func ();
1.1.1.19  root     11566:   ;
                   11567:   return 0;
                   11568: }
                   11569: _ACEOF
                   11570: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     11571: if { (ac_try="$ac_link"
                   11572: case "(($ac_try" in
                   11573:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11574:   *) ac_try_echo=$ac_try;;
                   11575: esac
                   11576: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11577:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     11578:   ac_status=$?
                   11579:   grep -v '^ *+' conftest.er1 >conftest.err
                   11580:   rm -f conftest.er1
                   11581:   cat conftest.err >&5
                   11582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11583:   (exit $ac_status); } && {
                   11584:         test -z "$ac_c_werror_flag" ||
                   11585:         test ! -s conftest.err
                   11586:        } && test -s conftest$ac_exeext &&
                   11587:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     11588:   eval "$as_ac_var=yes"
                   11589: else
                   11590:   echo "$as_me: failed program was:" >&5
                   11591: sed 's/^/| /' conftest.$ac_ext >&5
                   11592: 
1.1.1.22  root     11593:        eval "$as_ac_var=no"
1.1.1.19  root     11594: fi
1.1.1.22  root     11595: 
                   11596: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     11597:       conftest$ac_exeext conftest.$ac_ext
                   11598: fi
1.1.1.22  root     11599: ac_res=`eval echo '${'$as_ac_var'}'`
                   11600:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11601: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11602: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11603:   cat >>confdefs.h <<_ACEOF
                   11604: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11605: _ACEOF
1.1.1.6   root     11606: 
                   11607: fi
                   11608: done
                   11609: 
1.1.1.19  root     11610: 
                   11611: 
                   11612: 
                   11613: 
                   11614: 
                   11615: 
1.1.1.6   root     11616: for ac_func in tcgetattr cfmakeraw readdir_r vprintf vsprintf vfprintf
1.1       root     11617: do
1.1.1.19  root     11618: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.22  root     11619: { echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11620: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
                   11621: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11622:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11623: else
                   11624:   cat >conftest.$ac_ext <<_ACEOF
                   11625: /* confdefs.h.  */
                   11626: _ACEOF
                   11627: cat confdefs.h >>conftest.$ac_ext
                   11628: cat >>conftest.$ac_ext <<_ACEOF
                   11629: /* end confdefs.h.  */
                   11630: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11631:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11632: #define $ac_func innocuous_$ac_func
                   11633: 
1.1       root     11634: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11635:     which can conflict with char $ac_func (); below.
                   11636:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11637:     <limits.h> exists even on freestanding compilers.  */
                   11638: 
                   11639: #ifdef __STDC__
                   11640: # include <limits.h>
                   11641: #else
                   11642: # include <assert.h>
                   11643: #endif
1.1       root     11644: 
1.1.1.19  root     11645: #undef $ac_func
1.1       root     11646: 
1.1.1.22  root     11647: /* Override any GCC internal prototype to avoid an error.
                   11648:    Use char because int might match the return type of a GCC
                   11649:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     11650: #ifdef __cplusplus
                   11651: extern "C"
                   11652: #endif
                   11653: char $ac_func ();
1.1       root     11654: /* The GNU C library defines this for functions which it implements
                   11655:     to always fail with ENOSYS.  Some functions are actually named
                   11656:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     11657: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1       root     11658: choke me
                   11659: #endif
                   11660: 
1.1.1.19  root     11661: int
                   11662: main ()
                   11663: {
1.1.1.22  root     11664: return $ac_func ();
1.1.1.19  root     11665:   ;
                   11666:   return 0;
                   11667: }
                   11668: _ACEOF
                   11669: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     11670: if { (ac_try="$ac_link"
                   11671: case "(($ac_try" in
                   11672:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11673:   *) ac_try_echo=$ac_try;;
                   11674: esac
                   11675: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11676:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     11677:   ac_status=$?
                   11678:   grep -v '^ *+' conftest.er1 >conftest.err
                   11679:   rm -f conftest.er1
                   11680:   cat conftest.err >&5
                   11681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11682:   (exit $ac_status); } && {
                   11683:         test -z "$ac_c_werror_flag" ||
                   11684:         test ! -s conftest.err
                   11685:        } && test -s conftest$ac_exeext &&
                   11686:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     11687:   eval "$as_ac_var=yes"
                   11688: else
                   11689:   echo "$as_me: failed program was:" >&5
                   11690: sed 's/^/| /' conftest.$ac_ext >&5
                   11691: 
1.1.1.22  root     11692:        eval "$as_ac_var=no"
1.1.1.19  root     11693: fi
1.1.1.22  root     11694: 
                   11695: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     11696:       conftest$ac_exeext conftest.$ac_ext
                   11697: fi
1.1.1.22  root     11698: ac_res=`eval echo '${'$as_ac_var'}'`
                   11699:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11700: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11701: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11702:   cat >>confdefs.h <<_ACEOF
                   11703: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11704: _ACEOF
1.1.1.4   root     11705: 
                   11706: fi
1.1.1.6   root     11707: done
                   11708: 
                   11709: 
                   11710: DO_FILEUTILS_CHECK=yes
1.1.1.19  root     11711: if test $uae_cv_prog_cc_watcom = yes -o $MINGW32 = yes; then
1.1.1.6   root     11712:   DO_FILEUTILS_CHECK=no
                   11713: fi
                   11714: if test $DO_FILEUTILS_CHECK = yes; then
1.1.1.19  root     11715: 
                   11716: 
                   11717: 
                   11718: 
                   11719: 
                   11720: 
                   11721: 
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
                   11727: 
                   11728: for ac_header in fcntl.h sys/param.h sys/statfs.h sys/fstyp.h \
1.1.1.6   root     11729: mnttab.h mntent.h sys/statvfs.h sys/vfs.h sys/mount.h \
                   11730: sys/filsys.h sys/fs_types.h sys/fs/s5param.h
                   11731: do
1.1.1.19  root     11732: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.1.1.22  root     11733: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
                   11734:   { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   11735: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   11736: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11737:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11738: fi
1.1.1.22  root     11739: ac_res=`eval echo '${'$as_ac_Header'}'`
                   11740:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11741: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11742: else
                   11743:   # Is the header compilable?
1.1.1.22  root     11744: { echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   11745: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
1.1.1.19  root     11746: cat >conftest.$ac_ext <<_ACEOF
                   11747: /* confdefs.h.  */
                   11748: _ACEOF
                   11749: cat confdefs.h >>conftest.$ac_ext
                   11750: cat >>conftest.$ac_ext <<_ACEOF
                   11751: /* end confdefs.h.  */
                   11752: $ac_includes_default
                   11753: #include <$ac_header>
                   11754: _ACEOF
                   11755: rm -f conftest.$ac_objext
1.1.1.22  root     11756: if { (ac_try="$ac_compile"
                   11757: case "(($ac_try" in
                   11758:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11759:   *) ac_try_echo=$ac_try;;
                   11760: esac
                   11761: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11762:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     11763:   ac_status=$?
                   11764:   grep -v '^ *+' conftest.er1 >conftest.err
                   11765:   rm -f conftest.er1
                   11766:   cat conftest.err >&5
                   11767:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11768:   (exit $ac_status); } && {
                   11769:         test -z "$ac_c_werror_flag" ||
                   11770:         test ! -s conftest.err
                   11771:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     11772:   ac_header_compiler=yes
                   11773: else
                   11774:   echo "$as_me: failed program was:" >&5
                   11775: sed 's/^/| /' conftest.$ac_ext >&5
                   11776: 
1.1.1.22  root     11777:        ac_header_compiler=no
1.1.1.19  root     11778: fi
1.1.1.22  root     11779: 
                   11780: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11781: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   11782: echo "${ECHO_T}$ac_header_compiler" >&6; }
1.1.1.19  root     11783: 
                   11784: # Is the header present?
1.1.1.22  root     11785: { echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   11786: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
1.1.1.19  root     11787: cat >conftest.$ac_ext <<_ACEOF
                   11788: /* confdefs.h.  */
                   11789: _ACEOF
                   11790: cat confdefs.h >>conftest.$ac_ext
                   11791: cat >>conftest.$ac_ext <<_ACEOF
                   11792: /* end confdefs.h.  */
                   11793: #include <$ac_header>
                   11794: _ACEOF
1.1.1.22  root     11795: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   11796: case "(($ac_try" in
                   11797:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11798:   *) ac_try_echo=$ac_try;;
                   11799: esac
                   11800: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11801:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     11802:   ac_status=$?
                   11803:   grep -v '^ *+' conftest.er1 >conftest.err
                   11804:   rm -f conftest.er1
                   11805:   cat conftest.err >&5
                   11806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11807:   (exit $ac_status); } >/dev/null && {
                   11808:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   11809:         test ! -s conftest.err
                   11810:        }; then
1.1.1.19  root     11811:   ac_header_preproc=yes
                   11812: else
                   11813:   echo "$as_me: failed program was:" >&5
                   11814: sed 's/^/| /' conftest.$ac_ext >&5
                   11815: 
                   11816:   ac_header_preproc=no
1.1.1.6   root     11817: fi
1.1.1.22  root     11818: 
1.1.1.19  root     11819: rm -f conftest.err conftest.$ac_ext
1.1.1.22  root     11820: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   11821: echo "${ECHO_T}$ac_header_preproc" >&6; }
1.1.1.19  root     11822: 
                   11823: # So?  What about this header?
                   11824: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   11825:   yes:no: )
                   11826:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   11827: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   11828:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   11829: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   11830:     ac_header_preproc=yes
                   11831:     ;;
                   11832:   no:yes:* )
                   11833:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   11834: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   11835:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   11836: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   11837:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   11838: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   11839:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   11840: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   11841:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   11842: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   11843:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   11844: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.1.1.22  root     11845: 
1.1.1.19  root     11846:     ;;
                   11847: esac
1.1.1.22  root     11848: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   11849: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   11850: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11851:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11852: else
1.1.1.19  root     11853:   eval "$as_ac_Header=\$ac_header_preproc"
                   11854: fi
1.1.1.22  root     11855: ac_res=`eval echo '${'$as_ac_Header'}'`
                   11856:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11857: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11858: 
                   11859: fi
                   11860: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   11861:   cat >>confdefs.h <<_ACEOF
                   11862: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   11863: _ACEOF
                   11864: 
1.1.1.6   root     11865: fi
1.1.1.19  root     11866: 
1.1.1.6   root     11867: done
                   11868: 
                   11869: 
1.1.1.19  root     11870: 
                   11871: 
                   11872: 
                   11873: 
                   11874: 
                   11875: 
                   11876: 
                   11877: 
                   11878: 
                   11879: 
                   11880: 
                   11881: 
                   11882: 
                   11883: 
                   11884: 
                   11885: 
                   11886: 
1.1.1.6   root     11887: for ac_func in bcopy endgrent endpwent fchdir ftime ftruncate \
                   11888: getcwd getmntinfo gettimeofday isascii lchown \
                   11889: listmntent memcpy mkfifo strchr strerror strrchr
                   11890: do
1.1.1.19  root     11891: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.22  root     11892: { echo "$as_me:$LINENO: checking for $ac_func" >&5
                   11893: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
                   11894: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     11895:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11896: else
                   11897:   cat >conftest.$ac_ext <<_ACEOF
                   11898: /* confdefs.h.  */
                   11899: _ACEOF
                   11900: cat confdefs.h >>conftest.$ac_ext
                   11901: cat >>conftest.$ac_ext <<_ACEOF
                   11902: /* end confdefs.h.  */
                   11903: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   11904:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11905: #define $ac_func innocuous_$ac_func
                   11906: 
1.1.1.6   root     11907: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     11908:     which can conflict with char $ac_func (); below.
                   11909:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11910:     <limits.h> exists even on freestanding compilers.  */
                   11911: 
                   11912: #ifdef __STDC__
                   11913: # include <limits.h>
                   11914: #else
                   11915: # include <assert.h>
                   11916: #endif
1.1.1.6   root     11917: 
1.1.1.19  root     11918: #undef $ac_func
1.1.1.6   root     11919: 
1.1.1.22  root     11920: /* Override any GCC internal prototype to avoid an error.
                   11921:    Use char because int might match the return type of a GCC
                   11922:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     11923: #ifdef __cplusplus
                   11924: extern "C"
                   11925: #endif
                   11926: char $ac_func ();
1.1.1.6   root     11927: /* The GNU C library defines this for functions which it implements
                   11928:     to always fail with ENOSYS.  Some functions are actually named
                   11929:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     11930: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1.1.6   root     11931: choke me
                   11932: #endif
                   11933: 
1.1.1.19  root     11934: int
                   11935: main ()
                   11936: {
1.1.1.22  root     11937: return $ac_func ();
1.1.1.19  root     11938:   ;
                   11939:   return 0;
                   11940: }
                   11941: _ACEOF
                   11942: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     11943: if { (ac_try="$ac_link"
                   11944: case "(($ac_try" in
                   11945:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11946:   *) ac_try_echo=$ac_try;;
                   11947: esac
                   11948: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   11949:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     11950:   ac_status=$?
                   11951:   grep -v '^ *+' conftest.er1 >conftest.err
                   11952:   rm -f conftest.er1
                   11953:   cat conftest.err >&5
                   11954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     11955:   (exit $ac_status); } && {
                   11956:         test -z "$ac_c_werror_flag" ||
                   11957:         test ! -s conftest.err
                   11958:        } && test -s conftest$ac_exeext &&
                   11959:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     11960:   eval "$as_ac_var=yes"
                   11961: else
                   11962:   echo "$as_me: failed program was:" >&5
                   11963: sed 's/^/| /' conftest.$ac_ext >&5
                   11964: 
1.1.1.22  root     11965:        eval "$as_ac_var=no"
1.1.1.19  root     11966: fi
1.1.1.22  root     11967: 
                   11968: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     11969:       conftest$ac_exeext conftest.$ac_ext
                   11970: fi
1.1.1.22  root     11971: ac_res=`eval echo '${'$as_ac_var'}'`
                   11972:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   11973: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     11974: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   11975:   cat >>confdefs.h <<_ACEOF
                   11976: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   11977: _ACEOF
1.1.1.6   root     11978: 
                   11979: fi
                   11980: done
                   11981: 
                   11982: 
                   11983: # Determine how to get the list of mounted filesystems.
                   11984: list_mounted_fs=
                   11985: 
                   11986: # If the getmntent function is available but not in the standard library,
                   11987: # make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
1.1.1.22  root     11988: # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
                   11989: # -lseq on Dynix/PTX, -lgen on Unixware.
                   11990: { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
                   11991: echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
                   11992: if test "${ac_cv_search_getmntent+set}" = set; then
1.1.1.19  root     11993:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     11994: else
1.1.1.22  root     11995:   ac_func_search_save_LIBS=$LIBS
1.1.1.19  root     11996: cat >conftest.$ac_ext <<_ACEOF
                   11997: /* confdefs.h.  */
                   11998: _ACEOF
                   11999: cat confdefs.h >>conftest.$ac_ext
                   12000: cat >>conftest.$ac_ext <<_ACEOF
                   12001: /* end confdefs.h.  */
                   12002: 
1.1.1.22  root     12003: /* Override any GCC internal prototype to avoid an error.
                   12004:    Use char because int might match the return type of a GCC
                   12005:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     12006: #ifdef __cplusplus
                   12007: extern "C"
                   12008: #endif
                   12009: char getmntent ();
                   12010: int
                   12011: main ()
                   12012: {
1.1.1.22  root     12013: return getmntent ();
1.1.1.19  root     12014:   ;
                   12015:   return 0;
                   12016: }
                   12017: _ACEOF
1.1.1.22  root     12018: for ac_lib in '' sun seq gen; do
                   12019:   if test -z "$ac_lib"; then
                   12020:     ac_res="none required"
                   12021:   else
                   12022:     ac_res=-l$ac_lib
                   12023:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   12024:   fi
                   12025:   rm -f conftest.$ac_objext conftest$ac_exeext
                   12026: if { (ac_try="$ac_link"
                   12027: case "(($ac_try" in
                   12028:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12029:   *) ac_try_echo=$ac_try;;
                   12030: esac
                   12031: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12032:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     12033:   ac_status=$?
                   12034:   grep -v '^ *+' conftest.er1 >conftest.err
                   12035:   rm -f conftest.er1
                   12036:   cat conftest.err >&5
                   12037:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12038:   (exit $ac_status); } && {
                   12039:         test -z "$ac_c_werror_flag" ||
                   12040:         test ! -s conftest.err
                   12041:        } && test -s conftest$ac_exeext &&
                   12042:        $as_test_x conftest$ac_exeext; then
                   12043:   ac_cv_search_getmntent=$ac_res
1.1.1.19  root     12044: else
                   12045:   echo "$as_me: failed program was:" >&5
                   12046: sed 's/^/| /' conftest.$ac_ext >&5
                   12047: 
1.1.1.22  root     12048: 
1.1.1.19  root     12049: fi
1.1.1.22  root     12050: 
                   12051: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
                   12052:       conftest$ac_exeext
                   12053:   if test "${ac_cv_search_getmntent+set}" = set; then
                   12054:   break
                   12055: fi
                   12056: done
                   12057: if test "${ac_cv_search_getmntent+set}" = set; then
                   12058:   :
                   12059: else
                   12060:   ac_cv_search_getmntent=no
                   12061: fi
                   12062: rm conftest.$ac_ext
                   12063: LIBS=$ac_func_search_save_LIBS
                   12064: fi
                   12065: { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
                   12066: echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
                   12067: ac_res=$ac_cv_search_getmntent
                   12068: if test "$ac_res" != no; then
                   12069:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   12070:   ac_cv_func_getmntent=yes
                   12071: 
                   12072: cat >>confdefs.h <<\_ACEOF
                   12073: #define HAVE_GETMNTENT
                   12074: _ACEOF
                   12075: 
                   12076: else
                   12077:   ac_cv_func_getmntent=no
1.1.1.19  root     12078: fi
1.1.1.22  root     12079: 
                   12080: 
                   12081: 
                   12082: # This test must precede the ones for getmntent because Unicos-9 is
                   12083: # reported to have the getmntent function, but its support is incompatible
                   12084: # with other getmntent implementations.
                   12085: 
                   12086: # NOTE: Normally, I wouldn't use a check for system type as I've done for
                   12087: # `CRAY' below since that goes against the whole autoconf philosophy.  But
                   12088: # I think there is too great a chance that some non-Cray system has a
                   12089: # function named listmntent to risk the false positive.
                   12090: 
                   12091: if test -z "$list_mounted_fs"; then
                   12092: # Cray UNICOS 9
                   12093: { echo "$as_me:$LINENO: checking for listmntent of Cray/Unicos-9" >&5
                   12094: echo $ECHO_N "checking for listmntent of Cray/Unicos-9... $ECHO_C" >&6; }
                   12095: if test "${fu_cv_sys_mounted_cray_listmntent+set}" = set; then
1.1.1.19  root     12096:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12097: else
1.1.1.22  root     12098:   fu_cv_sys_mounted_cray_listmntent=no
1.1.1.19  root     12099: cat >conftest.$ac_ext <<_ACEOF
                   12100: /* confdefs.h.  */
                   12101: _ACEOF
                   12102: cat confdefs.h >>conftest.$ac_ext
                   12103: cat >>conftest.$ac_ext <<_ACEOF
                   12104: /* end confdefs.h.  */
1.1.1.22  root     12105: #ifdef _CRAY
                   12106: yes
1.1.1.19  root     12107: #endif
1.1.1.22  root     12108: 
1.1.1.19  root     12109: _ACEOF
1.1.1.6   root     12110: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     12111:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.6   root     12112:   test $ac_cv_func_listmntent = yes \
                   12113: && fu_cv_sys_mounted_cray_listmntent=yes
                   12114: 
                   12115: fi
                   12116: rm -f conftest*
                   12117: 
                   12118: 
                   12119: 
                   12120: fi
                   12121: 
1.1.1.22  root     12122: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_cray_listmntent" >&5
                   12123: echo "${ECHO_T}$fu_cv_sys_mounted_cray_listmntent" >&6; }
1.1.1.6   root     12124: if test $fu_cv_sys_mounted_cray_listmntent = yes; then
                   12125: list_mounted_fs=found
1.1.1.19  root     12126: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12127: #define MOUNTED_LISTMNTENT 1
1.1.1.19  root     12128: _ACEOF
1.1.1.6   root     12129: 
                   12130: fi
                   12131: fi
                   12132: 
                   12133: if test $ac_cv_func_getmntent = yes; then
                   12134: 
                   12135: # This system has the getmntent function.
                   12136: # Determine whether it's the one-argument variant or the two-argument one.
                   12137: 
                   12138: if test -z "$list_mounted_fs"; then
                   12139: # 4.3BSD, SunOS, HP-UX, Dynix, Irix
1.1.1.22  root     12140: { echo "$as_me:$LINENO: checking for one-argument getmntent function" >&5
                   12141: echo $ECHO_N "checking for one-argument getmntent function... $ECHO_C" >&6; }
1.1.1.19  root     12142: if test "${fu_cv_sys_mounted_getmntent1+set}" = set; then
                   12143:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12144: else
                   12145:   test $ac_cv_header_mntent_h = yes \
                   12146: && fu_cv_sys_mounted_getmntent1=yes \
                   12147: || fu_cv_sys_mounted_getmntent1=no
                   12148: fi
                   12149: 
1.1.1.22  root     12150: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent1" >&5
                   12151: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent1" >&6; }
1.1.1.6   root     12152: if test $fu_cv_sys_mounted_getmntent1 = yes; then
                   12153: list_mounted_fs=found
1.1.1.19  root     12154: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12155: #define MOUNTED_GETMNTENT1 1
1.1.1.19  root     12156: _ACEOF
1.1.1.6   root     12157: 
                   12158: fi
                   12159: fi
                   12160: 
                   12161: if test -z "$list_mounted_fs"; then
                   12162: # SVR4
1.1.1.22  root     12163: { echo "$as_me:$LINENO: checking for two-argument getmntent function" >&5
                   12164: echo $ECHO_N "checking for two-argument getmntent function... $ECHO_C" >&6; }
1.1.1.19  root     12165: if test "${fu_cv_sys_mounted_getmntent2+set}" = set; then
                   12166:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12167: else
                   12168:   cat >conftest.$ac_ext <<_ACEOF
                   12169: /* confdefs.h.  */
                   12170: _ACEOF
                   12171: cat confdefs.h >>conftest.$ac_ext
                   12172: cat >>conftest.$ac_ext <<_ACEOF
                   12173: /* end confdefs.h.  */
1.1.1.6   root     12174: #include <sys/mnttab.h>
1.1.1.19  root     12175: 
                   12176: _ACEOF
1.1.1.6   root     12177: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     12178:   $EGREP "getmntent" >/dev/null 2>&1; then
1.1.1.6   root     12179:   fu_cv_sys_mounted_getmntent2=yes
                   12180: else
                   12181:   fu_cv_sys_mounted_getmntent2=no
                   12182: fi
                   12183: rm -f conftest*
                   12184: 
                   12185: fi
                   12186: 
1.1.1.22  root     12187: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntent2" >&5
                   12188: echo "${ECHO_T}$fu_cv_sys_mounted_getmntent2" >&6; }
1.1.1.6   root     12189: if test $fu_cv_sys_mounted_getmntent2 = yes; then
                   12190: list_mounted_fs=found
1.1.1.19  root     12191: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12192: #define MOUNTED_GETMNTENT2 1
1.1.1.19  root     12193: _ACEOF
1.1.1.6   root     12194: 
                   12195: fi
                   12196: fi
                   12197: 
                   12198: if test -z "$list_mounted_fs"; then
1.1.1.19  root     12199: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
                   12200: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
                   12201:    { (exit 1); exit 1; }; }
1.1.1.6   root     12202: fi
                   12203: 
                   12204: fi
                   12205: 
                   12206: if test -z "$list_mounted_fs"; then
                   12207: # DEC Alpha running OSF/1.
1.1.1.22  root     12208: { echo "$as_me:$LINENO: checking for getfsstat function" >&5
                   12209: echo $ECHO_N "checking for getfsstat function... $ECHO_C" >&6; }
1.1.1.19  root     12210: if test "${fu_cv_sys_mounted_getsstat+set}" = set; then
                   12211:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12212: else
                   12213:   cat >conftest.$ac_ext <<_ACEOF
                   12214: /* confdefs.h.  */
                   12215: _ACEOF
                   12216: cat confdefs.h >>conftest.$ac_ext
                   12217: cat >>conftest.$ac_ext <<_ACEOF
                   12218: /* end confdefs.h.  */
1.1.1.6   root     12219: 
                   12220: #include <sys/types.h>
                   12221: #include <sys/mount.h>
                   12222: #include <sys/fs_types.h>
1.1.1.19  root     12223: int
                   12224: main ()
                   12225: {
1.1.1.6   root     12226: struct statfs *stats;
1.1.1.19  root     12227: int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
                   12228:   ;
                   12229:   return 0;
                   12230: }
                   12231: _ACEOF
                   12232: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     12233: if { (ac_try="$ac_link"
                   12234: case "(($ac_try" in
                   12235:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12236:   *) ac_try_echo=$ac_try;;
                   12237: esac
                   12238: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12239:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     12240:   ac_status=$?
                   12241:   grep -v '^ *+' conftest.er1 >conftest.err
                   12242:   rm -f conftest.er1
                   12243:   cat conftest.err >&5
                   12244:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12245:   (exit $ac_status); } && {
                   12246:         test -z "$ac_c_werror_flag" ||
                   12247:         test ! -s conftest.err
                   12248:        } && test -s conftest$ac_exeext &&
                   12249:        $as_test_x conftest$ac_exeext; then
1.1.1.6   root     12250:   fu_cv_sys_mounted_getsstat=yes
                   12251: else
1.1.1.19  root     12252:   echo "$as_me: failed program was:" >&5
                   12253: sed 's/^/| /' conftest.$ac_ext >&5
                   12254: 
1.1.1.22  root     12255:        fu_cv_sys_mounted_getsstat=no
1.1.1.6   root     12256: fi
1.1.1.22  root     12257: 
                   12258: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     12259:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12260: fi
                   12261: 
1.1.1.22  root     12262: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getsstat" >&5
                   12263: echo "${ECHO_T}$fu_cv_sys_mounted_getsstat" >&6; }
1.1.1.6   root     12264: if test $fu_cv_sys_mounted_getsstat = yes; then
                   12265: list_mounted_fs=found
1.1.1.19  root     12266: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12267: #define MOUNTED_GETFSSTAT 1
1.1.1.19  root     12268: _ACEOF
1.1.1.6   root     12269: 
                   12270: fi
                   12271: fi
                   12272: 
                   12273: if test -z "$list_mounted_fs"; then
                   12274: # AIX.
1.1.1.22  root     12275: { echo "$as_me:$LINENO: checking for mntctl function and struct vmount" >&5
                   12276: echo $ECHO_N "checking for mntctl function and struct vmount... $ECHO_C" >&6; }
1.1.1.19  root     12277: if test "${fu_cv_sys_mounted_vmount+set}" = set; then
                   12278:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12279: else
                   12280:   cat >conftest.$ac_ext <<_ACEOF
                   12281: /* confdefs.h.  */
                   12282: _ACEOF
                   12283: cat confdefs.h >>conftest.$ac_ext
                   12284: cat >>conftest.$ac_ext <<_ACEOF
                   12285: /* end confdefs.h.  */
1.1.1.6   root     12286: #include <fshelp.h>
1.1.1.19  root     12287: _ACEOF
1.1.1.22  root     12288: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   12289: case "(($ac_try" in
                   12290:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12291:   *) ac_try_echo=$ac_try;;
                   12292: esac
                   12293: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12294:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     12295:   ac_status=$?
                   12296:   grep -v '^ *+' conftest.er1 >conftest.err
                   12297:   rm -f conftest.er1
                   12298:   cat conftest.err >&5
                   12299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12300:   (exit $ac_status); } >/dev/null && {
                   12301:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   12302:         test ! -s conftest.err
                   12303:        }; then
1.1.1.6   root     12304:   fu_cv_sys_mounted_vmount=yes
                   12305: else
1.1.1.19  root     12306:   echo "$as_me: failed program was:" >&5
                   12307: sed 's/^/| /' conftest.$ac_ext >&5
                   12308: 
1.1.1.6   root     12309:   fu_cv_sys_mounted_vmount=no
                   12310: fi
1.1.1.22  root     12311: 
1.1.1.19  root     12312: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12313: fi
                   12314: 
1.1.1.22  root     12315: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_vmount" >&5
                   12316: echo "${ECHO_T}$fu_cv_sys_mounted_vmount" >&6; }
1.1.1.6   root     12317: if test $fu_cv_sys_mounted_vmount = yes; then
                   12318: list_mounted_fs=found
1.1.1.19  root     12319: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12320: #define MOUNTED_VMOUNT 1
1.1.1.19  root     12321: _ACEOF
1.1.1.6   root     12322: 
                   12323: fi
                   12324: fi
                   12325: 
                   12326: if test -z "$list_mounted_fs"; then
                   12327: # SVR3
1.1.1.22  root     12328: { echo "$as_me:$LINENO: checking for FIXME existence of three headers" >&5
                   12329: echo $ECHO_N "checking for FIXME existence of three headers... $ECHO_C" >&6; }
1.1.1.19  root     12330: if test "${fu_cv_sys_mounted_fread_fstyp+set}" = set; then
                   12331:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12332: else
                   12333:   cat >conftest.$ac_ext <<_ACEOF
                   12334: /* confdefs.h.  */
                   12335: _ACEOF
                   12336: cat confdefs.h >>conftest.$ac_ext
                   12337: cat >>conftest.$ac_ext <<_ACEOF
                   12338: /* end confdefs.h.  */
1.1.1.6   root     12339: 
                   12340: #include <sys/statfs.h>
                   12341: #include <sys/fstyp.h>
                   12342: #include <mnttab.h>
1.1.1.19  root     12343: _ACEOF
1.1.1.22  root     12344: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   12345: case "(($ac_try" in
                   12346:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12347:   *) ac_try_echo=$ac_try;;
                   12348: esac
                   12349: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12350:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     12351:   ac_status=$?
                   12352:   grep -v '^ *+' conftest.er1 >conftest.err
                   12353:   rm -f conftest.er1
                   12354:   cat conftest.err >&5
                   12355:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12356:   (exit $ac_status); } >/dev/null && {
                   12357:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   12358:         test ! -s conftest.err
                   12359:        }; then
1.1.1.6   root     12360:   fu_cv_sys_mounted_fread_fstyp=yes
                   12361: else
1.1.1.19  root     12362:   echo "$as_me: failed program was:" >&5
                   12363: sed 's/^/| /' conftest.$ac_ext >&5
                   12364: 
1.1.1.6   root     12365:   fu_cv_sys_mounted_fread_fstyp=no
                   12366: fi
1.1.1.22  root     12367: 
1.1.1.19  root     12368: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12369: fi
                   12370: 
1.1.1.22  root     12371: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread_fstyp" >&5
                   12372: echo "${ECHO_T}$fu_cv_sys_mounted_fread_fstyp" >&6; }
1.1.1.6   root     12373: if test $fu_cv_sys_mounted_fread_fstyp = yes; then
                   12374: list_mounted_fs=found
1.1.1.19  root     12375: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12376: #define MOUNTED_FREAD_FSTYP 1
1.1.1.19  root     12377: _ACEOF
1.1.1.6   root     12378: 
                   12379: fi
                   12380: fi
                   12381: 
                   12382: if test -z "$list_mounted_fs"; then
                   12383: # 4.4BSD and DEC OSF/1.
1.1.1.22  root     12384: { echo "$as_me:$LINENO: checking for getmntinfo function" >&5
                   12385: echo $ECHO_N "checking for getmntinfo function... $ECHO_C" >&6; }
1.1.1.19  root     12386: if test "${fu_cv_sys_mounted_getmntinfo+set}" = set; then
                   12387:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12388: else
1.1.1.19  root     12389: 
1.1.1.6   root     12390: ok=
                   12391: if test $ac_cv_func_getmntinfo = yes; then
1.1.1.19  root     12392: cat >conftest.$ac_ext <<_ACEOF
                   12393: /* confdefs.h.  */
                   12394: _ACEOF
                   12395: cat confdefs.h >>conftest.$ac_ext
                   12396: cat >>conftest.$ac_ext <<_ACEOF
                   12397: /* end confdefs.h.  */
1.1.1.6   root     12398: #include <sys/mount.h>
1.1.1.19  root     12399: 
                   12400: _ACEOF
1.1.1.6   root     12401: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     12402:   $EGREP "f_type;" >/dev/null 2>&1; then
1.1.1.6   root     12403:   ok=yes
                   12404: fi
                   12405: rm -f conftest*
                   12406: 
                   12407: fi
                   12408: test -n "$ok" \
                   12409: && fu_cv_sys_mounted_getmntinfo=yes \
                   12410: || fu_cv_sys_mounted_getmntinfo=no
                   12411: 
                   12412: fi
                   12413: 
1.1.1.22  root     12414: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmntinfo" >&5
                   12415: echo "${ECHO_T}$fu_cv_sys_mounted_getmntinfo" >&6; }
1.1.1.6   root     12416: if test $fu_cv_sys_mounted_getmntinfo = yes; then
                   12417: list_mounted_fs=found
1.1.1.19  root     12418: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12419: #define MOUNTED_GETMNTINFO 1
1.1.1.19  root     12420: _ACEOF
1.1.1.6   root     12421: 
                   12422: fi
                   12423: fi
                   12424: 
                   12425: # FIXME: add a test for netbsd-1.1 here
                   12426: 
                   12427: if test -z "$list_mounted_fs"; then
                   12428: # Ultrix
1.1.1.22  root     12429: { echo "$as_me:$LINENO: checking for getmnt function" >&5
                   12430: echo $ECHO_N "checking for getmnt function... $ECHO_C" >&6; }
1.1.1.19  root     12431: if test "${fu_cv_sys_mounted_getmnt+set}" = set; then
                   12432:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12433: else
                   12434:   cat >conftest.$ac_ext <<_ACEOF
                   12435: /* confdefs.h.  */
                   12436: _ACEOF
                   12437: cat confdefs.h >>conftest.$ac_ext
                   12438: cat >>conftest.$ac_ext <<_ACEOF
                   12439: /* end confdefs.h.  */
1.1.1.6   root     12440: 
                   12441: #include <sys/fs_types.h>
                   12442: #include <sys/mount.h>
1.1.1.19  root     12443: _ACEOF
1.1.1.22  root     12444: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   12445: case "(($ac_try" in
                   12446:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12447:   *) ac_try_echo=$ac_try;;
                   12448: esac
                   12449: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12450:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     12451:   ac_status=$?
                   12452:   grep -v '^ *+' conftest.er1 >conftest.err
                   12453:   rm -f conftest.er1
                   12454:   cat conftest.err >&5
                   12455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12456:   (exit $ac_status); } >/dev/null && {
                   12457:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   12458:         test ! -s conftest.err
                   12459:        }; then
1.1.1.6   root     12460:   fu_cv_sys_mounted_getmnt=yes
                   12461: else
1.1.1.19  root     12462:   echo "$as_me: failed program was:" >&5
                   12463: sed 's/^/| /' conftest.$ac_ext >&5
                   12464: 
1.1.1.6   root     12465:   fu_cv_sys_mounted_getmnt=no
                   12466: fi
1.1.1.22  root     12467: 
1.1.1.19  root     12468: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12469: fi
                   12470: 
1.1.1.22  root     12471: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_getmnt" >&5
                   12472: echo "${ECHO_T}$fu_cv_sys_mounted_getmnt" >&6; }
1.1.1.6   root     12473: if test $fu_cv_sys_mounted_getmnt = yes; then
                   12474: list_mounted_fs=found
1.1.1.19  root     12475: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12476: #define MOUNTED_GETMNT 1
1.1.1.19  root     12477: _ACEOF
1.1.1.6   root     12478: 
                   12479: fi
                   12480: fi
                   12481: 
                   12482: if test -z "$list_mounted_fs"; then
                   12483: # SVR2
1.1.1.22  root     12484: { echo "$as_me:$LINENO: checking whether it is possible to resort to fread on /etc/mnttab" >&5
                   12485: echo $ECHO_N "checking whether it is possible to resort to fread on /etc/mnttab... $ECHO_C" >&6; }
1.1.1.19  root     12486: if test "${fu_cv_sys_mounted_fread+set}" = set; then
                   12487:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12488: else
                   12489:   cat >conftest.$ac_ext <<_ACEOF
                   12490: /* confdefs.h.  */
                   12491: _ACEOF
                   12492: cat confdefs.h >>conftest.$ac_ext
                   12493: cat >>conftest.$ac_ext <<_ACEOF
                   12494: /* end confdefs.h.  */
1.1.1.6   root     12495: #include <mnttab.h>
1.1.1.19  root     12496: _ACEOF
1.1.1.22  root     12497: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   12498: case "(($ac_try" in
                   12499:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12500:   *) ac_try_echo=$ac_try;;
                   12501: esac
                   12502: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12503:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     12504:   ac_status=$?
                   12505:   grep -v '^ *+' conftest.er1 >conftest.err
                   12506:   rm -f conftest.er1
                   12507:   cat conftest.err >&5
                   12508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12509:   (exit $ac_status); } >/dev/null && {
                   12510:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   12511:         test ! -s conftest.err
                   12512:        }; then
1.1.1.6   root     12513:   fu_cv_sys_mounted_fread=yes
                   12514: else
1.1.1.19  root     12515:   echo "$as_me: failed program was:" >&5
                   12516: sed 's/^/| /' conftest.$ac_ext >&5
                   12517: 
1.1.1.6   root     12518:   fu_cv_sys_mounted_fread=no
                   12519: fi
1.1.1.22  root     12520: 
1.1.1.19  root     12521: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     12522: fi
                   12523: 
1.1.1.22  root     12524: { echo "$as_me:$LINENO: result: $fu_cv_sys_mounted_fread" >&5
                   12525: echo "${ECHO_T}$fu_cv_sys_mounted_fread" >&6; }
1.1.1.6   root     12526: if test $fu_cv_sys_mounted_fread = yes; then
                   12527: list_mounted_fs=found
1.1.1.19  root     12528: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12529: #define MOUNTED_FREAD 1
1.1.1.19  root     12530: _ACEOF
1.1.1.6   root     12531: 
                   12532: fi
                   12533: fi
                   12534: 
                   12535: if test -z "$list_mounted_fs"; then
1.1.1.19  root     12536: { { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
                   12537: echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
                   12538:    { (exit 1); exit 1; }; }
1.1.1.6   root     12539: # FIXME -- no need to abort building the whole package
                   12540: # Can't build mountlist.c or anything that needs its functions
                   12541: fi
                   12542: 
1.1.1.19  root     12543: { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
                   12544: echo "$as_me: checking how to get filesystem space usage..." >&6;}
1.1.1.6   root     12545: space=no
                   12546: 
                   12547: # Perform only the link test since it seems there are no variants of the
                   12548: # statvfs function.  This check is more than just AC_CHECK_FUNCS(statvfs)
                   12549: # because that got a false positive on SCO OSR5.  Adding the declaration
                   12550: # of a `struct statvfs' causes this test to fail (as it should) on such
                   12551: # systems.  That system is reported to work fine with STAT_STATFS4 which
                   12552: # is what it gets when this test fails.
                   12553: if test $space = no; then
                   12554: # SVR4
1.1.1.22  root     12555: { echo "$as_me:$LINENO: checking statvfs function (SVR4)" >&5
                   12556: echo $ECHO_N "checking statvfs function (SVR4)... $ECHO_C" >&6; }
1.1.1.19  root     12557: if test "${fu_cv_sys_stat_statvfs+set}" = set; then
                   12558:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12559: else
                   12560:   cat >conftest.$ac_ext <<_ACEOF
                   12561: /* confdefs.h.  */
                   12562: _ACEOF
                   12563: cat confdefs.h >>conftest.$ac_ext
                   12564: cat >>conftest.$ac_ext <<_ACEOF
                   12565: /* end confdefs.h.  */
1.1.1.6   root     12566: #include <sys/types.h>
                   12567: #include <sys/statvfs.h>
1.1.1.19  root     12568: int
                   12569: main ()
                   12570: {
1.1.1.6   root     12571: struct statvfs fsd; statvfs (0, &fsd);
1.1.1.19  root     12572:   ;
                   12573:   return 0;
                   12574: }
                   12575: _ACEOF
                   12576: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     12577: if { (ac_try="$ac_link"
                   12578: case "(($ac_try" in
                   12579:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12580:   *) ac_try_echo=$ac_try;;
                   12581: esac
                   12582: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12583:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     12584:   ac_status=$?
                   12585:   grep -v '^ *+' conftest.er1 >conftest.err
                   12586:   rm -f conftest.er1
                   12587:   cat conftest.err >&5
                   12588:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     12589:   (exit $ac_status); } && {
                   12590:         test -z "$ac_c_werror_flag" ||
                   12591:         test ! -s conftest.err
                   12592:        } && test -s conftest$ac_exeext &&
                   12593:        $as_test_x conftest$ac_exeext; then
1.1.1.6   root     12594:   fu_cv_sys_stat_statvfs=yes
                   12595: else
1.1.1.19  root     12596:   echo "$as_me: failed program was:" >&5
                   12597: sed 's/^/| /' conftest.$ac_ext >&5
                   12598: 
1.1.1.22  root     12599:        fu_cv_sys_stat_statvfs=no
1.1.1.6   root     12600: fi
1.1.1.22  root     12601: 
                   12602: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     12603:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     12604: fi
1.1.1.22  root     12605: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
                   12606: echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6; }
1.1.1.6   root     12607: if test $fu_cv_sys_stat_statvfs = yes; then
                   12608: space=yes
1.1.1.19  root     12609: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12610: #define STAT_STATVFS 1
1.1.1.19  root     12611: _ACEOF
1.1.1.6   root     12612: 
                   12613: fi
                   12614: fi
                   12615: 
                   12616: if test $space = no; then
                   12617: # DEC Alpha running OSF/1
1.1.1.22  root     12618: { echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
                   12619: echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6; }
1.1.1.19  root     12620: if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
                   12621:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12622: else
                   12623:   if test "$cross_compiling" = yes; then
                   12624:   fu_cv_sys_stat_statfs3_osf1=no
                   12625: else
1.1.1.19  root     12626:   cat >conftest.$ac_ext <<_ACEOF
                   12627: /* confdefs.h.  */
                   12628: _ACEOF
                   12629: cat confdefs.h >>conftest.$ac_ext
                   12630: cat >>conftest.$ac_ext <<_ACEOF
                   12631: /* end confdefs.h.  */
1.1.1.6   root     12632: 
                   12633: #include <sys/param.h>
                   12634: #include <sys/types.h>
                   12635: #include <sys/mount.h>
                   12636: main ()
                   12637: {
                   12638: struct statfs fsd;
                   12639: fsd.f_fsize = 0;
                   12640: exit (statfs (".", &fsd, sizeof (struct statfs)));
                   12641: }
1.1.1.19  root     12642: _ACEOF
                   12643: rm -f conftest$ac_exeext
1.1.1.22  root     12644: if { (ac_try="$ac_link"
                   12645: case "(($ac_try" in
                   12646:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12647:   *) ac_try_echo=$ac_try;;
                   12648: esac
                   12649: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12650:   (eval "$ac_link") 2>&5
1.1.1.19  root     12651:   ac_status=$?
                   12652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12653:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     12654:   { (case "(($ac_try" in
                   12655:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12656:   *) ac_try_echo=$ac_try;;
                   12657: esac
                   12658: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12659:   (eval "$ac_try") 2>&5
1.1.1.19  root     12660:   ac_status=$?
                   12661:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12662:   (exit $ac_status); }; }; then
1.1.1.6   root     12663:   fu_cv_sys_stat_statfs3_osf1=yes
                   12664: else
1.1.1.19  root     12665:   echo "$as_me: program exited with status $ac_status" >&5
                   12666: echo "$as_me: failed program was:" >&5
                   12667: sed 's/^/| /' conftest.$ac_ext >&5
                   12668: 
                   12669: ( exit $ac_status )
                   12670: fu_cv_sys_stat_statfs3_osf1=no
1.1.1.6   root     12671: fi
1.1.1.22  root     12672: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12673: fi
1.1.1.22  root     12674: 
                   12675: 
1.1.1.6   root     12676: fi
                   12677: 
1.1.1.22  root     12678: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
                   12679: echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6; }
1.1.1.6   root     12680: if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
                   12681: space=yes
1.1.1.19  root     12682: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12683: #define STAT_STATFS3_OSF1 1
1.1.1.19  root     12684: _ACEOF
1.1.1.6   root     12685: 
                   12686: fi
                   12687: fi
                   12688: 
                   12689: if test $space = no; then
                   12690: # AIX
1.1.1.22  root     12691: { echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
                   12692: echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6; }
1.1.1.19  root     12693: if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
                   12694:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12695: else
                   12696:   if test "$cross_compiling" = yes; then
                   12697:   fu_cv_sys_stat_statfs2_bsize=no
                   12698: else
1.1.1.19  root     12699:   cat >conftest.$ac_ext <<_ACEOF
                   12700: /* confdefs.h.  */
                   12701: _ACEOF
                   12702: cat confdefs.h >>conftest.$ac_ext
                   12703: cat >>conftest.$ac_ext <<_ACEOF
                   12704: /* end confdefs.h.  */
1.1.1.6   root     12705: 
                   12706: #ifdef HAVE_SYS_PARAM_H
                   12707: #include <sys/param.h>
                   12708: #endif
                   12709: #ifdef HAVE_SYS_MOUNT_H
                   12710: #include <sys/mount.h>
                   12711: #endif
                   12712: #ifdef HAVE_SYS_VFS_H
                   12713: #include <sys/vfs.h>
                   12714: #endif
                   12715: main ()
                   12716: {
                   12717: struct statfs fsd;
                   12718: fsd.f_bsize = 0;
                   12719: exit (statfs (".", &fsd));
                   12720: }
1.1.1.19  root     12721: _ACEOF
                   12722: rm -f conftest$ac_exeext
1.1.1.22  root     12723: if { (ac_try="$ac_link"
                   12724: case "(($ac_try" in
                   12725:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12726:   *) ac_try_echo=$ac_try;;
                   12727: esac
                   12728: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12729:   (eval "$ac_link") 2>&5
1.1.1.19  root     12730:   ac_status=$?
                   12731:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12732:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     12733:   { (case "(($ac_try" in
                   12734:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12735:   *) ac_try_echo=$ac_try;;
                   12736: esac
                   12737: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12738:   (eval "$ac_try") 2>&5
1.1.1.19  root     12739:   ac_status=$?
                   12740:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12741:   (exit $ac_status); }; }; then
1.1.1.6   root     12742:   fu_cv_sys_stat_statfs2_bsize=yes
                   12743: else
1.1.1.19  root     12744:   echo "$as_me: program exited with status $ac_status" >&5
                   12745: echo "$as_me: failed program was:" >&5
                   12746: sed 's/^/| /' conftest.$ac_ext >&5
                   12747: 
                   12748: ( exit $ac_status )
                   12749: fu_cv_sys_stat_statfs2_bsize=no
1.1.1.6   root     12750: fi
1.1.1.22  root     12751: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12752: fi
1.1.1.22  root     12753: 
                   12754: 
1.1.1.6   root     12755: fi
                   12756: 
1.1.1.22  root     12757: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
                   12758: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6; }
1.1.1.6   root     12759: if test $fu_cv_sys_stat_statfs2_bsize = yes; then
                   12760: space=yes
1.1.1.19  root     12761: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12762: #define STAT_STATFS2_BSIZE 1
1.1.1.19  root     12763: _ACEOF
1.1.1.6   root     12764: 
                   12765: fi
                   12766: fi
                   12767: 
                   12768: if test $space = no; then
                   12769: # SVR3
1.1.1.22  root     12770: { echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
                   12771: echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6; }
1.1.1.19  root     12772: if test "${fu_cv_sys_stat_statfs4+set}" = set; then
                   12773:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12774: else
                   12775:   if test "$cross_compiling" = yes; then
                   12776:   fu_cv_sys_stat_statfs4=no
                   12777: else
1.1.1.19  root     12778:   cat >conftest.$ac_ext <<_ACEOF
                   12779: /* confdefs.h.  */
                   12780: _ACEOF
                   12781: cat confdefs.h >>conftest.$ac_ext
                   12782: cat >>conftest.$ac_ext <<_ACEOF
                   12783: /* end confdefs.h.  */
1.1.1.6   root     12784: #include <sys/types.h>
                   12785: #include <sys/statfs.h>
                   12786: main ()
                   12787: {
                   12788: struct statfs fsd;
                   12789: exit (statfs (".", &fsd, sizeof fsd, 0));
                   12790: }
1.1.1.19  root     12791: _ACEOF
                   12792: rm -f conftest$ac_exeext
1.1.1.22  root     12793: if { (ac_try="$ac_link"
                   12794: case "(($ac_try" in
                   12795:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12796:   *) ac_try_echo=$ac_try;;
                   12797: esac
                   12798: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12799:   (eval "$ac_link") 2>&5
1.1.1.19  root     12800:   ac_status=$?
                   12801:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12802:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     12803:   { (case "(($ac_try" in
                   12804:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12805:   *) ac_try_echo=$ac_try;;
                   12806: esac
                   12807: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12808:   (eval "$ac_try") 2>&5
1.1.1.19  root     12809:   ac_status=$?
                   12810:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12811:   (exit $ac_status); }; }; then
1.1.1.6   root     12812:   fu_cv_sys_stat_statfs4=yes
                   12813: else
1.1.1.19  root     12814:   echo "$as_me: program exited with status $ac_status" >&5
                   12815: echo "$as_me: failed program was:" >&5
                   12816: sed 's/^/| /' conftest.$ac_ext >&5
                   12817: 
                   12818: ( exit $ac_status )
                   12819: fu_cv_sys_stat_statfs4=no
1.1.1.6   root     12820: fi
1.1.1.22  root     12821: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12822: fi
1.1.1.22  root     12823: 
                   12824: 
1.1.1.6   root     12825: fi
                   12826: 
1.1.1.22  root     12827: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
                   12828: echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6; }
1.1.1.6   root     12829: if test $fu_cv_sys_stat_statfs4 = yes; then
                   12830: space=yes
1.1.1.19  root     12831: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12832: #define STAT_STATFS4 1
1.1.1.19  root     12833: _ACEOF
1.1.1.6   root     12834: 
                   12835: fi
                   12836: fi
                   12837: 
                   12838: if test $space = no; then
                   12839: # 4.4BSD and NetBSD
1.1.1.22  root     12840: { echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
                   12841: echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6; }
1.1.1.19  root     12842: if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
                   12843:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12844: else
                   12845:   if test "$cross_compiling" = yes; then
                   12846:   fu_cv_sys_stat_statfs2_fsize=no
                   12847: else
1.1.1.19  root     12848:   cat >conftest.$ac_ext <<_ACEOF
                   12849: /* confdefs.h.  */
                   12850: _ACEOF
                   12851: cat confdefs.h >>conftest.$ac_ext
                   12852: cat >>conftest.$ac_ext <<_ACEOF
                   12853: /* end confdefs.h.  */
1.1.1.6   root     12854: #include <sys/types.h>
                   12855: #ifdef HAVE_SYS_PARAM_H
                   12856: #include <sys/param.h>
                   12857: #endif
                   12858: #ifdef HAVE_SYS_MOUNT_H
                   12859: #include <sys/mount.h>
                   12860: #endif
                   12861: main ()
                   12862: {
                   12863: struct statfs fsd;
                   12864: fsd.f_fsize = 0;
                   12865: exit (statfs (".", &fsd));
                   12866: }
1.1.1.19  root     12867: _ACEOF
                   12868: rm -f conftest$ac_exeext
1.1.1.22  root     12869: if { (ac_try="$ac_link"
                   12870: case "(($ac_try" in
                   12871:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12872:   *) ac_try_echo=$ac_try;;
                   12873: esac
                   12874: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12875:   (eval "$ac_link") 2>&5
1.1.1.19  root     12876:   ac_status=$?
                   12877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12878:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     12879:   { (case "(($ac_try" in
                   12880:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12881:   *) ac_try_echo=$ac_try;;
                   12882: esac
                   12883: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12884:   (eval "$ac_try") 2>&5
1.1.1.19  root     12885:   ac_status=$?
                   12886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12887:   (exit $ac_status); }; }; then
1.1.1.6   root     12888:   fu_cv_sys_stat_statfs2_fsize=yes
                   12889: else
1.1.1.19  root     12890:   echo "$as_me: program exited with status $ac_status" >&5
                   12891: echo "$as_me: failed program was:" >&5
                   12892: sed 's/^/| /' conftest.$ac_ext >&5
                   12893: 
                   12894: ( exit $ac_status )
                   12895: fu_cv_sys_stat_statfs2_fsize=no
1.1.1.6   root     12896: fi
1.1.1.22  root     12897: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12898: fi
1.1.1.22  root     12899: 
                   12900: 
1.1.1.6   root     12901: fi
                   12902: 
1.1.1.22  root     12903: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
                   12904: echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6; }
1.1.1.6   root     12905: if test $fu_cv_sys_stat_statfs2_fsize = yes; then
                   12906: space=yes
1.1.1.19  root     12907: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12908: #define STAT_STATFS2_FSIZE 1
1.1.1.19  root     12909: _ACEOF
1.1.1.6   root     12910: 
                   12911: fi
                   12912: fi
                   12913: 
                   12914: if test $space = no; then
                   12915: # Ultrix
1.1.1.22  root     12916: { echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
                   12917: echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6; }
1.1.1.19  root     12918: if test "${fu_cv_sys_stat_fs_data+set}" = set; then
                   12919:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.6   root     12920: else
                   12921:   if test "$cross_compiling" = yes; then
                   12922:   fu_cv_sys_stat_fs_data=no
                   12923: else
1.1.1.19  root     12924:   cat >conftest.$ac_ext <<_ACEOF
                   12925: /* confdefs.h.  */
                   12926: _ACEOF
                   12927: cat confdefs.h >>conftest.$ac_ext
                   12928: cat >>conftest.$ac_ext <<_ACEOF
                   12929: /* end confdefs.h.  */
1.1.1.6   root     12930: #include <sys/types.h>
                   12931: #ifdef HAVE_SYS_PARAM_H
                   12932: #include <sys/param.h>
                   12933: #endif
                   12934: #ifdef HAVE_SYS_MOUNT_H
                   12935: #include <sys/mount.h>
                   12936: #endif
                   12937: #ifdef HAVE_SYS_FS_TYPES_H
                   12938: #include <sys/fs_types.h>
                   12939: #endif
                   12940: main ()
                   12941: {
                   12942: struct fs_data fsd;
                   12943: /* Ultrix's statfs returns 1 for success,
                   12944: 0 for not mounted, -1 for failure.  */
                   12945: exit (statfs (".", &fsd) != 1);
                   12946: }
1.1.1.19  root     12947: _ACEOF
                   12948: rm -f conftest$ac_exeext
1.1.1.22  root     12949: if { (ac_try="$ac_link"
                   12950: case "(($ac_try" in
                   12951:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12952:   *) ac_try_echo=$ac_try;;
                   12953: esac
                   12954: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12955:   (eval "$ac_link") 2>&5
1.1.1.19  root     12956:   ac_status=$?
                   12957:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12958:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     12959:   { (case "(($ac_try" in
                   12960:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   12961:   *) ac_try_echo=$ac_try;;
                   12962: esac
                   12963: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   12964:   (eval "$ac_try") 2>&5
1.1.1.19  root     12965:   ac_status=$?
                   12966:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12967:   (exit $ac_status); }; }; then
1.1.1.6   root     12968:   fu_cv_sys_stat_fs_data=yes
                   12969: else
1.1.1.19  root     12970:   echo "$as_me: program exited with status $ac_status" >&5
                   12971: echo "$as_me: failed program was:" >&5
                   12972: sed 's/^/| /' conftest.$ac_ext >&5
                   12973: 
                   12974: ( exit $ac_status )
                   12975: fu_cv_sys_stat_fs_data=no
1.1.1.6   root     12976: fi
1.1.1.22  root     12977: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     12978: fi
1.1.1.22  root     12979: 
                   12980: 
1.1.1.6   root     12981: fi
                   12982: 
1.1.1.22  root     12983: { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
                   12984: echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6; }
1.1.1.6   root     12985: if test $fu_cv_sys_stat_fs_data = yes; then
                   12986: space=yes
1.1.1.19  root     12987: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     12988: #define STAT_STATFS2_FS_DATA 1
1.1.1.19  root     12989: _ACEOF
1.1.1.6   root     12990: 
                   12991: fi
                   12992: fi
                   12993: 
                   12994: if test $space = no; then
                   12995: # SVR2
1.1.1.19  root     12996: cat >conftest.$ac_ext <<_ACEOF
                   12997: /* confdefs.h.  */
                   12998: _ACEOF
                   12999: cat confdefs.h >>conftest.$ac_ext
                   13000: cat >>conftest.$ac_ext <<_ACEOF
                   13001: /* end confdefs.h.  */
1.1.1.6   root     13002: #include <sys/filsys.h>
1.1.1.19  root     13003: _ACEOF
1.1.1.22  root     13004: if { (ac_try="$ac_cpp conftest.$ac_ext"
                   13005: case "(($ac_try" in
                   13006:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13007:   *) ac_try_echo=$ac_try;;
                   13008: esac
                   13009: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13010:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1.1.19  root     13011:   ac_status=$?
                   13012:   grep -v '^ *+' conftest.er1 >conftest.err
                   13013:   rm -f conftest.er1
                   13014:   cat conftest.err >&5
                   13015:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13016:   (exit $ac_status); } >/dev/null && {
                   13017:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   13018:         test ! -s conftest.err
                   13019:        }; then
1.1.1.19  root     13020:   cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     13021: #define STAT_READ_FILSYS 1
1.1.1.19  root     13022: _ACEOF
1.1.1.6   root     13023:  space=yes
                   13024: else
1.1.1.19  root     13025:   echo "$as_me: failed program was:" >&5
                   13026: sed 's/^/| /' conftest.$ac_ext >&5
                   13027: 
                   13028: 
1.1.1.6   root     13029: fi
1.1.1.22  root     13030: 
1.1.1.19  root     13031: rm -f conftest.err conftest.$ac_ext
1.1.1.6   root     13032: fi
                   13033: 
                   13034: if test -n "$list_mounted_fs" && test $space != no; then
                   13035: DF_PROG="df"
1.1.1.22  root     13036: case " $LIBOBJS " in
1.1.1.19  root     13037:   *" fsusage.$ac_objext "* ) ;;
1.1.1.22  root     13038:   *) LIBOBJS="$LIBOBJS fsusage.$ac_objext"
                   13039:  ;;
1.1.1.19  root     13040: esac
                   13041: 
1.1.1.22  root     13042: case " $LIBOBJS " in
1.1.1.19  root     13043:   *" mountlist.$ac_objext "* ) ;;
1.1.1.22  root     13044:   *) LIBOBJS="$LIBOBJS mountlist.$ac_objext"
                   13045:  ;;
1.1.1.19  root     13046: esac
                   13047: 
1.1.1.6   root     13048: fi
1.1.1.4   root     13049: 
1.1.1.19  root     13050: 
1.1.1.6   root     13051: for ac_func in ftruncate
1.1.1.4   root     13052: do
1.1.1.19  root     13053: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1.1.1.22  root     13054: { echo "$as_me:$LINENO: checking for $ac_func" >&5
                   13055: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
                   13056: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
1.1.1.19  root     13057:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13058: else
                   13059:   cat >conftest.$ac_ext <<_ACEOF
                   13060: /* confdefs.h.  */
                   13061: _ACEOF
                   13062: cat confdefs.h >>conftest.$ac_ext
                   13063: cat >>conftest.$ac_ext <<_ACEOF
                   13064: /* end confdefs.h.  */
                   13065: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   13066:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   13067: #define $ac_func innocuous_$ac_func
                   13068: 
1.1.1.4   root     13069: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.19  root     13070:     which can conflict with char $ac_func (); below.
                   13071:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13072:     <limits.h> exists even on freestanding compilers.  */
                   13073: 
                   13074: #ifdef __STDC__
                   13075: # include <limits.h>
                   13076: #else
                   13077: # include <assert.h>
                   13078: #endif
1.1.1.4   root     13079: 
1.1.1.19  root     13080: #undef $ac_func
1.1.1.4   root     13081: 
1.1.1.22  root     13082: /* Override any GCC internal prototype to avoid an error.
                   13083:    Use char because int might match the return type of a GCC
                   13084:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     13085: #ifdef __cplusplus
                   13086: extern "C"
                   13087: #endif
                   13088: char $ac_func ();
1.1.1.4   root     13089: /* The GNU C library defines this for functions which it implements
                   13090:     to always fail with ENOSYS.  Some functions are actually named
                   13091:     something starting with __ and the normal name is an alias.  */
1.1.1.22  root     13092: #if defined __stub_$ac_func || defined __stub___$ac_func
1.1.1.4   root     13093: choke me
                   13094: #endif
1.1       root     13095: 
1.1.1.19  root     13096: int
                   13097: main ()
                   13098: {
1.1.1.22  root     13099: return $ac_func ();
1.1.1.19  root     13100:   ;
                   13101:   return 0;
                   13102: }
                   13103: _ACEOF
                   13104: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13105: if { (ac_try="$ac_link"
                   13106: case "(($ac_try" in
                   13107:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13108:   *) ac_try_echo=$ac_try;;
                   13109: esac
                   13110: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13111:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13112:   ac_status=$?
                   13113:   grep -v '^ *+' conftest.er1 >conftest.err
                   13114:   rm -f conftest.er1
                   13115:   cat conftest.err >&5
                   13116:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13117:   (exit $ac_status); } && {
                   13118:         test -z "$ac_c_werror_flag" ||
                   13119:         test ! -s conftest.err
                   13120:        } && test -s conftest$ac_exeext &&
                   13121:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     13122:   eval "$as_ac_var=yes"
                   13123: else
                   13124:   echo "$as_me: failed program was:" >&5
                   13125: sed 's/^/| /' conftest.$ac_ext >&5
                   13126: 
1.1.1.22  root     13127:        eval "$as_ac_var=no"
1.1.1.19  root     13128: fi
1.1.1.22  root     13129: 
                   13130: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13131:       conftest$ac_exeext conftest.$ac_ext
                   13132: fi
1.1.1.22  root     13133: ac_res=`eval echo '${'$as_ac_var'}'`
                   13134:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   13135: echo "${ECHO_T}$ac_res" >&6; }
1.1.1.19  root     13136: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   13137:   cat >>confdefs.h <<_ACEOF
                   13138: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   13139: _ACEOF
1.1.1.4   root     13140: 
1.1       root     13141: else
1.1.1.19  root     13142:   ftruncate_missing=yes
1.1       root     13143: fi
                   13144: done
                   13145: 
                   13146: 
1.1.1.6   root     13147: if test "$ftruncate_missing" = yes; then
1.1.1.22  root     13148: { echo "$as_me:$LINENO: checking fcntl emulation of ftruncate" >&5
                   13149: echo $ECHO_N "checking fcntl emulation of ftruncate... $ECHO_C" >&6; }
1.1.1.19  root     13150: if test "${fu_cv_sys_ftruncate_emulation+set}" = set; then
                   13151:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13152: else
                   13153:   cat >conftest.$ac_ext <<_ACEOF
                   13154: /* confdefs.h.  */
                   13155: _ACEOF
                   13156: cat confdefs.h >>conftest.$ac_ext
                   13157: cat >>conftest.$ac_ext <<_ACEOF
                   13158: /* end confdefs.h.  */
1.1       root     13159: 
1.1.1.2   root     13160: #include <sys/types.h>
1.1.1.6   root     13161: #include <fcntl.h>
1.1.1.19  root     13162: int
                   13163: main ()
                   13164: {
1.1.1.6   root     13165: 
                   13166: #if !defined(F_CHSIZE) && !defined(F_FREESP)
                   13167: chsize();
                   13168: #endif
                   13169: 
1.1.1.19  root     13170:   ;
                   13171:   return 0;
                   13172: }
                   13173: _ACEOF
                   13174: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13175: if { (ac_try="$ac_link"
                   13176: case "(($ac_try" in
                   13177:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13178:   *) ac_try_echo=$ac_try;;
                   13179: esac
                   13180: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13181:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13182:   ac_status=$?
                   13183:   grep -v '^ *+' conftest.er1 >conftest.err
                   13184:   rm -f conftest.er1
                   13185:   cat conftest.err >&5
                   13186:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13187:   (exit $ac_status); } && {
                   13188:         test -z "$ac_c_werror_flag" ||
                   13189:         test ! -s conftest.err
                   13190:        } && test -s conftest$ac_exeext &&
                   13191:        $as_test_x conftest$ac_exeext; then
1.1.1.6   root     13192:   fu_cv_sys_ftruncate_emulation=yes
1.1       root     13193: else
1.1.1.19  root     13194:   echo "$as_me: failed program was:" >&5
                   13195: sed 's/^/| /' conftest.$ac_ext >&5
                   13196: 
1.1.1.22  root     13197:        fu_cv_sys_ftruncate_emulation=no
1.1       root     13198: fi
1.1.1.22  root     13199: 
                   13200: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13201:       conftest$ac_exeext conftest.$ac_ext
1.1       root     13202: fi
                   13203: 
1.1.1.22  root     13204: { echo "$as_me:$LINENO: result: $fu_cv_sys_ftruncate_emulation" >&5
                   13205: echo "${ECHO_T}$fu_cv_sys_ftruncate_emulation" >&6; }
1.1.1.6   root     13206: if test $fu_cv_sys_ftruncate_emulation = yes; then
1.1.1.22  root     13207: case " $LIBOBJS " in
1.1.1.19  root     13208:   *" ftruncate.$ac_objext "* ) ;;
1.1.1.22  root     13209:   *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
                   13210:  ;;
1.1.1.19  root     13211: esac
                   13212: 
1.1.1.6   root     13213: fi
                   13214: fi
                   13215: 
                   13216: # Check for SunOS statfs brokenness wrt partitions 2GB and larger.
                   13217: # If <sys/vfs.h> exists and struct statfs has a member named f_spare,
                   13218: # enable the work-around code in fsusage.c.
1.1.1.22  root     13219: { echo "$as_me:$LINENO: checking for statfs that truncates block counts" >&5
                   13220: echo $ECHO_N "checking for statfs that truncates block counts... $ECHO_C" >&6; }
1.1.1.19  root     13221: if test "${fu_cv_sys_truncating_statfs+set}" = set; then
                   13222:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13223: else
                   13224:   cat >conftest.$ac_ext <<_ACEOF
                   13225: /* confdefs.h.  */
                   13226: _ACEOF
                   13227: cat confdefs.h >>conftest.$ac_ext
                   13228: cat >>conftest.$ac_ext <<_ACEOF
                   13229: /* end confdefs.h.  */
1.1       root     13230: 
1.1.1.6   root     13231: #if !defined(sun) && !defined(__sun)
                   13232: choke -- this is a workaround for a Sun-specific problem
1.1       root     13233: #endif
1.1.1.6   root     13234: #include <sys/types.h>
1.1       root     13235: #include <sys/vfs.h>
1.1.1.19  root     13236: int
                   13237: main ()
                   13238: {
1.1.1.6   root     13239: struct statfs t; long c = *(t.f_spare);
1.1.1.19  root     13240:   ;
                   13241:   return 0;
                   13242: }
                   13243: _ACEOF
                   13244: rm -f conftest.$ac_objext
1.1.1.22  root     13245: if { (ac_try="$ac_compile"
                   13246: case "(($ac_try" in
                   13247:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13248:   *) ac_try_echo=$ac_try;;
                   13249: esac
                   13250: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13251:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     13252:   ac_status=$?
                   13253:   grep -v '^ *+' conftest.er1 >conftest.err
                   13254:   rm -f conftest.er1
                   13255:   cat conftest.err >&5
                   13256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13257:   (exit $ac_status); } && {
                   13258:         test -z "$ac_c_werror_flag" ||
                   13259:         test ! -s conftest.err
                   13260:        } && test -s conftest.$ac_objext; then
1.1.1.6   root     13261:   fu_cv_sys_truncating_statfs=yes
1.1       root     13262: else
1.1.1.19  root     13263:   echo "$as_me: failed program was:" >&5
                   13264: sed 's/^/| /' conftest.$ac_ext >&5
                   13265: 
1.1.1.22  root     13266:        fu_cv_sys_truncating_statfs=no
1.1.1.6   root     13267: fi
1.1.1.22  root     13268: 
                   13269: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.6   root     13270: fi
                   13271: 
                   13272: if test $fu_cv_sys_truncating_statfs = yes; then
1.1.1.19  root     13273: cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     13274: #define STATFS_TRUNCATES_BLOCK_COUNTS 1
1.1.1.19  root     13275: _ACEOF
1.1.1.6   root     13276: 
                   13277: fi
1.1.1.22  root     13278: { echo "$as_me:$LINENO: result: $fu_cv_sys_truncating_statfs" >&5
                   13279: echo "${ECHO_T}$fu_cv_sys_truncating_statfs" >&6; }
1.1.1.6   root     13280: 
1.1.1.19  root     13281: { echo "$as_me:$LINENO: checking for AFS..." >&5
                   13282: echo "$as_me: checking for AFS..." >&6;}
                   13283: test -d /afs && cat >>confdefs.h <<\_ACEOF
1.1.1.6   root     13284: #define AFS 1
1.1.1.19  root     13285: _ACEOF
1.1.1.6   root     13286: 
                   13287: 
                   13288: fi
                   13289: 
1.1.1.16  root     13290: if test "$SDL_CONFIG" = "not-found" ; then
                   13291:   HAVE_SDL_LIB=no
                   13292: else
                   13293:   HAVE_SDL_LIB=yes
                   13294:   SDL_CFLAGS=`$SDL_CONFIG --cflags`
                   13295:   SDL_LIBS=`$SDL_CONFIG --libs`
                   13296: fi
                   13297: 
                   13298: 
1.1.1.2   root     13299: 
1.1.1.4   root     13300: if [ "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   13301:   if [ "x$ac_cv_header_ncurses_h" = "xno" -a "x$ac_cv_header_curses_h" = "xno" ]; then
                   13302:     echo "Installation problem, found libncurses but neither curses.h nor ncurses.h!"
                   13303:     HAVE_NCURSES_LIB=no
                   13304:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13305:   else
                   13306:     if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
1.1.1.22  root     13307:       { echo "$as_me:$LINENO: checking for attr_t in curses.h" >&5
                   13308: echo $ECHO_N "checking for attr_t in curses.h... $ECHO_C" >&6; }
1.1.1.19  root     13309:       cat >conftest.$ac_ext <<_ACEOF
                   13310: /* confdefs.h.  */
                   13311: _ACEOF
                   13312: cat confdefs.h >>conftest.$ac_ext
                   13313: cat >>conftest.$ac_ext <<_ACEOF
                   13314: /* end confdefs.h.  */
1.1.1.4   root     13315: #include <curses.h>
1.1.1.19  root     13316: int
                   13317: main ()
                   13318: {
1.1.1.4   root     13319: { attr_t a; a = A_NORMAL; }
1.1.1.19  root     13320:   ;
                   13321:   return 0;
                   13322: }
                   13323: _ACEOF
                   13324: rm -f conftest.$ac_objext
1.1.1.22  root     13325: if { (ac_try="$ac_compile"
                   13326: case "(($ac_try" in
                   13327:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13328:   *) ac_try_echo=$ac_try;;
                   13329: esac
                   13330: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13331:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     13332:   ac_status=$?
                   13333:   grep -v '^ *+' conftest.er1 >conftest.err
                   13334:   rm -f conftest.er1
                   13335:   cat conftest.err >&5
                   13336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13337:   (exit $ac_status); } && {
                   13338:         test -z "$ac_c_werror_flag" ||
                   13339:         test ! -s conftest.err
                   13340:        } && test -s conftest.$ac_objext; then
                   13341:   { echo "$as_me:$LINENO: result: yes" >&5
                   13342: echo "${ECHO_T}yes" >&6; }
1.1.1.19  root     13343: else
                   13344:   echo "$as_me: failed program was:" >&5
                   13345: sed 's/^/| /' conftest.$ac_ext >&5
                   13346: 
                   13347: 
1.1.1.4   root     13348:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.22  root     13349:         { echo "$as_me:$LINENO: result: no" >&5
                   13350: echo "${ECHO_T}no" >&6; }
1.1.1.4   root     13351:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   13352:        echo "Please install a newer version of libncurses if you can."
1.1.1.19  root     13353: 
1.1.1.4   root     13354: fi
1.1.1.22  root     13355: 
                   13356: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     13357:     else
1.1.1.22  root     13358:       { echo "$as_me:$LINENO: checking for attr_t in ncurses.h" >&5
                   13359: echo $ECHO_N "checking for attr_t in ncurses.h... $ECHO_C" >&6; }
1.1.1.19  root     13360:       cat >conftest.$ac_ext <<_ACEOF
                   13361: /* confdefs.h.  */
                   13362: _ACEOF
                   13363: cat confdefs.h >>conftest.$ac_ext
                   13364: cat >>conftest.$ac_ext <<_ACEOF
                   13365: /* end confdefs.h.  */
1.1.1.4   root     13366: #include <ncurses.h>
1.1.1.19  root     13367: int
                   13368: main ()
                   13369: {
1.1.1.4   root     13370: { attr_t a; a = A_NORMAL; }
1.1.1.19  root     13371:   ;
                   13372:   return 0;
                   13373: }
                   13374: _ACEOF
                   13375: rm -f conftest.$ac_objext
1.1.1.22  root     13376: if { (ac_try="$ac_compile"
                   13377: case "(($ac_try" in
                   13378:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13379:   *) ac_try_echo=$ac_try;;
                   13380: esac
                   13381: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13382:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     13383:   ac_status=$?
                   13384:   grep -v '^ *+' conftest.er1 >conftest.err
                   13385:   rm -f conftest.er1
                   13386:   cat conftest.err >&5
                   13387:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13388:   (exit $ac_status); } && {
                   13389:         test -z "$ac_c_werror_flag" ||
                   13390:         test ! -s conftest.err
                   13391:        } && test -s conftest.$ac_objext; then
                   13392:   { echo "$as_me:$LINENO: result: yes" >&5
                   13393: echo "${ECHO_T}yes" >&6; }
1.1.1.19  root     13394: else
                   13395:   echo "$as_me: failed program was:" >&5
                   13396: sed 's/^/| /' conftest.$ac_ext >&5
                   13397: 
                   13398: 
1.1.1.4   root     13399:         ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DDONT_HAVE_ATTR_T"
1.1.1.22  root     13400:         { echo "$as_me:$LINENO: result: no" >&5
                   13401: echo "${ECHO_T}no" >&6; }
1.1.1.4   root     13402:        NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   13403:        echo "Please install a newer version of libncurses if you can."
1.1.1.19  root     13404: 
1.1.1.4   root     13405: fi
1.1.1.22  root     13406: 
                   13407: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.2   root     13408:     fi
1.1.1.4   root     13409:   fi
1.1.1.2   root     13410: fi
1.1.1.4   root     13411: 
1.1.1.22  root     13412: { echo "$as_me:$LINENO: checking for pthread library" >&5
                   13413: echo $ECHO_N "checking for pthread library... $ECHO_C" >&6; }
1.1.1.6   root     13414: TMP_SAVE_CFLAGS=$CFLAGS
                   13415: TMP_SAVE_LIBS=$LIBS
                   13416: LIBS="$LIBS -lpthread"
1.1.1.19  root     13417: cat >conftest.$ac_ext <<_ACEOF
                   13418: /* confdefs.h.  */
                   13419: _ACEOF
                   13420: cat confdefs.h >>conftest.$ac_ext
                   13421: cat >>conftest.$ac_ext <<_ACEOF
                   13422: /* end confdefs.h.  */
1.1.1.6   root     13423: 
                   13424: #include "confdefs.h"
                   13425: #ifdef HAVE_SYS_TYPES_H
                   13426: #include <sys/types.h>
                   13427: #endif
                   13428: #include <pthread.h>
1.1.1.19  root     13429: int
                   13430: main ()
                   13431: {
1.1.1.6   root     13432: 
                   13433: pthread_exit (0);
1.1.1.10  root     13434: 
1.1.1.19  root     13435:   ;
                   13436:   return 0;
                   13437: }
                   13438: _ACEOF
                   13439: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13440: if { (ac_try="$ac_link"
                   13441: case "(($ac_try" in
                   13442:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13443:   *) ac_try_echo=$ac_try;;
                   13444: esac
                   13445: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13446:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13447:   ac_status=$?
                   13448:   grep -v '^ *+' conftest.er1 >conftest.err
                   13449:   rm -f conftest.er1
                   13450:   cat conftest.err >&5
                   13451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13452:   (exit $ac_status); } && {
                   13453:         test -z "$ac_c_werror_flag" ||
                   13454:         test ! -s conftest.err
                   13455:        } && test -s conftest$ac_exeext &&
                   13456:        $as_test_x conftest$ac_exeext; then
1.1.1.6   root     13457:   HAVE_PTHREAD_LIB=yes
1.1.1.22  root     13458: { echo "$as_me:$LINENO: result: yes" >&5
                   13459: echo "${ECHO_T}yes" >&6; }
1.1.1.6   root     13460: else
1.1.1.19  root     13461:   echo "$as_me: failed program was:" >&5
                   13462: sed 's/^/| /' conftest.$ac_ext >&5
                   13463: 
1.1.1.22  root     13464:        HAVE_PTHREAD_LIB=no
                   13465: { echo "$as_me:$LINENO: result: no" >&5
                   13466: echo "${ECHO_T}no" >&6; }
1.1.1.6   root     13467: fi
1.1.1.22  root     13468: 
                   13469: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13470:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     13471: CFLAGS=$TMP_SAVE_CFLAGS
                   13472: LIBS=$TMP_SAVE_LIBS
                   13473: 
1.1.1.22  root     13474: { echo "$as_me:$LINENO: checking for DirectX" >&5
                   13475: echo $ECHO_N "checking for DirectX... $ECHO_C" >&6; }
1.1.1.6   root     13476: TMP_SAVE_CFLAGS=$CFLAGS
                   13477: TMP_SAVE_LIBS=$LIBS
                   13478: CFLAGS="$CFLAGS $X_CFLAGS"
                   13479: LIBS="$LIBS -lddraw"
1.1.1.19  root     13480: cat >conftest.$ac_ext <<_ACEOF
                   13481: /* confdefs.h.  */
                   13482: _ACEOF
                   13483: cat confdefs.h >>conftest.$ac_ext
                   13484: cat >>conftest.$ac_ext <<_ACEOF
                   13485: /* end confdefs.h.  */
1.1.1.6   root     13486: 
                   13487: #include "confdefs.h"
                   13488: #ifdef HAVE_SYS_TYPES_H
                   13489: #include <sys/types.h>
                   13490: #endif
                   13491: #include <windows.h>
                   13492: #include <ddraw.h>
1.1.1.19  root     13493: int
                   13494: main ()
                   13495: {
1.1.1.6   root     13496: 
                   13497: LPDIRECTDRAW lpDD;
                   13498: IDirectDraw_CreateSurface(lpDD, 0, 0, 0);
                   13499: 
1.1.1.19  root     13500:   ;
                   13501:   return 0;
                   13502: }
                   13503: _ACEOF
                   13504: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13505: if { (ac_try="$ac_link"
                   13506: case "(($ac_try" in
                   13507:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13508:   *) ac_try_echo=$ac_try;;
                   13509: esac
                   13510: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13511:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13512:   ac_status=$?
                   13513:   grep -v '^ *+' conftest.er1 >conftest.err
                   13514:   rm -f conftest.er1
                   13515:   cat conftest.err >&5
                   13516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13517:   (exit $ac_status); } && {
                   13518:         test -z "$ac_c_werror_flag" ||
                   13519:         test ! -s conftest.err
                   13520:        } && test -s conftest$ac_exeext &&
                   13521:        $as_test_x conftest$ac_exeext; then
1.1.1.6   root     13522:   HAVE_DIRECTX=yes
1.1.1.22  root     13523: { echo "$as_me:$LINENO: result: yes" >&5
                   13524: echo "${ECHO_T}yes" >&6; }
1.1.1.6   root     13525: else
1.1.1.19  root     13526:   echo "$as_me: failed program was:" >&5
                   13527: sed 's/^/| /' conftest.$ac_ext >&5
                   13528: 
1.1.1.22  root     13529:        HAVE_DIRECTX=no
                   13530: { echo "$as_me:$LINENO: result: no" >&5
                   13531: echo "${ECHO_T}no" >&6; }
1.1.1.6   root     13532: fi
1.1.1.22  root     13533: 
                   13534: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13535:       conftest$ac_exeext conftest.$ac_ext
1.1.1.6   root     13536: CFLAGS=$TMP_SAVE_CFLAGS
                   13537: LIBS=$TMP_SAVE_LIBS
                   13538: 
1.1.1.23! root     13539: HAVE_OSS_SOUND=no
        !          13540: if [ "x$ac_cv_header_sys_soundcard_h" = "xyes" -o "x$ac_cv_header_machine_soundcard_h" = "xyes" ]; then
        !          13541:     { echo "$as_me:$LINENO: checking whether sys/soundcard.h or machine/soundcard.h works" >&5
        !          13542: echo $ECHO_N "checking whether sys/soundcard.h or machine/soundcard.h works... $ECHO_C" >&6; }
        !          13543:   cat >conftest.$ac_ext <<_ACEOF
        !          13544: /* confdefs.h.  */
        !          13545: _ACEOF
        !          13546: cat confdefs.h >>conftest.$ac_ext
        !          13547: cat >>conftest.$ac_ext <<_ACEOF
        !          13548: /* end confdefs.h.  */
        !          13549: 
        !          13550: #include "confdefs.h"
        !          13551: #ifdef HAVE_SYS_SOUNDCARD_H
        !          13552: #include <sys/soundcard.h>
        !          13553: #else
        !          13554: #include <machine/soundcard.h>
        !          13555: #endif
        !          13556: #include <sys/ioctl.h>
        !          13557: 
        !          13558: int
        !          13559: main ()
        !          13560: {
        !          13561: int soundfd; ioctl (soundfd, SNDCTL_DSP_GETFMTS, 0);
        !          13562:   ;
        !          13563:   return 0;
        !          13564: }
        !          13565: _ACEOF
        !          13566: rm -f conftest.$ac_objext
        !          13567: if { (ac_try="$ac_compile"
        !          13568: case "(($ac_try" in
        !          13569:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          13570:   *) ac_try_echo=$ac_try;;
        !          13571: esac
        !          13572: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
        !          13573:   (eval "$ac_compile") 2>conftest.er1
        !          13574:   ac_status=$?
        !          13575:   grep -v '^ *+' conftest.er1 >conftest.err
        !          13576:   rm -f conftest.er1
        !          13577:   cat conftest.err >&5
        !          13578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          13579:   (exit $ac_status); } && {
        !          13580:         test -z "$ac_c_werror_flag" ||
        !          13581:         test ! -s conftest.err
        !          13582:        } && test -s conftest.$ac_objext; then
        !          13583:   { echo "$as_me:$LINENO: result: yes" >&5
        !          13584: echo "${ECHO_T}yes" >&6; }
        !          13585: HAVE_OSS_SOUND=yes
        !          13586: else
        !          13587:   echo "$as_me: failed program was:" >&5
        !          13588: sed 's/^/| /' conftest.$ac_ext >&5
        !          13589: 
        !          13590:        { echo "$as_me:$LINENO: result: no" >&5
        !          13591: echo "${ECHO_T}no" >&6; }
        !          13592: fi
        !          13593: 
        !          13594: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          13595: fi
        !          13596: 
        !          13597: if [ "x$ac_cv_header_dmedia_audio.h" = "xno" ]; then
        !          13598:   HAVE_SGIAUDIO_LIB=no
        !          13599: fi
        !          13600: 
1.1.1.4   root     13601: DO_PROFILING=no
                   13602: WANT_SVGALIB=dunno
                   13603: WANT_ASCIIART=dunno
                   13604: WANT_UI=dunno
                   13605: WANT_NCURSES_UI=no
                   13606: WANT_DGA=no
                   13607: WANT_VIDMODE=no
                   13608: 
1.1.1.22  root     13609: # Check whether --enable-profiling was given.
1.1.1.4   root     13610: if test "${enable_profiling+set}" = set; then
1.1.1.22  root     13611:   enableval=$enable_profiling; DO_PROFILING=$enableval
                   13612: fi
1.1.1.4   root     13613: 
1.1.1.22  root     13614: 
                   13615: # Check whether --with-svgalib was given.
1.1.1.4   root     13616: if test "${with_svgalib+set}" = set; then
1.1.1.22  root     13617:   withval=$with_svgalib; WANT_SVGALIB=$withval
                   13618: fi
1.1.1.2   root     13619: 
1.1.1.22  root     13620: 
                   13621: # Check whether --with-sdl was given.
1.1.1.16  root     13622: if test "${with_sdl+set}" = set; then
1.1.1.22  root     13623:   withval=$with_sdl; WANT_SDL=$withval
                   13624: fi
1.1.1.16  root     13625: 
1.1.1.22  root     13626: 
                   13627: # Check whether --with-sdl-sound was given.
1.1.1.17  root     13628: if test "${with_sdl_sound+set}" = set; then
1.1.1.22  root     13629:   withval=$with_sdl_sound; WANT_SDLSND=$withval
                   13630: fi
1.1.1.17  root     13631: 
1.1.1.22  root     13632: 
                   13633: # Check whether --with-sdl-gfx was given.
1.1.1.17  root     13634: if test "${with_sdl_gfx+set}" = set; then
1.1.1.22  root     13635:   withval=$with_sdl_gfx; WANT_SDLGFX=$withval
                   13636: fi
1.1.1.19  root     13637: 
1.1.1.22  root     13638: 
1.1.1.23! root     13639: # Check whether --with-oss-sound was given.
        !          13640: if test "${with_oss_sound+set}" = set; then
        !          13641:   withval=$with_oss_sound; WANT_OSS=$withval
        !          13642: fi
        !          13643: 
        !          13644: 
1.1.1.22  root     13645: # Check whether --with-alsa was given.
1.1.1.19  root     13646: if test "${with_alsa+set}" = set; then
1.1.1.22  root     13647:   withval=$with_alsa; WANT_ALSA=$withval
                   13648: fi
1.1.1.17  root     13649: 
1.1.1.22  root     13650: 
                   13651: # Check whether --with-asciiart was given.
1.1.1.4   root     13652: if test "${with_asciiart+set}" = set; then
1.1.1.22  root     13653:   withval=$with_asciiart; WANT_ASCIIART=$withval
                   13654: fi
                   13655: 
                   13656: # Check whether --enable-dga was given.
1.1.1.4   root     13657: if test "${enable_dga+set}" = set; then
1.1.1.22  root     13658:   enableval=$enable_dga; WANT_DGA=$enableval
                   13659: fi
                   13660: 
                   13661: # Check whether --enable-vidmode was given.
1.1.1.4   root     13662: if test "${enable_vidmode+set}" = set; then
1.1.1.22  root     13663:   enableval=$enable_vidmode; WANT_VIDMODE=$enableval
                   13664: fi
                   13665: 
                   13666: # Check whether --enable-ui was given.
1.1.1.4   root     13667: if test "${enable_ui+set}" = set; then
1.1.1.22  root     13668:   enableval=$enable_ui; WANT_UI=$enableval
                   13669: fi
1.1.1.4   root     13670: 
1.1.1.22  root     13671: 
                   13672: # Check whether --with-hostcc was given.
1.1.1.16  root     13673: if test "${with_hostcc+set}" = set; then
1.1.1.22  root     13674:   withval=$with_hostcc; HOSTCC=$withval
1.1.1.16  root     13675: else
                   13676:   HOSTCC=$CC
1.1.1.22  root     13677: fi
                   13678: 
1.1.1.4   root     13679: 
                   13680: 
1.1.1.23! root     13681: mkdir -p src/tools
        !          13682: progname=$0
        !          13683: srcd=`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
        !          13684: topsrcdir=`cd $srcd; pwd`
        !          13685: tcc=$CC
        !          13686: CC=$HOSTCC
        !          13687: (cd src/tools && $topsrcdir/src/tools/configure)
        !          13688: CC=$tcc
        !          13689: 
        !          13690: 
        !          13691: if [ "x$WANT_ALSA" = "xyes" ]; then
        !          13692:   if [ "x$HAVE_ALSA" = "xno" ]; then
        !          13693:     echo "Could not find libasound, disabling ALSA support."
        !          13694:     NR_ERRORS=`expr $NR_ERRORS + 1`
        !          13695:     WANT_ALSA=no
        !          13696:   else
        !          13697:     LIBS="$LIBS -lasound"
        !          13698:   fi
        !          13699: fi
        !          13700: 
        !          13701: if [ "x$WANT_OSS" = "xyes" ]; then
        !          13702:   if [ "x$HAVE_OSS_SOUND" = "xno" ]; then
        !          13703:     echo "Could not find OSS interface, disabling OSS support."
        !          13704:     NR_ERRORS=`expr $NR_ERRORS + 1`
        !          13705:     WANT_ALSA=no
        !          13706:   else
        !          13707:     LIBS="$LIBS -lasound"
        !          13708:   fi
        !          13709: fi
        !          13710: 
        !          13711: if [ "x$WANT_SDLSND" = "xyes" ]; then
        !          13712:   if [ "x$WANT_ALSA" = "xyes" -o "x$WANT_OSS" = "xyes" ]; then
        !          13713:     echo "Multiple sound backends selected; disabling SDL sound."
        !          13714:     WANT_SDLSND=no
        !          13715:   fi
        !          13716: fi
        !          13717: 
        !          13718: if [ "x$WANT_ALSA" = "xyes" ]; then
        !          13719:   if [ "x$WANT_OSS" = "xyes" ]; then
        !          13720:     echo "Multiple sound backends selected; disabling ALSA."
        !          13721:     WANT_ALSA=no
        !          13722:   fi
        !          13723: fi
        !          13724: 
1.1.1.17  root     13725: if [ "x$WANT_SDLSND" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.19  root     13726:   WANT_SDL=yes
1.1.1.17  root     13727: fi
                   13728: 
                   13729: if [ "x$WANT_SDL" = "xyes" ]; then
                   13730:   if [ "x$HAVE_SDL_LIB" = "xno" ]; then
                   13731:     echo "Could not find libSDL, disabling SDL support."
                   13732:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13733:     WANT_SDL=no
                   13734:     WANT_SDLSND=no
                   13735:     WANT_SDLGFX=no
                   13736:   else
                   13737:     LIBS="$LIBS $SDL_LIBS"
                   13738:     ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS $SDL_CFLAGS -DUSE_SDL"
                   13739:   fi
                   13740: fi
                   13741: 
1.1.1.4   root     13742: if [ "x$WANT_DGA" = "xyes" ]; then
1.1.1.17  root     13743:   if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     13744:     echo "You can't enable DGA for SVGAlib, SDL and ncurses targets!"
                   13745:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13746:     WANT_DGA=no
                   13747:   fi
                   13748: fi
                   13749: 
                   13750: if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.17  root     13751:   if [ "x$WANT_ASCIIART" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.16  root     13752:     echo "You can't enable both SVGAlib and other targets!"
1.1.1.4   root     13753:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13754:     WANT_DGA=no
                   13755:   fi
                   13756: fi
                   13757: 
                   13758: if [ "x$WANT_DGA" = "xyes" -a "x$no_x" = "xyes" ]; then
                   13759:   echo "Ignoring --enable-dga, since X was disabled or not found."
                   13760:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13761:   WANT_DGA=no
                   13762: fi
                   13763: 
                   13764: if [ "x$WANT_DGA" = "xno" -a "x$WANT_VIDMODE" = "xyes" ]; then
                   13765:   echo "The XF86VidMode extension can only be used in DGA mode. Disabling it."
                   13766:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   13767:   WANT_VIDMODE=no
                   13768: fi
                   13769: 
                   13770: 
                   13771: if [ "x$WANT_SVGALIB" = "xyes" ]; then
                   13772:   if [ "x$HAVE_SVGA_LIB" = "xno" ]; then
                   13773:     echo "Could not find libsvga, disabling svgalib support."
                   13774:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13775:     WANT_SVGALIB=no
1.1       root     13776:   else
1.1.1.4   root     13777:     no_x=yes
                   13778:   fi
                   13779: fi
                   13780: 
                   13781: if [ "x$WANT_ASCIIART" = "xyes" ]; then
                   13782:   if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
                   13783:     echo "Could not find libncurses, disabling ascii art support."
                   13784:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13785:     WANT_ASCIIART=no
1.1.1.17  root     13786:   else if [ "x$WANT_SVGALIB" = "xyes" -o "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.4   root     13787:     echo "You can't configure for both ncurses and another target. Disabling ncurses."
                   13788:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13789:     WANT_ASCIIART=no
                   13790:   else
                   13791:     no_x=yes
                   13792:   fi
                   13793:   fi
                   13794: fi
                   13795: 
                   13796: 
                   13797: if [ "x$WANT_DGA" = "xyes" ]; then
                   13798:   TMP_SAVE_LIBS=$LIBS
                   13799:   LIBS="$X_LIBS $LIBS"
1.1.1.22  root     13800:   { echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
                   13801: echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
1.1.1.19  root     13802: if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
                   13803:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.2   root     13804: else
1.1.1.19  root     13805:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13806: LIBS="-lXxf86dga  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19  root     13807: cat >conftest.$ac_ext <<_ACEOF
                   13808: /* confdefs.h.  */
                   13809: _ACEOF
                   13810: cat confdefs.h >>conftest.$ac_ext
                   13811: cat >>conftest.$ac_ext <<_ACEOF
                   13812: /* end confdefs.h.  */
                   13813: 
1.1.1.22  root     13814: /* Override any GCC internal prototype to avoid an error.
                   13815:    Use char because int might match the return type of a GCC
                   13816:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     13817: #ifdef __cplusplus
                   13818: extern "C"
                   13819: #endif
                   13820: char XF86DGAQueryExtension ();
                   13821: int
                   13822: main ()
                   13823: {
1.1.1.22  root     13824: return XF86DGAQueryExtension ();
1.1.1.19  root     13825:   ;
                   13826:   return 0;
                   13827: }
                   13828: _ACEOF
                   13829: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13830: if { (ac_try="$ac_link"
                   13831: case "(($ac_try" in
                   13832:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13833:   *) ac_try_echo=$ac_try;;
                   13834: esac
                   13835: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13836:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13837:   ac_status=$?
                   13838:   grep -v '^ *+' conftest.er1 >conftest.err
                   13839:   rm -f conftest.er1
                   13840:   cat conftest.err >&5
                   13841:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13842:   (exit $ac_status); } && {
                   13843:         test -z "$ac_c_werror_flag" ||
                   13844:         test ! -s conftest.err
                   13845:        } && test -s conftest$ac_exeext &&
                   13846:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     13847:   ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
                   13848: else
                   13849:   echo "$as_me: failed program was:" >&5
                   13850: sed 's/^/| /' conftest.$ac_ext >&5
                   13851: 
1.1.1.22  root     13852:        ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
1.1.1.19  root     13853: fi
1.1.1.22  root     13854: 
                   13855: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13856:       conftest$ac_exeext conftest.$ac_ext
                   13857: LIBS=$ac_check_lib_save_LIBS
                   13858: fi
1.1.1.22  root     13859: { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
                   13860: echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6; }
1.1.1.19  root     13861: if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
1.1.1.4   root     13862:   HAVE_DGA=yes
1.1.1.2   root     13863: else
1.1.1.19  root     13864:   HAVE_DGA=no
1.1.1.2   root     13865: fi
                   13866: 
1.1.1.4   root     13867:   LIBS=$TMP_SAVE_LIBS
                   13868:   if [ "x$HAVE_DGA" = "xno" ]; then
                   13869:     echo "Could not find DGA extension, ignoring --enable-dga."
                   13870:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13871:     WANT_DGA=no
1.1.1.3   root     13872:   fi
1.1.1.2   root     13873: fi
                   13874: 
1.1.1.4   root     13875: if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   13876:   TMP_SAVE_LIBS=$LIBS
                   13877:   LIBS="$X_LIBS $LIBS"
1.1.1.22  root     13878:   { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
                   13879: echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
1.1.1.19  root     13880: if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
                   13881:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.3   root     13882: else
1.1.1.19  root     13883:   ac_check_lib_save_LIBS=$LIBS
1.1.1.4   root     13884: LIBS="-lXxf86vm  $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS  $LIBS"
1.1.1.19  root     13885: cat >conftest.$ac_ext <<_ACEOF
                   13886: /* confdefs.h.  */
                   13887: _ACEOF
                   13888: cat confdefs.h >>conftest.$ac_ext
                   13889: cat >>conftest.$ac_ext <<_ACEOF
                   13890: /* end confdefs.h.  */
                   13891: 
1.1.1.22  root     13892: /* Override any GCC internal prototype to avoid an error.
                   13893:    Use char because int might match the return type of a GCC
                   13894:    builtin and then its argument prototype would still apply.  */
1.1.1.19  root     13895: #ifdef __cplusplus
                   13896: extern "C"
                   13897: #endif
                   13898: char XF86VidModeQueryExtension ();
                   13899: int
                   13900: main ()
                   13901: {
1.1.1.22  root     13902: return XF86VidModeQueryExtension ();
1.1.1.19  root     13903:   ;
                   13904:   return 0;
                   13905: }
                   13906: _ACEOF
                   13907: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     13908: if { (ac_try="$ac_link"
                   13909: case "(($ac_try" in
                   13910:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   13911:   *) ac_try_echo=$ac_try;;
                   13912: esac
                   13913: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   13914:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     13915:   ac_status=$?
                   13916:   grep -v '^ *+' conftest.er1 >conftest.err
                   13917:   rm -f conftest.er1
                   13918:   cat conftest.err >&5
                   13919:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     13920:   (exit $ac_status); } && {
                   13921:         test -z "$ac_c_werror_flag" ||
                   13922:         test ! -s conftest.err
                   13923:        } && test -s conftest$ac_exeext &&
                   13924:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     13925:   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
                   13926: else
                   13927:   echo "$as_me: failed program was:" >&5
                   13928: sed 's/^/| /' conftest.$ac_ext >&5
                   13929: 
1.1.1.22  root     13930:        ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
1.1.1.19  root     13931: fi
1.1.1.22  root     13932: 
                   13933: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     13934:       conftest$ac_exeext conftest.$ac_ext
                   13935: LIBS=$ac_check_lib_save_LIBS
                   13936: fi
1.1.1.22  root     13937: { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
                   13938: echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
1.1.1.19  root     13939: if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
1.1.1.4   root     13940:   HAVE_VIDMODE=yes
1.1.1.3   root     13941: else
1.1.1.19  root     13942:   HAVE_VIDMODE=no
1.1.1.3   root     13943: fi
                   13944: 
1.1.1.4   root     13945:   LIBS=$TMP_SAVE_LIBS
                   13946:   if [ "x$HAVE_VIDMODE" = "xno" ]; then
                   13947:     echo "Could not find VidMode extension, ignoring --enable-vidmode."
                   13948:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   13949:     WANT_VIDMODE=no
1.1.1.3   root     13950:   fi
1.1.1.4   root     13951: fi
                   13952: 
1.1.1.20  root     13953: #GTK_PACKAGES="gtk+-2.0"
1.1.1.23! root     13954: #GTK_REQUIRED_VERSION=2.4.0
1.1.1.20  root     13955: #PKG_CHECK_MODULES(DEPS, $GTK_PACKAGES >= $GTK_REQUIRED_VERSION)
                   13956: #GTK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES $GTK_PACKAGES $LIBGNOMECANVAS_PACKAGES`
                   13957: #GTK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES $GTK_PACKAGES $LIBGNOMECANVAS_PACKAGES`
1.1.1.19  root     13958: 
1.1.1.22  root     13959: # Check whether --enable-gtktest was given.
1.1.1.4   root     13960: if test "${enable_gtktest+set}" = set; then
1.1.1.22  root     13961:   enableval=$enable_gtktest;
1.1.1.4   root     13962: else
                   13963:   enable_gtktest=yes
1.1.1.22  root     13964: fi
                   13965: 
1.1.1.4   root     13966: 
1.1.1.20  root     13967:   pkg_config_args=gtk+-2.0
1.1.1.19  root     13968:   for module in .
                   13969:   do
                   13970:       case "$module" in
                   13971:          gthread)
1.1.1.20  root     13972:              pkg_config_args="$pkg_config_args gthread-2.0"
1.1.1.19  root     13973:          ;;
                   13974:       esac
                   13975:   done
1.1.1.4   root     13976: 
1.1.1.20  root     13977:   no_gtk=""
1.1.1.4   root     13978: 
1.1.1.20  root     13979:   # Extract the first word of "pkg-config", so it can be a program name with args.
                   13980: set dummy pkg-config; ac_word=$2
1.1.1.22  root     13981: { echo "$as_me:$LINENO: checking for $ac_word" >&5
                   13982: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.1.20  root     13983: if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
1.1.1.19  root     13984:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1.1.4   root     13985: else
1.1.1.20  root     13986:   case $PKG_CONFIG in
1.1.1.19  root     13987:   [\\/]* | ?:[\\/]*)
1.1.1.20  root     13988:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1.1.1.4   root     13989:   ;;
                   13990:   *)
1.1.1.19  root     13991:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   13992: for as_dir in $PATH
                   13993: do
                   13994:   IFS=$as_save_IFS
                   13995:   test -z "$as_dir" && as_dir=.
                   13996:   for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.22  root     13997:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.20  root     13998:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.1.1.19  root     13999:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   14000:     break 2
                   14001:   fi
                   14002: done
                   14003: done
1.1.1.22  root     14004: IFS=$as_save_IFS
1.1.1.19  root     14005: 
1.1.1.20  root     14006:   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
1.1.1.4   root     14007:   ;;
                   14008: esac
                   14009: fi
1.1.1.20  root     14010: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
                   14011: if test -n "$PKG_CONFIG"; then
1.1.1.22  root     14012:   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
                   14013: echo "${ECHO_T}$PKG_CONFIG" >&6; }
1.1.1.4   root     14014: else
1.1.1.22  root     14015:   { echo "$as_me:$LINENO: result: no" >&5
                   14016: echo "${ECHO_T}no" >&6; }
1.1.1.4   root     14017: fi
                   14018: 
1.1.1.20  root     14019: 
1.1.1.22  root     14020: 
1.1.1.20  root     14021:   if test x$PKG_CONFIG != xno ; then
                   14022:     if pkg-config --atleast-pkgconfig-version 0.7 ; then
                   14023:       :
                   14024:     else
1.1.1.22  root     14025:       echo "*** pkg-config too old; version 0.7 or better required."
1.1.1.20  root     14026:       no_gtk=yes
                   14027:       PKG_CONFIG=no
                   14028:     fi
1.1.1.4   root     14029:   else
1.1.1.20  root     14030:     no_gtk=yes
                   14031:   fi
                   14032: 
1.1.1.23! root     14033:   min_gtk_version=2.4.0
1.1.1.22  root     14034:   { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
                   14035: echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
1.1.1.20  root     14036: 
                   14037:   if test x$PKG_CONFIG != xno ; then
                   14038:     ## don't try to run the test against uninstalled libtool libs
                   14039:     if $PKG_CONFIG --uninstalled $pkg_config_args; then
                   14040:          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
                   14041:          enable_gtktest=no
                   14042:     fi
                   14043: 
                   14044:     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
                   14045:          :
                   14046:     else
                   14047:          no_gtk=yes
                   14048:     fi
                   14049:   fi
                   14050: 
                   14051:   if test x"$no_gtk" = x ; then
                   14052:     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
                   14053:     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
                   14054:     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     14055:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
1.1.1.20  root     14056:     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     14057:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
1.1.1.20  root     14058:     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
1.1.1.4   root     14059:            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
                   14060:     if test "x$enable_gtktest" = "xyes" ; then
                   14061:       ac_save_CFLAGS="$CFLAGS"
                   14062:       ac_save_LIBS="$LIBS"
                   14063:       CFLAGS="$CFLAGS $GTK_CFLAGS"
1.1.1.19  root     14064:       LIBS="$GTK_LIBS $LIBS"
1.1.1.4   root     14065:       rm -f conf.gtktest
                   14066:       if test "$cross_compiling" = yes; then
                   14067:   echo $ac_n "cross compiling; assumed OK... $ac_c"
                   14068: else
1.1.1.19  root     14069:   cat >conftest.$ac_ext <<_ACEOF
                   14070: /* confdefs.h.  */
                   14071: _ACEOF
                   14072: cat confdefs.h >>conftest.$ac_ext
                   14073: cat >>conftest.$ac_ext <<_ACEOF
                   14074: /* end confdefs.h.  */
1.1.1.4   root     14075: 
                   14076: #include <gtk/gtk.h>
                   14077: #include <stdio.h>
1.1.1.19  root     14078: #include <stdlib.h>
1.1.1.4   root     14079: 
1.1.1.19  root     14080: int
1.1.1.4   root     14081: main ()
1.1.1.3   root     14082: {
1.1.1.4   root     14083:   int major, minor, micro;
1.1.1.19  root     14084:   char *tmp_version;
1.1.1.4   root     14085: 
                   14086:   system ("touch conf.gtktest");
                   14087: 
1.1.1.19  root     14088:   /* HP/UX 9 (%@#!) writes to sscanf strings */
                   14089:   tmp_version = g_strdup("$min_gtk_version");
                   14090:   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
1.1.1.4   root     14091:      printf("%s, bad version string\n", "$min_gtk_version");
                   14092:      exit(1);
                   14093:    }
                   14094: 
                   14095:   if ((gtk_major_version != $gtk_config_major_version) ||
                   14096:       (gtk_minor_version != $gtk_config_minor_version) ||
                   14097:       (gtk_micro_version != $gtk_config_micro_version))
                   14098:     {
1.1.1.20  root     14099:       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1.1.1.4   root     14100:              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
                   14101:              gtk_major_version, gtk_minor_version, gtk_micro_version);
1.1.1.20  root     14102:       printf ("*** was found! If pkg-config was correct, then it is best\n");
1.1.1.4   root     14103:       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
                   14104:       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
                   14105:       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
                   14106:       printf("*** required on your system.\n");
1.1.1.20  root     14107:       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
                   14108:       printf("*** to point to the correct configuration files\n");
1.1.1.19  root     14109:     }
                   14110:   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
                   14111:           (gtk_minor_version != GTK_MINOR_VERSION) ||
                   14112:            (gtk_micro_version != GTK_MICRO_VERSION))
                   14113:     {
                   14114:       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
                   14115:             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
                   14116:       printf("*** library (version %d.%d.%d)\n",
                   14117:             gtk_major_version, gtk_minor_version, gtk_micro_version);
                   14118:     }
1.1.1.4   root     14119:   else
                   14120:     {
                   14121:       if ((gtk_major_version > major) ||
                   14122:         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
                   14123:         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
                   14124:       {
                   14125:         return 0;
                   14126:        }
                   14127:      else
                   14128:       {
                   14129:         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
                   14130:                gtk_major_version, gtk_minor_version, gtk_micro_version);
                   14131:         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
                   14132:               major, minor, micro);
                   14133:         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
                   14134:         printf("***\n");
                   14135:         printf("*** If you have already installed a sufficiently new version, this error\n");
1.1.1.20  root     14136:         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
1.1.1.4   root     14137:         printf("*** being found. The easiest way to fix this is to remove the old version\n");
1.1.1.20  root     14138:         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
                   14139:         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
1.1.1.4   root     14140:         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
                   14141:         printf("*** so that the correct libraries are found at run-time))\n");
                   14142:       }
                   14143:     }
                   14144:   return 1;
1.1.1.3   root     14145: }
1.1.1.4   root     14146: 
1.1.1.19  root     14147: _ACEOF
                   14148: rm -f conftest$ac_exeext
1.1.1.22  root     14149: if { (ac_try="$ac_link"
                   14150: case "(($ac_try" in
                   14151:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14152:   *) ac_try_echo=$ac_try;;
                   14153: esac
                   14154: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14155:   (eval "$ac_link") 2>&5
1.1.1.19  root     14156:   ac_status=$?
                   14157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14158:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.1.1.22  root     14159:   { (case "(($ac_try" in
                   14160:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14161:   *) ac_try_echo=$ac_try;;
                   14162: esac
                   14163: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14164:   (eval "$ac_try") 2>&5
1.1.1.19  root     14165:   ac_status=$?
                   14166:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14167:   (exit $ac_status); }; }; then
1.1.1.4   root     14168:   :
                   14169: else
1.1.1.19  root     14170:   echo "$as_me: program exited with status $ac_status" >&5
                   14171: echo "$as_me: failed program was:" >&5
                   14172: sed 's/^/| /' conftest.$ac_ext >&5
                   14173: 
                   14174: ( exit $ac_status )
                   14175: no_gtk=yes
1.1.1.4   root     14176: fi
1.1.1.22  root     14177: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14178: fi
1.1.1.22  root     14179: 
                   14180: 
1.1.1.4   root     14181:        CFLAGS="$ac_save_CFLAGS"
                   14182:        LIBS="$ac_save_LIBS"
                   14183:      fi
                   14184:   fi
                   14185:   if test "x$no_gtk" = x ; then
1.1.1.22  root     14186:      { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
                   14187: echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
1.1.1.19  root     14188:      :
1.1.1.4   root     14189:   else
1.1.1.22  root     14190:      { echo "$as_me:$LINENO: result: no" >&5
                   14191: echo "${ECHO_T}no" >&6; }
1.1.1.20  root     14192:      if test "$PKG_CONFIG" = "no" ; then
                   14193:        echo "*** A new enough version of pkg-config was not found."
                   14194:        echo "*** See http://pkgconfig.sourceforge.net"
1.1.1.4   root     14195:      else
                   14196:        if test -f conf.gtktest ; then
                   14197:         :
                   14198:        else
1.1.1.20  root     14199:           echo "*** Could not run GTK+ test program, checking why..."
                   14200:          ac_save_CFLAGS="$CFLAGS"
                   14201:          ac_save_LIBS="$LIBS"
1.1.1.4   root     14202:           CFLAGS="$CFLAGS $GTK_CFLAGS"
                   14203:           LIBS="$LIBS $GTK_LIBS"
1.1.1.19  root     14204:           cat >conftest.$ac_ext <<_ACEOF
                   14205: /* confdefs.h.  */
                   14206: _ACEOF
                   14207: cat confdefs.h >>conftest.$ac_ext
                   14208: cat >>conftest.$ac_ext <<_ACEOF
                   14209: /* end confdefs.h.  */
1.1.1.4   root     14210: 
                   14211: #include <gtk/gtk.h>
                   14212: #include <stdio.h>
                   14213: 
1.1.1.19  root     14214: int
                   14215: main ()
                   14216: {
                   14217:  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
                   14218:   ;
                   14219:   return 0;
                   14220: }
                   14221: _ACEOF
                   14222: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     14223: if { (ac_try="$ac_link"
                   14224: case "(($ac_try" in
                   14225:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14226:   *) ac_try_echo=$ac_try;;
                   14227: esac
                   14228: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14229:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     14230:   ac_status=$?
                   14231:   grep -v '^ *+' conftest.er1 >conftest.err
                   14232:   rm -f conftest.er1
                   14233:   cat conftest.err >&5
                   14234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14235:   (exit $ac_status); } && {
                   14236:         test -z "$ac_c_werror_flag" ||
                   14237:         test ! -s conftest.err
                   14238:        } && test -s conftest$ac_exeext &&
                   14239:        $as_test_x conftest$ac_exeext; then
1.1.1.4   root     14240:    echo "*** The test program compiled, but did not run. This usually means"
1.1.1.20  root     14241:           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
                   14242:           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
1.1.1.4   root     14243:           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
                   14244:           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
                   14245:           echo "*** is required on your system"
                   14246:          echo "***"
                   14247:           echo "*** If you have an old version installed, it is best to remove it, although"
                   14248:           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
                   14249: else
1.1.1.19  root     14250:   echo "$as_me: failed program was:" >&5
                   14251: sed 's/^/| /' conftest.$ac_ext >&5
                   14252: 
1.1.1.22  root     14253:         echo "*** The test program failed to compile or link. See the file config.log for the"
1.1.1.20  root     14254:           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
1.1.1.4   root     14255: fi
1.1.1.22  root     14256: 
                   14257: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     14258:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     14259:           CFLAGS="$ac_save_CFLAGS"
                   14260:           LIBS="$ac_save_LIBS"
                   14261:        fi
                   14262:      fi
                   14263:      GTK_CFLAGS=""
                   14264:      GTK_LIBS=""
                   14265:      :
1.1.1.3   root     14266:   fi
1.1.1.19  root     14267: 
                   14268: 
1.1.1.4   root     14269:   rm -f conf.gtktest
1.1.1.3   root     14270: 
1.1.1.4   root     14271: 
                   14272: 
                   14273: SHM_SUPPORT_LINKS=0
1.1.1.6   root     14274: if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
1.1.1.22  root     14275:   { echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
                   14276: echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6; }
1.1.1.4   root     14277:   TMP_SAVE_CFLAGS=$CFLAGS
                   14278:   TMP_SAVE_LIBS=$LIBS
                   14279:   CFLAGS="$CFLAGS $X_CFLAGS"
                   14280:   LIBS="$X_LIBS $LIBS $X_PRE_LIBS -lX11 -lXext $X_EXTRA_LIBS"
1.1.1.19  root     14281:   cat >conftest.$ac_ext <<_ACEOF
                   14282: /* confdefs.h.  */
                   14283: _ACEOF
                   14284: cat confdefs.h >>conftest.$ac_ext
                   14285: cat >>conftest.$ac_ext <<_ACEOF
                   14286: /* end confdefs.h.  */
1.1.1.2   root     14287: 
1.1.1.4   root     14288: #include "confdefs.h"
                   14289: #ifdef HAVE_SYS_TYPES_H
                   14290: #include <sys/types.h>
                   14291: #endif
                   14292: #include <X11/Xlib.h>
                   14293: #include <X11/Xutil.h>
                   14294: #include <X11/keysym.h>
                   14295: #include <X11/cursorfont.h>
                   14296: #include <sys/ipc.h>
                   14297: #include <sys/shm.h>
                   14298: #include <X11/extensions/XShm.h>
1.1.1.19  root     14299: int
                   14300: main ()
                   14301: {
1.1.1.4   root     14302: 
                   14303: static XShmSegmentInfo shminfo;
                   14304: static Display *display;
                   14305: XShmAttach(display, &shminfo);
                   14306: XSync(display,0);
                   14307: shmctl(shminfo.shmid, IPC_RMID, 0);
1.1.1.10  root     14308: 
1.1.1.19  root     14309:   ;
                   14310:   return 0;
                   14311: }
                   14312: _ACEOF
                   14313: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     14314: if { (ac_try="$ac_link"
                   14315: case "(($ac_try" in
                   14316:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14317:   *) ac_try_echo=$ac_try;;
                   14318: esac
                   14319: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14320:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     14321:   ac_status=$?
                   14322:   grep -v '^ *+' conftest.er1 >conftest.err
                   14323:   rm -f conftest.er1
                   14324:   cat conftest.err >&5
                   14325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14326:   (exit $ac_status); } && {
                   14327:         test -z "$ac_c_werror_flag" ||
                   14328:         test ! -s conftest.err
                   14329:        } && test -s conftest$ac_exeext &&
                   14330:        $as_test_x conftest$ac_exeext; then
1.1.1.4   root     14331:   SHM_SUPPORT_LINKS=1
1.1.1.22  root     14332: { echo "$as_me:$LINENO: result: yes" >&5
                   14333: echo "${ECHO_T}yes" >&6; }
1.1       root     14334: else
1.1.1.19  root     14335:   echo "$as_me: failed program was:" >&5
                   14336: sed 's/^/| /' conftest.$ac_ext >&5
                   14337: 
1.1.1.22  root     14338:        SHM_SUPPORT_LINKS=0
                   14339: { echo "$as_me:$LINENO: result: no" >&5
                   14340: echo "${ECHO_T}no" >&6; }
1.1       root     14341: fi
1.1.1.22  root     14342: 
                   14343: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     14344:       conftest$ac_exeext conftest.$ac_ext
1.1.1.4   root     14345:   CFLAGS=$TMP_SAVE_CFLAGS
                   14346:   LIBS=$TMP_SAVE_LIBS
1.1       root     14347: fi
                   14348: 
1.1.1.4   root     14349: MATHLIB=-lm
                   14350: DEBUGOBJS="debug.o"
                   14351: 
1.1.1.23! root     14352: GUIDEP=gui-none
        !          14353: GUIOBJS_IN=nogui.o
        !          14354: 
1.1.1.22  root     14355: { echo "$as_me:$LINENO: checking which target to use" >&5
                   14356: echo $ECHO_N "checking which target to use... $ECHO_C" >&6; }
1.1.1.4   root     14357: 
1.1.1.17  root     14358: if [ "x$WANT_SDLGFX" = "xyes" ]; then
1.1.1.22  root     14359:   { echo "$as_me:$LINENO: result: SDL" >&5
                   14360: echo "${ECHO_T}SDL" >&6; }
1.1.1.17  root     14361:   MATHLIB=
                   14362:   TARGET=x11
1.1.1.22  root     14363:   GFXOBJS="sdlgfx.o sdlkeys.o rawkeys.o"
1.1.1.17  root     14364:   # @@@ Kludge.  This may get changed later.
                   14365:   TARGETDEP=t-x11.h
                   14366: else if [ "x$HAVE_DIRECTX" = "xyes" ]; then
1.1.1.22  root     14367:   { echo "$as_me:$LINENO: result: Win32/DirectX" >&5
                   14368: echo "${ECHO_T}Win32/DirectX" >&6; }
1.1.1.6   root     14369:   MATHLIB=
                   14370:   TARGET=win32
                   14371:   TARGETDEP=t-win32.h
1.1.1.17  root     14372:   GFXOBJS="osdep/win32.o osdep/parser.o osdep/keyboard.o osdep/posixemu.o"
1.1.1.6   root     14373:   RESOBJS="osdep/winuae.res"
                   14374: else if [ "x$HAVE_BEOS" = "xyes" ]; then
1.1.1.22  root     14375:   { echo "$as_me:$LINENO: result: BeOS" >&5
                   14376: echo "${ECHO_T}BeOS" >&6; }
1.1.1.4   root     14377:   MATHLIB=
                   14378:   TARGET=beos
                   14379:   TARGETDEP=t-beos.h
                   14380:   GFXOBJS=osdep/beos.o
                   14381:   OPTIMIZE_CFLAGS=-O7
                   14382: else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
1.1.1.22  root     14383:   { echo "$as_me:$LINENO: result: AmigaOS" >&5
                   14384: echo "${ECHO_T}AmigaOS" >&6; }
1.1.1.4   root     14385:   TARGET=amigaos
                   14386:   TARGETDEP=t-amiga.h
                   14387:   GFXOBJS="osdep/ami-win.o osdep/ami-disk.o osdep/ami-rexx.o osdep/ami-appw.o"
                   14388: else if [ "x$HAVE_NEXT_LIB" = "xyes" ]; then
1.1.1.22  root     14389:   { echo "$as_me:$LINENO: result: NeXTStep" >&5
                   14390: echo "${ECHO_T}NeXTStep" >&6; }
1.1.1.4   root     14391:   MATHLIB=
                   14392:   TARGET=next
                   14393:   GFXOBJS="NeXTwin.o"
                   14394:   TARGETDEP=t-next.h
                   14395:   LIBRARIES="-sectcreate __ICON __header ../Uae.app/Uae.iconheader -segprot __ICON r r -sectcreate __ICON app ../Uae.app/Uae.tiff -lMedia_s -lNeXT_s"
                   14396: else
1.1.1.19  root     14397: 
1.1.1.4   root     14398:   if [ "x$no_x" = "xyes" ]; then
1.1.1.13  root     14399:     if [ "x$WANT_SVGALIB" != "xyes" -a "x$WANT_ASCIIART" != "xyes" ]; then
1.1.1.4   root     14400:       if [ "x$WANT_SVGALIB" != "xno" -a "x$HAVE_SVGA_LIB" = "xyes" ]; then
                   14401:         WANT_SVGALIB=yes
                   14402:       else if [ "x$WANT_ASCIIART" != "xno" -a "x$HAVE_NCURSES_LIB" = "xyes" ]; then
                   14403:         WANT_ASCIIART=yes
                   14404:       fi
                   14405:       fi
                   14406:     fi
1.1.1.3   root     14407:   fi
1.1.1.4   root     14408: 
1.1.1.13  root     14409:   if [ "x$WANT_SVGALIB" = "xyes" ]; then
1.1.1.22  root     14410:     { echo "$as_me:$LINENO: result: SVGAlib" >&5
                   14411: echo "${ECHO_T}SVGAlib" >&6; }
1.1.1.4   root     14412:     TARGET=svgalib
                   14413:     TARGETDEP=t-svgalib.h
                   14414:     GFXOBJS=svga.o
                   14415:     LIBRARIES="-lvga"
                   14416:     WANT_NCURSES_UI=yes
                   14417:   else if [ "x$WANT_ASCIIART" = "xyes" ]; then
1.1.1.22  root     14418:     { echo "$as_me:$LINENO: result: ncurses ASCII art" >&5
                   14419: echo "${ECHO_T}ncurses ASCII art" >&6; }
1.1.1.4   root     14420:     TARGET=asciiart
                   14421:     TARGETDEP=t-ascii.h
                   14422:     GFXOBJS="ncurses.o"
1.1.1.17  root     14423:     WANT_NCURSES_UI=yes
1.1.1.4   root     14424:     LIBRARIES="-lncurses"
                   14425:   else if [ "x$no_x" = "xyes" ]; then
1.1.1.22  root     14426:     { echo "$as_me:$LINENO: result: Ummm...." >&5
                   14427: echo "${ECHO_T}Ummm...." >&6; }
1.1.1.4   root     14428:     echo "Fatal error: No graphics system found, don't know what target to use."
                   14429:     exit 1
                   14430:   else
1.1.1.22  root     14431:     { echo "$as_me:$LINENO: result: X11" >&5
                   14432: echo "${ECHO_T}X11" >&6; }
1.1.1.4   root     14433:     TARGET=x11
                   14434:     TARGETDEP=t-x11.h
1.1.1.21  root     14435:     GFXOBJS="xwin.o x11keys.o"
1.1.1.4   root     14436: 
                   14437:     LIBRARIES="$X_LIBS $X_PRE_LIBS"
                   14438:         if [ "x$WANT_DGA" = "xyes" ]; then
                   14439:       LIBRARIES="$LIBRARIES -lXxf86dga"
                   14440:       X_CFLAGS="$X_CFLAGS -DUSE_DGA_EXTENSION"
                   14441:       if [ "x$WANT_VIDMODE" = "xyes" ]; then
                   14442:         LIBRARIES="$LIBRARIES -lXxf86vm"
                   14443:        X_CFLAGS="$X_CFLAGS -DUSE_VIDMODE_EXTENSION"
                   14444:       fi
                   14445:     fi
                   14446:     LIBRARIES="$LIBRARIES -lXext -lX11 $X_EXTRA_LIBS"
                   14447:   fi
                   14448:   fi
                   14449:   fi
1.1       root     14450: fi
1.1.1.3   root     14451: fi
                   14452: fi
                   14453: fi
1.1.1.6   root     14454: fi
1.1       root     14455: 
1.1.1.17  root     14456: if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   14457:   TARGETDEP=t-win32.h
                   14458:   TARGET=win32
                   14459: fi
                   14460: 
                   14461: if [ "x$WANT_UI" != "xno" ]; then
                   14462:   if [ "x$HAVE_DIRECTX" = "xyes" ]; then
                   14463:     GUIOBJS=osdep/win32gui.o
                   14464:   else if [ "x$HAVE_AMIGA_LIB" = "xyes" ]; then
                   14465:     GUIOBJS="osdep/ami-gui.o"
                   14466:   else if [ "x$WANT_NCURSES_UI" = "xyes" ]; then
                   14467:     if [ "x$HAVE_NCURSES_LIB" = "xno" ]; then
1.1.1.4   root     14468:       echo "ncurses is unavailable, can't provide a user interface"
1.1.1.17  root     14469:       if [ "x$WANT_UI" = "xyes" ]; then
                   14470:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   14471:       fi
                   14472:       WANT_UI=no
                   14473:     else
                   14474:       GUIOBJS="tui.o svgancui.o"
                   14475:       LIBRARIES="$LIBRARIES -lncurses"
                   14476:       ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_CURSES_UI"
                   14477:       if [ "x$ac_cv_header_ncurses_h" = "xno" ]; then
                   14478:         echo "Found libncurses, but no ncurses.h. This is normal with recent versions"
                   14479:         echo "of ncurses, but it might indicate a problem with older versions."
                   14480:         NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   14481:       fi
1.1.1.4   root     14482:     fi
1.1.1.17  root     14483:   else if [ "x$no_x" != "xno" ]; then
                   14484:     if [ "x$no_gtk" = "xyes" ]; then
                   14485:       echo "Did not find gtk+, disabling user interface"
                   14486:       GTK_CFLAGS=
                   14487:       if [ "x$WANT_UI" = "xyes" ]; then
                   14488:         NR_ERRORS=`expr $NR_ERRORS + 1`
                   14489:       fi
                   14490:     else
                   14491:       echo "Using gtk+ GUI."
                   14492:       NEED_THREAD_SUPPORT=yes
1.1.1.23! root     14493:       ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS -DUSING_GTK_GUI -I$abssrcdir/src/gui-gtk"
        !          14494:       GUIDEP=gui-gtk
        !          14495:       GUIOBJS_IN="gtkui.o util.o"
1.1.1.17  root     14496:     fi
1.1.1.19  root     14497:   else
1.1.1.17  root     14498:     if [ "x$WANT_UI" = "xyes" ]; then
                   14499:       echo "GUI requested, but no suitable libraries found."
                   14500:       NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.4   root     14501:     fi
1.1.1.17  root     14502:   fi
                   14503:   fi
                   14504:   fi
                   14505:   fi
1.1.1.3   root     14506: fi
1.1.1.17  root     14507: 
1.1.1.4   root     14508: 
1.1.1.22  root     14509: 
                   14510: cat >>confdefs.h <<\_ACEOF
                   14511: #define MULTIPLICATION_PROFITABLE 1
                   14512: _ACEOF
                   14513: 
                   14514: 
                   14515: 
1.1.1.4   root     14516: MACHDEP=md-generic
                   14517: OSDEP=od-generic
                   14518: THREADDEP=td-none
                   14519: SOUNDDEP=od-generic
                   14520: 
1.1.1.11  root     14521: FPP_H=fpp-unknown.h
1.1.1.4   root     14522: USE_THREADS=no
                   14523: USE_FILE_SOUND=no
1.1.1.10  root     14524: USE_SCSI_DEVICE=no
1.1.1.4   root     14525: 
1.1.1.6   root     14526: USE_UNDERSCORE=dunno
                   14527: 
1.1.1.4   root     14528: HAVELINUX=no
1.1.1.6   root     14529: HAVEBSD=no
1.1.1.4   root     14530: HAVEGCC27=no
                   14531: HAVEI386=no
                   14532: HAVE68K=no
1.1.1.23! root     14533: HAVEPPC=no
1.1.1.3   root     14534: 
1.1.1.23! root     14535: ASMOBJS=
        !          14536: CPUOBJS=cpuemu.o
1.1.1.6   root     14537: 
1.1.1.23! root     14538: { echo "$as_me:$LINENO: checking host cpu support" >&5
        !          14539: echo $ECHO_N "checking host cpu support... $ECHO_C" >&6; }
1.1.1.6   root     14540: 
1.1.1.23! root     14541: HOST_CPU=generic
        !          14542: MDFPP_H=fpp-unknown.h
1.1.1.3   root     14543: 
1.1.1.23! root     14544: case $host_cpu in
        !          14545:      i[3-6]86)
        !          14546:        HOST_CPU=i386
        !          14547:        MDFPP_H=fpp-ieee.h
        !          14548:        ;;
        !          14549:      amd64 | x86_64)
        !          14550:        HOST_CPU=amd64
        !          14551:        MDFPP_H=fpp-ieee.h
        !          14552:        ;;
        !          14553:      powerpc)
        !          14554:        HOST_CPU=ppc
        !          14555:        MDFPP_H=fpp-ieee.h
        !          14556:        ;;
        !          14557:      m68k)
        !          14558:        HOST_CPU=68k
        !          14559:        MDFPP_H=fpp-ieee.h
        !          14560:        ;;
        !          14561: esac
        !          14562: 
        !          14563: { echo "$as_me:$LINENO: result: $HOST_CPU" >&5
        !          14564: echo "${ECHO_T}$HOST_CPU" >&6; }
        !          14565: MACHDEP="md-$HOST_CPU"
        !          14566: 
        !          14567: { echo "$as_me:$LINENO: checking for GCC 2.7 or higher" >&5
        !          14568: echo $ECHO_N "checking for GCC 2.7 or higher... $ECHO_C" >&6; }
        !          14569: cat >conftest.$ac_ext <<_ACEOF
1.1.1.19  root     14570: /* confdefs.h.  */
                   14571: _ACEOF
                   14572: cat confdefs.h >>conftest.$ac_ext
                   14573: cat >>conftest.$ac_ext <<_ACEOF
                   14574: /* end confdefs.h.  */
1.1.1.23! root     14575: #if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
1.1.1.6   root     14576:   yes
1.1.1.4   root     14577: #endif
                   14578: 
1.1.1.19  root     14579: _ACEOF
1.1.1.6   root     14580: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.19  root     14581:   $EGREP "yes" >/dev/null 2>&1; then
1.1.1.22  root     14582:   { echo "$as_me:$LINENO: result: yes" >&5
1.1.1.23! root     14583: echo "${ECHO_T}yes" >&6; }; HAVEGCC27=yes
1.1.1.3   root     14584: else
1.1.1.22  root     14585:   { echo "$as_me:$LINENO: result: no" >&5
                   14586: echo "${ECHO_T}no" >&6; }
1.1.1.4   root     14587: fi
1.1.1.6   root     14588: rm -f conftest*
                   14589: 
1.1.1.4   root     14590: 
1.1.1.19  root     14591: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.4   root     14592:   WARNING_CFLAGS="-Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes"
                   14593:   OPTIMIZE_CFLAGS="-O2 -fomit-frame-pointer"
                   14594:     CFLAGS=
                   14595: fi
                   14596: 
                   14597: if [ "x$DO_PROFILING" = "xyes" ]; then
1.1.1.23! root     14598:   if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.4   root     14599:     OPTIMIZE_CFLAGS="-O"
                   14600:     DEBUG_CFLAGS="-g -fno-inline -fno-omit-frame-pointer -pg -DUSE_PROFILING"
                   14601:     LDFLAGS="-pg"
                   14602:   else
                   14603:     DO_PROFILING=no
                   14604:     echo "Don't know how to set up profiling for your compiler."
                   14605:     NR_ERRORS=`expr $NR_ERRORS + 1`
1.1.1.3   root     14606:   fi
                   14607: fi
                   14608: 
1.1.1.4   root     14609: CFLAGS="$OPTIMIZE_CFLAGS $DEBUG_CFLAGS $WARNING_CFLAGS $CFLAGS $ADDITIONAL_CFLAGS"
                   14610: 
1.1.1.23! root     14611: if test $ac_cv_c_compiler_gnu = yes; then
        !          14612:   if test $HAVEGCC27 != yes; then
        !          14613:     { echo "$as_me:$LINENO: WARNING: Version 2.7 or better of GCC is recommended" >&5
        !          14614: echo "$as_me: WARNING: Version 2.7 or better of GCC is recommended" >&2;}
        !          14615:     NR_WARNINGS=`expr $NR_WARNINGS + 1`
        !          14616:   fi
1.1.1.11  root     14617: else
1.1.1.23! root     14618:   if test $uae_cv_prog_cc_watcom != yes; then
        !          14619:     { echo "$as_me:$LINENO: WARNING: UAE may not compile and run correctly with your compiler" >&5
        !          14620: echo "$as_me: WARNING: UAE may not compile and run correctly with your compiler" >&2;}
        !          14621:     NR_WARNINGS=`expr $NR_WARNINGS + 1`
        !          14622:   fi
1.1.1.11  root     14623: fi
                   14624: 
1.1.1.23! root     14625: if test $ac_cv_c_compiler_gnu = yes; then
        !          14626:   if [ "$HOST_CPU" = i386 -o "$HOST_CPU" = ppc -o "$HOST_CPU" = amd64 ]; then
        !          14627:     MACHDEP="$MACHDEP-gcc"
        !          14628:   fi
1.1.1.4   root     14629: fi
                   14630: 
1.1.1.3   root     14631: 
1.1.1.22  root     14632: { echo "$as_me:$LINENO: checking whether assembler symbols need an underscore" >&5
                   14633: echo $ECHO_N "checking whether assembler symbols need an underscore... $ECHO_C" >&6; }
1.1.1.6   root     14634: cat >conftest1.S << EOF
                   14635:        .text
                   14636:        .globl _symbol
                   14637: _symbol:
                   14638: EOF
                   14639: cat >conftest2.c << EOF
                   14640: extern void symbol ();
                   14641: int main ()
                   14642: {
                   14643: symbol ();
                   14644: }
                   14645: EOF
                   14646: $CC conftest1.S -c -o conftest1.o >/dev/null 2>&1
                   14647: $CC conftest2.c -c -o conftest2.o >/dev/null 2>&1
                   14648: if $CC conftest1.o conftest2.o -o conftest >/dev/null 2>&1; then
                   14649:   USE_UNDERSCORE=yes
                   14650:   CFLAGS="$CFLAGS -DUSE_UNDERSCORE"
1.1.1.4   root     14651: else
1.1.1.6   root     14652:   USE_UNDERSCORE=no
1.1.1.4   root     14653: fi
1.1.1.22  root     14654: { echo "$as_me:$LINENO: result: $USE_UNDERSCORE" >&5
                   14655: echo "${ECHO_T}$USE_UNDERSCORE" >&6; }
1.1.1.4   root     14656: 
                   14657: rm -f conftest*
                   14658: 
1.1.1.22  root     14659: # Check whether --enable-threads was given.
1.1.1.4   root     14660: if test "${enable_threads+set}" = set; then
1.1.1.22  root     14661:   enableval=$enable_threads; USE_THREADS=$enableval
                   14662: fi
                   14663: 
1.1.1.4   root     14664: 
1.1.1.3   root     14665: 
1.1.1.4   root     14666: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14667:   SAVECFLAGS=$CFLAGS
                   14668:   CFLAGS="$CFLAGS -mno-schedule-prologue"
1.1.1.19  root     14669:   cat >conftest.$ac_ext <<_ACEOF
                   14670: /* confdefs.h.  */
                   14671: _ACEOF
                   14672: cat confdefs.h >>conftest.$ac_ext
                   14673: cat >>conftest.$ac_ext <<_ACEOF
                   14674: /* end confdefs.h.  */
1.1.1.4   root     14675: 
1.1.1.19  root     14676: int
                   14677: main ()
                   14678: {
                   14679: int main(){return 0;}
                   14680:   ;
                   14681:   return 0;
                   14682: }
                   14683: _ACEOF
                   14684: rm -f conftest.$ac_objext
1.1.1.22  root     14685: if { (ac_try="$ac_compile"
                   14686: case "(($ac_try" in
                   14687:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14688:   *) ac_try_echo=$ac_try;;
                   14689: esac
                   14690: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14691:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     14692:   ac_status=$?
                   14693:   grep -v '^ *+' conftest.er1 >conftest.err
                   14694:   rm -f conftest.er1
                   14695:   cat conftest.err >&5
                   14696:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14697:   (exit $ac_status); } && {
                   14698:         test -z "$ac_c_werror_flag" ||
                   14699:         test ! -s conftest.err
                   14700:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     14701:   NO_SCHED_CFLAGS="-mno-schedule-prologue"
                   14702: else
                   14703:   echo "$as_me: failed program was:" >&5
                   14704: sed 's/^/| /' conftest.$ac_ext >&5
                   14705: 
1.1.1.22  root     14706: 
1.1.1.19  root     14707: fi
1.1.1.22  root     14708: 
                   14709: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.19  root     14710:   CFLAGS=$SAVECFLAGS
                   14711: fi
                   14712: 
                   14713: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14714:   SAVECFLAGS=$CFLAGS
                   14715:   CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
                   14716:   cat >conftest.$ac_ext <<_ACEOF
                   14717: /* confdefs.h.  */
                   14718: _ACEOF
                   14719: cat confdefs.h >>conftest.$ac_ext
                   14720: cat >>conftest.$ac_ext <<_ACEOF
                   14721: /* end confdefs.h.  */
                   14722: 
                   14723: int
                   14724: main ()
                   14725: {
1.1.1.4   root     14726: int main(){return 0;}
1.1.1.19  root     14727:   ;
                   14728:   return 0;
                   14729: }
                   14730: _ACEOF
                   14731: rm -f conftest.$ac_objext
1.1.1.22  root     14732: if { (ac_try="$ac_compile"
                   14733: case "(($ac_try" in
                   14734:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14735:   *) ac_try_echo=$ac_try;;
                   14736: esac
                   14737: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14738:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     14739:   ac_status=$?
                   14740:   grep -v '^ *+' conftest.er1 >conftest.err
                   14741:   rm -f conftest.er1
                   14742:   cat conftest.err >&5
                   14743:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14744:   (exit $ac_status); } && {
                   14745:         test -z "$ac_c_werror_flag" ||
                   14746:         test ! -s conftest.err
                   14747:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     14748:   SAVECFLAGS=$CFLAGS
1.1.1.4   root     14749: else
1.1.1.19  root     14750:   echo "$as_me: failed program was:" >&5
                   14751: sed 's/^/| /' conftest.$ac_ext >&5
                   14752: 
1.1.1.22  root     14753: 
1.1.1.4   root     14754: fi
1.1.1.22  root     14755: 
                   14756: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14757:   CFLAGS=$SAVECFLAGS
                   14758: fi
                   14759: 
1.1.1.10  root     14760: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14761:   SAVECFLAGS=$CFLAGS
1.1.1.19  root     14762:   CFLAGS="$CFLAGS -fno-reorder-blocks"
                   14763:   cat >conftest.$ac_ext <<_ACEOF
                   14764: /* confdefs.h.  */
                   14765: _ACEOF
                   14766: cat confdefs.h >>conftest.$ac_ext
                   14767: cat >>conftest.$ac_ext <<_ACEOF
                   14768: /* end confdefs.h.  */
1.1.1.10  root     14769: 
1.1.1.19  root     14770: int
                   14771: main ()
                   14772: {
1.1.1.10  root     14773: int main(){return 0;}
1.1.1.19  root     14774:   ;
                   14775:   return 0;
                   14776: }
                   14777: _ACEOF
                   14778: rm -f conftest.$ac_objext
1.1.1.22  root     14779: if { (ac_try="$ac_compile"
                   14780: case "(($ac_try" in
                   14781:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14782:   *) ac_try_echo=$ac_try;;
                   14783: esac
                   14784: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14785:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     14786:   ac_status=$?
                   14787:   grep -v '^ *+' conftest.er1 >conftest.err
                   14788:   rm -f conftest.er1
                   14789:   cat conftest.err >&5
                   14790:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14791:   (exit $ac_status); } && {
                   14792:         test -z "$ac_c_werror_flag" ||
                   14793:         test ! -s conftest.err
                   14794:        } && test -s conftest.$ac_objext; then
1.1.1.19  root     14795:   NO_REORDER_CFLAGS="-fno-reorder-blocks"
1.1.1.10  root     14796: else
1.1.1.19  root     14797:   echo "$as_me: failed program was:" >&5
                   14798: sed 's/^/| /' conftest.$ac_ext >&5
                   14799: 
1.1.1.22  root     14800: 
1.1.1.10  root     14801: fi
1.1.1.22  root     14802: 
                   14803: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     14804:   CFLAGS=$SAVECFLAGS
                   14805: fi
                   14806: 
1.1.1.4   root     14807: 
                   14808: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" ]; then
                   14809:   SAVECFLAGS=$CFLAGS
                   14810:   CFLAGS="$CFLAGS -fno-exceptions"
                   14811:   NOEXCEPTIONS=no
1.1.1.19  root     14812:   cat >conftest.$ac_ext <<_ACEOF
                   14813: /* confdefs.h.  */
                   14814: _ACEOF
                   14815: cat confdefs.h >>conftest.$ac_ext
                   14816: cat >>conftest.$ac_ext <<_ACEOF
                   14817: /* end confdefs.h.  */
1.1.1.4   root     14818: 
1.1.1.19  root     14819: int
                   14820: main ()
                   14821: {
1.1.1.4   root     14822: int main(){return 0;}
1.1.1.19  root     14823:   ;
                   14824:   return 0;
                   14825: }
                   14826: _ACEOF
                   14827: rm -f conftest.$ac_objext
1.1.1.22  root     14828: if { (ac_try="$ac_compile"
                   14829: case "(($ac_try" in
                   14830:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   14831:   *) ac_try_echo=$ac_try;;
                   14832: esac
                   14833: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   14834:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     14835:   ac_status=$?
                   14836:   grep -v '^ *+' conftest.er1 >conftest.err
                   14837:   rm -f conftest.er1
                   14838:   cat conftest.err >&5
                   14839:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     14840:   (exit $ac_status); } && {
                   14841:         test -z "$ac_c_werror_flag" ||
                   14842:         test ! -s conftest.err
                   14843:        } && test -s conftest.$ac_objext; then
1.1.1.4   root     14844:   NOEXCEPTIONS=yes
                   14845: else
1.1.1.19  root     14846:   echo "$as_me: failed program was:" >&5
                   14847: sed 's/^/| /' conftest.$ac_ext >&5
                   14848: 
1.1.1.22  root     14849: 
1.1.1.4   root     14850: fi
1.1.1.22  root     14851: 
                   14852: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   root     14853:   if [ "x$NOEXCEPTIONS" = "xno" ]; then
                   14854:     CFLAGS=$SAVECFLAGS
                   14855:   fi
                   14856: fi
                   14857: 
                   14858: 
                   14859: 
                   14860: if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEI386" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14861:   MACHDEP=md-i386-gcc
1.1.1.6   root     14862:         CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
                   14863: 
1.1.1.14  root     14864:   CFLAGS="$CFLAGS -DX86_ASSEMBLY -DOPTIMIZED_FLAGS"
                   14865:   ASMOBJS=md-X86.o
1.1.1.6   root     14866: else if test $uae_cv_prog_cc_watcom = yes; then
                   14867:   MACHDEP=md-i386-watcom
                   14868:   echo CFLAGS before: $CFLAGS
                   14869:   CFLAGS=`echo $CFLAGS | sed 's, -g , ,' |sed 's,^-g ,,'`
                   14870:   CFLAGS="$CFLAGS --/--bm --/--mf --/--w4 --/--s --/--ei --/--zp4 --/--5r"
                   14871:   CFLAGS="$CFLAGS --/--oe=50 --/--oi --/--ok --/--ol --/--ot --/--oh --/--or --/--zq"
                   14872:   CFLAGS="$CFLAGS -DREGPARAM= -DUNALIGNED_PROFITABLE"
                   14873:   echo CFLAGS after:  $CFLAGS
1.1.1.11  root     14874: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVEPPC" = "xyes" ]; then
                   14875:   MACHDEP=md-ppc-gcc
                   14876:   CFLAGS="$CFLAGS -DREGPARAM="
                   14877:   if [ "x$HAVE_MOTO_LIB" = "xyes" ]; then
                   14878:     MATHLIB="-lmoto $MATHLIB"
                   14879:   fi
1.1.1.7   root     14880: else if [ "x$TARGET" = "xamigaos" ]; then
1.1.1.4   root     14881:   OSDEP=od-amiga
1.1.1.7   root     14882:   CPU=`uname -m`
                   14883:   if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" ]; then
                   14884:     MACHDEP=md-68k
                   14885:     CFLAGS="$CFLAGS -DUNALIGNED_PROFITABLE -DREGPARAM=\"__attribute__((regparm(4)))\" -DM68K_FLAG_OPT=1"
                   14886:   else if [ "x$HAVEGCC27" = "xyes" -a "x$CPU" = "xppc" ]; then
                   14887:     MACHDEP=md-ppc-gcc
                   14888:   else
                   14889:         CFLAGS="$CFLAGS -O -DREGPARAM="
                   14890:   fi
1.1.1.19  root     14891:   CPUOBJS="cpuemu1.o cpuemu2.o cpuemu3.o cpuemu4.o cpuemu5.o cpuemu6.o cpuemu7.o cpuemu8.o"
1.1.1.7   root     14892:   fi
1.1.1.4   root     14893: else if [ "x$HAVEGCC27" = "xyes" -a "x$HAVE68K" = "xyes" -a "x$DO_PROFILING" = "xno" ]; then
                   14894:     MACHDEP=md-68k
                   14895:   CFLAGS="$CFLAGS -DM68K_FLAG_OPT=1 -DREGPARAM="
                   14896: else if [ "x$TARGET" = "xbeos" ]; then
                   14897:   MACHDEP=md-ppc
                   14898:   CFLAGS="$CFLAGS -DREGPARAM="
                   14899:   OSDEP=od-beos
1.1       root     14900: else
1.1.1.3   root     14901:   CFLAGS="$CFLAGS -DREGPARAM="
                   14902: fi
                   14903: fi
1.1       root     14904: fi
1.1.1.4   root     14905: fi
                   14906: fi
                   14907: fi
                   14908: 
1.1.1.16  root     14909: FSDBOBJS=fsdb_unix.o
1.1.1.6   root     14910: if [ "x$TARGET" = "xwin32" ]; then
                   14911:   OSDEP=od-win32
1.1.1.16  root     14912:   FSDBOBJS=osdep/fsdb_win32.o
1.1.1.19  root     14913:   if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.6   root     14914:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32 -lcomdlg32 -luser32 -lgdi32 -lkernel32 -ladvapi32 -lshell32"
                   14915:   else if test $uae_cv_prog_cc_watcom = yes; then
                   14916:     LIBS="$LIBS -lddraw -lwinmm -lcomctl32"
                   14917:   fi
                   14918:   fi
                   14919: else if [ "x$HAVELINUX" = "xyes" ]; then
1.1.1.4   root     14920:   OSDEP=od-linux
                   14921: fi
1.1.1.6   root     14922: fi
1.1       root     14923: 
1.1.1.4   root     14924: if [ "x$TARGET" = "xx11" -o "x$TARGET" = "xsvgalib" -o "x$TARGET" = "xamigaos" \
1.1.1.23! root     14925:      -o "x$TARGET" = "xbeos" -o "x$TARGET" = "xasciiart" ]; then
1.1.1.2   root     14926:     CFLAGS="$CFLAGS -DUSE_ZFILE"
                   14927: fi
                   14928: 
1.1.1.22  root     14929: { echo "$as_me:$LINENO: checking which sound system to use" >&5
                   14930: echo $ECHO_N "checking which sound system to use... $ECHO_C" >&6; }
                   14931: # Check whether --enable-file-sound was given.
1.1.1.4   root     14932: if test "${enable_file_sound+set}" = set; then
1.1.1.22  root     14933:   enableval=$enable_file_sound; USE_FILE_SOUND=$enableval
                   14934: fi
                   14935: 
1.1.1.4   root     14936: 
                   14937: if [ "x$USE_FILE_SOUND" = "xyes" ]; then
1.1.1.22  root     14938:   { echo "$as_me:$LINENO: result: file output" >&5
                   14939: echo "${ECHO_T}file output" >&6; }
1.1.1.7   root     14940:   SOUNDDEP=sd-file
1.1.1.19  root     14941:   USE_SOUND=yes
1.1.1.17  root     14942: else if [ "x$WANT_SDLSND" = "xyes" ]; then
1.1.1.22  root     14943:   { echo "$as_me:$LINENO: result: SDL" >&5
                   14944: echo "${ECHO_T}SDL" >&6; }
1.1.1.16  root     14945:   SOUNDDEP=sd-sdl
                   14946:   USE_SOUND=yes
                   14947:   NEED_THREAD_SUPPORT=yes
1.1.1.23! root     14948:   if [ "x$HAVE_ALSA" = "xyes" -o "x$HAVE_OSS_SOUND" = "xyes" ]; then
        !          14949:     NR_WARNINGS=`expr $NR_WARNINGS + 1`
        !          14950:     echo "SDL sound support was selected, but OSS or ALSA are more reliable."
        !          14951:   fi
1.1.1.19  root     14952: else if [ "x$WANT_ALSA" = "xyes" ]; then
1.1.1.22  root     14953:   { echo "$as_me:$LINENO: result: ALSA" >&5
                   14954: echo "${ECHO_T}ALSA" >&6; }
1.1.1.19  root     14955:   SOUNDDEP=sd-alsa
                   14956:   USE_SOUND=yes
1.1.1.23! root     14957: else if [ "x$HAVE_OSS_SOUND" = "xyes" ]; then
        !          14958:   { echo "$as_me:$LINENO: result: OSS" >&5
        !          14959: echo "${ECHO_T}OSS" >&6; }
1.1.1.7   root     14960:   SOUNDDEP=sd-uss
1.1.1.4   root     14961:   USE_SOUND=yes
1.1.1.7   root     14962: else if [ "x$ac_cv_header_sys_audioio_h" = "xyes" -o "x$ac_cv_header_sun_audioio_h" = "xyes" ]; then
1.1.1.22  root     14963:   { echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
                   14964: echo "${ECHO_T}Solaris/NetBSD" >&6; }
1.1.1.7   root     14965:   SOUNDDEP=sd-solaris
                   14966:   USE_SOUND=yes
                   14967: else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
1.1.1.22  root     14968:   { echo "$as_me:$LINENO: result: AF sound" >&5
                   14969: echo "${ECHO_T}AF sound" >&6; }
1.1.1.7   root     14970:   SOUNDDEP=sd-af
                   14971:   LIBS="$LIBS -lAF"
                   14972:   USE_SOUND=yes
1.1.1.8   root     14973: else if [ "x$HAVE_SGIAUDIO_LIB" = "xyes" ]; then
1.1.1.22  root     14974:   { echo "$as_me:$LINENO: result: SGI sound" >&5
                   14975: echo "${ECHO_T}SGI sound" >&6; }
1.1.1.8   root     14976:   SOUNDDEP=sd-sgi
                   14977:   LIBS="$LIBS -laudio"
                   14978:   USE_SOUND=yes
1.1.1.7   root     14979: else if [ "x$HAVE_MME_LIB" = "xyes" ]; then
1.1.1.22  root     14980:   { echo "$as_me:$LINENO: result: MME sound" >&5
                   14981: echo "${ECHO_T}MME sound" >&6; }
1.1.1.7   root     14982:   SOUNDDEP=sd-mme
                   14983:   LIBS="$LIBS -lmme"
                   14984:   USE_SOUND=yes
                   14985: else if [ "x$TARGET" = "xamigaos" ]; then
                   14986:   if [ "x$ac_cv_header_devices_ahi_h" = "xyes" ]; then
1.1.1.22  root     14987:     { echo "$as_me:$LINENO: result: Amiga AHI.device" >&5
                   14988: echo "${ECHO_T}Amiga AHI.device" >&6; }
1.1.1.4   root     14989:   else
1.1.1.22  root     14990:     { echo "$as_me:$LINENO: result: Amiga audio.device" >&5
                   14991: echo "${ECHO_T}Amiga audio.device" >&6; }
1.1.1.6   root     14992:   fi
1.1.1.7   root     14993:   SOUNDDEP=od-amiga
                   14994:   USE_SOUND=yes
                   14995: else if [ "x$TARGET" = "xbeos" ]; then
1.1.1.22  root     14996:   { echo "$as_me:$LINENO: result: BeOS sound" >&5
                   14997: echo "${ECHO_T}BeOS sound" >&6; }
1.1.1.7   root     14998:   SOUNDDEP=od-beos
                   14999:   USE_SOUND=yes
                   15000: else if [ "x$TARGET" = "xwin32" ]; then
1.1.1.22  root     15001:   { echo "$as_me:$LINENO: result: Win32 sound" >&5
                   15002: echo "${ECHO_T}Win32 sound" >&6; }
1.1.1.7   root     15003:   SOUNDDEP=od-win32
                   15004:   USE_SOUND=yes
                   15005: else
                   15006:   echo "no known sound system found"
                   15007:   NR_ERRORS=`expr $NR_ERRORS + 1`
                   15008: fi
                   15009: fi
                   15010: fi
                   15011: fi
1.1.1.4   root     15012: fi
1.1.1.7   root     15013: fi
                   15014: fi
                   15015: fi
                   15016: fi
1.1.1.8   root     15017: fi
1.1.1.16  root     15018: fi
                   15019: 
                   15020: if [ "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   15021:   if [ "x$USE_THREADS" != "xyes" ]; then
                   15022:     echo "Threads are needed for this configuration; enabling thread support."
                   15023:   fi
                   15024: fi
                   15025: 
                   15026: if [ "x$USE_THREADS" = "xyes" -o "x$NEED_THREAD_SUPPORT" = "xyes" ]; then
                   15027:   if [ "x$WANT_SDL" = "xyes" ]; then
                   15028:     THREADDEP=td-sdl
1.1.1.23! root     15029:     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
1.1.1.16  root     15030:   else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
                   15031:     THREADDEP=td-posix
                   15032:     CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
                   15033:     LIBS="$LIBS -lpthread"
                   15034:     if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
                   15035:       LIBS="$LIBS -lposix4"
                   15036:     fi
                   15037: 
1.1.1.19  root     15038:     if [ "x$USE_THREADS" = "xyes" ]; then
1.1.1.16  root     15039:       CFLAGS="$CFLAGS -DUAE_FILESYS_THREADS"
                   15040:     fi
                   15041: 
                   15042:     if [ "x$TARGET" = "xsvgalib" ]; then
                   15043:       echo "If you didn't compile a fixed version of SVGAlib then thread support"
                   15044:       echo "in UAE will lock your machine real hard."
                   15045:       NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   15046:     fi
                   15047:   else
                   15048:     echo "You tried to enable threads, but I couldn't find a thread library!"
                   15049:     NR_ERRORS=`expr $NR_ERRORS + 1`
                   15050:   fi
                   15051:   fi
                   15052: fi
1.1.1.7   root     15053: 
1.1.1.10  root     15054: SCSIOBJS=scsi-none.o
1.1.1.22  root     15055: # Check whether --enable-scsi-device was given.
1.1.1.10  root     15056: if test "${enable_scsi_device+set}" = set; then
1.1.1.22  root     15057:   enableval=$enable_scsi_device; USE_SCSI_DEVICE=$enableval
                   15058: fi
                   15059: 
1.1.1.10  root     15060: if [ "x$USE_SCSI_DEVICE" = "xyes" ]; then
1.1.1.22  root     15061:   { echo "$as_me:$LINENO: checking \"availability of libscg headers and lib\"" >&5
                   15062: echo $ECHO_N "checking \"availability of libscg headers and lib\"... $ECHO_C" >&6; }
1.1.1.13  root     15063:   OLDLIBS="$LIBS"
1.1.1.14  root     15064:   OLDCFLAGS="$CFLAGS"
                   15065:   CFLAGS="$CFLAGS -Isrc/include"
                   15066:   LIBS="-Lsrc $LIBS -lscg -lschily"
1.1.1.19  root     15067:   cat >conftest.$ac_ext <<_ACEOF
                   15068: /* confdefs.h.  */
                   15069: _ACEOF
                   15070: cat confdefs.h >>conftest.$ac_ext
                   15071: cat >>conftest.$ac_ext <<_ACEOF
                   15072: /* end confdefs.h.  */
1.1.1.14  root     15073: typedef int BOOL;
1.1.1.13  root     15074: #include "scg/scgcmd.h"
                   15075: #include "scg/scsitransp.h"
                   15076: #include "scg/scsireg.h"
1.1.1.19  root     15077: int
                   15078: main ()
                   15079: {
1.1.1.13  root     15080: {SCSI *scgp = open_scsi ((void *)0, (void *)0, 0, 1, 1);}
1.1.1.19  root     15081:   ;
                   15082:   return 0;
                   15083: }
                   15084: _ACEOF
                   15085: rm -f conftest.$ac_objext conftest$ac_exeext
1.1.1.22  root     15086: if { (ac_try="$ac_link"
                   15087: case "(($ac_try" in
                   15088:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   15089:   *) ac_try_echo=$ac_try;;
                   15090: esac
                   15091: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   15092:   (eval "$ac_link") 2>conftest.er1
1.1.1.19  root     15093:   ac_status=$?
                   15094:   grep -v '^ *+' conftest.er1 >conftest.err
                   15095:   rm -f conftest.er1
                   15096:   cat conftest.err >&5
                   15097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     15098:   (exit $ac_status); } && {
                   15099:         test -z "$ac_c_werror_flag" ||
                   15100:         test ! -s conftest.err
                   15101:        } && test -s conftest$ac_exeext &&
                   15102:        $as_test_x conftest$ac_exeext; then
1.1.1.19  root     15103: 
1.1.1.22  root     15104:     { echo "$as_me:$LINENO: result: available" >&5
                   15105: echo "${ECHO_T}available" >&6; }
1.1.1.10  root     15106:     SCSIOBJS=scsidev.o
1.1.1.19  root     15107: 
1.1.1.13  root     15108: else
1.1.1.19  root     15109:   echo "$as_me: failed program was:" >&5
                   15110: sed 's/^/| /' conftest.$ac_ext >&5
                   15111: 
                   15112: 
1.1.1.22  root     15113:      { echo "$as_me:$LINENO: result: not available" >&5
                   15114: echo "${ECHO_T}not available" >&6; }
1.1.1.13  root     15115:      NR_WARNINGS=`expr $NR_WARNINGS + 1`
                   15116:      echo "Please refer to the UAE SCSI device section in docs/README for installation instructions."
                   15117:      LIBS="$OLDLIBS"
1.1.1.19  root     15118: 
1.1.1.13  root     15119: fi
1.1.1.22  root     15120: 
                   15121: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1.1.19  root     15122:       conftest$ac_exeext conftest.$ac_ext
1.1.1.14  root     15123:   CFLAGS="$OLDCFLAGS"
1.1.1.10  root     15124: fi
                   15125: 
                   15126: 
1.1.1.16  root     15127: if [ "x$WANT_SDL" = "xyes" ]; then
                   15128:     OD_JOYSTICK=sdl-joystick.c
1.1.1.18  root     15129: else if [ "x$ac_cv_header_machine_joystick_h" = "xyes" ]; then
1.1.1.19  root     15130:     cat >conftest.$ac_ext <<_ACEOF
                   15131: /* confdefs.h.  */
                   15132: _ACEOF
                   15133: cat confdefs.h >>conftest.$ac_ext
                   15134: cat >>conftest.$ac_ext <<_ACEOF
                   15135: /* end confdefs.h.  */
1.1.1.10  root     15136: #include <machine/joystick.h>
1.1.1.19  root     15137: int
                   15138: main ()
                   15139: {
1.1.1.10  root     15140: { struct joystick a; }
1.1.1.19  root     15141:   ;
                   15142:   return 0;
                   15143: }
                   15144: _ACEOF
                   15145: rm -f conftest.$ac_objext
1.1.1.22  root     15146: if { (ac_try="$ac_compile"
                   15147: case "(($ac_try" in
                   15148:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   15149:   *) ac_try_echo=$ac_try;;
                   15150: esac
                   15151: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   15152:   (eval "$ac_compile") 2>conftest.er1
1.1.1.19  root     15153:   ac_status=$?
                   15154:   grep -v '^ *+' conftest.er1 >conftest.err
                   15155:   rm -f conftest.er1
                   15156:   cat conftest.err >&5
                   15157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1.22  root     15158:   (exit $ac_status); } && {
                   15159:         test -z "$ac_c_werror_flag" ||
                   15160:         test ! -s conftest.err
                   15161:        } && test -s conftest.$ac_objext; then
1.1.1.10  root     15162:   OD_JOYSTICK=od-linux/joystick.c
                   15163: else
1.1.1.19  root     15164:   echo "$as_me: failed program was:" >&5
                   15165: sed 's/^/| /' conftest.$ac_ext >&5
                   15166: 
1.1.1.22  root     15167: 
1.1.1.10  root     15168: fi
1.1.1.22  root     15169: 
                   15170: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.10  root     15171: else
                   15172:     OD_JOYSTICK=$OSDEP/joystick.c
                   15173: fi
1.1.1.16  root     15174: fi
1.1.1.4   root     15175: 
                   15176: rm -f src/machdep
                   15177: rm -f src/osdep
1.1.1.23! root     15178: rm -rf src/guidep
1.1.1.4   root     15179: rm -f src/threaddep
                   15180: rm -f src/sounddep
1.1.1.10  root     15181: rm -f src/scsidep
1.1.1.4   root     15182: rm -f src/target.h
1.1.1.6   root     15183: rm -f src/sd-sound.c
                   15184: rm -f src/od-joy.c
                   15185: rm -f src/md-support.c
                   15186: rm -f src/md-X86.S
1.1.1.10  root     15187: rm -f src/scsi-support.c
1.1.1.3   root     15188: 
1.1.1.23! root     15189: if [ "x$TARGET" = "xamigaos" ]; then
1.1.1.22  root     15190:     { echo "$as_me:$LINENO: checking which CPU to use" >&5
                   15191: echo $ECHO_N "checking which CPU to use... $ECHO_C" >&6; }
1.1.1.3   root     15192:   cpu=`cpu | cut -d' ' -f2`
1.1.1.22  root     15193:   { echo "$as_me:$LINENO: result: $cpu" >&5
                   15194: echo "${ECHO_T}$cpu" >&6; }
1.1.1.3   root     15195:   CFLAGS="$CFLAGS -m$cpu"
                   15196: 
1.1.1.22  root     15197:     { echo "$as_me:$LINENO: checking which FPU to use" >&5
                   15198: echo $ECHO_N "checking which FPU to use... $ECHO_C" >&6; }
1.1.1.4   root     15199:   fpu=`cpu | cut -d' ' -f3 | grep '^688812$'`
                   15200:   if [ "x$fpu" != "x" ]; then
1.1.1.22  root     15201:         { echo "$as_me:$LINENO: result: 68881" >&5
                   15202: echo "${ECHO_T}68881" >&6; }
1.1.1.4   root     15203:     CFLAGS="$CFLAGS -m68881"
1.1.1.3   root     15204:   else
1.1.1.22  root     15205:     { echo "$as_me:$LINENO: result: none" >&5
                   15206: echo "${ECHO_T}none" >&6; }
1.1.1.3   root     15207:   fi
                   15208: fi
                   15209: 
1.1.1.23! root     15210: if [ "x$DO_PROFILING" = "xyes" ]; then
        !          15211:   echo "Building a profiling version of UAE (select this option only if you know"
        !          15212:   echo "what you are doing)"
        !          15213: fi
        !          15214: 
        !          15215: 
        !          15216: 
        !          15217: 
        !          15218: if test -f $abssrcdir/src/target.h
        !          15219: then
        !          15220:   echo
        !          15221:   echo "Fatal error: Can't configure in the current directory, because"
        !          15222:   echo "configure was run in the source directory. Go to the source"
        !          15223:   echo "directory, type"
        !          15224:   echo "  make streifenfrei"
        !          15225:   echo "and try again."
        !          15226:   exit 1
        !          15227: fi
        !          15228: 
        !          15229: ac_config_links="$ac_config_links src/osdep:src/$OSDEP"
1.1.1.2   root     15230: 
1.1.1.23! root     15231: ac_config_links="$ac_config_links src/sounddep:src/$SOUNDDEP"
1.1.1.2   root     15232: 
1.1.1.23! root     15233: ac_config_links="$ac_config_links src/threaddep:src/$THREADDEP"
1.1       root     15234: 
1.1.1.23! root     15235: ac_config_links="$ac_config_links src/machdep:src/$MACHDEP"
1.1       root     15236: 
                   15237: 
1.1.1.23! root     15238: mkdir src/guidep
        !          15239: for x in $GUIOBJS_IN; do
        !          15240:   src=`echo $x |sed s,'\.o$,.c,'`
        !          15241:   ac_config_links="$ac_config_links src/guidep/$src:src/$GUIDEP/$src"
1.1       root     15242: 
1.1.1.23! root     15243:   GUIOBJS="$GUIOBJS guidep/$x"
        !          15244: done
1.1       root     15245: 
                   15246: 
1.1.1.23! root     15247: echo "#include \"$abssrcdir/src/targets/$TARGETDEP\"" > src/target.h
1.1       root     15248: 
1.1.1.23! root     15249: echo "#include \"$abssrcdir/src/$SOUNDDEP/sound.c\"" >src/sd-sound.c
        !          15250: echo "#include \"$abssrcdir/src/$OD_JOYSTICK\"" >src/od-joy.c
        !          15251: echo "#include \"$abssrcdir/src/$MACHDEP/support.c\"" >src/md-support.c
1.1       root     15252: 
1.1.1.23! root     15253: if [ "x$MACHDEP" = "xmd-i386-gcc" ]; then
        !          15254:   echo "#include \"machdep/X86.S\"" >src/md-X86.S
        !          15255: fi
        !          15256: echo "#include \"$abssrcdir/src/include/$FPP_H\"" >src/md-fpp.h
1.1       root     15257: 
1.1.1.23! root     15258: mkdir -p src/keymap
1.1.1.3   root     15259: 
1.1.1.4   root     15260: 
1.1.1.3   root     15261: 
                   15262: 
                   15263: 
1.1.1.6   root     15264: 
1.1.1.16  root     15265: 
1.1.1.19  root     15266: 
1.1.1.22  root     15267: 
                   15268: 
                   15269: 
                   15270: 
                   15271: 
                   15272: 
                   15273: 
                   15274: 
                   15275: 
                   15276: 
1.1.1.23! root     15277: 
        !          15278: 
        !          15279: 
        !          15280: ac_config_files="$ac_config_files src/Makefile Makefile"
1.1.1.22  root     15281: 
1.1.1.19  root     15282: 
                   15283: cat >confcache <<\_ACEOF
1.1       root     15284: # This file is a shell script that caches the results of configure
                   15285: # tests run on this system so they can be shared between configure
1.1.1.19  root     15286: # scripts and configure runs, see configure's option --config-cache.
                   15287: # It is not useful on other systems.  If it contains results you don't
                   15288: # want to keep, you may remove or edit it.
1.1       root     15289: #
1.1.1.19  root     15290: # config.status only pays attention to the cache file if you give it
                   15291: # the --recheck option to rerun configure.
1.1       root     15292: #
1.1.1.19  root     15293: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   15294: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   15295: # following values.
                   15296: 
                   15297: _ACEOF
                   15298: 
1.1.1.4   root     15299: # The following way of writing the cache mishandles newlines in values,
                   15300: # but we know of no workaround that is simple, portable, and efficient.
1.1.1.22  root     15301: # So, we kill variables containing newlines.
1.1       root     15302: # Ultrix sh set writes to stderr and can't be redirected directly,
                   15303: # and sets the high bit in the cache file unless we assign to the vars.
1.1.1.22  root     15304: (
                   15305:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   15306:     eval ac_val=\$$ac_var
                   15307:     case $ac_val in #(
                   15308:     *${as_nl}*)
                   15309:       case $ac_var in #(
                   15310:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
                   15311: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
                   15312:       esac
                   15313:       case $ac_var in #(
                   15314:       _ | IFS | as_nl) ;; #(
                   15315:       *) $as_unset $ac_var ;;
                   15316:       esac ;;
                   15317:     esac
                   15318:   done
                   15319: 
1.1.1.19  root     15320:   (set) 2>&1 |
1.1.1.22  root     15321:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   15322:     *${as_nl}ac_space=\ *)
1.1.1.19  root     15323:       # `set' does not quote correctly, so add quotes (double-quote
                   15324:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   15325:       sed -n \
                   15326:        "s/'/'\\\\''/g;
                   15327:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.1.1.22  root     15328:       ;; #(
1.1.1.19  root     15329:     *)
                   15330:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.1.1.22  root     15331:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1.1.19  root     15332:       ;;
1.1.1.22  root     15333:     esac |
                   15334:     sort
                   15335: ) |
1.1.1.19  root     15336:   sed '
1.1.1.22  root     15337:      /^ac_cv_env_/b end
1.1.1.19  root     15338:      t clear
1.1.1.22  root     15339:      :clear
1.1.1.19  root     15340:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   15341:      t end
1.1.1.22  root     15342:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   15343:      :end' >>confcache
                   15344: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   15345:   if test -w "$cache_file"; then
                   15346:     test "x$cache_file" != "x/dev/null" &&
                   15347:       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
                   15348: echo "$as_me: updating cache $cache_file" >&6;}
1.1.1.19  root     15349:     cat confcache >$cache_file
1.1       root     15350:   else
1.1.1.22  root     15351:     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
                   15352: echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       root     15353:   fi
                   15354: fi
                   15355: rm -f confcache
                   15356: 
                   15357: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   15358: # Let make expand exec_prefix.
                   15359: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   15360: 
                   15361: DEFS=-DHAVE_CONFIG_H
                   15362: 
1.1.1.19  root     15363: ac_libobjs=
                   15364: ac_ltlibobjs=
                   15365: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   15366:   # 1. Remove the extension, and $U if already installed.
1.1.1.22  root     15367:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   15368:   ac_i=`echo "$ac_i" | sed "$ac_script"`
                   15369:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   15370:   #    will be set to the directory where LIBOBJS objects are built.
                   15371:   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   15372:   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.1.1.19  root     15373: done
                   15374: LIBOBJS=$ac_libobjs
                   15375: 
                   15376: LTLIBOBJS=$ac_ltlibobjs
                   15377: 
1.1       root     15378: 
1.1.1.19  root     15379: 
                   15380: : ${CONFIG_STATUS=./config.status}
                   15381: ac_clean_files_save=$ac_clean_files
                   15382: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   15383: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   15384: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   15385: cat >$CONFIG_STATUS <<_ACEOF
                   15386: #! $SHELL
                   15387: # Generated by $as_me.
1.1       root     15388: # Run this file to recreate the current configuration.
                   15389: # Compiler output produced by configure, useful for debugging
1.1.1.19  root     15390: # configure, is in config.log if it exists.
1.1       root     15391: 
1.1.1.19  root     15392: debug=false
                   15393: ac_cs_recheck=false
                   15394: ac_cs_silent=false
                   15395: SHELL=\${CONFIG_SHELL-$SHELL}
                   15396: _ACEOF
                   15397: 
                   15398: cat >>$CONFIG_STATUS <<\_ACEOF
                   15399: ## --------------------- ##
                   15400: ## M4sh Initialization.  ##
                   15401: ## --------------------- ##
                   15402: 
1.1.1.22  root     15403: # Be more Bourne compatible
                   15404: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.19  root     15405: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   15406:   emulate sh
                   15407:   NULLCMD=:
                   15408:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   15409:   # is contrary to our usage.  Disable this feature.
                   15410:   alias -g '${1+"$@"}'='"$@"'
1.1.1.22  root     15411:   setopt NO_GLOB_SUBST
                   15412: else
                   15413:   case `(set -o) 2>/dev/null` in
                   15414:   *posix*) set -o posix ;;
                   15415: esac
                   15416: 
                   15417: fi
                   15418: 
                   15419: 
                   15420: 
                   15421: 
                   15422: # PATH needs CR
                   15423: # Avoid depending upon Character Ranges.
                   15424: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   15425: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   15426: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   15427: as_cr_digits='0123456789'
                   15428: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   15429: 
                   15430: # The user is always right.
                   15431: if test "${PATH_SEPARATOR+set}" != set; then
                   15432:   echo "#! /bin/sh" >conf$$.sh
                   15433:   echo  "exit 0"   >>conf$$.sh
                   15434:   chmod +x conf$$.sh
                   15435:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   15436:     PATH_SEPARATOR=';'
                   15437:   else
                   15438:     PATH_SEPARATOR=:
                   15439:   fi
                   15440:   rm -f conf$$.sh
1.1.1.19  root     15441: fi
                   15442: 
                   15443: # Support unset when possible.
                   15444: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   15445:   as_unset=unset
                   15446: else
                   15447:   as_unset=false
                   15448: fi
                   15449: 
                   15450: 
1.1.1.22  root     15451: # IFS
                   15452: # We need space, tab and new line, in precisely that order.  Quoting is
                   15453: # there to prevent editors from complaining about space-tab.
                   15454: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   15455: # splitting by setting IFS to empty value.)
                   15456: as_nl='
                   15457: '
                   15458: IFS=" ""       $as_nl"
                   15459: 
                   15460: # Find who we are.  Look in the path if we contain no directory separator.
                   15461: case $0 in
                   15462:   *[\\/]* ) as_myself=$0 ;;
                   15463:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15464: for as_dir in $PATH
                   15465: do
                   15466:   IFS=$as_save_IFS
                   15467:   test -z "$as_dir" && as_dir=.
                   15468:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   15469: done
                   15470: IFS=$as_save_IFS
                   15471: 
                   15472:      ;;
                   15473: esac
                   15474: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   15475: # in which case we are not to be found in the path.
                   15476: if test "x$as_myself" = x; then
                   15477:   as_myself=$0
                   15478: fi
                   15479: if test ! -f "$as_myself"; then
                   15480:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   15481:   { (exit 1); exit 1; }
                   15482: fi
                   15483: 
1.1.1.19  root     15484: # Work around bugs in pre-3.0 UWIN ksh.
1.1.1.22  root     15485: for as_var in ENV MAIL MAILPATH
                   15486: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
                   15487: done
1.1.1.19  root     15488: PS1='$ '
                   15489: PS2='> '
                   15490: PS4='+ '
                   15491: 
                   15492: # NLS nuisances.
                   15493: for as_var in \
                   15494:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   15495:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   15496:   LC_TELEPHONE LC_TIME
                   15497: do
                   15498:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   15499:     eval $as_var=C; export $as_var
                   15500:   else
1.1.1.22  root     15501:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.1.1.19  root     15502:   fi
                   15503: done
                   15504: 
                   15505: # Required to use basename.
1.1.1.22  root     15506: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   15507:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1.1.19  root     15508:   as_expr=expr
                   15509: else
                   15510:   as_expr=false
                   15511: fi
                   15512: 
1.1.1.22  root     15513: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1.1.19  root     15514:   as_basename=basename
                   15515: else
                   15516:   as_basename=false
                   15517: fi
                   15518: 
                   15519: 
                   15520: # Name of the executable.
1.1.1.22  root     15521: as_me=`$as_basename -- "$0" ||
1.1.1.19  root     15522: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   15523:         X"$0" : 'X\(//\)$' \| \
1.1.1.22  root     15524:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.19  root     15525: echo X/"$0" |
1.1.1.22  root     15526:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   15527:            s//\1/
                   15528:            q
                   15529:          }
                   15530:          /^X\/\(\/\/\)$/{
                   15531:            s//\1/
                   15532:            q
                   15533:          }
                   15534:          /^X\/\(\/\).*/{
                   15535:            s//\1/
                   15536:            q
                   15537:          }
                   15538:          s/.*/./; q'`
1.1.1.19  root     15539: 
1.1.1.22  root     15540: # CDPATH.
                   15541: $as_unset CDPATH
1.1.1.19  root     15542: 
                   15543: 
                   15544: 
                   15545:   as_lineno_1=$LINENO
                   15546:   as_lineno_2=$LINENO
                   15547:   test "x$as_lineno_1" != "x$as_lineno_2" &&
1.1.1.22  root     15548:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.1.1.19  root     15549: 
                   15550:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   15551:   # uniformly replaced by the line number.  The first 'sed' inserts a
1.1.1.22  root     15552:   # line-number line after each line using $LINENO; the second 'sed'
                   15553:   # does the real work.  The second script uses 'N' to pair each
                   15554:   # line-number line with the line containing $LINENO, and appends
                   15555:   # trailing '-' during substitution so that $LINENO is not a special
                   15556:   # case at line end.
1.1.1.19  root     15557:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.1.1.22  root     15558:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
                   15559:   # E. McMahon (1931-1989) for sed's syntax.  :-)
                   15560:   sed -n '
                   15561:     p
                   15562:     /[$]LINENO/=
                   15563:   ' <$as_myself |
1.1.1.19  root     15564:     sed '
1.1.1.22  root     15565:       s/[$]LINENO.*/&-/
                   15566:       t lineno
                   15567:       b
                   15568:       :lineno
1.1.1.19  root     15569:       N
1.1.1.22  root     15570:       :loop
                   15571:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1.1.19  root     15572:       t loop
1.1.1.22  root     15573:       s/-\n.*//
1.1.1.19  root     15574:     ' >$as_me.lineno &&
1.1.1.22  root     15575:   chmod +x "$as_me.lineno" ||
                   15576:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.1.1.19  root     15577:    { (exit 1); exit 1; }; }
                   15578: 
                   15579:   # Don't try to exec as it changes $[0], causing all sort of problems
                   15580:   # (the dirname of $[0] is not the place where we might find the
1.1.1.22  root     15581:   # original and so on.  Autoconf is especially sensitive to this).
                   15582:   . "./$as_me.lineno"
1.1.1.19  root     15583:   # Exit status is that of the last command.
                   15584:   exit
                   15585: }
                   15586: 
                   15587: 
1.1.1.22  root     15588: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   15589:   as_dirname=dirname
                   15590: else
                   15591:   as_dirname=false
                   15592: fi
                   15593: 
                   15594: ECHO_C= ECHO_N= ECHO_T=
                   15595: case `echo -n x` in
                   15596: -n*)
                   15597:   case `echo 'x\c'` in
                   15598:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   15599:   *)   ECHO_C='\c';;
                   15600:   esac;;
                   15601: *)
                   15602:   ECHO_N='-n';;
1.1.1.19  root     15603: esac
                   15604: 
1.1.1.22  root     15605: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   15606:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1.1.19  root     15607:   as_expr=expr
                   15608: else
                   15609:   as_expr=false
                   15610: fi
                   15611: 
                   15612: rm -f conf$$ conf$$.exe conf$$.file
1.1.1.22  root     15613: if test -d conf$$.dir; then
                   15614:   rm -f conf$$.dir/conf$$.file
                   15615: else
                   15616:   rm -f conf$$.dir
                   15617:   mkdir conf$$.dir
                   15618: fi
1.1.1.19  root     15619: echo >conf$$.file
                   15620: if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1.1.22  root     15621:   as_ln_s='ln -s'
                   15622:   # ... but there are two gotchas:
                   15623:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   15624:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   15625:   # In both cases, we have to default to `cp -p'.
                   15626:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.19  root     15627:     as_ln_s='cp -p'
                   15628: elif ln conf$$.file conf$$ 2>/dev/null; then
                   15629:   as_ln_s=ln
                   15630: else
                   15631:   as_ln_s='cp -p'
                   15632: fi
1.1.1.22  root     15633: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   15634: rmdir conf$$.dir 2>/dev/null
1.1.1.19  root     15635: 
                   15636: if mkdir -p . 2>/dev/null; then
                   15637:   as_mkdir_p=:
                   15638: else
                   15639:   test -d ./-p && rmdir ./-p
                   15640:   as_mkdir_p=false
                   15641: fi
                   15642: 
1.1.1.22  root     15643: if test -x / >/dev/null 2>&1; then
                   15644:   as_test_x='test -x'
                   15645: else
                   15646:   if ls -dL / >/dev/null 2>&1; then
                   15647:     as_ls_L_option=L
                   15648:   else
                   15649:     as_ls_L_option=
                   15650:   fi
                   15651:   as_test_x='
                   15652:     eval sh -c '\''
                   15653:       if test -d "$1"; then
                   15654:         test -d "$1/.";
                   15655:       else
                   15656:        case $1 in
                   15657:         -*)set "./$1";;
                   15658:        esac;
                   15659:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
                   15660:        ???[sx]*):;;*)false;;esac;fi
                   15661:     '\'' sh
                   15662:   '
                   15663: fi
                   15664: as_executable_p=$as_test_x
1.1.1.19  root     15665: 
                   15666: # Sed expression to map a string onto a valid CPP name.
                   15667: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   15668: 
                   15669: # Sed expression to map a string onto a valid variable name.
                   15670: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   15671: 
                   15672: 
                   15673: exec 6>&1
                   15674: 
1.1.1.22  root     15675: # Save the log message, to keep $[0] and so on meaningful, and to
1.1.1.19  root     15676: # report actual input values of CONFIG_FILES etc. instead of their
1.1.1.22  root     15677: # values after options handling.
                   15678: ac_log="
1.1.1.23! root     15679: This file was extended by UAE $as_me 0.8.27, which was
1.1.1.22  root     15680: generated by GNU Autoconf 2.61.  Invocation command line was
1.1.1.19  root     15681: 
                   15682:   CONFIG_FILES    = $CONFIG_FILES
                   15683:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15684:   CONFIG_LINKS    = $CONFIG_LINKS
                   15685:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15686:   $ $0 $@
                   15687: 
1.1.1.22  root     15688: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   15689: "
                   15690: 
1.1.1.19  root     15691: _ACEOF
                   15692: 
1.1.1.22  root     15693: cat >>$CONFIG_STATUS <<_ACEOF
1.1.1.19  root     15694: # Files that config.status was made for.
1.1.1.22  root     15695: config_files="$ac_config_files"
                   15696: config_headers="$ac_config_headers"
                   15697: config_links="$ac_config_links"
1.1.1.19  root     15698: 
1.1.1.22  root     15699: _ACEOF
1.1.1.19  root     15700: 
                   15701: cat >>$CONFIG_STATUS <<\_ACEOF
                   15702: ac_cs_usage="\
                   15703: \`$as_me' instantiates files from templates according to the
                   15704: current configuration.
                   15705: 
                   15706: Usage: $0 [OPTIONS] [FILE]...
                   15707: 
                   15708:   -h, --help       print this help, then exit
1.1.1.22  root     15709:   -V, --version    print version number and configuration settings, then exit
1.1.1.19  root     15710:   -q, --quiet      do not print progress messages
                   15711:   -d, --debug      don't remove temporary files
                   15712:       --recheck    update $as_me by reconfiguring in the same conditions
                   15713:   --file=FILE[:TEMPLATE]
                   15714:                   instantiate the configuration file FILE
                   15715:   --header=FILE[:TEMPLATE]
                   15716:                   instantiate the configuration header FILE
                   15717: 
                   15718: Configuration files:
                   15719: $config_files
                   15720: 
                   15721: Configuration headers:
                   15722: $config_headers
                   15723: 
1.1.1.22  root     15724: Configuration links:
                   15725: $config_links
                   15726: 
1.1.1.19  root     15727: Report bugs to <[email protected]>."
                   15728: 
1.1.1.22  root     15729: _ACEOF
1.1.1.19  root     15730: cat >>$CONFIG_STATUS <<_ACEOF
                   15731: ac_cs_version="\\
1.1.1.23! root     15732: UAE config.status 0.8.27
1.1.1.22  root     15733: configured by $0, generated by GNU Autoconf 2.61,
                   15734:   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.1.1.19  root     15735: 
1.1.1.22  root     15736: Copyright (C) 2006 Free Software Foundation, Inc.
1.1.1.19  root     15737: This config.status script is free software; the Free Software Foundation
                   15738: gives unlimited permission to copy, distribute and modify it."
1.1.1.22  root     15739: 
                   15740: ac_pwd='$ac_pwd'
                   15741: srcdir='$srcdir'
1.1.1.23! root     15742: INSTALL='$INSTALL'
1.1.1.19  root     15743: _ACEOF
                   15744: 
                   15745: cat >>$CONFIG_STATUS <<\_ACEOF
                   15746: # If no file are specified by the user, then we need to provide default
                   15747: # value.  By we need to know if files were specified by the user.
                   15748: ac_need_defaults=:
                   15749: while test $# != 0
1.1       root     15750: do
1.1.1.19  root     15751:   case $1 in
                   15752:   --*=*)
1.1.1.22  root     15753:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15754:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.1.1.19  root     15755:     ac_shift=:
                   15756:     ;;
1.1.1.22  root     15757:   *)
1.1.1.19  root     15758:     ac_option=$1
                   15759:     ac_optarg=$2
                   15760:     ac_shift=shift
                   15761:     ;;
                   15762:   esac
                   15763: 
                   15764:   case $ac_option in
                   15765:   # Handling of the options.
1.1       root     15766:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1.19  root     15767:     ac_cs_recheck=: ;;
1.1.1.22  root     15768:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   15769:     echo "$ac_cs_version"; exit ;;
                   15770:   --debug | --debu | --deb | --de | --d | -d )
1.1.1.19  root     15771:     debug=: ;;
                   15772:   --file | --fil | --fi | --f )
                   15773:     $ac_shift
                   15774:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   15775:     ac_need_defaults=false;;
                   15776:   --header | --heade | --head | --hea )
                   15777:     $ac_shift
                   15778:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   15779:     ac_need_defaults=false;;
1.1.1.22  root     15780:   --he | --h)
                   15781:     # Conflict between --help and --header
                   15782:     { echo "$as_me: error: ambiguous option: $1
                   15783: Try \`$0 --help' for more information." >&2
                   15784:    { (exit 1); exit 1; }; };;
                   15785:   --help | --hel | -h )
                   15786:     echo "$ac_cs_usage"; exit ;;
1.1.1.19  root     15787:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15788:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15789:     ac_cs_silent=: ;;
                   15790: 
                   15791:   # This is an error.
1.1.1.22  root     15792:   -*) { echo "$as_me: error: unrecognized option: $1
                   15793: Try \`$0 --help' for more information." >&2
1.1.1.19  root     15794:    { (exit 1); exit 1; }; } ;;
                   15795: 
1.1.1.22  root     15796:   *) ac_config_targets="$ac_config_targets $1"
                   15797:      ac_need_defaults=false ;;
1.1.1.19  root     15798: 
1.1       root     15799:   esac
1.1.1.19  root     15800:   shift
1.1       root     15801: done
                   15802: 
1.1.1.19  root     15803: ac_configure_extra_args=
1.1       root     15804: 
1.1.1.19  root     15805: if $ac_cs_silent; then
                   15806:   exec 6>/dev/null
                   15807:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15808: fi
1.1       root     15809: 
1.1.1.19  root     15810: _ACEOF
                   15811: cat >>$CONFIG_STATUS <<_ACEOF
                   15812: if \$ac_cs_recheck; then
1.1.1.22  root     15813:   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   15814:   CONFIG_SHELL=$SHELL
                   15815:   export CONFIG_SHELL
                   15816:   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1.1.19  root     15817: fi
                   15818: 
                   15819: _ACEOF
1.1.1.22  root     15820: cat >>$CONFIG_STATUS <<\_ACEOF
                   15821: exec 5>>config.log
                   15822: {
                   15823:   echo
                   15824:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15825: ## Running $as_me. ##
                   15826: _ASBOX
                   15827:   echo "$ac_log"
                   15828: } >&5
1.1.1.19  root     15829: 
1.1.1.22  root     15830: _ACEOF
                   15831: cat >>$CONFIG_STATUS <<_ACEOF
                   15832: _ACEOF
1.1.1.19  root     15833: 
                   15834: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.22  root     15835: 
                   15836: # Handling of arguments.
1.1.1.19  root     15837: for ac_config_target in $ac_config_targets
                   15838: do
1.1.1.22  root     15839:   case $ac_config_target in
                   15840:     "src/sysconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/sysconfig.h" ;;
                   15841:     "src/osdep") CONFIG_LINKS="$CONFIG_LINKS src/osdep:src/$OSDEP" ;;
                   15842:     "src/sounddep") CONFIG_LINKS="$CONFIG_LINKS src/sounddep:src/$SOUNDDEP" ;;
                   15843:     "src/threaddep") CONFIG_LINKS="$CONFIG_LINKS src/threaddep:src/$THREADDEP" ;;
                   15844:     "src/machdep") CONFIG_LINKS="$CONFIG_LINKS src/machdep:src/$MACHDEP" ;;
1.1.1.23! root     15845:     "src/guidep/$src") CONFIG_LINKS="$CONFIG_LINKS src/guidep/$src:src/$GUIDEP/$src" ;;
        !          15846:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
        !          15847:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.1.1.22  root     15848: 
1.1.1.19  root     15849:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   15850: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   15851:    { (exit 1); exit 1; }; };;
                   15852:   esac
                   15853: done
                   15854: 
1.1.1.22  root     15855: 
1.1.1.19  root     15856: # If the user did not use the arguments to specify the items to instantiate,
                   15857: # then the envvar interface is used.  Set only those that are not.
                   15858: # We use the long form for the default assignment because of an extremely
                   15859: # bizarre bug on SunOS 4.1.3.
                   15860: if $ac_need_defaults; then
                   15861:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   15862:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1.1.1.22  root     15863:   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
1.1.1.19  root     15864: fi
                   15865: 
                   15866: # Have a temporary directory for convenience.  Make it in the build tree
1.1.1.22  root     15867: # simply because there is no reason against having it here, and in addition,
1.1.1.19  root     15868: # creating and moving files from /tmp can sometimes cause problems.
1.1.1.22  root     15869: # Hook for its removal unless debugging.
                   15870: # Note that there is a small window in which the directory will not be cleaned:
                   15871: # after its creation but before its name has been assigned to `$tmp'.
1.1.1.19  root     15872: $debug ||
                   15873: {
1.1.1.22  root     15874:   tmp=
                   15875:   trap 'exit_status=$?
                   15876:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
                   15877: ' 0
1.1.1.19  root     15878:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   15879: }
                   15880: # Create a (secure) tmp directory for tmp files.
                   15881: 
                   15882: {
1.1.1.22  root     15883:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.19  root     15884:   test -n "$tmp" && test -d "$tmp"
                   15885: }  ||
                   15886: {
1.1.1.22  root     15887:   tmp=./conf$$-$RANDOM
                   15888:   (umask 077 && mkdir "$tmp")
1.1.1.19  root     15889: } ||
                   15890: {
                   15891:    echo "$me: cannot create a temporary directory in ." >&2
                   15892:    { (exit 1); exit 1; }
                   15893: }
1.1       root     15894: 
1.1.1.19  root     15895: #
1.1.1.22  root     15896: # Set up the sed scripts for CONFIG_FILES section.
1.1.1.19  root     15897: #
                   15898: 
                   15899: # No need to generate the scripts if there are no CONFIG_FILES.
                   15900: # This happens for instance when ./config.status config.h
1.1.1.22  root     15901: if test -n "$CONFIG_FILES"; then
                   15902: 
                   15903: _ACEOF
                   15904: 
                   15905: 
                   15906: 
                   15907: ac_delim='%!_!# '
                   15908: for ac_last_try in false false false false false :; do
                   15909:   cat >conf$$subs.sed <<_ACEOF
                   15910: SHELL!$SHELL$ac_delim
                   15911: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
                   15912: PACKAGE_NAME!$PACKAGE_NAME$ac_delim
                   15913: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
                   15914: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
                   15915: PACKAGE_STRING!$PACKAGE_STRING$ac_delim
                   15916: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
                   15917: exec_prefix!$exec_prefix$ac_delim
                   15918: prefix!$prefix$ac_delim
                   15919: program_transform_name!$program_transform_name$ac_delim
                   15920: bindir!$bindir$ac_delim
                   15921: sbindir!$sbindir$ac_delim
                   15922: libexecdir!$libexecdir$ac_delim
                   15923: datarootdir!$datarootdir$ac_delim
                   15924: datadir!$datadir$ac_delim
                   15925: sysconfdir!$sysconfdir$ac_delim
                   15926: sharedstatedir!$sharedstatedir$ac_delim
                   15927: localstatedir!$localstatedir$ac_delim
                   15928: includedir!$includedir$ac_delim
                   15929: oldincludedir!$oldincludedir$ac_delim
                   15930: docdir!$docdir$ac_delim
                   15931: infodir!$infodir$ac_delim
                   15932: htmldir!$htmldir$ac_delim
                   15933: dvidir!$dvidir$ac_delim
                   15934: pdfdir!$pdfdir$ac_delim
                   15935: psdir!$psdir$ac_delim
                   15936: libdir!$libdir$ac_delim
                   15937: localedir!$localedir$ac_delim
                   15938: mandir!$mandir$ac_delim
                   15939: DEFS!$DEFS$ac_delim
                   15940: ECHO_C!$ECHO_C$ac_delim
                   15941: ECHO_N!$ECHO_N$ac_delim
                   15942: ECHO_T!$ECHO_T$ac_delim
                   15943: LIBS!$LIBS$ac_delim
                   15944: build_alias!$build_alias$ac_delim
                   15945: host_alias!$host_alias$ac_delim
                   15946: target_alias!$target_alias$ac_delim
                   15947: CC!$CC$ac_delim
                   15948: CFLAGS!$CFLAGS$ac_delim
                   15949: LDFLAGS!$LDFLAGS$ac_delim
                   15950: CPPFLAGS!$CPPFLAGS$ac_delim
                   15951: ac_ct_CC!$ac_ct_CC$ac_delim
                   15952: EXEEXT!$EXEEXT$ac_delim
                   15953: OBJEXT!$OBJEXT$ac_delim
                   15954: CPP!$CPP$ac_delim
1.1.1.23! root     15955: INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
        !          15956: INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
        !          15957: INSTALL_DATA!$INSTALL_DATA$ac_delim
1.1.1.22  root     15958: SET_MAKE!$SET_MAKE$ac_delim
                   15959: MAKEDEPPRG!$MAKEDEPPRG$ac_delim
                   15960: FILEPRG!$FILEPRG$ac_delim
                   15961: WRCPRG!$WRCPRG$ac_delim
                   15962: RCLPRG!$RCLPRG$ac_delim
                   15963: SDL_CONFIG!$SDL_CONFIG$ac_delim
                   15964: GREP!$GREP$ac_delim
                   15965: EGREP!$EGREP$ac_delim
                   15966: build!$build$ac_delim
                   15967: build_cpu!$build_cpu$ac_delim
                   15968: build_vendor!$build_vendor$ac_delim
                   15969: build_os!$build_os$ac_delim
                   15970: host!$host$ac_delim
                   15971: host_cpu!$host_cpu$ac_delim
                   15972: host_vendor!$host_vendor$ac_delim
                   15973: host_os!$host_os$ac_delim
                   15974: XMKMF!$XMKMF$ac_delim
                   15975: X_CFLAGS!$X_CFLAGS$ac_delim
                   15976: X_PRE_LIBS!$X_PRE_LIBS$ac_delim
                   15977: X_LIBS!$X_LIBS$ac_delim
                   15978: X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
                   15979: LIBOBJS!$LIBOBJS$ac_delim
                   15980: PKG_CONFIG!$PKG_CONFIG$ac_delim
                   15981: GTK_CFLAGS!$GTK_CFLAGS$ac_delim
                   15982: GTK_LIBS!$GTK_LIBS$ac_delim
                   15983: ac_cv_c_inline!$ac_cv_c_inline$ac_delim
                   15984: NO_SCHED_CFLAGS!$NO_SCHED_CFLAGS$ac_delim
                   15985: NO_REORDER_CFLAGS!$NO_REORDER_CFLAGS$ac_delim
                   15986: LIBRARIES!$LIBRARIES$ac_delim
                   15987: TARGET!$TARGET$ac_delim
                   15988: GFXOBJS!$GFXOBJS$ac_delim
1.1.1.23! root     15989: GUIOBJS!$GUIOBJS$ac_delim
1.1.1.22  root     15990: RESOBJS!$RESOBJS$ac_delim
                   15991: ASMOBJS!$ASMOBJS$ac_delim
                   15992: SCSIOBJS!$SCSIOBJS$ac_delim
                   15993: CPUOBJS!$CPUOBJS$ac_delim
                   15994: DEBUGOBJS!$DEBUGOBJS$ac_delim
                   15995: FSDBOBJS!$FSDBOBJS$ac_delim
                   15996: MATHLIB!$MATHLIB$ac_delim
                   15997: SHM_SUPPORT_LINKS!$SHM_SUPPORT_LINKS$ac_delim
                   15998: top_srcdir!$top_srcdir$ac_delim
                   15999: LTLIBOBJS!$LTLIBOBJS$ac_delim
                   16000: _ACEOF
                   16001: 
1.1.1.23! root     16002:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
1.1.1.22  root     16003:     break
                   16004:   elif $ac_last_try; then
                   16005:     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
                   16006: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
                   16007:    { (exit 1); exit 1; }; }
                   16008:   else
                   16009:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1.1.4   root     16010:   fi
1.1.1.22  root     16011: done
                   16012: 
                   16013: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
                   16014: if test -n "$ac_eof"; then
                   16015:   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
                   16016:   ac_eof=`expr $ac_eof + 1`
                   16017: fi
1.1       root     16018: 
1.1.1.22  root     16019: cat >>$CONFIG_STATUS <<_ACEOF
                   16020: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
                   16021: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
                   16022: _ACEOF
                   16023: sed '
                   16024: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
                   16025: s/^/s,@/; s/!/@,|#_!!_#|/
                   16026: :n
                   16027: t n
                   16028: s/'"$ac_delim"'$/,g/; t
                   16029: s/$/\\/; p
                   16030: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
                   16031: ' >>$CONFIG_STATUS <conf$$subs.sed
                   16032: rm -f conf$$subs.sed
                   16033: cat >>$CONFIG_STATUS <<_ACEOF
                   16034: :end
                   16035: s/|#_!!_#|//g
                   16036: CEOF$ac_eof
1.1.1.19  root     16037: _ACEOF
1.1.1.22  root     16038: 
                   16039: 
                   16040: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   16041: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   16042: # trailing colons and then remove the whole line if VPATH becomes empty
                   16043: # (actually we leave an empty line to preserve line numbers).
                   16044: if test "x$srcdir" = x.; then
                   16045:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   16046: s/:*\$(srcdir):*/:/
                   16047: s/:*\${srcdir}:*/:/
                   16048: s/:*@srcdir@:*/:/
                   16049: s/^\([^=]*=[    ]*\):*/\1/
                   16050: s/:*$//
                   16051: s/^[^=]*=[      ]*$//
                   16052: }'
                   16053: fi
                   16054: 
1.1.1.19  root     16055: cat >>$CONFIG_STATUS <<\_ACEOF
1.1.1.22  root     16056: fi # test -n "$CONFIG_FILES"
                   16057: 
                   16058: 
                   16059: for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS
                   16060: do
                   16061:   case $ac_tag in
                   16062:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   16063:   esac
                   16064:   case $ac_mode$ac_tag in
                   16065:   :[FHL]*:*);;
                   16066:   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
                   16067: echo "$as_me: error: Invalid tag $ac_tag." >&2;}
                   16068:    { (exit 1); exit 1; }; };;
                   16069:   :[FH]-) ac_tag=-:-;;
                   16070:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1.1       root     16071:   esac
1.1.1.22  root     16072:   ac_save_IFS=$IFS
                   16073:   IFS=:
                   16074:   set x $ac_tag
                   16075:   IFS=$ac_save_IFS
                   16076:   shift
                   16077:   ac_file=$1
                   16078:   shift
1.1       root     16079: 
1.1.1.22  root     16080:   case $ac_mode in
                   16081:   :L) ac_source=$1;;
                   16082:   :[FH])
                   16083:     ac_file_inputs=
                   16084:     for ac_f
                   16085:     do
                   16086:       case $ac_f in
                   16087:       -) ac_f="$tmp/stdin";;
                   16088:       *) # Look for the file first in the build tree, then in the source tree
                   16089:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   16090:         # because $ac_f cannot contain `:'.
                   16091:         test -f "$ac_f" ||
                   16092:           case $ac_f in
                   16093:           [\\/$]*) false;;
                   16094:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   16095:           esac ||
                   16096:           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
                   16097: echo "$as_me: error: cannot find input file: $ac_f" >&2;}
                   16098:    { (exit 1); exit 1; }; };;
                   16099:       esac
                   16100:       ac_file_inputs="$ac_file_inputs $ac_f"
                   16101:     done
                   16102: 
                   16103:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   16104:     # use $as_me), people would be surprised to read:
                   16105:     #    /* config.h.  Generated by config.status.  */
                   16106:     configure_input="Generated from "`IFS=:
                   16107:          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
                   16108:     if test x"$ac_file" != x-; then
                   16109:       configure_input="$ac_file.  $configure_input"
                   16110:       { echo "$as_me:$LINENO: creating $ac_file" >&5
                   16111: echo "$as_me: creating $ac_file" >&6;}
                   16112:     fi
                   16113: 
                   16114:     case $ac_tag in
                   16115:     *:-:* | *:-) cat >"$tmp/stdin";;
                   16116:     esac
                   16117:     ;;
                   16118:   esac
                   16119: 
                   16120:   ac_dir=`$as_dirname -- "$ac_file" ||
1.1.1.19  root     16121: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16122:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   16123:         X"$ac_file" : 'X\(//\)$' \| \
1.1.1.22  root     16124:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.19  root     16125: echo X"$ac_file" |
1.1.1.22  root     16126:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16127:            s//\1/
                   16128:            q
                   16129:          }
                   16130:          /^X\(\/\/\)[^/].*/{
                   16131:            s//\1/
                   16132:            q
                   16133:          }
                   16134:          /^X\(\/\/\)$/{
                   16135:            s//\1/
                   16136:            q
                   16137:          }
                   16138:          /^X\(\/\).*/{
                   16139:            s//\1/
                   16140:            q
                   16141:          }
                   16142:          s/.*/./; q'`
                   16143:   { as_dir="$ac_dir"
                   16144:   case $as_dir in #(
                   16145:   -*) as_dir=./$as_dir;;
                   16146:   esac
                   16147:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.1.1.19  root     16148:     as_dirs=
1.1.1.22  root     16149:     while :; do
                   16150:       case $as_dir in #(
                   16151:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
                   16152:       *) as_qdir=$as_dir;;
                   16153:       esac
                   16154:       as_dirs="'$as_qdir' $as_dirs"
                   16155:       as_dir=`$as_dirname -- "$as_dir" ||
1.1.1.19  root     16156: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16157:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   16158:         X"$as_dir" : 'X\(//\)$' \| \
1.1.1.22  root     16159:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.19  root     16160: echo X"$as_dir" |
1.1.1.22  root     16161:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16162:            s//\1/
                   16163:            q
                   16164:          }
                   16165:          /^X\(\/\/\)[^/].*/{
                   16166:            s//\1/
                   16167:            q
                   16168:          }
                   16169:          /^X\(\/\/\)$/{
                   16170:            s//\1/
                   16171:            q
                   16172:          }
                   16173:          /^X\(\/\).*/{
                   16174:            s//\1/
                   16175:            q
                   16176:          }
                   16177:          s/.*/./; q'`
                   16178:       test -d "$as_dir" && break
1.1.1.19  root     16179:     done
1.1.1.22  root     16180:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   16181:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
                   16182: echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.1.1.19  root     16183:    { (exit 1); exit 1; }; }; }
                   16184:   ac_builddir=.
                   16185: 
1.1.1.22  root     16186: case "$ac_dir" in
                   16187: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16188: *)
1.1.1.19  root     16189:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1.1.22  root     16190:   # A ".." for each directory in $ac_dir_suffix.
                   16191:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
                   16192:   case $ac_top_builddir_sub in
                   16193:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16194:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   16195:   esac ;;
                   16196: esac
                   16197: ac_abs_top_builddir=$ac_pwd
                   16198: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   16199: # for backward compatibility:
                   16200: ac_top_builddir=$ac_top_build_prefix
1.1.1.19  root     16201: 
                   16202: case $srcdir in
1.1.1.22  root     16203:   .)  # We are building in place.
1.1.1.19  root     16204:     ac_srcdir=.
1.1.1.22  root     16205:     ac_top_srcdir=$ac_top_builddir_sub
                   16206:     ac_abs_top_srcdir=$ac_pwd ;;
                   16207:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1.1.19  root     16208:     ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1.22  root     16209:     ac_top_srcdir=$srcdir
                   16210:     ac_abs_top_srcdir=$srcdir ;;
                   16211:   *) # Relative name.
                   16212:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   16213:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   16214:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   16215: esac
                   16216: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1.1.19  root     16217: 
1.1       root     16218: 
1.1.1.22  root     16219:   case $ac_mode in
                   16220:   :F)
                   16221:   #
                   16222:   # CONFIG_FILE
                   16223:   #
1.1.1.4   root     16224: 
1.1.1.23! root     16225:   case $INSTALL in
        !          16226:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
        !          16227:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
        !          16228:   esac
1.1.1.22  root     16229: _ACEOF
1.1.1.4   root     16230: 
1.1.1.22  root     16231: cat >>$CONFIG_STATUS <<\_ACEOF
                   16232: # If the template does not know about datarootdir, expand it.
                   16233: # FIXME: This hack should be removed a few years after 2.60.
                   16234: ac_datarootdir_hack=; ac_datarootdir_seen=
                   16235: 
                   16236: case `sed -n '/datarootdir/ {
                   16237:   p
                   16238:   q
                   16239: }
                   16240: /@datadir@/p
                   16241: /@docdir@/p
                   16242: /@infodir@/p
                   16243: /@localedir@/p
                   16244: /@mandir@/p
                   16245: ' $ac_file_inputs` in
                   16246: *datarootdir*) ac_datarootdir_seen=yes;;
                   16247: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   16248:   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   16249: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   16250: _ACEOF
                   16251: cat >>$CONFIG_STATUS <<_ACEOF
                   16252:   ac_datarootdir_hack='
                   16253:   s&@datadir@&$datadir&g
                   16254:   s&@docdir@&$docdir&g
                   16255:   s&@infodir@&$infodir&g
                   16256:   s&@localedir@&$localedir&g
                   16257:   s&@mandir@&$mandir&g
                   16258:     s&\\\${datarootdir}&$datarootdir&g' ;;
                   16259: esac
1.1.1.19  root     16260: _ACEOF
1.1.1.22  root     16261: 
                   16262: # Neutralize VPATH when `$srcdir' = `.'.
                   16263: # Shell code in configure.ac might set extrasub.
                   16264: # FIXME: do we really want to maintain this feature?
1.1.1.19  root     16265: cat >>$CONFIG_STATUS <<_ACEOF
                   16266:   sed "$ac_vpsub
                   16267: $extrasub
                   16268: _ACEOF
                   16269: cat >>$CONFIG_STATUS <<\_ACEOF
                   16270: :t
                   16271: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1.1.22  root     16272: s&@configure_input@&$configure_input&;t t
                   16273: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   16274: s&@srcdir@&$ac_srcdir&;t t
                   16275: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   16276: s&@top_srcdir@&$ac_top_srcdir&;t t
                   16277: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   16278: s&@builddir@&$ac_builddir&;t t
                   16279: s&@abs_builddir@&$ac_abs_builddir&;t t
                   16280: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1.1.23! root     16281: s&@INSTALL@&$ac_INSTALL&;t t
1.1.1.22  root     16282: $ac_datarootdir_hack
                   16283: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
                   16284: 
                   16285: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   16286:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
                   16287:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
                   16288:   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16289: which seems to be undefined.  Please make sure it is defined." >&5
                   16290: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16291: which seems to be undefined.  Please make sure it is defined." >&2;}
1.1.1.19  root     16292: 
1.1.1.22  root     16293:   rm -f "$tmp/stdin"
1.1.1.19  root     16294:   case $ac_file in
1.1.1.22  root     16295:   -) cat "$tmp/out"; rm -f "$tmp/out";;
                   16296:   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
1.1       root     16297:   esac
1.1.1.22  root     16298:  ;;
                   16299:   :H)
                   16300:   #
                   16301:   # CONFIG_HEADER
                   16302:   #
                   16303: _ACEOF
                   16304: 
                   16305: # Transform confdefs.h into a sed script `conftest.defines', that
                   16306: # substitutes the proper values into config.h.in to produce config.h.
                   16307: rm -f conftest.defines conftest.tail
                   16308: # First, append a space to every undef/define line, to ease matching.
                   16309: echo 's/$/ /' >conftest.defines
                   16310: # Then, protect against being on the right side of a sed subst, or in
                   16311: # an unquoted here document, in config.status.  If some macros were
                   16312: # called several times there might be several #defines for the same
                   16313: # symbol, which is useless.  But do not sort them, since the last
                   16314: # AC_DEFINE must be honored.
                   16315: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   16316: # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
                   16317: # NAME is the cpp macro being defined, VALUE is the value it is being given.
                   16318: # PARAMS is the parameter list in the macro definition--in most cases, it's
                   16319: # just an empty string.
                   16320: ac_dA='s,^\\([  #]*\\)[^        ]*\\([  ]*'
                   16321: ac_dB='\\)[     (].*,\\1define\\2'
                   16322: ac_dC=' '
                   16323: ac_dD=' ,'
1.1       root     16324: 
1.1.1.22  root     16325: uniq confdefs.h |
                   16326:   sed -n '
                   16327:        t rset
                   16328:        :rset
                   16329:        s/^[     ]*#[    ]*define[       ][      ]*//
                   16330:        t ok
                   16331:        d
                   16332:        :ok
                   16333:        s/[\\&,]/\\&/g
                   16334:        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
                   16335:        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
                   16336:   ' >>conftest.defines
1.1       root     16337: 
1.1.1.22  root     16338: # Remove the space that was appended to ease matching.
                   16339: # Then replace #undef with comments.  This is necessary, for
1.1       root     16340: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   16341: # on some systems where configure will not decide to define it.
1.1.1.22  root     16342: # (The regexp can be short, since the line contains either #define or #undef.)
                   16343: echo 's/ $//
                   16344: s,^[    #]*u.*,/* & */,' >>conftest.defines
                   16345: 
                   16346: # Break up conftest.defines:
                   16347: ac_max_sed_lines=50
                   16348: 
                   16349: # First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
                   16350: # Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
                   16351: # Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
                   16352: # et cetera.
                   16353: ac_in='$ac_file_inputs'
                   16354: ac_out='"$tmp/out1"'
                   16355: ac_nxt='"$tmp/out2"'
                   16356: 
                   16357: while :
                   16358: do
                   16359:   # Write a here document:
                   16360:     cat >>$CONFIG_STATUS <<_ACEOF
                   16361:     # First, check the format of the line:
                   16362:     cat >"\$tmp/defines.sed" <<\\CEOF
                   16363: /^[     ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
                   16364: /^[     ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
                   16365: b
                   16366: :def
1.1.1.19  root     16367: _ACEOF
1.1.1.22  root     16368:   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
1.1       root     16369:   echo 'CEOF
1.1.1.22  root     16370:     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
                   16371:   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
                   16372:   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
                   16373:   grep . conftest.tail >/dev/null || break
1.1.1.19  root     16374:   rm -f conftest.defines
                   16375:   mv conftest.tail conftest.defines
                   16376: done
1.1.1.22  root     16377: rm -f conftest.defines conftest.tail
1.1.1.19  root     16378: 
1.1.1.22  root     16379: echo "ac_result=$ac_in" >>$CONFIG_STATUS
1.1.1.19  root     16380: cat >>$CONFIG_STATUS <<\_ACEOF
                   16381:   if test x"$ac_file" != x-; then
1.1.1.22  root     16382:     echo "/* $configure_input  */" >"$tmp/config.h"
                   16383:     cat "$ac_result" >>"$tmp/config.h"
                   16384:     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
1.1.1.19  root     16385:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   16386: echo "$as_me: $ac_file is unchanged" >&6;}
                   16387:     else
                   16388:       rm -f $ac_file
1.1.1.22  root     16389:       mv "$tmp/config.h" $ac_file
1.1.1.19  root     16390:     fi
                   16391:   else
1.1.1.22  root     16392:     echo "/* $configure_input  */"
                   16393:     cat "$ac_result"
1.1.1.19  root     16394:   fi
1.1.1.22  root     16395:   rm -f "$tmp/out12"
                   16396:  ;;
                   16397:   :L)
                   16398:   #
                   16399:   # CONFIG_LINK
                   16400:   #
                   16401: 
                   16402:   { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
                   16403: echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
                   16404: 
                   16405:   if test ! -r "$srcdir/$ac_source"; then
                   16406:     { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
                   16407: echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
                   16408:    { (exit 1); exit 1; }; }
                   16409:   fi
                   16410:   rm -f "$ac_file"
                   16411: 
                   16412:   # Try a relative symlink, then a hard link, then a copy.
                   16413:   case $srcdir in
                   16414:   [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
                   16415:       *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
                   16416:   esac
                   16417:   ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
                   16418:     ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
                   16419:     cp -p "$srcdir/$ac_source" "$ac_file" ||
                   16420:     { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
                   16421: echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
                   16422:    { (exit 1); exit 1; }; }
                   16423:  ;;
                   16424: 
                   16425:   esac
                   16426: 
                   16427: done # for ac_tag
1.1       root     16428: 
                   16429: 
1.1.1.19  root     16430: { (exit 0); exit 0; }
                   16431: _ACEOF
1.1       root     16432: chmod +x $CONFIG_STATUS
1.1.1.19  root     16433: ac_clean_files=$ac_clean_files_save
                   16434: 
                   16435: 
                   16436: # configure is writing to config.log, and then calls config.status.
                   16437: # config.status does its own redirection, appending to config.log.
                   16438: # Unfortunately, on DOS this fails, as config.log is still kept open
                   16439: # by configure, so config.status won't be able to write to it; its
                   16440: # output is simply discarded.  So we exec the FD to /dev/null,
                   16441: # effectively closing config.log, so it can be properly (re)opened and
                   16442: # appended to by config.status.  When coming back to configure, we
                   16443: # need to make the FD available again.
                   16444: if test "$no_create" != yes; then
                   16445:   ac_cs_success=:
                   16446:   ac_config_status_args=
                   16447:   test "$silent" = yes &&
                   16448:     ac_config_status_args="$ac_config_status_args --quiet"
                   16449:   exec 5>/dev/null
                   16450:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   16451:   exec 5>>config.log
                   16452:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   16453:   # would make configure fail if this is the last instruction.
                   16454:   $ac_cs_success || { (exit 1); exit 1; }
                   16455: fi
1.1       root     16456: 
1.1.1.6   root     16457: 
1.1.1.4   root     16458: echo
                   16459: echo
                   16460: if [ "x$NR_ERRORS" = "x0" ]; then
                   16461:   if [ "x$NR_WARNINGS" = "x0" ]; then
                   16462:     echo "Configuration was successful!"
                   16463:   else
                   16464:     echo "There were $NR_WARNINGS warnings. That is usually harmless, but read the output"
                   16465:     echo "from configure carefully if you run into problems."
                   16466:   fi
                   16467: else
                   16468:   echo "There were $NR_ERRORS errors. UAE may still build and run cleanly, but you may"
                   16469:   echo "not get all the features you asked for."
                   16470: fi
                   16471: echo
1.1.1.23! root     16472: 

unix.superglobalmegacorp.com

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