[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Annotation of OpenXM/src/ox_toolkit/configure, Revision 1.6

1.1       ohara       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.4       takayama    3: # Generated by GNU Autoconf 2.53.
1.1       ohara       4: #
1.4       takayama    5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                      6: # Free Software Foundation, Inc.
1.1       ohara       7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
                      9:
1.4       takayama   10: if expr a : '\(a\)' >/dev/null 2>&1; then
                     11:   as_expr=expr
                     12: else
                     13:   as_expr=false
                     14: fi
                     15:
                     16:
                     17: ## --------------------- ##
                     18: ## M4sh Initialization.  ##
                     19: ## --------------------- ##
                     20:
                     21: # Be Bourne compatible
                     22: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     23:   emulate sh
                     24:   NULLCMD=:
                     25: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     26:   set -o posix
                     27: fi
                     28:
                     29: # NLS nuisances.
                     30: # Support unset when possible.
                     31: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                     32:   as_unset=unset
                     33: else
                     34:   as_unset=false
                     35: fi
                     36:
                     37: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                     38:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                     39:       { LANG=C; export LANG; }
                     40: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                     41:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                     42:       { LC_ALL=C; export LC_ALL; }
                     43: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                     44:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                     45:       { LC_TIME=C; export LC_TIME; }
                     46: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                     47:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                     48:       { LC_CTYPE=C; export LC_CTYPE; }
                     49: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                     50:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                     51:       { LANGUAGE=C; export LANGUAGE; }
                     52: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                     53:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                     54:       { LC_COLLATE=C; export LC_COLLATE; }
                     55: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                     56:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                     57:       { LC_NUMERIC=C; export LC_NUMERIC; }
                     58: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                     59:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                     60:       { LC_MESSAGES=C; export LC_MESSAGES; }
                     61:
                     62:
                     63: # Name of the executable.
                     64: as_me=`(basename "$0") 2>/dev/null ||
                     65: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     66:         X"$0" : 'X\(//\)$' \| \
                     67:         X"$0" : 'X\(/\)$' \| \
                     68:         .     : '\(.\)' 2>/dev/null ||
                     69: echo X/"$0" |
                     70:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     71:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     72:          /^X\/\(\/\).*/{ s//\1/; q; }
                     73:          s/.*/./; q'`
                     74:
                     75: # PATH needs CR, and LINENO needs CR and PATH.
                     76: # Avoid depending upon Character Ranges.
                     77: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     78: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     79: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     80: as_cr_digits='0123456789'
                     81: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     82:
                     83: # The user is always right.
                     84: if test "${PATH_SEPARATOR+set}" != set; then
                     85:   echo "#! /bin/sh" >conftest.sh
                     86:   echo  "exit 0"   >>conftest.sh
                     87:   chmod +x conftest.sh
                     88:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
                     89:     PATH_SEPARATOR=';'
                     90:   else
                     91:     PATH_SEPARATOR=:
                     92:   fi
                     93:   rm -f conftest.sh
                     94: fi
                     95:
                     96:
                     97:   as_lineno_1=$LINENO
                     98:   as_lineno_2=$LINENO
                     99:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    100:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    101:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    102:   # Find who we are.  Look in the path if we contain no path at all
                    103:   # relative or not.
                    104:   case $0 in
                    105:     *[\\/]* ) as_myself=$0 ;;
                    106:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    107: for as_dir in $PATH
                    108: do
                    109:   IFS=$as_save_IFS
                    110:   test -z "$as_dir" && as_dir=.
                    111:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    112: done
                    113:
                    114:        ;;
                    115:   esac
                    116:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    117:   # in which case we are not to be found in the path.
                    118:   if test "x$as_myself" = x; then
                    119:     as_myself=$0
                    120:   fi
                    121:   if test ! -f "$as_myself"; then
                    122:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    123:    { (exit 1); exit 1; }; }
                    124:   fi
                    125:   case $CONFIG_SHELL in
                    126:   '')
                    127:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    128: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    129: do
                    130:   IFS=$as_save_IFS
                    131:   test -z "$as_dir" && as_dir=.
                    132:   for as_base in sh bash ksh sh5; do
                    133:         case $as_dir in
                    134:         /*)
                    135:           if ("$as_dir/$as_base" -c '
                    136:   as_lineno_1=$LINENO
                    137:   as_lineno_2=$LINENO
                    138:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    139:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    140:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    141:             CONFIG_SHELL=$as_dir/$as_base
                    142:             export CONFIG_SHELL
                    143:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    144:           fi;;
                    145:         esac
                    146:        done
                    147: done
                    148: ;;
                    149:   esac
                    150:
                    151:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    152:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    153:   # line-number line before each line; the second 'sed' does the real
                    154:   # work.  The second script uses 'N' to pair each line-number line
                    155:   # with the numbered line, and appends trailing '-' during
                    156:   # substitution so that $LINENO is not a special case at line end.
                    157:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    158:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    159:   sed '=' <$as_myself |
                    160:     sed '
                    161:       N
                    162:       s,$,-,
                    163:       : loop
                    164:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    165:       t loop
                    166:       s,-$,,
                    167:       s,^['$as_cr_digits']*\n,,
                    168:     ' >$as_me.lineno &&
                    169:   chmod +x $as_me.lineno ||
                    170:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    171:    { (exit 1); exit 1; }; }
                    172:
                    173:   # Don't try to exec as it changes $[0], causing all sort of problems
                    174:   # (the dirname of $[0] is not the place where we might find the
                    175:   # original and so on.  Autoconf is especially sensible to this).
                    176:   . ./$as_me.lineno
                    177:   # Exit status is that of the last command.
                    178:   exit
                    179: }
                    180:
                    181:
                    182: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    183:   *c*,-n*) ECHO_N= ECHO_C='
                    184: ' ECHO_T='     ' ;;
                    185:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    186:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    187: esac
                    188:
                    189: if expr a : '\(a\)' >/dev/null 2>&1; then
                    190:   as_expr=expr
                    191: else
                    192:   as_expr=false
                    193: fi
                    194:
                    195: rm -f conf$$ conf$$.exe conf$$.file
                    196: echo >conf$$.file
                    197: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    198:   # We could just check for DJGPP; but this test a) works b) is more generic
                    199:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    200:   if test -f conf$$.exe; then
                    201:     # Don't use ln at all; we don't have any links
                    202:     as_ln_s='cp -p'
                    203:   else
                    204:     as_ln_s='ln -s'
                    205:   fi
                    206: elif ln conf$$.file conf$$ 2>/dev/null; then
                    207:   as_ln_s=ln
                    208: else
                    209:   as_ln_s='cp -p'
                    210: fi
                    211: rm -f conf$$ conf$$.exe conf$$.file
                    212:
                    213: as_executable_p="test -f"
                    214:
                    215: # Sed expression to map a string onto a valid CPP name.
                    216: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    217:
                    218: # Sed expression to map a string onto a valid variable name.
                    219: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    220:
                    221:
                    222: # IFS
                    223: # We need space, tab and new line, in precisely that order.
                    224: as_nl='
                    225: '
                    226: IFS="  $as_nl"
                    227:
                    228: # CDPATH.
                    229: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
                    230:
                    231:
                    232: # Name of the host.
                    233: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    234: # so uname gets run too.
                    235: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    236:
                    237: exec 6>&1
                    238:
                    239: #
                    240: # Initializations.
                    241: #
1.1       ohara     242: ac_default_prefix=/usr/local
1.4       takayama  243: cross_compiling=no
                    244: subdirs=
                    245: MFLAGS=
                    246: MAKEFLAGS=
                    247: SHELL=${CONFIG_SHELL-/bin/sh}
                    248:
                    249: # Maximum number of lines to put in a shell here document.
                    250: # This variable seems obsolete.  It should probably be removed, and
                    251: # only ac_max_sed_lines should be used.
                    252: : ${ac_max_here_lines=38}
                    253:
                    254: # Identity of this package.
                    255: PACKAGE_NAME=
                    256: PACKAGE_TARNAME=
                    257: PACKAGE_VERSION=
                    258: PACKAGE_STRING=
                    259: PACKAGE_BUGREPORT=
                    260:
                    261: ac_unique_file="mysocket.c"
1.1       ohara     262:
                    263: # Initialize some variables set by options.
1.4       takayama  264: ac_init_help=
                    265: ac_init_version=false
1.1       ohara     266: # The variables have the same names as the options, with
                    267: # dashes changed to underlines.
1.4       takayama  268: cache_file=/dev/null
1.1       ohara     269: exec_prefix=NONE
                    270: no_create=
                    271: no_recursion=
                    272: prefix=NONE
                    273: program_prefix=NONE
                    274: program_suffix=NONE
                    275: program_transform_name=s,x,x,
                    276: silent=
                    277: site=
                    278: srcdir=
                    279: verbose=
                    280: x_includes=NONE
                    281: x_libraries=NONE
1.4       takayama  282:
                    283: # Installation directory options.
                    284: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    285: # and all the variables that are supposed to be based on exec_prefix
                    286: # by default will actually change.
                    287: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       ohara     288: bindir='${exec_prefix}/bin'
                    289: sbindir='${exec_prefix}/sbin'
                    290: libexecdir='${exec_prefix}/libexec'
                    291: datadir='${prefix}/share'
                    292: sysconfdir='${prefix}/etc'
                    293: sharedstatedir='${prefix}/com'
                    294: localstatedir='${prefix}/var'
                    295: libdir='${exec_prefix}/lib'
                    296: includedir='${prefix}/include'
                    297: oldincludedir='/usr/include'
                    298: infodir='${prefix}/info'
                    299: mandir='${prefix}/man'
                    300:
                    301: ac_prev=
                    302: for ac_option
                    303: do
                    304:   # If the previous option needs an argument, assign it.
                    305:   if test -n "$ac_prev"; then
                    306:     eval "$ac_prev=\$ac_option"
                    307:     ac_prev=
                    308:     continue
                    309:   fi
                    310:
1.4       takayama  311:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       ohara     312:
                    313:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    314:
1.4       takayama  315:   case $ac_option in
1.1       ohara     316:
                    317:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    318:     ac_prev=bindir ;;
                    319:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.4       takayama  320:     bindir=$ac_optarg ;;
1.1       ohara     321:
                    322:   -build | --build | --buil | --bui | --bu)
1.4       takayama  323:     ac_prev=build_alias ;;
1.1       ohara     324:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.4       takayama  325:     build_alias=$ac_optarg ;;
1.1       ohara     326:
                    327:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    328:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    329:     ac_prev=cache_file ;;
                    330:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    331:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.4       takayama  332:     cache_file=$ac_optarg ;;
                    333:
                    334:   --config-cache | -C)
                    335:     cache_file=config.cache ;;
1.1       ohara     336:
                    337:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    338:     ac_prev=datadir ;;
                    339:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    340:   | --da=*)
1.4       takayama  341:     datadir=$ac_optarg ;;
1.1       ohara     342:
                    343:   -disable-* | --disable-*)
1.4       takayama  344:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       ohara     345:     # Reject names that are not valid shell variable names.
1.4       takayama  346:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    347:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    348:    { (exit 1); exit 1; }; }
                    349:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    350:     eval "enable_$ac_feature=no" ;;
1.1       ohara     351:
                    352:   -enable-* | --enable-*)
1.4       takayama  353:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       ohara     354:     # Reject names that are not valid shell variable names.
1.4       takayama  355:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    356:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    357:    { (exit 1); exit 1; }; }
                    358:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    359:     case $ac_option in
                    360:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       ohara     361:       *) ac_optarg=yes ;;
                    362:     esac
1.4       takayama  363:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       ohara     364:
                    365:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    366:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    367:   | --exec | --exe | --ex)
                    368:     ac_prev=exec_prefix ;;
                    369:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    370:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    371:   | --exec=* | --exe=* | --ex=*)
1.4       takayama  372:     exec_prefix=$ac_optarg ;;
1.1       ohara     373:
                    374:   -gas | --gas | --ga | --g)
                    375:     # Obsolete; use --with-gas.
                    376:     with_gas=yes ;;
                    377:
1.4       takayama  378:   -help | --help | --hel | --he | -h)
                    379:     ac_init_help=long ;;
                    380:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    381:     ac_init_help=recursive ;;
                    382:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    383:     ac_init_help=short ;;
1.1       ohara     384:
                    385:   -host | --host | --hos | --ho)
1.4       takayama  386:     ac_prev=host_alias ;;
1.1       ohara     387:   -host=* | --host=* | --hos=* | --ho=*)
1.4       takayama  388:     host_alias=$ac_optarg ;;
1.1       ohara     389:
                    390:   -includedir | --includedir | --includedi | --included | --include \
                    391:   | --includ | --inclu | --incl | --inc)
                    392:     ac_prev=includedir ;;
                    393:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    394:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.4       takayama  395:     includedir=$ac_optarg ;;
1.1       ohara     396:
                    397:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    398:     ac_prev=infodir ;;
                    399:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.4       takayama  400:     infodir=$ac_optarg ;;
1.1       ohara     401:
                    402:   -libdir | --libdir | --libdi | --libd)
                    403:     ac_prev=libdir ;;
                    404:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.4       takayama  405:     libdir=$ac_optarg ;;
1.1       ohara     406:
                    407:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    408:   | --libexe | --libex | --libe)
                    409:     ac_prev=libexecdir ;;
                    410:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    411:   | --libexe=* | --libex=* | --libe=*)
1.4       takayama  412:     libexecdir=$ac_optarg ;;
1.1       ohara     413:
                    414:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    415:   | --localstate | --localstat | --localsta | --localst \
                    416:   | --locals | --local | --loca | --loc | --lo)
                    417:     ac_prev=localstatedir ;;
                    418:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    419:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    420:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.4       takayama  421:     localstatedir=$ac_optarg ;;
1.1       ohara     422:
                    423:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    424:     ac_prev=mandir ;;
                    425:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.4       takayama  426:     mandir=$ac_optarg ;;
1.1       ohara     427:
                    428:   -nfp | --nfp | --nf)
                    429:     # Obsolete; use --without-fp.
                    430:     with_fp=no ;;
                    431:
                    432:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.4       takayama  433:   | --no-cr | --no-c | -n)
1.1       ohara     434:     no_create=yes ;;
                    435:
                    436:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    437:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    438:     no_recursion=yes ;;
                    439:
                    440:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    441:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    442:   | --oldin | --oldi | --old | --ol | --o)
                    443:     ac_prev=oldincludedir ;;
                    444:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    445:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    446:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.4       takayama  447:     oldincludedir=$ac_optarg ;;
1.1       ohara     448:
                    449:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    450:     ac_prev=prefix ;;
                    451:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.4       takayama  452:     prefix=$ac_optarg ;;
1.1       ohara     453:
                    454:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    455:   | --program-pre | --program-pr | --program-p)
                    456:     ac_prev=program_prefix ;;
                    457:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    458:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.4       takayama  459:     program_prefix=$ac_optarg ;;
1.1       ohara     460:
                    461:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    462:   | --program-suf | --program-su | --program-s)
                    463:     ac_prev=program_suffix ;;
                    464:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    465:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.4       takayama  466:     program_suffix=$ac_optarg ;;
1.1       ohara     467:
                    468:   -program-transform-name | --program-transform-name \
                    469:   | --program-transform-nam | --program-transform-na \
                    470:   | --program-transform-n | --program-transform- \
                    471:   | --program-transform | --program-transfor \
                    472:   | --program-transfo | --program-transf \
                    473:   | --program-trans | --program-tran \
                    474:   | --progr-tra | --program-tr | --program-t)
                    475:     ac_prev=program_transform_name ;;
                    476:   -program-transform-name=* | --program-transform-name=* \
                    477:   | --program-transform-nam=* | --program-transform-na=* \
                    478:   | --program-transform-n=* | --program-transform-=* \
                    479:   | --program-transform=* | --program-transfor=* \
                    480:   | --program-transfo=* | --program-transf=* \
                    481:   | --program-trans=* | --program-tran=* \
                    482:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.4       takayama  483:     program_transform_name=$ac_optarg ;;
1.1       ohara     484:
                    485:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    486:   | -silent | --silent | --silen | --sile | --sil)
                    487:     silent=yes ;;
                    488:
                    489:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    490:     ac_prev=sbindir ;;
                    491:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    492:   | --sbi=* | --sb=*)
1.4       takayama  493:     sbindir=$ac_optarg ;;
1.1       ohara     494:
                    495:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    496:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    497:   | --sharedst | --shareds | --shared | --share | --shar \
                    498:   | --sha | --sh)
                    499:     ac_prev=sharedstatedir ;;
                    500:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    501:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    502:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    503:   | --sha=* | --sh=*)
1.4       takayama  504:     sharedstatedir=$ac_optarg ;;
1.1       ohara     505:
                    506:   -site | --site | --sit)
                    507:     ac_prev=site ;;
                    508:   -site=* | --site=* | --sit=*)
1.4       takayama  509:     site=$ac_optarg ;;
1.2       ohara     510:
1.1       ohara     511:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    512:     ac_prev=srcdir ;;
                    513:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.4       takayama  514:     srcdir=$ac_optarg ;;
1.1       ohara     515:
                    516:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    517:   | --syscon | --sysco | --sysc | --sys | --sy)
                    518:     ac_prev=sysconfdir ;;
                    519:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    520:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.4       takayama  521:     sysconfdir=$ac_optarg ;;
1.1       ohara     522:
                    523:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.4       takayama  524:     ac_prev=target_alias ;;
1.1       ohara     525:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.4       takayama  526:     target_alias=$ac_optarg ;;
1.1       ohara     527:
                    528:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    529:     verbose=yes ;;
                    530:
1.4       takayama  531:   -version | --version | --versio | --versi | --vers | -V)
                    532:     ac_init_version=: ;;
1.1       ohara     533:
                    534:   -with-* | --with-*)
1.4       takayama  535:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       ohara     536:     # Reject names that are not valid shell variable names.
1.4       takayama  537:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    538:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    539:    { (exit 1); exit 1; }; }
1.1       ohara     540:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.4       takayama  541:     case $ac_option in
                    542:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       ohara     543:       *) ac_optarg=yes ;;
                    544:     esac
1.4       takayama  545:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       ohara     546:
                    547:   -without-* | --without-*)
1.4       takayama  548:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       ohara     549:     # Reject names that are not valid shell variable names.
1.4       takayama  550:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    551:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    552:    { (exit 1); exit 1; }; }
                    553:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    554:     eval "with_$ac_package=no" ;;
1.1       ohara     555:
                    556:   --x)
                    557:     # Obsolete; use --with-x.
                    558:     with_x=yes ;;
                    559:
                    560:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    561:   | --x-incl | --x-inc | --x-in | --x-i)
                    562:     ac_prev=x_includes ;;
                    563:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    564:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.4       takayama  565:     x_includes=$ac_optarg ;;
1.1       ohara     566:
                    567:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    568:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    569:     ac_prev=x_libraries ;;
                    570:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    571:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.4       takayama  572:     x_libraries=$ac_optarg ;;
1.1       ohara     573:
1.4       takayama  574:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    575: Try \`$0 --help' for more information." >&2
                    576:    { (exit 1); exit 1; }; }
1.1       ohara     577:     ;;
                    578:
1.4       takayama  579:   *=*)
                    580:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    581:     # Reject names that are not valid shell variable names.
                    582:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    583:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    584:    { (exit 1); exit 1; }; }
                    585:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    586:     eval "$ac_envvar='$ac_optarg'"
                    587:     export $ac_envvar ;;
                    588:
1.1       ohara     589:   *)
1.4       takayama  590:     # FIXME: should be removed in autoconf 3.0.
                    591:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    592:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    593:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    594:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       ohara     595:     ;;
                    596:
                    597:   esac
                    598: done
                    599:
                    600: if test -n "$ac_prev"; then
1.4       takayama  601:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    602:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    603:    { (exit 1); exit 1; }; }
1.1       ohara     604: fi
                    605:
1.4       takayama  606: # Be sure to have absolute paths.
                    607: for ac_var in exec_prefix prefix
                    608: do
                    609:   eval ac_val=$`echo $ac_var`
                    610:   case $ac_val in
                    611:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    612:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    613:    { (exit 1); exit 1; }; };;
                    614:   esac
                    615: done
1.1       ohara     616:
1.4       takayama  617: # Be sure to have absolute paths.
                    618: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                    619:               localstatedir libdir includedir oldincludedir infodir mandir
1.1       ohara     620: do
1.4       takayama  621:   eval ac_val=$`echo $ac_var`
                    622:   case $ac_val in
                    623:     [\\/$]* | ?:[\\/]* ) ;;
                    624:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    625:    { (exit 1); exit 1; }; };;
1.1       ohara     626:   esac
                    627: done
                    628:
1.4       takayama  629: # There might be people who depend on the old broken behavior: `$host'
                    630: # used to hold the argument of --host etc.
                    631: # FIXME: To remove some day.
                    632: build=$build_alias
                    633: host=$host_alias
                    634: target=$target_alias
                    635:
                    636: # FIXME: To remove some day.
                    637: if test "x$host_alias" != x; then
                    638:   if test "x$build_alias" = x; then
                    639:     cross_compiling=maybe
                    640:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    641:     If a cross compiler is detected then cross compile mode will be used." >&2
                    642:   elif test "x$build_alias" != "x$host_alias"; then
                    643:     cross_compiling=yes
                    644:   fi
                    645: fi
                    646:
                    647: ac_tool_prefix=
                    648: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       ohara     649:
1.4       takayama  650: test "$silent" = yes && exec 6>/dev/null
1.1       ohara     651:
                    652:
                    653: # Find the source files, if location was not specified.
                    654: if test -z "$srcdir"; then
                    655:   ac_srcdir_defaulted=yes
                    656:   # Try the directory containing this script, then its parent.
1.4       takayama  657:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    658: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    659:          X"$0" : 'X\(//\)[^/]' \| \
                    660:          X"$0" : 'X\(//\)$' \| \
                    661:          X"$0" : 'X\(/\)' \| \
                    662:          .     : '\(.\)' 2>/dev/null ||
                    663: echo X"$0" |
                    664:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    665:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    666:          /^X\(\/\/\)$/{ s//\1/; q; }
                    667:          /^X\(\/\).*/{ s//\1/; q; }
                    668:          s/.*/./; q'`
1.1       ohara     669:   srcdir=$ac_confdir
                    670:   if test ! -r $srcdir/$ac_unique_file; then
                    671:     srcdir=..
                    672:   fi
                    673: else
                    674:   ac_srcdir_defaulted=no
                    675: fi
                    676: if test ! -r $srcdir/$ac_unique_file; then
                    677:   if test "$ac_srcdir_defaulted" = yes; then
1.4       takayama  678:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    679:    { (exit 1); exit 1; }; }
1.1       ohara     680:   else
1.4       takayama  681:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    682:    { (exit 1); exit 1; }; }
1.1       ohara     683:   fi
                    684: fi
1.4       takayama  685: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    686: ac_env_build_alias_set=${build_alias+set}
                    687: ac_env_build_alias_value=$build_alias
                    688: ac_cv_env_build_alias_set=${build_alias+set}
                    689: ac_cv_env_build_alias_value=$build_alias
                    690: ac_env_host_alias_set=${host_alias+set}
                    691: ac_env_host_alias_value=$host_alias
                    692: ac_cv_env_host_alias_set=${host_alias+set}
                    693: ac_cv_env_host_alias_value=$host_alias
                    694: ac_env_target_alias_set=${target_alias+set}
                    695: ac_env_target_alias_value=$target_alias
                    696: ac_cv_env_target_alias_set=${target_alias+set}
                    697: ac_cv_env_target_alias_value=$target_alias
                    698: ac_env_CC_set=${CC+set}
                    699: ac_env_CC_value=$CC
                    700: ac_cv_env_CC_set=${CC+set}
                    701: ac_cv_env_CC_value=$CC
                    702: ac_env_CFLAGS_set=${CFLAGS+set}
                    703: ac_env_CFLAGS_value=$CFLAGS
                    704: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    705: ac_cv_env_CFLAGS_value=$CFLAGS
                    706: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    707: ac_env_LDFLAGS_value=$LDFLAGS
                    708: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    709: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    710: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    711: ac_env_CPPFLAGS_value=$CPPFLAGS
                    712: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    713: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    714: ac_env_CPP_set=${CPP+set}
                    715: ac_env_CPP_value=$CPP
                    716: ac_cv_env_CPP_set=${CPP+set}
                    717: ac_cv_env_CPP_value=$CPP
                    718:
                    719: #
                    720: # Report the --help message.
                    721: #
                    722: if test "$ac_init_help" = "long"; then
                    723:   # Omit some internal or obsolete options to make the list less imposing.
                    724:   # This message is too long to be a string in the A/UX 3.1 sh.
                    725:   cat <<_ACEOF
                    726: \`configure' configures this package to adapt to many kinds of systems.
                    727:
                    728: Usage: $0 [OPTION]... [VAR=VALUE]...
                    729:
                    730: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    731: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    732:
                    733: Defaults for the options are specified in brackets.
                    734:
                    735: Configuration:
                    736:   -h, --help              display this help and exit
                    737:       --help=short        display options specific to this package
                    738:       --help=recursive    display the short help of all the included packages
                    739:   -V, --version           display version information and exit
                    740:   -q, --quiet, --silent   do not print \`checking...' messages
                    741:       --cache-file=FILE   cache test results in FILE [disabled]
                    742:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    743:   -n, --no-create         do not create output files
                    744:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    745:
                    746: _ACEOF
                    747:
                    748:   cat <<_ACEOF
                    749: Installation directories:
                    750:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    751:                           [$ac_default_prefix]
                    752:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    753:                           [PREFIX]
                    754:
                    755: By default, \`make install' will install all the files in
                    756: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    757: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    758: for instance \`--prefix=\$HOME'.
                    759:
                    760: For better control, use the options below.
                    761:
                    762: Fine tuning of the installation directories:
                    763:   --bindir=DIR           user executables [EPREFIX/bin]
                    764:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    765:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    766:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    767:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    768:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    769:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    770:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    771:   --includedir=DIR       C header files [PREFIX/include]
                    772:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    773:   --infodir=DIR          info documentation [PREFIX/info]
                    774:   --mandir=DIR           man documentation [PREFIX/man]
                    775: _ACEOF
                    776:
                    777:   cat <<\_ACEOF
                    778:
                    779: X features:
                    780:   --x-includes=DIR    X include files are in DIR
                    781:   --x-libraries=DIR   X library files are in DIR
1.5       ohara     782:
                    783: System types:
                    784:   --build=BUILD     configure for building on BUILD [guessed]
                    785:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    786:   --target=TARGET   configure for building compilers for TARGET [HOST]
1.4       takayama  787: _ACEOF
                    788: fi
                    789:
                    790: if test -n "$ac_init_help"; then
                    791:
                    792:   cat <<\_ACEOF
1.1       ohara     793:
1.4       takayama  794: Optional Packages:
                    795:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    796:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    797:   --with-x                use the X Window System
                    798:   --with-gmp              with the GNU MP library [no]
                    799:
                    800: Some influential environment variables:
                    801:   CC          C compiler command
                    802:   CFLAGS      C compiler flags
                    803:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    804:               nonstandard directory <lib dir>
                    805:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    806:               headers in a nonstandard directory <include dir>
                    807:   CPP         C preprocessor
                    808:
                    809: Use these variables to override the choices made by `configure' or to help
                    810: it to find libraries and programs with nonstandard names/locations.
                    811:
                    812: _ACEOF
                    813: fi
                    814:
                    815: if test "$ac_init_help" = "recursive"; then
                    816:   # If there are subdirs, report their specific --help.
                    817:   ac_popdir=`pwd`
                    818:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    819:     test -d $ac_dir || continue
                    820:     ac_builddir=.
                    821:
                    822: if test "$ac_dir" != .; then
                    823:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    824:   # A "../" for each directory in $ac_dir_suffix.
                    825:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    826: else
                    827:   ac_dir_suffix= ac_top_builddir=
                    828: fi
                    829:
                    830: case $srcdir in
                    831:   .)  # No --srcdir option.  We are building in place.
                    832:     ac_srcdir=.
                    833:     if test -z "$ac_top_builddir"; then
                    834:        ac_top_srcdir=.
                    835:     else
                    836:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    837:     fi ;;
                    838:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    839:     ac_srcdir=$srcdir$ac_dir_suffix;
                    840:     ac_top_srcdir=$srcdir ;;
                    841:   *) # Relative path.
                    842:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    843:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    844: esac
                    845: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                    846: # absolute.
                    847: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                    848: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
                    849: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                    850: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                    851:
                    852:     cd $ac_dir
                    853:     # Check for guested configure; otherwise get Cygnus style configure.
                    854:     if test -f $ac_srcdir/configure.gnu; then
                    855:       echo
                    856:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    857:     elif test -f $ac_srcdir/configure; then
                    858:       echo
                    859:       $SHELL $ac_srcdir/configure  --help=recursive
                    860:     elif test -f $ac_srcdir/configure.ac ||
                    861:            test -f $ac_srcdir/configure.in; then
                    862:       echo
                    863:       $ac_configure --help
1.2       ohara     864:     else
1.4       takayama  865:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                    866:     fi
                    867:     cd $ac_popdir
                    868:   done
                    869: fi
                    870:
                    871: test -n "$ac_init_help" && exit 0
                    872: if $ac_init_version; then
                    873:   cat <<\_ACEOF
                    874:
                    875: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
                    876: Free Software Foundation, Inc.
                    877: This configure script is free software; the Free Software Foundation
                    878: gives unlimited permission to copy, distribute and modify it.
                    879: _ACEOF
                    880:   exit 0
                    881: fi
                    882: exec 5>config.log
                    883: cat >&5 <<_ACEOF
                    884: This file contains any messages produced by compilers while
                    885: running configure, to aid debugging if configure makes a mistake.
                    886:
                    887: It was created by $as_me, which was
                    888: generated by GNU Autoconf 2.53.  Invocation command line was
                    889:
                    890:   $ $0 $@
                    891:
                    892: _ACEOF
                    893: {
                    894: cat <<_ASUNAME
                    895: ## --------- ##
                    896: ## Platform. ##
                    897: ## --------- ##
                    898:
                    899: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                    900: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                    901: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                    902: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                    903: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                    904:
                    905: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                    906: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                    907:
                    908: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                    909: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                    910: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                    911: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                    912: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                    913: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                    914: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                    915:
                    916: _ASUNAME
                    917:
                    918: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    919: for as_dir in $PATH
                    920: do
                    921:   IFS=$as_save_IFS
                    922:   test -z "$as_dir" && as_dir=.
                    923:   echo "PATH: $as_dir"
                    924: done
                    925:
                    926: } >&5
                    927:
                    928: cat >&5 <<_ACEOF
                    929:
                    930:
                    931: ## ----------- ##
                    932: ## Core tests. ##
                    933: ## ----------- ##
                    934:
                    935: _ACEOF
                    936:
                    937:
                    938: # Keep a trace of the command line.
                    939: # Strip out --no-create and --no-recursion so they do not pile up.
                    940: # Also quote any args containing shell meta-characters.
                    941: ac_configure_args=
                    942: ac_sep=
                    943: for ac_arg
                    944: do
                    945:   case $ac_arg in
                    946:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    947:   | --no-cr | --no-c | -n ) continue ;;
                    948:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    949:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    950:     continue ;;
                    951:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                    952:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                    953:   esac
                    954:   case " $ac_configure_args " in
                    955:     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                    956:     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                    957:        ac_sep=" " ;;
                    958:   esac
                    959:   # Get rid of the leading space.
                    960: done
                    961:
                    962: # When interrupted or exit'd, cleanup temporary files, and complete
                    963: # config.log.  We remove comments because anyway the quotes in there
                    964: # would cause problems or look ugly.
                    965: # WARNING: Be sure not to use single quotes in there, as some shells,
                    966: # such as our DU 5.0 friend, will then `close' the trap.
                    967: trap 'exit_status=$?
                    968:   # Save into config.log some information that might help in debugging.
                    969:   {
                    970:     echo
                    971:     cat <<\_ASBOX
                    972: ## ---------------- ##
                    973: ## Cache variables. ##
                    974: ## ---------------- ##
                    975: _ASBOX
                    976:     echo
                    977:     # The following way of writing the cache mishandles newlines in values,
                    978: {
                    979:   (set) 2>&1 |
                    980:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                    981:     *ac_space=\ *)
                    982:       sed -n \
                    983:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                    984:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
                    985:       ;;
                    986:     *)
                    987:       sed -n \
                    988:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                    989:       ;;
                    990:     esac;
                    991: }
                    992:     echo
                    993:     if test -s confdefs.h; then
                    994:       cat <<\_ASBOX
                    995: ## ----------- ##
                    996: ## confdefs.h. ##
                    997: ## ----------- ##
                    998: _ASBOX
                    999:       echo
                   1000:       sed "/^$/d" confdefs.h
                   1001:       echo
1.2       ohara    1002:     fi
1.4       takayama 1003:     test "$ac_signal" != 0 &&
                   1004:       echo "$as_me: caught signal $ac_signal"
                   1005:     echo "$as_me: exit $exit_status"
                   1006:   } >&5
                   1007:   rm -f core core.* *.core &&
                   1008:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1009:     exit $exit_status
                   1010:      ' 0
                   1011: for ac_signal in 1 2 13 15; do
                   1012:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1013: done
                   1014: ac_signal=0
                   1015:
                   1016: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1017: rm -rf conftest* confdefs.h
                   1018: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1019: echo >confdefs.h
                   1020:
                   1021: # Predefined preprocessor variables.
                   1022:
                   1023: cat >>confdefs.h <<_ACEOF
                   1024: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1025: _ACEOF
                   1026:
                   1027:
                   1028: cat >>confdefs.h <<_ACEOF
                   1029: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1030: _ACEOF
                   1031:
                   1032:
                   1033: cat >>confdefs.h <<_ACEOF
                   1034: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1035: _ACEOF
                   1036:
                   1037:
                   1038: cat >>confdefs.h <<_ACEOF
                   1039: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1040: _ACEOF
                   1041:
                   1042:
                   1043: cat >>confdefs.h <<_ACEOF
                   1044: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1045: _ACEOF
                   1046:
                   1047:
                   1048: # Let the site file select an alternate cache file if it wants to.
                   1049: # Prefer explicitly selected file to automatically selected ones.
                   1050: if test -z "$CONFIG_SITE"; then
                   1051:   if test "x$prefix" != xNONE; then
                   1052:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1053:   else
                   1054:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1       ohara    1055:   fi
                   1056: fi
                   1057: for ac_site_file in $CONFIG_SITE; do
                   1058:   if test -r "$ac_site_file"; then
1.4       takayama 1059:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1060: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1061:     sed 's/^/| /' "$ac_site_file" >&5
1.1       ohara    1062:     . "$ac_site_file"
                   1063:   fi
                   1064: done
                   1065:
                   1066: if test -r "$cache_file"; then
1.4       takayama 1067:   # Some versions of bash will fail to source /dev/null (special
                   1068:   # files actually), so we avoid doing that.
                   1069:   if test -f "$cache_file"; then
                   1070:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1071: echo "$as_me: loading cache $cache_file" >&6;}
                   1072:     case $cache_file in
                   1073:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1074:       *)                      . ./$cache_file;;
                   1075:     esac
                   1076:   fi
1.1       ohara    1077: else
1.4       takayama 1078:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1079: echo "$as_me: creating cache $cache_file" >&6;}
                   1080:   >$cache_file
                   1081: fi
                   1082:
                   1083: # Check that the precious variables saved in the cache have kept the same
                   1084: # value.
                   1085: ac_cache_corrupted=false
                   1086: for ac_var in `(set) 2>&1 |
                   1087:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
                   1088:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1089:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1090:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1091:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1092:   case $ac_old_set,$ac_new_set in
                   1093:     set,)
                   1094:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1095: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1096:       ac_cache_corrupted=: ;;
                   1097:     ,set)
                   1098:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1099: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1100:       ac_cache_corrupted=: ;;
                   1101:     ,);;
                   1102:     *)
                   1103:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   1104:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
                   1105: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   1106:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
                   1107: echo "$as_me:   former value:  $ac_old_val" >&2;}
                   1108:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
                   1109: echo "$as_me:   current value: $ac_new_val" >&2;}
                   1110:         ac_cache_corrupted=:
                   1111:       fi;;
                   1112:   esac
                   1113:   # Pass precious variables to config.status.
                   1114:   if test "$ac_new_set" = set; then
                   1115:     case $ac_new_val in
                   1116:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1117:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1118:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1119:     esac
                   1120:     case " $ac_configure_args " in
                   1121:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1122:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1123:     esac
                   1124:   fi
                   1125: done
                   1126: if $ac_cache_corrupted; then
                   1127:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1128: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1129:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1130: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1131:    { (exit 1); exit 1; }; }
1.1       ohara    1132: fi
                   1133:
                   1134: ac_ext=c
                   1135: ac_cpp='$CPP $CPPFLAGS'
1.4       takayama 1136: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1137: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1138: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1139:
                   1140:
                   1141:
                   1142:
                   1143:
                   1144:
                   1145:
                   1146:
                   1147:
                   1148:
                   1149:
                   1150:
                   1151:
                   1152:
                   1153:
                   1154:
1.1       ohara    1155:
                   1156:
1.5       ohara    1157: ac_aux_dir=
                   1158: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1159:   if test -f $ac_dir/install-sh; then
                   1160:     ac_aux_dir=$ac_dir
                   1161:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1162:     break
                   1163:   elif test -f $ac_dir/install.sh; then
                   1164:     ac_aux_dir=$ac_dir
                   1165:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1166:     break
                   1167:   elif test -f $ac_dir/shtool; then
                   1168:     ac_aux_dir=$ac_dir
                   1169:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1170:     break
                   1171:   fi
                   1172: done
                   1173: if test -z "$ac_aux_dir"; then
                   1174:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1175: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1176:    { (exit 1); exit 1; }; }
                   1177: fi
                   1178: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1179: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1180: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
                   1181:
                   1182: # Make sure we can run config.sub.
                   1183: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1184:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1185: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1186:    { (exit 1); exit 1; }; }
                   1187:
                   1188: echo "$as_me:$LINENO: checking build system type" >&5
                   1189: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1190: if test "${ac_cv_build+set}" = set; then
                   1191:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1192: else
                   1193:   ac_cv_build_alias=$build_alias
                   1194: test -z "$ac_cv_build_alias" &&
                   1195:   ac_cv_build_alias=`$ac_config_guess`
                   1196: test -z "$ac_cv_build_alias" &&
                   1197:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1198: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1199:    { (exit 1); exit 1; }; }
                   1200: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1201:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1202: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1203:    { (exit 1); exit 1; }; }
                   1204:
                   1205: fi
                   1206: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1207: echo "${ECHO_T}$ac_cv_build" >&6
                   1208: build=$ac_cv_build
                   1209: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1210: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1211: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1212:
                   1213:
                   1214: echo "$as_me:$LINENO: checking host system type" >&5
                   1215: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1216: if test "${ac_cv_host+set}" = set; then
                   1217:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1218: else
                   1219:   ac_cv_host_alias=$host_alias
                   1220: test -z "$ac_cv_host_alias" &&
                   1221:   ac_cv_host_alias=$ac_cv_build_alias
                   1222: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1223:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1224: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1225:    { (exit 1); exit 1; }; }
                   1226:
                   1227: fi
                   1228: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1229: echo "${ECHO_T}$ac_cv_host" >&6
                   1230: host=$ac_cv_host
                   1231: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1232: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1233: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1234:
                   1235:
                   1236: echo "$as_me:$LINENO: checking target system type" >&5
                   1237: echo $ECHO_N "checking target system type... $ECHO_C" >&6
                   1238: if test "${ac_cv_target+set}" = set; then
                   1239:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1240: else
                   1241:   ac_cv_target_alias=$target_alias
                   1242: test "x$ac_cv_target_alias" = "x" &&
                   1243:   ac_cv_target_alias=$ac_cv_host_alias
                   1244: ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
                   1245:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
                   1246: echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
                   1247:    { (exit 1); exit 1; }; }
                   1248:
                   1249: fi
                   1250: echo "$as_me:$LINENO: result: $ac_cv_target" >&5
                   1251: echo "${ECHO_T}$ac_cv_target" >&6
                   1252: target=$ac_cv_target
                   1253: target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1254: target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1255: target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1256:
                   1257:
                   1258: # The aliases save the names the user supplied, while $host etc.
                   1259: # will get canonicalized.
                   1260: test -n "$target_alias" &&
                   1261:   test "$program_prefix$program_suffix$program_transform_name" = \
                   1262:     NONENONEs,x,x, &&
                   1263:   program_prefix=${target_alias}-
1.4       takayama 1264: ac_ext=c
                   1265: ac_cpp='$CPP $CPPFLAGS'
                   1266: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1267: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1268: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1269: if test -n "$ac_tool_prefix"; then
                   1270:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   1271: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   1272: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1273: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1274: if test "${ac_cv_prog_CC+set}" = set; then
                   1275:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1276: else
                   1277:   if test -n "$CC"; then
                   1278:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1279: else
1.4       takayama 1280: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1281: for as_dir in $PATH
                   1282: do
                   1283:   IFS=$as_save_IFS
                   1284:   test -z "$as_dir" && as_dir=.
                   1285:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1286:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1287:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   1288:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1289:     break 2
                   1290:   fi
                   1291: done
                   1292: done
                   1293:
1.1       ohara    1294: fi
                   1295: fi
1.4       takayama 1296: CC=$ac_cv_prog_CC
1.1       ohara    1297: if test -n "$CC"; then
1.4       takayama 1298:   echo "$as_me:$LINENO: result: $CC" >&5
                   1299: echo "${ECHO_T}$CC" >&6
1.1       ohara    1300: else
1.4       takayama 1301:   echo "$as_me:$LINENO: result: no" >&5
                   1302: echo "${ECHO_T}no" >&6
1.1       ohara    1303: fi
                   1304:
1.4       takayama 1305: fi
                   1306: if test -z "$ac_cv_prog_CC"; then
                   1307:   ac_ct_CC=$CC
                   1308:   # Extract the first word of "gcc", so it can be a program name with args.
                   1309: set dummy gcc; ac_word=$2
                   1310: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1311: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1312: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1313:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1314: else
1.4       takayama 1315:   if test -n "$ac_ct_CC"; then
                   1316:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       ohara    1317: else
1.4       takayama 1318: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1319: for as_dir in $PATH
                   1320: do
                   1321:   IFS=$as_save_IFS
                   1322:   test -z "$as_dir" && as_dir=.
                   1323:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1324:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1325:     ac_cv_prog_ac_ct_CC="gcc"
                   1326:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1327:     break 2
1.1       ohara    1328:   fi
1.4       takayama 1329: done
                   1330: done
                   1331:
1.1       ohara    1332: fi
                   1333: fi
1.4       takayama 1334: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1335: if test -n "$ac_ct_CC"; then
                   1336:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1337: echo "${ECHO_T}$ac_ct_CC" >&6
                   1338: else
                   1339:   echo "$as_me:$LINENO: result: no" >&5
                   1340: echo "${ECHO_T}no" >&6
1.1       ohara    1341: fi
1.4       takayama 1342:
                   1343:   CC=$ac_ct_CC
1.1       ohara    1344: else
1.4       takayama 1345:   CC="$ac_cv_prog_CC"
1.1       ohara    1346: fi
                   1347:
1.4       takayama 1348: if test -z "$CC"; then
                   1349:   if test -n "$ac_tool_prefix"; then
                   1350:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   1351: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   1352: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1353: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1354: if test "${ac_cv_prog_CC+set}" = set; then
                   1355:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1356: else
                   1357:   if test -n "$CC"; then
                   1358:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1359: else
1.4       takayama 1360: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1361: for as_dir in $PATH
                   1362: do
                   1363:   IFS=$as_save_IFS
                   1364:   test -z "$as_dir" && as_dir=.
                   1365:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1366:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1367:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   1368:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1369:     break 2
                   1370:   fi
                   1371: done
                   1372: done
                   1373:
1.1       ohara    1374: fi
                   1375: fi
1.4       takayama 1376: CC=$ac_cv_prog_CC
1.1       ohara    1377: if test -n "$CC"; then
1.4       takayama 1378:   echo "$as_me:$LINENO: result: $CC" >&5
                   1379: echo "${ECHO_T}$CC" >&6
1.1       ohara    1380: else
1.4       takayama 1381:   echo "$as_me:$LINENO: result: no" >&5
                   1382: echo "${ECHO_T}no" >&6
                   1383: fi
                   1384:
1.1       ohara    1385: fi
1.4       takayama 1386: if test -z "$ac_cv_prog_CC"; then
                   1387:   ac_ct_CC=$CC
                   1388:   # Extract the first word of "cc", so it can be a program name with args.
                   1389: set dummy cc; ac_word=$2
                   1390: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1391: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1392: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1393:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1394: else
                   1395:   if test -n "$ac_ct_CC"; then
                   1396:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   1397: else
                   1398: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1399: for as_dir in $PATH
                   1400: do
                   1401:   IFS=$as_save_IFS
                   1402:   test -z "$as_dir" && as_dir=.
                   1403:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1404:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1405:     ac_cv_prog_ac_ct_CC="cc"
                   1406:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1407:     break 2
1.1       ohara    1408:   fi
1.4       takayama 1409: done
                   1410: done
                   1411:
                   1412: fi
                   1413: fi
                   1414: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1415: if test -n "$ac_ct_CC"; then
                   1416:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1417: echo "${ECHO_T}$ac_ct_CC" >&6
                   1418: else
                   1419:   echo "$as_me:$LINENO: result: no" >&5
                   1420: echo "${ECHO_T}no" >&6
1.1       ohara    1421: fi
                   1422:
1.4       takayama 1423:   CC=$ac_ct_CC
                   1424: else
                   1425:   CC="$ac_cv_prog_CC"
                   1426: fi
1.1       ohara    1427:
1.4       takayama 1428: fi
                   1429: if test -z "$CC"; then
                   1430:   # Extract the first word of "cc", so it can be a program name with args.
                   1431: set dummy cc; ac_word=$2
                   1432: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1433: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1434: if test "${ac_cv_prog_CC+set}" = set; then
                   1435:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1436: else
                   1437:   if test -n "$CC"; then
                   1438:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1439: else
                   1440:   ac_prog_rejected=no
                   1441: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1442: for as_dir in $PATH
                   1443: do
                   1444:   IFS=$as_save_IFS
                   1445:   test -z "$as_dir" && as_dir=.
                   1446:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1447:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1448:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   1449:        ac_prog_rejected=yes
                   1450:        continue
                   1451:      fi
                   1452:     ac_cv_prog_CC="cc"
                   1453:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1454:     break 2
                   1455:   fi
                   1456: done
                   1457: done
                   1458:
                   1459: if test $ac_prog_rejected = yes; then
                   1460:   # We found a bogon in the path, so make sure we never use it.
                   1461:   set dummy $ac_cv_prog_CC
                   1462:   shift
                   1463:   if test $# != 0; then
                   1464:     # We chose a different compiler from the bogus one.
                   1465:     # However, it has the same basename, so the bogon will be chosen
                   1466:     # first if we set CC to just the basename; use the full file name.
                   1467:     shift
                   1468:     set dummy "$as_dir/$ac_word" ${1+"$@"}
                   1469:     shift
                   1470:     ac_cv_prog_CC="$@"
1.1       ohara    1471:   fi
1.4       takayama 1472: fi
                   1473: fi
                   1474: fi
                   1475: CC=$ac_cv_prog_CC
                   1476: if test -n "$CC"; then
                   1477:   echo "$as_me:$LINENO: result: $CC" >&5
                   1478: echo "${ECHO_T}$CC" >&6
1.1       ohara    1479: else
1.4       takayama 1480:   echo "$as_me:$LINENO: result: no" >&5
                   1481: echo "${ECHO_T}no" >&6
                   1482: fi
                   1483:
1.1       ohara    1484: fi
1.4       takayama 1485: if test -z "$CC"; then
                   1486:   if test -n "$ac_tool_prefix"; then
                   1487:   for ac_prog in cl
                   1488:   do
                   1489:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1490: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1491: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1492: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1493: if test "${ac_cv_prog_CC+set}" = set; then
                   1494:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1495: else
                   1496:   if test -n "$CC"; then
                   1497:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1498: else
                   1499: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1500: for as_dir in $PATH
                   1501: do
                   1502:   IFS=$as_save_IFS
                   1503:   test -z "$as_dir" && as_dir=.
                   1504:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1505:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1506:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   1507:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1508:     break 2
                   1509:   fi
                   1510: done
                   1511: done
1.1       ohara    1512:
                   1513: fi
1.4       takayama 1514: fi
                   1515: CC=$ac_cv_prog_CC
                   1516: if test -n "$CC"; then
                   1517:   echo "$as_me:$LINENO: result: $CC" >&5
                   1518: echo "${ECHO_T}$CC" >&6
                   1519: else
                   1520:   echo "$as_me:$LINENO: result: no" >&5
                   1521: echo "${ECHO_T}no" >&6
                   1522: fi
1.1       ohara    1523:
1.4       takayama 1524:     test -n "$CC" && break
                   1525:   done
                   1526: fi
                   1527: if test -z "$CC"; then
                   1528:   ac_ct_CC=$CC
                   1529:   for ac_prog in cl
                   1530: do
                   1531:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1532: set dummy $ac_prog; ac_word=$2
                   1533: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1534: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1535: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   1536:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1537: else
                   1538:   if test -n "$ac_ct_CC"; then
                   1539:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       ohara    1540: else
1.4       takayama 1541: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1542: for as_dir in $PATH
                   1543: do
                   1544:   IFS=$as_save_IFS
                   1545:   test -z "$as_dir" && as_dir=.
                   1546:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1547:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1548:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   1549:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1550:     break 2
                   1551:   fi
                   1552: done
                   1553: done
                   1554:
                   1555: fi
                   1556: fi
                   1557: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   1558: if test -n "$ac_ct_CC"; then
                   1559:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   1560: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       ohara    1561: else
1.4       takayama 1562:   echo "$as_me:$LINENO: result: no" >&5
                   1563: echo "${ECHO_T}no" >&6
                   1564: fi
                   1565:
                   1566:   test -n "$ac_ct_CC" && break
                   1567: done
                   1568:
                   1569:   CC=$ac_ct_CC
1.1       ohara    1570: fi
1.4       takayama 1571:
1.1       ohara    1572: fi
                   1573:
                   1574:
1.4       takayama 1575: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
                   1576: echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
                   1577:    { (exit 1); exit 1; }; }
                   1578:
                   1579: # Provide some information about the compiler.
                   1580: echo "$as_me:$LINENO:" \
                   1581:      "checking for C compiler version" >&5
                   1582: ac_compiler=`set X $ac_compile; echo $2`
                   1583: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   1584:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   1585:   ac_status=$?
                   1586:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1587:   (exit $ac_status); }
                   1588: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   1589:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   1590:   ac_status=$?
                   1591:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1592:   (exit $ac_status); }
                   1593: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   1594:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   1595:   ac_status=$?
                   1596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1597:   (exit $ac_status); }
                   1598:
                   1599: cat >conftest.$ac_ext <<_ACEOF
                   1600: #line $LINENO "configure"
                   1601: #include "confdefs.h"
                   1602:
                   1603: #ifdef F77_DUMMY_MAIN
                   1604: #  ifdef __cplusplus
                   1605:      extern "C"
                   1606: #  endif
                   1607:    int F77_DUMMY_MAIN() { return 1; }
                   1608: #endif
                   1609: int
                   1610: main ()
                   1611: {
                   1612:
                   1613:   ;
                   1614:   return 0;
                   1615: }
                   1616: _ACEOF
                   1617: ac_clean_files_save=$ac_clean_files
                   1618: ac_clean_files="$ac_clean_files a.out a.exe"
                   1619: # Try to create an executable without -o first, disregard a.out.
                   1620: # It will help us diagnose broken compilers, and finding out an intuition
                   1621: # of exeext.
                   1622: echo "$as_me:$LINENO: checking for C compiler default output" >&5
                   1623: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
                   1624: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   1625: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   1626:   (eval $ac_link_default) 2>&5
                   1627:   ac_status=$?
                   1628:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1629:   (exit $ac_status); }; then
                   1630:   # Find the output, starting from the most likely.  This scheme is
                   1631: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   1632: # resort.
                   1633:
                   1634: # Be careful to initialize this variable, since it used to be cached.
                   1635: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   1636: ac_cv_exeext=
                   1637: for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
                   1638:                 ls a.out conftest 2>/dev/null;
                   1639:                 ls a.* conftest.* 2>/dev/null`; do
                   1640:   case $ac_file in
                   1641:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
                   1642:     a.out ) # We found the default executable, but exeext='' is most
                   1643:             # certainly right.
                   1644:             break;;
                   1645:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1646:           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
                   1647:           export ac_cv_exeext
                   1648:           break;;
                   1649:     * ) break;;
                   1650:   esac
                   1651: done
1.1       ohara    1652: else
1.4       takayama 1653:   echo "$as_me: failed program was:" >&5
                   1654: cat conftest.$ac_ext >&5
                   1655: { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
                   1656: echo "$as_me: error: C compiler cannot create executables" >&2;}
                   1657:    { (exit 77); exit 77; }; }
                   1658: fi
                   1659:
                   1660: ac_exeext=$ac_cv_exeext
                   1661: echo "$as_me:$LINENO: result: $ac_file" >&5
                   1662: echo "${ECHO_T}$ac_file" >&6
                   1663:
                   1664: # Check the compiler produces executables we can run.  If not, either
                   1665: # the compiler is broken, or we cross compile.
                   1666: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
                   1667: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
                   1668: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   1669: # If not cross compiling, check that we can run a simple program.
                   1670: if test "$cross_compiling" != yes; then
                   1671:   if { ac_try='./$ac_file'
                   1672:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1673:   (eval $ac_try) 2>&5
                   1674:   ac_status=$?
                   1675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1676:   (exit $ac_status); }; }; then
                   1677:     cross_compiling=no
                   1678:   else
                   1679:     if test "$cross_compiling" = maybe; then
                   1680:        cross_compiling=yes
                   1681:     else
                   1682:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
                   1683: If you meant to cross compile, use \`--host'." >&5
                   1684: echo "$as_me: error: cannot run C compiled programs.
                   1685: If you meant to cross compile, use \`--host'." >&2;}
                   1686:    { (exit 1); exit 1; }; }
                   1687:     fi
                   1688:   fi
1.1       ohara    1689: fi
1.4       takayama 1690: echo "$as_me:$LINENO: result: yes" >&5
                   1691: echo "${ECHO_T}yes" >&6
                   1692:
                   1693: rm -f a.out a.exe conftest$ac_cv_exeext
                   1694: ac_clean_files=$ac_clean_files_save
                   1695: # Check the compiler produces executables we can run.  If not, either
                   1696: # the compiler is broken, or we cross compile.
                   1697: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   1698: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   1699: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   1700: echo "${ECHO_T}$cross_compiling" >&6
                   1701:
                   1702: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   1703: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   1704: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   1705:   (eval $ac_link) 2>&5
                   1706:   ac_status=$?
                   1707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1708:   (exit $ac_status); }; then
                   1709:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   1710: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   1711: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   1712: # `rm'.
                   1713: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
                   1714:   case $ac_file in
                   1715:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
                   1716:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   1717:           export ac_cv_exeext
                   1718:           break;;
                   1719:     * ) break;;
                   1720:   esac
                   1721: done
                   1722: else
                   1723:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
                   1724: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
                   1725:    { (exit 1); exit 1; }; }
                   1726: fi
                   1727:
                   1728: rm -f conftest$ac_cv_exeext
                   1729: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   1730: echo "${ECHO_T}$ac_cv_exeext" >&6
                   1731:
                   1732: rm -f conftest.$ac_ext
                   1733: EXEEXT=$ac_cv_exeext
                   1734: ac_exeext=$EXEEXT
                   1735: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   1736: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   1737: if test "${ac_cv_objext+set}" = set; then
                   1738:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1739: else
                   1740:   cat >conftest.$ac_ext <<_ACEOF
                   1741: #line $LINENO "configure"
                   1742: #include "confdefs.h"
                   1743:
                   1744: #ifdef F77_DUMMY_MAIN
                   1745: #  ifdef __cplusplus
                   1746:      extern "C"
                   1747: #  endif
                   1748:    int F77_DUMMY_MAIN() { return 1; }
                   1749: #endif
                   1750: int
                   1751: main ()
                   1752: {
                   1753:
                   1754:   ;
                   1755:   return 0;
                   1756: }
                   1757: _ACEOF
                   1758: rm -f conftest.o conftest.obj
                   1759: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1760:   (eval $ac_compile) 2>&5
                   1761:   ac_status=$?
                   1762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1763:   (exit $ac_status); }; then
                   1764:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   1765:   case $ac_file in
                   1766:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
                   1767:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   1768:        break;;
                   1769:   esac
                   1770: done
                   1771: else
                   1772:   echo "$as_me: failed program was:" >&5
                   1773: cat conftest.$ac_ext >&5
                   1774: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
                   1775: echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
                   1776:    { (exit 1); exit 1; }; }
                   1777: fi
                   1778:
                   1779: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   1780: fi
                   1781: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   1782: echo "${ECHO_T}$ac_cv_objext" >&6
                   1783: OBJEXT=$ac_cv_objext
                   1784: ac_objext=$OBJEXT
                   1785: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   1786: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   1787: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   1788:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1789: else
                   1790:   cat >conftest.$ac_ext <<_ACEOF
                   1791: #line $LINENO "configure"
                   1792: #include "confdefs.h"
                   1793:
                   1794: #ifdef F77_DUMMY_MAIN
                   1795: #  ifdef __cplusplus
                   1796:      extern "C"
                   1797: #  endif
                   1798:    int F77_DUMMY_MAIN() { return 1; }
                   1799: #endif
                   1800: int
                   1801: main ()
                   1802: {
                   1803: #ifndef __GNUC__
                   1804:        choke me
                   1805: #endif
1.1       ohara    1806:
1.4       takayama 1807:   ;
                   1808:   return 0;
                   1809: }
                   1810: _ACEOF
                   1811: rm -f conftest.$ac_objext
                   1812: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1813:   (eval $ac_compile) 2>&5
                   1814:   ac_status=$?
                   1815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1816:   (exit $ac_status); } &&
                   1817:          { ac_try='test -s conftest.$ac_objext'
                   1818:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1819:   (eval $ac_try) 2>&5
                   1820:   ac_status=$?
                   1821:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1822:   (exit $ac_status); }; }; then
                   1823:   ac_compiler_gnu=yes
                   1824: else
                   1825:   echo "$as_me: failed program was:" >&5
                   1826: cat conftest.$ac_ext >&5
                   1827: ac_compiler_gnu=no
                   1828: fi
                   1829: rm -f conftest.$ac_objext conftest.$ac_ext
                   1830: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   1831:
                   1832: fi
                   1833: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   1834: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   1835: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   1836: ac_test_CFLAGS=${CFLAGS+set}
                   1837: ac_save_CFLAGS=$CFLAGS
                   1838: CFLAGS="-g"
                   1839: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   1840: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   1841: if test "${ac_cv_prog_cc_g+set}" = set; then
                   1842:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1843: else
1.4       takayama 1844:   cat >conftest.$ac_ext <<_ACEOF
                   1845: #line $LINENO "configure"
                   1846: #include "confdefs.h"
                   1847:
                   1848: #ifdef F77_DUMMY_MAIN
                   1849: #  ifdef __cplusplus
                   1850:      extern "C"
                   1851: #  endif
                   1852:    int F77_DUMMY_MAIN() { return 1; }
                   1853: #endif
                   1854: int
                   1855: main ()
                   1856: {
                   1857:
                   1858:   ;
                   1859:   return 0;
                   1860: }
                   1861: _ACEOF
                   1862: rm -f conftest.$ac_objext
                   1863: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1864:   (eval $ac_compile) 2>&5
                   1865:   ac_status=$?
                   1866:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1867:   (exit $ac_status); } &&
                   1868:          { ac_try='test -s conftest.$ac_objext'
                   1869:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1870:   (eval $ac_try) 2>&5
                   1871:   ac_status=$?
                   1872:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1873:   (exit $ac_status); }; }; then
1.1       ohara    1874:   ac_cv_prog_cc_g=yes
                   1875: else
1.4       takayama 1876:   echo "$as_me: failed program was:" >&5
                   1877: cat conftest.$ac_ext >&5
                   1878: ac_cv_prog_cc_g=no
1.1       ohara    1879: fi
1.4       takayama 1880: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       ohara    1881: fi
1.4       takayama 1882: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   1883: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       ohara    1884: if test "$ac_test_CFLAGS" = set; then
1.4       takayama 1885:   CFLAGS=$ac_save_CFLAGS
1.1       ohara    1886: elif test $ac_cv_prog_cc_g = yes; then
                   1887:   if test "$GCC" = yes; then
                   1888:     CFLAGS="-g -O2"
                   1889:   else
                   1890:     CFLAGS="-g"
                   1891:   fi
                   1892: else
                   1893:   if test "$GCC" = yes; then
                   1894:     CFLAGS="-O2"
                   1895:   else
                   1896:     CFLAGS=
                   1897:   fi
                   1898: fi
1.4       takayama 1899: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   1900: # in C++ we need to declare it.  In case someone uses the same compiler
                   1901: # for both compiling C and C++ we need to have the C++ compiler decide
                   1902: # the declaration of exit, since it's the most demanding environment.
                   1903: cat >conftest.$ac_ext <<_ACEOF
                   1904: #ifndef __cplusplus
                   1905:   choke me
                   1906: #endif
                   1907: _ACEOF
                   1908: rm -f conftest.$ac_objext
                   1909: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1910:   (eval $ac_compile) 2>&5
                   1911:   ac_status=$?
                   1912:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1913:   (exit $ac_status); } &&
                   1914:          { ac_try='test -s conftest.$ac_objext'
                   1915:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1916:   (eval $ac_try) 2>&5
                   1917:   ac_status=$?
                   1918:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1919:   (exit $ac_status); }; }; then
                   1920:   for ac_declaration in \
                   1921:    ''\
                   1922:    '#include <stdlib.h>' \
                   1923:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   1924:    'extern "C" void std::exit (int); using std::exit;' \
                   1925:    'extern "C" void exit (int) throw ();' \
                   1926:    'extern "C" void exit (int);' \
                   1927:    'void exit (int);'
                   1928: do
                   1929:   cat >conftest.$ac_ext <<_ACEOF
                   1930: #line $LINENO "configure"
                   1931: #include "confdefs.h"
                   1932: #include <stdlib.h>
                   1933: $ac_declaration
                   1934: #ifdef F77_DUMMY_MAIN
                   1935: #  ifdef __cplusplus
                   1936:      extern "C"
                   1937: #  endif
                   1938:    int F77_DUMMY_MAIN() { return 1; }
                   1939: #endif
                   1940: int
                   1941: main ()
                   1942: {
                   1943: exit (42);
                   1944:   ;
                   1945:   return 0;
                   1946: }
                   1947: _ACEOF
                   1948: rm -f conftest.$ac_objext
                   1949: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1950:   (eval $ac_compile) 2>&5
                   1951:   ac_status=$?
                   1952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1953:   (exit $ac_status); } &&
                   1954:          { ac_try='test -s conftest.$ac_objext'
                   1955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1956:   (eval $ac_try) 2>&5
                   1957:   ac_status=$?
                   1958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1959:   (exit $ac_status); }; }; then
                   1960:   :
                   1961: else
                   1962:   echo "$as_me: failed program was:" >&5
                   1963: cat conftest.$ac_ext >&5
                   1964: continue
                   1965: fi
                   1966: rm -f conftest.$ac_objext conftest.$ac_ext
                   1967:   cat >conftest.$ac_ext <<_ACEOF
                   1968: #line $LINENO "configure"
                   1969: #include "confdefs.h"
                   1970: $ac_declaration
                   1971: #ifdef F77_DUMMY_MAIN
                   1972: #  ifdef __cplusplus
                   1973:      extern "C"
                   1974: #  endif
                   1975:    int F77_DUMMY_MAIN() { return 1; }
                   1976: #endif
                   1977: int
                   1978: main ()
                   1979: {
                   1980: exit (42);
                   1981:   ;
                   1982:   return 0;
                   1983: }
                   1984: _ACEOF
                   1985: rm -f conftest.$ac_objext
                   1986: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   1987:   (eval $ac_compile) 2>&5
                   1988:   ac_status=$?
                   1989:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1990:   (exit $ac_status); } &&
                   1991:          { ac_try='test -s conftest.$ac_objext'
                   1992:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   1993:   (eval $ac_try) 2>&5
                   1994:   ac_status=$?
                   1995:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   1996:   (exit $ac_status); }; }; then
                   1997:   break
                   1998: else
                   1999:   echo "$as_me: failed program was:" >&5
                   2000: cat conftest.$ac_ext >&5
                   2001: fi
                   2002: rm -f conftest.$ac_objext conftest.$ac_ext
                   2003: done
                   2004: rm -f conftest*
                   2005: if test -n "$ac_declaration"; then
                   2006:   echo '#ifdef __cplusplus' >>confdefs.h
                   2007:   echo $ac_declaration      >>confdefs.h
                   2008:   echo '#endif'             >>confdefs.h
                   2009: fi
1.1       ohara    2010:
1.4       takayama 2011: else
                   2012:   echo "$as_me: failed program was:" >&5
                   2013: cat conftest.$ac_ext >&5
                   2014: fi
                   2015: rm -f conftest.$ac_objext conftest.$ac_ext
                   2016: ac_ext=c
                   2017: ac_cpp='$CPP $CPPFLAGS'
                   2018: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2019: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2020: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2021:
1.6     ! ohara    2022: # Find a good install program.  We prefer a C program (faster),
        !          2023: # so one script is as good as another.  But avoid the broken or
        !          2024: # incompatible versions:
        !          2025: # SysV /etc/install, /usr/sbin/install
        !          2026: # SunOS /usr/etc/install
        !          2027: # IRIX /sbin/install
        !          2028: # AIX /bin/install
        !          2029: # AmigaOS /C/install, which installs bootblocks on floppy discs
        !          2030: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !          2031: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !          2032: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !          2033: # ./install, which can be erroneously created by make from ./install.sh.
        !          2034: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
        !          2035: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
        !          2036: if test -z "$INSTALL"; then
        !          2037: if test "${ac_cv_path_install+set}" = set; then
        !          2038:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2039: else
        !          2040:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2041: for as_dir in $PATH
        !          2042: do
        !          2043:   IFS=$as_save_IFS
        !          2044:   test -z "$as_dir" && as_dir=.
        !          2045:   # Account for people who put trailing slashes in PATH elements.
        !          2046: case $as_dir/ in
        !          2047:   ./ | .// | /cC/* | \
        !          2048:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
        !          2049:   /usr/ucb/* ) ;;
        !          2050:   *)
        !          2051:     # OSF1 and SCO ODT 3.0 have their own names for install.
        !          2052:     # Don't use installbsd from OSF since it installs stuff as root
        !          2053:     # by default.
        !          2054:     for ac_prog in ginstall scoinst install; do
        !          2055:       for ac_exec_ext in '' $ac_executable_extensions; do
        !          2056:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
        !          2057:           if test $ac_prog = install &&
        !          2058:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2059:             # AIX install.  It has an incompatible calling convention.
        !          2060:             :
        !          2061:           elif test $ac_prog = install &&
        !          2062:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
        !          2063:             # program-specific install script used by HP pwplus--don't use.
        !          2064:             :
        !          2065:           else
        !          2066:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
        !          2067:             break 3
        !          2068:           fi
        !          2069:         fi
        !          2070:       done
        !          2071:     done
        !          2072:     ;;
        !          2073: esac
        !          2074: done
        !          2075:
        !          2076:
        !          2077: fi
        !          2078:   if test "${ac_cv_path_install+set}" = set; then
        !          2079:     INSTALL=$ac_cv_path_install
        !          2080:   else
        !          2081:     # As a last resort, use the slow shell script.  We don't cache a
        !          2082:     # path for INSTALL within a source directory, because that will
        !          2083:     # break other packages using the cache if that directory is
        !          2084:     # removed, or if the path is relative.
        !          2085:     INSTALL=$ac_install_sh
        !          2086:   fi
        !          2087: fi
        !          2088: echo "$as_me:$LINENO: result: $INSTALL" >&5
        !          2089: echo "${ECHO_T}$INSTALL" >&6
        !          2090:
        !          2091: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !          2092: # It thinks the first close brace ends the variable substitution.
        !          2093: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !          2094:
        !          2095: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
        !          2096:
        !          2097: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !          2098:
1.4       takayama 2099: if test -n "$ac_tool_prefix"; then
                   2100:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   2101: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   2102: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2103: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2104: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   2105:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2106: else
                   2107:   if test -n "$RANLIB"; then
                   2108:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   2109: else
1.4       takayama 2110: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2111: for as_dir in $PATH
                   2112: do
                   2113:   IFS=$as_save_IFS
                   2114:   test -z "$as_dir" && as_dir=.
                   2115:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2116:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2117:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   2118:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2119:     break 2
                   2120:   fi
                   2121: done
                   2122: done
                   2123:
1.1       ohara    2124: fi
                   2125: fi
1.4       takayama 2126: RANLIB=$ac_cv_prog_RANLIB
1.1       ohara    2127: if test -n "$RANLIB"; then
1.4       takayama 2128:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   2129: echo "${ECHO_T}$RANLIB" >&6
                   2130: else
                   2131:   echo "$as_me:$LINENO: result: no" >&5
                   2132: echo "${ECHO_T}no" >&6
                   2133: fi
                   2134:
                   2135: fi
                   2136: if test -z "$ac_cv_prog_RANLIB"; then
                   2137:   ac_ct_RANLIB=$RANLIB
                   2138:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2139: set dummy ranlib; ac_word=$2
                   2140: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2141: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2142: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   2143:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2144: else
                   2145:   if test -n "$ac_ct_RANLIB"; then
                   2146:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2147: else
                   2148: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2149: for as_dir in $PATH
                   2150: do
                   2151:   IFS=$as_save_IFS
                   2152:   test -z "$as_dir" && as_dir=.
                   2153:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2154:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2155:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   2156:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2157:     break 2
                   2158:   fi
                   2159: done
                   2160: done
                   2161:
                   2162:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   2163: fi
                   2164: fi
                   2165: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2166: if test -n "$ac_ct_RANLIB"; then
                   2167:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   2168: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   2169: else
                   2170:   echo "$as_me:$LINENO: result: no" >&5
                   2171: echo "${ECHO_T}no" >&6
                   2172: fi
                   2173:
                   2174:   RANLIB=$ac_ct_RANLIB
1.1       ohara    2175: else
1.4       takayama 2176:   RANLIB="$ac_cv_prog_RANLIB"
1.1       ohara    2177: fi
                   2178:
1.4       takayama 2179:
                   2180: ac_ext=c
                   2181: ac_cpp='$CPP $CPPFLAGS'
                   2182: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2183: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2184: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2185: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   2186: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       ohara    2187: # On Suns, sometimes $CPP names a directory.
                   2188: if test -n "$CPP" && test -d "$CPP"; then
                   2189:   CPP=
                   2190: fi
                   2191: if test -z "$CPP"; then
1.4       takayama 2192:   if test "${ac_cv_prog_CPP+set}" = set; then
                   2193:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2194: else
1.4       takayama 2195:       # Double quotes because CPP needs to be expanded
                   2196:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   2197:     do
                   2198:       ac_preproc_ok=false
                   2199: for ac_c_preproc_warn_flag in '' yes
                   2200: do
                   2201:   # Use a header file that comes with gcc, so configuring glibc
                   2202:   # with a fresh cross-compiler works.
1.1       ohara    2203:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.4       takayama 2204:   # not just through cpp. "Syntax error" is here to catch this case.
                   2205:   cat >conftest.$ac_ext <<_ACEOF
                   2206: #line $LINENO "configure"
1.1       ohara    2207: #include "confdefs.h"
                   2208: #include <assert.h>
1.4       takayama 2209:                      Syntax error
                   2210: _ACEOF
                   2211: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2212:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2213:   ac_status=$?
                   2214:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2215:   rm -f conftest.er1
                   2216:   cat conftest.err >&5
                   2217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2218:   (exit $ac_status); } >/dev/null; then
                   2219:   if test -s conftest.err; then
                   2220:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2221:   else
                   2222:     ac_cpp_err=
                   2223:   fi
                   2224: else
                   2225:   ac_cpp_err=yes
                   2226: fi
                   2227: if test -z "$ac_cpp_err"; then
1.1       ohara    2228:   :
                   2229: else
1.4       takayama 2230:   echo "$as_me: failed program was:" >&5
1.1       ohara    2231:   cat conftest.$ac_ext >&5
1.4       takayama 2232:   # Broken: fails on valid input.
                   2233: continue
                   2234: fi
                   2235: rm -f conftest.err conftest.$ac_ext
                   2236:
                   2237:   # OK, works on sane cases.  Now check whether non-existent headers
                   2238:   # can be detected and how.
                   2239:   cat >conftest.$ac_ext <<_ACEOF
                   2240: #line $LINENO "configure"
1.1       ohara    2241: #include "confdefs.h"
1.4       takayama 2242: #include <ac_nonexistent.h>
                   2243: _ACEOF
                   2244: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2245:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2246:   ac_status=$?
                   2247:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2248:   rm -f conftest.er1
                   2249:   cat conftest.err >&5
                   2250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2251:   (exit $ac_status); } >/dev/null; then
                   2252:   if test -s conftest.err; then
                   2253:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2254:   else
                   2255:     ac_cpp_err=
                   2256:   fi
                   2257: else
                   2258:   ac_cpp_err=yes
                   2259: fi
                   2260: if test -z "$ac_cpp_err"; then
                   2261:   # Broken: success on invalid input.
                   2262: continue
1.1       ohara    2263: else
1.4       takayama 2264:   echo "$as_me: failed program was:" >&5
1.1       ohara    2265:   cat conftest.$ac_ext >&5
1.4       takayama 2266:   # Passes both tests.
                   2267: ac_preproc_ok=:
                   2268: break
                   2269: fi
                   2270: rm -f conftest.err conftest.$ac_ext
                   2271:
                   2272: done
                   2273: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2274: rm -f conftest.err conftest.$ac_ext
                   2275: if $ac_preproc_ok; then
                   2276:   break
                   2277: fi
                   2278:
                   2279:     done
                   2280:     ac_cv_prog_CPP=$CPP
                   2281:
                   2282: fi
                   2283:   CPP=$ac_cv_prog_CPP
                   2284: else
                   2285:   ac_cv_prog_CPP=$CPP
                   2286: fi
                   2287: echo "$as_me:$LINENO: result: $CPP" >&5
                   2288: echo "${ECHO_T}$CPP" >&6
                   2289: ac_preproc_ok=false
                   2290: for ac_c_preproc_warn_flag in '' yes
                   2291: do
                   2292:   # Use a header file that comes with gcc, so configuring glibc
                   2293:   # with a fresh cross-compiler works.
                   2294:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2295:   # not just through cpp. "Syntax error" is here to catch this case.
                   2296:   cat >conftest.$ac_ext <<_ACEOF
                   2297: #line $LINENO "configure"
1.1       ohara    2298: #include "confdefs.h"
                   2299: #include <assert.h>
1.4       takayama 2300:                      Syntax error
                   2301: _ACEOF
                   2302: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2303:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2304:   ac_status=$?
                   2305:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2306:   rm -f conftest.er1
                   2307:   cat conftest.err >&5
                   2308:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2309:   (exit $ac_status); } >/dev/null; then
                   2310:   if test -s conftest.err; then
                   2311:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2312:   else
                   2313:     ac_cpp_err=
                   2314:   fi
                   2315: else
                   2316:   ac_cpp_err=yes
                   2317: fi
                   2318: if test -z "$ac_cpp_err"; then
1.1       ohara    2319:   :
                   2320: else
1.4       takayama 2321:   echo "$as_me: failed program was:" >&5
1.1       ohara    2322:   cat conftest.$ac_ext >&5
1.4       takayama 2323:   # Broken: fails on valid input.
                   2324: continue
1.1       ohara    2325: fi
1.4       takayama 2326: rm -f conftest.err conftest.$ac_ext
                   2327:
                   2328:   # OK, works on sane cases.  Now check whether non-existent headers
                   2329:   # can be detected and how.
                   2330:   cat >conftest.$ac_ext <<_ACEOF
                   2331: #line $LINENO "configure"
                   2332: #include "confdefs.h"
                   2333: #include <ac_nonexistent.h>
                   2334: _ACEOF
                   2335: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2336:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2337:   ac_status=$?
                   2338:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2339:   rm -f conftest.er1
                   2340:   cat conftest.err >&5
                   2341:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2342:   (exit $ac_status); } >/dev/null; then
                   2343:   if test -s conftest.err; then
                   2344:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2345:   else
                   2346:     ac_cpp_err=
                   2347:   fi
                   2348: else
                   2349:   ac_cpp_err=yes
1.1       ohara    2350: fi
1.4       takayama 2351: if test -z "$ac_cpp_err"; then
                   2352:   # Broken: success on invalid input.
                   2353: continue
                   2354: else
                   2355:   echo "$as_me: failed program was:" >&5
                   2356:   cat conftest.$ac_ext >&5
                   2357:   # Passes both tests.
                   2358: ac_preproc_ok=:
                   2359: break
1.1       ohara    2360: fi
1.4       takayama 2361: rm -f conftest.err conftest.$ac_ext
                   2362:
                   2363: done
                   2364: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2365: rm -f conftest.err conftest.$ac_ext
                   2366: if $ac_preproc_ok; then
                   2367:   :
1.1       ohara    2368: else
1.4       takayama 2369:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
                   2370: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
                   2371:    { (exit 1); exit 1; }; }
1.1       ohara    2372: fi
                   2373:
1.4       takayama 2374: ac_ext=c
                   2375: ac_cpp='$CPP $CPPFLAGS'
                   2376: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2377: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2378: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2379:
                   2380:
                   2381: echo "$as_me:$LINENO: checking for X" >&5
                   2382: echo $ECHO_N "checking for X... $ECHO_C" >&6
                   2383:
1.1       ohara    2384:
                   2385: # Check whether --with-x or --without-x was given.
                   2386: if test "${with_x+set}" = set; then
                   2387:   withval="$with_x"
                   2388:
1.4       takayama 2389: fi;
1.1       ohara    2390: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   2391: if test "x$with_x" = xno; then
                   2392:   # The user explicitly disabled X.
                   2393:   have_x=disabled
                   2394: else
                   2395:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   2396:     # Both variables are already set.
                   2397:     have_x=yes
                   2398:   else
1.4       takayama 2399:     if test "${ac_cv_have_x+set}" = set; then
                   2400:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2401: else
                   2402:   # One or both of the vars are not set, and there is no cached value.
1.4       takayama 2403: ac_x_includes=no ac_x_libraries=no
                   2404: rm -fr conftest.dir
                   2405: if mkdir conftest.dir; then
                   2406:   cd conftest.dir
1.1       ohara    2407:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1.4       takayama 2408:   cat >Imakefile <<'_ACEOF'
1.1       ohara    2409: acfindx:
                   2410:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1.4       takayama 2411: _ACEOF
1.1       ohara    2412:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   2413:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   2414:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   2415:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   2416:     for ac_extension in a so sl; do
                   2417:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1.4       takayama 2418:          test -f $ac_im_libdir/libX11.$ac_extension; then
1.1       ohara    2419:         ac_im_usrlibdir=$ac_im_libdir; break
                   2420:       fi
                   2421:     done
                   2422:     # Screen out bogus values from the imake configuration.  They are
                   2423:     # bogus both because they are the default anyway, and because
                   2424:     # using them would break gcc on systems where it needs fixed includes.
1.4       takayama 2425:     case $ac_im_incroot in
1.1       ohara    2426:        /usr/include) ;;
1.4       takayama 2427:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       ohara    2428:     esac
1.4       takayama 2429:     case $ac_im_usrlibdir in
1.1       ohara    2430:        /usr/lib | /lib) ;;
1.4       takayama 2431:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       ohara    2432:     esac
                   2433:   fi
                   2434:   cd ..
1.4       takayama 2435:   rm -fr conftest.dir
1.1       ohara    2436: fi
                   2437:
1.4       takayama 2438: # Standard set of common directories for X headers.
                   2439: # Check X11 before X11Rn because it is often a symlink to the current release.
                   2440: ac_x_header_dirs='
                   2441: /usr/X11/include
                   2442: /usr/X11R6/include
                   2443: /usr/X11R5/include
                   2444: /usr/X11R4/include
                   2445:
                   2446: /usr/include/X11
                   2447: /usr/include/X11R6
                   2448: /usr/include/X11R5
                   2449: /usr/include/X11R4
                   2450:
                   2451: /usr/local/X11/include
                   2452: /usr/local/X11R6/include
                   2453: /usr/local/X11R5/include
                   2454: /usr/local/X11R4/include
                   2455:
                   2456: /usr/local/include/X11
                   2457: /usr/local/include/X11R6
                   2458: /usr/local/include/X11R5
                   2459: /usr/local/include/X11R4
                   2460:
                   2461: /usr/X386/include
                   2462: /usr/x386/include
                   2463: /usr/XFree86/include/X11
                   2464:
                   2465: /usr/include
                   2466: /usr/local/include
                   2467: /usr/unsupported/include
                   2468: /usr/athena/include
                   2469: /usr/local/x11r5/include
                   2470: /usr/lpp/Xamples/include
                   2471:
                   2472: /usr/openwin/include
                   2473: /usr/openwin/share/include'
1.1       ohara    2474:
1.4       takayama 2475: if test "$ac_x_includes" = no; then
                   2476:   # Guess where to find include files, by looking for Intrinsic.h.
1.1       ohara    2477:   # First, try using that file with no special directory specified.
1.4       takayama 2478:   cat >conftest.$ac_ext <<_ACEOF
                   2479: #line $LINENO "configure"
1.1       ohara    2480: #include "confdefs.h"
1.4       takayama 2481: #include <X11/Intrinsic.h>
                   2482: _ACEOF
                   2483: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2484:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2485:   ac_status=$?
                   2486:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2487:   rm -f conftest.er1
                   2488:   cat conftest.err >&5
                   2489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2490:   (exit $ac_status); } >/dev/null; then
                   2491:   if test -s conftest.err; then
                   2492:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2493:   else
                   2494:     ac_cpp_err=
                   2495:   fi
                   2496: else
                   2497:   ac_cpp_err=yes
                   2498: fi
                   2499: if test -z "$ac_cpp_err"; then
1.1       ohara    2500:   # We can compile using X headers with no special include directory.
                   2501: ac_x_includes=
                   2502: else
1.4       takayama 2503:   echo "$as_me: failed program was:" >&5
1.1       ohara    2504:   cat conftest.$ac_ext >&5
1.4       takayama 2505:   for ac_dir in $ac_x_header_dirs; do
                   2506:   if test -r "$ac_dir/X11/Intrinsic.h"; then
                   2507:     ac_x_includes=$ac_dir
                   2508:     break
                   2509:   fi
                   2510: done
1.1       ohara    2511: fi
1.4       takayama 2512: rm -f conftest.err conftest.$ac_ext
                   2513: fi # $ac_x_includes = no
1.1       ohara    2514:
1.4       takayama 2515: if test "$ac_x_libraries" = no; then
1.1       ohara    2516:   # Check for the libraries.
                   2517:   # See if we find them without any special options.
                   2518:   # Don't add to $LIBS permanently.
1.4       takayama 2519:   ac_save_LIBS=$LIBS
                   2520:   LIBS="-lXt $LIBS"
                   2521:   cat >conftest.$ac_ext <<_ACEOF
                   2522: #line $LINENO "configure"
1.1       ohara    2523: #include "confdefs.h"
1.4       takayama 2524: #include <X11/Intrinsic.h>
                   2525: #ifdef F77_DUMMY_MAIN
                   2526: #  ifdef __cplusplus
                   2527:      extern "C"
                   2528: #  endif
                   2529:    int F77_DUMMY_MAIN() { return 1; }
                   2530: #endif
                   2531: int
                   2532: main ()
                   2533: {
                   2534: XtMalloc (0)
                   2535:   ;
                   2536:   return 0;
                   2537: }
                   2538: _ACEOF
                   2539: rm -f conftest.$ac_objext conftest$ac_exeext
                   2540: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2541:   (eval $ac_link) 2>&5
                   2542:   ac_status=$?
                   2543:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2544:   (exit $ac_status); } &&
                   2545:          { ac_try='test -s conftest$ac_exeext'
                   2546:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2547:   (eval $ac_try) 2>&5
                   2548:   ac_status=$?
                   2549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2550:   (exit $ac_status); }; }; then
                   2551:   LIBS=$ac_save_LIBS
1.1       ohara    2552: # We can link X programs with no special library path.
                   2553: ac_x_libraries=
                   2554: else
1.4       takayama 2555:   echo "$as_me: failed program was:" >&5
                   2556: cat conftest.$ac_ext >&5
                   2557: LIBS=$ac_save_LIBS
                   2558: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       ohara    2559: do
1.4       takayama 2560:   # Don't even attempt the hair of trying to link an X program!
1.1       ohara    2561:   for ac_extension in a so sl; do
1.4       takayama 2562:     if test -r $ac_dir/libXt.$ac_extension; then
1.1       ohara    2563:       ac_x_libraries=$ac_dir
                   2564:       break 2
                   2565:     fi
                   2566:   done
                   2567: done
                   2568: fi
1.4       takayama 2569: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2570: fi # $ac_x_libraries = no
1.1       ohara    2571:
1.4       takayama 2572: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1.1       ohara    2573:   # Didn't find X anywhere.  Cache the known absence of X.
                   2574:   ac_cv_have_x="have_x=no"
                   2575: else
                   2576:   # Record where we found X for the cache.
                   2577:   ac_cv_have_x="have_x=yes \
                   2578:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
                   2579: fi
                   2580: fi
1.4       takayama 2581:
1.1       ohara    2582:   fi
                   2583:   eval "$ac_cv_have_x"
                   2584: fi # $with_x != no
                   2585:
                   2586: if test "$have_x" != yes; then
1.4       takayama 2587:   echo "$as_me:$LINENO: result: $have_x" >&5
                   2588: echo "${ECHO_T}$have_x" >&6
1.1       ohara    2589:   no_x=yes
                   2590: else
                   2591:   # If each of the values was on the command line, it overrides each guess.
                   2592:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   2593:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   2594:   # Update the cache value to reflect the command line values.
                   2595:   ac_cv_have_x="have_x=yes \
                   2596:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1.4       takayama 2597:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
                   2598: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
1.1       ohara    2599: fi
                   2600:
                   2601: if test "$no_x" = yes; then
                   2602:   # Not all programs may use this symbol, but it does not hurt to define it.
1.4       takayama 2603:
                   2604: cat >>confdefs.h <<\_ACEOF
1.1       ohara    2605: #define X_DISPLAY_MISSING 1
1.4       takayama 2606: _ACEOF
1.1       ohara    2607:
                   2608:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   2609: else
                   2610:   if test -n "$x_includes"; then
                   2611:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   2612:   fi
                   2613:
                   2614:   # It would also be nice to do this for all -L options, not just this one.
                   2615:   if test -n "$x_libraries"; then
                   2616:     X_LIBS="$X_LIBS -L$x_libraries"
                   2617:     # For Solaris; some versions of Sun CC require a space after -R and
                   2618:     # others require no space.  Words are not sufficient . . . .
1.4       takayama 2619:     case `(uname -sr) 2>/dev/null` in
1.1       ohara    2620:     "SunOS 5"*)
1.4       takayama 2621:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
                   2622: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
                   2623:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   2624:       cat >conftest.$ac_ext <<_ACEOF
                   2625: #line $LINENO "configure"
1.1       ohara    2626: #include "confdefs.h"
                   2627:
1.4       takayama 2628: #ifdef F77_DUMMY_MAIN
                   2629: #  ifdef __cplusplus
                   2630:      extern "C"
                   2631: #  endif
                   2632:    int F77_DUMMY_MAIN() { return 1; }
                   2633: #endif
                   2634: int
                   2635: main ()
                   2636: {
                   2637:
                   2638:   ;
                   2639:   return 0;
                   2640: }
                   2641: _ACEOF
                   2642: rm -f conftest.$ac_objext conftest$ac_exeext
                   2643: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2644:   (eval $ac_link) 2>&5
                   2645:   ac_status=$?
                   2646:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2647:   (exit $ac_status); } &&
                   2648:          { ac_try='test -s conftest$ac_exeext'
                   2649:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2650:   (eval $ac_try) 2>&5
                   2651:   ac_status=$?
                   2652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2653:   (exit $ac_status); }; }; then
1.1       ohara    2654:   ac_R_nospace=yes
                   2655: else
1.4       takayama 2656:   echo "$as_me: failed program was:" >&5
                   2657: cat conftest.$ac_ext >&5
                   2658: ac_R_nospace=no
1.1       ohara    2659: fi
1.4       takayama 2660: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2661:       if test $ac_R_nospace = yes; then
1.4       takayama 2662:        echo "$as_me:$LINENO: result: no" >&5
                   2663: echo "${ECHO_T}no" >&6
1.1       ohara    2664:        X_LIBS="$X_LIBS -R$x_libraries"
                   2665:       else
                   2666:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.4       takayama 2667:        cat >conftest.$ac_ext <<_ACEOF
                   2668: #line $LINENO "configure"
1.1       ohara    2669: #include "confdefs.h"
                   2670:
1.4       takayama 2671: #ifdef F77_DUMMY_MAIN
                   2672: #  ifdef __cplusplus
                   2673:      extern "C"
                   2674: #  endif
                   2675:    int F77_DUMMY_MAIN() { return 1; }
                   2676: #endif
                   2677: int
                   2678: main ()
                   2679: {
                   2680:
                   2681:   ;
                   2682:   return 0;
                   2683: }
                   2684: _ACEOF
                   2685: rm -f conftest.$ac_objext conftest$ac_exeext
                   2686: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2687:   (eval $ac_link) 2>&5
                   2688:   ac_status=$?
                   2689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2690:   (exit $ac_status); } &&
                   2691:          { ac_try='test -s conftest$ac_exeext'
                   2692:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2693:   (eval $ac_try) 2>&5
                   2694:   ac_status=$?
                   2695:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2696:   (exit $ac_status); }; }; then
1.1       ohara    2697:   ac_R_space=yes
                   2698: else
1.4       takayama 2699:   echo "$as_me: failed program was:" >&5
                   2700: cat conftest.$ac_ext >&5
                   2701: ac_R_space=no
1.1       ohara    2702: fi
1.4       takayama 2703: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2704:        if test $ac_R_space = yes; then
1.4       takayama 2705:          echo "$as_me:$LINENO: result: yes" >&5
                   2706: echo "${ECHO_T}yes" >&6
1.1       ohara    2707:          X_LIBS="$X_LIBS -R $x_libraries"
                   2708:        else
1.4       takayama 2709:          echo "$as_me:$LINENO: result: neither works" >&5
                   2710: echo "${ECHO_T}neither works" >&6
1.1       ohara    2711:        fi
                   2712:       fi
1.4       takayama 2713:       LIBS=$ac_xsave_LIBS
1.1       ohara    2714:     esac
                   2715:   fi
                   2716:
                   2717:   # Check for system-dependent libraries X programs must link with.
                   2718:   # Do this before checking for the system-independent R6 libraries
                   2719:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   2720:
                   2721:   if test "$ISC" = yes; then
                   2722:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   2723:   else
1.4       takayama 2724:     # Martyn Johnson says this is needed for Ultrix, if the X
                   2725:     # libraries were built with DECnet support.  And Karl Berry says
1.1       ohara    2726:     # the Alpha needs dnet_stub (dnet does not exist).
1.4       takayama 2727:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   2728:     cat >conftest.$ac_ext <<_ACEOF
                   2729: #line $LINENO "configure"
                   2730: #include "confdefs.h"
                   2731:
                   2732: /* Override any gcc2 internal prototype to avoid an error.  */
                   2733: #ifdef __cplusplus
                   2734: extern "C"
                   2735: #endif
                   2736: /* We use char because int might match the return type of a gcc2
                   2737:    builtin and then its argument prototype would still apply.  */
                   2738: char XOpenDisplay ();
                   2739: #ifdef F77_DUMMY_MAIN
                   2740: #  ifdef __cplusplus
                   2741:      extern "C"
                   2742: #  endif
                   2743:    int F77_DUMMY_MAIN() { return 1; }
                   2744: #endif
                   2745: int
                   2746: main ()
                   2747: {
                   2748: XOpenDisplay ();
                   2749:   ;
                   2750:   return 0;
                   2751: }
                   2752: _ACEOF
                   2753: rm -f conftest.$ac_objext conftest$ac_exeext
                   2754: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2755:   (eval $ac_link) 2>&5
                   2756:   ac_status=$?
                   2757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2758:   (exit $ac_status); } &&
                   2759:          { ac_try='test -s conftest$ac_exeext'
                   2760:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2761:   (eval $ac_try) 2>&5
                   2762:   ac_status=$?
                   2763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2764:   (exit $ac_status); }; }; then
                   2765:   :
1.1       ohara    2766: else
1.4       takayama 2767:   echo "$as_me: failed program was:" >&5
                   2768: cat conftest.$ac_ext >&5
                   2769: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
                   2770: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
                   2771: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   2772:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2773: else
                   2774:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2775: LIBS="-ldnet  $LIBS"
1.4       takayama 2776: cat >conftest.$ac_ext <<_ACEOF
                   2777: #line $LINENO "configure"
1.1       ohara    2778: #include "confdefs.h"
1.4       takayama 2779:
1.1       ohara    2780: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2781: #ifdef __cplusplus
                   2782: extern "C"
                   2783: #endif
1.1       ohara    2784: /* We use char because int might match the return type of a gcc2
1.4       takayama 2785:    builtin and then its argument prototype would still apply.  */
                   2786: char dnet_ntoa ();
                   2787: #ifdef F77_DUMMY_MAIN
                   2788: #  ifdef __cplusplus
                   2789:      extern "C"
                   2790: #  endif
                   2791:    int F77_DUMMY_MAIN() { return 1; }
                   2792: #endif
                   2793: int
                   2794: main ()
                   2795: {
                   2796: dnet_ntoa ();
                   2797:   ;
                   2798:   return 0;
                   2799: }
                   2800: _ACEOF
                   2801: rm -f conftest.$ac_objext conftest$ac_exeext
                   2802: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2803:   (eval $ac_link) 2>&5
                   2804:   ac_status=$?
                   2805:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2806:   (exit $ac_status); } &&
                   2807:          { ac_try='test -s conftest$ac_exeext'
                   2808:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2809:   (eval $ac_try) 2>&5
                   2810:   ac_status=$?
                   2811:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2812:   (exit $ac_status); }; }; then
                   2813:   ac_cv_lib_dnet_dnet_ntoa=yes
                   2814: else
                   2815:   echo "$as_me: failed program was:" >&5
                   2816: cat conftest.$ac_ext >&5
                   2817: ac_cv_lib_dnet_dnet_ntoa=no
                   2818: fi
                   2819: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2820: LIBS=$ac_check_lib_save_LIBS
                   2821: fi
                   2822: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   2823: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
                   2824: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       ohara    2825:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   2826: fi
                   2827:
                   2828:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.4       takayama 2829:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
                   2830: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
                   2831: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   2832:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2833: else
1.4       takayama 2834:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2835: LIBS="-ldnet_stub  $LIBS"
1.4       takayama 2836: cat >conftest.$ac_ext <<_ACEOF
                   2837: #line $LINENO "configure"
1.1       ohara    2838: #include "confdefs.h"
1.4       takayama 2839:
1.1       ohara    2840: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2841: #ifdef __cplusplus
                   2842: extern "C"
                   2843: #endif
1.1       ohara    2844: /* We use char because int might match the return type of a gcc2
1.4       takayama 2845:    builtin and then its argument prototype would still apply.  */
                   2846: char dnet_ntoa ();
                   2847: #ifdef F77_DUMMY_MAIN
                   2848: #  ifdef __cplusplus
                   2849:      extern "C"
                   2850: #  endif
                   2851:    int F77_DUMMY_MAIN() { return 1; }
                   2852: #endif
                   2853: int
                   2854: main ()
                   2855: {
                   2856: dnet_ntoa ();
                   2857:   ;
                   2858:   return 0;
                   2859: }
                   2860: _ACEOF
                   2861: rm -f conftest.$ac_objext conftest$ac_exeext
                   2862: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2863:   (eval $ac_link) 2>&5
                   2864:   ac_status=$?
                   2865:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2866:   (exit $ac_status); } &&
                   2867:          { ac_try='test -s conftest$ac_exeext'
                   2868:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2869:   (eval $ac_try) 2>&5
                   2870:   ac_status=$?
                   2871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2872:   (exit $ac_status); }; }; then
                   2873:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   2874: else
                   2875:   echo "$as_me: failed program was:" >&5
                   2876: cat conftest.$ac_ext >&5
                   2877: ac_cv_lib_dnet_stub_dnet_ntoa=no
                   2878: fi
                   2879: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2880: LIBS=$ac_check_lib_save_LIBS
                   2881: fi
                   2882: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   2883: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
                   2884: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       ohara    2885:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   2886: fi
                   2887:
                   2888:     fi
1.4       takayama 2889: fi
                   2890: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2891:     LIBS="$ac_xsave_LIBS"
1.1       ohara    2892:
                   2893:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   2894:     # to get the SysV transport functions.
1.4       takayama 2895:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1       ohara    2896:     # needs -lnsl.
                   2897:     # The nsl library prevents programs from opening the X display
1.4       takayama 2898:     # on Irix 5.2, according to T.E. Dickey.
                   2899:     # The functions gethostbyname, getservbyname, and inet_addr are
                   2900:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   2901:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   2902: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   2903: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   2904:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2905: else
1.4       takayama 2906:   cat >conftest.$ac_ext <<_ACEOF
                   2907: #line $LINENO "configure"
1.1       ohara    2908: #include "confdefs.h"
                   2909: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 2910:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    2911: #include <assert.h>
                   2912: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2913: #ifdef __cplusplus
                   2914: extern "C"
                   2915: #endif
1.1       ohara    2916: /* We use char because int might match the return type of a gcc2
1.4       takayama 2917:    builtin and then its argument prototype would still apply.  */
                   2918: char gethostbyname ();
                   2919: char (*f) ();
                   2920:
                   2921: #ifdef F77_DUMMY_MAIN
                   2922: #  ifdef __cplusplus
                   2923:      extern "C"
                   2924: #  endif
                   2925:    int F77_DUMMY_MAIN() { return 1; }
                   2926: #endif
                   2927: int
                   2928: main ()
                   2929: {
1.1       ohara    2930: /* The GNU C library defines this for functions which it implements
                   2931:     to always fail with ENOSYS.  Some functions are actually named
                   2932:     something starting with __ and the normal name is an alias.  */
                   2933: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   2934: choke me
                   2935: #else
1.4       takayama 2936: f = gethostbyname;
1.1       ohara    2937: #endif
                   2938:
1.4       takayama 2939:   ;
                   2940:   return 0;
                   2941: }
                   2942: _ACEOF
                   2943: rm -f conftest.$ac_objext conftest$ac_exeext
                   2944: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2945:   (eval $ac_link) 2>&5
                   2946:   ac_status=$?
                   2947:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2948:   (exit $ac_status); } &&
                   2949:          { ac_try='test -s conftest$ac_exeext'
                   2950:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2951:   (eval $ac_try) 2>&5
                   2952:   ac_status=$?
                   2953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2954:   (exit $ac_status); }; }; then
                   2955:   ac_cv_func_gethostbyname=yes
                   2956: else
                   2957:   echo "$as_me: failed program was:" >&5
                   2958: cat conftest.$ac_ext >&5
                   2959: ac_cv_func_gethostbyname=no
1.1       ohara    2960: fi
1.4       takayama 2961: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2962: fi
1.4       takayama 2963: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   2964: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1.1       ohara    2965:
                   2966:     if test $ac_cv_func_gethostbyname = no; then
1.4       takayama 2967:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   2968: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   2969: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   2970:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2971: else
1.4       takayama 2972:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2973: LIBS="-lnsl  $LIBS"
1.4       takayama 2974: cat >conftest.$ac_ext <<_ACEOF
                   2975: #line $LINENO "configure"
1.1       ohara    2976: #include "confdefs.h"
1.4       takayama 2977:
1.1       ohara    2978: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2979: #ifdef __cplusplus
                   2980: extern "C"
                   2981: #endif
1.1       ohara    2982: /* We use char because int might match the return type of a gcc2
1.4       takayama 2983:    builtin and then its argument prototype would still apply.  */
                   2984: char gethostbyname ();
                   2985: #ifdef F77_DUMMY_MAIN
                   2986: #  ifdef __cplusplus
                   2987:      extern "C"
                   2988: #  endif
                   2989:    int F77_DUMMY_MAIN() { return 1; }
                   2990: #endif
                   2991: int
                   2992: main ()
                   2993: {
                   2994: gethostbyname ();
                   2995:   ;
                   2996:   return 0;
                   2997: }
                   2998: _ACEOF
                   2999: rm -f conftest.$ac_objext conftest$ac_exeext
                   3000: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3001:   (eval $ac_link) 2>&5
                   3002:   ac_status=$?
                   3003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3004:   (exit $ac_status); } &&
                   3005:          { ac_try='test -s conftest$ac_exeext'
                   3006:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3007:   (eval $ac_try) 2>&5
                   3008:   ac_status=$?
                   3009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3010:   (exit $ac_status); }; }; then
                   3011:   ac_cv_lib_nsl_gethostbyname=yes
                   3012: else
                   3013:   echo "$as_me: failed program was:" >&5
                   3014: cat conftest.$ac_ext >&5
                   3015: ac_cv_lib_nsl_gethostbyname=no
                   3016: fi
                   3017: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3018: LIBS=$ac_check_lib_save_LIBS
                   3019: fi
                   3020: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   3021: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   3022: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   3023:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   3024: fi
1.1       ohara    3025:
1.4       takayama 3026:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   3027:         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
                   3028: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
                   3029: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
                   3030:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3031: else
                   3032:   ac_check_lib_save_LIBS=$LIBS
                   3033: LIBS="-lbsd  $LIBS"
                   3034: cat >conftest.$ac_ext <<_ACEOF
                   3035: #line $LINENO "configure"
                   3036: #include "confdefs.h"
1.1       ohara    3037:
1.4       takayama 3038: /* Override any gcc2 internal prototype to avoid an error.  */
                   3039: #ifdef __cplusplus
                   3040: extern "C"
                   3041: #endif
                   3042: /* We use char because int might match the return type of a gcc2
                   3043:    builtin and then its argument prototype would still apply.  */
                   3044: char gethostbyname ();
                   3045: #ifdef F77_DUMMY_MAIN
                   3046: #  ifdef __cplusplus
                   3047:      extern "C"
                   3048: #  endif
                   3049:    int F77_DUMMY_MAIN() { return 1; }
                   3050: #endif
                   3051: int
                   3052: main ()
                   3053: {
                   3054: gethostbyname ();
                   3055:   ;
                   3056:   return 0;
                   3057: }
                   3058: _ACEOF
                   3059: rm -f conftest.$ac_objext conftest$ac_exeext
                   3060: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3061:   (eval $ac_link) 2>&5
                   3062:   ac_status=$?
                   3063:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3064:   (exit $ac_status); } &&
                   3065:          { ac_try='test -s conftest$ac_exeext'
                   3066:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3067:   (eval $ac_try) 2>&5
                   3068:   ac_status=$?
                   3069:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3070:   (exit $ac_status); }; }; then
                   3071:   ac_cv_lib_bsd_gethostbyname=yes
                   3072: else
                   3073:   echo "$as_me: failed program was:" >&5
                   3074: cat conftest.$ac_ext >&5
                   3075: ac_cv_lib_bsd_gethostbyname=no
                   3076: fi
                   3077: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3078: LIBS=$ac_check_lib_save_LIBS
                   3079: fi
                   3080: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   3081: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
                   3082: if test $ac_cv_lib_bsd_gethostbyname = yes; then
                   3083:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       ohara    3084: fi
                   3085:
1.4       takayama 3086:       fi
1.1       ohara    3087:     fi
                   3088:
                   3089:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   3090:     # socket/setsockopt and other routines are undefined under SCO ODT
                   3091:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.4       takayama 3092:     # on later versions), says Simon Leinen: it contains gethostby*
                   3093:     # variants that don't use the nameserver (or something).  -lsocket
                   3094:     # must be given before -lnsl if both are needed.  We assume that
                   3095:     # if connect needs -lnsl, so does gethostbyname.
                   3096:     echo "$as_me:$LINENO: checking for connect" >&5
                   3097: echo $ECHO_N "checking for connect... $ECHO_C" >&6
                   3098: if test "${ac_cv_func_connect+set}" = set; then
                   3099:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3100: else
1.4       takayama 3101:   cat >conftest.$ac_ext <<_ACEOF
                   3102: #line $LINENO "configure"
1.1       ohara    3103: #include "confdefs.h"
                   3104: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3105:     which can conflict with char connect (); below.  */
1.1       ohara    3106: #include <assert.h>
                   3107: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3108: #ifdef __cplusplus
                   3109: extern "C"
                   3110: #endif
1.1       ohara    3111: /* We use char because int might match the return type of a gcc2
1.4       takayama 3112:    builtin and then its argument prototype would still apply.  */
                   3113: char connect ();
                   3114: char (*f) ();
                   3115:
                   3116: #ifdef F77_DUMMY_MAIN
                   3117: #  ifdef __cplusplus
                   3118:      extern "C"
                   3119: #  endif
                   3120:    int F77_DUMMY_MAIN() { return 1; }
                   3121: #endif
                   3122: int
                   3123: main ()
                   3124: {
1.1       ohara    3125: /* The GNU C library defines this for functions which it implements
                   3126:     to always fail with ENOSYS.  Some functions are actually named
                   3127:     something starting with __ and the normal name is an alias.  */
                   3128: #if defined (__stub_connect) || defined (__stub___connect)
                   3129: choke me
                   3130: #else
1.4       takayama 3131: f = connect;
1.1       ohara    3132: #endif
                   3133:
1.4       takayama 3134:   ;
                   3135:   return 0;
                   3136: }
                   3137: _ACEOF
                   3138: rm -f conftest.$ac_objext conftest$ac_exeext
                   3139: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3140:   (eval $ac_link) 2>&5
                   3141:   ac_status=$?
                   3142:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3143:   (exit $ac_status); } &&
                   3144:          { ac_try='test -s conftest$ac_exeext'
                   3145:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3146:   (eval $ac_try) 2>&5
                   3147:   ac_status=$?
                   3148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3149:   (exit $ac_status); }; }; then
                   3150:   ac_cv_func_connect=yes
                   3151: else
                   3152:   echo "$as_me: failed program was:" >&5
                   3153: cat conftest.$ac_ext >&5
                   3154: ac_cv_func_connect=no
1.1       ohara    3155: fi
1.4       takayama 3156: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3157: fi
1.4       takayama 3158: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
                   3159: echo "${ECHO_T}$ac_cv_func_connect" >&6
1.1       ohara    3160:
                   3161:     if test $ac_cv_func_connect = no; then
1.4       takayama 3162:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
                   3163: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
                   3164: if test "${ac_cv_lib_socket_connect+set}" = set; then
                   3165:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3166: else
1.4       takayama 3167:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3168: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.4       takayama 3169: cat >conftest.$ac_ext <<_ACEOF
                   3170: #line $LINENO "configure"
1.1       ohara    3171: #include "confdefs.h"
1.4       takayama 3172:
1.1       ohara    3173: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3174: #ifdef __cplusplus
                   3175: extern "C"
                   3176: #endif
1.1       ohara    3177: /* We use char because int might match the return type of a gcc2
1.4       takayama 3178:    builtin and then its argument prototype would still apply.  */
                   3179: char connect ();
                   3180: #ifdef F77_DUMMY_MAIN
                   3181: #  ifdef __cplusplus
                   3182:      extern "C"
                   3183: #  endif
                   3184:    int F77_DUMMY_MAIN() { return 1; }
                   3185: #endif
                   3186: int
                   3187: main ()
                   3188: {
                   3189: connect ();
                   3190:   ;
                   3191:   return 0;
                   3192: }
                   3193: _ACEOF
                   3194: rm -f conftest.$ac_objext conftest$ac_exeext
                   3195: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3196:   (eval $ac_link) 2>&5
                   3197:   ac_status=$?
                   3198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3199:   (exit $ac_status); } &&
                   3200:          { ac_try='test -s conftest$ac_exeext'
                   3201:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3202:   (eval $ac_try) 2>&5
                   3203:   ac_status=$?
                   3204:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3205:   (exit $ac_status); }; }; then
                   3206:   ac_cv_lib_socket_connect=yes
                   3207: else
                   3208:   echo "$as_me: failed program was:" >&5
                   3209: cat conftest.$ac_ext >&5
                   3210: ac_cv_lib_socket_connect=no
                   3211: fi
                   3212: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3213: LIBS=$ac_check_lib_save_LIBS
                   3214: fi
                   3215: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
                   3216: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
                   3217: if test $ac_cv_lib_socket_connect = yes; then
1.1       ohara    3218:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   3219: fi
                   3220:
                   3221:     fi
                   3222:
1.4       takayama 3223:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   3224:     echo "$as_me:$LINENO: checking for remove" >&5
                   3225: echo $ECHO_N "checking for remove... $ECHO_C" >&6
                   3226: if test "${ac_cv_func_remove+set}" = set; then
                   3227:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3228: else
1.4       takayama 3229:   cat >conftest.$ac_ext <<_ACEOF
                   3230: #line $LINENO "configure"
1.1       ohara    3231: #include "confdefs.h"
                   3232: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3233:     which can conflict with char remove (); below.  */
1.1       ohara    3234: #include <assert.h>
                   3235: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3236: #ifdef __cplusplus
                   3237: extern "C"
                   3238: #endif
1.1       ohara    3239: /* We use char because int might match the return type of a gcc2
1.4       takayama 3240:    builtin and then its argument prototype would still apply.  */
                   3241: char remove ();
                   3242: char (*f) ();
                   3243:
                   3244: #ifdef F77_DUMMY_MAIN
                   3245: #  ifdef __cplusplus
                   3246:      extern "C"
                   3247: #  endif
                   3248:    int F77_DUMMY_MAIN() { return 1; }
                   3249: #endif
                   3250: int
                   3251: main ()
                   3252: {
1.1       ohara    3253: /* The GNU C library defines this for functions which it implements
                   3254:     to always fail with ENOSYS.  Some functions are actually named
                   3255:     something starting with __ and the normal name is an alias.  */
                   3256: #if defined (__stub_remove) || defined (__stub___remove)
                   3257: choke me
                   3258: #else
1.4       takayama 3259: f = remove;
1.1       ohara    3260: #endif
                   3261:
1.4       takayama 3262:   ;
                   3263:   return 0;
                   3264: }
                   3265: _ACEOF
                   3266: rm -f conftest.$ac_objext conftest$ac_exeext
                   3267: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3268:   (eval $ac_link) 2>&5
                   3269:   ac_status=$?
                   3270:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3271:   (exit $ac_status); } &&
                   3272:          { ac_try='test -s conftest$ac_exeext'
                   3273:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3274:   (eval $ac_try) 2>&5
                   3275:   ac_status=$?
                   3276:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3277:   (exit $ac_status); }; }; then
                   3278:   ac_cv_func_remove=yes
                   3279: else
                   3280:   echo "$as_me: failed program was:" >&5
                   3281: cat conftest.$ac_ext >&5
                   3282: ac_cv_func_remove=no
1.1       ohara    3283: fi
1.4       takayama 3284: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3285: fi
1.4       takayama 3286: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
                   3287: echo "${ECHO_T}$ac_cv_func_remove" >&6
1.1       ohara    3288:
                   3289:     if test $ac_cv_func_remove = no; then
1.4       takayama 3290:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
                   3291: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
                   3292: if test "${ac_cv_lib_posix_remove+set}" = set; then
                   3293:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3294: else
1.4       takayama 3295:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3296: LIBS="-lposix  $LIBS"
1.4       takayama 3297: cat >conftest.$ac_ext <<_ACEOF
                   3298: #line $LINENO "configure"
1.1       ohara    3299: #include "confdefs.h"
1.4       takayama 3300:
1.1       ohara    3301: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3302: #ifdef __cplusplus
                   3303: extern "C"
                   3304: #endif
1.1       ohara    3305: /* We use char because int might match the return type of a gcc2
1.4       takayama 3306:    builtin and then its argument prototype would still apply.  */
                   3307: char remove ();
                   3308: #ifdef F77_DUMMY_MAIN
                   3309: #  ifdef __cplusplus
                   3310:      extern "C"
                   3311: #  endif
                   3312:    int F77_DUMMY_MAIN() { return 1; }
                   3313: #endif
                   3314: int
                   3315: main ()
                   3316: {
                   3317: remove ();
                   3318:   ;
                   3319:   return 0;
                   3320: }
                   3321: _ACEOF
                   3322: rm -f conftest.$ac_objext conftest$ac_exeext
                   3323: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3324:   (eval $ac_link) 2>&5
                   3325:   ac_status=$?
                   3326:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3327:   (exit $ac_status); } &&
                   3328:          { ac_try='test -s conftest$ac_exeext'
                   3329:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3330:   (eval $ac_try) 2>&5
                   3331:   ac_status=$?
                   3332:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3333:   (exit $ac_status); }; }; then
                   3334:   ac_cv_lib_posix_remove=yes
                   3335: else
                   3336:   echo "$as_me: failed program was:" >&5
                   3337: cat conftest.$ac_ext >&5
                   3338: ac_cv_lib_posix_remove=no
                   3339: fi
                   3340: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3341: LIBS=$ac_check_lib_save_LIBS
                   3342: fi
                   3343: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
                   3344: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
                   3345: if test $ac_cv_lib_posix_remove = yes; then
1.1       ohara    3346:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   3347: fi
                   3348:
                   3349:     fi
                   3350:
                   3351:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.4       takayama 3352:     echo "$as_me:$LINENO: checking for shmat" >&5
                   3353: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
                   3354: if test "${ac_cv_func_shmat+set}" = set; then
                   3355:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3356: else
1.4       takayama 3357:   cat >conftest.$ac_ext <<_ACEOF
                   3358: #line $LINENO "configure"
1.1       ohara    3359: #include "confdefs.h"
                   3360: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3361:     which can conflict with char shmat (); below.  */
1.1       ohara    3362: #include <assert.h>
                   3363: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3364: #ifdef __cplusplus
                   3365: extern "C"
                   3366: #endif
1.1       ohara    3367: /* We use char because int might match the return type of a gcc2
1.4       takayama 3368:    builtin and then its argument prototype would still apply.  */
                   3369: char shmat ();
                   3370: char (*f) ();
                   3371:
                   3372: #ifdef F77_DUMMY_MAIN
                   3373: #  ifdef __cplusplus
                   3374:      extern "C"
                   3375: #  endif
                   3376:    int F77_DUMMY_MAIN() { return 1; }
                   3377: #endif
                   3378: int
                   3379: main ()
                   3380: {
1.1       ohara    3381: /* The GNU C library defines this for functions which it implements
                   3382:     to always fail with ENOSYS.  Some functions are actually named
                   3383:     something starting with __ and the normal name is an alias.  */
                   3384: #if defined (__stub_shmat) || defined (__stub___shmat)
                   3385: choke me
                   3386: #else
1.4       takayama 3387: f = shmat;
1.1       ohara    3388: #endif
                   3389:
1.4       takayama 3390:   ;
                   3391:   return 0;
                   3392: }
                   3393: _ACEOF
                   3394: rm -f conftest.$ac_objext conftest$ac_exeext
                   3395: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3396:   (eval $ac_link) 2>&5
                   3397:   ac_status=$?
                   3398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3399:   (exit $ac_status); } &&
                   3400:          { ac_try='test -s conftest$ac_exeext'
                   3401:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3402:   (eval $ac_try) 2>&5
                   3403:   ac_status=$?
                   3404:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3405:   (exit $ac_status); }; }; then
                   3406:   ac_cv_func_shmat=yes
                   3407: else
                   3408:   echo "$as_me: failed program was:" >&5
                   3409: cat conftest.$ac_ext >&5
                   3410: ac_cv_func_shmat=no
1.1       ohara    3411: fi
1.4       takayama 3412: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3413: fi
1.4       takayama 3414: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
                   3415: echo "${ECHO_T}$ac_cv_func_shmat" >&6
1.1       ohara    3416:
                   3417:     if test $ac_cv_func_shmat = no; then
1.4       takayama 3418:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
                   3419: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
                   3420: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
                   3421:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3422: else
1.4       takayama 3423:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3424: LIBS="-lipc  $LIBS"
1.4       takayama 3425: cat >conftest.$ac_ext <<_ACEOF
                   3426: #line $LINENO "configure"
1.1       ohara    3427: #include "confdefs.h"
1.4       takayama 3428:
1.1       ohara    3429: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3430: #ifdef __cplusplus
                   3431: extern "C"
                   3432: #endif
1.1       ohara    3433: /* We use char because int might match the return type of a gcc2
1.4       takayama 3434:    builtin and then its argument prototype would still apply.  */
                   3435: char shmat ();
                   3436: #ifdef F77_DUMMY_MAIN
                   3437: #  ifdef __cplusplus
                   3438:      extern "C"
                   3439: #  endif
                   3440:    int F77_DUMMY_MAIN() { return 1; }
                   3441: #endif
                   3442: int
                   3443: main ()
                   3444: {
                   3445: shmat ();
                   3446:   ;
                   3447:   return 0;
                   3448: }
                   3449: _ACEOF
                   3450: rm -f conftest.$ac_objext conftest$ac_exeext
                   3451: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3452:   (eval $ac_link) 2>&5
                   3453:   ac_status=$?
                   3454:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3455:   (exit $ac_status); } &&
                   3456:          { ac_try='test -s conftest$ac_exeext'
                   3457:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3458:   (eval $ac_try) 2>&5
                   3459:   ac_status=$?
                   3460:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3461:   (exit $ac_status); }; }; then
                   3462:   ac_cv_lib_ipc_shmat=yes
                   3463: else
                   3464:   echo "$as_me: failed program was:" >&5
                   3465: cat conftest.$ac_ext >&5
                   3466: ac_cv_lib_ipc_shmat=no
                   3467: fi
                   3468: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3469: LIBS=$ac_check_lib_save_LIBS
                   3470: fi
                   3471: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
                   3472: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
                   3473: if test $ac_cv_lib_ipc_shmat = yes; then
1.1       ohara    3474:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   3475: fi
                   3476:
                   3477:     fi
                   3478:   fi
                   3479:
                   3480:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.4       takayama 3481:   ac_save_LDFLAGS=$LDFLAGS
1.1       ohara    3482:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   3483:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   3484:   # check for ICE first), but we must link in the order -lSM -lICE or
                   3485:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   3486:   # These have to be linked with before -lX11, unlike the other
                   3487:   # libraries we check for below, so use a different variable.
1.4       takayama 3488:   # John Interrante, Karl Berry
                   3489:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
                   3490: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
                   3491: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
                   3492:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3493: else
1.4       takayama 3494:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3495: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.4       takayama 3496: cat >conftest.$ac_ext <<_ACEOF
                   3497: #line $LINENO "configure"
1.1       ohara    3498: #include "confdefs.h"
1.4       takayama 3499:
1.1       ohara    3500: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3501: #ifdef __cplusplus
                   3502: extern "C"
                   3503: #endif
1.1       ohara    3504: /* We use char because int might match the return type of a gcc2
1.4       takayama 3505:    builtin and then its argument prototype would still apply.  */
                   3506: char IceConnectionNumber ();
                   3507: #ifdef F77_DUMMY_MAIN
                   3508: #  ifdef __cplusplus
                   3509:      extern "C"
                   3510: #  endif
                   3511:    int F77_DUMMY_MAIN() { return 1; }
                   3512: #endif
                   3513: int
                   3514: main ()
                   3515: {
                   3516: IceConnectionNumber ();
                   3517:   ;
                   3518:   return 0;
                   3519: }
                   3520: _ACEOF
                   3521: rm -f conftest.$ac_objext conftest$ac_exeext
                   3522: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3523:   (eval $ac_link) 2>&5
                   3524:   ac_status=$?
                   3525:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3526:   (exit $ac_status); } &&
                   3527:          { ac_try='test -s conftest$ac_exeext'
                   3528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3529:   (eval $ac_try) 2>&5
                   3530:   ac_status=$?
                   3531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3532:   (exit $ac_status); }; }; then
                   3533:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   3534: else
                   3535:   echo "$as_me: failed program was:" >&5
                   3536: cat conftest.$ac_ext >&5
                   3537: ac_cv_lib_ICE_IceConnectionNumber=no
                   3538: fi
                   3539: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3540: LIBS=$ac_check_lib_save_LIBS
                   3541: fi
                   3542: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   3543: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
                   3544: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1       ohara    3545:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   3546: fi
                   3547:
1.4       takayama 3548:   LDFLAGS=$ac_save_LDFLAGS
1.1       ohara    3549:
                   3550: fi
                   3551:
                   3552:
1.4       takayama 3553:
1.2       ohara    3554: # Check whether --with-gmp or --without-gmp was given.
                   3555: if test "${with_gmp+set}" = set; then
                   3556:   withval="$with_gmp"
                   3557:   with_gmp=yes
                   3558: else
                   3559:   with_gmp=no
1.4       takayama 3560: fi;
1.2       ohara    3561:
                   3562: if test ${with_gmp:=no} != no ; then
1.4       takayama 3563:     cat >>confdefs.h <<\_ACEOF
1.2       ohara    3564: #define WITH_GMP 1
1.4       takayama 3565: _ACEOF
1.2       ohara    3566:
                   3567:     GMPLIB="-lgmp"
1.3       ohara    3568:     USE_GMP='#'
1.2       ohara    3569: fi
                   3570:
                   3571:
1.3       ohara    3572:
1.5       ohara    3573: case "${host}" in
                   3574: i[3-6]86-*-interix*)
                   3575:     cat >>confdefs.h <<\_ACEOF
                   3576: #define _ALL_SOURCE 1
                   3577: _ACEOF
                   3578:
                   3579:     ;;
                   3580: *)
                   3581:     ;;
                   3582: esac
                   3583:
1.4       takayama 3584: echo "$as_me:$LINENO: checking for socket" >&5
                   3585: echo $ECHO_N "checking for socket... $ECHO_C" >&6
                   3586: if test "${ac_cv_func_socket+set}" = set; then
                   3587:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3588: else
1.4       takayama 3589:   cat >conftest.$ac_ext <<_ACEOF
                   3590: #line $LINENO "configure"
1.1       ohara    3591: #include "confdefs.h"
                   3592: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3593:     which can conflict with char socket (); below.  */
1.1       ohara    3594: #include <assert.h>
                   3595: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3596: #ifdef __cplusplus
                   3597: extern "C"
                   3598: #endif
1.1       ohara    3599: /* We use char because int might match the return type of a gcc2
1.4       takayama 3600:    builtin and then its argument prototype would still apply.  */
                   3601: char socket ();
                   3602: char (*f) ();
                   3603:
                   3604: #ifdef F77_DUMMY_MAIN
                   3605: #  ifdef __cplusplus
                   3606:      extern "C"
                   3607: #  endif
                   3608:    int F77_DUMMY_MAIN() { return 1; }
                   3609: #endif
                   3610: int
                   3611: main ()
                   3612: {
1.1       ohara    3613: /* The GNU C library defines this for functions which it implements
                   3614:     to always fail with ENOSYS.  Some functions are actually named
                   3615:     something starting with __ and the normal name is an alias.  */
                   3616: #if defined (__stub_socket) || defined (__stub___socket)
                   3617: choke me
                   3618: #else
1.4       takayama 3619: f = socket;
1.1       ohara    3620: #endif
                   3621:
1.4       takayama 3622:   ;
                   3623:   return 0;
                   3624: }
                   3625: _ACEOF
                   3626: rm -f conftest.$ac_objext conftest$ac_exeext
                   3627: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3628:   (eval $ac_link) 2>&5
                   3629:   ac_status=$?
                   3630:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3631:   (exit $ac_status); } &&
                   3632:          { ac_try='test -s conftest$ac_exeext'
                   3633:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3634:   (eval $ac_try) 2>&5
                   3635:   ac_status=$?
                   3636:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3637:   (exit $ac_status); }; }; then
                   3638:   ac_cv_func_socket=yes
                   3639: else
                   3640:   echo "$as_me: failed program was:" >&5
                   3641: cat conftest.$ac_ext >&5
                   3642: ac_cv_func_socket=no
                   3643: fi
                   3644: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3645: fi
                   3646: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
                   3647: echo "${ECHO_T}$ac_cv_func_socket" >&6
                   3648: if test $ac_cv_func_socket = yes; then
                   3649:   :
1.1       ohara    3650: else
                   3651:
1.4       takayama 3652: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   3653: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   3654: if test "${ac_cv_lib_socket_socket+set}" = set; then
                   3655:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3656: else
1.4       takayama 3657:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3658: LIBS="-lsocket  $LIBS"
1.4       takayama 3659: cat >conftest.$ac_ext <<_ACEOF
                   3660: #line $LINENO "configure"
1.1       ohara    3661: #include "confdefs.h"
1.4       takayama 3662:
1.1       ohara    3663: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3664: #ifdef __cplusplus
                   3665: extern "C"
                   3666: #endif
1.1       ohara    3667: /* We use char because int might match the return type of a gcc2
1.4       takayama 3668:    builtin and then its argument prototype would still apply.  */
                   3669: char socket ();
                   3670: #ifdef F77_DUMMY_MAIN
                   3671: #  ifdef __cplusplus
                   3672:      extern "C"
                   3673: #  endif
                   3674:    int F77_DUMMY_MAIN() { return 1; }
                   3675: #endif
                   3676: int
                   3677: main ()
                   3678: {
                   3679: socket ();
                   3680:   ;
                   3681:   return 0;
                   3682: }
                   3683: _ACEOF
                   3684: rm -f conftest.$ac_objext conftest$ac_exeext
                   3685: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3686:   (eval $ac_link) 2>&5
                   3687:   ac_status=$?
                   3688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3689:   (exit $ac_status); } &&
                   3690:          { ac_try='test -s conftest$ac_exeext'
                   3691:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3692:   (eval $ac_try) 2>&5
                   3693:   ac_status=$?
                   3694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3695:   (exit $ac_status); }; }; then
                   3696:   ac_cv_lib_socket_socket=yes
                   3697: else
                   3698:   echo "$as_me: failed program was:" >&5
                   3699: cat conftest.$ac_ext >&5
                   3700: ac_cv_lib_socket_socket=no
                   3701: fi
                   3702: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3703: LIBS=$ac_check_lib_save_LIBS
                   3704: fi
                   3705: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   3706: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   3707: if test $ac_cv_lib_socket_socket = yes; then
                   3708:   cat >>confdefs.h <<_ACEOF
                   3709: #define HAVE_LIBSOCKET 1
                   3710: _ACEOF
1.1       ohara    3711:
                   3712:   LIBS="-lsocket $LIBS"
                   3713:
                   3714: fi
                   3715:
                   3716: fi
1.2       ohara    3717:
1.4       takayama 3718: echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   3719: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   3720: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   3721:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3722: else
1.4       takayama 3723:   cat >conftest.$ac_ext <<_ACEOF
                   3724: #line $LINENO "configure"
1.1       ohara    3725: #include "confdefs.h"
                   3726: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3727:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    3728: #include <assert.h>
                   3729: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3730: #ifdef __cplusplus
                   3731: extern "C"
                   3732: #endif
1.1       ohara    3733: /* We use char because int might match the return type of a gcc2
1.4       takayama 3734:    builtin and then its argument prototype would still apply.  */
                   3735: char gethostbyname ();
                   3736: char (*f) ();
                   3737:
                   3738: #ifdef F77_DUMMY_MAIN
                   3739: #  ifdef __cplusplus
                   3740:      extern "C"
                   3741: #  endif
                   3742:    int F77_DUMMY_MAIN() { return 1; }
                   3743: #endif
                   3744: int
                   3745: main ()
                   3746: {
1.1       ohara    3747: /* The GNU C library defines this for functions which it implements
                   3748:     to always fail with ENOSYS.  Some functions are actually named
                   3749:     something starting with __ and the normal name is an alias.  */
                   3750: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   3751: choke me
                   3752: #else
1.4       takayama 3753: f = gethostbyname;
1.1       ohara    3754: #endif
                   3755:
1.4       takayama 3756:   ;
                   3757:   return 0;
                   3758: }
                   3759: _ACEOF
                   3760: rm -f conftest.$ac_objext conftest$ac_exeext
                   3761: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3762:   (eval $ac_link) 2>&5
                   3763:   ac_status=$?
                   3764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3765:   (exit $ac_status); } &&
                   3766:          { ac_try='test -s conftest$ac_exeext'
                   3767:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3768:   (eval $ac_try) 2>&5
                   3769:   ac_status=$?
                   3770:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3771:   (exit $ac_status); }; }; then
                   3772:   ac_cv_func_gethostbyname=yes
                   3773: else
                   3774:   echo "$as_me: failed program was:" >&5
                   3775: cat conftest.$ac_ext >&5
                   3776: ac_cv_func_gethostbyname=no
                   3777: fi
                   3778: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3779: fi
                   3780: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   3781: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
                   3782: if test $ac_cv_func_gethostbyname = yes; then
                   3783:   :
1.1       ohara    3784: else
                   3785:
1.4       takayama 3786: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   3787: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   3788: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   3789:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3790: else
1.4       takayama 3791:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3792: LIBS="-lnsl  $LIBS"
1.4       takayama 3793: cat >conftest.$ac_ext <<_ACEOF
                   3794: #line $LINENO "configure"
1.1       ohara    3795: #include "confdefs.h"
1.4       takayama 3796:
1.1       ohara    3797: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3798: #ifdef __cplusplus
                   3799: extern "C"
                   3800: #endif
1.1       ohara    3801: /* We use char because int might match the return type of a gcc2
1.4       takayama 3802:    builtin and then its argument prototype would still apply.  */
                   3803: char gethostbyname ();
                   3804: #ifdef F77_DUMMY_MAIN
                   3805: #  ifdef __cplusplus
                   3806:      extern "C"
                   3807: #  endif
                   3808:    int F77_DUMMY_MAIN() { return 1; }
                   3809: #endif
                   3810: int
                   3811: main ()
                   3812: {
                   3813: gethostbyname ();
                   3814:   ;
                   3815:   return 0;
                   3816: }
                   3817: _ACEOF
                   3818: rm -f conftest.$ac_objext conftest$ac_exeext
                   3819: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3820:   (eval $ac_link) 2>&5
                   3821:   ac_status=$?
                   3822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3823:   (exit $ac_status); } &&
                   3824:          { ac_try='test -s conftest$ac_exeext'
                   3825:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3826:   (eval $ac_try) 2>&5
                   3827:   ac_status=$?
                   3828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3829:   (exit $ac_status); }; }; then
                   3830:   ac_cv_lib_nsl_gethostbyname=yes
                   3831: else
                   3832:   echo "$as_me: failed program was:" >&5
                   3833: cat conftest.$ac_ext >&5
                   3834: ac_cv_lib_nsl_gethostbyname=no
                   3835: fi
                   3836: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3837: LIBS=$ac_check_lib_save_LIBS
                   3838: fi
                   3839: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   3840: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   3841: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   3842:   cat >>confdefs.h <<_ACEOF
                   3843: #define HAVE_LIBNSL 1
                   3844: _ACEOF
                   3845:
                   3846:   LIBS="-lnsl $LIBS"
1.1       ohara    3847:
                   3848: fi
                   3849:
                   3850: fi
                   3851:
1.4       takayama 3852: echo "$as_me:$LINENO: checking for dlopen" >&5
                   3853: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   3854: if test "${ac_cv_func_dlopen+set}" = set; then
                   3855:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3856: else
                   3857:   cat >conftest.$ac_ext <<_ACEOF
                   3858: #line $LINENO "configure"
                   3859: #include "confdefs.h"
                   3860: /* System header to define __stub macros and hopefully few prototypes,
                   3861:     which can conflict with char dlopen (); below.  */
                   3862: #include <assert.h>
                   3863: /* Override any gcc2 internal prototype to avoid an error.  */
                   3864: #ifdef __cplusplus
                   3865: extern "C"
                   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 dlopen ();
                   3870: char (*f) ();
                   3871:
                   3872: #ifdef F77_DUMMY_MAIN
                   3873: #  ifdef __cplusplus
                   3874:      extern "C"
                   3875: #  endif
                   3876:    int F77_DUMMY_MAIN() { return 1; }
                   3877: #endif
                   3878: int
                   3879: main ()
                   3880: {
                   3881: /* The GNU C library defines this for functions which it implements
                   3882:     to always fail with ENOSYS.  Some functions are actually named
                   3883:     something starting with __ and the normal name is an alias.  */
                   3884: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   3885: choke me
                   3886: #else
                   3887: f = dlopen;
                   3888: #endif
1.1       ohara    3889:
1.4       takayama 3890:   ;
                   3891:   return 0;
                   3892: }
                   3893: _ACEOF
                   3894: rm -f conftest.$ac_objext conftest$ac_exeext
                   3895: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3896:   (eval $ac_link) 2>&5
                   3897:   ac_status=$?
                   3898:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3899:   (exit $ac_status); } &&
                   3900:          { ac_try='test -s conftest$ac_exeext'
                   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); }; }; then
                   3906:   ac_cv_func_dlopen=yes
                   3907: else
                   3908:   echo "$as_me: failed program was:" >&5
                   3909: cat conftest.$ac_ext >&5
                   3910: ac_cv_func_dlopen=no
                   3911: fi
                   3912: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3913: fi
                   3914: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   3915: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   3916: if test $ac_cv_func_dlopen = yes; then
                   3917:   :
1.1       ohara    3918: else
1.4       takayama 3919:
                   3920: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   3921: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   3922: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   3923:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3924: else
                   3925:   ac_check_lib_save_LIBS=$LIBS
                   3926: LIBS="-ldl  $LIBS"
                   3927: cat >conftest.$ac_ext <<_ACEOF
                   3928: #line $LINENO "configure"
                   3929: #include "confdefs.h"
                   3930:
                   3931: /* Override any gcc2 internal prototype to avoid an error.  */
                   3932: #ifdef __cplusplus
                   3933: extern "C"
                   3934: #endif
                   3935: /* We use char because int might match the return type of a gcc2
                   3936:    builtin and then its argument prototype would still apply.  */
                   3937: char dlopen ();
                   3938: #ifdef F77_DUMMY_MAIN
                   3939: #  ifdef __cplusplus
                   3940:      extern "C"
                   3941: #  endif
                   3942:    int F77_DUMMY_MAIN() { return 1; }
                   3943: #endif
                   3944: int
                   3945: main ()
                   3946: {
                   3947: dlopen ();
                   3948:   ;
                   3949:   return 0;
                   3950: }
                   3951: _ACEOF
                   3952: rm -f conftest.$ac_objext conftest$ac_exeext
                   3953: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3954:   (eval $ac_link) 2>&5
                   3955:   ac_status=$?
                   3956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3957:   (exit $ac_status); } &&
                   3958:          { ac_try='test -s conftest$ac_exeext'
                   3959:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3960:   (eval $ac_try) 2>&5
                   3961:   ac_status=$?
                   3962:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3963:   (exit $ac_status); }; }; then
                   3964:   ac_cv_lib_dl_dlopen=yes
                   3965: else
                   3966:   echo "$as_me: failed program was:" >&5
                   3967: cat conftest.$ac_ext >&5
                   3968: ac_cv_lib_dl_dlopen=no
                   3969: fi
                   3970: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3971: LIBS=$ac_check_lib_save_LIBS
                   3972: fi
                   3973: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   3974: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   3975: if test $ac_cv_lib_dl_dlopen = yes; then
                   3976:   cat >>confdefs.h <<_ACEOF
                   3977: #define HAVE_LIBDL 1
                   3978: _ACEOF
                   3979:
                   3980:   LIBS="-ldl $LIBS"
                   3981:
1.1       ohara    3982: fi
                   3983:
                   3984: fi
                   3985:
1.2       ohara    3986:
1.4       takayama 3987: ac_config_files="$ac_config_files Makefile"
                   3988: cat >confcache <<\_ACEOF
1.1       ohara    3989: # This file is a shell script that caches the results of configure
                   3990: # tests run on this system so they can be shared between configure
1.4       takayama 3991: # scripts and configure runs, see configure's option --config-cache.
                   3992: # It is not useful on other systems.  If it contains results you don't
                   3993: # want to keep, you may remove or edit it.
1.1       ohara    3994: #
1.4       takayama 3995: # config.status only pays attention to the cache file if you give it
                   3996: # the --recheck option to rerun configure.
1.1       ohara    3997: #
1.4       takayama 3998: # `ac_cv_env_foo' variables (set or unset) will be overriden when
                   3999: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   4000: # following values.
                   4001:
                   4002: _ACEOF
                   4003:
1.1       ohara    4004: # The following way of writing the cache mishandles newlines in values,
                   4005: # but we know of no workaround that is simple, portable, and efficient.
                   4006: # So, don't put newlines in cache variables' values.
                   4007: # Ultrix sh set writes to stderr and can't be redirected directly,
                   4008: # and sets the high bit in the cache file unless we assign to the vars.
1.4       takayama 4009: {
                   4010:   (set) 2>&1 |
                   4011:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   4012:     *ac_space=\ *)
                   4013:       # `set' does not quote correctly, so add quotes (double-quote
                   4014:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   4015:       sed -n \
                   4016:         "s/'/'\\\\''/g;
                   4017:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   4018:       ;;
                   4019:     *)
                   4020:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   4021:       sed -n \
                   4022:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   4023:       ;;
                   4024:     esac;
                   4025: } |
                   4026:   sed '
                   4027:      t clear
                   4028:      : clear
                   4029:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   4030:      t end
                   4031:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   4032:      : end' >>confcache
                   4033: if cmp -s $cache_file confcache; then :; else
1.1       ohara    4034:   if test -w $cache_file; then
1.4       takayama 4035:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   4036:     cat confcache >$cache_file
1.1       ohara    4037:   else
                   4038:     echo "not updating unwritable cache $cache_file"
                   4039:   fi
                   4040: fi
                   4041: rm -f confcache
                   4042:
                   4043: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   4044: # Let make expand exec_prefix.
                   4045: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   4046:
1.4       takayama 4047: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   4048: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   4049: # trailing colons and then remove the whole line if VPATH becomes empty
                   4050: # (actually we leave an empty line to preserve line numbers).
1.1       ohara    4051: if test "x$srcdir" = x.; then
1.4       takayama 4052:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   4053: s/:*\$(srcdir):*/:/;
                   4054: s/:*\${srcdir}:*/:/;
                   4055: s/:*@srcdir@:*/:/;
                   4056: s/^\([^=]*=[   ]*\):*/\1/;
                   4057: s/:*$//;
                   4058: s/^[^=]*=[     ]*$//;
                   4059: }'
1.1       ohara    4060: fi
                   4061:
                   4062: # Transform confdefs.h into DEFS.
                   4063: # Protect against shell expansion while executing Makefile rules.
                   4064: # Protect against Makefile macro expansion.
1.4       takayama 4065: #
                   4066: # If the first sed substitution is executed (which looks for macros that
                   4067: # take arguments), then we branch to the quote section.  Otherwise,
                   4068: # look for a macro that doesn't take arguments.
                   4069: cat >confdef2opt.sed <<\_ACEOF
                   4070: t clear
                   4071: : clear
                   4072: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
                   4073: t quote
                   4074: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
                   4075: t quote
                   4076: d
                   4077: : quote
                   4078: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
                   4079: s,\[,\\&,g
                   4080: s,\],\\&,g
                   4081: s,\$,$$,g
                   4082: p
                   4083: _ACEOF
                   4084: # We use echo to avoid assuming a particular line-breaking character.
                   4085: # The extra dot is to prevent the shell from consuming trailing
                   4086: # line-breaks from the sub-command output.  A line-break within
                   4087: # single-quotes doesn't work because, if this script is created in a
                   4088: # platform that uses two characters for line-breaks (e.g., DOS), tr
                   4089: # would break.
                   4090: ac_LF_and_DOT=`echo; echo .`
                   4091: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
                   4092: rm -f confdef2opt.sed
                   4093:
1.1       ohara    4094:
                   4095:
                   4096: : ${CONFIG_STATUS=./config.status}
1.4       takayama 4097: ac_clean_files_save=$ac_clean_files
                   4098: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   4099: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   4100: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   4101: cat >$CONFIG_STATUS <<_ACEOF
                   4102: #! $SHELL
                   4103: # Generated by $as_me.
1.1       ohara    4104: # Run this file to recreate the current configuration.
                   4105: # Compiler output produced by configure, useful for debugging
1.4       takayama 4106: # configure, is in config.log if it exists.
                   4107:
                   4108: debug=false
                   4109: SHELL=\${CONFIG_SHELL-$SHELL}
                   4110: _ACEOF
                   4111:
                   4112: cat >>$CONFIG_STATUS <<\_ACEOF
                   4113:
                   4114: ## --------------------- ##
                   4115: ## M4sh Initialization.  ##
                   4116: ## --------------------- ##
                   4117:
                   4118: # Be Bourne compatible
                   4119: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   4120:   emulate sh
                   4121:   NULLCMD=:
                   4122: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   4123:   set -o posix
                   4124: fi
                   4125:
                   4126: # NLS nuisances.
                   4127: # Support unset when possible.
                   4128: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   4129:   as_unset=unset
                   4130: else
                   4131:   as_unset=false
                   4132: fi
                   4133:
                   4134: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                   4135:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                   4136:       { LANG=C; export LANG; }
                   4137: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                   4138:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                   4139:       { LC_ALL=C; export LC_ALL; }
                   4140: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                   4141:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                   4142:       { LC_TIME=C; export LC_TIME; }
                   4143: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                   4144:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                   4145:       { LC_CTYPE=C; export LC_CTYPE; }
                   4146: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                   4147:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                   4148:       { LANGUAGE=C; export LANGUAGE; }
                   4149: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                   4150:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                   4151:       { LC_COLLATE=C; export LC_COLLATE; }
                   4152: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                   4153:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                   4154:       { LC_NUMERIC=C; export LC_NUMERIC; }
                   4155: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                   4156:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                   4157:       { LC_MESSAGES=C; export LC_MESSAGES; }
                   4158:
                   4159:
                   4160: # Name of the executable.
                   4161: as_me=`(basename "$0") 2>/dev/null ||
                   4162: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   4163:         X"$0" : 'X\(//\)$' \| \
                   4164:         X"$0" : 'X\(/\)$' \| \
                   4165:         .     : '\(.\)' 2>/dev/null ||
                   4166: echo X/"$0" |
                   4167:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   4168:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   4169:          /^X\/\(\/\).*/{ s//\1/; q; }
                   4170:          s/.*/./; q'`
                   4171:
                   4172: # PATH needs CR, and LINENO needs CR and PATH.
                   4173: # Avoid depending upon Character Ranges.
                   4174: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   4175: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   4176: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   4177: as_cr_digits='0123456789'
                   4178: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   4179:
                   4180: # The user is always right.
                   4181: if test "${PATH_SEPARATOR+set}" != set; then
                   4182:   echo "#! /bin/sh" >conftest.sh
                   4183:   echo  "exit 0"   >>conftest.sh
                   4184:   chmod +x conftest.sh
                   4185:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
                   4186:     PATH_SEPARATOR=';'
                   4187:   else
                   4188:     PATH_SEPARATOR=:
                   4189:   fi
                   4190:   rm -f conftest.sh
                   4191: fi
                   4192:
1.1       ohara    4193:
1.4       takayama 4194:   as_lineno_1=$LINENO
                   4195:   as_lineno_2=$LINENO
                   4196:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   4197:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   4198:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   4199:   # Find who we are.  Look in the path if we contain no path at all
                   4200:   # relative or not.
                   4201:   case $0 in
                   4202:     *[\\/]* ) as_myself=$0 ;;
                   4203:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4204: for as_dir in $PATH
                   4205: do
                   4206:   IFS=$as_save_IFS
                   4207:   test -z "$as_dir" && as_dir=.
                   4208:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   4209: done
                   4210:
                   4211:        ;;
                   4212:   esac
                   4213:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   4214:   # in which case we are not to be found in the path.
                   4215:   if test "x$as_myself" = x; then
                   4216:     as_myself=$0
                   4217:   fi
                   4218:   if test ! -f "$as_myself"; then
                   4219:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   4220: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   4221:    { (exit 1); exit 1; }; }
                   4222:   fi
                   4223:   case $CONFIG_SHELL in
                   4224:   '')
                   4225:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4226: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   4227: do
                   4228:   IFS=$as_save_IFS
                   4229:   test -z "$as_dir" && as_dir=.
                   4230:   for as_base in sh bash ksh sh5; do
                   4231:         case $as_dir in
                   4232:         /*)
                   4233:           if ("$as_dir/$as_base" -c '
                   4234:   as_lineno_1=$LINENO
                   4235:   as_lineno_2=$LINENO
                   4236:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   4237:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   4238:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   4239:             CONFIG_SHELL=$as_dir/$as_base
                   4240:             export CONFIG_SHELL
                   4241:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   4242:           fi;;
                   4243:         esac
                   4244:        done
                   4245: done
                   4246: ;;
                   4247:   esac
                   4248:
                   4249:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   4250:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   4251:   # line-number line before each line; the second 'sed' does the real
                   4252:   # work.  The second script uses 'N' to pair each line-number line
                   4253:   # with the numbered line, and appends trailing '-' during
                   4254:   # substitution so that $LINENO is not a special case at line end.
                   4255:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   4256:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   4257:   sed '=' <$as_myself |
                   4258:     sed '
                   4259:       N
                   4260:       s,$,-,
                   4261:       : loop
                   4262:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   4263:       t loop
                   4264:       s,-$,,
                   4265:       s,^['$as_cr_digits']*\n,,
                   4266:     ' >$as_me.lineno &&
                   4267:   chmod +x $as_me.lineno ||
                   4268:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   4269: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   4270:    { (exit 1); exit 1; }; }
                   4271:
                   4272:   # Don't try to exec as it changes $[0], causing all sort of problems
                   4273:   # (the dirname of $[0] is not the place where we might find the
                   4274:   # original and so on.  Autoconf is especially sensible to this).
                   4275:   . ./$as_me.lineno
                   4276:   # Exit status is that of the last command.
                   4277:   exit
                   4278: }
                   4279:
                   4280:
                   4281: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   4282:   *c*,-n*) ECHO_N= ECHO_C='
                   4283: ' ECHO_T='     ' ;;
                   4284:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   4285:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   4286: esac
                   4287:
                   4288: if expr a : '\(a\)' >/dev/null 2>&1; then
                   4289:   as_expr=expr
                   4290: else
                   4291:   as_expr=false
                   4292: fi
                   4293:
                   4294: rm -f conf$$ conf$$.exe conf$$.file
                   4295: echo >conf$$.file
                   4296: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   4297:   # We could just check for DJGPP; but this test a) works b) is more generic
                   4298:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   4299:   if test -f conf$$.exe; then
                   4300:     # Don't use ln at all; we don't have any links
                   4301:     as_ln_s='cp -p'
                   4302:   else
                   4303:     as_ln_s='ln -s'
                   4304:   fi
                   4305: elif ln conf$$.file conf$$ 2>/dev/null; then
                   4306:   as_ln_s=ln
                   4307: else
                   4308:   as_ln_s='cp -p'
                   4309: fi
                   4310: rm -f conf$$ conf$$.exe conf$$.file
                   4311:
                   4312: as_executable_p="test -f"
                   4313:
                   4314: # Sed expression to map a string onto a valid CPP name.
                   4315: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   4316:
                   4317: # Sed expression to map a string onto a valid variable name.
                   4318: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   4319:
                   4320:
                   4321: # IFS
                   4322: # We need space, tab and new line, in precisely that order.
                   4323: as_nl='
                   4324: '
                   4325: IFS="  $as_nl"
                   4326:
                   4327: # CDPATH.
                   4328: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
                   4329:
                   4330: exec 6>&1
                   4331:
                   4332: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   4333: # report actual input values of CONFIG_FILES etc. instead of their
                   4334: # values after options handling.  Logging --version etc. is OK.
                   4335: exec 5>>config.log
                   4336: {
                   4337:   echo
                   4338:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   4339: ## Running $as_me. ##
                   4340: _ASBOX
                   4341: } >&5
                   4342: cat >&5 <<_CSEOF
                   4343:
                   4344: This file was extended by $as_me, which was
                   4345: generated by GNU Autoconf 2.53.  Invocation command line was
                   4346:
                   4347:   CONFIG_FILES    = $CONFIG_FILES
                   4348:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   4349:   CONFIG_LINKS    = $CONFIG_LINKS
                   4350:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   4351:   $ $0 $@
                   4352:
                   4353: _CSEOF
                   4354: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   4355: echo >&5
                   4356: _ACEOF
                   4357:
                   4358: # Files that config.status was made for.
                   4359: if test -n "$ac_config_files"; then
                   4360:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   4361: fi
                   4362:
                   4363: if test -n "$ac_config_headers"; then
                   4364:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   4365: fi
                   4366:
                   4367: if test -n "$ac_config_links"; then
                   4368:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   4369: fi
                   4370:
                   4371: if test -n "$ac_config_commands"; then
                   4372:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   4373: fi
                   4374:
                   4375: cat >>$CONFIG_STATUS <<\_ACEOF
                   4376:
                   4377: ac_cs_usage="\
                   4378: \`$as_me' instantiates files from templates according to the
                   4379: current configuration.
                   4380:
                   4381: Usage: $0 [OPTIONS] [FILE]...
                   4382:
                   4383:   -h, --help       print this help, then exit
                   4384:   -V, --version    print version number, then exit
                   4385:   -d, --debug      don't remove temporary files
                   4386:       --recheck    update $as_me by reconfiguring in the same conditions
                   4387:   --file=FILE[:TEMPLATE]
                   4388:                    instantiate the configuration file FILE
                   4389:
                   4390: Configuration files:
                   4391: $config_files
                   4392:
                   4393: Report bugs to <bug-autoconf@gnu.org>."
                   4394: _ACEOF
                   4395:
                   4396: cat >>$CONFIG_STATUS <<_ACEOF
                   4397: ac_cs_version="\\
                   4398: config.status
                   4399: configured by $0, generated by GNU Autoconf 2.53,
                   4400:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   4401:
                   4402: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   4403: Free Software Foundation, Inc.
                   4404: This config.status script is free software; the Free Software Foundation
                   4405: gives unlimited permission to copy, distribute and modify it."
                   4406: srcdir=$srcdir
1.6     ! ohara    4407: INSTALL="$INSTALL"
1.4       takayama 4408: _ACEOF
                   4409:
                   4410: cat >>$CONFIG_STATUS <<\_ACEOF
                   4411: # If no file are specified by the user, then we need to provide default
                   4412: # value.  By we need to know if files were specified by the user.
                   4413: ac_need_defaults=:
                   4414: while test $# != 0
1.1       ohara    4415: do
1.4       takayama 4416:   case $1 in
                   4417:   --*=*)
                   4418:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   4419:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   4420:     shift
                   4421:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
                   4422:     shift
                   4423:     ;;
                   4424:   -*);;
                   4425:   *) # This is not an option, so the user has probably given explicit
                   4426:      # arguments.
                   4427:      ac_need_defaults=false;;
                   4428:   esac
                   4429:
                   4430:   case $1 in
                   4431:   # Handling of the options.
                   4432: _ACEOF
                   4433: cat >>$CONFIG_STATUS <<_ACEOF
1.1       ohara    4434:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.4       takayama 4435:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
                   4436:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
                   4437: _ACEOF
                   4438: cat >>$CONFIG_STATUS <<\_ACEOF
                   4439:   --version | --vers* | -V )
                   4440:     echo "$ac_cs_version"; exit 0 ;;
                   4441:   --he | --h)
                   4442:     # Conflict between --help and --header
                   4443:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   4444: Try \`$0 --help' for more information." >&5
                   4445: echo "$as_me: error: ambiguous option: $1
                   4446: Try \`$0 --help' for more information." >&2;}
                   4447:    { (exit 1); exit 1; }; };;
                   4448:   --help | --hel | -h )
                   4449:     echo "$ac_cs_usage"; exit 0 ;;
                   4450:   --debug | --d* | -d )
                   4451:     debug=: ;;
                   4452:   --file | --fil | --fi | --f )
                   4453:     shift
                   4454:     CONFIG_FILES="$CONFIG_FILES $1"
                   4455:     ac_need_defaults=false;;
                   4456:   --header | --heade | --head | --hea )
                   4457:     shift
                   4458:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
                   4459:     ac_need_defaults=false;;
                   4460:
                   4461:   # This is an error.
                   4462:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   4463: Try \`$0 --help' for more information." >&5
                   4464: echo "$as_me: error: unrecognized option: $1
                   4465: Try \`$0 --help' for more information." >&2;}
                   4466:    { (exit 1); exit 1; }; } ;;
                   4467:
                   4468:   *) ac_config_targets="$ac_config_targets $1" ;;
                   4469:
                   4470:   esac
                   4471:   shift
                   4472: done
                   4473:
                   4474: _ACEOF
                   4475:
                   4476:
                   4477:
                   4478:
                   4479:
                   4480: cat >>$CONFIG_STATUS <<\_ACEOF
                   4481: for ac_config_target in $ac_config_targets
                   4482: do
                   4483:   case "$ac_config_target" in
                   4484:   # Handling of arguments.
                   4485:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   4486:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   4487: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   4488:    { (exit 1); exit 1; }; };;
1.1       ohara    4489:   esac
                   4490: done
                   4491:
1.4       takayama 4492: # If the user did not use the arguments to specify the items to instantiate,
                   4493: # then the envvar interface is used.  Set only those that are not.
                   4494: # We use the long form for the default assignment because of an extremely
                   4495: # bizarre bug on SunOS 4.1.3.
                   4496: if $ac_need_defaults; then
                   4497:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   4498: fi
                   4499:
                   4500: # Create a temporary directory, and hook for its removal unless debugging.
                   4501: $debug ||
                   4502: {
                   4503:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   4504:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   4505: }
                   4506:
                   4507: # Create a (secure) tmp directory for tmp files.
                   4508: : ${TMPDIR=/tmp}
                   4509: {
                   4510:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
                   4511:   test -n "$tmp" && test -d "$tmp"
                   4512: }  ||
                   4513: {
                   4514:   tmp=$TMPDIR/cs$$-$RANDOM
                   4515:   (umask 077 && mkdir $tmp)
                   4516: } ||
                   4517: {
                   4518:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   4519:    { (exit 1); exit 1; }
                   4520: }
                   4521:
                   4522: _ACEOF
1.1       ohara    4523:
1.4       takayama 4524: cat >>$CONFIG_STATUS <<_ACEOF
                   4525:
                   4526: #
                   4527: # CONFIG_FILES section.
                   4528: #
1.1       ohara    4529:
1.4       takayama 4530: # No need to generate the scripts if there are no CONFIG_FILES.
                   4531: # This happens for instance when ./config.status config.h
                   4532: if test -n "\$CONFIG_FILES"; then
                   4533:   # Protect against being on the right side of a sed subst in config.status.
                   4534:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   4535:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   4536: s,@SHELL@,$SHELL,;t t
                   4537: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   4538: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   4539: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   4540: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   4541: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   4542: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   4543: s,@exec_prefix@,$exec_prefix,;t t
                   4544: s,@prefix@,$prefix,;t t
                   4545: s,@program_transform_name@,$program_transform_name,;t t
                   4546: s,@bindir@,$bindir,;t t
                   4547: s,@sbindir@,$sbindir,;t t
                   4548: s,@libexecdir@,$libexecdir,;t t
                   4549: s,@datadir@,$datadir,;t t
                   4550: s,@sysconfdir@,$sysconfdir,;t t
                   4551: s,@sharedstatedir@,$sharedstatedir,;t t
                   4552: s,@localstatedir@,$localstatedir,;t t
                   4553: s,@libdir@,$libdir,;t t
                   4554: s,@includedir@,$includedir,;t t
                   4555: s,@oldincludedir@,$oldincludedir,;t t
                   4556: s,@infodir@,$infodir,;t t
                   4557: s,@mandir@,$mandir,;t t
                   4558: s,@build_alias@,$build_alias,;t t
                   4559: s,@host_alias@,$host_alias,;t t
                   4560: s,@target_alias@,$target_alias,;t t
                   4561: s,@DEFS@,$DEFS,;t t
                   4562: s,@ECHO_C@,$ECHO_C,;t t
                   4563: s,@ECHO_N@,$ECHO_N,;t t
                   4564: s,@ECHO_T@,$ECHO_T,;t t
                   4565: s,@LIBS@,$LIBS,;t t
1.5       ohara    4566: s,@build@,$build,;t t
                   4567: s,@build_cpu@,$build_cpu,;t t
                   4568: s,@build_vendor@,$build_vendor,;t t
                   4569: s,@build_os@,$build_os,;t t
                   4570: s,@host@,$host,;t t
                   4571: s,@host_cpu@,$host_cpu,;t t
                   4572: s,@host_vendor@,$host_vendor,;t t
                   4573: s,@host_os@,$host_os,;t t
                   4574: s,@target@,$target,;t t
                   4575: s,@target_cpu@,$target_cpu,;t t
                   4576: s,@target_vendor@,$target_vendor,;t t
                   4577: s,@target_os@,$target_os,;t t
1.4       takayama 4578: s,@CC@,$CC,;t t
                   4579: s,@CFLAGS@,$CFLAGS,;t t
                   4580: s,@LDFLAGS@,$LDFLAGS,;t t
                   4581: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   4582: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   4583: s,@EXEEXT@,$EXEEXT,;t t
                   4584: s,@OBJEXT@,$OBJEXT,;t t
1.6     ! ohara    4585: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
        !          4586: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
        !          4587: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1.4       takayama 4588: s,@RANLIB@,$RANLIB,;t t
                   4589: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   4590: s,@CPP@,$CPP,;t t
                   4591: s,@X_CFLAGS@,$X_CFLAGS,;t t
                   4592: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
                   4593: s,@X_LIBS@,$X_LIBS,;t t
                   4594: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
                   4595: s,@GMPLIB@,$GMPLIB,;t t
                   4596: s,@USE_GMP@,$USE_GMP,;t t
1.1       ohara    4597: CEOF
                   4598:
1.4       takayama 4599: _ACEOF
1.1       ohara    4600:
1.4       takayama 4601:   cat >>$CONFIG_STATUS <<\_ACEOF
                   4602:   # Split the substitutions into bite-sized pieces for seds with
                   4603:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   4604:   ac_max_sed_lines=48
                   4605:   ac_sed_frag=1 # Number of current file.
                   4606:   ac_beg=1 # First line for current file.
                   4607:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   4608:   ac_more_lines=:
                   4609:   ac_sed_cmds=
                   4610:   while $ac_more_lines; do
                   4611:     if test $ac_beg -gt 1; then
                   4612:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   4613:     else
                   4614:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   4615:     fi
                   4616:     if test ! -s $tmp/subs.frag; then
                   4617:       ac_more_lines=false
1.1       ohara    4618:     else
1.4       takayama 4619:       # The purpose of the label and of the branching condition is to
                   4620:       # speed up the sed processing (if there are no `@' at all, there
                   4621:       # is no need to browse any of the substitutions).
                   4622:       # These are the two extra sed commands mentioned above.
                   4623:       (echo ':t
                   4624:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   4625:       if test -z "$ac_sed_cmds"; then
                   4626:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   4627:       else
                   4628:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   4629:       fi
                   4630:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   4631:       ac_beg=$ac_end
                   4632:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       ohara    4633:     fi
1.4       takayama 4634:   done
                   4635:   if test -z "$ac_sed_cmds"; then
                   4636:     ac_sed_cmds=cat
1.1       ohara    4637:   fi
1.4       takayama 4638: fi # test -n "$CONFIG_FILES"
1.1       ohara    4639:
1.4       takayama 4640: _ACEOF
                   4641: cat >>$CONFIG_STATUS <<\_ACEOF
                   4642: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   4643:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   4644:   case $ac_file in
                   4645:   - | *:- | *:-:* ) # input from stdin
                   4646:         cat >$tmp/stdin
                   4647:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   4648:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   4649:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   4650:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   4651:   * )   ac_file_in=$ac_file.in ;;
                   4652:   esac
1.1       ohara    4653:
1.4       takayama 4654:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   4655:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   4656: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   4657:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   4658:          X"$ac_file" : 'X\(//\)$' \| \
                   4659:          X"$ac_file" : 'X\(/\)' \| \
                   4660:          .     : '\(.\)' 2>/dev/null ||
                   4661: echo X"$ac_file" |
                   4662:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   4663:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   4664:          /^X\(\/\/\)$/{ s//\1/; q; }
                   4665:          /^X\(\/\).*/{ s//\1/; q; }
                   4666:          s/.*/./; q'`
                   4667:   { case "$ac_dir" in
                   4668:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   4669:   *)                      as_incr_dir=.;;
                   4670: esac
                   4671: as_dummy="$ac_dir"
                   4672: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   4673:   case $as_mkdir_dir in
                   4674:     # Skip DOS drivespec
                   4675:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   4676:     *)
                   4677:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   4678:       test -d "$as_incr_dir" ||
                   4679:         mkdir "$as_incr_dir" ||
                   4680:        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
                   4681: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
                   4682:    { (exit 1); exit 1; }; }
                   4683:     ;;
1.1       ohara    4684:   esac
1.4       takayama 4685: done; }
1.1       ohara    4686:
1.4       takayama 4687:   ac_builddir=.
1.1       ohara    4688:
1.4       takayama 4689: if test "$ac_dir" != .; then
                   4690:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   4691:   # A "../" for each directory in $ac_dir_suffix.
                   4692:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   4693: else
                   4694:   ac_dir_suffix= ac_top_builddir=
                   4695: fi
1.1       ohara    4696:
1.4       takayama 4697: case $srcdir in
                   4698:   .)  # No --srcdir option.  We are building in place.
                   4699:     ac_srcdir=.
                   4700:     if test -z "$ac_top_builddir"; then
                   4701:        ac_top_srcdir=.
                   4702:     else
                   4703:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   4704:     fi ;;
                   4705:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   4706:     ac_srcdir=$srcdir$ac_dir_suffix;
                   4707:     ac_top_srcdir=$srcdir ;;
1.1       ohara    4708:   *) # Relative path.
1.4       takayama 4709:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   4710:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   4711: esac
                   4712: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   4713: # absolute.
                   4714: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   4715: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
                   4716: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   4717: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   4718:
1.1       ohara    4719:
1.6     ! ohara    4720:   case $INSTALL in
        !          4721:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
        !          4722:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
        !          4723:   esac
1.1       ohara    4724:
1.4       takayama 4725:   if test x"$ac_file" != x-; then
                   4726:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   4727: echo "$as_me: creating $ac_file" >&6;}
                   4728:     rm -f "$ac_file"
                   4729:   fi
                   4730:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   4731:   # use $as_me), people would be surprised to read:
                   4732:   #    /* config.h.  Generated by config.status.  */
                   4733:   if test x"$ac_file" = x-; then
                   4734:     configure_input=
                   4735:   else
                   4736:     configure_input="$ac_file.  "
                   4737:   fi
                   4738:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   4739:                                      sed 's,.*/,,'` by configure."
1.1       ohara    4740:
1.4       takayama 4741:   # First look for the input files in the build tree, otherwise in the
                   4742:   # src tree.
                   4743:   ac_file_inputs=`IFS=:
                   4744:     for f in $ac_file_in; do
                   4745:       case $f in
                   4746:       -) echo $tmp/stdin ;;
                   4747:       [\\/$]*)
                   4748:          # Absolute (can't be DOS-style, as IFS=:)
                   4749:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   4750: echo "$as_me: error: cannot find input file: $f" >&2;}
                   4751:    { (exit 1); exit 1; }; }
                   4752:          echo $f;;
                   4753:       *) # Relative
                   4754:          if test -f "$f"; then
                   4755:            # Build tree
                   4756:            echo $f
                   4757:          elif test -f "$srcdir/$f"; then
                   4758:            # Source tree
                   4759:            echo $srcdir/$f
                   4760:          else
                   4761:            # /dev/null tree
                   4762:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   4763: echo "$as_me: error: cannot find input file: $f" >&2;}
                   4764:    { (exit 1); exit 1; }; }
                   4765:          fi;;
                   4766:       esac
                   4767:     done` || { (exit 1); exit 1; }
                   4768: _ACEOF
                   4769: cat >>$CONFIG_STATUS <<_ACEOF
                   4770:   sed "$ac_vpsub
                   4771: $extrasub
                   4772: _ACEOF
                   4773: cat >>$CONFIG_STATUS <<\_ACEOF
                   4774: :t
                   4775: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   4776: s,@configure_input@,$configure_input,;t t
                   4777: s,@srcdir@,$ac_srcdir,;t t
                   4778: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   4779: s,@top_srcdir@,$ac_top_srcdir,;t t
                   4780: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   4781: s,@builddir@,$ac_builddir,;t t
                   4782: s,@abs_builddir@,$ac_abs_builddir,;t t
                   4783: s,@top_builddir@,$ac_top_builddir,;t t
                   4784: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
1.6     ! ohara    4785: s,@INSTALL@,$ac_INSTALL,;t t
1.4       takayama 4786: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   4787:   rm -f $tmp/stdin
                   4788:   if test x"$ac_file" != x-; then
                   4789:     mv $tmp/out $ac_file
                   4790:   else
                   4791:     cat $tmp/out
                   4792:     rm -f $tmp/out
                   4793:   fi
1.1       ohara    4794:
1.4       takayama 4795: done
                   4796: _ACEOF
1.1       ohara    4797:
1.4       takayama 4798: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       ohara    4799:
1.4       takayama 4800: { (exit 0); exit 0; }
                   4801: _ACEOF
1.1       ohara    4802: chmod +x $CONFIG_STATUS
1.4       takayama 4803: ac_clean_files=$ac_clean_files_save
                   4804:
                   4805:
                   4806: # configure is writing to config.log, and then calls config.status.
                   4807: # config.status does its own redirection, appending to config.log.
                   4808: # Unfortunately, on DOS this fails, as config.log is still kept open
                   4809: # by configure, so config.status won't be able to write to it; its
                   4810: # output is simply discarded.  So we exec the FD to /dev/null,
                   4811: # effectively closing config.log, so it can be properly (re)opened and
                   4812: # appended to by config.status.  When coming back to configure, we
                   4813: # need to make the FD available again.
                   4814: if test "$no_create" != yes; then
                   4815:   ac_cs_success=:
                   4816:   exec 5>/dev/null
                   4817:   $SHELL $CONFIG_STATUS || ac_cs_success=false
                   4818:   exec 5>>config.log
                   4819:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   4820:   # would make configure fail if this is the last instruction.
                   4821:   $ac_cs_success || { (exit 1); exit 1; }
                   4822: fi
1.2       ohara    4823:

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