[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.42

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

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