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

Annotation of OpenXM_contrib2/asir2000/configure, Revision 1.34

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

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