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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.28

1.14      noro        1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.17      ohara       3: # Generated by GNU Autoconf 2.53.
1.14      noro        4: #
                      5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                      6: # Free Software Foundation, Inc.
                      7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
1.17      ohara       9:
                     10: if expr a : '\(a\)' >/dev/null 2>&1; then
                     11:   as_expr=expr
                     12: else
                     13:   as_expr=false
                     14: fi
                     15:
                     16:
1.14      noro       17: ## --------------------- ##
                     18: ## M4sh Initialization.  ##
                     19: ## --------------------- ##
                     20:
                     21: # Be Bourne compatible
                     22: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     23:   emulate sh
                     24:   NULLCMD=:
                     25: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     26:   set -o posix
                     27: fi
                     28:
1.17      ohara      29: # NLS nuisances.
1.14      noro       30: # Support unset when possible.
                     31: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                     32:   as_unset=unset
                     33: else
                     34:   as_unset=false
                     35: fi
                     36:
1.17      ohara      37: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                     38:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                     39:       { LANG=C; export LANG; }
                     40: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                     41:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                     42:       { LC_ALL=C; export LC_ALL; }
                     43: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                     44:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                     45:       { LC_TIME=C; export LC_TIME; }
                     46: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                     47:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                     48:       { LC_CTYPE=C; export LC_CTYPE; }
                     49: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                     50:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                     51:       { LANGUAGE=C; export LANGUAGE; }
                     52: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                     53:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                     54:       { LC_COLLATE=C; export LC_COLLATE; }
                     55: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                     56:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                     57:       { LC_NUMERIC=C; export LC_NUMERIC; }
                     58: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                     59:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                     60:       { LC_MESSAGES=C; export LC_MESSAGES; }
1.14      noro       61:
                     62:
                     63: # Name of the executable.
1.17      ohara      64: as_me=`(basename "$0") 2>/dev/null ||
1.14      noro       65: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     66:         X"$0" : 'X\(//\)$' \| \
                     67:         X"$0" : 'X\(/\)$' \| \
                     68:         .     : '\(.\)' 2>/dev/null ||
                     69: echo X/"$0" |
                     70:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     71:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     72:          /^X\/\(\/\).*/{ s//\1/; q; }
                     73:          s/.*/./; q'`
                     74:
                     75: # PATH needs CR, and LINENO needs CR and PATH.
                     76: # Avoid depending upon Character Ranges.
                     77: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     78: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     79: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     80: as_cr_digits='0123456789'
                     81: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     82:
                     83: # The user is always right.
                     84: if test "${PATH_SEPARATOR+set}" != set; then
1.17      ohara      85:   echo "#! /bin/sh" >conftest.sh
                     86:   echo  "exit 0"   >>conftest.sh
                     87:   chmod +x conftest.sh
                     88:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1.14      noro       89:     PATH_SEPARATOR=';'
                     90:   else
                     91:     PATH_SEPARATOR=:
                     92:   fi
1.17      ohara      93:   rm -f conftest.sh
1.14      noro       94: fi
                     95:
                     96:
                     97:   as_lineno_1=$LINENO
                     98:   as_lineno_2=$LINENO
                     99:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    100:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    101:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    102:   # Find who we are.  Look in the path if we contain no path at all
                    103:   # relative or not.
                    104:   case $0 in
                    105:     *[\\/]* ) as_myself=$0 ;;
                    106:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    107: for as_dir in $PATH
                    108: do
                    109:   IFS=$as_save_IFS
                    110:   test -z "$as_dir" && as_dir=.
                    111:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    112: done
                    113:
                    114:        ;;
                    115:   esac
                    116:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    117:   # in which case we are not to be found in the path.
                    118:   if test "x$as_myself" = x; then
                    119:     as_myself=$0
                    120:   fi
                    121:   if test ! -f "$as_myself"; then
                    122:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    123:    { (exit 1); exit 1; }; }
                    124:   fi
                    125:   case $CONFIG_SHELL in
                    126:   '')
                    127:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    128: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    129: do
                    130:   IFS=$as_save_IFS
                    131:   test -z "$as_dir" && as_dir=.
                    132:   for as_base in sh bash ksh sh5; do
                    133:         case $as_dir in
                    134:         /*)
                    135:           if ("$as_dir/$as_base" -c '
                    136:   as_lineno_1=$LINENO
                    137:   as_lineno_2=$LINENO
                    138:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    139:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    140:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    141:             CONFIG_SHELL=$as_dir/$as_base
                    142:             export CONFIG_SHELL
                    143:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    144:           fi;;
                    145:         esac
                    146:        done
                    147: done
                    148: ;;
                    149:   esac
                    150:
                    151:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    152:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    153:   # line-number line before each line; the second 'sed' does the real
                    154:   # work.  The second script uses 'N' to pair each line-number line
                    155:   # with the numbered line, and appends trailing '-' during
                    156:   # substitution so that $LINENO is not a special case at line end.
                    157:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    158:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    159:   sed '=' <$as_myself |
                    160:     sed '
                    161:       N
                    162:       s,$,-,
                    163:       : loop
                    164:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    165:       t loop
                    166:       s,-$,,
                    167:       s,^['$as_cr_digits']*\n,,
                    168:     ' >$as_me.lineno &&
                    169:   chmod +x $as_me.lineno ||
                    170:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    171:    { (exit 1); exit 1; }; }
                    172:
                    173:   # Don't try to exec as it changes $[0], causing all sort of problems
                    174:   # (the dirname of $[0] is not the place where we might find the
                    175:   # original and so on.  Autoconf is especially sensible to this).
                    176:   . ./$as_me.lineno
                    177:   # Exit status is that of the last command.
                    178:   exit
                    179: }
                    180:
                    181:
                    182: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    183:   *c*,-n*) ECHO_N= ECHO_C='
                    184: ' ECHO_T='     ' ;;
                    185:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    186:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    187: esac
                    188:
                    189: if expr a : '\(a\)' >/dev/null 2>&1; then
                    190:   as_expr=expr
                    191: else
                    192:   as_expr=false
                    193: fi
                    194:
                    195: rm -f conf$$ conf$$.exe conf$$.file
                    196: echo >conf$$.file
                    197: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    198:   # We could just check for DJGPP; but this test a) works b) is more generic
                    199:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    200:   if test -f conf$$.exe; then
                    201:     # Don't use ln at all; we don't have any links
                    202:     as_ln_s='cp -p'
                    203:   else
                    204:     as_ln_s='ln -s'
                    205:   fi
                    206: elif ln conf$$.file conf$$ 2>/dev/null; then
                    207:   as_ln_s=ln
                    208: else
                    209:   as_ln_s='cp -p'
                    210: fi
                    211: rm -f conf$$ conf$$.exe conf$$.file
                    212:
                    213: as_executable_p="test -f"
                    214:
                    215: # Sed expression to map a string onto a valid CPP name.
                    216: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    217:
                    218: # Sed expression to map a string onto a valid variable name.
                    219: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    220:
                    221:
                    222: # IFS
                    223: # We need space, tab and new line, in precisely that order.
                    224: as_nl='
                    225: '
                    226: IFS="  $as_nl"
                    227:
                    228: # CDPATH.
1.17      ohara     229: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1.14      noro      230:
                    231:
                    232: # Name of the host.
                    233: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    234: # so uname gets run too.
                    235: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    236:
                    237: exec 6>&1
                    238:
                    239: #
                    240: # Initializations.
                    241: #
                    242: ac_default_prefix=/usr/local
                    243: cross_compiling=no
                    244: subdirs=
                    245: MFLAGS=
                    246: MAKEFLAGS=
                    247: SHELL=${CONFIG_SHELL-/bin/sh}
                    248:
                    249: # Maximum number of lines to put in a shell here document.
                    250: # This variable seems obsolete.  It should probably be removed, and
                    251: # only ac_max_sed_lines should be used.
                    252: : ${ac_max_here_lines=38}
                    253:
                    254: # Identity of this package.
                    255: PACKAGE_NAME=
                    256: PACKAGE_TARNAME=
                    257: PACKAGE_VERSION=
                    258: PACKAGE_STRING=
                    259: PACKAGE_BUGREPORT=
                    260:
                    261: ac_unique_file="LICENSE"
                    262: # Factoring default headers for most tests.
                    263: ac_includes_default="\
                    264: #include <stdio.h>
                    265: #if HAVE_SYS_TYPES_H
                    266: # include <sys/types.h>
                    267: #endif
                    268: #if HAVE_SYS_STAT_H
                    269: # include <sys/stat.h>
                    270: #endif
                    271: #if STDC_HEADERS
                    272: # include <stdlib.h>
                    273: # include <stddef.h>
                    274: #else
                    275: # if HAVE_STDLIB_H
                    276: #  include <stdlib.h>
                    277: # endif
                    278: #endif
                    279: #if HAVE_STRING_H
                    280: # if !STDC_HEADERS && HAVE_MEMORY_H
                    281: #  include <memory.h>
                    282: # endif
                    283: # include <string.h>
                    284: #endif
                    285: #if HAVE_STRINGS_H
                    286: # include <strings.h>
                    287: #endif
                    288: #if HAVE_INTTYPES_H
                    289: # include <inttypes.h>
                    290: #else
                    291: # if HAVE_STDINT_H
                    292: #  include <stdint.h>
                    293: # endif
                    294: #endif
                    295: #if HAVE_UNISTD_H
                    296: # include <unistd.h>
                    297: #endif"
                    298:
                    299:
                    300: # Initialize some variables set by options.
                    301: ac_init_help=
                    302: ac_init_version=false
                    303: # The variables have the same names as the options, with
                    304: # dashes changed to underlines.
                    305: cache_file=/dev/null
                    306: exec_prefix=NONE
                    307: no_create=
                    308: no_recursion=
                    309: prefix=NONE
                    310: program_prefix=NONE
                    311: program_suffix=NONE
                    312: program_transform_name=s,x,x,
                    313: silent=
                    314: site=
                    315: srcdir=
                    316: verbose=
                    317: x_includes=NONE
                    318: x_libraries=NONE
                    319:
                    320: # Installation directory options.
                    321: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    322: # and all the variables that are supposed to be based on exec_prefix
                    323: # by default will actually change.
                    324: # Use braces instead of parens because sh, perl, etc. also accept them.
                    325: bindir='${exec_prefix}/bin'
                    326: sbindir='${exec_prefix}/sbin'
                    327: libexecdir='${exec_prefix}/libexec'
                    328: datadir='${prefix}/share'
                    329: sysconfdir='${prefix}/etc'
                    330: sharedstatedir='${prefix}/com'
                    331: localstatedir='${prefix}/var'
                    332: libdir='${exec_prefix}/lib'
                    333: includedir='${prefix}/include'
                    334: oldincludedir='/usr/include'
                    335: infodir='${prefix}/info'
                    336: mandir='${prefix}/man'
                    337:
                    338: ac_prev=
                    339: for ac_option
                    340: do
                    341:   # If the previous option needs an argument, assign it.
                    342:   if test -n "$ac_prev"; then
                    343:     eval "$ac_prev=\$ac_option"
                    344:     ac_prev=
                    345:     continue
                    346:   fi
                    347:
                    348:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
                    349:
                    350:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    351:
                    352:   case $ac_option in
                    353:
                    354:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    355:     ac_prev=bindir ;;
                    356:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    357:     bindir=$ac_optarg ;;
                    358:
                    359:   -build | --build | --buil | --bui | --bu)
                    360:     ac_prev=build_alias ;;
                    361:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    362:     build_alias=$ac_optarg ;;
                    363:
                    364:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    365:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    366:     ac_prev=cache_file ;;
                    367:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    368:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    369:     cache_file=$ac_optarg ;;
                    370:
                    371:   --config-cache | -C)
                    372:     cache_file=config.cache ;;
                    373:
                    374:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    375:     ac_prev=datadir ;;
                    376:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    377:   | --da=*)
                    378:     datadir=$ac_optarg ;;
                    379:
                    380:   -disable-* | --disable-*)
                    381:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    382:     # Reject names that are not valid shell variable names.
                    383:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    384:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    385:    { (exit 1); exit 1; }; }
                    386:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    387:     eval "enable_$ac_feature=no" ;;
                    388:
                    389:   -enable-* | --enable-*)
                    390:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    391:     # Reject names that are not valid shell variable names.
                    392:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    393:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    394:    { (exit 1); exit 1; }; }
                    395:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    396:     case $ac_option in
                    397:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
                    398:       *) ac_optarg=yes ;;
                    399:     esac
                    400:     eval "enable_$ac_feature='$ac_optarg'" ;;
                    401:
                    402:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    403:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    404:   | --exec | --exe | --ex)
                    405:     ac_prev=exec_prefix ;;
                    406:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    407:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    408:   | --exec=* | --exe=* | --ex=*)
                    409:     exec_prefix=$ac_optarg ;;
                    410:
                    411:   -gas | --gas | --ga | --g)
                    412:     # Obsolete; use --with-gas.
                    413:     with_gas=yes ;;
                    414:
                    415:   -help | --help | --hel | --he | -h)
                    416:     ac_init_help=long ;;
                    417:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    418:     ac_init_help=recursive ;;
                    419:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    420:     ac_init_help=short ;;
                    421:
                    422:   -host | --host | --hos | --ho)
                    423:     ac_prev=host_alias ;;
                    424:   -host=* | --host=* | --hos=* | --ho=*)
                    425:     host_alias=$ac_optarg ;;
                    426:
                    427:   -includedir | --includedir | --includedi | --included | --include \
                    428:   | --includ | --inclu | --incl | --inc)
                    429:     ac_prev=includedir ;;
                    430:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    431:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    432:     includedir=$ac_optarg ;;
                    433:
                    434:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    435:     ac_prev=infodir ;;
                    436:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    437:     infodir=$ac_optarg ;;
                    438:
                    439:   -libdir | --libdir | --libdi | --libd)
                    440:     ac_prev=libdir ;;
                    441:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    442:     libdir=$ac_optarg ;;
                    443:
                    444:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    445:   | --libexe | --libex | --libe)
                    446:     ac_prev=libexecdir ;;
                    447:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    448:   | --libexe=* | --libex=* | --libe=*)
                    449:     libexecdir=$ac_optarg ;;
                    450:
                    451:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    452:   | --localstate | --localstat | --localsta | --localst \
                    453:   | --locals | --local | --loca | --loc | --lo)
                    454:     ac_prev=localstatedir ;;
                    455:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    456:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    457:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
                    458:     localstatedir=$ac_optarg ;;
                    459:
                    460:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    461:     ac_prev=mandir ;;
                    462:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    463:     mandir=$ac_optarg ;;
                    464:
                    465:   -nfp | --nfp | --nf)
                    466:     # Obsolete; use --without-fp.
                    467:     with_fp=no ;;
                    468:
                    469:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    470:   | --no-cr | --no-c | -n)
                    471:     no_create=yes ;;
                    472:
                    473:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    474:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    475:     no_recursion=yes ;;
                    476:
                    477:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    478:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    479:   | --oldin | --oldi | --old | --ol | --o)
                    480:     ac_prev=oldincludedir ;;
                    481:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    482:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    483:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    484:     oldincludedir=$ac_optarg ;;
                    485:
                    486:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    487:     ac_prev=prefix ;;
                    488:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    489:     prefix=$ac_optarg ;;
                    490:
                    491:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    492:   | --program-pre | --program-pr | --program-p)
                    493:     ac_prev=program_prefix ;;
                    494:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    495:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    496:     program_prefix=$ac_optarg ;;
                    497:
                    498:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    499:   | --program-suf | --program-su | --program-s)
                    500:     ac_prev=program_suffix ;;
                    501:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    502:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    503:     program_suffix=$ac_optarg ;;
                    504:
                    505:   -program-transform-name | --program-transform-name \
                    506:   | --program-transform-nam | --program-transform-na \
                    507:   | --program-transform-n | --program-transform- \
                    508:   | --program-transform | --program-transfor \
                    509:   | --program-transfo | --program-transf \
                    510:   | --program-trans | --program-tran \
                    511:   | --progr-tra | --program-tr | --program-t)
                    512:     ac_prev=program_transform_name ;;
                    513:   -program-transform-name=* | --program-transform-name=* \
                    514:   | --program-transform-nam=* | --program-transform-na=* \
                    515:   | --program-transform-n=* | --program-transform-=* \
                    516:   | --program-transform=* | --program-transfor=* \
                    517:   | --program-transfo=* | --program-transf=* \
                    518:   | --program-trans=* | --program-tran=* \
                    519:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    520:     program_transform_name=$ac_optarg ;;
                    521:
                    522:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    523:   | -silent | --silent | --silen | --sile | --sil)
                    524:     silent=yes ;;
                    525:
                    526:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    527:     ac_prev=sbindir ;;
                    528:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    529:   | --sbi=* | --sb=*)
                    530:     sbindir=$ac_optarg ;;
                    531:
                    532:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    533:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    534:   | --sharedst | --shareds | --shared | --share | --shar \
                    535:   | --sha | --sh)
                    536:     ac_prev=sharedstatedir ;;
                    537:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    538:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    539:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    540:   | --sha=* | --sh=*)
                    541:     sharedstatedir=$ac_optarg ;;
                    542:
                    543:   -site | --site | --sit)
                    544:     ac_prev=site ;;
                    545:   -site=* | --site=* | --sit=*)
                    546:     site=$ac_optarg ;;
                    547:
                    548:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    549:     ac_prev=srcdir ;;
                    550:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                    551:     srcdir=$ac_optarg ;;
                    552:
                    553:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    554:   | --syscon | --sysco | --sysc | --sys | --sy)
                    555:     ac_prev=sysconfdir ;;
                    556:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    557:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                    558:     sysconfdir=$ac_optarg ;;
                    559:
                    560:   -target | --target | --targe | --targ | --tar | --ta | --t)
                    561:     ac_prev=target_alias ;;
                    562:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                    563:     target_alias=$ac_optarg ;;
                    564:
                    565:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    566:     verbose=yes ;;
                    567:
                    568:   -version | --version | --versio | --versi | --vers | -V)
                    569:     ac_init_version=: ;;
                    570:
                    571:   -with-* | --with-*)
                    572:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                    573:     # Reject names that are not valid shell variable names.
                    574:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    575:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    576:    { (exit 1); exit 1; }; }
                    577:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    578:     case $ac_option in
                    579:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
                    580:       *) ac_optarg=yes ;;
                    581:     esac
                    582:     eval "with_$ac_package='$ac_optarg'" ;;
                    583:
                    584:   -without-* | --without-*)
                    585:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                    586:     # Reject names that are not valid shell variable names.
                    587:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    588:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    589:    { (exit 1); exit 1; }; }
                    590:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    591:     eval "with_$ac_package=no" ;;
                    592:
                    593:   --x)
                    594:     # Obsolete; use --with-x.
                    595:     with_x=yes ;;
                    596:
                    597:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    598:   | --x-incl | --x-inc | --x-in | --x-i)
                    599:     ac_prev=x_includes ;;
                    600:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    601:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                    602:     x_includes=$ac_optarg ;;
                    603:
                    604:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    605:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    606:     ac_prev=x_libraries ;;
                    607:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    608:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                    609:     x_libraries=$ac_optarg ;;
                    610:
                    611:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    612: Try \`$0 --help' for more information." >&2
                    613:    { (exit 1); exit 1; }; }
                    614:     ;;
                    615:
                    616:   *=*)
                    617:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    618:     # Reject names that are not valid shell variable names.
                    619:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    620:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    621:    { (exit 1); exit 1; }; }
                    622:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    623:     eval "$ac_envvar='$ac_optarg'"
                    624:     export $ac_envvar ;;
                    625:
                    626:   *)
                    627:     # FIXME: should be removed in autoconf 3.0.
                    628:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    629:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    630:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    631:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                    632:     ;;
                    633:
                    634:   esac
                    635: done
                    636:
                    637: if test -n "$ac_prev"; then
                    638:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    639:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    640:    { (exit 1); exit 1; }; }
                    641: fi
                    642:
                    643: # Be sure to have absolute paths.
                    644: for ac_var in exec_prefix prefix
                    645: do
                    646:   eval ac_val=$`echo $ac_var`
                    647:   case $ac_val in
                    648:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    649:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    650:    { (exit 1); exit 1; }; };;
                    651:   esac
                    652: done
                    653:
                    654: # Be sure to have absolute paths.
                    655: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    656:               localstatedir libdir includedir oldincludedir infodir mandir
                    657: do
                    658:   eval ac_val=$`echo $ac_var`
                    659:   case $ac_val in
                    660:     [\\/$]* | ?:[\\/]* ) ;;
                    661:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    662:    { (exit 1); exit 1; }; };;
                    663:   esac
                    664: done
                    665:
                    666: # There might be people who depend on the old broken behavior: `$host'
                    667: # used to hold the argument of --host etc.
                    668: # FIXME: To remove some day.
                    669: build=$build_alias
                    670: host=$host_alias
                    671: target=$target_alias
                    672:
                    673: # FIXME: To remove some day.
                    674: if test "x$host_alias" != x; then
                    675:   if test "x$build_alias" = x; then
                    676:     cross_compiling=maybe
                    677:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    678:     If a cross compiler is detected then cross compile mode will be used." >&2
                    679:   elif test "x$build_alias" != "x$host_alias"; then
                    680:     cross_compiling=yes
                    681:   fi
                    682: fi
                    683:
                    684: ac_tool_prefix=
                    685: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                    686:
                    687: test "$silent" = yes && exec 6>/dev/null
                    688:
                    689:
                    690: # Find the source files, if location was not specified.
                    691: if test -z "$srcdir"; then
                    692:   ac_srcdir_defaulted=yes
                    693:   # Try the directory containing this script, then its parent.
                    694:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    695: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    696:          X"$0" : 'X\(//\)[^/]' \| \
                    697:          X"$0" : 'X\(//\)$' \| \
                    698:          X"$0" : 'X\(/\)' \| \
                    699:          .     : '\(.\)' 2>/dev/null ||
                    700: echo X"$0" |
                    701:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    702:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    703:          /^X\(\/\/\)$/{ s//\1/; q; }
                    704:          /^X\(\/\).*/{ s//\1/; q; }
                    705:          s/.*/./; q'`
                    706:   srcdir=$ac_confdir
                    707:   if test ! -r $srcdir/$ac_unique_file; then
                    708:     srcdir=..
                    709:   fi
                    710: else
                    711:   ac_srcdir_defaulted=no
                    712: fi
                    713: if test ! -r $srcdir/$ac_unique_file; then
                    714:   if test "$ac_srcdir_defaulted" = yes; then
                    715:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    716:    { (exit 1); exit 1; }; }
                    717:   else
                    718:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    719:    { (exit 1); exit 1; }; }
                    720:   fi
                    721: fi
                    722: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    723: ac_env_build_alias_set=${build_alias+set}
                    724: ac_env_build_alias_value=$build_alias
                    725: ac_cv_env_build_alias_set=${build_alias+set}
                    726: ac_cv_env_build_alias_value=$build_alias
                    727: ac_env_host_alias_set=${host_alias+set}
                    728: ac_env_host_alias_value=$host_alias
                    729: ac_cv_env_host_alias_set=${host_alias+set}
                    730: ac_cv_env_host_alias_value=$host_alias
                    731: ac_env_target_alias_set=${target_alias+set}
                    732: ac_env_target_alias_value=$target_alias
                    733: ac_cv_env_target_alias_set=${target_alias+set}
                    734: ac_cv_env_target_alias_value=$target_alias
                    735: ac_env_CC_set=${CC+set}
                    736: ac_env_CC_value=$CC
                    737: ac_cv_env_CC_set=${CC+set}
                    738: ac_cv_env_CC_value=$CC
                    739: ac_env_CFLAGS_set=${CFLAGS+set}
                    740: ac_env_CFLAGS_value=$CFLAGS
                    741: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    742: ac_cv_env_CFLAGS_value=$CFLAGS
                    743: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    744: ac_env_LDFLAGS_value=$LDFLAGS
                    745: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    746: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    747: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    748: ac_env_CPPFLAGS_value=$CPPFLAGS
                    749: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    750: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    751: ac_env_CPP_set=${CPP+set}
                    752: ac_env_CPP_value=$CPP
                    753: ac_cv_env_CPP_set=${CPP+set}
                    754: ac_cv_env_CPP_value=$CPP
                    755:
                    756: #
                    757: # Report the --help message.
                    758: #
                    759: if test "$ac_init_help" = "long"; then
                    760:   # Omit some internal or obsolete options to make the list less imposing.
                    761:   # This message is too long to be a string in the A/UX 3.1 sh.
                    762:   cat <<_ACEOF
                    763: \`configure' configures this package to adapt to many kinds of systems.
                    764:
                    765: Usage: $0 [OPTION]... [VAR=VALUE]...
                    766:
                    767: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    768: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    769:
                    770: Defaults for the options are specified in brackets.
                    771:
                    772: Configuration:
                    773:   -h, --help              display this help and exit
                    774:       --help=short        display options specific to this package
                    775:       --help=recursive    display the short help of all the included packages
                    776:   -V, --version           display version information and exit
                    777:   -q, --quiet, --silent   do not print \`checking...' messages
                    778:       --cache-file=FILE   cache test results in FILE [disabled]
                    779:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    780:   -n, --no-create         do not create output files
                    781:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    782:
                    783: _ACEOF
                    784:
                    785:   cat <<_ACEOF
                    786: Installation directories:
                    787:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    788:                           [$ac_default_prefix]
                    789:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    790:                           [PREFIX]
                    791:
                    792: By default, \`make install' will install all the files in
                    793: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    794: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    795: for instance \`--prefix=\$HOME'.
                    796:
                    797: For better control, use the options below.
                    798:
                    799: Fine tuning of the installation directories:
                    800:   --bindir=DIR           user executables [EPREFIX/bin]
                    801:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    802:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    803:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    804:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    805:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    806:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    807:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    808:   --includedir=DIR       C header files [PREFIX/include]
                    809:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    810:   --infodir=DIR          info documentation [PREFIX/info]
                    811:   --mandir=DIR           man documentation [PREFIX/man]
                    812: _ACEOF
                    813:
                    814:   cat <<\_ACEOF
                    815:
                    816: Program names:
                    817:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    818:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    819:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    820:
                    821: X features:
                    822:   --x-includes=DIR    X include files are in DIR
                    823:   --x-libraries=DIR   X library files are in DIR
                    824:
                    825: System types:
                    826:   --build=BUILD     configure for building on BUILD [guessed]
                    827:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    828:   --target=TARGET   configure for building compilers for TARGET [HOST]
                    829: _ACEOF
                    830: fi
                    831:
                    832: if test -n "$ac_init_help"; then
                    833:
                    834:   cat <<\_ACEOF
                    835:
                    836: Optional Features:
                    837:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    838:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    839:   --disable-dependency-tracking Speeds up one-time builds
                    840:   --enable-dependency-tracking  Do not reject slow dependency extractors
1.22      ohara     841:   --enable-maintainer-mode enable make rules and dependencies not useful
                    842:                           (and sometimes confusing) to the casual installer
1.14      noro      843:   --enable-shared         enable linking shared libraries.  [no]
1.23      ohara     844:   --enable-gc-zeropage    enable to avoid the kernel zeropage bug.  [no]
1.14      noro      845:   --enable-plot           enable plot feature. [no]
                    846:   --enable-interval       enable interval feature. [no]
                    847:   --enable-fft-float      enable FFT-FLOAT feature. [no]
                    848:
                    849: Optional Packages:
                    850:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    851:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    852:   --with-x                use the X Window System
                    853:   --with-pari             use the PARI library. [no]
                    854:
                    855: Some influential environment variables:
                    856:   CC          C compiler command
                    857:   CFLAGS      C compiler flags
                    858:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    859:               nonstandard directory <lib dir>
                    860:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    861:               headers in a nonstandard directory <include dir>
                    862:   CPP         C preprocessor
                    863:
                    864: Use these variables to override the choices made by `configure' or to help
                    865: it to find libraries and programs with nonstandard names/locations.
                    866:
                    867: _ACEOF
                    868: fi
                    869:
                    870: if test "$ac_init_help" = "recursive"; then
                    871:   # If there are subdirs, report their specific --help.
                    872:   ac_popdir=`pwd`
                    873:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    874:     test -d $ac_dir || continue
                    875:     ac_builddir=.
                    876:
                    877: if test "$ac_dir" != .; then
                    878:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    879:   # A "../" for each directory in $ac_dir_suffix.
                    880:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    881: else
                    882:   ac_dir_suffix= ac_top_builddir=
                    883: fi
                    884:
                    885: case $srcdir in
                    886:   .)  # No --srcdir option.  We are building in place.
                    887:     ac_srcdir=.
                    888:     if test -z "$ac_top_builddir"; then
                    889:        ac_top_srcdir=.
                    890:     else
                    891:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    892:     fi ;;
                    893:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    894:     ac_srcdir=$srcdir$ac_dir_suffix;
                    895:     ac_top_srcdir=$srcdir ;;
                    896:   *) # Relative path.
                    897:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    898:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    899: esac
                    900: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                    901: # absolute.
                    902: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara     903: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro      904: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                    905: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                    906:
                    907:     cd $ac_dir
                    908:     # Check for guested configure; otherwise get Cygnus style configure.
                    909:     if test -f $ac_srcdir/configure.gnu; then
                    910:       echo
                    911:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    912:     elif test -f $ac_srcdir/configure; then
                    913:       echo
                    914:       $SHELL $ac_srcdir/configure  --help=recursive
                    915:     elif test -f $ac_srcdir/configure.ac ||
                    916:            test -f $ac_srcdir/configure.in; then
                    917:       echo
                    918:       $ac_configure --help
                    919:     else
                    920:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    921:     fi
                    922:     cd $ac_popdir
                    923:   done
                    924: fi
                    925:
                    926: test -n "$ac_init_help" && exit 0
                    927: if $ac_init_version; then
                    928:   cat <<\_ACEOF
                    929:
                    930: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                    931: Free Software Foundation, Inc.
                    932: This configure script is free software; the Free Software Foundation
                    933: gives unlimited permission to copy, distribute and modify it.
                    934: _ACEOF
                    935:   exit 0
                    936: fi
                    937: exec 5>config.log
                    938: cat >&5 <<_ACEOF
                    939: This file contains any messages produced by compilers while
                    940: running configure, to aid debugging if configure makes a mistake.
                    941:
                    942: It was created by $as_me, which was
1.17      ohara     943: generated by GNU Autoconf 2.53.  Invocation command line was
1.14      noro      944:
                    945:   $ $0 $@
                    946:
                    947: _ACEOF
                    948: {
                    949: cat <<_ASUNAME
                    950: ## --------- ##
                    951: ## Platform. ##
                    952: ## --------- ##
                    953:
                    954: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                    955: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                    956: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                    957: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                    958: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                    959:
                    960: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                    961: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                    962:
                    963: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                    964: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                    965: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                    966: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                    967: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                    968: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                    969: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                    970:
                    971: _ASUNAME
                    972:
                    973: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    974: for as_dir in $PATH
                    975: do
                    976:   IFS=$as_save_IFS
                    977:   test -z "$as_dir" && as_dir=.
                    978:   echo "PATH: $as_dir"
                    979: done
                    980:
                    981: } >&5
                    982:
                    983: cat >&5 <<_ACEOF
                    984:
                    985:
                    986: ## ----------- ##
                    987: ## Core tests. ##
                    988: ## ----------- ##
                    989:
                    990: _ACEOF
                    991:
                    992:
                    993: # Keep a trace of the command line.
                    994: # Strip out --no-create and --no-recursion so they do not pile up.
                    995: # Also quote any args containing shell meta-characters.
                    996: ac_configure_args=
                    997: ac_sep=
1.17      ohara     998: for ac_arg
1.14      noro      999: do
1.17      ohara    1000:   case $ac_arg in
                   1001:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1002:   | --no-cr | --no-c | -n ) continue ;;
                   1003:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1004:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1005:     continue ;;
                   1006:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1007:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1008:   esac
                   1009:   case " $ac_configure_args " in
                   1010:     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1011:     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1012:        ac_sep=" " ;;
                   1013:   esac
                   1014:   # Get rid of the leading space.
1.14      noro     1015: done
                   1016:
                   1017: # When interrupted or exit'd, cleanup temporary files, and complete
                   1018: # config.log.  We remove comments because anyway the quotes in there
                   1019: # would cause problems or look ugly.
                   1020: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1021: # such as our DU 5.0 friend, will then `close' the trap.
                   1022: trap 'exit_status=$?
                   1023:   # Save into config.log some information that might help in debugging.
                   1024:   {
                   1025:     echo
                   1026:     cat <<\_ASBOX
                   1027: ## ---------------- ##
                   1028: ## Cache variables. ##
                   1029: ## ---------------- ##
                   1030: _ASBOX
                   1031:     echo
                   1032:     # The following way of writing the cache mishandles newlines in values,
                   1033: {
                   1034:   (set) 2>&1 |
                   1035:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1036:     *ac_space=\ *)
                   1037:       sed -n \
                   1038:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1039:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1040:       ;;
                   1041:     *)
                   1042:       sed -n \
                   1043:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1044:       ;;
                   1045:     esac;
                   1046: }
                   1047:     echo
                   1048:     if test -s confdefs.h; then
                   1049:       cat <<\_ASBOX
                   1050: ## ----------- ##
                   1051: ## confdefs.h. ##
                   1052: ## ----------- ##
                   1053: _ASBOX
                   1054:       echo
1.17      ohara    1055:       sed "/^$/d" confdefs.h
1.14      noro     1056:       echo
                   1057:     fi
                   1058:     test "$ac_signal" != 0 &&
                   1059:       echo "$as_me: caught signal $ac_signal"
                   1060:     echo "$as_me: exit $exit_status"
                   1061:   } >&5
                   1062:   rm -f core core.* *.core &&
                   1063:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1064:     exit $exit_status
                   1065:      ' 0
                   1066: for ac_signal in 1 2 13 15; do
                   1067:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1068: done
                   1069: ac_signal=0
                   1070:
                   1071: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1072: rm -rf conftest* confdefs.h
                   1073: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1074: echo >confdefs.h
                   1075:
                   1076: # Predefined preprocessor variables.
                   1077:
                   1078: cat >>confdefs.h <<_ACEOF
                   1079: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1080: _ACEOF
                   1081:
                   1082:
                   1083: cat >>confdefs.h <<_ACEOF
                   1084: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1085: _ACEOF
                   1086:
                   1087:
                   1088: cat >>confdefs.h <<_ACEOF
                   1089: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1090: _ACEOF
                   1091:
                   1092:
                   1093: cat >>confdefs.h <<_ACEOF
                   1094: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1095: _ACEOF
                   1096:
                   1097:
                   1098: cat >>confdefs.h <<_ACEOF
                   1099: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1100: _ACEOF
                   1101:
                   1102:
                   1103: # Let the site file select an alternate cache file if it wants to.
                   1104: # Prefer explicitly selected file to automatically selected ones.
                   1105: if test -z "$CONFIG_SITE"; then
                   1106:   if test "x$prefix" != xNONE; then
                   1107:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1108:   else
                   1109:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1110:   fi
                   1111: fi
                   1112: for ac_site_file in $CONFIG_SITE; do
                   1113:   if test -r "$ac_site_file"; then
                   1114:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1115: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1116:     sed 's/^/| /' "$ac_site_file" >&5
                   1117:     . "$ac_site_file"
                   1118:   fi
                   1119: done
                   1120:
                   1121: if test -r "$cache_file"; then
                   1122:   # Some versions of bash will fail to source /dev/null (special
                   1123:   # files actually), so we avoid doing that.
                   1124:   if test -f "$cache_file"; then
                   1125:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1126: echo "$as_me: loading cache $cache_file" >&6;}
                   1127:     case $cache_file in
                   1128:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1129:       *)                      . ./$cache_file;;
                   1130:     esac
                   1131:   fi
                   1132: else
                   1133:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1134: echo "$as_me: creating cache $cache_file" >&6;}
                   1135:   >$cache_file
                   1136: fi
                   1137:
                   1138: # Check that the precious variables saved in the cache have kept the same
                   1139: # value.
                   1140: ac_cache_corrupted=false
                   1141: for ac_var in `(set) 2>&1 |
                   1142:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1143:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1144:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1145:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1146:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1147:   case $ac_old_set,$ac_new_set in
                   1148:     set,)
                   1149:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1150: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1151:       ac_cache_corrupted=: ;;
                   1152:     ,set)
                   1153:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1154: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1155:       ac_cache_corrupted=: ;;
                   1156:     ,);;
                   1157:     *)
                   1158:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1159:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1160: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1161:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1162: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1163:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1164: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1165:         ac_cache_corrupted=:
                   1166:       fi;;
                   1167:   esac
                   1168:   # Pass precious variables to config.status.
                   1169:   if test "$ac_new_set" = set; then
                   1170:     case $ac_new_val in
                   1171:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1172:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1173:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1174:     esac
                   1175:     case " $ac_configure_args " in
                   1176:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1177:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1178:     esac
                   1179:   fi
                   1180: done
                   1181: if $ac_cache_corrupted; then
                   1182:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1183: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1184:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1185: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1186:    { (exit 1); exit 1; }; }
                   1187: fi
                   1188:
                   1189: ac_ext=c
                   1190: ac_cpp='$CPP $CPPFLAGS'
                   1191: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1192: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1193: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1194:
                   1195:
                   1196:
                   1197:
                   1198:
                   1199:
                   1200:
                   1201:
                   1202:
                   1203:
                   1204:
                   1205:
                   1206:
                   1207:
                   1208:
                   1209:
                   1210:
                   1211:
                   1212:
                   1213: ac_aux_dir=
                   1214: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1215:   if test -f $ac_dir/install-sh; then
                   1216:     ac_aux_dir=$ac_dir
                   1217:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1218:     break
                   1219:   elif test -f $ac_dir/install.sh; then
                   1220:     ac_aux_dir=$ac_dir
                   1221:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1222:     break
                   1223:   elif test -f $ac_dir/shtool; then
                   1224:     ac_aux_dir=$ac_dir
                   1225:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1226:     break
                   1227:   fi
                   1228: done
                   1229: if test -z "$ac_aux_dir"; then
                   1230:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1231: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1232:    { (exit 1); exit 1; }; }
                   1233: fi
                   1234: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1235: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1236: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
                   1237:
                   1238: # Find a good install program.  We prefer a C program (faster),
                   1239: # so one script is as good as another.  But avoid the broken or
                   1240: # incompatible versions:
                   1241: # SysV /etc/install, /usr/sbin/install
                   1242: # SunOS /usr/etc/install
                   1243: # IRIX /sbin/install
                   1244: # AIX /bin/install
                   1245: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   1246: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1247: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1248: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1249: # ./install, which can be erroneously created by make from ./install.sh.
                   1250: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1251: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
                   1252: if test -z "$INSTALL"; then
                   1253: if test "${ac_cv_path_install+set}" = set; then
                   1254:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1255: else
                   1256:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1257: for as_dir in $PATH
                   1258: do
                   1259:   IFS=$as_save_IFS
                   1260:   test -z "$as_dir" && as_dir=.
                   1261:   # Account for people who put trailing slashes in PATH elements.
                   1262: case $as_dir/ in
                   1263:   ./ | .// | /cC/* | \
                   1264:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1265:   /usr/ucb/* ) ;;
                   1266:   *)
                   1267:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1268:     # Don't use installbsd from OSF since it installs stuff as root
                   1269:     # by default.
                   1270:     for ac_prog in ginstall scoinst install; do
                   1271:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1272:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1273:           if test $ac_prog = install &&
                   1274:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1275:             # AIX install.  It has an incompatible calling convention.
                   1276:             :
                   1277:           elif test $ac_prog = install &&
                   1278:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1279:             # program-specific install script used by HP pwplus--don't use.
                   1280:             :
                   1281:           else
                   1282:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1283:             break 3
                   1284:           fi
                   1285:         fi
                   1286:       done
                   1287:     done
                   1288:     ;;
                   1289: esac
                   1290: done
                   1291:
                   1292:
                   1293: fi
                   1294:   if test "${ac_cv_path_install+set}" = set; then
                   1295:     INSTALL=$ac_cv_path_install
                   1296:   else
                   1297:     # As a last resort, use the slow shell script.  We don't cache a
                   1298:     # path for INSTALL within a source directory, because that will
                   1299:     # break other packages using the cache if that directory is
                   1300:     # removed, or if the path is relative.
                   1301:     INSTALL=$ac_install_sh
                   1302:   fi
                   1303: fi
                   1304: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1305: echo "${ECHO_T}$INSTALL" >&6
                   1306:
                   1307: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1308: # It thinks the first close brace ends the variable substitution.
                   1309: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1310:
                   1311: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   1312:
                   1313: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1314:
                   1315: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1316: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
                   1317: # Just in case
                   1318: sleep 1
                   1319: echo timestamp > conftest.file
                   1320: # Do `set' in a subshell so we don't clobber the current shell's
                   1321: # arguments.  Must try -L first in case configure is actually a
                   1322: # symlink; some systems play weird games with the mod time of symlinks
                   1323: # (eg FreeBSD returns the mod time of the symlink's containing
                   1324: # directory).
                   1325: if (
                   1326:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
                   1327:    if test "$*" = "X"; then
                   1328:       # -L didn't work.
                   1329:       set X `ls -t $srcdir/configure conftest.file`
                   1330:    fi
                   1331:    rm -f conftest.file
                   1332:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1333:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   1334:
                   1335:       # If neither matched, then we have a broken ls.  This can happen
                   1336:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1337:       # broken ls alias from the environment.  This has actually
                   1338:       # happened.  Such a system could not be considered "sane".
                   1339:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1340: alias in your environment" >&5
                   1341: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1342: alias in your environment" >&2;}
                   1343:    { (exit 1); exit 1; }; }
                   1344:    fi
                   1345:
                   1346:    test "$2" = conftest.file
                   1347:    )
                   1348: then
                   1349:    # Ok.
                   1350:    :
                   1351: else
                   1352:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1353: Check your system clock" >&5
                   1354: echo "$as_me: error: newly created file is older than distributed files!
                   1355: Check your system clock" >&2;}
                   1356:    { (exit 1); exit 1; }; }
                   1357: fi
                   1358: echo "$as_me:$LINENO: result: yes" >&5
                   1359: echo "${ECHO_T}yes" >&6
                   1360: test "$program_prefix" != NONE &&
                   1361:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
                   1362: # Use a double $ so make ignores it.
                   1363: test "$program_suffix" != NONE &&
                   1364:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1365: # Double any \ or $.  echo might interpret backslashes.
                   1366: # By default was `s,x,x', remove it if useless.
                   1367: cat <<\_ACEOF >conftest.sed
                   1368: s/[\\$]/&&/g;s/;s,x,x,$//
                   1369: _ACEOF
                   1370: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1371: rm conftest.sed
                   1372:
                   1373:
                   1374: # expand $ac_aux_dir to an absolute path
                   1375: am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
                   1376:
                   1377: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1378: # Use eval to expand $SHELL
                   1379: if eval "$MISSING --run true"; then
                   1380:   am_missing_run="$MISSING --run "
                   1381: else
                   1382:   am_missing_run=
                   1383:   am_backtick='`'
                   1384:   { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
                   1385: echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
                   1386: fi
                   1387:
                   1388: for ac_prog in gawk mawk nawk awk
                   1389: do
                   1390:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1391: set dummy $ac_prog; ac_word=$2
                   1392: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1393: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1394: if test "${ac_cv_prog_AWK+set}" = set; then
                   1395:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1396: else
                   1397:   if test -n "$AWK"; then
                   1398:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1399: else
                   1400: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1401: for as_dir in $PATH
                   1402: do
                   1403:   IFS=$as_save_IFS
                   1404:   test -z "$as_dir" && as_dir=.
                   1405:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1406:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1407:     ac_cv_prog_AWK="$ac_prog"
                   1408:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1409:     break 2
                   1410:   fi
                   1411: done
                   1412: done
                   1413:
                   1414: fi
                   1415: fi
                   1416: AWK=$ac_cv_prog_AWK
                   1417: if test -n "$AWK"; then
                   1418:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1419: echo "${ECHO_T}$AWK" >&6
                   1420: else
                   1421:   echo "$as_me:$LINENO: result: no" >&5
                   1422: echo "${ECHO_T}no" >&6
                   1423: fi
                   1424:
                   1425:   test -n "$AWK" && break
                   1426: done
                   1427:
1.17      ohara    1428: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
                   1429: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1.14      noro     1430: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1431: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1432:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1433: else
                   1434:   cat >conftest.make <<\_ACEOF
                   1435: all:
1.17      ohara    1436:        @echo 'ac_maketemp="${MAKE}"'
1.14      noro     1437: _ACEOF
                   1438: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   1439: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
                   1440: if test -n "$ac_maketemp"; then
                   1441:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1442: else
                   1443:   eval ac_cv_prog_make_${ac_make}_set=no
                   1444: fi
                   1445: rm -f conftest.make
                   1446: fi
                   1447: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                   1448:   echo "$as_me:$LINENO: result: yes" >&5
                   1449: echo "${ECHO_T}yes" >&6
                   1450:   SET_MAKE=
                   1451: else
                   1452:   echo "$as_me:$LINENO: result: no" >&5
                   1453: echo "${ECHO_T}no" >&6
                   1454:   SET_MAKE="MAKE=${MAKE-make}"
                   1455: fi
                   1456:
                   1457: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   1458: if test "${enable_dependency_tracking+set}" = set; then
                   1459:   enableval="$enable_dependency_tracking"
                   1460:
                   1461: fi;
                   1462: if test "x$enable_dependency_tracking" != xno; then
                   1463:   am_depcomp="$ac_aux_dir/depcomp"
                   1464:   AMDEPBACKSLASH='\'
                   1465: fi
                   1466:
                   1467:
                   1468: if test "x$enable_dependency_tracking" != xno; then
                   1469:   AMDEP_TRUE=
                   1470:   AMDEP_FALSE='#'
                   1471: else
                   1472:   AMDEP_TRUE='#'
                   1473:   AMDEP_FALSE=
                   1474: fi
                   1475:
                   1476:
                   1477:
                   1478:
                   1479: rm -f .deps 2>/dev/null
                   1480: mkdir .deps 2>/dev/null
                   1481: if test -d .deps; then
                   1482:   DEPDIR=.deps
                   1483: else
                   1484:   # MS-DOS does not allow filenames that begin with a dot.
                   1485:   DEPDIR=_deps
                   1486: fi
                   1487: rmdir .deps 2>/dev/null
                   1488:
                   1489:
                   1490: # test to see if srcdir already configured
                   1491: if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
                   1492:    test -f $srcdir/config.status; then
                   1493:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1494: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1495:    { (exit 1); exit 1; }; }
                   1496: fi
                   1497:
                   1498: # Define the identity of the package.
                   1499: PACKAGE=asir
1.16      noro     1500: VERSION=20030307
1.14      noro     1501:
                   1502: cat >>confdefs.h <<_ACEOF
                   1503: #define PACKAGE "$PACKAGE"
                   1504: _ACEOF
                   1505:
                   1506:
                   1507: cat >>confdefs.h <<_ACEOF
                   1508: #define VERSION "$VERSION"
                   1509: _ACEOF
                   1510:
                   1511:
                   1512: # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
                   1513: # the ones we care about.
                   1514:
                   1515: # Autoconf 2.50 always computes EXEEXT.  However we need to be
                   1516: # compatible with 2.13, for now.  So we always define EXEEXT, but we
                   1517: # don't compute it.
                   1518:
                   1519: # Similar for OBJEXT -- only we only use OBJEXT if the user actually
                   1520: # requests that it be used.  This is a bit dumb.
                   1521: : ${OBJEXT=o}
                   1522:
                   1523:
                   1524: # Some tools Automake needs.
                   1525:
                   1526: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
                   1527:
                   1528:
                   1529: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1530:
                   1531:
                   1532: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
                   1533:
                   1534:
                   1535: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1536:
                   1537:
                   1538: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   1539:
                   1540:
                   1541: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1542:
                   1543: install_sh=${install_sh-"$am_aux_dir/install-sh"}
                   1544:
                   1545: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1546:
                   1547: # We need awk for the "check" target.  The system "awk" is bad on
                   1548: # some platforms.
                   1549:
1.22      ohara    1550: echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   1551: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
                   1552:     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
                   1553: if test "${enable_maintainer_mode+set}" = set; then
                   1554:   enableval="$enable_maintainer_mode"
                   1555:   USE_MAINTAINER_MODE=$enableval
                   1556: else
                   1557:   USE_MAINTAINER_MODE=no
                   1558: fi;
                   1559:   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
                   1560: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
                   1561:
                   1562:
                   1563: if test $USE_MAINTAINER_MODE = yes; then
                   1564:   MAINTAINER_MODE_TRUE=
                   1565:   MAINTAINER_MODE_FALSE='#'
                   1566: else
                   1567:   MAINTAINER_MODE_TRUE='#'
                   1568:   MAINTAINER_MODE_FALSE=
                   1569: fi
                   1570:   MAINT=$MAINTAINER_MODE_TRUE
                   1571:
                   1572:
                   1573:
1.14      noro     1574: # Make sure we can run config.sub.
                   1575: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1576:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1577: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1578:    { (exit 1); exit 1; }; }
                   1579:
                   1580: echo "$as_me:$LINENO: checking build system type" >&5
                   1581: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1582: if test "${ac_cv_build+set}" = set; then
                   1583:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1584: else
                   1585:   ac_cv_build_alias=$build_alias
                   1586: test -z "$ac_cv_build_alias" &&
                   1587:   ac_cv_build_alias=`$ac_config_guess`
                   1588: test -z "$ac_cv_build_alias" &&
                   1589:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1590: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1591:    { (exit 1); exit 1; }; }
                   1592: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1593:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1594: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1595:    { (exit 1); exit 1; }; }
                   1596:
                   1597: fi
                   1598: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1599: echo "${ECHO_T}$ac_cv_build" >&6
                   1600: build=$ac_cv_build
                   1601: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1602: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1603: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1604:
                   1605:
                   1606: echo "$as_me:$LINENO: checking host system type" >&5
                   1607: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1608: if test "${ac_cv_host+set}" = set; then
                   1609:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1610: else
                   1611:   ac_cv_host_alias=$host_alias
                   1612: test -z "$ac_cv_host_alias" &&
                   1613:   ac_cv_host_alias=$ac_cv_build_alias
                   1614: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1615:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1616: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1617:    { (exit 1); exit 1; }; }
                   1618:
                   1619: fi
                   1620: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1621: echo "${ECHO_T}$ac_cv_host" >&6
                   1622: host=$ac_cv_host
                   1623: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1624: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1625: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1626:
                   1627:
                   1628: echo "$as_me:$LINENO: checking target system type" >&5
                   1629: echo $ECHO_N "checking target system type... $ECHO_C" >&6
                   1630: if test "${ac_cv_target+set}" = set; then
                   1631:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1632: else
                   1633:   ac_cv_target_alias=$target_alias
                   1634: test "x$ac_cv_target_alias" = "x" &&
                   1635:   ac_cv_target_alias=$ac_cv_host_alias
                   1636: ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
                   1637:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
                   1638: echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
                   1639:    { (exit 1); exit 1; }; }
                   1640:
                   1641: fi
                   1642: echo "$as_me:$LINENO: result: $ac_cv_target" >&5
                   1643: echo "${ECHO_T}$ac_cv_target" >&6
                   1644: target=$ac_cv_target
                   1645: target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1646: target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1647: target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1648:
                   1649:
                   1650: # The aliases save the names the user supplied, while $host etc.
                   1651: # will get canonicalized.
                   1652: test -n "$target_alias" &&
                   1653:   test "$program_prefix$program_suffix$program_transform_name" = \
                   1654:     NONENONEs,x,x, &&
                   1655:   program_prefix=${target_alias}-
                   1656:
                   1657: ac_ext=c
                   1658: ac_cpp='$CPP $CPPFLAGS'
                   1659: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1660: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1661: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1662: if test -n "$ac_tool_prefix"; then
                   1663:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1664: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   1665: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1666: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1667: if test "${ac_cv_prog_CC+set}" = set; then
                   1668:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1669: else
                   1670:   if test -n "$CC"; then
                   1671:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1672: else
                   1673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1674: for as_dir in $PATH
                   1675: do
                   1676:   IFS=$as_save_IFS
                   1677:   test -z "$as_dir" && as_dir=.
                   1678:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1679:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1680:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1681:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1682:     break 2
                   1683:   fi
                   1684: done
                   1685: done
                   1686:
                   1687: fi
                   1688: fi
                   1689: CC=$ac_cv_prog_CC
                   1690: if test -n "$CC"; then
                   1691:   echo "$as_me:$LINENO: result: $CC" >&5
                   1692: echo "${ECHO_T}$CC" >&6
                   1693: else
                   1694:   echo "$as_me:$LINENO: result: no" >&5
                   1695: echo "${ECHO_T}no" >&6
                   1696: fi
                   1697:
                   1698: fi
                   1699: if test -z "$ac_cv_prog_CC"; then
                   1700:   ac_ct_CC=$CC
                   1701:   # Extract the first word of "gcc", so it can be a program name with args.
                   1702: set dummy gcc; ac_word=$2
                   1703: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1704: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1705: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1706:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1707: else
                   1708:   if test -n "$ac_ct_CC"; then
                   1709:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1710: else
                   1711: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1712: for as_dir in $PATH
                   1713: do
                   1714:   IFS=$as_save_IFS
                   1715:   test -z "$as_dir" && as_dir=.
                   1716:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1717:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1718:     ac_cv_prog_ac_ct_CC="gcc"
                   1719:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1720:     break 2
                   1721:   fi
                   1722: done
                   1723: done
                   1724:
                   1725: fi
                   1726: fi
                   1727: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1728: if test -n "$ac_ct_CC"; then
                   1729:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1730: echo "${ECHO_T}$ac_ct_CC" >&6
                   1731: else
                   1732:   echo "$as_me:$LINENO: result: no" >&5
                   1733: echo "${ECHO_T}no" >&6
                   1734: fi
                   1735:
                   1736:   CC=$ac_ct_CC
                   1737: else
                   1738:   CC="$ac_cv_prog_CC"
                   1739: fi
                   1740:
                   1741: if test -z "$CC"; then
                   1742:   if test -n "$ac_tool_prefix"; then
                   1743:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   1744: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   1745: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1746: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1747: if test "${ac_cv_prog_CC+set}" = set; then
                   1748:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1749: else
                   1750:   if test -n "$CC"; then
                   1751:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1752: else
                   1753: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1754: for as_dir in $PATH
                   1755: do
                   1756:   IFS=$as_save_IFS
                   1757:   test -z "$as_dir" && as_dir=.
                   1758:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1759:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1760:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1761:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1762:     break 2
                   1763:   fi
                   1764: done
                   1765: done
                   1766:
                   1767: fi
                   1768: fi
                   1769: CC=$ac_cv_prog_CC
                   1770: if test -n "$CC"; then
                   1771:   echo "$as_me:$LINENO: result: $CC" >&5
                   1772: echo "${ECHO_T}$CC" >&6
                   1773: else
                   1774:   echo "$as_me:$LINENO: result: no" >&5
                   1775: echo "${ECHO_T}no" >&6
                   1776: fi
                   1777:
                   1778: fi
                   1779: if test -z "$ac_cv_prog_CC"; then
                   1780:   ac_ct_CC=$CC
                   1781:   # Extract the first word of "cc", so it can be a program name with args.
                   1782: set dummy cc; ac_word=$2
                   1783: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1784: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1785: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1786:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1787: else
                   1788:   if test -n "$ac_ct_CC"; then
                   1789:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1790: else
                   1791: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1792: for as_dir in $PATH
                   1793: do
                   1794:   IFS=$as_save_IFS
                   1795:   test -z "$as_dir" && as_dir=.
                   1796:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1797:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1798:     ac_cv_prog_ac_ct_CC="cc"
                   1799:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1800:     break 2
                   1801:   fi
                   1802: done
                   1803: done
                   1804:
                   1805: fi
                   1806: fi
                   1807: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1808: if test -n "$ac_ct_CC"; then
                   1809:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1810: echo "${ECHO_T}$ac_ct_CC" >&6
                   1811: else
                   1812:   echo "$as_me:$LINENO: result: no" >&5
                   1813: echo "${ECHO_T}no" >&6
                   1814: fi
                   1815:
                   1816:   CC=$ac_ct_CC
                   1817: else
                   1818:   CC="$ac_cv_prog_CC"
                   1819: fi
                   1820:
                   1821: fi
                   1822: if test -z "$CC"; then
                   1823:   # Extract the first word of "cc", so it can be a program name with args.
                   1824: set dummy cc; ac_word=$2
                   1825: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1826: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1827: if test "${ac_cv_prog_CC+set}" = set; then
                   1828:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1829: else
                   1830:   if test -n "$CC"; then
                   1831:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1832: else
                   1833:   ac_prog_rejected=no
                   1834: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1835: for as_dir in $PATH
                   1836: do
                   1837:   IFS=$as_save_IFS
                   1838:   test -z "$as_dir" && as_dir=.
                   1839:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1840:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1841:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   1842:        ac_prog_rejected=yes
                   1843:        continue
                   1844:      fi
                   1845:     ac_cv_prog_CC="cc"
                   1846:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1847:     break 2
                   1848:   fi
                   1849: done
                   1850: done
                   1851:
                   1852: if test $ac_prog_rejected = yes; then
                   1853:   # We found a bogon in the path, so make sure we never use it.
                   1854:   set dummy $ac_cv_prog_CC
                   1855:   shift
                   1856:   if test $# != 0; then
                   1857:     # We chose a different compiler from the bogus one.
                   1858:     # However, it has the same basename, so the bogon will be chosen
                   1859:     # first if we set CC to just the basename; use the full file name.
                   1860:     shift
1.17      ohara    1861:     set dummy "$as_dir/$ac_word" ${1+"$@"}
                   1862:     shift
                   1863:     ac_cv_prog_CC="$@"
1.14      noro     1864:   fi
                   1865: fi
                   1866: fi
                   1867: fi
                   1868: CC=$ac_cv_prog_CC
                   1869: if test -n "$CC"; then
                   1870:   echo "$as_me:$LINENO: result: $CC" >&5
                   1871: echo "${ECHO_T}$CC" >&6
                   1872: else
                   1873:   echo "$as_me:$LINENO: result: no" >&5
                   1874: echo "${ECHO_T}no" >&6
                   1875: fi
                   1876:
                   1877: fi
                   1878: if test -z "$CC"; then
                   1879:   if test -n "$ac_tool_prefix"; then
                   1880:   for ac_prog in cl
                   1881:   do
                   1882:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1883: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1884: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1885: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1886: if test "${ac_cv_prog_CC+set}" = set; then
                   1887:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1888: else
                   1889:   if test -n "$CC"; then
                   1890:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1891: else
                   1892: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1893: for as_dir in $PATH
                   1894: do
                   1895:   IFS=$as_save_IFS
                   1896:   test -z "$as_dir" && as_dir=.
                   1897:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1898:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1899:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   1900:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1901:     break 2
                   1902:   fi
                   1903: done
                   1904: done
                   1905:
                   1906: fi
                   1907: fi
                   1908: CC=$ac_cv_prog_CC
                   1909: if test -n "$CC"; then
                   1910:   echo "$as_me:$LINENO: result: $CC" >&5
                   1911: echo "${ECHO_T}$CC" >&6
                   1912: else
                   1913:   echo "$as_me:$LINENO: result: no" >&5
                   1914: echo "${ECHO_T}no" >&6
                   1915: fi
                   1916:
                   1917:     test -n "$CC" && break
                   1918:   done
                   1919: fi
                   1920: if test -z "$CC"; then
                   1921:   ac_ct_CC=$CC
                   1922:   for ac_prog in cl
                   1923: do
                   1924:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1925: set dummy $ac_prog; ac_word=$2
                   1926: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1927: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1928: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1929:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1930: else
                   1931:   if test -n "$ac_ct_CC"; then
                   1932:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1933: else
                   1934: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1935: for as_dir in $PATH
                   1936: do
                   1937:   IFS=$as_save_IFS
                   1938:   test -z "$as_dir" && as_dir=.
                   1939:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1940:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1941:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   1942:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1943:     break 2
                   1944:   fi
                   1945: done
                   1946: done
                   1947:
                   1948: fi
                   1949: fi
                   1950: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1951: if test -n "$ac_ct_CC"; then
                   1952:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1953: echo "${ECHO_T}$ac_ct_CC" >&6
                   1954: else
                   1955:   echo "$as_me:$LINENO: result: no" >&5
                   1956: echo "${ECHO_T}no" >&6
                   1957: fi
                   1958:
                   1959:   test -n "$ac_ct_CC" && break
                   1960: done
                   1961:
                   1962:   CC=$ac_ct_CC
                   1963: fi
                   1964:
                   1965: fi
                   1966:
                   1967:
1.17      ohara    1968: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
                   1969: echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1.14      noro     1970:    { (exit 1); exit 1; }; }
                   1971:
                   1972: # Provide some information about the compiler.
                   1973: echo "$as_me:$LINENO:" \
                   1974:      "checking for C compiler version" >&5
                   1975: ac_compiler=`set X $ac_compile; echo $2`
                   1976: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   1977:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   1978:   ac_status=$?
                   1979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1980:   (exit $ac_status); }
                   1981: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   1982:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   1983:   ac_status=$?
                   1984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1985:   (exit $ac_status); }
                   1986: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   1987:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   1988:   ac_status=$?
                   1989:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1990:   (exit $ac_status); }
                   1991:
                   1992: cat >conftest.$ac_ext <<_ACEOF
                   1993: #line $LINENO "configure"
1.17      ohara    1994: #include "confdefs.h"
1.14      noro     1995:
1.17      ohara    1996: #ifdef F77_DUMMY_MAIN
                   1997: #  ifdef __cplusplus
                   1998:      extern "C"
                   1999: #  endif
                   2000:    int F77_DUMMY_MAIN() { return 1; }
                   2001: #endif
1.14      noro     2002: int
                   2003: main ()
                   2004: {
                   2005:
                   2006:   ;
                   2007:   return 0;
                   2008: }
                   2009: _ACEOF
                   2010: ac_clean_files_save=$ac_clean_files
1.17      ohara    2011: ac_clean_files="$ac_clean_files a.out a.exe"
1.14      noro     2012: # Try to create an executable without -o first, disregard a.out.
                   2013: # It will help us diagnose broken compilers, and finding out an intuition
                   2014: # of exeext.
                   2015: echo "$as_me:$LINENO: checking for C compiler default output" >&5
                   2016: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
                   2017: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2018: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2019:   (eval $ac_link_default) 2>&5
                   2020:   ac_status=$?
                   2021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2022:   (exit $ac_status); }; then
                   2023:   # Find the output, starting from the most likely.  This scheme is
                   2024: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2025: # resort.
                   2026:
                   2027: # Be careful to initialize this variable, since it used to be cached.
                   2028: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2029: ac_cv_exeext=
1.17      ohara    2030: for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
                   2031:                 ls a.out conftest 2>/dev/null;
                   2032:                 ls a.* conftest.* 2>/dev/null`; do
1.14      noro     2033:   case $ac_file in
1.17      ohara    2034:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
                   2035:     a.out ) # We found the default executable, but exeext='' is most
                   2036:             # certainly right.
                   2037:             break;;
                   2038:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2039:           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
                   2040:           export ac_cv_exeext
                   2041:           break;;
                   2042:     * ) break;;
1.14      noro     2043:   esac
                   2044: done
                   2045: else
                   2046:   echo "$as_me: failed program was:" >&5
1.17      ohara    2047: cat conftest.$ac_ext >&5
                   2048: { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
                   2049: echo "$as_me: error: C compiler cannot create executables" >&2;}
1.14      noro     2050:    { (exit 77); exit 77; }; }
                   2051: fi
                   2052:
                   2053: ac_exeext=$ac_cv_exeext
                   2054: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2055: echo "${ECHO_T}$ac_file" >&6
                   2056:
                   2057: # Check the compiler produces executables we can run.  If not, either
                   2058: # the compiler is broken, or we cross compile.
                   2059: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
                   2060: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   2061: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2062: # If not cross compiling, check that we can run a simple program.
                   2063: if test "$cross_compiling" != yes; then
                   2064:   if { ac_try='./$ac_file'
                   2065:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2066:   (eval $ac_try) 2>&5
                   2067:   ac_status=$?
                   2068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2069:   (exit $ac_status); }; }; then
                   2070:     cross_compiling=no
                   2071:   else
                   2072:     if test "$cross_compiling" = maybe; then
                   2073:        cross_compiling=yes
                   2074:     else
                   2075:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.17      ohara    2076: If you meant to cross compile, use \`--host'." >&5
1.14      noro     2077: echo "$as_me: error: cannot run C compiled programs.
1.17      ohara    2078: If you meant to cross compile, use \`--host'." >&2;}
1.14      noro     2079:    { (exit 1); exit 1; }; }
                   2080:     fi
                   2081:   fi
                   2082: fi
                   2083: echo "$as_me:$LINENO: result: yes" >&5
                   2084: echo "${ECHO_T}yes" >&6
                   2085:
1.17      ohara    2086: rm -f a.out a.exe conftest$ac_cv_exeext
1.14      noro     2087: ac_clean_files=$ac_clean_files_save
                   2088: # Check the compiler produces executables we can run.  If not, either
                   2089: # the compiler is broken, or we cross compile.
                   2090: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2091: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2092: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2093: echo "${ECHO_T}$cross_compiling" >&6
                   2094:
                   2095: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2096: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2097: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2098:   (eval $ac_link) 2>&5
                   2099:   ac_status=$?
                   2100:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2101:   (exit $ac_status); }; then
                   2102:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2103: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2104: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2105: # `rm'.
1.17      ohara    2106: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1.14      noro     2107:   case $ac_file in
1.17      ohara    2108:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1.14      noro     2109:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2110:           export ac_cv_exeext
                   2111:           break;;
                   2112:     * ) break;;
                   2113:   esac
                   2114: done
                   2115: else
1.17      ohara    2116:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
                   2117: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1.14      noro     2118:    { (exit 1); exit 1; }; }
                   2119: fi
                   2120:
                   2121: rm -f conftest$ac_cv_exeext
                   2122: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2123: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2124:
                   2125: rm -f conftest.$ac_ext
                   2126: EXEEXT=$ac_cv_exeext
                   2127: ac_exeext=$EXEEXT
                   2128: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2129: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2130: if test "${ac_cv_objext+set}" = set; then
                   2131:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2132: else
                   2133:   cat >conftest.$ac_ext <<_ACEOF
                   2134: #line $LINENO "configure"
1.17      ohara    2135: #include "confdefs.h"
1.14      noro     2136:
1.17      ohara    2137: #ifdef F77_DUMMY_MAIN
                   2138: #  ifdef __cplusplus
                   2139:      extern "C"
                   2140: #  endif
                   2141:    int F77_DUMMY_MAIN() { return 1; }
                   2142: #endif
1.14      noro     2143: int
                   2144: main ()
                   2145: {
                   2146:
                   2147:   ;
                   2148:   return 0;
                   2149: }
                   2150: _ACEOF
                   2151: rm -f conftest.o conftest.obj
                   2152: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2153:   (eval $ac_compile) 2>&5
                   2154:   ac_status=$?
                   2155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2156:   (exit $ac_status); }; then
                   2157:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2158:   case $ac_file in
1.17      ohara    2159:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1.14      noro     2160:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2161:        break;;
                   2162:   esac
                   2163: done
                   2164: else
                   2165:   echo "$as_me: failed program was:" >&5
1.17      ohara    2166: cat conftest.$ac_ext >&5
                   2167: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
                   2168: echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1.14      noro     2169:    { (exit 1); exit 1; }; }
                   2170: fi
                   2171:
                   2172: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2173: fi
                   2174: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2175: echo "${ECHO_T}$ac_cv_objext" >&6
                   2176: OBJEXT=$ac_cv_objext
                   2177: ac_objext=$OBJEXT
                   2178: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2179: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2180: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2181:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2182: else
                   2183:   cat >conftest.$ac_ext <<_ACEOF
                   2184: #line $LINENO "configure"
1.17      ohara    2185: #include "confdefs.h"
1.14      noro     2186:
1.17      ohara    2187: #ifdef F77_DUMMY_MAIN
                   2188: #  ifdef __cplusplus
                   2189:      extern "C"
                   2190: #  endif
                   2191:    int F77_DUMMY_MAIN() { return 1; }
                   2192: #endif
1.14      noro     2193: int
                   2194: main ()
                   2195: {
                   2196: #ifndef __GNUC__
                   2197:        choke me
                   2198: #endif
                   2199:
                   2200:   ;
                   2201:   return 0;
                   2202: }
                   2203: _ACEOF
                   2204: rm -f conftest.$ac_objext
                   2205: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2206:   (eval $ac_compile) 2>&5
                   2207:   ac_status=$?
                   2208:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2209:   (exit $ac_status); } &&
                   2210:          { ac_try='test -s conftest.$ac_objext'
                   2211:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2212:   (eval $ac_try) 2>&5
                   2213:   ac_status=$?
                   2214:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2215:   (exit $ac_status); }; }; then
                   2216:   ac_compiler_gnu=yes
                   2217: else
                   2218:   echo "$as_me: failed program was:" >&5
1.17      ohara    2219: cat conftest.$ac_ext >&5
1.14      noro     2220: ac_compiler_gnu=no
                   2221: fi
                   2222: rm -f conftest.$ac_objext conftest.$ac_ext
                   2223: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2224:
                   2225: fi
                   2226: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   2227: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   2228: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   2229: ac_test_CFLAGS=${CFLAGS+set}
                   2230: ac_save_CFLAGS=$CFLAGS
                   2231: CFLAGS="-g"
                   2232: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   2233: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   2234: if test "${ac_cv_prog_cc_g+set}" = set; then
                   2235:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2236: else
                   2237:   cat >conftest.$ac_ext <<_ACEOF
                   2238: #line $LINENO "configure"
1.17      ohara    2239: #include "confdefs.h"
1.14      noro     2240:
1.17      ohara    2241: #ifdef F77_DUMMY_MAIN
                   2242: #  ifdef __cplusplus
                   2243:      extern "C"
                   2244: #  endif
                   2245:    int F77_DUMMY_MAIN() { return 1; }
                   2246: #endif
1.14      noro     2247: int
                   2248: main ()
                   2249: {
                   2250:
                   2251:   ;
                   2252:   return 0;
                   2253: }
                   2254: _ACEOF
                   2255: rm -f conftest.$ac_objext
                   2256: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2257:   (eval $ac_compile) 2>&5
                   2258:   ac_status=$?
                   2259:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2260:   (exit $ac_status); } &&
                   2261:          { ac_try='test -s conftest.$ac_objext'
                   2262:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2263:   (eval $ac_try) 2>&5
                   2264:   ac_status=$?
                   2265:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2266:   (exit $ac_status); }; }; then
                   2267:   ac_cv_prog_cc_g=yes
                   2268: else
                   2269:   echo "$as_me: failed program was:" >&5
1.17      ohara    2270: cat conftest.$ac_ext >&5
1.14      noro     2271: ac_cv_prog_cc_g=no
                   2272: fi
                   2273: rm -f conftest.$ac_objext conftest.$ac_ext
                   2274: fi
                   2275: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   2276: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   2277: if test "$ac_test_CFLAGS" = set; then
                   2278:   CFLAGS=$ac_save_CFLAGS
                   2279: elif test $ac_cv_prog_cc_g = yes; then
                   2280:   if test "$GCC" = yes; then
                   2281:     CFLAGS="-g -O2"
                   2282:   else
                   2283:     CFLAGS="-g"
                   2284:   fi
                   2285: else
                   2286:   if test "$GCC" = yes; then
                   2287:     CFLAGS="-O2"
                   2288:   else
                   2289:     CFLAGS=
                   2290:   fi
                   2291: fi
                   2292: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   2293: # in C++ we need to declare it.  In case someone uses the same compiler
                   2294: # for both compiling C and C++ we need to have the C++ compiler decide
                   2295: # the declaration of exit, since it's the most demanding environment.
                   2296: cat >conftest.$ac_ext <<_ACEOF
                   2297: #ifndef __cplusplus
                   2298:   choke me
                   2299: #endif
                   2300: _ACEOF
                   2301: rm -f conftest.$ac_objext
                   2302: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2303:   (eval $ac_compile) 2>&5
                   2304:   ac_status=$?
                   2305:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2306:   (exit $ac_status); } &&
                   2307:          { ac_try='test -s conftest.$ac_objext'
                   2308:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2309:   (eval $ac_try) 2>&5
                   2310:   ac_status=$?
                   2311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2312:   (exit $ac_status); }; }; then
                   2313:   for ac_declaration in \
                   2314:    ''\
                   2315:    '#include <stdlib.h>' \
                   2316:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2317:    'extern "C" void std::exit (int); using std::exit;' \
                   2318:    'extern "C" void exit (int) throw ();' \
                   2319:    'extern "C" void exit (int);' \
                   2320:    'void exit (int);'
                   2321: do
                   2322:   cat >conftest.$ac_ext <<_ACEOF
                   2323: #line $LINENO "configure"
1.17      ohara    2324: #include "confdefs.h"
1.14      noro     2325: #include <stdlib.h>
                   2326: $ac_declaration
1.17      ohara    2327: #ifdef F77_DUMMY_MAIN
                   2328: #  ifdef __cplusplus
                   2329:      extern "C"
                   2330: #  endif
                   2331:    int F77_DUMMY_MAIN() { return 1; }
                   2332: #endif
1.14      noro     2333: int
                   2334: main ()
                   2335: {
                   2336: exit (42);
                   2337:   ;
                   2338:   return 0;
                   2339: }
                   2340: _ACEOF
                   2341: rm -f conftest.$ac_objext
                   2342: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2343:   (eval $ac_compile) 2>&5
                   2344:   ac_status=$?
                   2345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2346:   (exit $ac_status); } &&
                   2347:          { ac_try='test -s conftest.$ac_objext'
                   2348:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2349:   (eval $ac_try) 2>&5
                   2350:   ac_status=$?
                   2351:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2352:   (exit $ac_status); }; }; then
                   2353:   :
                   2354: else
                   2355:   echo "$as_me: failed program was:" >&5
1.17      ohara    2356: cat conftest.$ac_ext >&5
1.14      noro     2357: continue
                   2358: fi
                   2359: rm -f conftest.$ac_objext conftest.$ac_ext
                   2360:   cat >conftest.$ac_ext <<_ACEOF
                   2361: #line $LINENO "configure"
1.17      ohara    2362: #include "confdefs.h"
1.14      noro     2363: $ac_declaration
1.17      ohara    2364: #ifdef F77_DUMMY_MAIN
                   2365: #  ifdef __cplusplus
                   2366:      extern "C"
                   2367: #  endif
                   2368:    int F77_DUMMY_MAIN() { return 1; }
                   2369: #endif
1.14      noro     2370: int
                   2371: main ()
                   2372: {
                   2373: exit (42);
                   2374:   ;
                   2375:   return 0;
                   2376: }
                   2377: _ACEOF
                   2378: rm -f conftest.$ac_objext
                   2379: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2380:   (eval $ac_compile) 2>&5
                   2381:   ac_status=$?
                   2382:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2383:   (exit $ac_status); } &&
                   2384:          { ac_try='test -s conftest.$ac_objext'
                   2385:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2386:   (eval $ac_try) 2>&5
                   2387:   ac_status=$?
                   2388:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2389:   (exit $ac_status); }; }; then
                   2390:   break
                   2391: else
                   2392:   echo "$as_me: failed program was:" >&5
1.17      ohara    2393: cat conftest.$ac_ext >&5
1.14      noro     2394: fi
                   2395: rm -f conftest.$ac_objext conftest.$ac_ext
                   2396: done
                   2397: rm -f conftest*
                   2398: if test -n "$ac_declaration"; then
                   2399:   echo '#ifdef __cplusplus' >>confdefs.h
                   2400:   echo $ac_declaration      >>confdefs.h
                   2401:   echo '#endif'             >>confdefs.h
                   2402: fi
                   2403:
                   2404: else
                   2405:   echo "$as_me: failed program was:" >&5
1.17      ohara    2406: cat conftest.$ac_ext >&5
1.14      noro     2407: fi
                   2408: rm -f conftest.$ac_objext conftest.$ac_ext
                   2409: ac_ext=c
                   2410: ac_cpp='$CPP $CPPFLAGS'
                   2411: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2412: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2413: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2414:
1.17      ohara    2415: ac_config_commands="$ac_config_commands default-1"
1.14      noro     2416:
                   2417: am_make=${MAKE-make}
                   2418: cat > confinc << 'END'
                   2419: doit:
                   2420:        @echo done
                   2421: END
                   2422: # If we don't find an include directive, just comment out the code.
                   2423: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2424: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2425: am__include='#'
                   2426: am__quote=
                   2427: _am_result=none
                   2428: # First try GNU make style include.
                   2429: echo "include confinc" > confmf
                   2430: # We grep out `Entering directory' and `Leaving directory'
                   2431: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2432: # In particular we don't look at `^make:' because GNU make might
                   2433: # be invoked under some other name (usually "gmake"), in which
                   2434: # case it prints its new name instead of `make'.
                   2435: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
                   2436:    am__include=include
                   2437:    am__quote=
                   2438:    _am_result=GNU
                   2439: fi
                   2440: # Now try BSD make style include.
                   2441: if test "$am__include" = "#"; then
                   2442:    echo '.include "confinc"' > confmf
                   2443:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2444:       am__include=.include
                   2445:       am__quote='"'
                   2446:       _am_result=BSD
                   2447:    fi
                   2448: fi
                   2449:
                   2450:
                   2451: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2452: echo "${ECHO_T}$_am_result" >&6
                   2453: rm -f confinc confmf
                   2454:
                   2455:
                   2456: depcc="$CC"   am_compiler_list=
                   2457:
                   2458: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2459: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2460: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   2461:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2462: else
                   2463:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2464:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2465:   # making bogus files that we don't know about and never remove.  For
                   2466:   # instance it was reported that on HP-UX the gcc test will end up
                   2467:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2468:   # in D'.
                   2469:   mkdir conftest.dir
                   2470:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2471:   # using a relative directory.
                   2472:   cp "$am_depcomp" conftest.dir
                   2473:   cd conftest.dir
                   2474:
                   2475:   am_cv_CC_dependencies_compiler_type=none
                   2476:   if test "$am_compiler_list" = ""; then
                   2477:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2478:   fi
                   2479:   for depmode in $am_compiler_list; do
                   2480:     # We need to recreate these files for each test, as the compiler may
                   2481:     # overwrite some of them when testing with obscure command lines.
                   2482:     # This happens at least with the AIX C compiler.
                   2483:     echo '#include "conftest.h"' > conftest.c
                   2484:     echo 'int i;' > conftest.h
                   2485:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2486:
                   2487:     case $depmode in
                   2488:     nosideeffect)
                   2489:       # after this tag, mechanisms are not by side-effect, so they'll
                   2490:       # only be used when explicitly requested
                   2491:       if test "x$enable_dependency_tracking" = xyes; then
                   2492:        continue
                   2493:       else
                   2494:        break
                   2495:       fi
                   2496:       ;;
                   2497:     none) break ;;
                   2498:     esac
                   2499:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2500:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2501:     # handle `-M -o', and we need to detect this.
                   2502:     if depmode=$depmode \
                   2503:        source=conftest.c object=conftest.o \
                   2504:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2505:        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
                   2506:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2507:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   2508:       am_cv_CC_dependencies_compiler_type=$depmode
                   2509:       break
                   2510:     fi
                   2511:   done
                   2512:
                   2513:   cd ..
                   2514:   rm -rf conftest.dir
                   2515: else
                   2516:   am_cv_CC_dependencies_compiler_type=none
                   2517: fi
                   2518:
                   2519: fi
                   2520: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   2521: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   2522: CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
                   2523:
                   2524:
                   2525: # Find a good install program.  We prefer a C program (faster),
                   2526: # so one script is as good as another.  But avoid the broken or
                   2527: # incompatible versions:
                   2528: # SysV /etc/install, /usr/sbin/install
                   2529: # SunOS /usr/etc/install
                   2530: # IRIX /sbin/install
                   2531: # AIX /bin/install
                   2532: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2533: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2534: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2535: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2536: # ./install, which can be erroneously created by make from ./install.sh.
                   2537: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   2538: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
                   2539: if test -z "$INSTALL"; then
                   2540: if test "${ac_cv_path_install+set}" = set; then
                   2541:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2542: else
                   2543:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2544: for as_dir in $PATH
                   2545: do
                   2546:   IFS=$as_save_IFS
                   2547:   test -z "$as_dir" && as_dir=.
                   2548:   # Account for people who put trailing slashes in PATH elements.
                   2549: case $as_dir/ in
                   2550:   ./ | .// | /cC/* | \
                   2551:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2552:   /usr/ucb/* ) ;;
                   2553:   *)
                   2554:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2555:     # Don't use installbsd from OSF since it installs stuff as root
                   2556:     # by default.
                   2557:     for ac_prog in ginstall scoinst install; do
                   2558:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2559:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   2560:           if test $ac_prog = install &&
                   2561:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2562:             # AIX install.  It has an incompatible calling convention.
                   2563:             :
                   2564:           elif test $ac_prog = install &&
                   2565:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2566:             # program-specific install script used by HP pwplus--don't use.
                   2567:             :
                   2568:           else
                   2569:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2570:             break 3
                   2571:           fi
                   2572:         fi
                   2573:       done
                   2574:     done
                   2575:     ;;
                   2576: esac
                   2577: done
                   2578:
                   2579:
                   2580: fi
                   2581:   if test "${ac_cv_path_install+set}" = set; then
                   2582:     INSTALL=$ac_cv_path_install
                   2583:   else
                   2584:     # As a last resort, use the slow shell script.  We don't cache a
                   2585:     # path for INSTALL within a source directory, because that will
                   2586:     # break other packages using the cache if that directory is
                   2587:     # removed, or if the path is relative.
                   2588:     INSTALL=$ac_install_sh
                   2589:   fi
                   2590: fi
                   2591: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   2592: echo "${ECHO_T}$INSTALL" >&6
                   2593:
                   2594: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2595: # It thinks the first close brace ends the variable substitution.
                   2596: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2597:
                   2598: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2599:
                   2600: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2601:
                   2602: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   2603: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   2604: LN_S=$as_ln_s
                   2605: if test "$LN_S" = "ln -s"; then
                   2606:   echo "$as_me:$LINENO: result: yes" >&5
                   2607: echo "${ECHO_T}yes" >&6
                   2608: else
                   2609:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   2610: echo "${ECHO_T}no, using $LN_S" >&6
                   2611: fi
                   2612:
                   2613: if test -n "$ac_tool_prefix"; then
                   2614:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   2615: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   2616: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2617: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2618: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   2619:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2620: else
                   2621:   if test -n "$RANLIB"; then
                   2622:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   2623: else
                   2624: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2625: for as_dir in $PATH
                   2626: do
                   2627:   IFS=$as_save_IFS
                   2628:   test -z "$as_dir" && as_dir=.
                   2629:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2630:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2631:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   2632:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2633:     break 2
                   2634:   fi
                   2635: done
                   2636: done
                   2637:
                   2638: fi
                   2639: fi
                   2640: RANLIB=$ac_cv_prog_RANLIB
                   2641: if test -n "$RANLIB"; then
                   2642:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   2643: echo "${ECHO_T}$RANLIB" >&6
                   2644: else
                   2645:   echo "$as_me:$LINENO: result: no" >&5
                   2646: echo "${ECHO_T}no" >&6
                   2647: fi
                   2648:
                   2649: fi
                   2650: if test -z "$ac_cv_prog_RANLIB"; then
                   2651:   ac_ct_RANLIB=$RANLIB
                   2652:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2653: set dummy ranlib; ac_word=$2
                   2654: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2655: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2656: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   2657:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2658: else
                   2659:   if test -n "$ac_ct_RANLIB"; then
                   2660:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2661: else
                   2662: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2663: for as_dir in $PATH
                   2664: do
                   2665:   IFS=$as_save_IFS
                   2666:   test -z "$as_dir" && as_dir=.
                   2667:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2668:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2669:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   2670:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2671:     break 2
                   2672:   fi
                   2673: done
                   2674: done
                   2675:
                   2676:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   2677: fi
                   2678: fi
                   2679: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2680: if test -n "$ac_ct_RANLIB"; then
                   2681:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   2682: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   2683: else
                   2684:   echo "$as_me:$LINENO: result: no" >&5
                   2685: echo "${ECHO_T}no" >&6
                   2686: fi
                   2687:
                   2688:   RANLIB=$ac_ct_RANLIB
                   2689: else
                   2690:   RANLIB="$ac_cv_prog_RANLIB"
                   2691: fi
                   2692:
                   2693: for ac_prog in 'bison -y' byacc
                   2694: do
                   2695:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2696: set dummy $ac_prog; ac_word=$2
                   2697: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2698: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2699: if test "${ac_cv_prog_YACC+set}" = set; then
                   2700:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2701: else
                   2702:   if test -n "$YACC"; then
                   2703:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2704: else
                   2705: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2706: for as_dir in $PATH
                   2707: do
                   2708:   IFS=$as_save_IFS
                   2709:   test -z "$as_dir" && as_dir=.
                   2710:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2711:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2712:     ac_cv_prog_YACC="$ac_prog"
                   2713:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2714:     break 2
                   2715:   fi
                   2716: done
                   2717: done
                   2718:
                   2719: fi
                   2720: fi
                   2721: YACC=$ac_cv_prog_YACC
                   2722: if test -n "$YACC"; then
                   2723:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2724: echo "${ECHO_T}$YACC" >&6
                   2725: else
                   2726:   echo "$as_me:$LINENO: result: no" >&5
                   2727: echo "${ECHO_T}no" >&6
                   2728: fi
                   2729:
                   2730:   test -n "$YACC" && break
                   2731: done
                   2732: test -n "$YACC" || YACC="yacc"
                   2733:
                   2734:
                   2735:
                   2736: ac_ext=c
                   2737: ac_cpp='$CPP $CPPFLAGS'
                   2738: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2739: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2740: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2741: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   2742: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   2743: # On Suns, sometimes $CPP names a directory.
                   2744: if test -n "$CPP" && test -d "$CPP"; then
                   2745:   CPP=
                   2746: fi
                   2747: if test -z "$CPP"; then
                   2748:   if test "${ac_cv_prog_CPP+set}" = set; then
                   2749:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2750: else
                   2751:       # Double quotes because CPP needs to be expanded
                   2752:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   2753:     do
                   2754:       ac_preproc_ok=false
                   2755: for ac_c_preproc_warn_flag in '' yes
                   2756: do
                   2757:   # Use a header file that comes with gcc, so configuring glibc
                   2758:   # with a fresh cross-compiler works.
                   2759:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2760:   # not just through cpp. "Syntax error" is here to catch this case.
                   2761:   cat >conftest.$ac_ext <<_ACEOF
                   2762: #line $LINENO "configure"
1.17      ohara    2763: #include "confdefs.h"
                   2764: #include <assert.h>
1.14      noro     2765:                      Syntax error
                   2766: _ACEOF
                   2767: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2768:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2769:   ac_status=$?
1.17      ohara    2770:   egrep -v '^ *\+' conftest.er1 >conftest.err
1.14      noro     2771:   rm -f conftest.er1
                   2772:   cat conftest.err >&5
                   2773:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2774:   (exit $ac_status); } >/dev/null; then
                   2775:   if test -s conftest.err; then
                   2776:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2777:   else
                   2778:     ac_cpp_err=
                   2779:   fi
                   2780: else
                   2781:   ac_cpp_err=yes
                   2782: fi
                   2783: if test -z "$ac_cpp_err"; then
                   2784:   :
                   2785: else
                   2786:   echo "$as_me: failed program was:" >&5
1.17      ohara    2787:   cat conftest.$ac_ext >&5
1.14      noro     2788:   # Broken: fails on valid input.
                   2789: continue
                   2790: fi
                   2791: rm -f conftest.err conftest.$ac_ext
                   2792:
                   2793:   # OK, works on sane cases.  Now check whether non-existent headers
                   2794:   # can be detected and how.
                   2795:   cat >conftest.$ac_ext <<_ACEOF
                   2796: #line $LINENO "configure"
1.17      ohara    2797: #include "confdefs.h"
1.14      noro     2798: #include <ac_nonexistent.h>
                   2799: _ACEOF
                   2800: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2801:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2802:   ac_status=$?
1.17      ohara    2803:   egrep -v '^ *\+' conftest.er1 >conftest.err
1.14      noro     2804:   rm -f conftest.er1
                   2805:   cat conftest.err >&5
                   2806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2807:   (exit $ac_status); } >/dev/null; then
                   2808:   if test -s conftest.err; then
                   2809:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2810:   else
                   2811:     ac_cpp_err=
                   2812:   fi
                   2813: else
                   2814:   ac_cpp_err=yes
                   2815: fi
                   2816: if test -z "$ac_cpp_err"; then
                   2817:   # Broken: success on invalid input.
                   2818: continue
                   2819: else
                   2820:   echo "$as_me: failed program was:" >&5
1.17      ohara    2821:   cat conftest.$ac_ext >&5
1.14      noro     2822:   # Passes both tests.
                   2823: ac_preproc_ok=:
                   2824: break
                   2825: fi
                   2826: rm -f conftest.err conftest.$ac_ext
                   2827:
                   2828: done
                   2829: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2830: rm -f conftest.err conftest.$ac_ext
                   2831: if $ac_preproc_ok; then
                   2832:   break
                   2833: fi
                   2834:
                   2835:     done
                   2836:     ac_cv_prog_CPP=$CPP
                   2837:
                   2838: fi
                   2839:   CPP=$ac_cv_prog_CPP
                   2840: else
                   2841:   ac_cv_prog_CPP=$CPP
                   2842: fi
                   2843: echo "$as_me:$LINENO: result: $CPP" >&5
                   2844: echo "${ECHO_T}$CPP" >&6
                   2845: ac_preproc_ok=false
                   2846: for ac_c_preproc_warn_flag in '' yes
                   2847: do
                   2848:   # Use a header file that comes with gcc, so configuring glibc
                   2849:   # with a fresh cross-compiler works.
                   2850:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2851:   # not just through cpp. "Syntax error" is here to catch this case.
                   2852:   cat >conftest.$ac_ext <<_ACEOF
                   2853: #line $LINENO "configure"
1.17      ohara    2854: #include "confdefs.h"
                   2855: #include <assert.h>
1.14      noro     2856:                      Syntax error
                   2857: _ACEOF
                   2858: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2859:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2860:   ac_status=$?
1.17      ohara    2861:   egrep -v '^ *\+' conftest.er1 >conftest.err
1.14      noro     2862:   rm -f conftest.er1
                   2863:   cat conftest.err >&5
                   2864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2865:   (exit $ac_status); } >/dev/null; then
                   2866:   if test -s conftest.err; then
                   2867:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2868:   else
                   2869:     ac_cpp_err=
                   2870:   fi
                   2871: else
                   2872:   ac_cpp_err=yes
                   2873: fi
                   2874: if test -z "$ac_cpp_err"; then
                   2875:   :
                   2876: else
                   2877:   echo "$as_me: failed program was:" >&5
1.17      ohara    2878:   cat conftest.$ac_ext >&5
1.14      noro     2879:   # Broken: fails on valid input.
                   2880: continue
                   2881: fi
                   2882: rm -f conftest.err conftest.$ac_ext
                   2883:
                   2884:   # OK, works on sane cases.  Now check whether non-existent headers
                   2885:   # can be detected and how.
                   2886:   cat >conftest.$ac_ext <<_ACEOF
                   2887: #line $LINENO "configure"
1.17      ohara    2888: #include "confdefs.h"
1.14      noro     2889: #include <ac_nonexistent.h>
                   2890: _ACEOF
                   2891: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2892:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2893:   ac_status=$?
1.17      ohara    2894:   egrep -v '^ *\+' conftest.er1 >conftest.err
1.14      noro     2895:   rm -f conftest.er1
                   2896:   cat conftest.err >&5
                   2897:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2898:   (exit $ac_status); } >/dev/null; then
                   2899:   if test -s conftest.err; then
                   2900:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2901:   else
                   2902:     ac_cpp_err=
                   2903:   fi
                   2904: else
                   2905:   ac_cpp_err=yes
                   2906: fi
                   2907: if test -z "$ac_cpp_err"; then
                   2908:   # Broken: success on invalid input.
                   2909: continue
                   2910: else
                   2911:   echo "$as_me: failed program was:" >&5
1.17      ohara    2912:   cat conftest.$ac_ext >&5
1.14      noro     2913:   # Passes both tests.
                   2914: ac_preproc_ok=:
                   2915: break
                   2916: fi
                   2917: rm -f conftest.err conftest.$ac_ext
                   2918:
                   2919: done
                   2920: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2921: rm -f conftest.err conftest.$ac_ext
                   2922: if $ac_preproc_ok; then
                   2923:   :
                   2924: else
1.17      ohara    2925:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
                   2926: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1.14      noro     2927:    { (exit 1); exit 1; }; }
                   2928: fi
                   2929:
                   2930: ac_ext=c
                   2931: ac_cpp='$CPP $CPPFLAGS'
                   2932: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2933: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2934: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2935:
                   2936:
                   2937: echo "$as_me:$LINENO: checking for X" >&5
                   2938: echo $ECHO_N "checking for X... $ECHO_C" >&6
                   2939:
                   2940:
                   2941: # Check whether --with-x or --without-x was given.
                   2942: if test "${with_x+set}" = set; then
                   2943:   withval="$with_x"
                   2944:
                   2945: fi;
                   2946: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   2947: if test "x$with_x" = xno; then
                   2948:   # The user explicitly disabled X.
                   2949:   have_x=disabled
                   2950: else
                   2951:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   2952:     # Both variables are already set.
                   2953:     have_x=yes
                   2954:   else
                   2955:     if test "${ac_cv_have_x+set}" = set; then
                   2956:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2957: else
                   2958:   # One or both of the vars are not set, and there is no cached value.
                   2959: ac_x_includes=no ac_x_libraries=no
                   2960: rm -fr conftest.dir
                   2961: if mkdir conftest.dir; then
                   2962:   cd conftest.dir
                   2963:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
                   2964:   cat >Imakefile <<'_ACEOF'
                   2965: acfindx:
                   2966:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
                   2967: _ACEOF
                   2968:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   2969:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   2970:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   2971:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   2972:     for ac_extension in a so sl; do
                   2973:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
                   2974:          test -f $ac_im_libdir/libX11.$ac_extension; then
                   2975:         ac_im_usrlibdir=$ac_im_libdir; break
                   2976:       fi
                   2977:     done
                   2978:     # Screen out bogus values from the imake configuration.  They are
                   2979:     # bogus both because they are the default anyway, and because
                   2980:     # using them would break gcc on systems where it needs fixed includes.
                   2981:     case $ac_im_incroot in
                   2982:        /usr/include) ;;
                   2983:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
                   2984:     esac
                   2985:     case $ac_im_usrlibdir in
                   2986:        /usr/lib | /lib) ;;
                   2987:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
                   2988:     esac
                   2989:   fi
                   2990:   cd ..
                   2991:   rm -fr conftest.dir
                   2992: fi
                   2993:
                   2994: # Standard set of common directories for X headers.
                   2995: # Check X11 before X11Rn because it is often a symlink to the current release.
                   2996: ac_x_header_dirs='
                   2997: /usr/X11/include
                   2998: /usr/X11R6/include
                   2999: /usr/X11R5/include
                   3000: /usr/X11R4/include
                   3001:
                   3002: /usr/include/X11
                   3003: /usr/include/X11R6
                   3004: /usr/include/X11R5
                   3005: /usr/include/X11R4
                   3006:
                   3007: /usr/local/X11/include
                   3008: /usr/local/X11R6/include
                   3009: /usr/local/X11R5/include
                   3010: /usr/local/X11R4/include
                   3011:
                   3012: /usr/local/include/X11
                   3013: /usr/local/include/X11R6
                   3014: /usr/local/include/X11R5
                   3015: /usr/local/include/X11R4
                   3016:
                   3017: /usr/X386/include
                   3018: /usr/x386/include
                   3019: /usr/XFree86/include/X11
                   3020:
                   3021: /usr/include
                   3022: /usr/local/include
                   3023: /usr/unsupported/include
                   3024: /usr/athena/include
                   3025: /usr/local/x11r5/include
                   3026: /usr/lpp/Xamples/include
                   3027:
                   3028: /usr/openwin/include
                   3029: /usr/openwin/share/include'
                   3030:
                   3031: if test "$ac_x_includes" = no; then
                   3032:   # Guess where to find include files, by looking for Intrinsic.h.
                   3033:   # First, try using that file with no special directory specified.
                   3034:   cat >conftest.$ac_ext <<_ACEOF
                   3035: #line $LINENO "configure"
1.17      ohara    3036: #include "confdefs.h"
1.14      noro     3037: #include <X11/Intrinsic.h>
                   3038: _ACEOF
                   3039: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   3040:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   3041:   ac_status=$?
1.17      ohara    3042:   egrep -v '^ *\+' conftest.er1 >conftest.err
1.14      noro     3043:   rm -f conftest.er1
                   3044:   cat conftest.err >&5
                   3045:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3046:   (exit $ac_status); } >/dev/null; then
                   3047:   if test -s conftest.err; then
                   3048:     ac_cpp_err=$ac_c_preproc_warn_flag
                   3049:   else
                   3050:     ac_cpp_err=
                   3051:   fi
                   3052: else
                   3053:   ac_cpp_err=yes
                   3054: fi
                   3055: if test -z "$ac_cpp_err"; then
                   3056:   # We can compile using X headers with no special include directory.
                   3057: ac_x_includes=
                   3058: else
                   3059:   echo "$as_me: failed program was:" >&5
1.17      ohara    3060:   cat conftest.$ac_ext >&5
1.14      noro     3061:   for ac_dir in $ac_x_header_dirs; do
                   3062:   if test -r "$ac_dir/X11/Intrinsic.h"; then
                   3063:     ac_x_includes=$ac_dir
                   3064:     break
                   3065:   fi
                   3066: done
                   3067: fi
                   3068: rm -f conftest.err conftest.$ac_ext
                   3069: fi # $ac_x_includes = no
                   3070:
                   3071: if test "$ac_x_libraries" = no; then
                   3072:   # Check for the libraries.
                   3073:   # See if we find them without any special options.
                   3074:   # Don't add to $LIBS permanently.
                   3075:   ac_save_LIBS=$LIBS
                   3076:   LIBS="-lXt $LIBS"
                   3077:   cat >conftest.$ac_ext <<_ACEOF
                   3078: #line $LINENO "configure"
1.17      ohara    3079: #include "confdefs.h"
1.14      noro     3080: #include <X11/Intrinsic.h>
1.17      ohara    3081: #ifdef F77_DUMMY_MAIN
                   3082: #  ifdef __cplusplus
                   3083:      extern "C"
                   3084: #  endif
                   3085:    int F77_DUMMY_MAIN() { return 1; }
                   3086: #endif
1.14      noro     3087: int
                   3088: main ()
                   3089: {
                   3090: XtMalloc (0)
                   3091:   ;
                   3092:   return 0;
                   3093: }
                   3094: _ACEOF
                   3095: rm -f conftest.$ac_objext conftest$ac_exeext
                   3096: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3097:   (eval $ac_link) 2>&5
                   3098:   ac_status=$?
                   3099:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3100:   (exit $ac_status); } &&
                   3101:          { ac_try='test -s conftest$ac_exeext'
                   3102:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3103:   (eval $ac_try) 2>&5
                   3104:   ac_status=$?
                   3105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3106:   (exit $ac_status); }; }; then
                   3107:   LIBS=$ac_save_LIBS
                   3108: # We can link X programs with no special library path.
                   3109: ac_x_libraries=
                   3110: else
                   3111:   echo "$as_me: failed program was:" >&5
1.17      ohara    3112: cat conftest.$ac_ext >&5
1.14      noro     3113: LIBS=$ac_save_LIBS
                   3114: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
                   3115: do
                   3116:   # Don't even attempt the hair of trying to link an X program!
                   3117:   for ac_extension in a so sl; do
                   3118:     if test -r $ac_dir/libXt.$ac_extension; then
                   3119:       ac_x_libraries=$ac_dir
                   3120:       break 2
                   3121:     fi
                   3122:   done
                   3123: done
                   3124: fi
                   3125: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3126: fi # $ac_x_libraries = no
                   3127:
                   3128: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
                   3129:   # Didn't find X anywhere.  Cache the known absence of X.
                   3130:   ac_cv_have_x="have_x=no"
                   3131: else
                   3132:   # Record where we found X for the cache.
                   3133:   ac_cv_have_x="have_x=yes \
                   3134:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
                   3135: fi
                   3136: fi
                   3137:
                   3138:   fi
                   3139:   eval "$ac_cv_have_x"
                   3140: fi # $with_x != no
                   3141:
                   3142: if test "$have_x" != yes; then
                   3143:   echo "$as_me:$LINENO: result: $have_x" >&5
                   3144: echo "${ECHO_T}$have_x" >&6
                   3145:   no_x=yes
                   3146: else
                   3147:   # If each of the values was on the command line, it overrides each guess.
                   3148:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   3149:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   3150:   # Update the cache value to reflect the command line values.
                   3151:   ac_cv_have_x="have_x=yes \
                   3152:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
                   3153:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
                   3154: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
                   3155: fi
                   3156:
                   3157: if test "$no_x" = yes; then
                   3158:   # Not all programs may use this symbol, but it does not hurt to define it.
                   3159:
                   3160: cat >>confdefs.h <<\_ACEOF
                   3161: #define X_DISPLAY_MISSING 1
                   3162: _ACEOF
                   3163:
                   3164:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   3165: else
                   3166:   if test -n "$x_includes"; then
                   3167:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   3168:   fi
                   3169:
                   3170:   # It would also be nice to do this for all -L options, not just this one.
                   3171:   if test -n "$x_libraries"; then
                   3172:     X_LIBS="$X_LIBS -L$x_libraries"
                   3173:     # For Solaris; some versions of Sun CC require a space after -R and
                   3174:     # others require no space.  Words are not sufficient . . . .
                   3175:     case `(uname -sr) 2>/dev/null` in
                   3176:     "SunOS 5"*)
                   3177:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
                   3178: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
                   3179:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   3180:       cat >conftest.$ac_ext <<_ACEOF
                   3181: #line $LINENO "configure"
1.17      ohara    3182: #include "confdefs.h"
1.14      noro     3183:
1.17      ohara    3184: #ifdef F77_DUMMY_MAIN
                   3185: #  ifdef __cplusplus
                   3186:      extern "C"
                   3187: #  endif
                   3188:    int F77_DUMMY_MAIN() { return 1; }
                   3189: #endif
1.14      noro     3190: int
                   3191: main ()
                   3192: {
                   3193:
                   3194:   ;
                   3195:   return 0;
                   3196: }
                   3197: _ACEOF
                   3198: rm -f conftest.$ac_objext conftest$ac_exeext
                   3199: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3200:   (eval $ac_link) 2>&5
                   3201:   ac_status=$?
                   3202:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3203:   (exit $ac_status); } &&
                   3204:          { ac_try='test -s conftest$ac_exeext'
                   3205:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3206:   (eval $ac_try) 2>&5
                   3207:   ac_status=$?
                   3208:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3209:   (exit $ac_status); }; }; then
                   3210:   ac_R_nospace=yes
                   3211: else
                   3212:   echo "$as_me: failed program was:" >&5
1.17      ohara    3213: cat conftest.$ac_ext >&5
1.14      noro     3214: ac_R_nospace=no
                   3215: fi
                   3216: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3217:       if test $ac_R_nospace = yes; then
                   3218:        echo "$as_me:$LINENO: result: no" >&5
                   3219: echo "${ECHO_T}no" >&6
                   3220:        X_LIBS="$X_LIBS -R$x_libraries"
                   3221:       else
                   3222:        LIBS="$ac_xsave_LIBS -R $x_libraries"
                   3223:        cat >conftest.$ac_ext <<_ACEOF
                   3224: #line $LINENO "configure"
1.17      ohara    3225: #include "confdefs.h"
1.14      noro     3226:
1.17      ohara    3227: #ifdef F77_DUMMY_MAIN
                   3228: #  ifdef __cplusplus
                   3229:      extern "C"
                   3230: #  endif
                   3231:    int F77_DUMMY_MAIN() { return 1; }
                   3232: #endif
1.14      noro     3233: int
                   3234: main ()
                   3235: {
                   3236:
                   3237:   ;
                   3238:   return 0;
                   3239: }
                   3240: _ACEOF
                   3241: rm -f conftest.$ac_objext conftest$ac_exeext
                   3242: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3243:   (eval $ac_link) 2>&5
                   3244:   ac_status=$?
                   3245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3246:   (exit $ac_status); } &&
                   3247:          { ac_try='test -s conftest$ac_exeext'
                   3248:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3249:   (eval $ac_try) 2>&5
                   3250:   ac_status=$?
                   3251:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3252:   (exit $ac_status); }; }; then
                   3253:   ac_R_space=yes
                   3254: else
                   3255:   echo "$as_me: failed program was:" >&5
1.17      ohara    3256: cat conftest.$ac_ext >&5
1.14      noro     3257: ac_R_space=no
                   3258: fi
                   3259: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3260:        if test $ac_R_space = yes; then
                   3261:          echo "$as_me:$LINENO: result: yes" >&5
                   3262: echo "${ECHO_T}yes" >&6
                   3263:          X_LIBS="$X_LIBS -R $x_libraries"
                   3264:        else
                   3265:          echo "$as_me:$LINENO: result: neither works" >&5
                   3266: echo "${ECHO_T}neither works" >&6
                   3267:        fi
                   3268:       fi
                   3269:       LIBS=$ac_xsave_LIBS
                   3270:     esac
                   3271:   fi
                   3272:
                   3273:   # Check for system-dependent libraries X programs must link with.
                   3274:   # Do this before checking for the system-independent R6 libraries
                   3275:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   3276:
                   3277:   if test "$ISC" = yes; then
                   3278:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   3279:   else
                   3280:     # Martyn Johnson says this is needed for Ultrix, if the X
                   3281:     # libraries were built with DECnet support.  And Karl Berry says
                   3282:     # the Alpha needs dnet_stub (dnet does not exist).
                   3283:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   3284:     cat >conftest.$ac_ext <<_ACEOF
                   3285: #line $LINENO "configure"
1.17      ohara    3286: #include "confdefs.h"
1.14      noro     3287:
                   3288: /* Override any gcc2 internal prototype to avoid an error.  */
                   3289: #ifdef __cplusplus
                   3290: extern "C"
                   3291: #endif
                   3292: /* We use char because int might match the return type of a gcc2
                   3293:    builtin and then its argument prototype would still apply.  */
                   3294: char XOpenDisplay ();
1.17      ohara    3295: #ifdef F77_DUMMY_MAIN
                   3296: #  ifdef __cplusplus
                   3297:      extern "C"
                   3298: #  endif
                   3299:    int F77_DUMMY_MAIN() { return 1; }
                   3300: #endif
1.14      noro     3301: int
                   3302: main ()
                   3303: {
                   3304: XOpenDisplay ();
                   3305:   ;
                   3306:   return 0;
                   3307: }
                   3308: _ACEOF
                   3309: rm -f conftest.$ac_objext conftest$ac_exeext
                   3310: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3311:   (eval $ac_link) 2>&5
                   3312:   ac_status=$?
                   3313:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3314:   (exit $ac_status); } &&
                   3315:          { ac_try='test -s conftest$ac_exeext'
                   3316:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3317:   (eval $ac_try) 2>&5
                   3318:   ac_status=$?
                   3319:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3320:   (exit $ac_status); }; }; then
                   3321:   :
                   3322: else
                   3323:   echo "$as_me: failed program was:" >&5
1.17      ohara    3324: cat conftest.$ac_ext >&5
1.14      noro     3325: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
                   3326: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
                   3327: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   3328:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3329: else
                   3330:   ac_check_lib_save_LIBS=$LIBS
                   3331: LIBS="-ldnet  $LIBS"
                   3332: cat >conftest.$ac_ext <<_ACEOF
                   3333: #line $LINENO "configure"
1.17      ohara    3334: #include "confdefs.h"
1.14      noro     3335:
                   3336: /* Override any gcc2 internal prototype to avoid an error.  */
                   3337: #ifdef __cplusplus
                   3338: extern "C"
                   3339: #endif
                   3340: /* We use char because int might match the return type of a gcc2
                   3341:    builtin and then its argument prototype would still apply.  */
                   3342: char dnet_ntoa ();
1.17      ohara    3343: #ifdef F77_DUMMY_MAIN
                   3344: #  ifdef __cplusplus
                   3345:      extern "C"
                   3346: #  endif
                   3347:    int F77_DUMMY_MAIN() { return 1; }
                   3348: #endif
1.14      noro     3349: int
                   3350: main ()
                   3351: {
                   3352: dnet_ntoa ();
                   3353:   ;
                   3354:   return 0;
                   3355: }
                   3356: _ACEOF
                   3357: rm -f conftest.$ac_objext conftest$ac_exeext
                   3358: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3359:   (eval $ac_link) 2>&5
                   3360:   ac_status=$?
                   3361:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3362:   (exit $ac_status); } &&
                   3363:          { ac_try='test -s conftest$ac_exeext'
                   3364:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3365:   (eval $ac_try) 2>&5
                   3366:   ac_status=$?
                   3367:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3368:   (exit $ac_status); }; }; then
                   3369:   ac_cv_lib_dnet_dnet_ntoa=yes
                   3370: else
                   3371:   echo "$as_me: failed program was:" >&5
1.17      ohara    3372: cat conftest.$ac_ext >&5
1.14      noro     3373: ac_cv_lib_dnet_dnet_ntoa=no
                   3374: fi
                   3375: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3376: LIBS=$ac_check_lib_save_LIBS
                   3377: fi
                   3378: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   3379: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
                   3380: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
                   3381:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   3382: fi
                   3383:
                   3384:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
                   3385:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
                   3386: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
                   3387: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   3388:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3389: else
                   3390:   ac_check_lib_save_LIBS=$LIBS
                   3391: LIBS="-ldnet_stub  $LIBS"
                   3392: cat >conftest.$ac_ext <<_ACEOF
                   3393: #line $LINENO "configure"
1.17      ohara    3394: #include "confdefs.h"
1.14      noro     3395:
                   3396: /* Override any gcc2 internal prototype to avoid an error.  */
                   3397: #ifdef __cplusplus
                   3398: extern "C"
                   3399: #endif
                   3400: /* We use char because int might match the return type of a gcc2
                   3401:    builtin and then its argument prototype would still apply.  */
                   3402: char dnet_ntoa ();
1.17      ohara    3403: #ifdef F77_DUMMY_MAIN
                   3404: #  ifdef __cplusplus
                   3405:      extern "C"
                   3406: #  endif
                   3407:    int F77_DUMMY_MAIN() { return 1; }
                   3408: #endif
1.14      noro     3409: int
                   3410: main ()
                   3411: {
                   3412: dnet_ntoa ();
                   3413:   ;
                   3414:   return 0;
                   3415: }
                   3416: _ACEOF
                   3417: rm -f conftest.$ac_objext conftest$ac_exeext
                   3418: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3419:   (eval $ac_link) 2>&5
                   3420:   ac_status=$?
                   3421:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3422:   (exit $ac_status); } &&
                   3423:          { ac_try='test -s conftest$ac_exeext'
                   3424:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3425:   (eval $ac_try) 2>&5
                   3426:   ac_status=$?
                   3427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3428:   (exit $ac_status); }; }; then
                   3429:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   3430: else
                   3431:   echo "$as_me: failed program was:" >&5
1.17      ohara    3432: cat conftest.$ac_ext >&5
1.14      noro     3433: ac_cv_lib_dnet_stub_dnet_ntoa=no
                   3434: fi
                   3435: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3436: LIBS=$ac_check_lib_save_LIBS
                   3437: fi
                   3438: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   3439: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
                   3440: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
                   3441:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   3442: fi
                   3443:
                   3444:     fi
                   3445: fi
                   3446: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3447:     LIBS="$ac_xsave_LIBS"
                   3448:
                   3449:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   3450:     # to get the SysV transport functions.
                   3451:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
                   3452:     # needs -lnsl.
                   3453:     # The nsl library prevents programs from opening the X display
                   3454:     # on Irix 5.2, according to T.E. Dickey.
                   3455:     # The functions gethostbyname, getservbyname, and inet_addr are
                   3456:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   3457:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   3458: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   3459: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   3460:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3461: else
                   3462:   cat >conftest.$ac_ext <<_ACEOF
                   3463: #line $LINENO "configure"
1.17      ohara    3464: #include "confdefs.h"
1.14      noro     3465: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    3466:     which can conflict with char gethostbyname (); below.  */
                   3467: #include <assert.h>
1.14      noro     3468: /* Override any gcc2 internal prototype to avoid an error.  */
                   3469: #ifdef __cplusplus
                   3470: extern "C"
                   3471: #endif
                   3472: /* We use char because int might match the return type of a gcc2
                   3473:    builtin and then its argument prototype would still apply.  */
                   3474: char gethostbyname ();
1.17      ohara    3475: char (*f) ();
                   3476:
                   3477: #ifdef F77_DUMMY_MAIN
                   3478: #  ifdef __cplusplus
                   3479:      extern "C"
                   3480: #  endif
                   3481:    int F77_DUMMY_MAIN() { return 1; }
                   3482: #endif
                   3483: int
                   3484: main ()
                   3485: {
1.14      noro     3486: /* The GNU C library defines this for functions which it implements
                   3487:     to always fail with ENOSYS.  Some functions are actually named
                   3488:     something starting with __ and the normal name is an alias.  */
                   3489: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   3490: choke me
                   3491: #else
1.17      ohara    3492: f = gethostbyname;
1.14      noro     3493: #endif
                   3494:
                   3495:   ;
                   3496:   return 0;
                   3497: }
                   3498: _ACEOF
                   3499: rm -f conftest.$ac_objext conftest$ac_exeext
                   3500: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3501:   (eval $ac_link) 2>&5
                   3502:   ac_status=$?
                   3503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3504:   (exit $ac_status); } &&
                   3505:          { ac_try='test -s conftest$ac_exeext'
                   3506:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3507:   (eval $ac_try) 2>&5
                   3508:   ac_status=$?
                   3509:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3510:   (exit $ac_status); }; }; then
                   3511:   ac_cv_func_gethostbyname=yes
                   3512: else
                   3513:   echo "$as_me: failed program was:" >&5
1.17      ohara    3514: cat conftest.$ac_ext >&5
1.14      noro     3515: ac_cv_func_gethostbyname=no
                   3516: fi
                   3517: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3518: fi
                   3519: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   3520: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
                   3521:
                   3522:     if test $ac_cv_func_gethostbyname = no; then
                   3523:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   3524: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   3525: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   3526:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3527: else
                   3528:   ac_check_lib_save_LIBS=$LIBS
                   3529: LIBS="-lnsl  $LIBS"
                   3530: cat >conftest.$ac_ext <<_ACEOF
                   3531: #line $LINENO "configure"
1.17      ohara    3532: #include "confdefs.h"
1.14      noro     3533:
                   3534: /* Override any gcc2 internal prototype to avoid an error.  */
                   3535: #ifdef __cplusplus
                   3536: extern "C"
                   3537: #endif
                   3538: /* We use char because int might match the return type of a gcc2
                   3539:    builtin and then its argument prototype would still apply.  */
                   3540: char gethostbyname ();
1.17      ohara    3541: #ifdef F77_DUMMY_MAIN
                   3542: #  ifdef __cplusplus
                   3543:      extern "C"
                   3544: #  endif
                   3545:    int F77_DUMMY_MAIN() { return 1; }
                   3546: #endif
1.14      noro     3547: int
                   3548: main ()
                   3549: {
                   3550: gethostbyname ();
                   3551:   ;
                   3552:   return 0;
                   3553: }
                   3554: _ACEOF
                   3555: rm -f conftest.$ac_objext conftest$ac_exeext
                   3556: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3557:   (eval $ac_link) 2>&5
                   3558:   ac_status=$?
                   3559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3560:   (exit $ac_status); } &&
                   3561:          { ac_try='test -s conftest$ac_exeext'
                   3562:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3563:   (eval $ac_try) 2>&5
                   3564:   ac_status=$?
                   3565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3566:   (exit $ac_status); }; }; then
                   3567:   ac_cv_lib_nsl_gethostbyname=yes
                   3568: else
                   3569:   echo "$as_me: failed program was:" >&5
1.17      ohara    3570: cat conftest.$ac_ext >&5
1.14      noro     3571: ac_cv_lib_nsl_gethostbyname=no
                   3572: fi
                   3573: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3574: LIBS=$ac_check_lib_save_LIBS
                   3575: fi
                   3576: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   3577: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   3578: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   3579:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   3580: fi
                   3581:
                   3582:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   3583:         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
                   3584: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
                   3585: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
                   3586:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3587: else
                   3588:   ac_check_lib_save_LIBS=$LIBS
                   3589: LIBS="-lbsd  $LIBS"
                   3590: cat >conftest.$ac_ext <<_ACEOF
                   3591: #line $LINENO "configure"
1.17      ohara    3592: #include "confdefs.h"
1.14      noro     3593:
                   3594: /* Override any gcc2 internal prototype to avoid an error.  */
                   3595: #ifdef __cplusplus
                   3596: extern "C"
                   3597: #endif
                   3598: /* We use char because int might match the return type of a gcc2
                   3599:    builtin and then its argument prototype would still apply.  */
                   3600: char gethostbyname ();
1.17      ohara    3601: #ifdef F77_DUMMY_MAIN
                   3602: #  ifdef __cplusplus
                   3603:      extern "C"
                   3604: #  endif
                   3605:    int F77_DUMMY_MAIN() { return 1; }
                   3606: #endif
1.14      noro     3607: int
                   3608: main ()
                   3609: {
                   3610: gethostbyname ();
                   3611:   ;
                   3612:   return 0;
                   3613: }
                   3614: _ACEOF
                   3615: rm -f conftest.$ac_objext conftest$ac_exeext
                   3616: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3617:   (eval $ac_link) 2>&5
                   3618:   ac_status=$?
                   3619:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3620:   (exit $ac_status); } &&
                   3621:          { ac_try='test -s conftest$ac_exeext'
                   3622:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3623:   (eval $ac_try) 2>&5
                   3624:   ac_status=$?
                   3625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3626:   (exit $ac_status); }; }; then
                   3627:   ac_cv_lib_bsd_gethostbyname=yes
                   3628: else
                   3629:   echo "$as_me: failed program was:" >&5
1.17      ohara    3630: cat conftest.$ac_ext >&5
1.14      noro     3631: ac_cv_lib_bsd_gethostbyname=no
                   3632: fi
                   3633: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3634: LIBS=$ac_check_lib_save_LIBS
                   3635: fi
                   3636: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   3637: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
                   3638: if test $ac_cv_lib_bsd_gethostbyname = yes; then
                   3639:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
                   3640: fi
                   3641:
                   3642:       fi
                   3643:     fi
                   3644:
                   3645:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   3646:     # socket/setsockopt and other routines are undefined under SCO ODT
                   3647:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
                   3648:     # on later versions), says Simon Leinen: it contains gethostby*
1.17      ohara    3649:     # variants that don't use the nameserver (or something).  -lsocket
1.14      noro     3650:     # must be given before -lnsl if both are needed.  We assume that
                   3651:     # if connect needs -lnsl, so does gethostbyname.
                   3652:     echo "$as_me:$LINENO: checking for connect" >&5
                   3653: echo $ECHO_N "checking for connect... $ECHO_C" >&6
                   3654: if test "${ac_cv_func_connect+set}" = set; then
                   3655:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3656: else
                   3657:   cat >conftest.$ac_ext <<_ACEOF
                   3658: #line $LINENO "configure"
1.17      ohara    3659: #include "confdefs.h"
1.14      noro     3660: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    3661:     which can conflict with char connect (); below.  */
                   3662: #include <assert.h>
1.14      noro     3663: /* Override any gcc2 internal prototype to avoid an error.  */
                   3664: #ifdef __cplusplus
                   3665: extern "C"
                   3666: #endif
                   3667: /* We use char because int might match the return type of a gcc2
                   3668:    builtin and then its argument prototype would still apply.  */
                   3669: char connect ();
1.17      ohara    3670: char (*f) ();
                   3671:
                   3672: #ifdef F77_DUMMY_MAIN
                   3673: #  ifdef __cplusplus
                   3674:      extern "C"
                   3675: #  endif
                   3676:    int F77_DUMMY_MAIN() { return 1; }
                   3677: #endif
                   3678: int
                   3679: main ()
                   3680: {
1.14      noro     3681: /* The GNU C library defines this for functions which it implements
                   3682:     to always fail with ENOSYS.  Some functions are actually named
                   3683:     something starting with __ and the normal name is an alias.  */
                   3684: #if defined (__stub_connect) || defined (__stub___connect)
                   3685: choke me
                   3686: #else
1.17      ohara    3687: f = connect;
1.14      noro     3688: #endif
                   3689:
                   3690:   ;
                   3691:   return 0;
                   3692: }
                   3693: _ACEOF
                   3694: rm -f conftest.$ac_objext conftest$ac_exeext
                   3695: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3696:   (eval $ac_link) 2>&5
                   3697:   ac_status=$?
                   3698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3699:   (exit $ac_status); } &&
                   3700:          { ac_try='test -s conftest$ac_exeext'
                   3701:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3702:   (eval $ac_try) 2>&5
                   3703:   ac_status=$?
                   3704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3705:   (exit $ac_status); }; }; then
                   3706:   ac_cv_func_connect=yes
                   3707: else
                   3708:   echo "$as_me: failed program was:" >&5
1.17      ohara    3709: cat conftest.$ac_ext >&5
1.14      noro     3710: ac_cv_func_connect=no
                   3711: fi
                   3712: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3713: fi
                   3714: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
                   3715: echo "${ECHO_T}$ac_cv_func_connect" >&6
                   3716:
                   3717:     if test $ac_cv_func_connect = no; then
                   3718:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
                   3719: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
                   3720: if test "${ac_cv_lib_socket_connect+set}" = set; then
                   3721:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3722: else
                   3723:   ac_check_lib_save_LIBS=$LIBS
                   3724: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
                   3725: cat >conftest.$ac_ext <<_ACEOF
                   3726: #line $LINENO "configure"
1.17      ohara    3727: #include "confdefs.h"
1.14      noro     3728:
                   3729: /* Override any gcc2 internal prototype to avoid an error.  */
                   3730: #ifdef __cplusplus
                   3731: extern "C"
                   3732: #endif
                   3733: /* We use char because int might match the return type of a gcc2
                   3734:    builtin and then its argument prototype would still apply.  */
                   3735: char connect ();
1.17      ohara    3736: #ifdef F77_DUMMY_MAIN
                   3737: #  ifdef __cplusplus
                   3738:      extern "C"
                   3739: #  endif
                   3740:    int F77_DUMMY_MAIN() { return 1; }
                   3741: #endif
1.14      noro     3742: int
                   3743: main ()
                   3744: {
                   3745: connect ();
                   3746:   ;
                   3747:   return 0;
                   3748: }
                   3749: _ACEOF
                   3750: rm -f conftest.$ac_objext conftest$ac_exeext
                   3751: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3752:   (eval $ac_link) 2>&5
                   3753:   ac_status=$?
                   3754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3755:   (exit $ac_status); } &&
                   3756:          { ac_try='test -s conftest$ac_exeext'
                   3757:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3758:   (eval $ac_try) 2>&5
                   3759:   ac_status=$?
                   3760:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3761:   (exit $ac_status); }; }; then
                   3762:   ac_cv_lib_socket_connect=yes
                   3763: else
                   3764:   echo "$as_me: failed program was:" >&5
1.17      ohara    3765: cat conftest.$ac_ext >&5
1.14      noro     3766: ac_cv_lib_socket_connect=no
                   3767: fi
                   3768: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3769: LIBS=$ac_check_lib_save_LIBS
                   3770: fi
                   3771: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
                   3772: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
                   3773: if test $ac_cv_lib_socket_connect = yes; then
                   3774:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   3775: fi
                   3776:
                   3777:     fi
                   3778:
                   3779:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   3780:     echo "$as_me:$LINENO: checking for remove" >&5
                   3781: echo $ECHO_N "checking for remove... $ECHO_C" >&6
                   3782: if test "${ac_cv_func_remove+set}" = set; then
                   3783:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3784: else
                   3785:   cat >conftest.$ac_ext <<_ACEOF
                   3786: #line $LINENO "configure"
1.17      ohara    3787: #include "confdefs.h"
1.14      noro     3788: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    3789:     which can conflict with char remove (); below.  */
                   3790: #include <assert.h>
1.14      noro     3791: /* Override any gcc2 internal prototype to avoid an error.  */
                   3792: #ifdef __cplusplus
                   3793: extern "C"
                   3794: #endif
                   3795: /* We use char because int might match the return type of a gcc2
                   3796:    builtin and then its argument prototype would still apply.  */
                   3797: char remove ();
1.17      ohara    3798: char (*f) ();
                   3799:
                   3800: #ifdef F77_DUMMY_MAIN
                   3801: #  ifdef __cplusplus
                   3802:      extern "C"
                   3803: #  endif
                   3804:    int F77_DUMMY_MAIN() { return 1; }
                   3805: #endif
                   3806: int
                   3807: main ()
                   3808: {
1.14      noro     3809: /* The GNU C library defines this for functions which it implements
                   3810:     to always fail with ENOSYS.  Some functions are actually named
                   3811:     something starting with __ and the normal name is an alias.  */
                   3812: #if defined (__stub_remove) || defined (__stub___remove)
                   3813: choke me
                   3814: #else
1.17      ohara    3815: f = remove;
1.14      noro     3816: #endif
                   3817:
                   3818:   ;
                   3819:   return 0;
                   3820: }
                   3821: _ACEOF
                   3822: rm -f conftest.$ac_objext conftest$ac_exeext
                   3823: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3824:   (eval $ac_link) 2>&5
                   3825:   ac_status=$?
                   3826:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3827:   (exit $ac_status); } &&
                   3828:          { ac_try='test -s conftest$ac_exeext'
                   3829:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3830:   (eval $ac_try) 2>&5
                   3831:   ac_status=$?
                   3832:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3833:   (exit $ac_status); }; }; then
                   3834:   ac_cv_func_remove=yes
                   3835: else
                   3836:   echo "$as_me: failed program was:" >&5
1.17      ohara    3837: cat conftest.$ac_ext >&5
1.14      noro     3838: ac_cv_func_remove=no
                   3839: fi
                   3840: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3841: fi
                   3842: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
                   3843: echo "${ECHO_T}$ac_cv_func_remove" >&6
                   3844:
                   3845:     if test $ac_cv_func_remove = no; then
                   3846:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
                   3847: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
                   3848: if test "${ac_cv_lib_posix_remove+set}" = set; then
                   3849:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3850: else
                   3851:   ac_check_lib_save_LIBS=$LIBS
                   3852: LIBS="-lposix  $LIBS"
                   3853: cat >conftest.$ac_ext <<_ACEOF
                   3854: #line $LINENO "configure"
1.17      ohara    3855: #include "confdefs.h"
1.14      noro     3856:
                   3857: /* Override any gcc2 internal prototype to avoid an error.  */
                   3858: #ifdef __cplusplus
                   3859: extern "C"
                   3860: #endif
                   3861: /* We use char because int might match the return type of a gcc2
                   3862:    builtin and then its argument prototype would still apply.  */
                   3863: char remove ();
1.17      ohara    3864: #ifdef F77_DUMMY_MAIN
                   3865: #  ifdef __cplusplus
                   3866:      extern "C"
                   3867: #  endif
                   3868:    int F77_DUMMY_MAIN() { return 1; }
                   3869: #endif
1.14      noro     3870: int
                   3871: main ()
                   3872: {
                   3873: remove ();
                   3874:   ;
                   3875:   return 0;
                   3876: }
                   3877: _ACEOF
                   3878: rm -f conftest.$ac_objext conftest$ac_exeext
                   3879: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3880:   (eval $ac_link) 2>&5
                   3881:   ac_status=$?
                   3882:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3883:   (exit $ac_status); } &&
                   3884:          { ac_try='test -s conftest$ac_exeext'
                   3885:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3886:   (eval $ac_try) 2>&5
                   3887:   ac_status=$?
                   3888:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3889:   (exit $ac_status); }; }; then
                   3890:   ac_cv_lib_posix_remove=yes
                   3891: else
                   3892:   echo "$as_me: failed program was:" >&5
1.17      ohara    3893: cat conftest.$ac_ext >&5
1.14      noro     3894: ac_cv_lib_posix_remove=no
                   3895: fi
                   3896: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3897: LIBS=$ac_check_lib_save_LIBS
                   3898: fi
                   3899: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
                   3900: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
                   3901: if test $ac_cv_lib_posix_remove = yes; then
                   3902:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   3903: fi
                   3904:
                   3905:     fi
                   3906:
                   3907:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
                   3908:     echo "$as_me:$LINENO: checking for shmat" >&5
                   3909: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
                   3910: if test "${ac_cv_func_shmat+set}" = set; then
                   3911:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3912: else
                   3913:   cat >conftest.$ac_ext <<_ACEOF
                   3914: #line $LINENO "configure"
1.17      ohara    3915: #include "confdefs.h"
1.14      noro     3916: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    3917:     which can conflict with char shmat (); below.  */
                   3918: #include <assert.h>
1.14      noro     3919: /* Override any gcc2 internal prototype to avoid an error.  */
                   3920: #ifdef __cplusplus
                   3921: extern "C"
                   3922: #endif
                   3923: /* We use char because int might match the return type of a gcc2
                   3924:    builtin and then its argument prototype would still apply.  */
                   3925: char shmat ();
1.17      ohara    3926: char (*f) ();
                   3927:
                   3928: #ifdef F77_DUMMY_MAIN
                   3929: #  ifdef __cplusplus
                   3930:      extern "C"
                   3931: #  endif
                   3932:    int F77_DUMMY_MAIN() { return 1; }
                   3933: #endif
                   3934: int
                   3935: main ()
                   3936: {
1.14      noro     3937: /* The GNU C library defines this for functions which it implements
                   3938:     to always fail with ENOSYS.  Some functions are actually named
                   3939:     something starting with __ and the normal name is an alias.  */
                   3940: #if defined (__stub_shmat) || defined (__stub___shmat)
                   3941: choke me
                   3942: #else
1.17      ohara    3943: f = shmat;
1.14      noro     3944: #endif
                   3945:
                   3946:   ;
                   3947:   return 0;
                   3948: }
                   3949: _ACEOF
                   3950: rm -f conftest.$ac_objext conftest$ac_exeext
                   3951: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3952:   (eval $ac_link) 2>&5
                   3953:   ac_status=$?
                   3954:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3955:   (exit $ac_status); } &&
                   3956:          { ac_try='test -s conftest$ac_exeext'
                   3957:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3958:   (eval $ac_try) 2>&5
                   3959:   ac_status=$?
                   3960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3961:   (exit $ac_status); }; }; then
                   3962:   ac_cv_func_shmat=yes
                   3963: else
                   3964:   echo "$as_me: failed program was:" >&5
1.17      ohara    3965: cat conftest.$ac_ext >&5
1.14      noro     3966: ac_cv_func_shmat=no
                   3967: fi
                   3968: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3969: fi
                   3970: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
                   3971: echo "${ECHO_T}$ac_cv_func_shmat" >&6
                   3972:
                   3973:     if test $ac_cv_func_shmat = no; then
                   3974:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
                   3975: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
                   3976: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
                   3977:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3978: else
                   3979:   ac_check_lib_save_LIBS=$LIBS
                   3980: LIBS="-lipc  $LIBS"
                   3981: cat >conftest.$ac_ext <<_ACEOF
                   3982: #line $LINENO "configure"
1.17      ohara    3983: #include "confdefs.h"
1.14      noro     3984:
                   3985: /* Override any gcc2 internal prototype to avoid an error.  */
                   3986: #ifdef __cplusplus
                   3987: extern "C"
                   3988: #endif
                   3989: /* We use char because int might match the return type of a gcc2
                   3990:    builtin and then its argument prototype would still apply.  */
                   3991: char shmat ();
1.17      ohara    3992: #ifdef F77_DUMMY_MAIN
                   3993: #  ifdef __cplusplus
                   3994:      extern "C"
                   3995: #  endif
                   3996:    int F77_DUMMY_MAIN() { return 1; }
                   3997: #endif
1.14      noro     3998: int
                   3999: main ()
                   4000: {
                   4001: shmat ();
                   4002:   ;
                   4003:   return 0;
                   4004: }
                   4005: _ACEOF
                   4006: rm -f conftest.$ac_objext conftest$ac_exeext
                   4007: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4008:   (eval $ac_link) 2>&5
                   4009:   ac_status=$?
                   4010:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4011:   (exit $ac_status); } &&
                   4012:          { ac_try='test -s conftest$ac_exeext'
                   4013:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4014:   (eval $ac_try) 2>&5
                   4015:   ac_status=$?
                   4016:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4017:   (exit $ac_status); }; }; then
                   4018:   ac_cv_lib_ipc_shmat=yes
                   4019: else
                   4020:   echo "$as_me: failed program was:" >&5
1.17      ohara    4021: cat conftest.$ac_ext >&5
1.14      noro     4022: ac_cv_lib_ipc_shmat=no
                   4023: fi
                   4024: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4025: LIBS=$ac_check_lib_save_LIBS
                   4026: fi
                   4027: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
                   4028: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
                   4029: if test $ac_cv_lib_ipc_shmat = yes; then
                   4030:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   4031: fi
                   4032:
                   4033:     fi
                   4034:   fi
                   4035:
                   4036:   # Check for libraries that X11R6 Xt/Xaw programs need.
                   4037:   ac_save_LDFLAGS=$LDFLAGS
                   4038:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   4039:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   4040:   # check for ICE first), but we must link in the order -lSM -lICE or
                   4041:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   4042:   # These have to be linked with before -lX11, unlike the other
                   4043:   # libraries we check for below, so use a different variable.
                   4044:   # John Interrante, Karl Berry
                   4045:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
                   4046: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
                   4047: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
                   4048:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4049: else
                   4050:   ac_check_lib_save_LIBS=$LIBS
                   4051: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
                   4052: cat >conftest.$ac_ext <<_ACEOF
                   4053: #line $LINENO "configure"
1.17      ohara    4054: #include "confdefs.h"
1.14      noro     4055:
                   4056: /* Override any gcc2 internal prototype to avoid an error.  */
                   4057: #ifdef __cplusplus
                   4058: extern "C"
                   4059: #endif
                   4060: /* We use char because int might match the return type of a gcc2
                   4061:    builtin and then its argument prototype would still apply.  */
                   4062: char IceConnectionNumber ();
1.17      ohara    4063: #ifdef F77_DUMMY_MAIN
                   4064: #  ifdef __cplusplus
                   4065:      extern "C"
                   4066: #  endif
                   4067:    int F77_DUMMY_MAIN() { return 1; }
                   4068: #endif
1.14      noro     4069: int
                   4070: main ()
                   4071: {
                   4072: IceConnectionNumber ();
                   4073:   ;
                   4074:   return 0;
                   4075: }
                   4076: _ACEOF
                   4077: rm -f conftest.$ac_objext conftest$ac_exeext
                   4078: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4079:   (eval $ac_link) 2>&5
                   4080:   ac_status=$?
                   4081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4082:   (exit $ac_status); } &&
                   4083:          { ac_try='test -s conftest$ac_exeext'
                   4084:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4085:   (eval $ac_try) 2>&5
                   4086:   ac_status=$?
                   4087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4088:   (exit $ac_status); }; }; then
                   4089:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   4090: else
                   4091:   echo "$as_me: failed program was:" >&5
1.17      ohara    4092: cat conftest.$ac_ext >&5
1.14      noro     4093: ac_cv_lib_ICE_IceConnectionNumber=no
                   4094: fi
                   4095: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4096: LIBS=$ac_check_lib_save_LIBS
                   4097: fi
                   4098: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   4099: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
                   4100: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
                   4101:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   4102: fi
                   4103:
                   4104:   LDFLAGS=$ac_save_LDFLAGS
                   4105:
                   4106: fi
                   4107:
                   4108:
                   4109: cat >>confdefs.h <<\_ACEOF
                   4110: #define HMEXT 1
                   4111: _ACEOF
                   4112:
                   4113:
                   4114: # Check whether --enable-shared or --disable-shared was given.
                   4115: if test "${enable_shared+set}" = set; then
                   4116:   enableval="$enable_shared"
                   4117:   enable_shared=yes
                   4118: else
                   4119:   enable_shared=no
                   4120: fi;
                   4121:
                   4122: if test "${enable_shared:=no}" != no ; then
                   4123:    true
                   4124: fi
                   4125:
1.17      ohara    4126: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   4127:     if test "${ac_cv_prog_cc_g}" = yes; then
                   4128:         CFLAGS="-g -O"
                   4129:     else
                   4130:         CFLAGS="-O"
                   4131:     fi
                   4132: fi
1.15      noro     4133:
1.23      ohara    4134: # Check whether --enable-gc-zeropage or --disable-gc-zeropage was given.
                   4135: if test "${enable_gc_zeropage+set}" = set; then
                   4136:   enableval="$enable_gc_zeropage"
                   4137:   enable_gc_zeropage=yes
                   4138: else
                   4139:   enable_gc_zeropage=no
                   4140: fi;
                   4141:
                   4142: if test "${enable_gc_zeropage:=no}" != no ; then
                   4143:     USE_GC_ZEROPAGE="yes"
                   4144: fi
                   4145:
                   4146:
1.14      noro     4147: libasir_postfix=""
                   4148:
                   4149: # Check whether --with-pari or --without-pari was given.
                   4150: if test "${with_pari+set}" = set; then
                   4151:   withval="$with_pari"
                   4152:   with_pari=${withval}
                   4153: else
                   4154:   with_pari=no
                   4155: fi;
                   4156:
                   4157: if test ${with_pari:=no} != no ; then
                   4158:     libasir_postfix=${libasir_postfix}_pari
1.16      noro     4159:     if test ${with_pari} = new ; then
                   4160:         libpari=pari-2.2
                   4161:     else
1.14      noro     4162:         libpari=pari
                   4163:     fi
                   4164:     PARIINC='-I${prefix}/include/pari'
                   4165:     if test "${enable_shared}" != yes ; then
                   4166:         PARILIB='${prefix}'"/lib/lib${libpari}.a"
                   4167:     else
                   4168:         PARILIB='-L${prefix}/lib'" -l${libpari}"
                   4169:     fi
                   4170:     cat >>confdefs.h <<\_ACEOF
                   4171: #define PARI 1
                   4172: _ACEOF
                   4173:
1.16      noro     4174: fi
                   4175:
                   4176:
                   4177:
1.14      noro     4178: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4179: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4180: if test "${ac_cv_header_stdc+set}" = set; then
                   4181:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4182: else
                   4183:   cat >conftest.$ac_ext <<_ACEOF
                   4184: #line $LINENO "configure"
1.17      ohara    4185: #include "confdefs.h"
1.14      noro     4186: #include <stdlib.h>
                   4187: #include <stdarg.h>
                   4188: #include <string.h>
                   4189: #include <float.h>
                   4190:
                   4191: _ACEOF
1.17      ohara    4192: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4193:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.14      noro     4194:   ac_status=$?
1.17      ohara    4195:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4196:   rm -f conftest.er1
                   4197:   cat conftest.err >&5
1.14      noro     4198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17      ohara    4199:   (exit $ac_status); } >/dev/null; then
                   4200:   if test -s conftest.err; then
                   4201:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4202:   else
                   4203:     ac_cpp_err=
                   4204:   fi
                   4205: else
                   4206:   ac_cpp_err=yes
                   4207: fi
                   4208: if test -z "$ac_cpp_err"; then
1.14      noro     4209:   ac_cv_header_stdc=yes
                   4210: else
                   4211:   echo "$as_me: failed program was:" >&5
1.17      ohara    4212:   cat conftest.$ac_ext >&5
                   4213:   ac_cv_header_stdc=no
1.14      noro     4214: fi
1.17      ohara    4215: rm -f conftest.err conftest.$ac_ext
1.14      noro     4216:
                   4217: if test $ac_cv_header_stdc = yes; then
                   4218:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4219:   cat >conftest.$ac_ext <<_ACEOF
                   4220: #line $LINENO "configure"
1.17      ohara    4221: #include "confdefs.h"
1.14      noro     4222: #include <string.h>
                   4223:
                   4224: _ACEOF
                   4225: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.17      ohara    4226:   egrep "memchr" >/dev/null 2>&1; then
1.14      noro     4227:   :
                   4228: else
                   4229:   ac_cv_header_stdc=no
                   4230: fi
                   4231: rm -f conftest*
                   4232:
                   4233: fi
                   4234:
                   4235: if test $ac_cv_header_stdc = yes; then
                   4236:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4237:   cat >conftest.$ac_ext <<_ACEOF
                   4238: #line $LINENO "configure"
1.17      ohara    4239: #include "confdefs.h"
1.14      noro     4240: #include <stdlib.h>
                   4241:
                   4242: _ACEOF
                   4243: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.17      ohara    4244:   egrep "free" >/dev/null 2>&1; then
1.14      noro     4245:   :
                   4246: else
                   4247:   ac_cv_header_stdc=no
                   4248: fi
                   4249: rm -f conftest*
                   4250:
                   4251: fi
                   4252:
                   4253: if test $ac_cv_header_stdc = yes; then
                   4254:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4255:   if test "$cross_compiling" = yes; then
                   4256:   :
                   4257: else
                   4258:   cat >conftest.$ac_ext <<_ACEOF
                   4259: #line $LINENO "configure"
1.17      ohara    4260: #include "confdefs.h"
1.14      noro     4261: #include <ctype.h>
                   4262: #if ((' ' & 0x0FF) == 0x020)
                   4263: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4264: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4265: #else
1.17      ohara    4266: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
1.14      noro     4267:                      || ('j' <= (c) && (c) <= 'r') \
                   4268:                      || ('s' <= (c) && (c) <= 'z'))
                   4269: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4270: #endif
                   4271:
                   4272: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4273: int
                   4274: main ()
                   4275: {
                   4276:   int i;
                   4277:   for (i = 0; i < 256; i++)
                   4278:     if (XOR (islower (i), ISLOWER (i))
                   4279:         || toupper (i) != TOUPPER (i))
                   4280:       exit(2);
                   4281:   exit (0);
                   4282: }
                   4283: _ACEOF
                   4284: rm -f conftest$ac_exeext
                   4285: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4286:   (eval $ac_link) 2>&5
                   4287:   ac_status=$?
                   4288:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4289:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4290:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4291:   (eval $ac_try) 2>&5
                   4292:   ac_status=$?
                   4293:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4294:   (exit $ac_status); }; }; then
                   4295:   :
                   4296: else
                   4297:   echo "$as_me: program exited with status $ac_status" >&5
                   4298: echo "$as_me: failed program was:" >&5
1.17      ohara    4299: cat conftest.$ac_ext >&5
1.14      noro     4300: ( exit $ac_status )
                   4301: ac_cv_header_stdc=no
                   4302: fi
1.17      ohara    4303: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     4304: fi
                   4305: fi
                   4306: fi
                   4307: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4308: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4309: if test $ac_cv_header_stdc = yes; then
                   4310:
                   4311: cat >>confdefs.h <<\_ACEOF
                   4312: #define STDC_HEADERS 1
                   4313: _ACEOF
                   4314:
                   4315: fi
                   4316:
                   4317: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4318:
1.2       noro     4319:
1.3       noro     4320:
1.14      noro     4321:
                   4322:
                   4323:
                   4324:
                   4325:
                   4326:
                   4327: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4328:                   inttypes.h stdint.h unistd.h
                   4329: do
                   4330: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4331: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4332: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4333: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4334:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4335: else
                   4336:   cat >conftest.$ac_ext <<_ACEOF
                   4337: #line $LINENO "configure"
1.17      ohara    4338: #include "confdefs.h"
1.14      noro     4339: $ac_includes_default
                   4340:
                   4341: #include <$ac_header>
                   4342: _ACEOF
                   4343: rm -f conftest.$ac_objext
                   4344: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4345:   (eval $ac_compile) 2>&5
                   4346:   ac_status=$?
                   4347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4348:   (exit $ac_status); } &&
                   4349:          { ac_try='test -s conftest.$ac_objext'
                   4350:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4351:   (eval $ac_try) 2>&5
                   4352:   ac_status=$?
                   4353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4354:   (exit $ac_status); }; }; then
                   4355:   eval "$as_ac_Header=yes"
                   4356: else
                   4357:   echo "$as_me: failed program was:" >&5
1.17      ohara    4358: cat conftest.$ac_ext >&5
1.14      noro     4359: eval "$as_ac_Header=no"
                   4360: fi
                   4361: rm -f conftest.$ac_objext conftest.$ac_ext
                   4362: fi
                   4363: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4364: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4365: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4366:   cat >>confdefs.h <<_ACEOF
                   4367: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4368: _ACEOF
                   4369:
                   4370: fi
                   4371:
                   4372: done
                   4373:
                   4374:
1.18      ohara    4375: echo "$as_me:$LINENO: checking for unsigned long long" >&5
                   4376: echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
                   4377: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
                   4378:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4379: else
                   4380:   cat >conftest.$ac_ext <<_ACEOF
                   4381: #line $LINENO "configure"
                   4382: #include "confdefs.h"
                   4383: $ac_includes_default
                   4384: #ifdef F77_DUMMY_MAIN
                   4385: #  ifdef __cplusplus
                   4386:      extern "C"
                   4387: #  endif
                   4388:    int F77_DUMMY_MAIN() { return 1; }
                   4389: #endif
                   4390: int
                   4391: main ()
                   4392: {
                   4393: if ((unsigned long long *) 0)
                   4394:   return 0;
                   4395: if (sizeof (unsigned long long))
                   4396:   return 0;
                   4397:   ;
                   4398:   return 0;
                   4399: }
                   4400: _ACEOF
                   4401: rm -f conftest.$ac_objext
                   4402: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4403:   (eval $ac_compile) 2>&5
                   4404:   ac_status=$?
                   4405:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4406:   (exit $ac_status); } &&
                   4407:          { ac_try='test -s conftest.$ac_objext'
                   4408:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4409:   (eval $ac_try) 2>&5
                   4410:   ac_status=$?
                   4411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4412:   (exit $ac_status); }; }; then
                   4413:   ac_cv_type_unsigned_long_long=yes
                   4414: else
                   4415:   echo "$as_me: failed program was:" >&5
                   4416: cat conftest.$ac_ext >&5
                   4417: ac_cv_type_unsigned_long_long=no
                   4418: fi
                   4419: rm -f conftest.$ac_objext conftest.$ac_ext
                   4420: fi
                   4421: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
                   4422: echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
                   4423: if test $ac_cv_type_unsigned_long_long = yes; then
                   4424:
                   4425: cat >>confdefs.h <<_ACEOF
                   4426: #define HAVE_UNSIGNED_LONG_LONG 1
                   4427: _ACEOF
                   4428:
                   4429:
                   4430: fi
                   4431:
1.14      noro     4432: echo "$as_me:$LINENO: checking for long" >&5
                   4433: echo $ECHO_N "checking for long... $ECHO_C" >&6
                   4434: if test "${ac_cv_type_long+set}" = set; then
                   4435:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4436: else
                   4437:   cat >conftest.$ac_ext <<_ACEOF
                   4438: #line $LINENO "configure"
1.17      ohara    4439: #include "confdefs.h"
1.14      noro     4440: $ac_includes_default
1.17      ohara    4441: #ifdef F77_DUMMY_MAIN
                   4442: #  ifdef __cplusplus
                   4443:      extern "C"
                   4444: #  endif
                   4445:    int F77_DUMMY_MAIN() { return 1; }
                   4446: #endif
1.14      noro     4447: int
                   4448: main ()
                   4449: {
                   4450: if ((long *) 0)
                   4451:   return 0;
                   4452: if (sizeof (long))
                   4453:   return 0;
                   4454:   ;
                   4455:   return 0;
                   4456: }
                   4457: _ACEOF
                   4458: rm -f conftest.$ac_objext
                   4459: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4460:   (eval $ac_compile) 2>&5
                   4461:   ac_status=$?
                   4462:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4463:   (exit $ac_status); } &&
                   4464:          { ac_try='test -s conftest.$ac_objext'
                   4465:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4466:   (eval $ac_try) 2>&5
                   4467:   ac_status=$?
                   4468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4469:   (exit $ac_status); }; }; then
                   4470:   ac_cv_type_long=yes
                   4471: else
                   4472:   echo "$as_me: failed program was:" >&5
1.17      ohara    4473: cat conftest.$ac_ext >&5
1.14      noro     4474: ac_cv_type_long=no
                   4475: fi
                   4476: rm -f conftest.$ac_objext conftest.$ac_ext
                   4477: fi
                   4478: echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
                   4479: echo "${ECHO_T}$ac_cv_type_long" >&6
                   4480:
                   4481: echo "$as_me:$LINENO: checking size of long" >&5
                   4482: echo $ECHO_N "checking size of long... $ECHO_C" >&6
                   4483: if test "${ac_cv_sizeof_long+set}" = set; then
                   4484:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4485: else
                   4486:   if test "$ac_cv_type_long" = yes; then
                   4487:   # The cast to unsigned long works around a bug in the HP C Compiler
                   4488:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   4489:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   4490:   # This bug is HP SR number 8606223364.
                   4491:   if test "$cross_compiling" = yes; then
                   4492:   # Depending upon the size, compute the lo and hi bounds.
                   4493: cat >conftest.$ac_ext <<_ACEOF
                   4494: #line $LINENO "configure"
1.17      ohara    4495: #include "confdefs.h"
1.14      noro     4496: $ac_includes_default
1.17      ohara    4497: #ifdef F77_DUMMY_MAIN
                   4498: #  ifdef __cplusplus
                   4499:      extern "C"
                   4500: #  endif
                   4501:    int F77_DUMMY_MAIN() { return 1; }
                   4502: #endif
1.14      noro     4503: int
                   4504: main ()
                   4505: {
                   4506: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
                   4507: test_array [0] = 0
                   4508:
                   4509:   ;
                   4510:   return 0;
                   4511: }
                   4512: _ACEOF
                   4513: rm -f conftest.$ac_objext
                   4514: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4515:   (eval $ac_compile) 2>&5
                   4516:   ac_status=$?
                   4517:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4518:   (exit $ac_status); } &&
                   4519:          { ac_try='test -s conftest.$ac_objext'
                   4520:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4521:   (eval $ac_try) 2>&5
                   4522:   ac_status=$?
                   4523:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4524:   (exit $ac_status); }; }; then
                   4525:   ac_lo=0 ac_mid=0
                   4526:   while :; do
                   4527:     cat >conftest.$ac_ext <<_ACEOF
                   4528: #line $LINENO "configure"
1.17      ohara    4529: #include "confdefs.h"
1.14      noro     4530: $ac_includes_default
1.17      ohara    4531: #ifdef F77_DUMMY_MAIN
                   4532: #  ifdef __cplusplus
                   4533:      extern "C"
                   4534: #  endif
                   4535:    int F77_DUMMY_MAIN() { return 1; }
                   4536: #endif
1.14      noro     4537: int
                   4538: main ()
                   4539: {
                   4540: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   4541: test_array [0] = 0
                   4542:
                   4543:   ;
                   4544:   return 0;
                   4545: }
                   4546: _ACEOF
                   4547: rm -f conftest.$ac_objext
                   4548: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4549:   (eval $ac_compile) 2>&5
                   4550:   ac_status=$?
                   4551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4552:   (exit $ac_status); } &&
                   4553:          { ac_try='test -s conftest.$ac_objext'
                   4554:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4555:   (eval $ac_try) 2>&5
                   4556:   ac_status=$?
                   4557:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4558:   (exit $ac_status); }; }; then
                   4559:   ac_hi=$ac_mid; break
                   4560: else
                   4561:   echo "$as_me: failed program was:" >&5
1.17      ohara    4562: cat conftest.$ac_ext >&5
1.14      noro     4563: ac_lo=`expr $ac_mid + 1`
                   4564:                     if test $ac_lo -le $ac_mid; then
                   4565:                       ac_lo= ac_hi=
                   4566:                       break
                   4567:                     fi
                   4568:                     ac_mid=`expr 2 '*' $ac_mid + 1`
                   4569: fi
                   4570: rm -f conftest.$ac_objext conftest.$ac_ext
                   4571:   done
                   4572: else
                   4573:   echo "$as_me: failed program was:" >&5
1.17      ohara    4574: cat conftest.$ac_ext >&5
1.14      noro     4575: cat >conftest.$ac_ext <<_ACEOF
                   4576: #line $LINENO "configure"
1.17      ohara    4577: #include "confdefs.h"
1.14      noro     4578: $ac_includes_default
1.17      ohara    4579: #ifdef F77_DUMMY_MAIN
                   4580: #  ifdef __cplusplus
                   4581:      extern "C"
                   4582: #  endif
                   4583:    int F77_DUMMY_MAIN() { return 1; }
                   4584: #endif
1.14      noro     4585: int
                   4586: main ()
                   4587: {
                   4588: static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
                   4589: test_array [0] = 0
                   4590:
                   4591:   ;
                   4592:   return 0;
                   4593: }
                   4594: _ACEOF
                   4595: rm -f conftest.$ac_objext
                   4596: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4597:   (eval $ac_compile) 2>&5
                   4598:   ac_status=$?
                   4599:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4600:   (exit $ac_status); } &&
                   4601:          { ac_try='test -s conftest.$ac_objext'
                   4602:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4603:   (eval $ac_try) 2>&5
                   4604:   ac_status=$?
                   4605:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4606:   (exit $ac_status); }; }; then
                   4607:   ac_hi=-1 ac_mid=-1
                   4608:   while :; do
                   4609:     cat >conftest.$ac_ext <<_ACEOF
                   4610: #line $LINENO "configure"
1.17      ohara    4611: #include "confdefs.h"
1.14      noro     4612: $ac_includes_default
1.17      ohara    4613: #ifdef F77_DUMMY_MAIN
                   4614: #  ifdef __cplusplus
                   4615:      extern "C"
                   4616: #  endif
                   4617:    int F77_DUMMY_MAIN() { return 1; }
                   4618: #endif
1.14      noro     4619: int
                   4620: main ()
                   4621: {
                   4622: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
                   4623: test_array [0] = 0
                   4624:
                   4625:   ;
                   4626:   return 0;
                   4627: }
                   4628: _ACEOF
                   4629: rm -f conftest.$ac_objext
                   4630: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4631:   (eval $ac_compile) 2>&5
                   4632:   ac_status=$?
                   4633:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4634:   (exit $ac_status); } &&
                   4635:          { ac_try='test -s conftest.$ac_objext'
                   4636:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4637:   (eval $ac_try) 2>&5
                   4638:   ac_status=$?
                   4639:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4640:   (exit $ac_status); }; }; then
                   4641:   ac_lo=$ac_mid; break
                   4642: else
                   4643:   echo "$as_me: failed program was:" >&5
1.17      ohara    4644: cat conftest.$ac_ext >&5
1.14      noro     4645: ac_hi=`expr '(' $ac_mid ')' - 1`
                   4646:                        if test $ac_mid -le $ac_hi; then
                   4647:                          ac_lo= ac_hi=
                   4648:                          break
                   4649:                        fi
                   4650:                        ac_mid=`expr 2 '*' $ac_mid`
                   4651: fi
                   4652: rm -f conftest.$ac_objext conftest.$ac_ext
                   4653:   done
                   4654: else
                   4655:   echo "$as_me: failed program was:" >&5
1.17      ohara    4656: cat conftest.$ac_ext >&5
1.14      noro     4657: ac_lo= ac_hi=
                   4658: fi
                   4659: rm -f conftest.$ac_objext conftest.$ac_ext
                   4660: fi
                   4661: rm -f conftest.$ac_objext conftest.$ac_ext
                   4662: # Binary search between lo and hi bounds.
                   4663: while test "x$ac_lo" != "x$ac_hi"; do
                   4664:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   4665:   cat >conftest.$ac_ext <<_ACEOF
                   4666: #line $LINENO "configure"
1.17      ohara    4667: #include "confdefs.h"
1.14      noro     4668: $ac_includes_default
1.17      ohara    4669: #ifdef F77_DUMMY_MAIN
                   4670: #  ifdef __cplusplus
                   4671:      extern "C"
                   4672: #  endif
                   4673:    int F77_DUMMY_MAIN() { return 1; }
                   4674: #endif
1.14      noro     4675: int
                   4676: main ()
                   4677: {
                   4678: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   4679: test_array [0] = 0
                   4680:
                   4681:   ;
                   4682:   return 0;
                   4683: }
                   4684: _ACEOF
                   4685: rm -f conftest.$ac_objext
                   4686: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4687:   (eval $ac_compile) 2>&5
                   4688:   ac_status=$?
                   4689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4690:   (exit $ac_status); } &&
                   4691:          { ac_try='test -s conftest.$ac_objext'
                   4692:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4693:   (eval $ac_try) 2>&5
                   4694:   ac_status=$?
                   4695:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4696:   (exit $ac_status); }; }; then
                   4697:   ac_hi=$ac_mid
                   4698: else
                   4699:   echo "$as_me: failed program was:" >&5
1.17      ohara    4700: cat conftest.$ac_ext >&5
1.14      noro     4701: ac_lo=`expr '(' $ac_mid ')' + 1`
                   4702: fi
                   4703: rm -f conftest.$ac_objext conftest.$ac_ext
                   4704: done
                   4705: case $ac_lo in
                   4706: ?*) ac_cv_sizeof_long=$ac_lo;;
1.17      ohara    4707: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
                   4708: echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
1.14      noro     4709:    { (exit 1); exit 1; }; } ;;
                   4710: esac
                   4711: else
                   4712:   if test "$cross_compiling" = yes; then
1.17      ohara    4713:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
                   4714: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
1.14      noro     4715:    { (exit 1); exit 1; }; }
                   4716: else
                   4717:   cat >conftest.$ac_ext <<_ACEOF
                   4718: #line $LINENO "configure"
1.17      ohara    4719: #include "confdefs.h"
1.14      noro     4720: $ac_includes_default
                   4721: long longval () { return (long) (sizeof (long)); }
                   4722: unsigned long ulongval () { return (long) (sizeof (long)); }
                   4723: #include <stdio.h>
                   4724: #include <stdlib.h>
1.17      ohara    4725: #ifdef F77_DUMMY_MAIN
                   4726: #  ifdef __cplusplus
                   4727:      extern "C"
                   4728: #  endif
                   4729:    int F77_DUMMY_MAIN() { return 1; }
                   4730: #endif
1.14      noro     4731: int
                   4732: main ()
                   4733: {
                   4734:
                   4735:   FILE *f = fopen ("conftest.val", "w");
                   4736:   if (! f)
                   4737:     exit (1);
                   4738:   if (((long) (sizeof (long))) < 0)
                   4739:     {
                   4740:       long i = longval ();
                   4741:       if (i != ((long) (sizeof (long))))
                   4742:        exit (1);
                   4743:       fprintf (f, "%ld\n", i);
                   4744:     }
                   4745:   else
                   4746:     {
                   4747:       unsigned long i = ulongval ();
                   4748:       if (i != ((long) (sizeof (long))))
                   4749:        exit (1);
                   4750:       fprintf (f, "%lu\n", i);
                   4751:     }
                   4752:   exit (ferror (f) || fclose (f) != 0);
                   4753:
                   4754:   ;
                   4755:   return 0;
                   4756: }
                   4757: _ACEOF
                   4758: rm -f conftest$ac_exeext
                   4759: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4760:   (eval $ac_link) 2>&5
                   4761:   ac_status=$?
                   4762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4763:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4764:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4765:   (eval $ac_try) 2>&5
                   4766:   ac_status=$?
                   4767:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4768:   (exit $ac_status); }; }; then
                   4769:   ac_cv_sizeof_long=`cat conftest.val`
                   4770: else
                   4771:   echo "$as_me: program exited with status $ac_status" >&5
                   4772: echo "$as_me: failed program was:" >&5
1.17      ohara    4773: cat conftest.$ac_ext >&5
1.14      noro     4774: ( exit $ac_status )
1.17      ohara    4775: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
                   4776: echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
1.14      noro     4777:    { (exit 1); exit 1; }; }
                   4778: fi
1.17      ohara    4779: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     4780: fi
                   4781: fi
                   4782: rm -f conftest.val
                   4783: else
                   4784:   ac_cv_sizeof_long=0
                   4785: fi
                   4786: fi
                   4787: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
                   4788: echo "${ECHO_T}$ac_cv_sizeof_long" >&6
                   4789: cat >>confdefs.h <<_ACEOF
                   4790: #define SIZEOF_LONG $ac_cv_sizeof_long
                   4791: _ACEOF
                   4792:
                   4793:
1.26      noro     4794: if test "${ac_cv_sizeof_long}" = 8; then
1.16      noro     4795:     cat >>confdefs.h <<\_ACEOF
1.14      noro     4796: #define LONG_IS_64BIT 1
                   4797: _ACEOF
                   4798:
1.16      noro     4799: else
                   4800:     cat >>confdefs.h <<\_ACEOF
1.14      noro     4801: #define LONG_IS_32BIT 1
                   4802: _ACEOF
                   4803:
                   4804: fi
                   4805: if test "${no_x}" != yes ; then
1.25      ohara    4806:     if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then
1.21      ohara    4807:            XPMLIB="-lXpm"
                   4808:     fi
1.14      noro     4809:     # Check whether --enable-plot or --disable-plot was given.
                   4810: if test "${enable_plot+set}" = set; then
                   4811:   enableval="$enable_plot"
                   4812:   enable_plot=yes
                   4813: else
                   4814:   enable_plot=no
                   4815: fi;
                   4816: fi
                   4817:
1.21      ohara    4818:
1.14      noro     4819: if test ${enable_plot:=no} != no ; then
                   4820:     libasir_postfix=${libasir_postfix}_X
                   4821:     cat >>confdefs.h <<\_ACEOF
                   4822: #define DO_PLOT 1
                   4823: _ACEOF
                   4824:
                   4825: fi
                   4826:
                   4827:
                   4828: if test "$enable_plot" = yes; then
                   4829:   USE_PLOT_TRUE=
                   4830:   USE_PLOT_FALSE='#'
                   4831: else
                   4832:   USE_PLOT_TRUE='#'
                   4833:   USE_PLOT_FALSE=
                   4834: fi
                   4835:
                   4836: # Check whether --enable-interval or --disable-interval was given.
                   4837: if test "${enable_interval+set}" = set; then
                   4838:   enableval="$enable_interval"
                   4839:   enable_interval=${enableval}
                   4840: else
                   4841:   enable_interval=no
                   4842: fi;
                   4843:
                   4844: if test ${enable_interval:=no} != no ; then
                   4845:     libasir_postfix=${libasir_postfix}_itv
                   4846:     cat >>confdefs.h <<\_ACEOF
                   4847: #define INTERVAL 1
                   4848: _ACEOF
                   4849:
                   4850:     if test "${enable_interval}" = debug ; then
                   4851:        cat >>confdefs.h <<\_ACEOF
                   4852: #define ITVDEBUG 1
                   4853: _ACEOF
                   4854:
                   4855:     fi
                   4856: fi
                   4857:
                   4858:
                   4859: if test "${enable_fep:=no}" != no ; then
                   4860:     cat >>confdefs.h <<\_ACEOF
                   4861: #define FEP 1
                   4862: _ACEOF
                   4863:
                   4864:     FEPLIB="-lreadline -ltermcap"
                   4865: fi
                   4866:
                   4867:
                   4868: # Check whether --enable-fft-float or --disable-fft-float was given.
                   4869: if test "${enable_fft_float+set}" = set; then
                   4870:   enableval="$enable_fft_float"
                   4871:   enable_fft_float=yes
                   4872: else
                   4873:   enable_fft_float=no
                   4874: fi;
                   4875:
                   4876: if test "${enable_fft_float:=no}" != no ; then
                   4877:     cat >>confdefs.h <<\_ACEOF
                   4878: #define USE_FLOAT 1
                   4879: _ACEOF
                   4880:
                   4881: fi
                   4882:
                   4883:
                   4884: if test "${with_mpi:=no}" != no ; then
                   4885:     MPIINC="-I/opt/FJSVmpi2/include"
                   4886:     MPILIB="-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread"
                   4887:     cat >>confdefs.h <<\_ACEOF
                   4888: #define MPI 1
                   4889: _ACEOF
                   4890:
                   4891: fi
                   4892:
                   4893:
                   4894:
                   4895:
                   4896: if test "${with_lapack:=no}" != no ; then
                   4897:     LAPACKLIB="-llapack -lblas -lI77 -lF77"
                   4898:     cat >>confdefs.h <<\_ACEOF
                   4899: #define LAPACK 1
                   4900: _ACEOF
                   4901:
                   4902: fi
                   4903:
                   4904:
                   4905:
                   4906:
                   4907:
                   4908: i386_elf_obj=asmi_l.o
                   4909: i386_aout_obj=asmi.o
                   4910: sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o"
                   4911: sparc_v9_obj="sparc-2.o asm5-2.o edr-2.o"
                   4912: generic_obj=asmalpha.o
                   4913:
                   4914: case "${host}" in
1.20      ohara    4915: i[3-6]86-*-freebsd[3-9].*)
1.14      noro     4916:     asm_obj="${i386_elf_obj}"
1.20      ohara    4917:     ;;
                   4918: i[3-6]86-*-linux*|x86-*-linux*)
                   4919:     asm_obj="${i386_elf_obj}"
                   4920:     cat >>confdefs.h <<\_ACEOF
1.24      ohara    4921: #define _BSD_SOURCE 1
1.20      ohara    4922: _ACEOF
                   4923:
1.14      noro     4924:     ;;
                   4925: *-*-cygwin*)
                   4926:     asm_obj="${i386_aout_obj}"
                   4927:     ;;
1.27      ohara    4928: i[3-6]86-*-interix*)
1.28    ! ohara    4929:     asm_obj="${i386_aout_obj}"
        !          4930:     USE_GC_INTERIX="yes"
        !          4931:
1.27      ohara    4932:     cat >>confdefs.h <<\_ACEOF
                   4933: #define _ALL_SOURCE 1
                   4934: _ACEOF
                   4935:
                   4936:     ;;
1.14      noro     4937: sparc-sun-solaris2.*)
                   4938:     case "`uname -m`" in
                   4939:     sun4[dm]) asm_obj="${sparc_v8_obj}" ;;
                   4940:     sun4u*)     asm_obj="${sparc_v9_obj}" ;;
                   4941:     *)          asm_obj="${generic_obj}"  ;;
                   4942:     esac
                   4943:     cat >>confdefs.h <<\_ACEOF
                   4944: #define SYSV 1
                   4945: _ACEOF
                   4946:
                   4947:     ;;
                   4948: powerpc-apple-darwin*)
                   4949:     asm_obj="${generic_obj}"
                   4950:     cat >>confdefs.h <<\_ACEOF
                   4951: #define __DARWIN__ 1
                   4952: _ACEOF
                   4953:
1.19      ohara    4954:     ;;
                   4955: arm*-*-linux*)
                   4956:     asm_obj="${generic_obj}"
                   4957:     if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   4958:         CFLAGS="${CFLAGS} -fsigned-char"
                   4959:     fi
1.14      noro     4960:     ;;
                   4961: *)
                   4962:     asm_obj="${generic_obj}"
                   4963:     ;;
                   4964: esac
                   4965:
                   4966:
                   4967:
                   4968: echo "$as_me:$LINENO: checking for socket" >&5
                   4969: echo $ECHO_N "checking for socket... $ECHO_C" >&6
                   4970: if test "${ac_cv_func_socket+set}" = set; then
                   4971:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4972: else
                   4973:   cat >conftest.$ac_ext <<_ACEOF
                   4974: #line $LINENO "configure"
1.17      ohara    4975: #include "confdefs.h"
1.14      noro     4976: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    4977:     which can conflict with char socket (); below.  */
                   4978: #include <assert.h>
1.14      noro     4979: /* Override any gcc2 internal prototype to avoid an error.  */
                   4980: #ifdef __cplusplus
                   4981: extern "C"
                   4982: #endif
                   4983: /* We use char because int might match the return type of a gcc2
                   4984:    builtin and then its argument prototype would still apply.  */
                   4985: char socket ();
1.17      ohara    4986: char (*f) ();
                   4987:
                   4988: #ifdef F77_DUMMY_MAIN
                   4989: #  ifdef __cplusplus
                   4990:      extern "C"
                   4991: #  endif
                   4992:    int F77_DUMMY_MAIN() { return 1; }
                   4993: #endif
                   4994: int
                   4995: main ()
                   4996: {
1.14      noro     4997: /* The GNU C library defines this for functions which it implements
                   4998:     to always fail with ENOSYS.  Some functions are actually named
                   4999:     something starting with __ and the normal name is an alias.  */
                   5000: #if defined (__stub_socket) || defined (__stub___socket)
                   5001: choke me
                   5002: #else
1.17      ohara    5003: f = socket;
1.14      noro     5004: #endif
                   5005:
                   5006:   ;
                   5007:   return 0;
                   5008: }
                   5009: _ACEOF
                   5010: rm -f conftest.$ac_objext conftest$ac_exeext
                   5011: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5012:   (eval $ac_link) 2>&5
                   5013:   ac_status=$?
                   5014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5015:   (exit $ac_status); } &&
                   5016:          { ac_try='test -s conftest$ac_exeext'
                   5017:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5018:   (eval $ac_try) 2>&5
                   5019:   ac_status=$?
                   5020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5021:   (exit $ac_status); }; }; then
                   5022:   ac_cv_func_socket=yes
                   5023: else
                   5024:   echo "$as_me: failed program was:" >&5
1.17      ohara    5025: cat conftest.$ac_ext >&5
1.14      noro     5026: ac_cv_func_socket=no
                   5027: fi
                   5028: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5029: fi
                   5030: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
                   5031: echo "${ECHO_T}$ac_cv_func_socket" >&6
                   5032: if test $ac_cv_func_socket = yes; then
                   5033:   :
                   5034: else
                   5035:
                   5036: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   5037: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   5038: if test "${ac_cv_lib_socket_socket+set}" = set; then
                   5039:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5040: else
                   5041:   ac_check_lib_save_LIBS=$LIBS
                   5042: LIBS="-lsocket  $LIBS"
                   5043: cat >conftest.$ac_ext <<_ACEOF
                   5044: #line $LINENO "configure"
1.17      ohara    5045: #include "confdefs.h"
1.14      noro     5046:
                   5047: /* Override any gcc2 internal prototype to avoid an error.  */
                   5048: #ifdef __cplusplus
                   5049: extern "C"
                   5050: #endif
                   5051: /* We use char because int might match the return type of a gcc2
                   5052:    builtin and then its argument prototype would still apply.  */
                   5053: char socket ();
1.17      ohara    5054: #ifdef F77_DUMMY_MAIN
                   5055: #  ifdef __cplusplus
                   5056:      extern "C"
                   5057: #  endif
                   5058:    int F77_DUMMY_MAIN() { return 1; }
                   5059: #endif
1.14      noro     5060: int
                   5061: main ()
                   5062: {
                   5063: socket ();
                   5064:   ;
                   5065:   return 0;
                   5066: }
                   5067: _ACEOF
                   5068: rm -f conftest.$ac_objext conftest$ac_exeext
                   5069: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5070:   (eval $ac_link) 2>&5
                   5071:   ac_status=$?
                   5072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5073:   (exit $ac_status); } &&
                   5074:          { ac_try='test -s conftest$ac_exeext'
                   5075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5076:   (eval $ac_try) 2>&5
                   5077:   ac_status=$?
                   5078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5079:   (exit $ac_status); }; }; then
                   5080:   ac_cv_lib_socket_socket=yes
                   5081: else
                   5082:   echo "$as_me: failed program was:" >&5
1.17      ohara    5083: cat conftest.$ac_ext >&5
1.14      noro     5084: ac_cv_lib_socket_socket=no
                   5085: fi
                   5086: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5087: LIBS=$ac_check_lib_save_LIBS
                   5088: fi
                   5089: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   5090: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   5091: if test $ac_cv_lib_socket_socket = yes; then
                   5092:   cat >>confdefs.h <<_ACEOF
                   5093: #define HAVE_LIBSOCKET 1
                   5094: _ACEOF
                   5095:
                   5096:   LIBS="-lsocket $LIBS"
                   5097:
                   5098: fi
                   5099:
                   5100: fi
                   5101:
                   5102: echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   5103: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   5104: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   5105:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5106: else
                   5107:   cat >conftest.$ac_ext <<_ACEOF
                   5108: #line $LINENO "configure"
1.17      ohara    5109: #include "confdefs.h"
1.14      noro     5110: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    5111:     which can conflict with char gethostbyname (); below.  */
                   5112: #include <assert.h>
1.14      noro     5113: /* Override any gcc2 internal prototype to avoid an error.  */
                   5114: #ifdef __cplusplus
                   5115: extern "C"
                   5116: #endif
                   5117: /* We use char because int might match the return type of a gcc2
                   5118:    builtin and then its argument prototype would still apply.  */
                   5119: char gethostbyname ();
1.17      ohara    5120: char (*f) ();
                   5121:
                   5122: #ifdef F77_DUMMY_MAIN
                   5123: #  ifdef __cplusplus
                   5124:      extern "C"
                   5125: #  endif
                   5126:    int F77_DUMMY_MAIN() { return 1; }
                   5127: #endif
                   5128: int
                   5129: main ()
                   5130: {
1.14      noro     5131: /* The GNU C library defines this for functions which it implements
                   5132:     to always fail with ENOSYS.  Some functions are actually named
                   5133:     something starting with __ and the normal name is an alias.  */
                   5134: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   5135: choke me
                   5136: #else
1.17      ohara    5137: f = gethostbyname;
1.14      noro     5138: #endif
                   5139:
                   5140:   ;
                   5141:   return 0;
                   5142: }
                   5143: _ACEOF
                   5144: rm -f conftest.$ac_objext conftest$ac_exeext
                   5145: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5146:   (eval $ac_link) 2>&5
                   5147:   ac_status=$?
                   5148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5149:   (exit $ac_status); } &&
                   5150:          { ac_try='test -s conftest$ac_exeext'
                   5151:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5152:   (eval $ac_try) 2>&5
                   5153:   ac_status=$?
                   5154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5155:   (exit $ac_status); }; }; then
                   5156:   ac_cv_func_gethostbyname=yes
                   5157: else
                   5158:   echo "$as_me: failed program was:" >&5
1.17      ohara    5159: cat conftest.$ac_ext >&5
1.14      noro     5160: ac_cv_func_gethostbyname=no
                   5161: fi
                   5162: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5163: fi
                   5164: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   5165: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
                   5166: if test $ac_cv_func_gethostbyname = yes; then
                   5167:   :
                   5168: else
                   5169:
                   5170: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   5171: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   5172: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   5173:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5174: else
                   5175:   ac_check_lib_save_LIBS=$LIBS
                   5176: LIBS="-lnsl  $LIBS"
                   5177: cat >conftest.$ac_ext <<_ACEOF
                   5178: #line $LINENO "configure"
1.17      ohara    5179: #include "confdefs.h"
1.14      noro     5180:
                   5181: /* Override any gcc2 internal prototype to avoid an error.  */
                   5182: #ifdef __cplusplus
                   5183: extern "C"
                   5184: #endif
                   5185: /* We use char because int might match the return type of a gcc2
                   5186:    builtin and then its argument prototype would still apply.  */
                   5187: char gethostbyname ();
1.17      ohara    5188: #ifdef F77_DUMMY_MAIN
                   5189: #  ifdef __cplusplus
                   5190:      extern "C"
                   5191: #  endif
                   5192:    int F77_DUMMY_MAIN() { return 1; }
                   5193: #endif
1.14      noro     5194: int
                   5195: main ()
                   5196: {
                   5197: gethostbyname ();
                   5198:   ;
                   5199:   return 0;
                   5200: }
                   5201: _ACEOF
                   5202: rm -f conftest.$ac_objext conftest$ac_exeext
                   5203: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5204:   (eval $ac_link) 2>&5
                   5205:   ac_status=$?
                   5206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5207:   (exit $ac_status); } &&
                   5208:          { ac_try='test -s conftest$ac_exeext'
                   5209:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5210:   (eval $ac_try) 2>&5
                   5211:   ac_status=$?
                   5212:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5213:   (exit $ac_status); }; }; then
                   5214:   ac_cv_lib_nsl_gethostbyname=yes
                   5215: else
                   5216:   echo "$as_me: failed program was:" >&5
1.17      ohara    5217: cat conftest.$ac_ext >&5
1.14      noro     5218: ac_cv_lib_nsl_gethostbyname=no
                   5219: fi
                   5220: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5221: LIBS=$ac_check_lib_save_LIBS
                   5222: fi
                   5223: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5224: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   5225: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   5226:   cat >>confdefs.h <<_ACEOF
                   5227: #define HAVE_LIBNSL 1
                   5228: _ACEOF
                   5229:
                   5230:   LIBS="-lnsl $LIBS"
                   5231:
                   5232: fi
                   5233:
                   5234: fi
                   5235:
                   5236:
1.17      ohara    5237: 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"
1.14      noro     5238: cat >confcache <<\_ACEOF
                   5239: # This file is a shell script that caches the results of configure
                   5240: # tests run on this system so they can be shared between configure
                   5241: # scripts and configure runs, see configure's option --config-cache.
                   5242: # It is not useful on other systems.  If it contains results you don't
                   5243: # want to keep, you may remove or edit it.
                   5244: #
                   5245: # config.status only pays attention to the cache file if you give it
                   5246: # the --recheck option to rerun configure.
                   5247: #
1.17      ohara    5248: # `ac_cv_env_foo' variables (set or unset) will be overriden when
1.14      noro     5249: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   5250: # following values.
                   5251:
                   5252: _ACEOF
                   5253:
                   5254: # The following way of writing the cache mishandles newlines in values,
                   5255: # but we know of no workaround that is simple, portable, and efficient.
                   5256: # So, don't put newlines in cache variables' values.
                   5257: # Ultrix sh set writes to stderr and can't be redirected directly,
                   5258: # and sets the high bit in the cache file unless we assign to the vars.
                   5259: {
                   5260:   (set) 2>&1 |
                   5261:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   5262:     *ac_space=\ *)
                   5263:       # `set' does not quote correctly, so add quotes (double-quote
                   5264:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   5265:       sed -n \
                   5266:         "s/'/'\\\\''/g;
                   5267:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   5268:       ;;
                   5269:     *)
                   5270:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   5271:       sed -n \
                   5272:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   5273:       ;;
                   5274:     esac;
                   5275: } |
                   5276:   sed '
                   5277:      t clear
                   5278:      : clear
                   5279:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   5280:      t end
                   5281:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   5282:      : end' >>confcache
1.17      ohara    5283: if cmp -s $cache_file confcache; then :; else
1.14      noro     5284:   if test -w $cache_file; then
                   5285:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   5286:     cat confcache >$cache_file
                   5287:   else
                   5288:     echo "not updating unwritable cache $cache_file"
                   5289:   fi
                   5290: fi
                   5291: rm -f confcache
                   5292:
                   5293: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   5294: # Let make expand exec_prefix.
                   5295: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   5296:
                   5297: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   5298: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   5299: # trailing colons and then remove the whole line if VPATH becomes empty
                   5300: # (actually we leave an empty line to preserve line numbers).
                   5301: if test "x$srcdir" = x.; then
                   5302:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   5303: s/:*\$(srcdir):*/:/;
                   5304: s/:*\${srcdir}:*/:/;
                   5305: s/:*@srcdir@:*/:/;
                   5306: s/^\([^=]*=[   ]*\):*/\1/;
                   5307: s/:*$//;
                   5308: s/^[^=]*=[     ]*$//;
                   5309: }'
                   5310: fi
                   5311:
                   5312: # Transform confdefs.h into DEFS.
                   5313: # Protect against shell expansion while executing Makefile rules.
                   5314: # Protect against Makefile macro expansion.
                   5315: #
                   5316: # If the first sed substitution is executed (which looks for macros that
                   5317: # take arguments), then we branch to the quote section.  Otherwise,
                   5318: # look for a macro that doesn't take arguments.
                   5319: cat >confdef2opt.sed <<\_ACEOF
                   5320: t clear
                   5321: : clear
                   5322: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
                   5323: t quote
                   5324: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
                   5325: t quote
                   5326: d
                   5327: : quote
                   5328: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
                   5329: s,\[,\\&,g
                   5330: s,\],\\&,g
                   5331: s,\$,$$,g
                   5332: p
                   5333: _ACEOF
                   5334: # We use echo to avoid assuming a particular line-breaking character.
                   5335: # The extra dot is to prevent the shell from consuming trailing
                   5336: # line-breaks from the sub-command output.  A line-break within
                   5337: # single-quotes doesn't work because, if this script is created in a
                   5338: # platform that uses two characters for line-breaks (e.g., DOS), tr
                   5339: # would break.
                   5340: ac_LF_and_DOT=`echo; echo .`
                   5341: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
                   5342: rm -f confdef2opt.sed
                   5343:
                   5344:
                   5345:
                   5346: : ${CONFIG_STATUS=./config.status}
                   5347: ac_clean_files_save=$ac_clean_files
                   5348: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   5349: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   5350: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   5351: cat >$CONFIG_STATUS <<_ACEOF
                   5352: #! $SHELL
                   5353: # Generated by $as_me.
                   5354: # Run this file to recreate the current configuration.
                   5355: # Compiler output produced by configure, useful for debugging
                   5356: # configure, is in config.log if it exists.
                   5357:
                   5358: debug=false
                   5359: SHELL=\${CONFIG_SHELL-$SHELL}
                   5360: _ACEOF
                   5361:
                   5362: cat >>$CONFIG_STATUS <<\_ACEOF
1.17      ohara    5363:
1.14      noro     5364: ## --------------------- ##
                   5365: ## M4sh Initialization.  ##
                   5366: ## --------------------- ##
                   5367:
                   5368: # Be Bourne compatible
                   5369: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   5370:   emulate sh
                   5371:   NULLCMD=:
                   5372: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   5373:   set -o posix
                   5374: fi
                   5375:
1.17      ohara    5376: # NLS nuisances.
1.14      noro     5377: # Support unset when possible.
                   5378: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   5379:   as_unset=unset
                   5380: else
                   5381:   as_unset=false
                   5382: fi
                   5383:
1.17      ohara    5384: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                   5385:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                   5386:       { LANG=C; export LANG; }
                   5387: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                   5388:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                   5389:       { LC_ALL=C; export LC_ALL; }
                   5390: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                   5391:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                   5392:       { LC_TIME=C; export LC_TIME; }
                   5393: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                   5394:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                   5395:       { LC_CTYPE=C; export LC_CTYPE; }
                   5396: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                   5397:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                   5398:       { LANGUAGE=C; export LANGUAGE; }
                   5399: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                   5400:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                   5401:       { LC_COLLATE=C; export LC_COLLATE; }
                   5402: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                   5403:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                   5404:       { LC_NUMERIC=C; export LC_NUMERIC; }
                   5405: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                   5406:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                   5407:       { LC_MESSAGES=C; export LC_MESSAGES; }
1.14      noro     5408:
                   5409:
                   5410: # Name of the executable.
1.17      ohara    5411: as_me=`(basename "$0") 2>/dev/null ||
1.14      noro     5412: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   5413:         X"$0" : 'X\(//\)$' \| \
                   5414:         X"$0" : 'X\(/\)$' \| \
                   5415:         .     : '\(.\)' 2>/dev/null ||
                   5416: echo X/"$0" |
                   5417:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   5418:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   5419:          /^X\/\(\/\).*/{ s//\1/; q; }
                   5420:          s/.*/./; q'`
                   5421:
                   5422: # PATH needs CR, and LINENO needs CR and PATH.
                   5423: # Avoid depending upon Character Ranges.
                   5424: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   5425: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   5426: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   5427: as_cr_digits='0123456789'
                   5428: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   5429:
                   5430: # The user is always right.
                   5431: if test "${PATH_SEPARATOR+set}" != set; then
1.17      ohara    5432:   echo "#! /bin/sh" >conftest.sh
                   5433:   echo  "exit 0"   >>conftest.sh
                   5434:   chmod +x conftest.sh
                   5435:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1.14      noro     5436:     PATH_SEPARATOR=';'
                   5437:   else
                   5438:     PATH_SEPARATOR=:
                   5439:   fi
1.17      ohara    5440:   rm -f conftest.sh
1.14      noro     5441: fi
                   5442:
                   5443:
                   5444:   as_lineno_1=$LINENO
                   5445:   as_lineno_2=$LINENO
                   5446:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   5447:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   5448:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   5449:   # Find who we are.  Look in the path if we contain no path at all
                   5450:   # relative or not.
                   5451:   case $0 in
                   5452:     *[\\/]* ) as_myself=$0 ;;
                   5453:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5454: for as_dir in $PATH
                   5455: do
                   5456:   IFS=$as_save_IFS
                   5457:   test -z "$as_dir" && as_dir=.
                   5458:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   5459: done
                   5460:
                   5461:        ;;
                   5462:   esac
                   5463:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   5464:   # in which case we are not to be found in the path.
                   5465:   if test "x$as_myself" = x; then
                   5466:     as_myself=$0
                   5467:   fi
                   5468:   if test ! -f "$as_myself"; then
                   5469:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   5470: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   5471:    { (exit 1); exit 1; }; }
                   5472:   fi
                   5473:   case $CONFIG_SHELL in
                   5474:   '')
                   5475:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5476: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.2       noro     5477: do
1.14      noro     5478:   IFS=$as_save_IFS
                   5479:   test -z "$as_dir" && as_dir=.
                   5480:   for as_base in sh bash ksh sh5; do
                   5481:         case $as_dir in
                   5482:         /*)
                   5483:           if ("$as_dir/$as_base" -c '
                   5484:   as_lineno_1=$LINENO
                   5485:   as_lineno_2=$LINENO
                   5486:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   5487:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   5488:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   5489:             CONFIG_SHELL=$as_dir/$as_base
                   5490:             export CONFIG_SHELL
                   5491:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   5492:           fi;;
                   5493:         esac
                   5494:        done
1.2       noro     5495: done
1.14      noro     5496: ;;
                   5497:   esac
1.2       noro     5498:
1.14      noro     5499:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   5500:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   5501:   # line-number line before each line; the second 'sed' does the real
                   5502:   # work.  The second script uses 'N' to pair each line-number line
                   5503:   # with the numbered line, and appends trailing '-' during
                   5504:   # substitution so that $LINENO is not a special case at line end.
                   5505:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   5506:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   5507:   sed '=' <$as_myself |
                   5508:     sed '
                   5509:       N
                   5510:       s,$,-,
                   5511:       : loop
                   5512:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   5513:       t loop
                   5514:       s,-$,,
                   5515:       s,^['$as_cr_digits']*\n,,
                   5516:     ' >$as_me.lineno &&
                   5517:   chmod +x $as_me.lineno ||
                   5518:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   5519: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   5520:    { (exit 1); exit 1; }; }
                   5521:
                   5522:   # Don't try to exec as it changes $[0], causing all sort of problems
                   5523:   # (the dirname of $[0] is not the place where we might find the
                   5524:   # original and so on.  Autoconf is especially sensible to this).
                   5525:   . ./$as_me.lineno
                   5526:   # Exit status is that of the last command.
                   5527:   exit
                   5528: }
                   5529:
                   5530:
                   5531: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   5532:   *c*,-n*) ECHO_N= ECHO_C='
                   5533: ' ECHO_T='     ' ;;
                   5534:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   5535:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   5536: esac
1.2       noro     5537:
1.14      noro     5538: if expr a : '\(a\)' >/dev/null 2>&1; then
                   5539:   as_expr=expr
                   5540: else
                   5541:   as_expr=false
                   5542: fi
1.2       noro     5543:
1.14      noro     5544: rm -f conf$$ conf$$.exe conf$$.file
                   5545: echo >conf$$.file
                   5546: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   5547:   # We could just check for DJGPP; but this test a) works b) is more generic
                   5548:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   5549:   if test -f conf$$.exe; then
                   5550:     # Don't use ln at all; we don't have any links
                   5551:     as_ln_s='cp -p'
                   5552:   else
                   5553:     as_ln_s='ln -s'
                   5554:   fi
                   5555: elif ln conf$$.file conf$$ 2>/dev/null; then
                   5556:   as_ln_s=ln
                   5557: else
                   5558:   as_ln_s='cp -p'
                   5559: fi
                   5560: rm -f conf$$ conf$$.exe conf$$.file
1.2       noro     5561:
1.14      noro     5562: as_executable_p="test -f"
                   5563:
                   5564: # Sed expression to map a string onto a valid CPP name.
                   5565: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   5566:
                   5567: # Sed expression to map a string onto a valid variable name.
                   5568: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   5569:
                   5570:
                   5571: # IFS
                   5572: # We need space, tab and new line, in precisely that order.
                   5573: as_nl='
                   5574: '
                   5575: IFS="  $as_nl"
                   5576:
                   5577: # CDPATH.
1.17      ohara    5578: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1.14      noro     5579:
                   5580: exec 6>&1
                   5581:
                   5582: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   5583: # report actual input values of CONFIG_FILES etc. instead of their
                   5584: # values after options handling.  Logging --version etc. is OK.
                   5585: exec 5>>config.log
                   5586: {
                   5587:   echo
                   5588:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   5589: ## Running $as_me. ##
                   5590: _ASBOX
                   5591: } >&5
                   5592: cat >&5 <<_CSEOF
                   5593:
                   5594: This file was extended by $as_me, which was
1.17      ohara    5595: generated by GNU Autoconf 2.53.  Invocation command line was
1.14      noro     5596:
                   5597:   CONFIG_FILES    = $CONFIG_FILES
                   5598:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   5599:   CONFIG_LINKS    = $CONFIG_LINKS
                   5600:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   5601:   $ $0 $@
                   5602:
                   5603: _CSEOF
                   5604: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   5605: echo >&5
                   5606: _ACEOF
                   5607:
                   5608: # Files that config.status was made for.
                   5609: if test -n "$ac_config_files"; then
                   5610:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1.2       noro     5611: fi
                   5612:
1.14      noro     5613: if test -n "$ac_config_headers"; then
                   5614:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1.1       noro     5615: fi
1.2       noro     5616:
1.14      noro     5617: if test -n "$ac_config_links"; then
                   5618:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1.4       saito    5619: fi
                   5620:
1.14      noro     5621: if test -n "$ac_config_commands"; then
                   5622:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.4       saito    5623: fi
                   5624:
1.14      noro     5625: cat >>$CONFIG_STATUS <<\_ACEOF
                   5626:
                   5627: ac_cs_usage="\
                   5628: \`$as_me' instantiates files from templates according to the
                   5629: current configuration.
                   5630:
                   5631: Usage: $0 [OPTIONS] [FILE]...
                   5632:
                   5633:   -h, --help       print this help, then exit
                   5634:   -V, --version    print version number, then exit
                   5635:   -d, --debug      don't remove temporary files
                   5636:       --recheck    update $as_me by reconfiguring in the same conditions
                   5637:   --file=FILE[:TEMPLATE]
                   5638:                    instantiate the configuration file FILE
1.4       saito    5639:
1.14      noro     5640: Configuration files:
                   5641: $config_files
                   5642:
                   5643: Configuration commands:
                   5644: $config_commands
                   5645:
                   5646: Report bugs to <bug-autoconf@gnu.org>."
                   5647: _ACEOF
                   5648:
                   5649: cat >>$CONFIG_STATUS <<_ACEOF
                   5650: ac_cs_version="\\
                   5651: config.status
1.17      ohara    5652: configured by $0, generated by GNU Autoconf 2.53,
1.14      noro     5653:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   5654:
                   5655: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   5656: Free Software Foundation, Inc.
                   5657: This config.status script is free software; the Free Software Foundation
                   5658: gives unlimited permission to copy, distribute and modify it."
                   5659: srcdir=$srcdir
                   5660: INSTALL="$INSTALL"
                   5661: _ACEOF
                   5662:
                   5663: cat >>$CONFIG_STATUS <<\_ACEOF
                   5664: # If no file are specified by the user, then we need to provide default
                   5665: # value.  By we need to know if files were specified by the user.
                   5666: ac_need_defaults=:
                   5667: while test $# != 0
                   5668: do
                   5669:   case $1 in
                   5670:   --*=*)
                   5671:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   5672:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.17      ohara    5673:     shift
                   5674:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
                   5675:     shift
1.12      ohara    5676:     ;;
1.17      ohara    5677:   -*);;
1.14      noro     5678:   *) # This is not an option, so the user has probably given explicit
                   5679:      # arguments.
                   5680:      ac_need_defaults=false;;
                   5681:   esac
                   5682:
1.17      ohara    5683:   case $1 in
1.14      noro     5684:   # Handling of the options.
                   5685: _ACEOF
1.17      ohara    5686: cat >>$CONFIG_STATUS <<_ACEOF
                   5687:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   5688:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
                   5689:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
                   5690: _ACEOF
1.14      noro     5691: cat >>$CONFIG_STATUS <<\_ACEOF
                   5692:   --version | --vers* | -V )
                   5693:     echo "$ac_cs_version"; exit 0 ;;
                   5694:   --he | --h)
                   5695:     # Conflict between --help and --header
                   5696:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   5697: Try \`$0 --help' for more information." >&5
                   5698: echo "$as_me: error: ambiguous option: $1
                   5699: Try \`$0 --help' for more information." >&2;}
                   5700:    { (exit 1); exit 1; }; };;
                   5701:   --help | --hel | -h )
                   5702:     echo "$ac_cs_usage"; exit 0 ;;
                   5703:   --debug | --d* | -d )
                   5704:     debug=: ;;
                   5705:   --file | --fil | --fi | --f )
1.17      ohara    5706:     shift
                   5707:     CONFIG_FILES="$CONFIG_FILES $1"
1.14      noro     5708:     ac_need_defaults=false;;
                   5709:   --header | --heade | --head | --hea )
1.17      ohara    5710:     shift
                   5711:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
1.14      noro     5712:     ac_need_defaults=false;;
                   5713:
                   5714:   # This is an error.
                   5715:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   5716: Try \`$0 --help' for more information." >&5
                   5717: echo "$as_me: error: unrecognized option: $1
                   5718: Try \`$0 --help' for more information." >&2;}
                   5719:    { (exit 1); exit 1; }; } ;;
                   5720:
                   5721:   *) ac_config_targets="$ac_config_targets $1" ;;
                   5722:
                   5723:   esac
                   5724:   shift
                   5725: done
                   5726:
                   5727: _ACEOF
                   5728:
                   5729: cat >>$CONFIG_STATUS <<_ACEOF
                   5730: #
                   5731: # INIT-COMMANDS section.
                   5732: #
                   5733:
                   5734: AMDEP_TRUE="$AMDEP_TRUE"
                   5735: ac_aux_dir="$ac_aux_dir"
                   5736:
                   5737: _ACEOF
                   5738:
                   5739:
                   5740:
                   5741: cat >>$CONFIG_STATUS <<\_ACEOF
                   5742: for ac_config_target in $ac_config_targets
                   5743: do
                   5744:   case "$ac_config_target" in
                   5745:   # Handling of arguments.
                   5746:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   5747:   "engine/Makefile" ) CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
                   5748:   "asm/Makefile" ) CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
                   5749:   "builtin/Makefile" ) CONFIG_FILES="$CONFIG_FILES builtin/Makefile" ;;
                   5750:   "fft/Makefile" ) CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
                   5751:   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   5752:   "io/Makefile" ) CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
                   5753:   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   5754:   "parse/Makefile" ) CONFIG_FILES="$CONFIG_FILES parse/Makefile" ;;
                   5755:   "plot/Makefile" ) CONFIG_FILES="$CONFIG_FILES plot/Makefile" ;;
                   5756:   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
                   5757:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   5758: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   5759:    { (exit 1); exit 1; }; };;
                   5760:   esac
                   5761: done
                   5762:
                   5763: # If the user did not use the arguments to specify the items to instantiate,
                   5764: # then the envvar interface is used.  Set only those that are not.
                   5765: # We use the long form for the default assignment because of an extremely
                   5766: # bizarre bug on SunOS 4.1.3.
                   5767: if $ac_need_defaults; then
                   5768:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   5769:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   5770: fi
                   5771:
                   5772: # Create a temporary directory, and hook for its removal unless debugging.
                   5773: $debug ||
                   5774: {
                   5775:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   5776:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   5777: }
                   5778:
                   5779: # Create a (secure) tmp directory for tmp files.
1.17      ohara    5780: : ${TMPDIR=/tmp}
1.14      noro     5781: {
1.17      ohara    5782:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1.14      noro     5783:   test -n "$tmp" && test -d "$tmp"
                   5784: }  ||
                   5785: {
1.17      ohara    5786:   tmp=$TMPDIR/cs$$-$RANDOM
1.14      noro     5787:   (umask 077 && mkdir $tmp)
                   5788: } ||
                   5789: {
1.17      ohara    5790:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1.14      noro     5791:    { (exit 1); exit 1; }
                   5792: }
                   5793:
                   5794: _ACEOF
                   5795:
                   5796: cat >>$CONFIG_STATUS <<_ACEOF
                   5797:
                   5798: #
                   5799: # CONFIG_FILES section.
                   5800: #
                   5801:
                   5802: # No need to generate the scripts if there are no CONFIG_FILES.
                   5803: # This happens for instance when ./config.status config.h
                   5804: if test -n "\$CONFIG_FILES"; then
                   5805:   # Protect against being on the right side of a sed subst in config.status.
                   5806:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   5807:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   5808: s,@SHELL@,$SHELL,;t t
                   5809: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   5810: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   5811: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   5812: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   5813: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   5814: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   5815: s,@exec_prefix@,$exec_prefix,;t t
                   5816: s,@prefix@,$prefix,;t t
                   5817: s,@program_transform_name@,$program_transform_name,;t t
                   5818: s,@bindir@,$bindir,;t t
                   5819: s,@sbindir@,$sbindir,;t t
                   5820: s,@libexecdir@,$libexecdir,;t t
                   5821: s,@datadir@,$datadir,;t t
                   5822: s,@sysconfdir@,$sysconfdir,;t t
                   5823: s,@sharedstatedir@,$sharedstatedir,;t t
                   5824: s,@localstatedir@,$localstatedir,;t t
                   5825: s,@libdir@,$libdir,;t t
                   5826: s,@includedir@,$includedir,;t t
                   5827: s,@oldincludedir@,$oldincludedir,;t t
                   5828: s,@infodir@,$infodir,;t t
                   5829: s,@mandir@,$mandir,;t t
                   5830: s,@build_alias@,$build_alias,;t t
                   5831: s,@host_alias@,$host_alias,;t t
                   5832: s,@target_alias@,$target_alias,;t t
                   5833: s,@DEFS@,$DEFS,;t t
                   5834: s,@ECHO_C@,$ECHO_C,;t t
                   5835: s,@ECHO_N@,$ECHO_N,;t t
                   5836: s,@ECHO_T@,$ECHO_T,;t t
                   5837: s,@LIBS@,$LIBS,;t t
                   5838: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   5839: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   5840: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   5841: s,@PACKAGE@,$PACKAGE,;t t
                   5842: s,@VERSION@,$VERSION,;t t
                   5843: s,@EXEEXT@,$EXEEXT,;t t
                   5844: s,@OBJEXT@,$OBJEXT,;t t
                   5845: s,@ACLOCAL@,$ACLOCAL,;t t
                   5846: s,@AUTOCONF@,$AUTOCONF,;t t
                   5847: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   5848: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   5849: s,@MAKEINFO@,$MAKEINFO,;t t
                   5850: s,@AMTAR@,$AMTAR,;t t
                   5851: s,@install_sh@,$install_sh,;t t
                   5852: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   5853: s,@AWK@,$AWK,;t t
                   5854: s,@SET_MAKE@,$SET_MAKE,;t t
                   5855: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   5856: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   5857: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   5858: s,@DEPDIR@,$DEPDIR,;t t
1.22      ohara    5859: s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
                   5860: s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
                   5861: s,@MAINT@,$MAINT,;t t
1.14      noro     5862: s,@build@,$build,;t t
                   5863: s,@build_cpu@,$build_cpu,;t t
                   5864: s,@build_vendor@,$build_vendor,;t t
                   5865: s,@build_os@,$build_os,;t t
                   5866: s,@host@,$host,;t t
                   5867: s,@host_cpu@,$host_cpu,;t t
                   5868: s,@host_vendor@,$host_vendor,;t t
                   5869: s,@host_os@,$host_os,;t t
                   5870: s,@target@,$target,;t t
                   5871: s,@target_cpu@,$target_cpu,;t t
                   5872: s,@target_vendor@,$target_vendor,;t t
                   5873: s,@target_os@,$target_os,;t t
                   5874: s,@CC@,$CC,;t t
                   5875: s,@CFLAGS@,$CFLAGS,;t t
                   5876: s,@LDFLAGS@,$LDFLAGS,;t t
                   5877: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   5878: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   5879: s,@am__include@,$am__include,;t t
                   5880: s,@am__quote@,$am__quote,;t t
                   5881: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   5882: s,@LN_S@,$LN_S,;t t
                   5883: s,@RANLIB@,$RANLIB,;t t
                   5884: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   5885: s,@YACC@,$YACC,;t t
                   5886: s,@CPP@,$CPP,;t t
                   5887: s,@X_CFLAGS@,$X_CFLAGS,;t t
                   5888: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
                   5889: s,@X_LIBS@,$X_LIBS,;t t
                   5890: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
1.23      ohara    5891: s,@USE_GC_ZEROPAGE@,$USE_GC_ZEROPAGE,;t t
1.14      noro     5892: s,@PARIINC@,$PARIINC,;t t
                   5893: s,@PARILIB@,$PARILIB,;t t
1.21      ohara    5894: s,@XPMLIB@,$XPMLIB,;t t
1.14      noro     5895: s,@USE_PLOT_TRUE@,$USE_PLOT_TRUE,;t t
                   5896: s,@USE_PLOT_FALSE@,$USE_PLOT_FALSE,;t t
                   5897: s,@FEPLIB@,$FEPLIB,;t t
                   5898: s,@MPIINC@,$MPIINC,;t t
                   5899: s,@MPILIB@,$MPILIB,;t t
                   5900: s,@LAPACKLIB@,$LAPACKLIB,;t t
                   5901: s,@libasir_postfix@,$libasir_postfix,;t t
1.28    ! ohara    5902: s,@USE_GC_INTERIX@,$USE_GC_INTERIX,;t t
1.14      noro     5903: s,@asm_obj@,$asm_obj,;t t
                   5904: CEOF
                   5905:
                   5906: _ACEOF
                   5907:
                   5908:   cat >>$CONFIG_STATUS <<\_ACEOF
                   5909:   # Split the substitutions into bite-sized pieces for seds with
                   5910:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   5911:   ac_max_sed_lines=48
                   5912:   ac_sed_frag=1 # Number of current file.
                   5913:   ac_beg=1 # First line for current file.
                   5914:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   5915:   ac_more_lines=:
                   5916:   ac_sed_cmds=
                   5917:   while $ac_more_lines; do
                   5918:     if test $ac_beg -gt 1; then
                   5919:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   5920:     else
                   5921:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   5922:     fi
                   5923:     if test ! -s $tmp/subs.frag; then
                   5924:       ac_more_lines=false
                   5925:     else
                   5926:       # The purpose of the label and of the branching condition is to
                   5927:       # speed up the sed processing (if there are no `@' at all, there
                   5928:       # is no need to browse any of the substitutions).
                   5929:       # These are the two extra sed commands mentioned above.
                   5930:       (echo ':t
                   5931:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   5932:       if test -z "$ac_sed_cmds"; then
                   5933:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   5934:       else
                   5935:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   5936:       fi
                   5937:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   5938:       ac_beg=$ac_end
                   5939:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   5940:     fi
                   5941:   done
                   5942:   if test -z "$ac_sed_cmds"; then
                   5943:     ac_sed_cmds=cat
                   5944:   fi
                   5945: fi # test -n "$CONFIG_FILES"
                   5946:
                   5947: _ACEOF
                   5948: cat >>$CONFIG_STATUS <<\_ACEOF
                   5949: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   5950:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   5951:   case $ac_file in
                   5952:   - | *:- | *:-:* ) # input from stdin
                   5953:         cat >$tmp/stdin
                   5954:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   5955:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   5956:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   5957:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   5958:   * )   ac_file_in=$ac_file.in ;;
                   5959:   esac
                   5960:
                   5961:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   5962:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   5963: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5964:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   5965:          X"$ac_file" : 'X\(//\)$' \| \
                   5966:          X"$ac_file" : 'X\(/\)' \| \
                   5967:          .     : '\(.\)' 2>/dev/null ||
                   5968: echo X"$ac_file" |
                   5969:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   5970:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   5971:          /^X\(\/\/\)$/{ s//\1/; q; }
                   5972:          /^X\(\/\).*/{ s//\1/; q; }
                   5973:          s/.*/./; q'`
1.17      ohara    5974:   { case "$ac_dir" in
                   5975:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   5976:   *)                      as_incr_dir=.;;
                   5977: esac
                   5978: as_dummy="$ac_dir"
                   5979: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   5980:   case $as_mkdir_dir in
                   5981:     # Skip DOS drivespec
                   5982:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   5983:     *)
                   5984:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   5985:       test -d "$as_incr_dir" ||
                   5986:         mkdir "$as_incr_dir" ||
                   5987:        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
                   5988: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
                   5989:    { (exit 1); exit 1; }; }
                   5990:     ;;
                   5991:   esac
                   5992: done; }
1.14      noro     5993:
                   5994:   ac_builddir=.
                   5995:
                   5996: if test "$ac_dir" != .; then
                   5997:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   5998:   # A "../" for each directory in $ac_dir_suffix.
                   5999:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   6000: else
                   6001:   ac_dir_suffix= ac_top_builddir=
                   6002: fi
                   6003:
                   6004: case $srcdir in
                   6005:   .)  # No --srcdir option.  We are building in place.
                   6006:     ac_srcdir=.
                   6007:     if test -z "$ac_top_builddir"; then
                   6008:        ac_top_srcdir=.
                   6009:     else
                   6010:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   6011:     fi ;;
                   6012:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   6013:     ac_srcdir=$srcdir$ac_dir_suffix;
                   6014:     ac_top_srcdir=$srcdir ;;
                   6015:   *) # Relative path.
                   6016:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   6017:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   6018: esac
                   6019: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   6020: # absolute.
                   6021: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara    6022: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro     6023: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   6024: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   6025:
                   6026:
                   6027:   case $INSTALL in
                   6028:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   6029:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
                   6030:   esac
                   6031:
                   6032:   if test x"$ac_file" != x-; then
                   6033:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   6034: echo "$as_me: creating $ac_file" >&6;}
                   6035:     rm -f "$ac_file"
                   6036:   fi
                   6037:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   6038:   # use $as_me), people would be surprised to read:
                   6039:   #    /* config.h.  Generated by config.status.  */
                   6040:   if test x"$ac_file" = x-; then
                   6041:     configure_input=
                   6042:   else
                   6043:     configure_input="$ac_file.  "
                   6044:   fi
                   6045:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   6046:                                      sed 's,.*/,,'` by configure."
                   6047:
                   6048:   # First look for the input files in the build tree, otherwise in the
                   6049:   # src tree.
                   6050:   ac_file_inputs=`IFS=:
                   6051:     for f in $ac_file_in; do
                   6052:       case $f in
                   6053:       -) echo $tmp/stdin ;;
                   6054:       [\\/$]*)
                   6055:          # Absolute (can't be DOS-style, as IFS=:)
                   6056:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   6057: echo "$as_me: error: cannot find input file: $f" >&2;}
                   6058:    { (exit 1); exit 1; }; }
                   6059:          echo $f;;
                   6060:       *) # Relative
                   6061:          if test -f "$f"; then
                   6062:            # Build tree
                   6063:            echo $f
                   6064:          elif test -f "$srcdir/$f"; then
                   6065:            # Source tree
                   6066:            echo $srcdir/$f
                   6067:          else
                   6068:            # /dev/null tree
                   6069:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   6070: echo "$as_me: error: cannot find input file: $f" >&2;}
                   6071:    { (exit 1); exit 1; }; }
                   6072:          fi;;
                   6073:       esac
                   6074:     done` || { (exit 1); exit 1; }
                   6075: _ACEOF
                   6076: cat >>$CONFIG_STATUS <<_ACEOF
                   6077:   sed "$ac_vpsub
                   6078: $extrasub
                   6079: _ACEOF
                   6080: cat >>$CONFIG_STATUS <<\_ACEOF
                   6081: :t
                   6082: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   6083: s,@configure_input@,$configure_input,;t t
                   6084: s,@srcdir@,$ac_srcdir,;t t
                   6085: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   6086: s,@top_srcdir@,$ac_top_srcdir,;t t
                   6087: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   6088: s,@builddir@,$ac_builddir,;t t
                   6089: s,@abs_builddir@,$ac_abs_builddir,;t t
                   6090: s,@top_builddir@,$ac_top_builddir,;t t
                   6091: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   6092: s,@INSTALL@,$ac_INSTALL,;t t
                   6093: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   6094:   rm -f $tmp/stdin
                   6095:   if test x"$ac_file" != x-; then
                   6096:     mv $tmp/out $ac_file
                   6097:   else
                   6098:     cat $tmp/out
                   6099:     rm -f $tmp/out
                   6100:   fi
                   6101:
                   6102: done
                   6103: _ACEOF
                   6104: cat >>$CONFIG_STATUS <<\_ACEOF
                   6105:
                   6106: #
                   6107: # CONFIG_COMMANDS section.
                   6108: #
                   6109: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   6110:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   6111:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   6112:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   6113: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6114:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   6115:          X"$ac_dest" : 'X\(//\)$' \| \
                   6116:          X"$ac_dest" : 'X\(/\)' \| \
                   6117:          .     : '\(.\)' 2>/dev/null ||
                   6118: echo X"$ac_dest" |
                   6119:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   6120:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   6121:          /^X\(\/\/\)$/{ s//\1/; q; }
                   6122:          /^X\(\/\).*/{ s//\1/; q; }
                   6123:          s/.*/./; q'`
                   6124:   ac_builddir=.
                   6125:
                   6126: if test "$ac_dir" != .; then
                   6127:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   6128:   # A "../" for each directory in $ac_dir_suffix.
                   6129:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   6130: else
                   6131:   ac_dir_suffix= ac_top_builddir=
                   6132: fi
                   6133:
                   6134: case $srcdir in
                   6135:   .)  # No --srcdir option.  We are building in place.
                   6136:     ac_srcdir=.
                   6137:     if test -z "$ac_top_builddir"; then
                   6138:        ac_top_srcdir=.
                   6139:     else
                   6140:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   6141:     fi ;;
                   6142:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   6143:     ac_srcdir=$srcdir$ac_dir_suffix;
                   6144:     ac_top_srcdir=$srcdir ;;
                   6145:   *) # Relative path.
                   6146:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   6147:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.12      ohara    6148: esac
1.14      noro     6149: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   6150: # absolute.
                   6151: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara    6152: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro     6153: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   6154: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   6155:
                   6156:
                   6157:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   6158: echo "$as_me: executing $ac_dest commands" >&6;}
                   6159:   case $ac_dest in
                   6160:     default-1 )
                   6161: test x"$AMDEP_TRUE" != x"" ||
                   6162: for mf in $CONFIG_FILES; do
                   6163:   case "$mf" in
                   6164:   Makefile) dirpart=.;;
                   6165:   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
                   6166:   *) continue;;
                   6167:   esac
                   6168:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   6169:   # Extract the definition of DEP_FILES from the Makefile without
                   6170:   # running `make'.
                   6171:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   6172:   test -z "$DEPDIR" && continue
                   6173:   # When using ansi2knr, U may be empty or an underscore; expand it
                   6174:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   6175:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   6176:   # We invoke sed twice because it is the simplest approach to
                   6177:   # changing $(DEPDIR) to its actual value in the expansion.
                   6178:   for file in `sed -n -e '
                   6179:     /^DEP_FILES = .*\\\\$/ {
                   6180:       s/^DEP_FILES = //
                   6181:       :loop
                   6182:        s/\\\\$//
                   6183:        p
                   6184:        n
                   6185:        /\\\\$/ b loop
                   6186:       p
                   6187:     }
                   6188:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   6189:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   6190:     # Make sure the directory exists.
                   6191:     test -f "$dirpart/$file" && continue
                   6192:     fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
                   6193:     $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
                   6194:     # echo "creating $dirpart/$file"
                   6195:     echo '# dummy' > "$dirpart/$file"
                   6196:   done
                   6197: done
                   6198:  ;;
                   6199:   esac
                   6200: done
                   6201: _ACEOF
                   6202:
                   6203: cat >>$CONFIG_STATUS <<\_ACEOF
                   6204:
                   6205: { (exit 0); exit 0; }
                   6206: _ACEOF
                   6207: chmod +x $CONFIG_STATUS
                   6208: ac_clean_files=$ac_clean_files_save
                   6209:
                   6210:
                   6211: # configure is writing to config.log, and then calls config.status.
                   6212: # config.status does its own redirection, appending to config.log.
                   6213: # Unfortunately, on DOS this fails, as config.log is still kept open
                   6214: # by configure, so config.status won't be able to write to it; its
                   6215: # output is simply discarded.  So we exec the FD to /dev/null,
                   6216: # effectively closing config.log, so it can be properly (re)opened and
                   6217: # appended to by config.status.  When coming back to configure, we
                   6218: # need to make the FD available again.
                   6219: if test "$no_create" != yes; then
                   6220:   ac_cs_success=:
                   6221:   exec 5>/dev/null
1.17      ohara    6222:   $SHELL $CONFIG_STATUS || ac_cs_success=false
1.14      noro     6223:   exec 5>>config.log
                   6224:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   6225:   # would make configure fail if this is the last instruction.
                   6226:   $ac_cs_success || { (exit 1); exit 1; }
                   6227: fi
                   6228:

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