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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.22

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]
                    844:   --enable-plot           enable plot feature. [no]
                    845:   --enable-interval       enable interval feature. [no]
                    846:   --enable-fft-float      enable FFT-FLOAT feature. [no]
                    847:
                    848: Optional Packages:
                    849:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    850:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    851:   --with-x                use the X Window System
                    852:   --with-pari             use the PARI library. [no]
                    853:
                    854: Some influential environment variables:
                    855:   CC          C compiler command
                    856:   CFLAGS      C compiler flags
                    857:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    858:               nonstandard directory <lib dir>
                    859:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    860:               headers in a nonstandard directory <include dir>
                    861:   CPP         C preprocessor
                    862:
                    863: Use these variables to override the choices made by `configure' or to help
                    864: it to find libraries and programs with nonstandard names/locations.
                    865:
                    866: _ACEOF
                    867: fi
                    868:
                    869: if test "$ac_init_help" = "recursive"; then
                    870:   # If there are subdirs, report their specific --help.
                    871:   ac_popdir=`pwd`
                    872:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    873:     test -d $ac_dir || continue
                    874:     ac_builddir=.
                    875:
                    876: if test "$ac_dir" != .; then
                    877:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    878:   # A "../" for each directory in $ac_dir_suffix.
                    879:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    880: else
                    881:   ac_dir_suffix= ac_top_builddir=
                    882: fi
                    883:
                    884: case $srcdir in
                    885:   .)  # No --srcdir option.  We are building in place.
                    886:     ac_srcdir=.
                    887:     if test -z "$ac_top_builddir"; then
                    888:        ac_top_srcdir=.
                    889:     else
                    890:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    891:     fi ;;
                    892:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    893:     ac_srcdir=$srcdir$ac_dir_suffix;
                    894:     ac_top_srcdir=$srcdir ;;
                    895:   *) # Relative path.
                    896:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    897:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    898: esac
                    899: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                    900: # absolute.
                    901: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara     902: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro      903: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                    904: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                    905:
                    906:     cd $ac_dir
                    907:     # Check for guested configure; otherwise get Cygnus style configure.
                    908:     if test -f $ac_srcdir/configure.gnu; then
                    909:       echo
                    910:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    911:     elif test -f $ac_srcdir/configure; then
                    912:       echo
                    913:       $SHELL $ac_srcdir/configure  --help=recursive
                    914:     elif test -f $ac_srcdir/configure.ac ||
                    915:            test -f $ac_srcdir/configure.in; then
                    916:       echo
                    917:       $ac_configure --help
                    918:     else
                    919:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    920:     fi
                    921:     cd $ac_popdir
                    922:   done
                    923: fi
                    924:
                    925: test -n "$ac_init_help" && exit 0
                    926: if $ac_init_version; then
                    927:   cat <<\_ACEOF
                    928:
                    929: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                    930: Free Software Foundation, Inc.
                    931: This configure script is free software; the Free Software Foundation
                    932: gives unlimited permission to copy, distribute and modify it.
                    933: _ACEOF
                    934:   exit 0
                    935: fi
                    936: exec 5>config.log
                    937: cat >&5 <<_ACEOF
                    938: This file contains any messages produced by compilers while
                    939: running configure, to aid debugging if configure makes a mistake.
                    940:
                    941: It was created by $as_me, which was
1.17      ohara     942: generated by GNU Autoconf 2.53.  Invocation command line was
1.14      noro      943:
                    944:   $ $0 $@
                    945:
                    946: _ACEOF
                    947: {
                    948: cat <<_ASUNAME
                    949: ## --------- ##
                    950: ## Platform. ##
                    951: ## --------- ##
                    952:
                    953: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                    954: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                    955: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                    956: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                    957: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                    958:
                    959: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                    960: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                    961:
                    962: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                    963: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                    964: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                    965: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                    966: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                    967: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                    968: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                    969:
                    970: _ASUNAME
                    971:
                    972: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    973: for as_dir in $PATH
                    974: do
                    975:   IFS=$as_save_IFS
                    976:   test -z "$as_dir" && as_dir=.
                    977:   echo "PATH: $as_dir"
                    978: done
                    979:
                    980: } >&5
                    981:
                    982: cat >&5 <<_ACEOF
                    983:
                    984:
                    985: ## ----------- ##
                    986: ## Core tests. ##
                    987: ## ----------- ##
                    988:
                    989: _ACEOF
                    990:
                    991:
                    992: # Keep a trace of the command line.
                    993: # Strip out --no-create and --no-recursion so they do not pile up.
                    994: # Also quote any args containing shell meta-characters.
                    995: ac_configure_args=
                    996: ac_sep=
1.17      ohara     997: for ac_arg
1.14      noro      998: do
1.17      ohara     999:   case $ac_arg in
                   1000:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1001:   | --no-cr | --no-c | -n ) continue ;;
                   1002:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1003:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1004:     continue ;;
                   1005:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1006:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1007:   esac
                   1008:   case " $ac_configure_args " in
                   1009:     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1010:     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1011:        ac_sep=" " ;;
                   1012:   esac
                   1013:   # Get rid of the leading space.
1.14      noro     1014: done
                   1015:
                   1016: # When interrupted or exit'd, cleanup temporary files, and complete
                   1017: # config.log.  We remove comments because anyway the quotes in there
                   1018: # would cause problems or look ugly.
                   1019: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1020: # such as our DU 5.0 friend, will then `close' the trap.
                   1021: trap 'exit_status=$?
                   1022:   # Save into config.log some information that might help in debugging.
                   1023:   {
                   1024:     echo
                   1025:     cat <<\_ASBOX
                   1026: ## ---------------- ##
                   1027: ## Cache variables. ##
                   1028: ## ---------------- ##
                   1029: _ASBOX
                   1030:     echo
                   1031:     # The following way of writing the cache mishandles newlines in values,
                   1032: {
                   1033:   (set) 2>&1 |
                   1034:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1035:     *ac_space=\ *)
                   1036:       sed -n \
                   1037:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1038:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                   1039:       ;;
                   1040:     *)
                   1041:       sed -n \
                   1042:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   1043:       ;;
                   1044:     esac;
                   1045: }
                   1046:     echo
                   1047:     if test -s confdefs.h; then
                   1048:       cat <<\_ASBOX
                   1049: ## ----------- ##
                   1050: ## confdefs.h. ##
                   1051: ## ----------- ##
                   1052: _ASBOX
                   1053:       echo
1.17      ohara    1054:       sed "/^$/d" confdefs.h
1.14      noro     1055:       echo
                   1056:     fi
                   1057:     test "$ac_signal" != 0 &&
                   1058:       echo "$as_me: caught signal $ac_signal"
                   1059:     echo "$as_me: exit $exit_status"
                   1060:   } >&5
                   1061:   rm -f core core.* *.core &&
                   1062:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1063:     exit $exit_status
                   1064:      ' 0
                   1065: for ac_signal in 1 2 13 15; do
                   1066:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1067: done
                   1068: ac_signal=0
                   1069:
                   1070: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1071: rm -rf conftest* confdefs.h
                   1072: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1073: echo >confdefs.h
                   1074:
                   1075: # Predefined preprocessor variables.
                   1076:
                   1077: cat >>confdefs.h <<_ACEOF
                   1078: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1079: _ACEOF
                   1080:
                   1081:
                   1082: cat >>confdefs.h <<_ACEOF
                   1083: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1084: _ACEOF
                   1085:
                   1086:
                   1087: cat >>confdefs.h <<_ACEOF
                   1088: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1089: _ACEOF
                   1090:
                   1091:
                   1092: cat >>confdefs.h <<_ACEOF
                   1093: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1094: _ACEOF
                   1095:
                   1096:
                   1097: cat >>confdefs.h <<_ACEOF
                   1098: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1099: _ACEOF
                   1100:
                   1101:
                   1102: # Let the site file select an alternate cache file if it wants to.
                   1103: # Prefer explicitly selected file to automatically selected ones.
                   1104: if test -z "$CONFIG_SITE"; then
                   1105:   if test "x$prefix" != xNONE; then
                   1106:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1107:   else
                   1108:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1109:   fi
                   1110: fi
                   1111: for ac_site_file in $CONFIG_SITE; do
                   1112:   if test -r "$ac_site_file"; then
                   1113:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1114: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1115:     sed 's/^/| /' "$ac_site_file" >&5
                   1116:     . "$ac_site_file"
                   1117:   fi
                   1118: done
                   1119:
                   1120: if test -r "$cache_file"; then
                   1121:   # Some versions of bash will fail to source /dev/null (special
                   1122:   # files actually), so we avoid doing that.
                   1123:   if test -f "$cache_file"; then
                   1124:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1125: echo "$as_me: loading cache $cache_file" >&6;}
                   1126:     case $cache_file in
                   1127:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1128:       *)                      . ./$cache_file;;
                   1129:     esac
                   1130:   fi
                   1131: else
                   1132:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1133: echo "$as_me: creating cache $cache_file" >&6;}
                   1134:   >$cache_file
                   1135: fi
                   1136:
                   1137: # Check that the precious variables saved in the cache have kept the same
                   1138: # value.
                   1139: ac_cache_corrupted=false
                   1140: for ac_var in `(set) 2>&1 |
                   1141:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1142:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1143:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1144:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1145:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1146:   case $ac_old_set,$ac_new_set in
                   1147:     set,)
                   1148:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1149: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1150:       ac_cache_corrupted=: ;;
                   1151:     ,set)
                   1152:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1153: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1154:       ac_cache_corrupted=: ;;
                   1155:     ,);;
                   1156:     *)
                   1157:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1158:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1159: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1160:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1161: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1162:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1163: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1164:         ac_cache_corrupted=:
                   1165:       fi;;
                   1166:   esac
                   1167:   # Pass precious variables to config.status.
                   1168:   if test "$ac_new_set" = set; then
                   1169:     case $ac_new_val in
                   1170:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1171:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1172:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1173:     esac
                   1174:     case " $ac_configure_args " in
                   1175:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1176:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1177:     esac
                   1178:   fi
                   1179: done
                   1180: if $ac_cache_corrupted; then
                   1181:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1182: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1183:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1184: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1185:    { (exit 1); exit 1; }; }
                   1186: fi
                   1187:
                   1188: ac_ext=c
                   1189: ac_cpp='$CPP $CPPFLAGS'
                   1190: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1191: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1192: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1193:
                   1194:
                   1195:
                   1196:
                   1197:
                   1198:
                   1199:
                   1200:
                   1201:
                   1202:
                   1203:
                   1204:
                   1205:
                   1206:
                   1207:
                   1208:
                   1209:
                   1210:
                   1211:
                   1212: ac_aux_dir=
                   1213: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1214:   if test -f $ac_dir/install-sh; then
                   1215:     ac_aux_dir=$ac_dir
                   1216:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1217:     break
                   1218:   elif test -f $ac_dir/install.sh; then
                   1219:     ac_aux_dir=$ac_dir
                   1220:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1221:     break
                   1222:   elif test -f $ac_dir/shtool; then
                   1223:     ac_aux_dir=$ac_dir
                   1224:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1225:     break
                   1226:   fi
                   1227: done
                   1228: if test -z "$ac_aux_dir"; then
                   1229:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1230: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1231:    { (exit 1); exit 1; }; }
                   1232: fi
                   1233: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1234: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1235: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
                   1236:
                   1237: # Find a good install program.  We prefer a C program (faster),
                   1238: # so one script is as good as another.  But avoid the broken or
                   1239: # incompatible versions:
                   1240: # SysV /etc/install, /usr/sbin/install
                   1241: # SunOS /usr/etc/install
                   1242: # IRIX /sbin/install
                   1243: # AIX /bin/install
                   1244: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   1245: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1246: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1247: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1248: # ./install, which can be erroneously created by make from ./install.sh.
                   1249: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1250: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
                   1251: if test -z "$INSTALL"; then
                   1252: if test "${ac_cv_path_install+set}" = set; then
                   1253:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1254: else
                   1255:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1256: for as_dir in $PATH
                   1257: do
                   1258:   IFS=$as_save_IFS
                   1259:   test -z "$as_dir" && as_dir=.
                   1260:   # Account for people who put trailing slashes in PATH elements.
                   1261: case $as_dir/ in
                   1262:   ./ | .// | /cC/* | \
                   1263:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1264:   /usr/ucb/* ) ;;
                   1265:   *)
                   1266:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1267:     # Don't use installbsd from OSF since it installs stuff as root
                   1268:     # by default.
                   1269:     for ac_prog in ginstall scoinst install; do
                   1270:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1271:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1272:           if test $ac_prog = install &&
                   1273:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1274:             # AIX install.  It has an incompatible calling convention.
                   1275:             :
                   1276:           elif test $ac_prog = install &&
                   1277:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1278:             # program-specific install script used by HP pwplus--don't use.
                   1279:             :
                   1280:           else
                   1281:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1282:             break 3
                   1283:           fi
                   1284:         fi
                   1285:       done
                   1286:     done
                   1287:     ;;
                   1288: esac
                   1289: done
                   1290:
                   1291:
                   1292: fi
                   1293:   if test "${ac_cv_path_install+set}" = set; then
                   1294:     INSTALL=$ac_cv_path_install
                   1295:   else
                   1296:     # As a last resort, use the slow shell script.  We don't cache a
                   1297:     # path for INSTALL within a source directory, because that will
                   1298:     # break other packages using the cache if that directory is
                   1299:     # removed, or if the path is relative.
                   1300:     INSTALL=$ac_install_sh
                   1301:   fi
                   1302: fi
                   1303: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1304: echo "${ECHO_T}$INSTALL" >&6
                   1305:
                   1306: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1307: # It thinks the first close brace ends the variable substitution.
                   1308: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1309:
                   1310: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   1311:
                   1312: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1313:
                   1314: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1315: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
                   1316: # Just in case
                   1317: sleep 1
                   1318: echo timestamp > conftest.file
                   1319: # Do `set' in a subshell so we don't clobber the current shell's
                   1320: # arguments.  Must try -L first in case configure is actually a
                   1321: # symlink; some systems play weird games with the mod time of symlinks
                   1322: # (eg FreeBSD returns the mod time of the symlink's containing
                   1323: # directory).
                   1324: if (
                   1325:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
                   1326:    if test "$*" = "X"; then
                   1327:       # -L didn't work.
                   1328:       set X `ls -t $srcdir/configure conftest.file`
                   1329:    fi
                   1330:    rm -f conftest.file
                   1331:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1332:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   1333:
                   1334:       # If neither matched, then we have a broken ls.  This can happen
                   1335:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1336:       # broken ls alias from the environment.  This has actually
                   1337:       # happened.  Such a system could not be considered "sane".
                   1338:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1339: alias in your environment" >&5
                   1340: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1341: alias in your environment" >&2;}
                   1342:    { (exit 1); exit 1; }; }
                   1343:    fi
                   1344:
                   1345:    test "$2" = conftest.file
                   1346:    )
                   1347: then
                   1348:    # Ok.
                   1349:    :
                   1350: else
                   1351:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1352: Check your system clock" >&5
                   1353: echo "$as_me: error: newly created file is older than distributed files!
                   1354: Check your system clock" >&2;}
                   1355:    { (exit 1); exit 1; }; }
                   1356: fi
                   1357: echo "$as_me:$LINENO: result: yes" >&5
                   1358: echo "${ECHO_T}yes" >&6
                   1359: test "$program_prefix" != NONE &&
                   1360:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
                   1361: # Use a double $ so make ignores it.
                   1362: test "$program_suffix" != NONE &&
                   1363:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1364: # Double any \ or $.  echo might interpret backslashes.
                   1365: # By default was `s,x,x', remove it if useless.
                   1366: cat <<\_ACEOF >conftest.sed
                   1367: s/[\\$]/&&/g;s/;s,x,x,$//
                   1368: _ACEOF
                   1369: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1370: rm conftest.sed
                   1371:
                   1372:
                   1373: # expand $ac_aux_dir to an absolute path
                   1374: am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
                   1375:
                   1376: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1377: # Use eval to expand $SHELL
                   1378: if eval "$MISSING --run true"; then
                   1379:   am_missing_run="$MISSING --run "
                   1380: else
                   1381:   am_missing_run=
                   1382:   am_backtick='`'
                   1383:   { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
                   1384: echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
                   1385: fi
                   1386:
                   1387: for ac_prog in gawk mawk nawk awk
                   1388: do
                   1389:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1390: set dummy $ac_prog; ac_word=$2
                   1391: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1392: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1393: if test "${ac_cv_prog_AWK+set}" = set; then
                   1394:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1395: else
                   1396:   if test -n "$AWK"; then
                   1397:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1398: else
                   1399: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1400: for as_dir in $PATH
                   1401: do
                   1402:   IFS=$as_save_IFS
                   1403:   test -z "$as_dir" && as_dir=.
                   1404:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1405:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1406:     ac_cv_prog_AWK="$ac_prog"
                   1407:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1408:     break 2
                   1409:   fi
                   1410: done
                   1411: done
                   1412:
                   1413: fi
                   1414: fi
                   1415: AWK=$ac_cv_prog_AWK
                   1416: if test -n "$AWK"; then
                   1417:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1418: echo "${ECHO_T}$AWK" >&6
                   1419: else
                   1420:   echo "$as_me:$LINENO: result: no" >&5
                   1421: echo "${ECHO_T}no" >&6
                   1422: fi
                   1423:
                   1424:   test -n "$AWK" && break
                   1425: done
                   1426:
1.17      ohara    1427: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
                   1428: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1.14      noro     1429: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1430: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1431:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1432: else
                   1433:   cat >conftest.make <<\_ACEOF
                   1434: all:
1.17      ohara    1435:        @echo 'ac_maketemp="${MAKE}"'
1.14      noro     1436: _ACEOF
                   1437: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   1438: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
                   1439: if test -n "$ac_maketemp"; then
                   1440:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1441: else
                   1442:   eval ac_cv_prog_make_${ac_make}_set=no
                   1443: fi
                   1444: rm -f conftest.make
                   1445: fi
                   1446: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                   1447:   echo "$as_me:$LINENO: result: yes" >&5
                   1448: echo "${ECHO_T}yes" >&6
                   1449:   SET_MAKE=
                   1450: else
                   1451:   echo "$as_me:$LINENO: result: no" >&5
                   1452: echo "${ECHO_T}no" >&6
                   1453:   SET_MAKE="MAKE=${MAKE-make}"
                   1454: fi
                   1455:
                   1456: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   1457: if test "${enable_dependency_tracking+set}" = set; then
                   1458:   enableval="$enable_dependency_tracking"
                   1459:
                   1460: fi;
                   1461: if test "x$enable_dependency_tracking" != xno; then
                   1462:   am_depcomp="$ac_aux_dir/depcomp"
                   1463:   AMDEPBACKSLASH='\'
                   1464: fi
                   1465:
                   1466:
                   1467: if test "x$enable_dependency_tracking" != xno; then
                   1468:   AMDEP_TRUE=
                   1469:   AMDEP_FALSE='#'
                   1470: else
                   1471:   AMDEP_TRUE='#'
                   1472:   AMDEP_FALSE=
                   1473: fi
                   1474:
                   1475:
                   1476:
                   1477:
                   1478: rm -f .deps 2>/dev/null
                   1479: mkdir .deps 2>/dev/null
                   1480: if test -d .deps; then
                   1481:   DEPDIR=.deps
                   1482: else
                   1483:   # MS-DOS does not allow filenames that begin with a dot.
                   1484:   DEPDIR=_deps
                   1485: fi
                   1486: rmdir .deps 2>/dev/null
                   1487:
                   1488:
                   1489: # test to see if srcdir already configured
                   1490: if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
                   1491:    test -f $srcdir/config.status; then
                   1492:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1493: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1494:    { (exit 1); exit 1; }; }
                   1495: fi
                   1496:
                   1497: # Define the identity of the package.
                   1498: PACKAGE=asir
1.16      noro     1499: VERSION=20030307
1.14      noro     1500:
                   1501: cat >>confdefs.h <<_ACEOF
                   1502: #define PACKAGE "$PACKAGE"
                   1503: _ACEOF
                   1504:
                   1505:
                   1506: cat >>confdefs.h <<_ACEOF
                   1507: #define VERSION "$VERSION"
                   1508: _ACEOF
                   1509:
                   1510:
                   1511: # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
                   1512: # the ones we care about.
                   1513:
                   1514: # Autoconf 2.50 always computes EXEEXT.  However we need to be
                   1515: # compatible with 2.13, for now.  So we always define EXEEXT, but we
                   1516: # don't compute it.
                   1517:
                   1518: # Similar for OBJEXT -- only we only use OBJEXT if the user actually
                   1519: # requests that it be used.  This is a bit dumb.
                   1520: : ${OBJEXT=o}
                   1521:
                   1522:
                   1523: # Some tools Automake needs.
                   1524:
                   1525: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
                   1526:
                   1527:
                   1528: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1529:
                   1530:
                   1531: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
                   1532:
                   1533:
                   1534: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1535:
                   1536:
                   1537: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   1538:
                   1539:
                   1540: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1541:
                   1542: install_sh=${install_sh-"$am_aux_dir/install-sh"}
                   1543:
                   1544: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1545:
                   1546: # We need awk for the "check" target.  The system "awk" is bad on
                   1547: # some platforms.
                   1548:
                   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.14      noro     4134: libasir_postfix=""
                   4135:
                   4136: # Check whether --with-pari or --without-pari was given.
                   4137: if test "${with_pari+set}" = set; then
                   4138:   withval="$with_pari"
                   4139:   with_pari=${withval}
                   4140: else
                   4141:   with_pari=no
                   4142: fi;
                   4143:
                   4144: if test ${with_pari:=no} != no ; then
                   4145:     libasir_postfix=${libasir_postfix}_pari
1.16      noro     4146:     if test ${with_pari} = new ; then
                   4147:         libpari=pari-2.2
                   4148:     else
1.14      noro     4149:         libpari=pari
                   4150:     fi
                   4151:     PARIINC='-I${prefix}/include/pari'
                   4152:     if test "${enable_shared}" != yes ; then
                   4153:         PARILIB='${prefix}'"/lib/lib${libpari}.a"
                   4154:     else
                   4155:         PARILIB='-L${prefix}/lib'" -l${libpari}"
                   4156:     fi
                   4157:     cat >>confdefs.h <<\_ACEOF
                   4158: #define PARI 1
                   4159: _ACEOF
                   4160:
1.16      noro     4161: fi
                   4162:
                   4163:
                   4164:
1.14      noro     4165: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4166: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4167: if test "${ac_cv_header_stdc+set}" = set; then
                   4168:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4169: else
                   4170:   cat >conftest.$ac_ext <<_ACEOF
                   4171: #line $LINENO "configure"
1.17      ohara    4172: #include "confdefs.h"
1.14      noro     4173: #include <stdlib.h>
                   4174: #include <stdarg.h>
                   4175: #include <string.h>
                   4176: #include <float.h>
                   4177:
                   4178: _ACEOF
1.17      ohara    4179: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4180:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.14      noro     4181:   ac_status=$?
1.17      ohara    4182:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   4183:   rm -f conftest.er1
                   4184:   cat conftest.err >&5
1.14      noro     4185:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.17      ohara    4186:   (exit $ac_status); } >/dev/null; then
                   4187:   if test -s conftest.err; then
                   4188:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4189:   else
                   4190:     ac_cpp_err=
                   4191:   fi
                   4192: else
                   4193:   ac_cpp_err=yes
                   4194: fi
                   4195: if test -z "$ac_cpp_err"; then
1.14      noro     4196:   ac_cv_header_stdc=yes
                   4197: else
                   4198:   echo "$as_me: failed program was:" >&5
1.17      ohara    4199:   cat conftest.$ac_ext >&5
                   4200:   ac_cv_header_stdc=no
1.14      noro     4201: fi
1.17      ohara    4202: rm -f conftest.err conftest.$ac_ext
1.14      noro     4203:
                   4204: if test $ac_cv_header_stdc = yes; then
                   4205:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4206:   cat >conftest.$ac_ext <<_ACEOF
                   4207: #line $LINENO "configure"
1.17      ohara    4208: #include "confdefs.h"
1.14      noro     4209: #include <string.h>
                   4210:
                   4211: _ACEOF
                   4212: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.17      ohara    4213:   egrep "memchr" >/dev/null 2>&1; then
1.14      noro     4214:   :
                   4215: else
                   4216:   ac_cv_header_stdc=no
                   4217: fi
                   4218: rm -f conftest*
                   4219:
                   4220: fi
                   4221:
                   4222: if test $ac_cv_header_stdc = yes; then
                   4223:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4224:   cat >conftest.$ac_ext <<_ACEOF
                   4225: #line $LINENO "configure"
1.17      ohara    4226: #include "confdefs.h"
1.14      noro     4227: #include <stdlib.h>
                   4228:
                   4229: _ACEOF
                   4230: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.17      ohara    4231:   egrep "free" >/dev/null 2>&1; then
1.14      noro     4232:   :
                   4233: else
                   4234:   ac_cv_header_stdc=no
                   4235: fi
                   4236: rm -f conftest*
                   4237:
                   4238: fi
                   4239:
                   4240: if test $ac_cv_header_stdc = yes; then
                   4241:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4242:   if test "$cross_compiling" = yes; then
                   4243:   :
                   4244: else
                   4245:   cat >conftest.$ac_ext <<_ACEOF
                   4246: #line $LINENO "configure"
1.17      ohara    4247: #include "confdefs.h"
1.14      noro     4248: #include <ctype.h>
                   4249: #if ((' ' & 0x0FF) == 0x020)
                   4250: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4251: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4252: #else
1.17      ohara    4253: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
1.14      noro     4254:                      || ('j' <= (c) && (c) <= 'r') \
                   4255:                      || ('s' <= (c) && (c) <= 'z'))
                   4256: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4257: #endif
                   4258:
                   4259: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4260: int
                   4261: main ()
                   4262: {
                   4263:   int i;
                   4264:   for (i = 0; i < 256; i++)
                   4265:     if (XOR (islower (i), ISLOWER (i))
                   4266:         || toupper (i) != TOUPPER (i))
                   4267:       exit(2);
                   4268:   exit (0);
                   4269: }
                   4270: _ACEOF
                   4271: rm -f conftest$ac_exeext
                   4272: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4273:   (eval $ac_link) 2>&5
                   4274:   ac_status=$?
                   4275:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4276:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4277:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4278:   (eval $ac_try) 2>&5
                   4279:   ac_status=$?
                   4280:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4281:   (exit $ac_status); }; }; then
                   4282:   :
                   4283: else
                   4284:   echo "$as_me: program exited with status $ac_status" >&5
                   4285: echo "$as_me: failed program was:" >&5
1.17      ohara    4286: cat conftest.$ac_ext >&5
1.14      noro     4287: ( exit $ac_status )
                   4288: ac_cv_header_stdc=no
                   4289: fi
1.17      ohara    4290: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     4291: fi
                   4292: fi
                   4293: fi
                   4294: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4295: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4296: if test $ac_cv_header_stdc = yes; then
                   4297:
                   4298: cat >>confdefs.h <<\_ACEOF
                   4299: #define STDC_HEADERS 1
                   4300: _ACEOF
                   4301:
                   4302: fi
                   4303:
                   4304: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4305:
1.2       noro     4306:
1.3       noro     4307:
1.14      noro     4308:
                   4309:
                   4310:
                   4311:
                   4312:
                   4313:
                   4314: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4315:                   inttypes.h stdint.h unistd.h
                   4316: do
                   4317: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4318: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4319: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4320: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   4321:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4322: else
                   4323:   cat >conftest.$ac_ext <<_ACEOF
                   4324: #line $LINENO "configure"
1.17      ohara    4325: #include "confdefs.h"
1.14      noro     4326: $ac_includes_default
                   4327:
                   4328: #include <$ac_header>
                   4329: _ACEOF
                   4330: rm -f conftest.$ac_objext
                   4331: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4332:   (eval $ac_compile) 2>&5
                   4333:   ac_status=$?
                   4334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4335:   (exit $ac_status); } &&
                   4336:          { ac_try='test -s conftest.$ac_objext'
                   4337:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4338:   (eval $ac_try) 2>&5
                   4339:   ac_status=$?
                   4340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4341:   (exit $ac_status); }; }; then
                   4342:   eval "$as_ac_Header=yes"
                   4343: else
                   4344:   echo "$as_me: failed program was:" >&5
1.17      ohara    4345: cat conftest.$ac_ext >&5
1.14      noro     4346: eval "$as_ac_Header=no"
                   4347: fi
                   4348: rm -f conftest.$ac_objext conftest.$ac_ext
                   4349: fi
                   4350: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4351: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4352: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4353:   cat >>confdefs.h <<_ACEOF
                   4354: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4355: _ACEOF
                   4356:
                   4357: fi
                   4358:
                   4359: done
                   4360:
                   4361:
1.18      ohara    4362: echo "$as_me:$LINENO: checking for unsigned long long" >&5
                   4363: echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
                   4364: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
                   4365:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4366: else
                   4367:   cat >conftest.$ac_ext <<_ACEOF
                   4368: #line $LINENO "configure"
                   4369: #include "confdefs.h"
                   4370: $ac_includes_default
                   4371: #ifdef F77_DUMMY_MAIN
                   4372: #  ifdef __cplusplus
                   4373:      extern "C"
                   4374: #  endif
                   4375:    int F77_DUMMY_MAIN() { return 1; }
                   4376: #endif
                   4377: int
                   4378: main ()
                   4379: {
                   4380: if ((unsigned long long *) 0)
                   4381:   return 0;
                   4382: if (sizeof (unsigned long long))
                   4383:   return 0;
                   4384:   ;
                   4385:   return 0;
                   4386: }
                   4387: _ACEOF
                   4388: rm -f conftest.$ac_objext
                   4389: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4390:   (eval $ac_compile) 2>&5
                   4391:   ac_status=$?
                   4392:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4393:   (exit $ac_status); } &&
                   4394:          { ac_try='test -s conftest.$ac_objext'
                   4395:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4396:   (eval $ac_try) 2>&5
                   4397:   ac_status=$?
                   4398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4399:   (exit $ac_status); }; }; then
                   4400:   ac_cv_type_unsigned_long_long=yes
                   4401: else
                   4402:   echo "$as_me: failed program was:" >&5
                   4403: cat conftest.$ac_ext >&5
                   4404: ac_cv_type_unsigned_long_long=no
                   4405: fi
                   4406: rm -f conftest.$ac_objext conftest.$ac_ext
                   4407: fi
                   4408: echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
                   4409: echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
                   4410: if test $ac_cv_type_unsigned_long_long = yes; then
                   4411:
                   4412: cat >>confdefs.h <<_ACEOF
                   4413: #define HAVE_UNSIGNED_LONG_LONG 1
                   4414: _ACEOF
                   4415:
                   4416:
                   4417: fi
                   4418:
1.14      noro     4419: echo "$as_me:$LINENO: checking for long" >&5
                   4420: echo $ECHO_N "checking for long... $ECHO_C" >&6
                   4421: if test "${ac_cv_type_long+set}" = set; then
                   4422:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4423: else
                   4424:   cat >conftest.$ac_ext <<_ACEOF
                   4425: #line $LINENO "configure"
1.17      ohara    4426: #include "confdefs.h"
1.14      noro     4427: $ac_includes_default
1.17      ohara    4428: #ifdef F77_DUMMY_MAIN
                   4429: #  ifdef __cplusplus
                   4430:      extern "C"
                   4431: #  endif
                   4432:    int F77_DUMMY_MAIN() { return 1; }
                   4433: #endif
1.14      noro     4434: int
                   4435: main ()
                   4436: {
                   4437: if ((long *) 0)
                   4438:   return 0;
                   4439: if (sizeof (long))
                   4440:   return 0;
                   4441:   ;
                   4442:   return 0;
                   4443: }
                   4444: _ACEOF
                   4445: rm -f conftest.$ac_objext
                   4446: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4447:   (eval $ac_compile) 2>&5
                   4448:   ac_status=$?
                   4449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4450:   (exit $ac_status); } &&
                   4451:          { ac_try='test -s conftest.$ac_objext'
                   4452:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4453:   (eval $ac_try) 2>&5
                   4454:   ac_status=$?
                   4455:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4456:   (exit $ac_status); }; }; then
                   4457:   ac_cv_type_long=yes
                   4458: else
                   4459:   echo "$as_me: failed program was:" >&5
1.17      ohara    4460: cat conftest.$ac_ext >&5
1.14      noro     4461: ac_cv_type_long=no
                   4462: fi
                   4463: rm -f conftest.$ac_objext conftest.$ac_ext
                   4464: fi
                   4465: echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
                   4466: echo "${ECHO_T}$ac_cv_type_long" >&6
                   4467:
                   4468: echo "$as_me:$LINENO: checking size of long" >&5
                   4469: echo $ECHO_N "checking size of long... $ECHO_C" >&6
                   4470: if test "${ac_cv_sizeof_long+set}" = set; then
                   4471:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4472: else
                   4473:   if test "$ac_cv_type_long" = yes; then
                   4474:   # The cast to unsigned long works around a bug in the HP C Compiler
                   4475:   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   4476:   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   4477:   # This bug is HP SR number 8606223364.
                   4478:   if test "$cross_compiling" = yes; then
                   4479:   # Depending upon the size, compute the lo and hi bounds.
                   4480: cat >conftest.$ac_ext <<_ACEOF
                   4481: #line $LINENO "configure"
1.17      ohara    4482: #include "confdefs.h"
1.14      noro     4483: $ac_includes_default
1.17      ohara    4484: #ifdef F77_DUMMY_MAIN
                   4485: #  ifdef __cplusplus
                   4486:      extern "C"
                   4487: #  endif
                   4488:    int F77_DUMMY_MAIN() { return 1; }
                   4489: #endif
1.14      noro     4490: int
                   4491: main ()
                   4492: {
                   4493: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
                   4494: test_array [0] = 0
                   4495:
                   4496:   ;
                   4497:   return 0;
                   4498: }
                   4499: _ACEOF
                   4500: rm -f conftest.$ac_objext
                   4501: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4502:   (eval $ac_compile) 2>&5
                   4503:   ac_status=$?
                   4504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4505:   (exit $ac_status); } &&
                   4506:          { ac_try='test -s conftest.$ac_objext'
                   4507:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4508:   (eval $ac_try) 2>&5
                   4509:   ac_status=$?
                   4510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4511:   (exit $ac_status); }; }; then
                   4512:   ac_lo=0 ac_mid=0
                   4513:   while :; do
                   4514:     cat >conftest.$ac_ext <<_ACEOF
                   4515: #line $LINENO "configure"
1.17      ohara    4516: #include "confdefs.h"
1.14      noro     4517: $ac_includes_default
1.17      ohara    4518: #ifdef F77_DUMMY_MAIN
                   4519: #  ifdef __cplusplus
                   4520:      extern "C"
                   4521: #  endif
                   4522:    int F77_DUMMY_MAIN() { return 1; }
                   4523: #endif
1.14      noro     4524: int
                   4525: main ()
                   4526: {
                   4527: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   4528: test_array [0] = 0
                   4529:
                   4530:   ;
                   4531:   return 0;
                   4532: }
                   4533: _ACEOF
                   4534: rm -f conftest.$ac_objext
                   4535: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4536:   (eval $ac_compile) 2>&5
                   4537:   ac_status=$?
                   4538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4539:   (exit $ac_status); } &&
                   4540:          { ac_try='test -s conftest.$ac_objext'
                   4541:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4542:   (eval $ac_try) 2>&5
                   4543:   ac_status=$?
                   4544:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4545:   (exit $ac_status); }; }; then
                   4546:   ac_hi=$ac_mid; break
                   4547: else
                   4548:   echo "$as_me: failed program was:" >&5
1.17      ohara    4549: cat conftest.$ac_ext >&5
1.14      noro     4550: ac_lo=`expr $ac_mid + 1`
                   4551:                     if test $ac_lo -le $ac_mid; then
                   4552:                       ac_lo= ac_hi=
                   4553:                       break
                   4554:                     fi
                   4555:                     ac_mid=`expr 2 '*' $ac_mid + 1`
                   4556: fi
                   4557: rm -f conftest.$ac_objext conftest.$ac_ext
                   4558:   done
                   4559: else
                   4560:   echo "$as_me: failed program was:" >&5
1.17      ohara    4561: cat conftest.$ac_ext >&5
1.14      noro     4562: cat >conftest.$ac_ext <<_ACEOF
                   4563: #line $LINENO "configure"
1.17      ohara    4564: #include "confdefs.h"
1.14      noro     4565: $ac_includes_default
1.17      ohara    4566: #ifdef F77_DUMMY_MAIN
                   4567: #  ifdef __cplusplus
                   4568:      extern "C"
                   4569: #  endif
                   4570:    int F77_DUMMY_MAIN() { return 1; }
                   4571: #endif
1.14      noro     4572: int
                   4573: main ()
                   4574: {
                   4575: static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
                   4576: test_array [0] = 0
                   4577:
                   4578:   ;
                   4579:   return 0;
                   4580: }
                   4581: _ACEOF
                   4582: rm -f conftest.$ac_objext
                   4583: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4584:   (eval $ac_compile) 2>&5
                   4585:   ac_status=$?
                   4586:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4587:   (exit $ac_status); } &&
                   4588:          { ac_try='test -s conftest.$ac_objext'
                   4589:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4590:   (eval $ac_try) 2>&5
                   4591:   ac_status=$?
                   4592:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4593:   (exit $ac_status); }; }; then
                   4594:   ac_hi=-1 ac_mid=-1
                   4595:   while :; do
                   4596:     cat >conftest.$ac_ext <<_ACEOF
                   4597: #line $LINENO "configure"
1.17      ohara    4598: #include "confdefs.h"
1.14      noro     4599: $ac_includes_default
1.17      ohara    4600: #ifdef F77_DUMMY_MAIN
                   4601: #  ifdef __cplusplus
                   4602:      extern "C"
                   4603: #  endif
                   4604:    int F77_DUMMY_MAIN() { return 1; }
                   4605: #endif
1.14      noro     4606: int
                   4607: main ()
                   4608: {
                   4609: static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
                   4610: test_array [0] = 0
                   4611:
                   4612:   ;
                   4613:   return 0;
                   4614: }
                   4615: _ACEOF
                   4616: rm -f conftest.$ac_objext
                   4617: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4618:   (eval $ac_compile) 2>&5
                   4619:   ac_status=$?
                   4620:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4621:   (exit $ac_status); } &&
                   4622:          { ac_try='test -s conftest.$ac_objext'
                   4623:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4624:   (eval $ac_try) 2>&5
                   4625:   ac_status=$?
                   4626:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4627:   (exit $ac_status); }; }; then
                   4628:   ac_lo=$ac_mid; break
                   4629: else
                   4630:   echo "$as_me: failed program was:" >&5
1.17      ohara    4631: cat conftest.$ac_ext >&5
1.14      noro     4632: ac_hi=`expr '(' $ac_mid ')' - 1`
                   4633:                        if test $ac_mid -le $ac_hi; then
                   4634:                          ac_lo= ac_hi=
                   4635:                          break
                   4636:                        fi
                   4637:                        ac_mid=`expr 2 '*' $ac_mid`
                   4638: fi
                   4639: rm -f conftest.$ac_objext conftest.$ac_ext
                   4640:   done
                   4641: else
                   4642:   echo "$as_me: failed program was:" >&5
1.17      ohara    4643: cat conftest.$ac_ext >&5
1.14      noro     4644: ac_lo= ac_hi=
                   4645: fi
                   4646: rm -f conftest.$ac_objext conftest.$ac_ext
                   4647: fi
                   4648: rm -f conftest.$ac_objext conftest.$ac_ext
                   4649: # Binary search between lo and hi bounds.
                   4650: while test "x$ac_lo" != "x$ac_hi"; do
                   4651:   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
                   4652:   cat >conftest.$ac_ext <<_ACEOF
                   4653: #line $LINENO "configure"
1.17      ohara    4654: #include "confdefs.h"
1.14      noro     4655: $ac_includes_default
1.17      ohara    4656: #ifdef F77_DUMMY_MAIN
                   4657: #  ifdef __cplusplus
                   4658:      extern "C"
                   4659: #  endif
                   4660:    int F77_DUMMY_MAIN() { return 1; }
                   4661: #endif
1.14      noro     4662: int
                   4663: main ()
                   4664: {
                   4665: static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
                   4666: test_array [0] = 0
                   4667:
                   4668:   ;
                   4669:   return 0;
                   4670: }
                   4671: _ACEOF
                   4672: rm -f conftest.$ac_objext
                   4673: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4674:   (eval $ac_compile) 2>&5
                   4675:   ac_status=$?
                   4676:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4677:   (exit $ac_status); } &&
                   4678:          { ac_try='test -s conftest.$ac_objext'
                   4679:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4680:   (eval $ac_try) 2>&5
                   4681:   ac_status=$?
                   4682:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4683:   (exit $ac_status); }; }; then
                   4684:   ac_hi=$ac_mid
                   4685: else
                   4686:   echo "$as_me: failed program was:" >&5
1.17      ohara    4687: cat conftest.$ac_ext >&5
1.14      noro     4688: ac_lo=`expr '(' $ac_mid ')' + 1`
                   4689: fi
                   4690: rm -f conftest.$ac_objext conftest.$ac_ext
                   4691: done
                   4692: case $ac_lo in
                   4693: ?*) ac_cv_sizeof_long=$ac_lo;;
1.17      ohara    4694: '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
                   4695: echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
1.14      noro     4696:    { (exit 1); exit 1; }; } ;;
                   4697: esac
                   4698: else
                   4699:   if test "$cross_compiling" = yes; then
1.17      ohara    4700:   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
                   4701: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
1.14      noro     4702:    { (exit 1); exit 1; }; }
                   4703: else
                   4704:   cat >conftest.$ac_ext <<_ACEOF
                   4705: #line $LINENO "configure"
1.17      ohara    4706: #include "confdefs.h"
1.14      noro     4707: $ac_includes_default
                   4708: long longval () { return (long) (sizeof (long)); }
                   4709: unsigned long ulongval () { return (long) (sizeof (long)); }
                   4710: #include <stdio.h>
                   4711: #include <stdlib.h>
1.17      ohara    4712: #ifdef F77_DUMMY_MAIN
                   4713: #  ifdef __cplusplus
                   4714:      extern "C"
                   4715: #  endif
                   4716:    int F77_DUMMY_MAIN() { return 1; }
                   4717: #endif
1.14      noro     4718: int
                   4719: main ()
                   4720: {
                   4721:
                   4722:   FILE *f = fopen ("conftest.val", "w");
                   4723:   if (! f)
                   4724:     exit (1);
                   4725:   if (((long) (sizeof (long))) < 0)
                   4726:     {
                   4727:       long i = longval ();
                   4728:       if (i != ((long) (sizeof (long))))
                   4729:        exit (1);
                   4730:       fprintf (f, "%ld\n", i);
                   4731:     }
                   4732:   else
                   4733:     {
                   4734:       unsigned long i = ulongval ();
                   4735:       if (i != ((long) (sizeof (long))))
                   4736:        exit (1);
                   4737:       fprintf (f, "%lu\n", i);
                   4738:     }
                   4739:   exit (ferror (f) || fclose (f) != 0);
                   4740:
                   4741:   ;
                   4742:   return 0;
                   4743: }
                   4744: _ACEOF
                   4745: rm -f conftest$ac_exeext
                   4746: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4747:   (eval $ac_link) 2>&5
                   4748:   ac_status=$?
                   4749:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4750:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   4751:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4752:   (eval $ac_try) 2>&5
                   4753:   ac_status=$?
                   4754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4755:   (exit $ac_status); }; }; then
                   4756:   ac_cv_sizeof_long=`cat conftest.val`
                   4757: else
                   4758:   echo "$as_me: program exited with status $ac_status" >&5
                   4759: echo "$as_me: failed program was:" >&5
1.17      ohara    4760: cat conftest.$ac_ext >&5
1.14      noro     4761: ( exit $ac_status )
1.17      ohara    4762: { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
                   4763: echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
1.14      noro     4764:    { (exit 1); exit 1; }; }
                   4765: fi
1.17      ohara    4766: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.14      noro     4767: fi
                   4768: fi
                   4769: rm -f conftest.val
                   4770: else
                   4771:   ac_cv_sizeof_long=0
                   4772: fi
                   4773: fi
                   4774: echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
                   4775: echo "${ECHO_T}$ac_cv_sizeof_long" >&6
                   4776: cat >>confdefs.h <<_ACEOF
                   4777: #define SIZEOF_LONG $ac_cv_sizeof_long
                   4778: _ACEOF
                   4779:
                   4780:
1.16      noro     4781: if test SIZEOF_LONG = 8; then
                   4782:     cat >>confdefs.h <<\_ACEOF
1.14      noro     4783: #define LONG_IS_64BIT 1
                   4784: _ACEOF
                   4785:
1.16      noro     4786: else
                   4787:     cat >>confdefs.h <<\_ACEOF
1.14      noro     4788: #define LONG_IS_32BIT 1
                   4789: _ACEOF
                   4790:
                   4791: fi
                   4792: if test "${no_x}" != yes ; then
1.21      ohara    4793:     if test -f "${x_libraries}/libXpm.a" ; then
                   4794:            XPMLIB="-lXpm"
                   4795:     fi
1.14      noro     4796:     # Check whether --enable-plot or --disable-plot was given.
                   4797: if test "${enable_plot+set}" = set; then
                   4798:   enableval="$enable_plot"
                   4799:   enable_plot=yes
                   4800: else
                   4801:   enable_plot=no
                   4802: fi;
                   4803: fi
                   4804:
1.21      ohara    4805:
1.14      noro     4806: if test ${enable_plot:=no} != no ; then
                   4807:     libasir_postfix=${libasir_postfix}_X
                   4808:     cat >>confdefs.h <<\_ACEOF
                   4809: #define DO_PLOT 1
                   4810: _ACEOF
                   4811:
                   4812: fi
                   4813:
                   4814:
                   4815: if test "$enable_plot" = yes; then
                   4816:   USE_PLOT_TRUE=
                   4817:   USE_PLOT_FALSE='#'
                   4818: else
                   4819:   USE_PLOT_TRUE='#'
                   4820:   USE_PLOT_FALSE=
                   4821: fi
                   4822:
                   4823: # Check whether --enable-interval or --disable-interval was given.
                   4824: if test "${enable_interval+set}" = set; then
                   4825:   enableval="$enable_interval"
                   4826:   enable_interval=${enableval}
                   4827: else
                   4828:   enable_interval=no
                   4829: fi;
                   4830:
                   4831: if test ${enable_interval:=no} != no ; then
                   4832:     libasir_postfix=${libasir_postfix}_itv
                   4833:     cat >>confdefs.h <<\_ACEOF
                   4834: #define INTERVAL 1
                   4835: _ACEOF
                   4836:
                   4837:     if test "${enable_interval}" = debug ; then
                   4838:        cat >>confdefs.h <<\_ACEOF
                   4839: #define ITVDEBUG 1
                   4840: _ACEOF
                   4841:
                   4842:     fi
                   4843: fi
                   4844:
                   4845:
                   4846: if test "${enable_fep:=no}" != no ; then
                   4847:     cat >>confdefs.h <<\_ACEOF
                   4848: #define FEP 1
                   4849: _ACEOF
                   4850:
                   4851:     FEPLIB="-lreadline -ltermcap"
                   4852: fi
                   4853:
                   4854:
                   4855: # Check whether --enable-fft-float or --disable-fft-float was given.
                   4856: if test "${enable_fft_float+set}" = set; then
                   4857:   enableval="$enable_fft_float"
                   4858:   enable_fft_float=yes
                   4859: else
                   4860:   enable_fft_float=no
                   4861: fi;
                   4862:
                   4863: if test "${enable_fft_float:=no}" != no ; then
                   4864:     cat >>confdefs.h <<\_ACEOF
                   4865: #define USE_FLOAT 1
                   4866: _ACEOF
                   4867:
                   4868: fi
                   4869:
                   4870:
                   4871: if test "${with_mpi:=no}" != no ; then
                   4872:     MPIINC="-I/opt/FJSVmpi2/include"
                   4873:     MPILIB="-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread"
                   4874:     cat >>confdefs.h <<\_ACEOF
                   4875: #define MPI 1
                   4876: _ACEOF
                   4877:
                   4878: fi
                   4879:
                   4880:
                   4881:
                   4882:
                   4883: if test "${with_lapack:=no}" != no ; then
                   4884:     LAPACKLIB="-llapack -lblas -lI77 -lF77"
                   4885:     cat >>confdefs.h <<\_ACEOF
                   4886: #define LAPACK 1
                   4887: _ACEOF
                   4888:
                   4889: fi
                   4890:
                   4891:
                   4892:
                   4893:
                   4894:
                   4895: i386_elf_obj=asmi_l.o
                   4896: i386_aout_obj=asmi.o
                   4897: sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o"
                   4898: sparc_v9_obj="sparc-2.o asm5-2.o edr-2.o"
                   4899: generic_obj=asmalpha.o
                   4900:
                   4901: case "${host}" in
1.20      ohara    4902: i[3-6]86-*-freebsd[3-9].*)
1.14      noro     4903:     asm_obj="${i386_elf_obj}"
1.20      ohara    4904:     ;;
                   4905: i[3-6]86-*-linux*|x86-*-linux*)
                   4906:     asm_obj="${i386_elf_obj}"
                   4907:     cat >>confdefs.h <<\_ACEOF
                   4908: #define BSD_SOURCE 1
                   4909: _ACEOF
                   4910:
1.14      noro     4911:     ;;
                   4912: *-*-cygwin*)
                   4913:     asm_obj="${i386_aout_obj}"
                   4914:     ;;
                   4915: sparc-sun-solaris2.*)
                   4916:     case "`uname -m`" in
                   4917:     sun4[dm]) asm_obj="${sparc_v8_obj}" ;;
                   4918:     sun4u*)     asm_obj="${sparc_v9_obj}" ;;
                   4919:     *)          asm_obj="${generic_obj}"  ;;
                   4920:     esac
                   4921:     cat >>confdefs.h <<\_ACEOF
                   4922: #define SYSV 1
                   4923: _ACEOF
                   4924:
                   4925:     ;;
                   4926: powerpc-apple-darwin*)
                   4927:     asm_obj="${generic_obj}"
                   4928:     cat >>confdefs.h <<\_ACEOF
                   4929: #define __DARWIN__ 1
                   4930: _ACEOF
                   4931:
1.19      ohara    4932:     ;;
                   4933: arm*-*-linux*)
                   4934:     asm_obj="${generic_obj}"
                   4935:     if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
                   4936:         CFLAGS="${CFLAGS} -fsigned-char"
                   4937:     fi
1.14      noro     4938:     ;;
                   4939: *)
                   4940:     asm_obj="${generic_obj}"
                   4941:     ;;
                   4942: esac
                   4943:
                   4944:
                   4945:
                   4946: echo "$as_me:$LINENO: checking for socket" >&5
                   4947: echo $ECHO_N "checking for socket... $ECHO_C" >&6
                   4948: if test "${ac_cv_func_socket+set}" = set; then
                   4949:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4950: else
                   4951:   cat >conftest.$ac_ext <<_ACEOF
                   4952: #line $LINENO "configure"
1.17      ohara    4953: #include "confdefs.h"
1.14      noro     4954: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    4955:     which can conflict with char socket (); below.  */
                   4956: #include <assert.h>
1.14      noro     4957: /* Override any gcc2 internal prototype to avoid an error.  */
                   4958: #ifdef __cplusplus
                   4959: extern "C"
                   4960: #endif
                   4961: /* We use char because int might match the return type of a gcc2
                   4962:    builtin and then its argument prototype would still apply.  */
                   4963: char socket ();
1.17      ohara    4964: char (*f) ();
                   4965:
                   4966: #ifdef F77_DUMMY_MAIN
                   4967: #  ifdef __cplusplus
                   4968:      extern "C"
                   4969: #  endif
                   4970:    int F77_DUMMY_MAIN() { return 1; }
                   4971: #endif
                   4972: int
                   4973: main ()
                   4974: {
1.14      noro     4975: /* The GNU C library defines this for functions which it implements
                   4976:     to always fail with ENOSYS.  Some functions are actually named
                   4977:     something starting with __ and the normal name is an alias.  */
                   4978: #if defined (__stub_socket) || defined (__stub___socket)
                   4979: choke me
                   4980: #else
1.17      ohara    4981: f = socket;
1.14      noro     4982: #endif
                   4983:
                   4984:   ;
                   4985:   return 0;
                   4986: }
                   4987: _ACEOF
                   4988: rm -f conftest.$ac_objext conftest$ac_exeext
                   4989: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4990:   (eval $ac_link) 2>&5
                   4991:   ac_status=$?
                   4992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4993:   (exit $ac_status); } &&
                   4994:          { ac_try='test -s conftest$ac_exeext'
                   4995:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4996:   (eval $ac_try) 2>&5
                   4997:   ac_status=$?
                   4998:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4999:   (exit $ac_status); }; }; then
                   5000:   ac_cv_func_socket=yes
                   5001: else
                   5002:   echo "$as_me: failed program was:" >&5
1.17      ohara    5003: cat conftest.$ac_ext >&5
1.14      noro     5004: ac_cv_func_socket=no
                   5005: fi
                   5006: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5007: fi
                   5008: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
                   5009: echo "${ECHO_T}$ac_cv_func_socket" >&6
                   5010: if test $ac_cv_func_socket = yes; then
                   5011:   :
                   5012: else
                   5013:
                   5014: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   5015: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   5016: if test "${ac_cv_lib_socket_socket+set}" = set; then
                   5017:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5018: else
                   5019:   ac_check_lib_save_LIBS=$LIBS
                   5020: LIBS="-lsocket  $LIBS"
                   5021: cat >conftest.$ac_ext <<_ACEOF
                   5022: #line $LINENO "configure"
1.17      ohara    5023: #include "confdefs.h"
1.14      noro     5024:
                   5025: /* Override any gcc2 internal prototype to avoid an error.  */
                   5026: #ifdef __cplusplus
                   5027: extern "C"
                   5028: #endif
                   5029: /* We use char because int might match the return type of a gcc2
                   5030:    builtin and then its argument prototype would still apply.  */
                   5031: char socket ();
1.17      ohara    5032: #ifdef F77_DUMMY_MAIN
                   5033: #  ifdef __cplusplus
                   5034:      extern "C"
                   5035: #  endif
                   5036:    int F77_DUMMY_MAIN() { return 1; }
                   5037: #endif
1.14      noro     5038: int
                   5039: main ()
                   5040: {
                   5041: socket ();
                   5042:   ;
                   5043:   return 0;
                   5044: }
                   5045: _ACEOF
                   5046: rm -f conftest.$ac_objext conftest$ac_exeext
                   5047: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5048:   (eval $ac_link) 2>&5
                   5049:   ac_status=$?
                   5050:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5051:   (exit $ac_status); } &&
                   5052:          { ac_try='test -s conftest$ac_exeext'
                   5053:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5054:   (eval $ac_try) 2>&5
                   5055:   ac_status=$?
                   5056:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5057:   (exit $ac_status); }; }; then
                   5058:   ac_cv_lib_socket_socket=yes
                   5059: else
                   5060:   echo "$as_me: failed program was:" >&5
1.17      ohara    5061: cat conftest.$ac_ext >&5
1.14      noro     5062: ac_cv_lib_socket_socket=no
                   5063: fi
                   5064: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5065: LIBS=$ac_check_lib_save_LIBS
                   5066: fi
                   5067: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   5068: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   5069: if test $ac_cv_lib_socket_socket = yes; then
                   5070:   cat >>confdefs.h <<_ACEOF
                   5071: #define HAVE_LIBSOCKET 1
                   5072: _ACEOF
                   5073:
                   5074:   LIBS="-lsocket $LIBS"
                   5075:
                   5076: fi
                   5077:
                   5078: fi
                   5079:
                   5080: echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   5081: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   5082: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   5083:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5084: else
                   5085:   cat >conftest.$ac_ext <<_ACEOF
                   5086: #line $LINENO "configure"
1.17      ohara    5087: #include "confdefs.h"
1.14      noro     5088: /* System header to define __stub macros and hopefully few prototypes,
1.17      ohara    5089:     which can conflict with char gethostbyname (); below.  */
                   5090: #include <assert.h>
1.14      noro     5091: /* Override any gcc2 internal prototype to avoid an error.  */
                   5092: #ifdef __cplusplus
                   5093: extern "C"
                   5094: #endif
                   5095: /* We use char because int might match the return type of a gcc2
                   5096:    builtin and then its argument prototype would still apply.  */
                   5097: char gethostbyname ();
1.17      ohara    5098: char (*f) ();
                   5099:
                   5100: #ifdef F77_DUMMY_MAIN
                   5101: #  ifdef __cplusplus
                   5102:      extern "C"
                   5103: #  endif
                   5104:    int F77_DUMMY_MAIN() { return 1; }
                   5105: #endif
                   5106: int
                   5107: main ()
                   5108: {
1.14      noro     5109: /* The GNU C library defines this for functions which it implements
                   5110:     to always fail with ENOSYS.  Some functions are actually named
                   5111:     something starting with __ and the normal name is an alias.  */
                   5112: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   5113: choke me
                   5114: #else
1.17      ohara    5115: f = gethostbyname;
1.14      noro     5116: #endif
                   5117:
                   5118:   ;
                   5119:   return 0;
                   5120: }
                   5121: _ACEOF
                   5122: rm -f conftest.$ac_objext conftest$ac_exeext
                   5123: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5124:   (eval $ac_link) 2>&5
                   5125:   ac_status=$?
                   5126:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5127:   (exit $ac_status); } &&
                   5128:          { ac_try='test -s conftest$ac_exeext'
                   5129:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5130:   (eval $ac_try) 2>&5
                   5131:   ac_status=$?
                   5132:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5133:   (exit $ac_status); }; }; then
                   5134:   ac_cv_func_gethostbyname=yes
                   5135: else
                   5136:   echo "$as_me: failed program was:" >&5
1.17      ohara    5137: cat conftest.$ac_ext >&5
1.14      noro     5138: ac_cv_func_gethostbyname=no
                   5139: fi
                   5140: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5141: fi
                   5142: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   5143: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
                   5144: if test $ac_cv_func_gethostbyname = yes; then
                   5145:   :
                   5146: else
                   5147:
                   5148: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   5149: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   5150: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   5151:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5152: else
                   5153:   ac_check_lib_save_LIBS=$LIBS
                   5154: LIBS="-lnsl  $LIBS"
                   5155: cat >conftest.$ac_ext <<_ACEOF
                   5156: #line $LINENO "configure"
1.17      ohara    5157: #include "confdefs.h"
1.14      noro     5158:
                   5159: /* Override any gcc2 internal prototype to avoid an error.  */
                   5160: #ifdef __cplusplus
                   5161: extern "C"
                   5162: #endif
                   5163: /* We use char because int might match the return type of a gcc2
                   5164:    builtin and then its argument prototype would still apply.  */
                   5165: char gethostbyname ();
1.17      ohara    5166: #ifdef F77_DUMMY_MAIN
                   5167: #  ifdef __cplusplus
                   5168:      extern "C"
                   5169: #  endif
                   5170:    int F77_DUMMY_MAIN() { return 1; }
                   5171: #endif
1.14      noro     5172: int
                   5173: main ()
                   5174: {
                   5175: gethostbyname ();
                   5176:   ;
                   5177:   return 0;
                   5178: }
                   5179: _ACEOF
                   5180: rm -f conftest.$ac_objext conftest$ac_exeext
                   5181: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5182:   (eval $ac_link) 2>&5
                   5183:   ac_status=$?
                   5184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5185:   (exit $ac_status); } &&
                   5186:          { ac_try='test -s conftest$ac_exeext'
                   5187:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5188:   (eval $ac_try) 2>&5
                   5189:   ac_status=$?
                   5190:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5191:   (exit $ac_status); }; }; then
                   5192:   ac_cv_lib_nsl_gethostbyname=yes
                   5193: else
                   5194:   echo "$as_me: failed program was:" >&5
1.17      ohara    5195: cat conftest.$ac_ext >&5
1.14      noro     5196: ac_cv_lib_nsl_gethostbyname=no
                   5197: fi
                   5198: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5199: LIBS=$ac_check_lib_save_LIBS
                   5200: fi
                   5201: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5202: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   5203: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   5204:   cat >>confdefs.h <<_ACEOF
                   5205: #define HAVE_LIBNSL 1
                   5206: _ACEOF
                   5207:
                   5208:   LIBS="-lnsl $LIBS"
                   5209:
                   5210: fi
                   5211:
                   5212: fi
                   5213:
                   5214:
1.17      ohara    5215: 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     5216: cat >confcache <<\_ACEOF
                   5217: # This file is a shell script that caches the results of configure
                   5218: # tests run on this system so they can be shared between configure
                   5219: # scripts and configure runs, see configure's option --config-cache.
                   5220: # It is not useful on other systems.  If it contains results you don't
                   5221: # want to keep, you may remove or edit it.
                   5222: #
                   5223: # config.status only pays attention to the cache file if you give it
                   5224: # the --recheck option to rerun configure.
                   5225: #
1.17      ohara    5226: # `ac_cv_env_foo' variables (set or unset) will be overriden when
1.14      noro     5227: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   5228: # following values.
                   5229:
                   5230: _ACEOF
                   5231:
                   5232: # The following way of writing the cache mishandles newlines in values,
                   5233: # but we know of no workaround that is simple, portable, and efficient.
                   5234: # So, don't put newlines in cache variables' values.
                   5235: # Ultrix sh set writes to stderr and can't be redirected directly,
                   5236: # and sets the high bit in the cache file unless we assign to the vars.
                   5237: {
                   5238:   (set) 2>&1 |
                   5239:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   5240:     *ac_space=\ *)
                   5241:       # `set' does not quote correctly, so add quotes (double-quote
                   5242:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   5243:       sed -n \
                   5244:         "s/'/'\\\\''/g;
                   5245:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   5246:       ;;
                   5247:     *)
                   5248:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   5249:       sed -n \
                   5250:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   5251:       ;;
                   5252:     esac;
                   5253: } |
                   5254:   sed '
                   5255:      t clear
                   5256:      : clear
                   5257:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   5258:      t end
                   5259:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   5260:      : end' >>confcache
1.17      ohara    5261: if cmp -s $cache_file confcache; then :; else
1.14      noro     5262:   if test -w $cache_file; then
                   5263:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   5264:     cat confcache >$cache_file
                   5265:   else
                   5266:     echo "not updating unwritable cache $cache_file"
                   5267:   fi
                   5268: fi
                   5269: rm -f confcache
                   5270:
                   5271: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   5272: # Let make expand exec_prefix.
                   5273: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   5274:
                   5275: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   5276: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   5277: # trailing colons and then remove the whole line if VPATH becomes empty
                   5278: # (actually we leave an empty line to preserve line numbers).
                   5279: if test "x$srcdir" = x.; then
                   5280:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   5281: s/:*\$(srcdir):*/:/;
                   5282: s/:*\${srcdir}:*/:/;
                   5283: s/:*@srcdir@:*/:/;
                   5284: s/^\([^=]*=[   ]*\):*/\1/;
                   5285: s/:*$//;
                   5286: s/^[^=]*=[     ]*$//;
                   5287: }'
                   5288: fi
                   5289:
                   5290: # Transform confdefs.h into DEFS.
                   5291: # Protect against shell expansion while executing Makefile rules.
                   5292: # Protect against Makefile macro expansion.
                   5293: #
                   5294: # If the first sed substitution is executed (which looks for macros that
                   5295: # take arguments), then we branch to the quote section.  Otherwise,
                   5296: # look for a macro that doesn't take arguments.
                   5297: cat >confdef2opt.sed <<\_ACEOF
                   5298: t clear
                   5299: : clear
                   5300: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
                   5301: t quote
                   5302: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
                   5303: t quote
                   5304: d
                   5305: : quote
                   5306: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
                   5307: s,\[,\\&,g
                   5308: s,\],\\&,g
                   5309: s,\$,$$,g
                   5310: p
                   5311: _ACEOF
                   5312: # We use echo to avoid assuming a particular line-breaking character.
                   5313: # The extra dot is to prevent the shell from consuming trailing
                   5314: # line-breaks from the sub-command output.  A line-break within
                   5315: # single-quotes doesn't work because, if this script is created in a
                   5316: # platform that uses two characters for line-breaks (e.g., DOS), tr
                   5317: # would break.
                   5318: ac_LF_and_DOT=`echo; echo .`
                   5319: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
                   5320: rm -f confdef2opt.sed
                   5321:
                   5322:
                   5323:
                   5324: : ${CONFIG_STATUS=./config.status}
                   5325: ac_clean_files_save=$ac_clean_files
                   5326: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   5327: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   5328: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   5329: cat >$CONFIG_STATUS <<_ACEOF
                   5330: #! $SHELL
                   5331: # Generated by $as_me.
                   5332: # Run this file to recreate the current configuration.
                   5333: # Compiler output produced by configure, useful for debugging
                   5334: # configure, is in config.log if it exists.
                   5335:
                   5336: debug=false
                   5337: SHELL=\${CONFIG_SHELL-$SHELL}
                   5338: _ACEOF
                   5339:
                   5340: cat >>$CONFIG_STATUS <<\_ACEOF
1.17      ohara    5341:
1.14      noro     5342: ## --------------------- ##
                   5343: ## M4sh Initialization.  ##
                   5344: ## --------------------- ##
                   5345:
                   5346: # Be Bourne compatible
                   5347: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   5348:   emulate sh
                   5349:   NULLCMD=:
                   5350: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   5351:   set -o posix
                   5352: fi
                   5353:
1.17      ohara    5354: # NLS nuisances.
1.14      noro     5355: # Support unset when possible.
                   5356: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   5357:   as_unset=unset
                   5358: else
                   5359:   as_unset=false
                   5360: fi
                   5361:
1.17      ohara    5362: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                   5363:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                   5364:       { LANG=C; export LANG; }
                   5365: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                   5366:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                   5367:       { LC_ALL=C; export LC_ALL; }
                   5368: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                   5369:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                   5370:       { LC_TIME=C; export LC_TIME; }
                   5371: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                   5372:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                   5373:       { LC_CTYPE=C; export LC_CTYPE; }
                   5374: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                   5375:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                   5376:       { LANGUAGE=C; export LANGUAGE; }
                   5377: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                   5378:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                   5379:       { LC_COLLATE=C; export LC_COLLATE; }
                   5380: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                   5381:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                   5382:       { LC_NUMERIC=C; export LC_NUMERIC; }
                   5383: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                   5384:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                   5385:       { LC_MESSAGES=C; export LC_MESSAGES; }
1.14      noro     5386:
                   5387:
                   5388: # Name of the executable.
1.17      ohara    5389: as_me=`(basename "$0") 2>/dev/null ||
1.14      noro     5390: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   5391:         X"$0" : 'X\(//\)$' \| \
                   5392:         X"$0" : 'X\(/\)$' \| \
                   5393:         .     : '\(.\)' 2>/dev/null ||
                   5394: echo X/"$0" |
                   5395:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   5396:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   5397:          /^X\/\(\/\).*/{ s//\1/; q; }
                   5398:          s/.*/./; q'`
                   5399:
                   5400: # PATH needs CR, and LINENO needs CR and PATH.
                   5401: # Avoid depending upon Character Ranges.
                   5402: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   5403: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   5404: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   5405: as_cr_digits='0123456789'
                   5406: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   5407:
                   5408: # The user is always right.
                   5409: if test "${PATH_SEPARATOR+set}" != set; then
1.17      ohara    5410:   echo "#! /bin/sh" >conftest.sh
                   5411:   echo  "exit 0"   >>conftest.sh
                   5412:   chmod +x conftest.sh
                   5413:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1.14      noro     5414:     PATH_SEPARATOR=';'
                   5415:   else
                   5416:     PATH_SEPARATOR=:
                   5417:   fi
1.17      ohara    5418:   rm -f conftest.sh
1.14      noro     5419: fi
                   5420:
                   5421:
                   5422:   as_lineno_1=$LINENO
                   5423:   as_lineno_2=$LINENO
                   5424:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   5425:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   5426:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   5427:   # Find who we are.  Look in the path if we contain no path at all
                   5428:   # relative or not.
                   5429:   case $0 in
                   5430:     *[\\/]* ) as_myself=$0 ;;
                   5431:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5432: for as_dir in $PATH
                   5433: do
                   5434:   IFS=$as_save_IFS
                   5435:   test -z "$as_dir" && as_dir=.
                   5436:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   5437: done
                   5438:
                   5439:        ;;
                   5440:   esac
                   5441:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   5442:   # in which case we are not to be found in the path.
                   5443:   if test "x$as_myself" = x; then
                   5444:     as_myself=$0
                   5445:   fi
                   5446:   if test ! -f "$as_myself"; then
                   5447:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   5448: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   5449:    { (exit 1); exit 1; }; }
                   5450:   fi
                   5451:   case $CONFIG_SHELL in
                   5452:   '')
                   5453:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5454: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.2       noro     5455: do
1.14      noro     5456:   IFS=$as_save_IFS
                   5457:   test -z "$as_dir" && as_dir=.
                   5458:   for as_base in sh bash ksh sh5; do
                   5459:         case $as_dir in
                   5460:         /*)
                   5461:           if ("$as_dir/$as_base" -c '
                   5462:   as_lineno_1=$LINENO
                   5463:   as_lineno_2=$LINENO
                   5464:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   5465:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   5466:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   5467:             CONFIG_SHELL=$as_dir/$as_base
                   5468:             export CONFIG_SHELL
                   5469:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   5470:           fi;;
                   5471:         esac
                   5472:        done
1.2       noro     5473: done
1.14      noro     5474: ;;
                   5475:   esac
1.2       noro     5476:
1.14      noro     5477:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   5478:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   5479:   # line-number line before each line; the second 'sed' does the real
                   5480:   # work.  The second script uses 'N' to pair each line-number line
                   5481:   # with the numbered line, and appends trailing '-' during
                   5482:   # substitution so that $LINENO is not a special case at line end.
                   5483:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   5484:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   5485:   sed '=' <$as_myself |
                   5486:     sed '
                   5487:       N
                   5488:       s,$,-,
                   5489:       : loop
                   5490:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   5491:       t loop
                   5492:       s,-$,,
                   5493:       s,^['$as_cr_digits']*\n,,
                   5494:     ' >$as_me.lineno &&
                   5495:   chmod +x $as_me.lineno ||
                   5496:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   5497: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   5498:    { (exit 1); exit 1; }; }
                   5499:
                   5500:   # Don't try to exec as it changes $[0], causing all sort of problems
                   5501:   # (the dirname of $[0] is not the place where we might find the
                   5502:   # original and so on.  Autoconf is especially sensible to this).
                   5503:   . ./$as_me.lineno
                   5504:   # Exit status is that of the last command.
                   5505:   exit
                   5506: }
                   5507:
                   5508:
                   5509: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   5510:   *c*,-n*) ECHO_N= ECHO_C='
                   5511: ' ECHO_T='     ' ;;
                   5512:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   5513:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   5514: esac
1.2       noro     5515:
1.14      noro     5516: if expr a : '\(a\)' >/dev/null 2>&1; then
                   5517:   as_expr=expr
                   5518: else
                   5519:   as_expr=false
                   5520: fi
1.2       noro     5521:
1.14      noro     5522: rm -f conf$$ conf$$.exe conf$$.file
                   5523: echo >conf$$.file
                   5524: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   5525:   # We could just check for DJGPP; but this test a) works b) is more generic
                   5526:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   5527:   if test -f conf$$.exe; then
                   5528:     # Don't use ln at all; we don't have any links
                   5529:     as_ln_s='cp -p'
                   5530:   else
                   5531:     as_ln_s='ln -s'
                   5532:   fi
                   5533: elif ln conf$$.file conf$$ 2>/dev/null; then
                   5534:   as_ln_s=ln
                   5535: else
                   5536:   as_ln_s='cp -p'
                   5537: fi
                   5538: rm -f conf$$ conf$$.exe conf$$.file
1.2       noro     5539:
1.14      noro     5540: as_executable_p="test -f"
                   5541:
                   5542: # Sed expression to map a string onto a valid CPP name.
                   5543: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   5544:
                   5545: # Sed expression to map a string onto a valid variable name.
                   5546: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   5547:
                   5548:
                   5549: # IFS
                   5550: # We need space, tab and new line, in precisely that order.
                   5551: as_nl='
                   5552: '
                   5553: IFS="  $as_nl"
                   5554:
                   5555: # CDPATH.
1.17      ohara    5556: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1.14      noro     5557:
                   5558: exec 6>&1
                   5559:
                   5560: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   5561: # report actual input values of CONFIG_FILES etc. instead of their
                   5562: # values after options handling.  Logging --version etc. is OK.
                   5563: exec 5>>config.log
                   5564: {
                   5565:   echo
                   5566:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   5567: ## Running $as_me. ##
                   5568: _ASBOX
                   5569: } >&5
                   5570: cat >&5 <<_CSEOF
                   5571:
                   5572: This file was extended by $as_me, which was
1.17      ohara    5573: generated by GNU Autoconf 2.53.  Invocation command line was
1.14      noro     5574:
                   5575:   CONFIG_FILES    = $CONFIG_FILES
                   5576:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   5577:   CONFIG_LINKS    = $CONFIG_LINKS
                   5578:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   5579:   $ $0 $@
                   5580:
                   5581: _CSEOF
                   5582: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   5583: echo >&5
                   5584: _ACEOF
                   5585:
                   5586: # Files that config.status was made for.
                   5587: if test -n "$ac_config_files"; then
                   5588:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1.2       noro     5589: fi
                   5590:
1.14      noro     5591: if test -n "$ac_config_headers"; then
                   5592:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1.1       noro     5593: fi
1.2       noro     5594:
1.14      noro     5595: if test -n "$ac_config_links"; then
                   5596:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1.4       saito    5597: fi
                   5598:
1.14      noro     5599: if test -n "$ac_config_commands"; then
                   5600:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1.4       saito    5601: fi
                   5602:
1.14      noro     5603: cat >>$CONFIG_STATUS <<\_ACEOF
                   5604:
                   5605: ac_cs_usage="\
                   5606: \`$as_me' instantiates files from templates according to the
                   5607: current configuration.
                   5608:
                   5609: Usage: $0 [OPTIONS] [FILE]...
                   5610:
                   5611:   -h, --help       print this help, then exit
                   5612:   -V, --version    print version number, then exit
                   5613:   -d, --debug      don't remove temporary files
                   5614:       --recheck    update $as_me by reconfiguring in the same conditions
                   5615:   --file=FILE[:TEMPLATE]
                   5616:                    instantiate the configuration file FILE
1.4       saito    5617:
1.14      noro     5618: Configuration files:
                   5619: $config_files
                   5620:
                   5621: Configuration commands:
                   5622: $config_commands
                   5623:
                   5624: Report bugs to <bug-autoconf@gnu.org>."
                   5625: _ACEOF
                   5626:
                   5627: cat >>$CONFIG_STATUS <<_ACEOF
                   5628: ac_cs_version="\\
                   5629: config.status
1.17      ohara    5630: configured by $0, generated by GNU Autoconf 2.53,
1.14      noro     5631:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   5632:
                   5633: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   5634: Free Software Foundation, Inc.
                   5635: This config.status script is free software; the Free Software Foundation
                   5636: gives unlimited permission to copy, distribute and modify it."
                   5637: srcdir=$srcdir
                   5638: INSTALL="$INSTALL"
                   5639: _ACEOF
                   5640:
                   5641: cat >>$CONFIG_STATUS <<\_ACEOF
                   5642: # If no file are specified by the user, then we need to provide default
                   5643: # value.  By we need to know if files were specified by the user.
                   5644: ac_need_defaults=:
                   5645: while test $# != 0
                   5646: do
                   5647:   case $1 in
                   5648:   --*=*)
                   5649:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   5650:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1.17      ohara    5651:     shift
                   5652:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
                   5653:     shift
1.12      ohara    5654:     ;;
1.17      ohara    5655:   -*);;
1.14      noro     5656:   *) # This is not an option, so the user has probably given explicit
                   5657:      # arguments.
                   5658:      ac_need_defaults=false;;
                   5659:   esac
                   5660:
1.17      ohara    5661:   case $1 in
1.14      noro     5662:   # Handling of the options.
                   5663: _ACEOF
1.17      ohara    5664: cat >>$CONFIG_STATUS <<_ACEOF
                   5665:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   5666:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
                   5667:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
                   5668: _ACEOF
1.14      noro     5669: cat >>$CONFIG_STATUS <<\_ACEOF
                   5670:   --version | --vers* | -V )
                   5671:     echo "$ac_cs_version"; exit 0 ;;
                   5672:   --he | --h)
                   5673:     # Conflict between --help and --header
                   5674:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   5675: Try \`$0 --help' for more information." >&5
                   5676: echo "$as_me: error: ambiguous option: $1
                   5677: Try \`$0 --help' for more information." >&2;}
                   5678:    { (exit 1); exit 1; }; };;
                   5679:   --help | --hel | -h )
                   5680:     echo "$ac_cs_usage"; exit 0 ;;
                   5681:   --debug | --d* | -d )
                   5682:     debug=: ;;
                   5683:   --file | --fil | --fi | --f )
1.17      ohara    5684:     shift
                   5685:     CONFIG_FILES="$CONFIG_FILES $1"
1.14      noro     5686:     ac_need_defaults=false;;
                   5687:   --header | --heade | --head | --hea )
1.17      ohara    5688:     shift
                   5689:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
1.14      noro     5690:     ac_need_defaults=false;;
                   5691:
                   5692:   # This is an error.
                   5693:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   5694: Try \`$0 --help' for more information." >&5
                   5695: echo "$as_me: error: unrecognized option: $1
                   5696: Try \`$0 --help' for more information." >&2;}
                   5697:    { (exit 1); exit 1; }; } ;;
                   5698:
                   5699:   *) ac_config_targets="$ac_config_targets $1" ;;
                   5700:
                   5701:   esac
                   5702:   shift
                   5703: done
                   5704:
                   5705: _ACEOF
                   5706:
                   5707: cat >>$CONFIG_STATUS <<_ACEOF
                   5708: #
                   5709: # INIT-COMMANDS section.
                   5710: #
                   5711:
                   5712: AMDEP_TRUE="$AMDEP_TRUE"
                   5713: ac_aux_dir="$ac_aux_dir"
                   5714:
                   5715: _ACEOF
                   5716:
                   5717:
                   5718:
                   5719: cat >>$CONFIG_STATUS <<\_ACEOF
                   5720: for ac_config_target in $ac_config_targets
                   5721: do
                   5722:   case "$ac_config_target" in
                   5723:   # Handling of arguments.
                   5724:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   5725:   "engine/Makefile" ) CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
                   5726:   "asm/Makefile" ) CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
                   5727:   "builtin/Makefile" ) CONFIG_FILES="$CONFIG_FILES builtin/Makefile" ;;
                   5728:   "fft/Makefile" ) CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
                   5729:   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   5730:   "io/Makefile" ) CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
                   5731:   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   5732:   "parse/Makefile" ) CONFIG_FILES="$CONFIG_FILES parse/Makefile" ;;
                   5733:   "plot/Makefile" ) CONFIG_FILES="$CONFIG_FILES plot/Makefile" ;;
                   5734:   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
                   5735:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   5736: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   5737:    { (exit 1); exit 1; }; };;
                   5738:   esac
                   5739: done
                   5740:
                   5741: # If the user did not use the arguments to specify the items to instantiate,
                   5742: # then the envvar interface is used.  Set only those that are not.
                   5743: # We use the long form for the default assignment because of an extremely
                   5744: # bizarre bug on SunOS 4.1.3.
                   5745: if $ac_need_defaults; then
                   5746:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   5747:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   5748: fi
                   5749:
                   5750: # Create a temporary directory, and hook for its removal unless debugging.
                   5751: $debug ||
                   5752: {
                   5753:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   5754:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   5755: }
                   5756:
                   5757: # Create a (secure) tmp directory for tmp files.
1.17      ohara    5758: : ${TMPDIR=/tmp}
1.14      noro     5759: {
1.17      ohara    5760:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1.14      noro     5761:   test -n "$tmp" && test -d "$tmp"
                   5762: }  ||
                   5763: {
1.17      ohara    5764:   tmp=$TMPDIR/cs$$-$RANDOM
1.14      noro     5765:   (umask 077 && mkdir $tmp)
                   5766: } ||
                   5767: {
1.17      ohara    5768:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1.14      noro     5769:    { (exit 1); exit 1; }
                   5770: }
                   5771:
                   5772: _ACEOF
                   5773:
                   5774: cat >>$CONFIG_STATUS <<_ACEOF
                   5775:
                   5776: #
                   5777: # CONFIG_FILES section.
                   5778: #
                   5779:
                   5780: # No need to generate the scripts if there are no CONFIG_FILES.
                   5781: # This happens for instance when ./config.status config.h
                   5782: if test -n "\$CONFIG_FILES"; then
                   5783:   # Protect against being on the right side of a sed subst in config.status.
                   5784:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   5785:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   5786: s,@SHELL@,$SHELL,;t t
                   5787: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   5788: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   5789: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   5790: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   5791: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   5792: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   5793: s,@exec_prefix@,$exec_prefix,;t t
                   5794: s,@prefix@,$prefix,;t t
                   5795: s,@program_transform_name@,$program_transform_name,;t t
                   5796: s,@bindir@,$bindir,;t t
                   5797: s,@sbindir@,$sbindir,;t t
                   5798: s,@libexecdir@,$libexecdir,;t t
                   5799: s,@datadir@,$datadir,;t t
                   5800: s,@sysconfdir@,$sysconfdir,;t t
                   5801: s,@sharedstatedir@,$sharedstatedir,;t t
                   5802: s,@localstatedir@,$localstatedir,;t t
                   5803: s,@libdir@,$libdir,;t t
                   5804: s,@includedir@,$includedir,;t t
                   5805: s,@oldincludedir@,$oldincludedir,;t t
                   5806: s,@infodir@,$infodir,;t t
                   5807: s,@mandir@,$mandir,;t t
                   5808: s,@build_alias@,$build_alias,;t t
                   5809: s,@host_alias@,$host_alias,;t t
                   5810: s,@target_alias@,$target_alias,;t t
                   5811: s,@DEFS@,$DEFS,;t t
                   5812: s,@ECHO_C@,$ECHO_C,;t t
                   5813: s,@ECHO_N@,$ECHO_N,;t t
                   5814: s,@ECHO_T@,$ECHO_T,;t t
                   5815: s,@LIBS@,$LIBS,;t t
                   5816: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   5817: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   5818: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   5819: s,@PACKAGE@,$PACKAGE,;t t
                   5820: s,@VERSION@,$VERSION,;t t
                   5821: s,@EXEEXT@,$EXEEXT,;t t
                   5822: s,@OBJEXT@,$OBJEXT,;t t
                   5823: s,@ACLOCAL@,$ACLOCAL,;t t
                   5824: s,@AUTOCONF@,$AUTOCONF,;t t
                   5825: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   5826: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   5827: s,@MAKEINFO@,$MAKEINFO,;t t
                   5828: s,@AMTAR@,$AMTAR,;t t
                   5829: s,@install_sh@,$install_sh,;t t
                   5830: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   5831: s,@AWK@,$AWK,;t t
                   5832: s,@SET_MAKE@,$SET_MAKE,;t t
                   5833: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   5834: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   5835: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   5836: s,@DEPDIR@,$DEPDIR,;t t
1.22    ! ohara    5837: s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
        !          5838: s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
        !          5839: s,@MAINT@,$MAINT,;t t
1.14      noro     5840: s,@build@,$build,;t t
                   5841: s,@build_cpu@,$build_cpu,;t t
                   5842: s,@build_vendor@,$build_vendor,;t t
                   5843: s,@build_os@,$build_os,;t t
                   5844: s,@host@,$host,;t t
                   5845: s,@host_cpu@,$host_cpu,;t t
                   5846: s,@host_vendor@,$host_vendor,;t t
                   5847: s,@host_os@,$host_os,;t t
                   5848: s,@target@,$target,;t t
                   5849: s,@target_cpu@,$target_cpu,;t t
                   5850: s,@target_vendor@,$target_vendor,;t t
                   5851: s,@target_os@,$target_os,;t t
                   5852: s,@CC@,$CC,;t t
                   5853: s,@CFLAGS@,$CFLAGS,;t t
                   5854: s,@LDFLAGS@,$LDFLAGS,;t t
                   5855: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   5856: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   5857: s,@am__include@,$am__include,;t t
                   5858: s,@am__quote@,$am__quote,;t t
                   5859: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   5860: s,@LN_S@,$LN_S,;t t
                   5861: s,@RANLIB@,$RANLIB,;t t
                   5862: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   5863: s,@YACC@,$YACC,;t t
                   5864: s,@CPP@,$CPP,;t t
                   5865: s,@X_CFLAGS@,$X_CFLAGS,;t t
                   5866: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
                   5867: s,@X_LIBS@,$X_LIBS,;t t
                   5868: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
                   5869: s,@PARIINC@,$PARIINC,;t t
                   5870: s,@PARILIB@,$PARILIB,;t t
1.21      ohara    5871: s,@XPMLIB@,$XPMLIB,;t t
1.14      noro     5872: s,@USE_PLOT_TRUE@,$USE_PLOT_TRUE,;t t
                   5873: s,@USE_PLOT_FALSE@,$USE_PLOT_FALSE,;t t
                   5874: s,@FEPLIB@,$FEPLIB,;t t
                   5875: s,@MPIINC@,$MPIINC,;t t
                   5876: s,@MPILIB@,$MPILIB,;t t
                   5877: s,@LAPACKLIB@,$LAPACKLIB,;t t
                   5878: s,@libasir_postfix@,$libasir_postfix,;t t
                   5879: s,@asm_obj@,$asm_obj,;t t
                   5880: CEOF
                   5881:
                   5882: _ACEOF
                   5883:
                   5884:   cat >>$CONFIG_STATUS <<\_ACEOF
                   5885:   # Split the substitutions into bite-sized pieces for seds with
                   5886:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   5887:   ac_max_sed_lines=48
                   5888:   ac_sed_frag=1 # Number of current file.
                   5889:   ac_beg=1 # First line for current file.
                   5890:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   5891:   ac_more_lines=:
                   5892:   ac_sed_cmds=
                   5893:   while $ac_more_lines; do
                   5894:     if test $ac_beg -gt 1; then
                   5895:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   5896:     else
                   5897:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   5898:     fi
                   5899:     if test ! -s $tmp/subs.frag; then
                   5900:       ac_more_lines=false
                   5901:     else
                   5902:       # The purpose of the label and of the branching condition is to
                   5903:       # speed up the sed processing (if there are no `@' at all, there
                   5904:       # is no need to browse any of the substitutions).
                   5905:       # These are the two extra sed commands mentioned above.
                   5906:       (echo ':t
                   5907:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   5908:       if test -z "$ac_sed_cmds"; then
                   5909:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   5910:       else
                   5911:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   5912:       fi
                   5913:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   5914:       ac_beg=$ac_end
                   5915:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   5916:     fi
                   5917:   done
                   5918:   if test -z "$ac_sed_cmds"; then
                   5919:     ac_sed_cmds=cat
                   5920:   fi
                   5921: fi # test -n "$CONFIG_FILES"
                   5922:
                   5923: _ACEOF
                   5924: cat >>$CONFIG_STATUS <<\_ACEOF
                   5925: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   5926:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   5927:   case $ac_file in
                   5928:   - | *:- | *:-:* ) # input from stdin
                   5929:         cat >$tmp/stdin
                   5930:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   5931:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   5932:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   5933:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   5934:   * )   ac_file_in=$ac_file.in ;;
                   5935:   esac
                   5936:
                   5937:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   5938:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   5939: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5940:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   5941:          X"$ac_file" : 'X\(//\)$' \| \
                   5942:          X"$ac_file" : 'X\(/\)' \| \
                   5943:          .     : '\(.\)' 2>/dev/null ||
                   5944: echo X"$ac_file" |
                   5945:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   5946:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   5947:          /^X\(\/\/\)$/{ s//\1/; q; }
                   5948:          /^X\(\/\).*/{ s//\1/; q; }
                   5949:          s/.*/./; q'`
1.17      ohara    5950:   { case "$ac_dir" in
                   5951:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   5952:   *)                      as_incr_dir=.;;
                   5953: esac
                   5954: as_dummy="$ac_dir"
                   5955: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   5956:   case $as_mkdir_dir in
                   5957:     # Skip DOS drivespec
                   5958:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   5959:     *)
                   5960:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   5961:       test -d "$as_incr_dir" ||
                   5962:         mkdir "$as_incr_dir" ||
                   5963:        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
                   5964: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
                   5965:    { (exit 1); exit 1; }; }
                   5966:     ;;
                   5967:   esac
                   5968: done; }
1.14      noro     5969:
                   5970:   ac_builddir=.
                   5971:
                   5972: if test "$ac_dir" != .; then
                   5973:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   5974:   # A "../" for each directory in $ac_dir_suffix.
                   5975:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   5976: else
                   5977:   ac_dir_suffix= ac_top_builddir=
                   5978: fi
                   5979:
                   5980: case $srcdir in
                   5981:   .)  # No --srcdir option.  We are building in place.
                   5982:     ac_srcdir=.
                   5983:     if test -z "$ac_top_builddir"; then
                   5984:        ac_top_srcdir=.
                   5985:     else
                   5986:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   5987:     fi ;;
                   5988:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   5989:     ac_srcdir=$srcdir$ac_dir_suffix;
                   5990:     ac_top_srcdir=$srcdir ;;
                   5991:   *) # Relative path.
                   5992:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   5993:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   5994: esac
                   5995: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   5996: # absolute.
                   5997: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara    5998: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro     5999: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   6000: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   6001:
                   6002:
                   6003:   case $INSTALL in
                   6004:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   6005:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
                   6006:   esac
                   6007:
                   6008:   if test x"$ac_file" != x-; then
                   6009:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   6010: echo "$as_me: creating $ac_file" >&6;}
                   6011:     rm -f "$ac_file"
                   6012:   fi
                   6013:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   6014:   # use $as_me), people would be surprised to read:
                   6015:   #    /* config.h.  Generated by config.status.  */
                   6016:   if test x"$ac_file" = x-; then
                   6017:     configure_input=
                   6018:   else
                   6019:     configure_input="$ac_file.  "
                   6020:   fi
                   6021:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   6022:                                      sed 's,.*/,,'` by configure."
                   6023:
                   6024:   # First look for the input files in the build tree, otherwise in the
                   6025:   # src tree.
                   6026:   ac_file_inputs=`IFS=:
                   6027:     for f in $ac_file_in; do
                   6028:       case $f in
                   6029:       -) echo $tmp/stdin ;;
                   6030:       [\\/$]*)
                   6031:          # Absolute (can't be DOS-style, as IFS=:)
                   6032:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   6033: echo "$as_me: error: cannot find input file: $f" >&2;}
                   6034:    { (exit 1); exit 1; }; }
                   6035:          echo $f;;
                   6036:       *) # Relative
                   6037:          if test -f "$f"; then
                   6038:            # Build tree
                   6039:            echo $f
                   6040:          elif test -f "$srcdir/$f"; then
                   6041:            # Source tree
                   6042:            echo $srcdir/$f
                   6043:          else
                   6044:            # /dev/null tree
                   6045:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   6046: echo "$as_me: error: cannot find input file: $f" >&2;}
                   6047:    { (exit 1); exit 1; }; }
                   6048:          fi;;
                   6049:       esac
                   6050:     done` || { (exit 1); exit 1; }
                   6051: _ACEOF
                   6052: cat >>$CONFIG_STATUS <<_ACEOF
                   6053:   sed "$ac_vpsub
                   6054: $extrasub
                   6055: _ACEOF
                   6056: cat >>$CONFIG_STATUS <<\_ACEOF
                   6057: :t
                   6058: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   6059: s,@configure_input@,$configure_input,;t t
                   6060: s,@srcdir@,$ac_srcdir,;t t
                   6061: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   6062: s,@top_srcdir@,$ac_top_srcdir,;t t
                   6063: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   6064: s,@builddir@,$ac_builddir,;t t
                   6065: s,@abs_builddir@,$ac_abs_builddir,;t t
                   6066: s,@top_builddir@,$ac_top_builddir,;t t
                   6067: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   6068: s,@INSTALL@,$ac_INSTALL,;t t
                   6069: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   6070:   rm -f $tmp/stdin
                   6071:   if test x"$ac_file" != x-; then
                   6072:     mv $tmp/out $ac_file
                   6073:   else
                   6074:     cat $tmp/out
                   6075:     rm -f $tmp/out
                   6076:   fi
                   6077:
                   6078: done
                   6079: _ACEOF
                   6080: cat >>$CONFIG_STATUS <<\_ACEOF
                   6081:
                   6082: #
                   6083: # CONFIG_COMMANDS section.
                   6084: #
                   6085: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   6086:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   6087:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   6088:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   6089: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6090:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   6091:          X"$ac_dest" : 'X\(//\)$' \| \
                   6092:          X"$ac_dest" : 'X\(/\)' \| \
                   6093:          .     : '\(.\)' 2>/dev/null ||
                   6094: echo X"$ac_dest" |
                   6095:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   6096:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   6097:          /^X\(\/\/\)$/{ s//\1/; q; }
                   6098:          /^X\(\/\).*/{ s//\1/; q; }
                   6099:          s/.*/./; q'`
                   6100:   ac_builddir=.
                   6101:
                   6102: if test "$ac_dir" != .; then
                   6103:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   6104:   # A "../" for each directory in $ac_dir_suffix.
                   6105:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   6106: else
                   6107:   ac_dir_suffix= ac_top_builddir=
                   6108: fi
                   6109:
                   6110: case $srcdir in
                   6111:   .)  # No --srcdir option.  We are building in place.
                   6112:     ac_srcdir=.
                   6113:     if test -z "$ac_top_builddir"; then
                   6114:        ac_top_srcdir=.
                   6115:     else
                   6116:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   6117:     fi ;;
                   6118:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   6119:     ac_srcdir=$srcdir$ac_dir_suffix;
                   6120:     ac_top_srcdir=$srcdir ;;
                   6121:   *) # Relative path.
                   6122:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   6123:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1.12      ohara    6124: esac
1.14      noro     6125: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   6126: # absolute.
                   6127: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1.17      ohara    6128: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1.14      noro     6129: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   6130: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   6131:
                   6132:
                   6133:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   6134: echo "$as_me: executing $ac_dest commands" >&6;}
                   6135:   case $ac_dest in
                   6136:     default-1 )
                   6137: test x"$AMDEP_TRUE" != x"" ||
                   6138: for mf in $CONFIG_FILES; do
                   6139:   case "$mf" in
                   6140:   Makefile) dirpart=.;;
                   6141:   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
                   6142:   *) continue;;
                   6143:   esac
                   6144:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   6145:   # Extract the definition of DEP_FILES from the Makefile without
                   6146:   # running `make'.
                   6147:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   6148:   test -z "$DEPDIR" && continue
                   6149:   # When using ansi2knr, U may be empty or an underscore; expand it
                   6150:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   6151:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   6152:   # We invoke sed twice because it is the simplest approach to
                   6153:   # changing $(DEPDIR) to its actual value in the expansion.
                   6154:   for file in `sed -n -e '
                   6155:     /^DEP_FILES = .*\\\\$/ {
                   6156:       s/^DEP_FILES = //
                   6157:       :loop
                   6158:        s/\\\\$//
                   6159:        p
                   6160:        n
                   6161:        /\\\\$/ b loop
                   6162:       p
                   6163:     }
                   6164:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   6165:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   6166:     # Make sure the directory exists.
                   6167:     test -f "$dirpart/$file" && continue
                   6168:     fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
                   6169:     $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
                   6170:     # echo "creating $dirpart/$file"
                   6171:     echo '# dummy' > "$dirpart/$file"
                   6172:   done
                   6173: done
                   6174:  ;;
                   6175:   esac
                   6176: done
                   6177: _ACEOF
                   6178:
                   6179: cat >>$CONFIG_STATUS <<\_ACEOF
                   6180:
                   6181: { (exit 0); exit 0; }
                   6182: _ACEOF
                   6183: chmod +x $CONFIG_STATUS
                   6184: ac_clean_files=$ac_clean_files_save
                   6185:
                   6186:
                   6187: # configure is writing to config.log, and then calls config.status.
                   6188: # config.status does its own redirection, appending to config.log.
                   6189: # Unfortunately, on DOS this fails, as config.log is still kept open
                   6190: # by configure, so config.status won't be able to write to it; its
                   6191: # output is simply discarded.  So we exec the FD to /dev/null,
                   6192: # effectively closing config.log, so it can be properly (re)opened and
                   6193: # appended to by config.status.  When coming back to configure, we
                   6194: # need to make the FD available again.
                   6195: if test "$no_create" != yes; then
                   6196:   ac_cs_success=:
                   6197:   exec 5>/dev/null
1.17      ohara    6198:   $SHELL $CONFIG_STATUS || ac_cs_success=false
1.14      noro     6199:   exec 5>>config.log
                   6200:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   6201:   # would make configure fail if this is the last instruction.
                   6202:   $ac_cs_success || { (exit 1); exit 1; }
                   6203: fi
                   6204:

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