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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.40

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
                   5376:     libasir_postfix=${libasir_postfix}_pari
                   5377:     PARIINC='-I${prefix}/include/pari'
                   5378:     if test "${enable_shared}" != yes ; then
1.40    ! ohara    5379:         PARILIB='${prefix}'"/lib/libpari.a"
1.14      noro     5380:     else
1.40    ! ohara    5381:         PARILIB='-L${prefix}/lib'" -lpari"
1.14      noro     5382:     fi
                   5383:     cat >>confdefs.h <<\_ACEOF
                   5384: #define PARI 1
                   5385: _ACEOF
                   5386:
1.16      noro     5387: fi
                   5388:
                   5389:
                   5390:
1.37      ohara    5391: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
                   5392: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
                   5393: if test "${ac_cv_path_GREP+set}" = set; then
                   5394:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5395: else
                   5396:   # Extract the first word of "grep ggrep" to use in msg output
                   5397: if test -z "$GREP"; then
                   5398: set dummy grep ggrep; ac_prog_name=$2
                   5399: if test "${ac_cv_path_GREP+set}" = set; then
1.32      noro     5400:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5401: else
1.37      ohara    5402:   ac_path_GREP_found=false
                   5403: # Loop through the user's path and test for each of PROGNAME-LIST
                   5404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5405: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5406: do
                   5407:   IFS=$as_save_IFS
                   5408:   test -z "$as_dir" && as_dir=.
                   5409:   for ac_prog in grep ggrep; do
                   5410:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5411:     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5412:     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5413:     # Check for GNU ac_path_GREP and select it if it is found.
                   5414:   # Check for GNU $ac_path_GREP
                   5415: case `"$ac_path_GREP" --version 2>&1` in
                   5416: *GNU*)
                   5417:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5418: *)
                   5419:   ac_count=0
                   5420:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
                   5421:   while :
                   5422:   do
                   5423:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5424:     mv "conftest.tmp" "conftest.in"
                   5425:     cp "conftest.in" "conftest.nl"
                   5426:     echo 'GREP' >> "conftest.nl"
                   5427:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5428:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5429:     ac_count=`expr $ac_count + 1`
                   5430:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5431:       # Best one so far, save it but keep looking for a better one
                   5432:       ac_cv_path_GREP="$ac_path_GREP"
                   5433:       ac_path_GREP_max=$ac_count
1.32      noro     5434:     fi
1.37      ohara    5435:     # 10*(2^10) chars as input seems more than enough
                   5436:     test $ac_count -gt 10 && break
                   5437:   done
                   5438:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5439: esac
                   5440:
                   5441:
                   5442:     $ac_path_GREP_found && break 3
                   5443:   done
                   5444: done
                   5445:
                   5446: done
                   5447: IFS=$as_save_IFS
                   5448:
                   5449:
1.32      noro     5450: fi
                   5451:
1.37      ohara    5452: GREP="$ac_cv_path_GREP"
                   5453: if test -z "$GREP"; then
                   5454:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
                   5455: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
                   5456:    { (exit 1); exit 1; }; }
                   5457: fi
1.32      noro     5458:
1.14      noro     5459: else
1.37      ohara    5460:   ac_cv_path_GREP=$GREP
                   5461: fi
                   5462:
                   5463:
                   5464: fi
                   5465: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
                   5466: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
                   5467:  GREP="$ac_cv_path_GREP"
1.14      noro     5468:
1.37      ohara    5469:
                   5470: { echo "$as_me:$LINENO: checking for egrep" >&5
                   5471: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
                   5472: if test "${ac_cv_path_EGREP+set}" = set; then
                   5473:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5474: else
                   5475:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5476:    then ac_cv_path_EGREP="$GREP -E"
                   5477:    else
                   5478:      # Extract the first word of "egrep" to use in msg output
                   5479: if test -z "$EGREP"; then
                   5480: set dummy egrep; ac_prog_name=$2
                   5481: if test "${ac_cv_path_EGREP+set}" = set; then
                   5482:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5483: else
                   5484:   ac_path_EGREP_found=false
                   5485: # Loop through the user's path and test for each of PROGNAME-LIST
                   5486: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5487: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5488: do
                   5489:   IFS=$as_save_IFS
                   5490:   test -z "$as_dir" && as_dir=.
                   5491:   for ac_prog in egrep; do
                   5492:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5493:     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5494:     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5495:     # Check for GNU ac_path_EGREP and select it if it is found.
                   5496:   # Check for GNU $ac_path_EGREP
                   5497: case `"$ac_path_EGREP" --version 2>&1` in
                   5498: *GNU*)
                   5499:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5500: *)
                   5501:   ac_count=0
                   5502:   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
                   5503:   while :
                   5504:   do
                   5505:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5506:     mv "conftest.tmp" "conftest.in"
                   5507:     cp "conftest.in" "conftest.nl"
                   5508:     echo 'EGREP' >> "conftest.nl"
                   5509:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5510:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5511:     ac_count=`expr $ac_count + 1`
                   5512:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5513:       # Best one so far, save it but keep looking for a better one
                   5514:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5515:       ac_path_EGREP_max=$ac_count
                   5516:     fi
                   5517:     # 10*(2^10) chars as input seems more than enough
                   5518:     test $ac_count -gt 10 && break
                   5519:   done
                   5520:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5521: esac
                   5522:
                   5523:
                   5524:     $ac_path_EGREP_found && break 3
                   5525:   done
                   5526: done
                   5527:
                   5528: done
                   5529: IFS=$as_save_IFS
                   5530:
                   5531:
                   5532: fi
                   5533:
                   5534: EGREP="$ac_cv_path_EGREP"
                   5535: if test -z "$EGREP"; then
                   5536:   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
                   5537: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
                   5538:    { (exit 1); exit 1; }; }
                   5539: fi
                   5540:
                   5541: else
                   5542:   ac_cv_path_EGREP=$EGREP
                   5543: fi
                   5544:
                   5545:
                   5546:    fi
                   5547: fi
                   5548: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
                   5549: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
                   5550:  EGREP="$ac_cv_path_EGREP"
                   5551:
                   5552:
                   5553: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   5554: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
                   5555: if test "${ac_cv_header_stdc+set}" = set; then
                   5556:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5557: else
                   5558:   cat >conftest.$ac_ext <<_ACEOF
                   5559: /* confdefs.h.  */
                   5560: _ACEOF
                   5561: cat confdefs.h >>conftest.$ac_ext
                   5562: cat >>conftest.$ac_ext <<_ACEOF
                   5563: /* end confdefs.h.  */
                   5564: #include <stdlib.h>
                   5565: #include <stdarg.h>
                   5566: #include <string.h>
                   5567: #include <float.h>
                   5568:
                   5569: int
                   5570: main ()
                   5571: {
1.32      noro     5572:
                   5573:   ;
                   5574:   return 0;
                   5575: }
1.14      noro     5576: _ACEOF
1.32      noro     5577: rm -f conftest.$ac_objext
1.37      ohara    5578: if { (ac_try="$ac_compile"
                   5579: case "(($ac_try" in
                   5580:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5581:   *) ac_try_echo=$ac_try;;
                   5582: esac
                   5583: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5584:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     5585:   ac_status=$?
1.32      noro     5586:   grep -v '^ *+' conftest.er1 >conftest.err
1.17      ohara    5587:   rm -f conftest.er1
                   5588:   cat conftest.err >&5
1.14      noro     5589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5590:   (exit $ac_status); } && {
                   5591:         test -z "$ac_c_werror_flag" ||
                   5592:         test ! -s conftest.err
                   5593:        } && test -s conftest.$ac_objext; then
1.14      noro     5594:   ac_cv_header_stdc=yes
                   5595: else
                   5596:   echo "$as_me: failed program was:" >&5
1.32      noro     5597: sed 's/^/| /' conftest.$ac_ext >&5
                   5598:
1.37      ohara    5599:        ac_cv_header_stdc=no
1.14      noro     5600: fi
1.37      ohara    5601:
                   5602: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     5603:
                   5604: if test $ac_cv_header_stdc = yes; then
                   5605:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   5606:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5607: /* confdefs.h.  */
                   5608: _ACEOF
                   5609: cat confdefs.h >>conftest.$ac_ext
                   5610: cat >>conftest.$ac_ext <<_ACEOF
                   5611: /* end confdefs.h.  */
1.14      noro     5612: #include <string.h>
                   5613:
                   5614: _ACEOF
                   5615: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.32      noro     5616:   $EGREP "memchr" >/dev/null 2>&1; then
1.14      noro     5617:   :
                   5618: else
                   5619:   ac_cv_header_stdc=no
                   5620: fi
                   5621: rm -f conftest*
                   5622:
                   5623: fi
                   5624:
                   5625: if test $ac_cv_header_stdc = yes; then
                   5626:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   5627:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5628: /* confdefs.h.  */
                   5629: _ACEOF
                   5630: cat confdefs.h >>conftest.$ac_ext
                   5631: cat >>conftest.$ac_ext <<_ACEOF
                   5632: /* end confdefs.h.  */
1.14      noro     5633: #include <stdlib.h>
                   5634:
                   5635: _ACEOF
                   5636: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.32      noro     5637:   $EGREP "free" >/dev/null 2>&1; then
1.14      noro     5638:   :
                   5639: else
                   5640:   ac_cv_header_stdc=no
                   5641: fi
                   5642: rm -f conftest*
                   5643:
                   5644: fi
                   5645:
                   5646: if test $ac_cv_header_stdc = yes; then
                   5647:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   5648:   if test "$cross_compiling" = yes; then
                   5649:   :
                   5650: else
                   5651:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5652: /* confdefs.h.  */
                   5653: _ACEOF
                   5654: cat confdefs.h >>conftest.$ac_ext
                   5655: cat >>conftest.$ac_ext <<_ACEOF
                   5656: /* end confdefs.h.  */
1.14      noro     5657: #include <ctype.h>
1.37      ohara    5658: #include <stdlib.h>
1.14      noro     5659: #if ((' ' & 0x0FF) == 0x020)
                   5660: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5661: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5662: #else
1.32      noro     5663: # define ISLOWER(c) \
                   5664:                   (('a' <= (c) && (c) <= 'i') \
                   5665:                     || ('j' <= (c) && (c) <= 'r') \
                   5666:                     || ('s' <= (c) && (c) <= 'z'))
1.14      noro     5667: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5668: #endif
                   5669:
                   5670: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5671: int
                   5672: main ()
                   5673: {
                   5674:   int i;
                   5675:   for (i = 0; i < 256; i++)
                   5676:     if (XOR (islower (i), ISLOWER (i))
1.32      noro     5677:        || toupper (i) != TOUPPER (i))
1.37      ohara    5678:       return 2;
                   5679:   return 0;
1.14      noro     5680: }
                   5681: _ACEOF
                   5682: rm -f conftest$ac_exeext
1.37      ohara    5683: if { (ac_try="$ac_link"
                   5684: case "(($ac_try" in
                   5685:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5686:   *) ac_try_echo=$ac_try;;
                   5687: esac
                   5688: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5689:   (eval "$ac_link") 2>&5
1.14      noro     5690:   ac_status=$?
                   5691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5692:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.37      ohara    5693:   { (case "(($ac_try" in
                   5694:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5695:   *) ac_try_echo=$ac_try;;
                   5696: esac
                   5697: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5698:   (eval "$ac_try") 2>&5
1.14      noro     5699:   ac_status=$?
                   5700:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5701:   (exit $ac_status); }; }; then
                   5702:   :
                   5703: else
                   5704:   echo "$as_me: program exited with status $ac_status" >&5
                   5705: echo "$as_me: failed program was:" >&5
1.32      noro     5706: sed 's/^/| /' conftest.$ac_ext >&5
                   5707:
1.14      noro     5708: ( exit $ac_status )
                   5709: ac_cv_header_stdc=no
                   5710: fi
1.37      ohara    5711: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     5712: fi
1.37      ohara    5713:
                   5714:
1.14      noro     5715: fi
                   5716: fi
1.37      ohara    5717: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   5718: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.14      noro     5719: if test $ac_cv_header_stdc = yes; then
                   5720:
                   5721: cat >>confdefs.h <<\_ACEOF
                   5722: #define STDC_HEADERS 1
                   5723: _ACEOF
                   5724:
                   5725: fi
                   5726:
                   5727: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5728:
1.2       noro     5729:
1.3       noro     5730:
1.14      noro     5731:
                   5732:
                   5733:
                   5734:
                   5735:
                   5736:
                   5737: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.32      noro     5738:                  inttypes.h stdint.h unistd.h
1.14      noro     5739: do
                   5740: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.37      ohara    5741: { echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5742: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
                   5743: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.14      noro     5744:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5745: else
                   5746:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5747: /* confdefs.h.  */
                   5748: _ACEOF
                   5749: cat confdefs.h >>conftest.$ac_ext
                   5750: cat >>conftest.$ac_ext <<_ACEOF
                   5751: /* end confdefs.h.  */
1.14      noro     5752: $ac_includes_default
                   5753:
                   5754: #include <$ac_header>
                   5755: _ACEOF
                   5756: rm -f conftest.$ac_objext
1.37      ohara    5757: if { (ac_try="$ac_compile"
                   5758: case "(($ac_try" in
                   5759:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5760:   *) ac_try_echo=$ac_try;;
                   5761: esac
                   5762: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5763:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     5764:   ac_status=$?
1.32      noro     5765:   grep -v '^ *+' conftest.er1 >conftest.err
                   5766:   rm -f conftest.er1
                   5767:   cat conftest.err >&5
1.14      noro     5768:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5769:   (exit $ac_status); } && {
                   5770:         test -z "$ac_c_werror_flag" ||
                   5771:         test ! -s conftest.err
                   5772:        } && test -s conftest.$ac_objext; then
1.14      noro     5773:   eval "$as_ac_Header=yes"
                   5774: else
                   5775:   echo "$as_me: failed program was:" >&5
1.32      noro     5776: sed 's/^/| /' conftest.$ac_ext >&5
                   5777:
1.37      ohara    5778:        eval "$as_ac_Header=no"
1.14      noro     5779: fi
1.37      ohara    5780:
                   5781: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     5782: fi
1.37      ohara    5783: ac_res=`eval echo '${'$as_ac_Header'}'`
                   5784:               { echo "$as_me:$LINENO: result: $ac_res" >&5
                   5785: echo "${ECHO_T}$ac_res" >&6; }
1.14      noro     5786: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5787:   cat >>confdefs.h <<_ACEOF
                   5788: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5789: _ACEOF
                   5790:
                   5791: fi
                   5792:
                   5793: done
                   5794:
                   5795:
1.37      ohara    5796: { echo "$as_me:$LINENO: checking for unsigned long long" >&5
                   5797: echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
1.18      ohara    5798: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
                   5799:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5800: else
                   5801:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5802: /* confdefs.h.  */
                   5803: _ACEOF
                   5804: cat confdefs.h >>conftest.$ac_ext
                   5805: cat >>conftest.$ac_ext <<_ACEOF
                   5806: /* end confdefs.h.  */
1.18      ohara    5807: $ac_includes_default
1.37      ohara    5808: typedef unsigned long long ac__type_new_;
1.18      ohara    5809: int
                   5810: main ()
                   5811: {
1.37      ohara    5812: if ((ac__type_new_ *) 0)
1.18      ohara    5813:   return 0;
1.37      ohara    5814: if (sizeof (ac__type_new_))
1.18      ohara    5815:   return 0;
                   5816:   ;
                   5817:   return 0;
                   5818: }
                   5819: _ACEOF
                   5820: rm -f conftest.$ac_objext
1.37      ohara    5821: if { (ac_try="$ac_compile"
                   5822: case "(($ac_try" in
                   5823:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5824:   *) ac_try_echo=$ac_try;;
                   5825: esac
                   5826: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5827:   (eval "$ac_compile") 2>conftest.er1
1.18      ohara    5828:   ac_status=$?
1.32      noro     5829:   grep -v '^ *+' conftest.er1 >conftest.err
                   5830:   rm -f conftest.er1
                   5831:   cat conftest.err >&5
1.18      ohara    5832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5833:   (exit $ac_status); } && {
                   5834:         test -z "$ac_c_werror_flag" ||
                   5835:         test ! -s conftest.err
                   5836:        } && test -s conftest.$ac_objext; then
1.18      ohara    5837:   ac_cv_type_unsigned_long_long=yes
                   5838: else
                   5839:   echo "$as_me: failed program was:" >&5
1.32      noro     5840: sed 's/^/| /' conftest.$ac_ext >&5
                   5841:
1.37      ohara    5842:        ac_cv_type_unsigned_long_long=no
1.18      ohara    5843: fi
1.37      ohara    5844:
                   5845: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.18      ohara    5846: fi
1.37      ohara    5847: { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
                   5848: echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
1.18      ohara    5849: if test $ac_cv_type_unsigned_long_long = yes; then
                   5850:
                   5851: cat >>confdefs.h <<_ACEOF
                   5852: #define HAVE_UNSIGNED_LONG_LONG 1
                   5853: _ACEOF
                   5854:
                   5855:
                   5856: fi
                   5857:
1.37      ohara    5858: { echo "$as_me:$LINENO: checking for long" >&5
                   5859: echo $ECHO_N "checking for long... $ECHO_C" >&6; }
1.14      noro     5860: if test "${ac_cv_type_long+set}" = set; then
                   5861:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5862: else
                   5863:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5864: /* confdefs.h.  */
                   5865: _ACEOF
                   5866: cat confdefs.h >>conftest.$ac_ext
                   5867: cat >>conftest.$ac_ext <<_ACEOF
                   5868: /* end confdefs.h.  */
1.14      noro     5869: $ac_includes_default
1.37      ohara    5870: typedef long ac__type_new_;
1.14      noro     5871: int
                   5872: main ()
                   5873: {
1.37      ohara    5874: if ((ac__type_new_ *) 0)
1.14      noro     5875:   return 0;
1.37      ohara    5876: if (sizeof (ac__type_new_))
1.14      noro     5877:   return 0;
                   5878:   ;
                   5879:   return 0;
                   5880: }
                   5881: _ACEOF
                   5882: rm -f conftest.$ac_objext
1.37      ohara    5883: if { (ac_try="$ac_compile"
                   5884: case "(($ac_try" in
                   5885:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5886:   *) ac_try_echo=$ac_try;;
                   5887: esac
                   5888: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5889:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     5890:   ac_status=$?
1.32      noro     5891:   grep -v '^ *+' conftest.er1 >conftest.err
                   5892:   rm -f conftest.er1
                   5893:   cat conftest.err >&5
1.14      noro     5894:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5895:   (exit $ac_status); } && {
                   5896:         test -z "$ac_c_werror_flag" ||
                   5897:         test ! -s conftest.err
                   5898:        } && test -s conftest.$ac_objext; then
1.14      noro     5899:   ac_cv_type_long=yes
                   5900: else
                   5901:   echo "$as_me: failed program was:" >&5
1.32      noro     5902: sed 's/^/| /' conftest.$ac_ext >&5
                   5903:
1.37      ohara    5904:        ac_cv_type_long=no
1.14      noro     5905: fi
1.37      ohara    5906:
                   5907: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     5908: fi
1.37      ohara    5909: { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
                   5910: echo "${ECHO_T}$ac_cv_type_long" >&6; }
1.14      noro     5911:
1.37      ohara    5912: # The cast to long int works around a bug in the HP C Compiler
                   5913: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5914: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5915: # This bug is HP SR number 8606223364.
                   5916: { echo "$as_me:$LINENO: checking size of long" >&5
                   5917: echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
1.14      noro     5918: if test "${ac_cv_sizeof_long+set}" = set; then
                   5919:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5920: else
                   5921:   if test "$cross_compiling" = yes; then
                   5922:   # Depending upon the size, compute the lo and hi bounds.
                   5923: cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5924: /* confdefs.h.  */
                   5925: _ACEOF
                   5926: cat confdefs.h >>conftest.$ac_ext
                   5927: cat >>conftest.$ac_ext <<_ACEOF
                   5928: /* end confdefs.h.  */
1.14      noro     5929: $ac_includes_default
1.37      ohara    5930:    typedef long ac__type_sizeof_;
1.14      noro     5931: int
                   5932: main ()
                   5933: {
1.37      ohara    5934: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.14      noro     5935: test_array [0] = 0
                   5936:
                   5937:   ;
                   5938:   return 0;
                   5939: }
                   5940: _ACEOF
                   5941: rm -f conftest.$ac_objext
1.37      ohara    5942: if { (ac_try="$ac_compile"
                   5943: case "(($ac_try" in
                   5944:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5945:   *) ac_try_echo=$ac_try;;
                   5946: esac
                   5947: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5948:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     5949:   ac_status=$?
1.32      noro     5950:   grep -v '^ *+' conftest.er1 >conftest.err
                   5951:   rm -f conftest.er1
                   5952:   cat conftest.err >&5
1.14      noro     5953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5954:   (exit $ac_status); } && {
                   5955:         test -z "$ac_c_werror_flag" ||
                   5956:         test ! -s conftest.err
                   5957:        } && test -s conftest.$ac_objext; then
1.14      noro     5958:   ac_lo=0 ac_mid=0
                   5959:   while :; do
                   5960:     cat >conftest.$ac_ext <<_ACEOF
1.32      noro     5961: /* confdefs.h.  */
                   5962: _ACEOF
                   5963: cat confdefs.h >>conftest.$ac_ext
                   5964: cat >>conftest.$ac_ext <<_ACEOF
                   5965: /* end confdefs.h.  */
1.14      noro     5966: $ac_includes_default
1.37      ohara    5967:    typedef long ac__type_sizeof_;
1.14      noro     5968: int
                   5969: main ()
                   5970: {
1.37      ohara    5971: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.14      noro     5972: test_array [0] = 0
                   5973:
                   5974:   ;
                   5975:   return 0;
                   5976: }
                   5977: _ACEOF
                   5978: rm -f conftest.$ac_objext
1.37      ohara    5979: if { (ac_try="$ac_compile"
                   5980: case "(($ac_try" in
                   5981:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5982:   *) ac_try_echo=$ac_try;;
                   5983: esac
                   5984: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   5985:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     5986:   ac_status=$?
1.32      noro     5987:   grep -v '^ *+' conftest.er1 >conftest.err
                   5988:   rm -f conftest.er1
                   5989:   cat conftest.err >&5
1.14      noro     5990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    5991:   (exit $ac_status); } && {
                   5992:         test -z "$ac_c_werror_flag" ||
                   5993:         test ! -s conftest.err
                   5994:        } && test -s conftest.$ac_objext; then
1.14      noro     5995:   ac_hi=$ac_mid; break
                   5996: else
                   5997:   echo "$as_me: failed program was:" >&5
1.32      noro     5998: sed 's/^/| /' conftest.$ac_ext >&5
                   5999:
1.37      ohara    6000:        ac_lo=`expr $ac_mid + 1`
                   6001:                        if test $ac_lo -le $ac_mid; then
                   6002:                          ac_lo= ac_hi=
                   6003:                          break
                   6004:                        fi
                   6005:                        ac_mid=`expr 2 '*' $ac_mid + 1`
1.14      noro     6006: fi
1.37      ohara    6007:
                   6008: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     6009:   done
                   6010: else
                   6011:   echo "$as_me: failed program was:" >&5
1.32      noro     6012: sed 's/^/| /' conftest.$ac_ext >&5
                   6013:
1.37      ohara    6014:        cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6015: /* confdefs.h.  */
                   6016: _ACEOF
                   6017: cat confdefs.h >>conftest.$ac_ext
                   6018: cat >>conftest.$ac_ext <<_ACEOF
                   6019: /* end confdefs.h.  */
1.14      noro     6020: $ac_includes_default
1.37      ohara    6021:    typedef long ac__type_sizeof_;
1.14      noro     6022: int
                   6023: main ()
                   6024: {
1.37      ohara    6025: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.14      noro     6026: test_array [0] = 0
                   6027:
                   6028:   ;
                   6029:   return 0;
                   6030: }
                   6031: _ACEOF
                   6032: rm -f conftest.$ac_objext
1.37      ohara    6033: if { (ac_try="$ac_compile"
                   6034: case "(($ac_try" in
                   6035:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6036:   *) ac_try_echo=$ac_try;;
                   6037: esac
                   6038: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6039:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     6040:   ac_status=$?
1.32      noro     6041:   grep -v '^ *+' conftest.er1 >conftest.err
                   6042:   rm -f conftest.er1
                   6043:   cat conftest.err >&5
1.14      noro     6044:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6045:   (exit $ac_status); } && {
                   6046:         test -z "$ac_c_werror_flag" ||
                   6047:         test ! -s conftest.err
                   6048:        } && test -s conftest.$ac_objext; then
1.14      noro     6049:   ac_hi=-1 ac_mid=-1
                   6050:   while :; do
                   6051:     cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6052: /* confdefs.h.  */
                   6053: _ACEOF
                   6054: cat confdefs.h >>conftest.$ac_ext
                   6055: cat >>conftest.$ac_ext <<_ACEOF
                   6056: /* end confdefs.h.  */
1.14      noro     6057: $ac_includes_default
1.37      ohara    6058:    typedef long ac__type_sizeof_;
1.14      noro     6059: int
                   6060: main ()
                   6061: {
1.37      ohara    6062: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.14      noro     6063: test_array [0] = 0
                   6064:
                   6065:   ;
                   6066:   return 0;
                   6067: }
                   6068: _ACEOF
                   6069: rm -f conftest.$ac_objext
1.37      ohara    6070: if { (ac_try="$ac_compile"
                   6071: case "(($ac_try" in
                   6072:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6073:   *) ac_try_echo=$ac_try;;
                   6074: esac
                   6075: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6076:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     6077:   ac_status=$?
1.32      noro     6078:   grep -v '^ *+' conftest.er1 >conftest.err
                   6079:   rm -f conftest.er1
                   6080:   cat conftest.err >&5
1.14      noro     6081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6082:   (exit $ac_status); } && {
                   6083:         test -z "$ac_c_werror_flag" ||
                   6084:         test ! -s conftest.err
                   6085:        } && test -s conftest.$ac_objext; then
1.14      noro     6086:   ac_lo=$ac_mid; break
                   6087: else
                   6088:   echo "$as_me: failed program was:" >&5
1.32      noro     6089: sed 's/^/| /' conftest.$ac_ext >&5
                   6090:
1.37      ohara    6091:        ac_hi=`expr '(' $ac_mid ')' - 1`
                   6092:                        if test $ac_mid -le $ac_hi; then
                   6093:                          ac_lo= ac_hi=
                   6094:                          break
                   6095:                        fi
                   6096:                        ac_mid=`expr 2 '*' $ac_mid`
1.14      noro     6097: fi
1.37      ohara    6098:
                   6099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     6100:   done
                   6101: else
                   6102:   echo "$as_me: failed program was:" >&5
1.32      noro     6103: sed 's/^/| /' conftest.$ac_ext >&5
                   6104:
1.37      ohara    6105:        ac_lo= ac_hi=
1.14      noro     6106: fi
1.37      ohara    6107:
                   6108: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     6109: fi
1.37      ohara    6110:
                   6111: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     6112: # Binary search between lo and hi bounds.
                   6113: while test "x$ac_lo" != "x$ac_hi"; do
                   6114:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   6115:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6116: /* confdefs.h.  */
                   6117: _ACEOF
                   6118: cat confdefs.h >>conftest.$ac_ext
                   6119: cat >>conftest.$ac_ext <<_ACEOF
                   6120: /* end confdefs.h.  */
1.14      noro     6121: $ac_includes_default
1.37      ohara    6122:    typedef long ac__type_sizeof_;
1.14      noro     6123: int
                   6124: main ()
                   6125: {
1.37      ohara    6126: static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.14      noro     6127: test_array [0] = 0
                   6128:
                   6129:   ;
                   6130:   return 0;
                   6131: }
                   6132: _ACEOF
                   6133: rm -f conftest.$ac_objext
1.37      ohara    6134: if { (ac_try="$ac_compile"
                   6135: case "(($ac_try" in
                   6136:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6137:   *) ac_try_echo=$ac_try;;
                   6138: esac
                   6139: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6140:   (eval "$ac_compile") 2>conftest.er1
1.14      noro     6141:   ac_status=$?
1.32      noro     6142:   grep -v '^ *+' conftest.er1 >conftest.err
                   6143:   rm -f conftest.er1
                   6144:   cat conftest.err >&5
1.14      noro     6145:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6146:   (exit $ac_status); } && {
                   6147:         test -z "$ac_c_werror_flag" ||
                   6148:         test ! -s conftest.err
                   6149:        } && test -s conftest.$ac_objext; then
1.14      noro     6150:   ac_hi=$ac_mid
                   6151: else
                   6152:   echo "$as_me: failed program was:" >&5
1.32      noro     6153: sed 's/^/| /' conftest.$ac_ext >&5
                   6154:
1.37      ohara    6155:        ac_lo=`expr '(' $ac_mid ')' + 1`
1.14      noro     6156: fi
1.37      ohara    6157:
                   6158: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.14      noro     6159: done
                   6160: case $ac_lo in
                   6161: ?*) ac_cv_sizeof_long=$ac_lo;;
1.37      ohara    6162: '') if test "$ac_cv_type_long" = yes; then
                   6163:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.32      noro     6164: See \`config.log' for more details." >&5
1.37      ohara    6165: echo "$as_me: error: cannot compute sizeof (long)
1.32      noro     6166: See \`config.log' for more details." >&2;}
1.37      ohara    6167:    { (exit 77); exit 77; }; }
                   6168:    else
                   6169:      ac_cv_sizeof_long=0
                   6170:    fi ;;
1.14      noro     6171: esac
                   6172: else
                   6173:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6174: /* confdefs.h.  */
                   6175: _ACEOF
                   6176: cat confdefs.h >>conftest.$ac_ext
                   6177: cat >>conftest.$ac_ext <<_ACEOF
                   6178: /* end confdefs.h.  */
1.14      noro     6179: $ac_includes_default
1.37      ohara    6180:    typedef long ac__type_sizeof_;
                   6181: static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
                   6182: static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.14      noro     6183: #include <stdio.h>
                   6184: #include <stdlib.h>
                   6185: int
                   6186: main ()
                   6187: {
                   6188:
                   6189:   FILE *f = fopen ("conftest.val", "w");
                   6190:   if (! f)
1.37      ohara    6191:     return 1;
                   6192:   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.14      noro     6193:     {
1.37      ohara    6194:       long int i = longval ();
                   6195:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   6196:        return 1;
1.14      noro     6197:       fprintf (f, "%ld\n", i);
                   6198:     }
                   6199:   else
                   6200:     {
1.37      ohara    6201:       unsigned long int i = ulongval ();
                   6202:       if (i != ((long int) (sizeof (ac__type_sizeof_))))
                   6203:        return 1;
1.14      noro     6204:       fprintf (f, "%lu\n", i);
                   6205:     }
1.37      ohara    6206:   return ferror (f) || fclose (f) != 0;
1.14      noro     6207:
                   6208:   ;
                   6209:   return 0;
                   6210: }
                   6211: _ACEOF
                   6212: rm -f conftest$ac_exeext
1.37      ohara    6213: if { (ac_try="$ac_link"
                   6214: case "(($ac_try" in
                   6215:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6216:   *) ac_try_echo=$ac_try;;
                   6217: esac
                   6218: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6219:   (eval "$ac_link") 2>&5
1.14      noro     6220:   ac_status=$?
                   6221:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6222:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.37      ohara    6223:   { (case "(($ac_try" in
                   6224:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6225:   *) ac_try_echo=$ac_try;;
                   6226: esac
                   6227: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6228:   (eval "$ac_try") 2>&5
1.14      noro     6229:   ac_status=$?
                   6230:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6231:   (exit $ac_status); }; }; then
                   6232:   ac_cv_sizeof_long=`cat conftest.val`
                   6233: else
                   6234:   echo "$as_me: program exited with status $ac_status" >&5
                   6235: echo "$as_me: failed program was:" >&5
1.32      noro     6236: sed 's/^/| /' conftest.$ac_ext >&5
                   6237:
1.14      noro     6238: ( exit $ac_status )
1.37      ohara    6239: if test "$ac_cv_type_long" = yes; then
                   6240:      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
1.32      noro     6241: See \`config.log' for more details." >&5
1.37      ohara    6242: echo "$as_me: error: cannot compute sizeof (long)
1.32      noro     6243: See \`config.log' for more details." >&2;}
1.37      ohara    6244:    { (exit 77); exit 77; }; }
                   6245:    else
                   6246:      ac_cv_sizeof_long=0
                   6247:    fi
1.14      noro     6248: fi
1.37      ohara    6249: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     6250: fi
                   6251: rm -f conftest.val
                   6252: fi
1.37      ohara    6253: { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
                   6254: echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
                   6255:
                   6256:
                   6257:
1.14      noro     6258: cat >>confdefs.h <<_ACEOF
                   6259: #define SIZEOF_LONG $ac_cv_sizeof_long
                   6260: _ACEOF
                   6261:
                   6262:
1.26      noro     6263: if test "${ac_cv_sizeof_long}" = 8; then
1.16      noro     6264:     cat >>confdefs.h <<\_ACEOF
1.14      noro     6265: #define LONG_IS_64BIT 1
                   6266: _ACEOF
                   6267:
1.16      noro     6268: else
                   6269:     cat >>confdefs.h <<\_ACEOF
1.14      noro     6270: #define LONG_IS_32BIT 1
                   6271: _ACEOF
                   6272:
                   6273: fi
                   6274: if test "${no_x}" != yes ; then
1.25      ohara    6275:     if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then
1.21      ohara    6276:            XPMLIB="-lXpm"
                   6277:     fi
1.37      ohara    6278:     # Check whether --enable-plot was given.
1.14      noro     6279: if test "${enable_plot+set}" = set; then
1.37      ohara    6280:   enableval=$enable_plot; enable_plot=yes
1.14      noro     6281: else
                   6282:   enable_plot=no
1.37      ohara    6283: fi
                   6284:
1.14      noro     6285: fi
                   6286:
1.21      ohara    6287:
1.14      noro     6288: if test ${enable_plot:=no} != no ; then
                   6289:     libasir_postfix=${libasir_postfix}_X
                   6290:     cat >>confdefs.h <<\_ACEOF
                   6291: #define DO_PLOT 1
                   6292: _ACEOF
                   6293:
                   6294: fi
1.37      ohara    6295:  if test "$enable_plot" = yes; then
1.14      noro     6296:   USE_PLOT_TRUE=
                   6297:   USE_PLOT_FALSE='#'
                   6298: else
                   6299:   USE_PLOT_TRUE='#'
                   6300:   USE_PLOT_FALSE=
                   6301: fi
                   6302:
1.37      ohara    6303:
                   6304: # Check whether --enable-interval was given.
1.14      noro     6305: if test "${enable_interval+set}" = set; then
1.37      ohara    6306:   enableval=$enable_interval; enable_interval=${enableval}
1.14      noro     6307: else
                   6308:   enable_interval=no
1.37      ohara    6309: fi
                   6310:
1.14      noro     6311:
                   6312: if test ${enable_interval:=no} != no ; then
                   6313:     libasir_postfix=${libasir_postfix}_itv
                   6314:     cat >>confdefs.h <<\_ACEOF
                   6315: #define INTERVAL 1
                   6316: _ACEOF
                   6317:
                   6318:     if test "${enable_interval}" = debug ; then
                   6319:        cat >>confdefs.h <<\_ACEOF
                   6320: #define ITVDEBUG 1
                   6321: _ACEOF
                   6322:
                   6323:     fi
                   6324: fi
                   6325:
                   6326:
                   6327: if test "${enable_fep:=no}" != no ; then
                   6328:     cat >>confdefs.h <<\_ACEOF
                   6329: #define FEP 1
                   6330: _ACEOF
                   6331:
                   6332:     FEPLIB="-lreadline -ltermcap"
                   6333: fi
                   6334:
                   6335:
1.37      ohara    6336: # Check whether --enable-fft-float was given.
1.14      noro     6337: if test "${enable_fft_float+set}" = set; then
1.37      ohara    6338:   enableval=$enable_fft_float; enable_fft_float=yes
1.14      noro     6339: else
                   6340:   enable_fft_float=no
1.37      ohara    6341: fi
                   6342:
1.14      noro     6343:
                   6344: if test "${enable_fft_float:=no}" != no ; then
                   6345:     cat >>confdefs.h <<\_ACEOF
                   6346: #define USE_FLOAT 1
                   6347: _ACEOF
                   6348:
                   6349: fi
                   6350:
                   6351:
                   6352: if test "${with_mpi:=no}" != no ; then
                   6353:     MPIINC="-I/opt/FJSVmpi2/include"
                   6354:     MPILIB="-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread"
                   6355:     cat >>confdefs.h <<\_ACEOF
                   6356: #define MPI 1
                   6357: _ACEOF
                   6358:
                   6359: fi
                   6360:
                   6361:
                   6362:
                   6363:
                   6364: if test "${with_lapack:=no}" != no ; then
1.33      noro     6365:     LAPACKLIB="-llapack -lblas -lg2c"
1.14      noro     6366:     cat >>confdefs.h <<\_ACEOF
                   6367: #define LAPACK 1
                   6368: _ACEOF
                   6369:
                   6370: fi
                   6371:
                   6372:
                   6373:
                   6374:
                   6375:
                   6376: i386_elf_obj=asmi_l.o
                   6377: i386_aout_obj=asmi.o
                   6378: sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o"
1.30      noro     6379: sparc_v9_obj=asmalpha.o
1.14      noro     6380: generic_obj=asmalpha.o
                   6381:
                   6382: case "${host}" in
1.20      ohara    6383: i[3-6]86-*-freebsd[3-9].*)
1.14      noro     6384:     asm_obj="${i386_elf_obj}"
1.20      ohara    6385:     ;;
                   6386: i[3-6]86-*-linux*|x86-*-linux*)
                   6387:     asm_obj="${i386_elf_obj}"
                   6388:     cat >>confdefs.h <<\_ACEOF
1.24      ohara    6389: #define _BSD_SOURCE 1
1.20      ohara    6390: _ACEOF
                   6391:
1.14      noro     6392:     ;;
                   6393: *-*-cygwin*)
                   6394:     asm_obj="${i386_aout_obj}"
                   6395:     ;;
1.27      ohara    6396: i[3-6]86-*-interix*)
1.28      ohara    6397:     asm_obj="${i386_aout_obj}"
1.27      ohara    6398:     cat >>confdefs.h <<\_ACEOF
                   6399: #define _ALL_SOURCE 1
                   6400: _ACEOF
                   6401:
                   6402:     ;;
1.14      noro     6403: sparc-sun-solaris2.*)
                   6404:     case "`uname -m`" in
                   6405:     sun4[dm]) asm_obj="${sparc_v8_obj}" ;;
1.31      ohara    6406:     sun4u*)     asm_obj="${sparc_v9_obj}"
                   6407:                 if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   6408:                     CFLAGS="${CFLAGS} -m64"
                   6409:                 fi
                   6410:
                   6411:                 ;;
1.14      noro     6412:     *)          asm_obj="${generic_obj}"  ;;
                   6413:     esac
                   6414:     cat >>confdefs.h <<\_ACEOF
                   6415: #define SYSV 1
                   6416: _ACEOF
                   6417:
                   6418:     ;;
1.36      ohara    6419: *-apple-darwin*)
1.14      noro     6420:     asm_obj="${generic_obj}"
                   6421:     cat >>confdefs.h <<\_ACEOF
                   6422: #define __DARWIN__ 1
                   6423: _ACEOF
                   6424:
1.19      ohara    6425:     ;;
                   6426: arm*-*-linux*)
                   6427:     asm_obj="${generic_obj}"
                   6428:     if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   6429:         CFLAGS="${CFLAGS} -fsigned-char"
                   6430:     fi
1.14      noro     6431:     ;;
                   6432: *)
                   6433:     asm_obj="${generic_obj}"
                   6434:     ;;
                   6435: esac
                   6436:
                   6437:
                   6438:
1.37      ohara    6439: { echo "$as_me:$LINENO: checking for socket" >&5
                   6440: echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
1.14      noro     6441: if test "${ac_cv_func_socket+set}" = set; then
                   6442:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6443: else
                   6444:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6445: /* confdefs.h.  */
                   6446: _ACEOF
                   6447: cat confdefs.h >>conftest.$ac_ext
                   6448: cat >>conftest.$ac_ext <<_ACEOF
                   6449: /* end confdefs.h.  */
                   6450: /* Define socket to an innocuous variant, in case <limits.h> declares socket.
                   6451:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   6452: #define socket innocuous_socket
                   6453:
1.14      noro     6454: /* System header to define __stub macros and hopefully few prototypes,
1.32      noro     6455:     which can conflict with char socket (); below.
                   6456:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6457:     <limits.h> exists even on freestanding compilers.  */
                   6458:
                   6459: #ifdef __STDC__
                   6460: # include <limits.h>
                   6461: #else
                   6462: # include <assert.h>
                   6463: #endif
                   6464:
                   6465: #undef socket
                   6466:
1.37      ohara    6467: /* Override any GCC internal prototype to avoid an error.
                   6468:    Use char because int might match the return type of a GCC
                   6469:    builtin and then its argument prototype would still apply.  */
1.14      noro     6470: #ifdef __cplusplus
                   6471: extern "C"
                   6472: #endif
                   6473: char socket ();
                   6474: /* The GNU C library defines this for functions which it implements
                   6475:     to always fail with ENOSYS.  Some functions are actually named
                   6476:     something starting with __ and the normal name is an alias.  */
1.37      ohara    6477: #if defined __stub_socket || defined __stub___socket
1.14      noro     6478: choke me
                   6479: #endif
                   6480:
1.32      noro     6481: int
                   6482: main ()
                   6483: {
1.37      ohara    6484: return socket ();
1.14      noro     6485:   ;
                   6486:   return 0;
                   6487: }
                   6488: _ACEOF
                   6489: rm -f conftest.$ac_objext conftest$ac_exeext
1.37      ohara    6490: if { (ac_try="$ac_link"
                   6491: case "(($ac_try" in
                   6492:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6493:   *) ac_try_echo=$ac_try;;
                   6494: esac
                   6495: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6496:   (eval "$ac_link") 2>conftest.er1
1.14      noro     6497:   ac_status=$?
1.32      noro     6498:   grep -v '^ *+' conftest.er1 >conftest.err
                   6499:   rm -f conftest.er1
                   6500:   cat conftest.err >&5
1.14      noro     6501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6502:   (exit $ac_status); } && {
                   6503:         test -z "$ac_c_werror_flag" ||
                   6504:         test ! -s conftest.err
                   6505:        } && test -s conftest$ac_exeext &&
                   6506:        $as_test_x conftest$ac_exeext; then
1.14      noro     6507:   ac_cv_func_socket=yes
                   6508: else
                   6509:   echo "$as_me: failed program was:" >&5
1.32      noro     6510: sed 's/^/| /' conftest.$ac_ext >&5
                   6511:
1.37      ohara    6512:        ac_cv_func_socket=no
1.14      noro     6513: fi
1.37      ohara    6514:
                   6515: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32      noro     6516:       conftest$ac_exeext conftest.$ac_ext
1.14      noro     6517: fi
1.37      ohara    6518: { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
                   6519: echo "${ECHO_T}$ac_cv_func_socket" >&6; }
1.14      noro     6520: if test $ac_cv_func_socket = yes; then
                   6521:   :
                   6522: else
                   6523:
1.37      ohara    6524: { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   6525: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
1.14      noro     6526: if test "${ac_cv_lib_socket_socket+set}" = set; then
                   6527:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6528: else
                   6529:   ac_check_lib_save_LIBS=$LIBS
                   6530: LIBS="-lsocket  $LIBS"
                   6531: cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6532: /* confdefs.h.  */
                   6533: _ACEOF
                   6534: cat confdefs.h >>conftest.$ac_ext
                   6535: cat >>conftest.$ac_ext <<_ACEOF
                   6536: /* end confdefs.h.  */
1.14      noro     6537:
1.37      ohara    6538: /* Override any GCC internal prototype to avoid an error.
                   6539:    Use char because int might match the return type of a GCC
                   6540:    builtin and then its argument prototype would still apply.  */
1.14      noro     6541: #ifdef __cplusplus
                   6542: extern "C"
                   6543: #endif
                   6544: char socket ();
                   6545: int
                   6546: main ()
                   6547: {
1.37      ohara    6548: return socket ();
1.14      noro     6549:   ;
                   6550:   return 0;
                   6551: }
                   6552: _ACEOF
                   6553: rm -f conftest.$ac_objext conftest$ac_exeext
1.37      ohara    6554: if { (ac_try="$ac_link"
                   6555: case "(($ac_try" in
                   6556:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6557:   *) ac_try_echo=$ac_try;;
                   6558: esac
                   6559: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6560:   (eval "$ac_link") 2>conftest.er1
1.14      noro     6561:   ac_status=$?
1.32      noro     6562:   grep -v '^ *+' conftest.er1 >conftest.err
                   6563:   rm -f conftest.er1
                   6564:   cat conftest.err >&5
1.14      noro     6565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6566:   (exit $ac_status); } && {
                   6567:         test -z "$ac_c_werror_flag" ||
                   6568:         test ! -s conftest.err
                   6569:        } && test -s conftest$ac_exeext &&
                   6570:        $as_test_x conftest$ac_exeext; then
1.14      noro     6571:   ac_cv_lib_socket_socket=yes
                   6572: else
                   6573:   echo "$as_me: failed program was:" >&5
1.32      noro     6574: sed 's/^/| /' conftest.$ac_ext >&5
                   6575:
1.37      ohara    6576:        ac_cv_lib_socket_socket=no
1.14      noro     6577: fi
1.37      ohara    6578:
                   6579: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32      noro     6580:       conftest$ac_exeext conftest.$ac_ext
1.14      noro     6581: LIBS=$ac_check_lib_save_LIBS
                   6582: fi
1.37      ohara    6583: { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   6584: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
1.14      noro     6585: if test $ac_cv_lib_socket_socket = yes; then
                   6586:   cat >>confdefs.h <<_ACEOF
                   6587: #define HAVE_LIBSOCKET 1
                   6588: _ACEOF
                   6589:
                   6590:   LIBS="-lsocket $LIBS"
                   6591:
                   6592: fi
                   6593:
                   6594: fi
                   6595:
1.37      ohara    6596: { echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   6597: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
1.14      noro     6598: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   6599:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6600: else
                   6601:   cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6602: /* confdefs.h.  */
                   6603: _ACEOF
                   6604: cat confdefs.h >>conftest.$ac_ext
                   6605: cat >>conftest.$ac_ext <<_ACEOF
                   6606: /* end confdefs.h.  */
                   6607: /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
                   6608:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   6609: #define gethostbyname innocuous_gethostbyname
                   6610:
1.14      noro     6611: /* System header to define __stub macros and hopefully few prototypes,
1.32      noro     6612:     which can conflict with char gethostbyname (); below.
                   6613:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6614:     <limits.h> exists even on freestanding compilers.  */
                   6615:
                   6616: #ifdef __STDC__
                   6617: # include <limits.h>
                   6618: #else
                   6619: # include <assert.h>
                   6620: #endif
                   6621:
                   6622: #undef gethostbyname
                   6623:
1.37      ohara    6624: /* Override any GCC internal prototype to avoid an error.
                   6625:    Use char because int might match the return type of a GCC
                   6626:    builtin and then its argument prototype would still apply.  */
1.14      noro     6627: #ifdef __cplusplus
                   6628: extern "C"
                   6629: #endif
                   6630: char gethostbyname ();
                   6631: /* The GNU C library defines this for functions which it implements
                   6632:     to always fail with ENOSYS.  Some functions are actually named
                   6633:     something starting with __ and the normal name is an alias.  */
1.37      ohara    6634: #if defined __stub_gethostbyname || defined __stub___gethostbyname
1.14      noro     6635: choke me
                   6636: #endif
                   6637:
1.32      noro     6638: int
                   6639: main ()
                   6640: {
1.37      ohara    6641: return gethostbyname ();
1.14      noro     6642:   ;
                   6643:   return 0;
                   6644: }
                   6645: _ACEOF
                   6646: rm -f conftest.$ac_objext conftest$ac_exeext
1.37      ohara    6647: if { (ac_try="$ac_link"
                   6648: case "(($ac_try" in
                   6649:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6650:   *) ac_try_echo=$ac_try;;
                   6651: esac
                   6652: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6653:   (eval "$ac_link") 2>conftest.er1
1.14      noro     6654:   ac_status=$?
1.32      noro     6655:   grep -v '^ *+' conftest.er1 >conftest.err
                   6656:   rm -f conftest.er1
                   6657:   cat conftest.err >&5
1.14      noro     6658:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6659:   (exit $ac_status); } && {
                   6660:         test -z "$ac_c_werror_flag" ||
                   6661:         test ! -s conftest.err
                   6662:        } && test -s conftest$ac_exeext &&
                   6663:        $as_test_x conftest$ac_exeext; then
1.14      noro     6664:   ac_cv_func_gethostbyname=yes
                   6665: else
                   6666:   echo "$as_me: failed program was:" >&5
1.32      noro     6667: sed 's/^/| /' conftest.$ac_ext >&5
                   6668:
1.37      ohara    6669:        ac_cv_func_gethostbyname=no
1.14      noro     6670: fi
1.37      ohara    6671:
                   6672: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32      noro     6673:       conftest$ac_exeext conftest.$ac_ext
1.14      noro     6674: fi
1.37      ohara    6675: { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   6676: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
1.14      noro     6677: if test $ac_cv_func_gethostbyname = yes; then
                   6678:   :
                   6679: else
                   6680:
1.37      ohara    6681: { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   6682: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
1.14      noro     6683: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   6684:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6685: else
                   6686:   ac_check_lib_save_LIBS=$LIBS
                   6687: LIBS="-lnsl  $LIBS"
                   6688: cat >conftest.$ac_ext <<_ACEOF
1.32      noro     6689: /* confdefs.h.  */
                   6690: _ACEOF
                   6691: cat confdefs.h >>conftest.$ac_ext
                   6692: cat >>conftest.$ac_ext <<_ACEOF
                   6693: /* end confdefs.h.  */
1.14      noro     6694:
1.37      ohara    6695: /* Override any GCC internal prototype to avoid an error.
                   6696:    Use char because int might match the return type of a GCC
                   6697:    builtin and then its argument prototype would still apply.  */
1.14      noro     6698: #ifdef __cplusplus
                   6699: extern "C"
                   6700: #endif
                   6701: char gethostbyname ();
                   6702: int
                   6703: main ()
                   6704: {
1.37      ohara    6705: return gethostbyname ();
1.14      noro     6706:   ;
                   6707:   return 0;
                   6708: }
                   6709: _ACEOF
                   6710: rm -f conftest.$ac_objext conftest$ac_exeext
1.37      ohara    6711: if { (ac_try="$ac_link"
                   6712: case "(($ac_try" in
                   6713:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   6714:   *) ac_try_echo=$ac_try;;
                   6715: esac
                   6716: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
                   6717:   (eval "$ac_link") 2>conftest.er1
1.14      noro     6718:   ac_status=$?
1.32      noro     6719:   grep -v '^ *+' conftest.er1 >conftest.err
                   6720:   rm -f conftest.er1
                   6721:   cat conftest.err >&5
1.14      noro     6722:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37      ohara    6723:   (exit $ac_status); } && {
                   6724:         test -z "$ac_c_werror_flag" ||
                   6725:         test ! -s conftest.err
                   6726:        } && test -s conftest$ac_exeext &&
                   6727:        $as_test_x conftest$ac_exeext; then
1.14      noro     6728:   ac_cv_lib_nsl_gethostbyname=yes
                   6729: else
                   6730:   echo "$as_me: failed program was:" >&5
1.32      noro     6731: sed 's/^/| /' conftest.$ac_ext >&5
                   6732:
1.37      ohara    6733:        ac_cv_lib_nsl_gethostbyname=no
1.14      noro     6734: fi
1.37      ohara    6735:
                   6736: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.32      noro     6737:       conftest$ac_exeext conftest.$ac_ext
1.14      noro     6738: LIBS=$ac_check_lib_save_LIBS
                   6739: fi
1.37      ohara    6740: { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   6741: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
1.14      noro     6742: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   6743:   cat >>confdefs.h <<_ACEOF
                   6744: #define HAVE_LIBNSL 1
                   6745: _ACEOF
                   6746:
                   6747:   LIBS="-lnsl $LIBS"
                   6748:
                   6749: fi
                   6750:
                   6751: fi
                   6752:
                   6753:
1.37      ohara    6754: 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"
                   6755:
1.14      noro     6756: cat >confcache <<\_ACEOF
                   6757: # This file is a shell script that caches the results of configure
                   6758: # tests run on this system so they can be shared between configure
                   6759: # scripts and configure runs, see configure's option --config-cache.
                   6760: # It is not useful on other systems.  If it contains results you don't
                   6761: # want to keep, you may remove or edit it.
                   6762: #
                   6763: # config.status only pays attention to the cache file if you give it
                   6764: # the --recheck option to rerun configure.
                   6765: #
1.32      noro     6766: # `ac_cv_env_foo' variables (set or unset) will be overridden when
1.14      noro     6767: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6768: # following values.
                   6769:
                   6770: _ACEOF
                   6771:
                   6772: # The following way of writing the cache mishandles newlines in values,
                   6773: # but we know of no workaround that is simple, portable, and efficient.
1.37      ohara    6774: # So, we kill variables containing newlines.
1.14      noro     6775: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6776: # and sets the high bit in the cache file unless we assign to the vars.
1.37      ohara    6777: (
                   6778:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   6779:     eval ac_val=\$$ac_var
                   6780:     case $ac_val in #(
                   6781:     *${as_nl}*)
                   6782:       case $ac_var in #(
                   6783:       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
                   6784: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
                   6785:       esac
                   6786:       case $ac_var in #(
                   6787:       _ | IFS | as_nl) ;; #(
                   6788:       *) $as_unset $ac_var ;;
                   6789:       esac ;;
                   6790:     esac
                   6791:   done
                   6792:
1.14      noro     6793:   (set) 2>&1 |
1.37      ohara    6794:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   6795:     *${as_nl}ac_space=\ *)
1.14      noro     6796:       # `set' does not quote correctly, so add quotes (double-quote
                   6797:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   6798:       sed -n \
1.32      noro     6799:        "s/'/'\\\\''/g;
                   6800:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.37      ohara    6801:       ;; #(
1.14      noro     6802:     *)
                   6803:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.37      ohara    6804:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.14      noro     6805:       ;;
1.37      ohara    6806:     esac |
                   6807:     sort
                   6808: ) |
1.14      noro     6809:   sed '
1.37      ohara    6810:      /^ac_cv_env_/b end
1.14      noro     6811:      t clear
1.37      ohara    6812:      :clear
1.14      noro     6813:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   6814:      t end
1.37      ohara    6815:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6816:      :end' >>confcache
                   6817: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   6818:   if test -w "$cache_file"; then
                   6819:     test "x$cache_file" != "x/dev/null" &&
                   6820:       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
                   6821: echo "$as_me: updating cache $cache_file" >&6;}
1.14      noro     6822:     cat confcache >$cache_file
                   6823:   else
1.37      ohara    6824:     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
                   6825: echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.14      noro     6826:   fi
                   6827: fi
                   6828: rm -f confcache
                   6829:
                   6830: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6831: # Let make expand exec_prefix.
                   6832: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6833:
                   6834: # Transform confdefs.h into DEFS.
                   6835: # Protect against shell expansion while executing Makefile rules.
                   6836: # Protect against Makefile macro expansion.
                   6837: #
                   6838: # If the first sed substitution is executed (which looks for macros that
1.37      ohara    6839: # take arguments), then branch to the quote section.  Otherwise,
1.14      noro     6840: # look for a macro that doesn't take arguments.
1.37      ohara    6841: ac_script='
1.14      noro     6842: t clear
1.37      ohara    6843: :clear
                   6844: s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1.14      noro     6845: t quote
1.37      ohara    6846: s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1.14      noro     6847: t quote
1.37      ohara    6848: b any
                   6849: :quote
                   6850: s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
                   6851: s/\[/\\&/g
                   6852: s/\]/\\&/g
                   6853: s/\$/$$/g
                   6854: H
                   6855: :any
                   6856: ${
                   6857:        g
                   6858:        s/^\n//
                   6859:        s/\n/ /g
                   6860:        p
                   6861: }
                   6862: '
                   6863: DEFS=`sed -n "$ac_script" confdefs.h`
1.14      noro     6864:
                   6865:
1.32      noro     6866: ac_libobjs=
                   6867: ac_ltlibobjs=
                   6868: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6869:   # 1. Remove the extension, and $U if already installed.
1.37      ohara    6870:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   6871:   ac_i=`echo "$ac_i" | sed "$ac_script"`
                   6872:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   6873:   #    will be set to the directory where LIBOBJS objects are built.
                   6874:   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   6875:   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.32      noro     6876: done
                   6877: LIBOBJS=$ac_libobjs
                   6878:
                   6879: LTLIBOBJS=$ac_ltlibobjs
                   6880:
                   6881:
1.37      ohara    6882: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
                   6883:   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
                   6884: Usually this means the macro was only invoked conditionally." >&5
                   6885: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
                   6886: Usually this means the macro was only invoked conditionally." >&2;}
                   6887:    { (exit 1); exit 1; }; }
                   6888: fi
                   6889: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   6890:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   6891: Usually this means the macro was only invoked conditionally." >&5
                   6892: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   6893: Usually this means the macro was only invoked conditionally." >&2;}
                   6894:    { (exit 1); exit 1; }; }
                   6895: fi
                   6896: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   6897:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   6898: Usually this means the macro was only invoked conditionally." >&5
                   6899: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   6900: Usually this means the macro was only invoked conditionally." >&2;}
                   6901:    { (exit 1); exit 1; }; }
                   6902: fi
1.38      ohara    6903: if test -z "${USE_GC7_TRUE}" && test -z "${USE_GC7_FALSE}"; then
                   6904:   { { echo "$as_me:$LINENO: error: conditional \"USE_GC7\" was never defined.
                   6905: Usually this means the macro was only invoked conditionally." >&5
                   6906: echo "$as_me: error: conditional \"USE_GC7\" was never defined.
                   6907: Usually this means the macro was only invoked conditionally." >&2;}
                   6908:    { (exit 1); exit 1; }; }
                   6909: fi
1.37      ohara    6910: if test -z "${USE_PLOT_TRUE}" && test -z "${USE_PLOT_FALSE}"; then
                   6911:   { { echo "$as_me:$LINENO: error: conditional \"USE_PLOT\" was never defined.
                   6912: Usually this means the macro was only invoked conditionally." >&5
                   6913: echo "$as_me: error: conditional \"USE_PLOT\" was never defined.
                   6914: Usually this means the macro was only invoked conditionally." >&2;}
                   6915:    { (exit 1); exit 1; }; }
                   6916: fi
1.14      noro     6917:
                   6918: : ${CONFIG_STATUS=./config.status}
                   6919: ac_clean_files_save=$ac_clean_files
                   6920: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   6921: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   6922: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   6923: cat >$CONFIG_STATUS <<_ACEOF
                   6924: #! $SHELL
                   6925: # Generated by $as_me.
                   6926: # Run this file to recreate the current configuration.
                   6927: # Compiler output produced by configure, useful for debugging
                   6928: # configure, is in config.log if it exists.
                   6929:
                   6930: debug=false
1.32      noro     6931: ac_cs_recheck=false
                   6932: ac_cs_silent=false
1.14      noro     6933: SHELL=\${CONFIG_SHELL-$SHELL}
                   6934: _ACEOF
                   6935:
                   6936: cat >>$CONFIG_STATUS <<\_ACEOF
                   6937: ## --------------------- ##
                   6938: ## M4sh Initialization.  ##
                   6939: ## --------------------- ##
                   6940:
1.37      ohara    6941: # Be more Bourne compatible
                   6942: DUALCASE=1; export DUALCASE # for MKS sh
1.14      noro     6943: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   6944:   emulate sh
                   6945:   NULLCMD=:
1.32      noro     6946:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   6947:   # is contrary to our usage.  Disable this feature.
                   6948:   alias -g '${1+"$@"}'='"$@"'
1.37      ohara    6949:   setopt NO_GLOB_SUBST
                   6950: else
                   6951:   case `(set -o) 2>/dev/null` in
                   6952:   *posix*) set -o posix ;;
                   6953: esac
                   6954:
                   6955: fi
                   6956:
                   6957:
                   6958:
                   6959:
                   6960: # PATH needs CR
                   6961: # Avoid depending upon Character Ranges.
                   6962: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   6963: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   6964: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   6965: as_cr_digits='0123456789'
                   6966: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   6967:
                   6968: # The user is always right.
                   6969: if test "${PATH_SEPARATOR+set}" != set; then
                   6970:   echo "#! /bin/sh" >conf$$.sh
                   6971:   echo  "exit 0"   >>conf$$.sh
                   6972:   chmod +x conf$$.sh
                   6973:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   6974:     PATH_SEPARATOR=';'
                   6975:   else
                   6976:     PATH_SEPARATOR=:
                   6977:   fi
                   6978:   rm -f conf$$.sh
1.14      noro     6979: fi
                   6980:
                   6981: # Support unset when possible.
1.32      noro     6982: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.14      noro     6983:   as_unset=unset
                   6984: else
                   6985:   as_unset=false
                   6986: fi
                   6987:
1.32      noro     6988:
1.37      ohara    6989: # IFS
                   6990: # We need space, tab and new line, in precisely that order.  Quoting is
                   6991: # there to prevent editors from complaining about space-tab.
                   6992: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   6993: # splitting by setting IFS to empty value.)
                   6994: as_nl='
                   6995: '
                   6996: IFS=" ""       $as_nl"
                   6997:
                   6998: # Find who we are.  Look in the path if we contain no directory separator.
                   6999: case $0 in
                   7000:   *[\\/]* ) as_myself=$0 ;;
                   7001:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7002: for as_dir in $PATH
                   7003: do
                   7004:   IFS=$as_save_IFS
                   7005:   test -z "$as_dir" && as_dir=.
                   7006:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   7007: done
                   7008: IFS=$as_save_IFS
                   7009:
                   7010:      ;;
                   7011: esac
                   7012: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   7013: # in which case we are not to be found in the path.
                   7014: if test "x$as_myself" = x; then
                   7015:   as_myself=$0
                   7016: fi
                   7017: if test ! -f "$as_myself"; then
                   7018:   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   7019:   { (exit 1); exit 1; }
                   7020: fi
                   7021:
1.32      noro     7022: # Work around bugs in pre-3.0 UWIN ksh.
1.37      ohara    7023: for as_var in ENV MAIL MAILPATH
                   7024: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
                   7025: done
1.32      noro     7026: PS1='$ '
                   7027: PS2='> '
                   7028: PS4='+ '
                   7029:
                   7030: # NLS nuisances.
                   7031: for as_var in \
                   7032:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   7033:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   7034:   LC_TELEPHONE LC_TIME
                   7035: do
                   7036:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   7037:     eval $as_var=C; export $as_var
                   7038:   else
1.37      ohara    7039:     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.32      noro     7040:   fi
                   7041: done
                   7042:
                   7043: # Required to use basename.
1.37      ohara    7044: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   7045:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.32      noro     7046:   as_expr=expr
                   7047: else
                   7048:   as_expr=false
                   7049: fi
                   7050:
1.37      ohara    7051: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.32      noro     7052:   as_basename=basename
                   7053: else
                   7054:   as_basename=false
                   7055: fi
1.14      noro     7056:
                   7057:
                   7058: # Name of the executable.
1.37      ohara    7059: as_me=`$as_basename -- "$0" ||
1.14      noro     7060: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   7061:         X"$0" : 'X\(//\)$' \| \
1.37      ohara    7062:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.14      noro     7063: echo X/"$0" |
1.37      ohara    7064:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   7065:            s//\1/
                   7066:            q
                   7067:          }
                   7068:          /^X\/\(\/\/\)$/{
                   7069:            s//\1/
                   7070:            q
                   7071:          }
                   7072:          /^X\/\(\/\).*/{
                   7073:            s//\1/
                   7074:            q
                   7075:          }
                   7076:          s/.*/./; q'`
1.14      noro     7077:
1.37      ohara    7078: # CDPATH.
                   7079: $as_unset CDPATH
1.32      noro     7080:
1.14      noro     7081:
                   7082:
                   7083:   as_lineno_1=$LINENO
                   7084:   as_lineno_2=$LINENO
                   7085:   test "x$as_lineno_1" != "x$as_lineno_2" &&
1.37      ohara    7086:   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1.2       noro     7087:
1.14      noro     7088:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   7089:   # uniformly replaced by the line number.  The first 'sed' inserts a
1.37      ohara    7090:   # line-number line after each line using $LINENO; the second 'sed'
                   7091:   # does the real work.  The second script uses 'N' to pair each
                   7092:   # line-number line with the line containing $LINENO, and appends
                   7093:   # trailing '-' during substitution so that $LINENO is not a special
                   7094:   # case at line end.
1.14      noro     7095:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.37      ohara    7096:   # scripts with optimization help from Paolo Bonzini.  Blame Lee
                   7097:   # E. McMahon (1931-1989) for sed's syntax.  :-)
                   7098:   sed -n '
                   7099:     p
                   7100:     /[$]LINENO/=
                   7101:   ' <$as_myself |
1.14      noro     7102:     sed '
1.37      ohara    7103:       s/[$]LINENO.*/&-/
                   7104:       t lineno
                   7105:       b
                   7106:       :lineno
1.14      noro     7107:       N
1.37      ohara    7108:       :loop
                   7109:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.14      noro     7110:       t loop
1.37      ohara    7111:       s/-\n.*//
1.14      noro     7112:     ' >$as_me.lineno &&
1.37      ohara    7113:   chmod +x "$as_me.lineno" ||
                   7114:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1.14      noro     7115:    { (exit 1); exit 1; }; }
                   7116:
                   7117:   # Don't try to exec as it changes $[0], causing all sort of problems
                   7118:   # (the dirname of $[0] is not the place where we might find the
1.37      ohara    7119:   # original and so on.  Autoconf is especially sensitive to this).
                   7120:   . "./$as_me.lineno"
1.14      noro     7121:   # Exit status is that of the last command.
                   7122:   exit
                   7123: }
                   7124:
                   7125:
1.37      ohara    7126: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   7127:   as_dirname=dirname
                   7128: else
                   7129:   as_dirname=false
                   7130: fi
                   7131:
                   7132: ECHO_C= ECHO_N= ECHO_T=
                   7133: case `echo -n x` in
                   7134: -n*)
                   7135:   case `echo 'x\c'` in
                   7136:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   7137:   *)   ECHO_C='\c';;
                   7138:   esac;;
                   7139: *)
                   7140:   ECHO_N='-n';;
1.14      noro     7141: esac
1.2       noro     7142:
1.37      ohara    7143: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   7144:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.14      noro     7145:   as_expr=expr
                   7146: else
                   7147:   as_expr=false
                   7148: fi
1.2       noro     7149:
1.14      noro     7150: rm -f conf$$ conf$$.exe conf$$.file
1.37      ohara    7151: if test -d conf$$.dir; then
                   7152:   rm -f conf$$.dir/conf$$.file
                   7153: else
                   7154:   rm -f conf$$.dir
                   7155:   mkdir conf$$.dir
                   7156: fi
1.14      noro     7157: echo >conf$$.file
                   7158: if ln -s conf$$.file conf$$ 2>/dev/null; then
1.37      ohara    7159:   as_ln_s='ln -s'
                   7160:   # ... but there are two gotchas:
                   7161:   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   7162:   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   7163:   # In both cases, we have to default to `cp -p'.
                   7164:   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.14      noro     7165:     as_ln_s='cp -p'
                   7166: elif ln conf$$.file conf$$ 2>/dev/null; then
                   7167:   as_ln_s=ln
                   7168: else
                   7169:   as_ln_s='cp -p'
                   7170: fi
1.37      ohara    7171: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   7172: rmdir conf$$.dir 2>/dev/null
1.2       noro     7173:
1.32      noro     7174: if mkdir -p . 2>/dev/null; then
                   7175:   as_mkdir_p=:
                   7176: else
                   7177:   test -d ./-p && rmdir ./-p
                   7178:   as_mkdir_p=false
                   7179: fi
                   7180:
1.37      ohara    7181: if test -x / >/dev/null 2>&1; then
                   7182:   as_test_x='test -x'
                   7183: else
                   7184:   if ls -dL / >/dev/null 2>&1; then
                   7185:     as_ls_L_option=L
                   7186:   else
                   7187:     as_ls_L_option=
                   7188:   fi
                   7189:   as_test_x='
                   7190:     eval sh -c '\''
                   7191:       if test -d "$1"; then
                   7192:         test -d "$1/.";
                   7193:       else
                   7194:        case $1 in
                   7195:         -*)set "./$1";;
                   7196:        esac;
                   7197:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
                   7198:        ???[sx]*):;;*)false;;esac;fi
                   7199:     '\'' sh
                   7200:   '
                   7201: fi
                   7202: as_executable_p=$as_test_x
1.14      noro     7203:
                   7204: # Sed expression to map a string onto a valid CPP name.
1.32      noro     7205: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro     7206:
                   7207: # Sed expression to map a string onto a valid variable name.
1.32      noro     7208: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.14      noro     7209:
                   7210:
                   7211: exec 6>&1
                   7212:
1.37      ohara    7213: # Save the log message, to keep $[0] and so on meaningful, and to
1.14      noro     7214: # report actual input values of CONFIG_FILES etc. instead of their
1.37      ohara    7215: # values after options handling.
                   7216: ac_log="
1.14      noro     7217: This file was extended by $as_me, which was
1.37      ohara    7218: generated by GNU Autoconf 2.61.  Invocation command line was
1.14      noro     7219:
                   7220:   CONFIG_FILES    = $CONFIG_FILES
                   7221:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7222:   CONFIG_LINKS    = $CONFIG_LINKS
                   7223:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7224:   $ $0 $@
                   7225:
1.37      ohara    7226: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   7227: "
                   7228:
1.14      noro     7229: _ACEOF
                   7230:
1.37      ohara    7231: cat >>$CONFIG_STATUS <<_ACEOF
1.14      noro     7232: # Files that config.status was made for.
1.37      ohara    7233: config_files="$ac_config_files"
                   7234: config_commands="$ac_config_commands"
1.2       noro     7235:
1.37      ohara    7236: _ACEOF
1.4       saito    7237:
1.14      noro     7238: cat >>$CONFIG_STATUS <<\_ACEOF
                   7239: ac_cs_usage="\
                   7240: \`$as_me' instantiates files from templates according to the
                   7241: current configuration.
                   7242:
                   7243: Usage: $0 [OPTIONS] [FILE]...
                   7244:
                   7245:   -h, --help       print this help, then exit
1.37      ohara    7246:   -V, --version    print version number and configuration settings, then exit
1.32      noro     7247:   -q, --quiet      do not print progress messages
1.14      noro     7248:   -d, --debug      don't remove temporary files
                   7249:       --recheck    update $as_me by reconfiguring in the same conditions
                   7250:   --file=FILE[:TEMPLATE]
1.32      noro     7251:                   instantiate the configuration file FILE
1.4       saito    7252:
1.14      noro     7253: Configuration files:
                   7254: $config_files
                   7255:
                   7256: Configuration commands:
                   7257: $config_commands
                   7258:
                   7259: Report bugs to <bug-autoconf@gnu.org>."
1.37      ohara    7260:
1.14      noro     7261: _ACEOF
                   7262: cat >>$CONFIG_STATUS <<_ACEOF
                   7263: ac_cs_version="\\
                   7264: config.status
1.37      ohara    7265: configured by $0, generated by GNU Autoconf 2.61,
                   7266:   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.14      noro     7267:
1.37      ohara    7268: Copyright (C) 2006 Free Software Foundation, Inc.
1.14      noro     7269: This config.status script is free software; the Free Software Foundation
                   7270: gives unlimited permission to copy, distribute and modify it."
1.37      ohara    7271:
                   7272: ac_pwd='$ac_pwd'
                   7273: srcdir='$srcdir'
                   7274: INSTALL='$INSTALL'
                   7275: MKDIR_P='$MKDIR_P'
1.14      noro     7276: _ACEOF
                   7277:
                   7278: cat >>$CONFIG_STATUS <<\_ACEOF
                   7279: # If no file are specified by the user, then we need to provide default
                   7280: # value.  By we need to know if files were specified by the user.
                   7281: ac_need_defaults=:
                   7282: while test $# != 0
                   7283: do
                   7284:   case $1 in
                   7285:   --*=*)
1.37      ohara    7286:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   7287:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.32      noro     7288:     ac_shift=:
                   7289:     ;;
1.37      ohara    7290:   *)
1.32      noro     7291:     ac_option=$1
                   7292:     ac_optarg=$2
                   7293:     ac_shift=shift
1.12      ohara    7294:     ;;
1.14      noro     7295:   esac
                   7296:
1.32      noro     7297:   case $ac_option in
1.14      noro     7298:   # Handling of the options.
1.17      ohara    7299:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.32      noro     7300:     ac_cs_recheck=: ;;
1.37      ohara    7301:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   7302:     echo "$ac_cs_version"; exit ;;
                   7303:   --debug | --debu | --deb | --de | --d | -d )
1.14      noro     7304:     debug=: ;;
                   7305:   --file | --fil | --fi | --f )
1.32      noro     7306:     $ac_shift
                   7307:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1.14      noro     7308:     ac_need_defaults=false;;
1.37      ohara    7309:   --he | --h |  --help | --hel | -h )
                   7310:     echo "$ac_cs_usage"; exit ;;
1.32      noro     7311:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7312:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7313:     ac_cs_silent=: ;;
1.14      noro     7314:
                   7315:   # This is an error.
1.37      ohara    7316:   -*) { echo "$as_me: error: unrecognized option: $1
                   7317: Try \`$0 --help' for more information." >&2
1.14      noro     7318:    { (exit 1); exit 1; }; } ;;
                   7319:
1.37      ohara    7320:   *) ac_config_targets="$ac_config_targets $1"
                   7321:      ac_need_defaults=false ;;
1.14      noro     7322:
                   7323:   esac
                   7324:   shift
                   7325: done
                   7326:
1.32      noro     7327: ac_configure_extra_args=
                   7328:
                   7329: if $ac_cs_silent; then
                   7330:   exec 6>/dev/null
                   7331:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7332: fi
                   7333:
                   7334: _ACEOF
                   7335: cat >>$CONFIG_STATUS <<_ACEOF
                   7336: if \$ac_cs_recheck; then
1.37      ohara    7337:   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   7338:   CONFIG_SHELL=$SHELL
                   7339:   export CONFIG_SHELL
                   7340:   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.32      noro     7341: fi
                   7342:
1.14      noro     7343: _ACEOF
1.37      ohara    7344: cat >>$CONFIG_STATUS <<\_ACEOF
                   7345: exec 5>>config.log
                   7346: {
                   7347:   echo
                   7348:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7349: ## Running $as_me. ##
                   7350: _ASBOX
                   7351:   echo "$ac_log"
                   7352: } >&5
1.14      noro     7353:
1.37      ohara    7354: _ACEOF
1.14      noro     7355: cat >>$CONFIG_STATUS <<_ACEOF
                   7356: #
1.37      ohara    7357: # INIT-COMMANDS
1.14      noro     7358: #
1.37      ohara    7359: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.14      noro     7360:
                   7361: _ACEOF
                   7362:
1.37      ohara    7363: cat >>$CONFIG_STATUS <<\_ACEOF
1.14      noro     7364:
1.37      ohara    7365: # Handling of arguments.
1.14      noro     7366: for ac_config_target in $ac_config_targets
                   7367: do
1.37      ohara    7368:   case $ac_config_target in
                   7369:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   7370:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   7371:     "engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
                   7372:     "asm/Makefile") CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
                   7373:     "builtin/Makefile") CONFIG_FILES="$CONFIG_FILES builtin/Makefile" ;;
                   7374:     "fft/Makefile") CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
                   7375:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   7376:     "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
                   7377:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   7378:     "parse/Makefile") CONFIG_FILES="$CONFIG_FILES parse/Makefile" ;;
                   7379:     "plot/Makefile") CONFIG_FILES="$CONFIG_FILES plot/Makefile" ;;
                   7380:
1.14      noro     7381:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   7382: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   7383:    { (exit 1); exit 1; }; };;
                   7384:   esac
                   7385: done
                   7386:
1.37      ohara    7387:
1.14      noro     7388: # If the user did not use the arguments to specify the items to instantiate,
                   7389: # then the envvar interface is used.  Set only those that are not.
                   7390: # We use the long form for the default assignment because of an extremely
                   7391: # bizarre bug on SunOS 4.1.3.
                   7392: if $ac_need_defaults; then
                   7393:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   7394:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   7395: fi
                   7396:
1.32      noro     7397: # Have a temporary directory for convenience.  Make it in the build tree
1.37      ohara    7398: # simply because there is no reason against having it here, and in addition,
1.32      noro     7399: # creating and moving files from /tmp can sometimes cause problems.
1.37      ohara    7400: # Hook for its removal unless debugging.
                   7401: # Note that there is a small window in which the directory will not be cleaned:
                   7402: # after its creation but before its name has been assigned to `$tmp'.
1.14      noro     7403: $debug ||
                   7404: {
1.37      ohara    7405:   tmp=
                   7406:   trap 'exit_status=$?
                   7407:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
                   7408: ' 0
1.14      noro     7409:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   7410: }
                   7411: # Create a (secure) tmp directory for tmp files.
1.32      noro     7412:
1.14      noro     7413: {
1.37      ohara    7414:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.14      noro     7415:   test -n "$tmp" && test -d "$tmp"
                   7416: }  ||
                   7417: {
1.37      ohara    7418:   tmp=./conf$$-$RANDOM
                   7419:   (umask 077 && mkdir "$tmp")
1.14      noro     7420: } ||
                   7421: {
1.32      noro     7422:    echo "$me: cannot create a temporary directory in ." >&2
1.14      noro     7423:    { (exit 1); exit 1; }
                   7424: }
                   7425:
1.37      ohara    7426: #
                   7427: # Set up the sed scripts for CONFIG_FILES section.
                   7428: #
                   7429:
                   7430: # No need to generate the scripts if there are no CONFIG_FILES.
                   7431: # This happens for instance when ./config.status config.h
                   7432: if test -n "$CONFIG_FILES"; then
                   7433:
1.14      noro     7434: _ACEOF
                   7435:
1.37      ohara    7436:
                   7437:
                   7438: ac_delim='%!_!# '
                   7439: for ac_last_try in false false false false false :; do
                   7440:   cat >conf$$subs.sed <<_ACEOF
                   7441: SHELL!$SHELL$ac_delim
                   7442: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
                   7443: PACKAGE_NAME!$PACKAGE_NAME$ac_delim
                   7444: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
                   7445: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
                   7446: PACKAGE_STRING!$PACKAGE_STRING$ac_delim
                   7447: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
                   7448: exec_prefix!$exec_prefix$ac_delim
                   7449: prefix!$prefix$ac_delim
                   7450: program_transform_name!$program_transform_name$ac_delim
                   7451: bindir!$bindir$ac_delim
                   7452: sbindir!$sbindir$ac_delim
                   7453: libexecdir!$libexecdir$ac_delim
                   7454: datarootdir!$datarootdir$ac_delim
                   7455: datadir!$datadir$ac_delim
                   7456: sysconfdir!$sysconfdir$ac_delim
                   7457: sharedstatedir!$sharedstatedir$ac_delim
                   7458: localstatedir!$localstatedir$ac_delim
                   7459: includedir!$includedir$ac_delim
                   7460: oldincludedir!$oldincludedir$ac_delim
                   7461: docdir!$docdir$ac_delim
                   7462: infodir!$infodir$ac_delim
                   7463: htmldir!$htmldir$ac_delim
                   7464: dvidir!$dvidir$ac_delim
                   7465: pdfdir!$pdfdir$ac_delim
                   7466: psdir!$psdir$ac_delim
                   7467: libdir!$libdir$ac_delim
                   7468: localedir!$localedir$ac_delim
                   7469: mandir!$mandir$ac_delim
                   7470: DEFS!$DEFS$ac_delim
                   7471: ECHO_C!$ECHO_C$ac_delim
                   7472: ECHO_N!$ECHO_N$ac_delim
                   7473: ECHO_T!$ECHO_T$ac_delim
                   7474: LIBS!$LIBS$ac_delim
                   7475: build_alias!$build_alias$ac_delim
                   7476: host_alias!$host_alias$ac_delim
                   7477: target_alias!$target_alias$ac_delim
                   7478: build!$build$ac_delim
                   7479: build_cpu!$build_cpu$ac_delim
                   7480: build_vendor!$build_vendor$ac_delim
                   7481: build_os!$build_os$ac_delim
                   7482: host!$host$ac_delim
                   7483: host_cpu!$host_cpu$ac_delim
                   7484: host_vendor!$host_vendor$ac_delim
                   7485: host_os!$host_os$ac_delim
                   7486: target!$target$ac_delim
                   7487: target_cpu!$target_cpu$ac_delim
                   7488: target_vendor!$target_vendor$ac_delim
                   7489: target_os!$target_os$ac_delim
                   7490: INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
                   7491: INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
                   7492: INSTALL_DATA!$INSTALL_DATA$ac_delim
                   7493: am__isrc!$am__isrc$ac_delim
                   7494: CYGPATH_W!$CYGPATH_W$ac_delim
                   7495: PACKAGE!$PACKAGE$ac_delim
                   7496: VERSION!$VERSION$ac_delim
                   7497: ACLOCAL!$ACLOCAL$ac_delim
                   7498: AUTOCONF!$AUTOCONF$ac_delim
                   7499: AUTOMAKE!$AUTOMAKE$ac_delim
                   7500: AUTOHEADER!$AUTOHEADER$ac_delim
                   7501: MAKEINFO!$MAKEINFO$ac_delim
                   7502: install_sh!$install_sh$ac_delim
                   7503: STRIP!$STRIP$ac_delim
                   7504: INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
                   7505: mkdir_p!$mkdir_p$ac_delim
                   7506: AWK!$AWK$ac_delim
                   7507: SET_MAKE!$SET_MAKE$ac_delim
                   7508: am__leading_dot!$am__leading_dot$ac_delim
                   7509: AMTAR!$AMTAR$ac_delim
                   7510: am__tar!$am__tar$ac_delim
                   7511: am__untar!$am__untar$ac_delim
                   7512: MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
                   7513: MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
                   7514: MAINT!$MAINT$ac_delim
                   7515: CC!$CC$ac_delim
                   7516: CFLAGS!$CFLAGS$ac_delim
                   7517: LDFLAGS!$LDFLAGS$ac_delim
                   7518: CPPFLAGS!$CPPFLAGS$ac_delim
                   7519: ac_ct_CC!$ac_ct_CC$ac_delim
                   7520: EXEEXT!$EXEEXT$ac_delim
                   7521: OBJEXT!$OBJEXT$ac_delim
                   7522: DEPDIR!$DEPDIR$ac_delim
                   7523: am__include!$am__include$ac_delim
                   7524: am__quote!$am__quote$ac_delim
                   7525: AMDEP_TRUE!$AMDEP_TRUE$ac_delim
                   7526: AMDEP_FALSE!$AMDEP_FALSE$ac_delim
                   7527: AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
                   7528: CCDEPMODE!$CCDEPMODE$ac_delim
                   7529: am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
                   7530: am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
                   7531: LN_S!$LN_S$ac_delim
                   7532: RANLIB!$RANLIB$ac_delim
                   7533: YACC!$YACC$ac_delim
                   7534: YFLAGS!$YFLAGS$ac_delim
                   7535: XMKMF!$XMKMF$ac_delim
                   7536: CPP!$CPP$ac_delim
                   7537: X_CFLAGS!$X_CFLAGS$ac_delim
                   7538: _ACEOF
                   7539:
                   7540:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
                   7541:     break
                   7542:   elif $ac_last_try; then
                   7543:     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
                   7544: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
                   7545:    { (exit 1); exit 1; }; }
                   7546:   else
                   7547:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   7548:   fi
                   7549: done
                   7550:
                   7551: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
                   7552: if test -n "$ac_eof"; then
                   7553:   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
                   7554:   ac_eof=`expr $ac_eof + 1`
                   7555: fi
                   7556:
1.14      noro     7557: cat >>$CONFIG_STATUS <<_ACEOF
1.37      ohara    7558: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
                   7559: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7560: _ACEOF
                   7561: sed '
                   7562: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
                   7563: s/^/s,@/; s/!/@,|#_!!_#|/
                   7564: :n
                   7565: t n
                   7566: s/'"$ac_delim"'$/,g/; t
                   7567: s/$/\\/; p
                   7568: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
                   7569: ' >>$CONFIG_STATUS <conf$$subs.sed
                   7570: rm -f conf$$subs.sed
                   7571: cat >>$CONFIG_STATUS <<_ACEOF
                   7572: CEOF$ac_eof
                   7573: _ACEOF
                   7574:
1.14      noro     7575:
1.37      ohara    7576: ac_delim='%!_!# '
                   7577: for ac_last_try in false false false false false :; do
                   7578:   cat >conf$$subs.sed <<_ACEOF
                   7579: X_PRE_LIBS!$X_PRE_LIBS$ac_delim
                   7580: X_LIBS!$X_LIBS$ac_delim
                   7581: X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
                   7582: GC!$GC$ac_delim
                   7583: GC_CONFIGURE_ARGS!$GC_CONFIGURE_ARGS$ac_delim
1.38      ohara    7584: USE_GC7_TRUE!$USE_GC7_TRUE$ac_delim
                   7585: USE_GC7_FALSE!$USE_GC7_FALSE$ac_delim
1.37      ohara    7586: GC_DISTDIR!$GC_DISTDIR$ac_delim
                   7587: PARIINC!$PARIINC$ac_delim
                   7588: PARILIB!$PARILIB$ac_delim
                   7589: GREP!$GREP$ac_delim
                   7590: EGREP!$EGREP$ac_delim
                   7591: XPMLIB!$XPMLIB$ac_delim
                   7592: USE_PLOT_TRUE!$USE_PLOT_TRUE$ac_delim
                   7593: USE_PLOT_FALSE!$USE_PLOT_FALSE$ac_delim
                   7594: FEPLIB!$FEPLIB$ac_delim
                   7595: MPIINC!$MPIINC$ac_delim
                   7596: MPILIB!$MPILIB$ac_delim
                   7597: LAPACKLIB!$LAPACKLIB$ac_delim
                   7598: libasir_postfix!$libasir_postfix$ac_delim
                   7599: USE_GC_SPARC64!$USE_GC_SPARC64$ac_delim
                   7600: asm_obj!$asm_obj$ac_delim
                   7601: LIBOBJS!$LIBOBJS$ac_delim
                   7602: LTLIBOBJS!$LTLIBOBJS$ac_delim
                   7603: _ACEOF
1.14      noro     7604:
1.39      ohara    7605:   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
1.37      ohara    7606:     break
                   7607:   elif $ac_last_try; then
                   7608:     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
                   7609: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
                   7610:    { (exit 1); exit 1; }; }
                   7611:   else
                   7612:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.14      noro     7613:   fi
1.37      ohara    7614: done
                   7615:
                   7616: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
                   7617: if test -n "$ac_eof"; then
                   7618:   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
                   7619:   ac_eof=`expr $ac_eof + 1`
                   7620: fi
1.14      noro     7621:
1.37      ohara    7622: cat >>$CONFIG_STATUS <<_ACEOF
                   7623: cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
                   7624: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
                   7625: _ACEOF
                   7626: sed '
                   7627: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
                   7628: s/^/s,@/; s/!/@,|#_!!_#|/
                   7629: :n
                   7630: t n
                   7631: s/'"$ac_delim"'$/,g/; t
                   7632: s/$/\\/; p
                   7633: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
                   7634: ' >>$CONFIG_STATUS <conf$$subs.sed
                   7635: rm -f conf$$subs.sed
                   7636: cat >>$CONFIG_STATUS <<_ACEOF
                   7637: :end
                   7638: s/|#_!!_#|//g
                   7639: CEOF$ac_eof
1.14      noro     7640: _ACEOF
1.37      ohara    7641:
                   7642:
                   7643: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   7644: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   7645: # trailing colons and then remove the whole line if VPATH becomes empty
                   7646: # (actually we leave an empty line to preserve line numbers).
                   7647: if test "x$srcdir" = x.; then
                   7648:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   7649: s/:*\$(srcdir):*/:/
                   7650: s/:*\${srcdir}:*/:/
                   7651: s/:*@srcdir@:*/:/
                   7652: s/^\([^=]*=[    ]*\):*/\1/
                   7653: s/:*$//
                   7654: s/^[^=]*=[      ]*$//
                   7655: }'
                   7656: fi
                   7657:
1.14      noro     7658: cat >>$CONFIG_STATUS <<\_ACEOF
1.37      ohara    7659: fi # test -n "$CONFIG_FILES"
                   7660:
                   7661:
                   7662: for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
                   7663: do
                   7664:   case $ac_tag in
                   7665:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   7666:   esac
                   7667:   case $ac_mode$ac_tag in
                   7668:   :[FHL]*:*);;
                   7669:   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
                   7670: echo "$as_me: error: Invalid tag $ac_tag." >&2;}
                   7671:    { (exit 1); exit 1; }; };;
                   7672:   :[FH]-) ac_tag=-:-;;
                   7673:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   7674:   esac
                   7675:   ac_save_IFS=$IFS
                   7676:   IFS=:
                   7677:   set x $ac_tag
                   7678:   IFS=$ac_save_IFS
                   7679:   shift
                   7680:   ac_file=$1
                   7681:   shift
                   7682:
                   7683:   case $ac_mode in
                   7684:   :L) ac_source=$1;;
                   7685:   :[FH])
                   7686:     ac_file_inputs=
                   7687:     for ac_f
                   7688:     do
                   7689:       case $ac_f in
                   7690:       -) ac_f="$tmp/stdin";;
                   7691:       *) # Look for the file first in the build tree, then in the source tree
                   7692:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   7693:         # because $ac_f cannot contain `:'.
                   7694:         test -f "$ac_f" ||
                   7695:           case $ac_f in
                   7696:           [\\/$]*) false;;
                   7697:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   7698:           esac ||
                   7699:           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
                   7700: echo "$as_me: error: cannot find input file: $ac_f" >&2;}
                   7701:    { (exit 1); exit 1; }; };;
                   7702:       esac
                   7703:       ac_file_inputs="$ac_file_inputs $ac_f"
                   7704:     done
                   7705:
                   7706:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7707:     # use $as_me), people would be surprised to read:
                   7708:     #    /* config.h.  Generated by config.status.  */
                   7709:     configure_input="Generated from "`IFS=:
                   7710:          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
                   7711:     if test x"$ac_file" != x-; then
                   7712:       configure_input="$ac_file.  $configure_input"
                   7713:       { echo "$as_me:$LINENO: creating $ac_file" >&5
                   7714: echo "$as_me: creating $ac_file" >&6;}
                   7715:     fi
                   7716:
                   7717:     case $ac_tag in
                   7718:     *:-:* | *:-) cat >"$tmp/stdin";;
                   7719:     esac
                   7720:     ;;
1.14      noro     7721:   esac
                   7722:
1.37      ohara    7723:   ac_dir=`$as_dirname -- "$ac_file" ||
1.14      noro     7724: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.32      noro     7725:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   7726:         X"$ac_file" : 'X\(//\)$' \| \
1.37      ohara    7727:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.14      noro     7728: echo X"$ac_file" |
1.37      ohara    7729:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7730:            s//\1/
                   7731:            q
                   7732:          }
                   7733:          /^X\(\/\/\)[^/].*/{
                   7734:            s//\1/
                   7735:            q
                   7736:          }
                   7737:          /^X\(\/\/\)$/{
                   7738:            s//\1/
                   7739:            q
                   7740:          }
                   7741:          /^X\(\/\).*/{
                   7742:            s//\1/
                   7743:            q
                   7744:          }
                   7745:          s/.*/./; q'`
                   7746:   { as_dir="$ac_dir"
                   7747:   case $as_dir in #(
                   7748:   -*) as_dir=./$as_dir;;
                   7749:   esac
                   7750:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.32      noro     7751:     as_dirs=
1.37      ohara    7752:     while :; do
                   7753:       case $as_dir in #(
                   7754:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
                   7755:       *) as_qdir=$as_dir;;
                   7756:       esac
                   7757:       as_dirs="'$as_qdir' $as_dirs"
                   7758:       as_dir=`$as_dirname -- "$as_dir" ||
1.32      noro     7759: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7760:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   7761:         X"$as_dir" : 'X\(//\)$' \| \
1.37      ohara    7762:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.32      noro     7763: echo X"$as_dir" |
1.37      ohara    7764:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7765:            s//\1/
                   7766:            q
                   7767:          }
                   7768:          /^X\(\/\/\)[^/].*/{
                   7769:            s//\1/
                   7770:            q
                   7771:          }
                   7772:          /^X\(\/\/\)$/{
                   7773:            s//\1/
                   7774:            q
                   7775:          }
                   7776:          /^X\(\/\).*/{
                   7777:            s//\1/
                   7778:            q
                   7779:          }
                   7780:          s/.*/./; q'`
                   7781:       test -d "$as_dir" && break
1.32      noro     7782:     done
1.37      ohara    7783:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   7784:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
                   7785: echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.32      noro     7786:    { (exit 1); exit 1; }; }; }
1.14      noro     7787:   ac_builddir=.
                   7788:
1.37      ohara    7789: case "$ac_dir" in
                   7790: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7791: *)
1.14      noro     7792:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.37      ohara    7793:   # A ".." for each directory in $ac_dir_suffix.
                   7794:   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
                   7795:   case $ac_top_builddir_sub in
                   7796:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   7797:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   7798:   esac ;;
                   7799: esac
                   7800: ac_abs_top_builddir=$ac_pwd
                   7801: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   7802: # for backward compatibility:
                   7803: ac_top_builddir=$ac_top_build_prefix
1.14      noro     7804:
                   7805: case $srcdir in
1.37      ohara    7806:   .)  # We are building in place.
1.14      noro     7807:     ac_srcdir=.
1.37      ohara    7808:     ac_top_srcdir=$ac_top_builddir_sub
                   7809:     ac_abs_top_srcdir=$ac_pwd ;;
                   7810:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.14      noro     7811:     ac_srcdir=$srcdir$ac_dir_suffix;
1.37      ohara    7812:     ac_top_srcdir=$srcdir
                   7813:     ac_abs_top_srcdir=$srcdir ;;
                   7814:   *) # Relative name.
                   7815:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   7816:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   7817:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.14      noro     7818: esac
1.37      ohara    7819: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.32      noro     7820:
1.14      noro     7821:
1.37      ohara    7822:   case $ac_mode in
                   7823:   :F)
                   7824:   #
                   7825:   # CONFIG_FILE
                   7826:   #
1.14      noro     7827:
                   7828:   case $INSTALL in
                   7829:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.37      ohara    7830:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.14      noro     7831:   esac
1.37      ohara    7832:   ac_MKDIR_P=$MKDIR_P
                   7833:   case $MKDIR_P in
                   7834:   [\\/$]* | ?:[\\/]* ) ;;
                   7835:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   7836:   esac
                   7837: _ACEOF
1.14      noro     7838:
1.37      ohara    7839: cat >>$CONFIG_STATUS <<\_ACEOF
                   7840: # If the template does not know about datarootdir, expand it.
                   7841: # FIXME: This hack should be removed a few years after 2.60.
                   7842: ac_datarootdir_hack=; ac_datarootdir_seen=
                   7843:
                   7844: case `sed -n '/datarootdir/ {
                   7845:   p
                   7846:   q
                   7847: }
                   7848: /@datadir@/p
                   7849: /@docdir@/p
                   7850: /@infodir@/p
                   7851: /@localedir@/p
                   7852: /@mandir@/p
                   7853: ' $ac_file_inputs` in
                   7854: *datarootdir*) ac_datarootdir_seen=yes;;
                   7855: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   7856:   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   7857: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   7858: _ACEOF
                   7859: cat >>$CONFIG_STATUS <<_ACEOF
                   7860:   ac_datarootdir_hack='
                   7861:   s&@datadir@&$datadir&g
                   7862:   s&@docdir@&$docdir&g
                   7863:   s&@infodir@&$infodir&g
                   7864:   s&@localedir@&$localedir&g
                   7865:   s&@mandir@&$mandir&g
                   7866:     s&\\\${datarootdir}&$datarootdir&g' ;;
                   7867: esac
                   7868: _ACEOF
1.14      noro     7869:
1.37      ohara    7870: # Neutralize VPATH when `$srcdir' = `.'.
                   7871: # Shell code in configure.ac might set extrasub.
                   7872: # FIXME: do we really want to maintain this feature?
1.14      noro     7873: cat >>$CONFIG_STATUS <<_ACEOF
                   7874:   sed "$ac_vpsub
                   7875: $extrasub
                   7876: _ACEOF
                   7877: cat >>$CONFIG_STATUS <<\_ACEOF
                   7878: :t
                   7879: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.37      ohara    7880: s&@configure_input@&$configure_input&;t t
                   7881: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   7882: s&@srcdir@&$ac_srcdir&;t t
                   7883: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   7884: s&@top_srcdir@&$ac_top_srcdir&;t t
                   7885: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   7886: s&@builddir@&$ac_builddir&;t t
                   7887: s&@abs_builddir@&$ac_abs_builddir&;t t
                   7888: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   7889: s&@INSTALL@&$ac_INSTALL&;t t
                   7890: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   7891: $ac_datarootdir_hack
                   7892: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
                   7893:
                   7894: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   7895:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
                   7896:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
                   7897:   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   7898: which seems to be undefined.  Please make sure it is defined." >&5
                   7899: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   7900: which seems to be undefined.  Please make sure it is defined." >&2;}
                   7901:
                   7902:   rm -f "$tmp/stdin"
                   7903:   case $ac_file in
                   7904:   -) cat "$tmp/out"; rm -f "$tmp/out";;
                   7905:   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
                   7906:   esac
                   7907:  ;;
                   7908:
                   7909:
                   7910:   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
                   7911: echo "$as_me: executing $ac_file commands" >&6;}
                   7912:  ;;
                   7913:   esac
1.14      noro     7914:
                   7915:
1.37      ohara    7916:   case $ac_file$ac_mode in
                   7917:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   7918:   # Strip MF so we end up with the name of the file.
                   7919:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   7920:   # Check whether this is an Automake generated Makefile or not.
                   7921:   # We used to match only the files named `Makefile.in', but
                   7922:   # some people rename them; so instead we look at the file content.
                   7923:   # Grep'ing the first line is not enough: some people post-process
                   7924:   # each Makefile.in and add a new line on top of each file to say so.
                   7925:   # Grep'ing the whole file is not good either: AIX grep has a line
                   7926:   # limit of 2048, but all sed's we know have understand at least 4000.
                   7927:   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
                   7928:     dirpart=`$as_dirname -- "$mf" ||
                   7929: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7930:         X"$mf" : 'X\(//\)[^/]' \| \
                   7931:         X"$mf" : 'X\(//\)$' \| \
                   7932:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   7933: echo X"$mf" |
                   7934:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7935:            s//\1/
                   7936:            q
                   7937:          }
                   7938:          /^X\(\/\/\)[^/].*/{
                   7939:            s//\1/
                   7940:            q
                   7941:          }
                   7942:          /^X\(\/\/\)$/{
                   7943:            s//\1/
                   7944:            q
                   7945:          }
                   7946:          /^X\(\/\).*/{
                   7947:            s//\1/
                   7948:            q
                   7949:          }
                   7950:          s/.*/./; q'`
1.32      noro     7951:   else
1.37      ohara    7952:     continue
                   7953:   fi
                   7954:   # Extract the definition of DEPDIR, am__include, and am__quote
                   7955:   # from the Makefile without running `make'.
                   7956:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   7957:   test -z "$DEPDIR" && continue
                   7958:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   7959:   test -z "am__include" && continue
                   7960:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   7961:   # When using ansi2knr, U may be empty or an underscore; expand it
                   7962:   U=`sed -n 's/^U = //p' < "$mf"`
                   7963:   # Find all dependency output files, they are included files with
                   7964:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   7965:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   7966:   # expansion.
                   7967:   for file in `sed -n "
                   7968:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   7969:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   7970:     # Make sure the directory exists.
                   7971:     test -f "$dirpart/$file" && continue
                   7972:     fdir=`$as_dirname -- "$file" ||
                   7973: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7974:         X"$file" : 'X\(//\)[^/]' \| \
                   7975:         X"$file" : 'X\(//\)$' \| \
                   7976:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   7977: echo X"$file" |
                   7978:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   7979:            s//\1/
                   7980:            q
                   7981:          }
                   7982:          /^X\(\/\/\)[^/].*/{
                   7983:            s//\1/
                   7984:            q
                   7985:          }
                   7986:          /^X\(\/\/\)$/{
                   7987:            s//\1/
                   7988:            q
                   7989:          }
                   7990:          /^X\(\/\).*/{
                   7991:            s//\1/
                   7992:            q
                   7993:          }
                   7994:          s/.*/./; q'`
                   7995:     { as_dir=$dirpart/$fdir
                   7996:   case $as_dir in #(
                   7997:   -*) as_dir=./$as_dir;;
                   7998:   esac
                   7999:   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1.32      noro     8000:     as_dirs=
1.37      ohara    8001:     while :; do
                   8002:       case $as_dir in #(
                   8003:       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
                   8004:       *) as_qdir=$as_dir;;
                   8005:       esac
                   8006:       as_dirs="'$as_qdir' $as_dirs"
                   8007:       as_dir=`$as_dirname -- "$as_dir" ||
1.32      noro     8008: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8009:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8010:         X"$as_dir" : 'X\(//\)$' \| \
1.37      ohara    8011:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.32      noro     8012: echo X"$as_dir" |
1.37      ohara    8013:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   8014:            s//\1/
                   8015:            q
                   8016:          }
                   8017:          /^X\(\/\/\)[^/].*/{
                   8018:            s//\1/
                   8019:            q
                   8020:          }
                   8021:          /^X\(\/\/\)$/{
                   8022:            s//\1/
                   8023:            q
                   8024:          }
                   8025:          /^X\(\/\).*/{
                   8026:            s//\1/
                   8027:            q
                   8028:          }
                   8029:          s/.*/./; q'`
                   8030:       test -d "$as_dir" && break
1.32      noro     8031:     done
1.37      ohara    8032:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   8033:   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
                   8034: echo "$as_me: error: cannot create directory $as_dir" >&2;}
1.32      noro     8035:    { (exit 1); exit 1; }; }; }
1.14      noro     8036:     # echo "creating $dirpart/$file"
                   8037:     echo '# dummy' > "$dirpart/$file"
                   8038:   done
                   8039: done
                   8040:  ;;
1.37      ohara    8041:
1.14      noro     8042:   esac
1.37      ohara    8043: done # for ac_tag
1.14      noro     8044:
                   8045:
                   8046: { (exit 0); exit 0; }
                   8047: _ACEOF
                   8048: chmod +x $CONFIG_STATUS
                   8049: ac_clean_files=$ac_clean_files_save
                   8050:
                   8051:
                   8052: # configure is writing to config.log, and then calls config.status.
                   8053: # config.status does its own redirection, appending to config.log.
                   8054: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8055: # by configure, so config.status won't be able to write to it; its
                   8056: # output is simply discarded.  So we exec the FD to /dev/null,
                   8057: # effectively closing config.log, so it can be properly (re)opened and
                   8058: # appended to by config.status.  When coming back to configure, we
                   8059: # need to make the FD available again.
                   8060: if test "$no_create" != yes; then
                   8061:   ac_cs_success=:
1.32      noro     8062:   ac_config_status_args=
                   8063:   test "$silent" = yes &&
                   8064:     ac_config_status_args="$ac_config_status_args --quiet"
1.14      noro     8065:   exec 5>/dev/null
1.32      noro     8066:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
1.14      noro     8067:   exec 5>>config.log
                   8068:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8069:   # would make configure fail if this is the last instruction.
                   8070:   $ac_cs_success || { (exit 1); exit 1; }
                   8071: fi
                   8072:

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