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

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

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:
                   2022: if test -n "$ac_tool_prefix"; then
                   2023:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   2024: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   2025: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2026: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2027: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   2028:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2029: else
                   2030:   if test -n "$RANLIB"; then
                   2031:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   2032: else
1.4       takayama 2033: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2034: for as_dir in $PATH
                   2035: do
                   2036:   IFS=$as_save_IFS
                   2037:   test -z "$as_dir" && as_dir=.
                   2038:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2039:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2040:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   2041:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2042:     break 2
                   2043:   fi
                   2044: done
                   2045: done
                   2046:
1.1       ohara    2047: fi
                   2048: fi
1.4       takayama 2049: RANLIB=$ac_cv_prog_RANLIB
1.1       ohara    2050: if test -n "$RANLIB"; then
1.4       takayama 2051:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   2052: echo "${ECHO_T}$RANLIB" >&6
                   2053: else
                   2054:   echo "$as_me:$LINENO: result: no" >&5
                   2055: echo "${ECHO_T}no" >&6
                   2056: fi
                   2057:
                   2058: fi
                   2059: if test -z "$ac_cv_prog_RANLIB"; then
                   2060:   ac_ct_RANLIB=$RANLIB
                   2061:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2062: set dummy ranlib; ac_word=$2
                   2063: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2064: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2065: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   2066:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2067: else
                   2068:   if test -n "$ac_ct_RANLIB"; then
                   2069:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2070: else
                   2071: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2072: for as_dir in $PATH
                   2073: do
                   2074:   IFS=$as_save_IFS
                   2075:   test -z "$as_dir" && as_dir=.
                   2076:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2077:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2078:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   2079:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2080:     break 2
                   2081:   fi
                   2082: done
                   2083: done
                   2084:
                   2085:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   2086: fi
                   2087: fi
                   2088: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2089: if test -n "$ac_ct_RANLIB"; then
                   2090:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   2091: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   2092: else
                   2093:   echo "$as_me:$LINENO: result: no" >&5
                   2094: echo "${ECHO_T}no" >&6
                   2095: fi
                   2096:
                   2097:   RANLIB=$ac_ct_RANLIB
1.1       ohara    2098: else
1.4       takayama 2099:   RANLIB="$ac_cv_prog_RANLIB"
1.1       ohara    2100: fi
                   2101:
1.4       takayama 2102:
                   2103: ac_ext=c
                   2104: ac_cpp='$CPP $CPPFLAGS'
                   2105: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2106: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2107: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2108: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   2109: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       ohara    2110: # On Suns, sometimes $CPP names a directory.
                   2111: if test -n "$CPP" && test -d "$CPP"; then
                   2112:   CPP=
                   2113: fi
                   2114: if test -z "$CPP"; then
1.4       takayama 2115:   if test "${ac_cv_prog_CPP+set}" = set; then
                   2116:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2117: else
1.4       takayama 2118:       # Double quotes because CPP needs to be expanded
                   2119:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   2120:     do
                   2121:       ac_preproc_ok=false
                   2122: for ac_c_preproc_warn_flag in '' yes
                   2123: do
                   2124:   # Use a header file that comes with gcc, so configuring glibc
                   2125:   # with a fresh cross-compiler works.
1.1       ohara    2126:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.4       takayama 2127:   # not just through cpp. "Syntax error" is here to catch this case.
                   2128:   cat >conftest.$ac_ext <<_ACEOF
                   2129: #line $LINENO "configure"
1.1       ohara    2130: #include "confdefs.h"
                   2131: #include <assert.h>
1.4       takayama 2132:                      Syntax error
                   2133: _ACEOF
                   2134: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2135:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2136:   ac_status=$?
                   2137:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2138:   rm -f conftest.er1
                   2139:   cat conftest.err >&5
                   2140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2141:   (exit $ac_status); } >/dev/null; then
                   2142:   if test -s conftest.err; then
                   2143:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2144:   else
                   2145:     ac_cpp_err=
                   2146:   fi
                   2147: else
                   2148:   ac_cpp_err=yes
                   2149: fi
                   2150: if test -z "$ac_cpp_err"; then
1.1       ohara    2151:   :
                   2152: else
1.4       takayama 2153:   echo "$as_me: failed program was:" >&5
1.1       ohara    2154:   cat conftest.$ac_ext >&5
1.4       takayama 2155:   # Broken: fails on valid input.
                   2156: continue
                   2157: fi
                   2158: rm -f conftest.err conftest.$ac_ext
                   2159:
                   2160:   # OK, works on sane cases.  Now check whether non-existent headers
                   2161:   # can be detected and how.
                   2162:   cat >conftest.$ac_ext <<_ACEOF
                   2163: #line $LINENO "configure"
1.1       ohara    2164: #include "confdefs.h"
1.4       takayama 2165: #include <ac_nonexistent.h>
                   2166: _ACEOF
                   2167: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2168:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2169:   ac_status=$?
                   2170:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2171:   rm -f conftest.er1
                   2172:   cat conftest.err >&5
                   2173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2174:   (exit $ac_status); } >/dev/null; then
                   2175:   if test -s conftest.err; then
                   2176:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2177:   else
                   2178:     ac_cpp_err=
                   2179:   fi
                   2180: else
                   2181:   ac_cpp_err=yes
                   2182: fi
                   2183: if test -z "$ac_cpp_err"; then
                   2184:   # Broken: success on invalid input.
                   2185: continue
1.1       ohara    2186: else
1.4       takayama 2187:   echo "$as_me: failed program was:" >&5
1.1       ohara    2188:   cat conftest.$ac_ext >&5
1.4       takayama 2189:   # Passes both tests.
                   2190: ac_preproc_ok=:
                   2191: break
                   2192: fi
                   2193: rm -f conftest.err conftest.$ac_ext
                   2194:
                   2195: done
                   2196: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2197: rm -f conftest.err conftest.$ac_ext
                   2198: if $ac_preproc_ok; then
                   2199:   break
                   2200: fi
                   2201:
                   2202:     done
                   2203:     ac_cv_prog_CPP=$CPP
                   2204:
                   2205: fi
                   2206:   CPP=$ac_cv_prog_CPP
                   2207: else
                   2208:   ac_cv_prog_CPP=$CPP
                   2209: fi
                   2210: echo "$as_me:$LINENO: result: $CPP" >&5
                   2211: echo "${ECHO_T}$CPP" >&6
                   2212: ac_preproc_ok=false
                   2213: for ac_c_preproc_warn_flag in '' yes
                   2214: do
                   2215:   # Use a header file that comes with gcc, so configuring glibc
                   2216:   # with a fresh cross-compiler works.
                   2217:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   2218:   # not just through cpp. "Syntax error" is here to catch this case.
                   2219:   cat >conftest.$ac_ext <<_ACEOF
                   2220: #line $LINENO "configure"
1.1       ohara    2221: #include "confdefs.h"
                   2222: #include <assert.h>
1.4       takayama 2223:                      Syntax error
                   2224: _ACEOF
                   2225: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2226:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2227:   ac_status=$?
                   2228:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2229:   rm -f conftest.er1
                   2230:   cat conftest.err >&5
                   2231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2232:   (exit $ac_status); } >/dev/null; then
                   2233:   if test -s conftest.err; then
                   2234:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2235:   else
                   2236:     ac_cpp_err=
                   2237:   fi
                   2238: else
                   2239:   ac_cpp_err=yes
                   2240: fi
                   2241: if test -z "$ac_cpp_err"; then
1.1       ohara    2242:   :
                   2243: else
1.4       takayama 2244:   echo "$as_me: failed program was:" >&5
1.1       ohara    2245:   cat conftest.$ac_ext >&5
1.4       takayama 2246:   # Broken: fails on valid input.
                   2247: continue
1.1       ohara    2248: fi
1.4       takayama 2249: rm -f conftest.err conftest.$ac_ext
                   2250:
                   2251:   # OK, works on sane cases.  Now check whether non-existent headers
                   2252:   # can be detected and how.
                   2253:   cat >conftest.$ac_ext <<_ACEOF
                   2254: #line $LINENO "configure"
                   2255: #include "confdefs.h"
                   2256: #include <ac_nonexistent.h>
                   2257: _ACEOF
                   2258: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2259:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2260:   ac_status=$?
                   2261:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2262:   rm -f conftest.er1
                   2263:   cat conftest.err >&5
                   2264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2265:   (exit $ac_status); } >/dev/null; then
                   2266:   if test -s conftest.err; then
                   2267:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2268:   else
                   2269:     ac_cpp_err=
                   2270:   fi
                   2271: else
                   2272:   ac_cpp_err=yes
1.1       ohara    2273: fi
1.4       takayama 2274: if test -z "$ac_cpp_err"; then
                   2275:   # Broken: success on invalid input.
                   2276: continue
                   2277: else
                   2278:   echo "$as_me: failed program was:" >&5
                   2279:   cat conftest.$ac_ext >&5
                   2280:   # Passes both tests.
                   2281: ac_preproc_ok=:
                   2282: break
1.1       ohara    2283: fi
1.4       takayama 2284: rm -f conftest.err conftest.$ac_ext
                   2285:
                   2286: done
                   2287: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   2288: rm -f conftest.err conftest.$ac_ext
                   2289: if $ac_preproc_ok; then
                   2290:   :
1.1       ohara    2291: else
1.4       takayama 2292:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
                   2293: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
                   2294:    { (exit 1); exit 1; }; }
1.1       ohara    2295: fi
                   2296:
1.4       takayama 2297: ac_ext=c
                   2298: ac_cpp='$CPP $CPPFLAGS'
                   2299: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2300: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2301: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2302:
                   2303:
                   2304: echo "$as_me:$LINENO: checking for X" >&5
                   2305: echo $ECHO_N "checking for X... $ECHO_C" >&6
                   2306:
1.1       ohara    2307:
                   2308: # Check whether --with-x or --without-x was given.
                   2309: if test "${with_x+set}" = set; then
                   2310:   withval="$with_x"
                   2311:
1.4       takayama 2312: fi;
1.1       ohara    2313: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   2314: if test "x$with_x" = xno; then
                   2315:   # The user explicitly disabled X.
                   2316:   have_x=disabled
                   2317: else
                   2318:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   2319:     # Both variables are already set.
                   2320:     have_x=yes
                   2321:   else
1.4       takayama 2322:     if test "${ac_cv_have_x+set}" = set; then
                   2323:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2324: else
                   2325:   # One or both of the vars are not set, and there is no cached value.
1.4       takayama 2326: ac_x_includes=no ac_x_libraries=no
                   2327: rm -fr conftest.dir
                   2328: if mkdir conftest.dir; then
                   2329:   cd conftest.dir
1.1       ohara    2330:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1.4       takayama 2331:   cat >Imakefile <<'_ACEOF'
1.1       ohara    2332: acfindx:
                   2333:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1.4       takayama 2334: _ACEOF
1.1       ohara    2335:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   2336:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   2337:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   2338:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   2339:     for ac_extension in a so sl; do
                   2340:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1.4       takayama 2341:          test -f $ac_im_libdir/libX11.$ac_extension; then
1.1       ohara    2342:         ac_im_usrlibdir=$ac_im_libdir; break
                   2343:       fi
                   2344:     done
                   2345:     # Screen out bogus values from the imake configuration.  They are
                   2346:     # bogus both because they are the default anyway, and because
                   2347:     # using them would break gcc on systems where it needs fixed includes.
1.4       takayama 2348:     case $ac_im_incroot in
1.1       ohara    2349:        /usr/include) ;;
1.4       takayama 2350:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       ohara    2351:     esac
1.4       takayama 2352:     case $ac_im_usrlibdir in
1.1       ohara    2353:        /usr/lib | /lib) ;;
1.4       takayama 2354:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       ohara    2355:     esac
                   2356:   fi
                   2357:   cd ..
1.4       takayama 2358:   rm -fr conftest.dir
1.1       ohara    2359: fi
                   2360:
1.4       takayama 2361: # Standard set of common directories for X headers.
                   2362: # Check X11 before X11Rn because it is often a symlink to the current release.
                   2363: ac_x_header_dirs='
                   2364: /usr/X11/include
                   2365: /usr/X11R6/include
                   2366: /usr/X11R5/include
                   2367: /usr/X11R4/include
                   2368:
                   2369: /usr/include/X11
                   2370: /usr/include/X11R6
                   2371: /usr/include/X11R5
                   2372: /usr/include/X11R4
                   2373:
                   2374: /usr/local/X11/include
                   2375: /usr/local/X11R6/include
                   2376: /usr/local/X11R5/include
                   2377: /usr/local/X11R4/include
                   2378:
                   2379: /usr/local/include/X11
                   2380: /usr/local/include/X11R6
                   2381: /usr/local/include/X11R5
                   2382: /usr/local/include/X11R4
                   2383:
                   2384: /usr/X386/include
                   2385: /usr/x386/include
                   2386: /usr/XFree86/include/X11
                   2387:
                   2388: /usr/include
                   2389: /usr/local/include
                   2390: /usr/unsupported/include
                   2391: /usr/athena/include
                   2392: /usr/local/x11r5/include
                   2393: /usr/lpp/Xamples/include
                   2394:
                   2395: /usr/openwin/include
                   2396: /usr/openwin/share/include'
1.1       ohara    2397:
1.4       takayama 2398: if test "$ac_x_includes" = no; then
                   2399:   # Guess where to find include files, by looking for Intrinsic.h.
1.1       ohara    2400:   # First, try using that file with no special directory specified.
1.4       takayama 2401:   cat >conftest.$ac_ext <<_ACEOF
                   2402: #line $LINENO "configure"
1.1       ohara    2403: #include "confdefs.h"
1.4       takayama 2404: #include <X11/Intrinsic.h>
                   2405: _ACEOF
                   2406: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   2407:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   2408:   ac_status=$?
                   2409:   egrep -v '^ *\+' conftest.er1 >conftest.err
                   2410:   rm -f conftest.er1
                   2411:   cat conftest.err >&5
                   2412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2413:   (exit $ac_status); } >/dev/null; then
                   2414:   if test -s conftest.err; then
                   2415:     ac_cpp_err=$ac_c_preproc_warn_flag
                   2416:   else
                   2417:     ac_cpp_err=
                   2418:   fi
                   2419: else
                   2420:   ac_cpp_err=yes
                   2421: fi
                   2422: if test -z "$ac_cpp_err"; then
1.1       ohara    2423:   # We can compile using X headers with no special include directory.
                   2424: ac_x_includes=
                   2425: else
1.4       takayama 2426:   echo "$as_me: failed program was:" >&5
1.1       ohara    2427:   cat conftest.$ac_ext >&5
1.4       takayama 2428:   for ac_dir in $ac_x_header_dirs; do
                   2429:   if test -r "$ac_dir/X11/Intrinsic.h"; then
                   2430:     ac_x_includes=$ac_dir
                   2431:     break
                   2432:   fi
                   2433: done
1.1       ohara    2434: fi
1.4       takayama 2435: rm -f conftest.err conftest.$ac_ext
                   2436: fi # $ac_x_includes = no
1.1       ohara    2437:
1.4       takayama 2438: if test "$ac_x_libraries" = no; then
1.1       ohara    2439:   # Check for the libraries.
                   2440:   # See if we find them without any special options.
                   2441:   # Don't add to $LIBS permanently.
1.4       takayama 2442:   ac_save_LIBS=$LIBS
                   2443:   LIBS="-lXt $LIBS"
                   2444:   cat >conftest.$ac_ext <<_ACEOF
                   2445: #line $LINENO "configure"
1.1       ohara    2446: #include "confdefs.h"
1.4       takayama 2447: #include <X11/Intrinsic.h>
                   2448: #ifdef F77_DUMMY_MAIN
                   2449: #  ifdef __cplusplus
                   2450:      extern "C"
                   2451: #  endif
                   2452:    int F77_DUMMY_MAIN() { return 1; }
                   2453: #endif
                   2454: int
                   2455: main ()
                   2456: {
                   2457: XtMalloc (0)
                   2458:   ;
                   2459:   return 0;
                   2460: }
                   2461: _ACEOF
                   2462: rm -f conftest.$ac_objext conftest$ac_exeext
                   2463: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2464:   (eval $ac_link) 2>&5
                   2465:   ac_status=$?
                   2466:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2467:   (exit $ac_status); } &&
                   2468:          { ac_try='test -s conftest$ac_exeext'
                   2469:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2470:   (eval $ac_try) 2>&5
                   2471:   ac_status=$?
                   2472:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2473:   (exit $ac_status); }; }; then
                   2474:   LIBS=$ac_save_LIBS
1.1       ohara    2475: # We can link X programs with no special library path.
                   2476: ac_x_libraries=
                   2477: else
1.4       takayama 2478:   echo "$as_me: failed program was:" >&5
                   2479: cat conftest.$ac_ext >&5
                   2480: LIBS=$ac_save_LIBS
                   2481: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       ohara    2482: do
1.4       takayama 2483:   # Don't even attempt the hair of trying to link an X program!
1.1       ohara    2484:   for ac_extension in a so sl; do
1.4       takayama 2485:     if test -r $ac_dir/libXt.$ac_extension; then
1.1       ohara    2486:       ac_x_libraries=$ac_dir
                   2487:       break 2
                   2488:     fi
                   2489:   done
                   2490: done
                   2491: fi
1.4       takayama 2492: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2493: fi # $ac_x_libraries = no
1.1       ohara    2494:
1.4       takayama 2495: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1.1       ohara    2496:   # Didn't find X anywhere.  Cache the known absence of X.
                   2497:   ac_cv_have_x="have_x=no"
                   2498: else
                   2499:   # Record where we found X for the cache.
                   2500:   ac_cv_have_x="have_x=yes \
                   2501:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
                   2502: fi
                   2503: fi
1.4       takayama 2504:
1.1       ohara    2505:   fi
                   2506:   eval "$ac_cv_have_x"
                   2507: fi # $with_x != no
                   2508:
                   2509: if test "$have_x" != yes; then
1.4       takayama 2510:   echo "$as_me:$LINENO: result: $have_x" >&5
                   2511: echo "${ECHO_T}$have_x" >&6
1.1       ohara    2512:   no_x=yes
                   2513: else
                   2514:   # If each of the values was on the command line, it overrides each guess.
                   2515:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   2516:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   2517:   # Update the cache value to reflect the command line values.
                   2518:   ac_cv_have_x="have_x=yes \
                   2519:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1.4       takayama 2520:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
                   2521: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
1.1       ohara    2522: fi
                   2523:
                   2524: if test "$no_x" = yes; then
                   2525:   # Not all programs may use this symbol, but it does not hurt to define it.
1.4       takayama 2526:
                   2527: cat >>confdefs.h <<\_ACEOF
1.1       ohara    2528: #define X_DISPLAY_MISSING 1
1.4       takayama 2529: _ACEOF
1.1       ohara    2530:
                   2531:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   2532: else
                   2533:   if test -n "$x_includes"; then
                   2534:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   2535:   fi
                   2536:
                   2537:   # It would also be nice to do this for all -L options, not just this one.
                   2538:   if test -n "$x_libraries"; then
                   2539:     X_LIBS="$X_LIBS -L$x_libraries"
                   2540:     # For Solaris; some versions of Sun CC require a space after -R and
                   2541:     # others require no space.  Words are not sufficient . . . .
1.4       takayama 2542:     case `(uname -sr) 2>/dev/null` in
1.1       ohara    2543:     "SunOS 5"*)
1.4       takayama 2544:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
                   2545: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
                   2546:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
                   2547:       cat >conftest.$ac_ext <<_ACEOF
                   2548: #line $LINENO "configure"
1.1       ohara    2549: #include "confdefs.h"
                   2550:
1.4       takayama 2551: #ifdef F77_DUMMY_MAIN
                   2552: #  ifdef __cplusplus
                   2553:      extern "C"
                   2554: #  endif
                   2555:    int F77_DUMMY_MAIN() { return 1; }
                   2556: #endif
                   2557: int
                   2558: main ()
                   2559: {
                   2560:
                   2561:   ;
                   2562:   return 0;
                   2563: }
                   2564: _ACEOF
                   2565: rm -f conftest.$ac_objext conftest$ac_exeext
                   2566: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2567:   (eval $ac_link) 2>&5
                   2568:   ac_status=$?
                   2569:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2570:   (exit $ac_status); } &&
                   2571:          { ac_try='test -s conftest$ac_exeext'
                   2572:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2573:   (eval $ac_try) 2>&5
                   2574:   ac_status=$?
                   2575:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2576:   (exit $ac_status); }; }; then
1.1       ohara    2577:   ac_R_nospace=yes
                   2578: else
1.4       takayama 2579:   echo "$as_me: failed program was:" >&5
                   2580: cat conftest.$ac_ext >&5
                   2581: ac_R_nospace=no
1.1       ohara    2582: fi
1.4       takayama 2583: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2584:       if test $ac_R_nospace = yes; then
1.4       takayama 2585:        echo "$as_me:$LINENO: result: no" >&5
                   2586: echo "${ECHO_T}no" >&6
1.1       ohara    2587:        X_LIBS="$X_LIBS -R$x_libraries"
                   2588:       else
                   2589:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.4       takayama 2590:        cat >conftest.$ac_ext <<_ACEOF
                   2591: #line $LINENO "configure"
1.1       ohara    2592: #include "confdefs.h"
                   2593:
1.4       takayama 2594: #ifdef F77_DUMMY_MAIN
                   2595: #  ifdef __cplusplus
                   2596:      extern "C"
                   2597: #  endif
                   2598:    int F77_DUMMY_MAIN() { return 1; }
                   2599: #endif
                   2600: int
                   2601: main ()
                   2602: {
                   2603:
                   2604:   ;
                   2605:   return 0;
                   2606: }
                   2607: _ACEOF
                   2608: rm -f conftest.$ac_objext conftest$ac_exeext
                   2609: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2610:   (eval $ac_link) 2>&5
                   2611:   ac_status=$?
                   2612:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2613:   (exit $ac_status); } &&
                   2614:          { ac_try='test -s conftest$ac_exeext'
                   2615:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2616:   (eval $ac_try) 2>&5
                   2617:   ac_status=$?
                   2618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2619:   (exit $ac_status); }; }; then
1.1       ohara    2620:   ac_R_space=yes
                   2621: else
1.4       takayama 2622:   echo "$as_me: failed program was:" >&5
                   2623: cat conftest.$ac_ext >&5
                   2624: ac_R_space=no
1.1       ohara    2625: fi
1.4       takayama 2626: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2627:        if test $ac_R_space = yes; then
1.4       takayama 2628:          echo "$as_me:$LINENO: result: yes" >&5
                   2629: echo "${ECHO_T}yes" >&6
1.1       ohara    2630:          X_LIBS="$X_LIBS -R $x_libraries"
                   2631:        else
1.4       takayama 2632:          echo "$as_me:$LINENO: result: neither works" >&5
                   2633: echo "${ECHO_T}neither works" >&6
1.1       ohara    2634:        fi
                   2635:       fi
1.4       takayama 2636:       LIBS=$ac_xsave_LIBS
1.1       ohara    2637:     esac
                   2638:   fi
                   2639:
                   2640:   # Check for system-dependent libraries X programs must link with.
                   2641:   # Do this before checking for the system-independent R6 libraries
                   2642:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   2643:
                   2644:   if test "$ISC" = yes; then
                   2645:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   2646:   else
1.4       takayama 2647:     # Martyn Johnson says this is needed for Ultrix, if the X
                   2648:     # libraries were built with DECnet support.  And Karl Berry says
1.1       ohara    2649:     # the Alpha needs dnet_stub (dnet does not exist).
1.4       takayama 2650:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
                   2651:     cat >conftest.$ac_ext <<_ACEOF
                   2652: #line $LINENO "configure"
                   2653: #include "confdefs.h"
                   2654:
                   2655: /* Override any gcc2 internal prototype to avoid an error.  */
                   2656: #ifdef __cplusplus
                   2657: extern "C"
                   2658: #endif
                   2659: /* We use char because int might match the return type of a gcc2
                   2660:    builtin and then its argument prototype would still apply.  */
                   2661: char XOpenDisplay ();
                   2662: #ifdef F77_DUMMY_MAIN
                   2663: #  ifdef __cplusplus
                   2664:      extern "C"
                   2665: #  endif
                   2666:    int F77_DUMMY_MAIN() { return 1; }
                   2667: #endif
                   2668: int
                   2669: main ()
                   2670: {
                   2671: XOpenDisplay ();
                   2672:   ;
                   2673:   return 0;
                   2674: }
                   2675: _ACEOF
                   2676: rm -f conftest.$ac_objext conftest$ac_exeext
                   2677: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2678:   (eval $ac_link) 2>&5
                   2679:   ac_status=$?
                   2680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2681:   (exit $ac_status); } &&
                   2682:          { ac_try='test -s conftest$ac_exeext'
                   2683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2684:   (eval $ac_try) 2>&5
                   2685:   ac_status=$?
                   2686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2687:   (exit $ac_status); }; }; then
                   2688:   :
1.1       ohara    2689: else
1.4       takayama 2690:   echo "$as_me: failed program was:" >&5
                   2691: cat conftest.$ac_ext >&5
                   2692: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
                   2693: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
                   2694: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
                   2695:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2696: else
                   2697:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2698: LIBS="-ldnet  $LIBS"
1.4       takayama 2699: cat >conftest.$ac_ext <<_ACEOF
                   2700: #line $LINENO "configure"
1.1       ohara    2701: #include "confdefs.h"
1.4       takayama 2702:
1.1       ohara    2703: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2704: #ifdef __cplusplus
                   2705: extern "C"
                   2706: #endif
1.1       ohara    2707: /* We use char because int might match the return type of a gcc2
1.4       takayama 2708:    builtin and then its argument prototype would still apply.  */
                   2709: char dnet_ntoa ();
                   2710: #ifdef F77_DUMMY_MAIN
                   2711: #  ifdef __cplusplus
                   2712:      extern "C"
                   2713: #  endif
                   2714:    int F77_DUMMY_MAIN() { return 1; }
                   2715: #endif
                   2716: int
                   2717: main ()
                   2718: {
                   2719: dnet_ntoa ();
                   2720:   ;
                   2721:   return 0;
                   2722: }
                   2723: _ACEOF
                   2724: rm -f conftest.$ac_objext conftest$ac_exeext
                   2725: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2726:   (eval $ac_link) 2>&5
                   2727:   ac_status=$?
                   2728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2729:   (exit $ac_status); } &&
                   2730:          { ac_try='test -s conftest$ac_exeext'
                   2731:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2732:   (eval $ac_try) 2>&5
                   2733:   ac_status=$?
                   2734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2735:   (exit $ac_status); }; }; then
                   2736:   ac_cv_lib_dnet_dnet_ntoa=yes
                   2737: else
                   2738:   echo "$as_me: failed program was:" >&5
                   2739: cat conftest.$ac_ext >&5
                   2740: ac_cv_lib_dnet_dnet_ntoa=no
                   2741: fi
                   2742: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2743: LIBS=$ac_check_lib_save_LIBS
                   2744: fi
                   2745: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
                   2746: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
                   2747: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       ohara    2748:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   2749: fi
                   2750:
                   2751:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.4       takayama 2752:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
                   2753: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
                   2754: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
                   2755:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2756: else
1.4       takayama 2757:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2758: LIBS="-ldnet_stub  $LIBS"
1.4       takayama 2759: cat >conftest.$ac_ext <<_ACEOF
                   2760: #line $LINENO "configure"
1.1       ohara    2761: #include "confdefs.h"
1.4       takayama 2762:
1.1       ohara    2763: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2764: #ifdef __cplusplus
                   2765: extern "C"
                   2766: #endif
1.1       ohara    2767: /* We use char because int might match the return type of a gcc2
1.4       takayama 2768:    builtin and then its argument prototype would still apply.  */
                   2769: char dnet_ntoa ();
                   2770: #ifdef F77_DUMMY_MAIN
                   2771: #  ifdef __cplusplus
                   2772:      extern "C"
                   2773: #  endif
                   2774:    int F77_DUMMY_MAIN() { return 1; }
                   2775: #endif
                   2776: int
                   2777: main ()
                   2778: {
                   2779: dnet_ntoa ();
                   2780:   ;
                   2781:   return 0;
                   2782: }
                   2783: _ACEOF
                   2784: rm -f conftest.$ac_objext conftest$ac_exeext
                   2785: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2786:   (eval $ac_link) 2>&5
                   2787:   ac_status=$?
                   2788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2789:   (exit $ac_status); } &&
                   2790:          { ac_try='test -s conftest$ac_exeext'
                   2791:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2792:   (eval $ac_try) 2>&5
                   2793:   ac_status=$?
                   2794:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2795:   (exit $ac_status); }; }; then
                   2796:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
                   2797: else
                   2798:   echo "$as_me: failed program was:" >&5
                   2799: cat conftest.$ac_ext >&5
                   2800: ac_cv_lib_dnet_stub_dnet_ntoa=no
                   2801: fi
                   2802: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2803: LIBS=$ac_check_lib_save_LIBS
                   2804: fi
                   2805: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
                   2806: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
                   2807: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       ohara    2808:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   2809: fi
                   2810:
                   2811:     fi
1.4       takayama 2812: fi
                   2813: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2814:     LIBS="$ac_xsave_LIBS"
1.1       ohara    2815:
                   2816:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   2817:     # to get the SysV transport functions.
1.4       takayama 2818:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1       ohara    2819:     # needs -lnsl.
                   2820:     # The nsl library prevents programs from opening the X display
1.4       takayama 2821:     # on Irix 5.2, according to T.E. Dickey.
                   2822:     # The functions gethostbyname, getservbyname, and inet_addr are
                   2823:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
                   2824:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   2825: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   2826: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   2827:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2828: else
1.4       takayama 2829:   cat >conftest.$ac_ext <<_ACEOF
                   2830: #line $LINENO "configure"
1.1       ohara    2831: #include "confdefs.h"
                   2832: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 2833:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    2834: #include <assert.h>
                   2835: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2836: #ifdef __cplusplus
                   2837: extern "C"
                   2838: #endif
1.1       ohara    2839: /* We use char because int might match the return type of a gcc2
1.4       takayama 2840:    builtin and then its argument prototype would still apply.  */
                   2841: char gethostbyname ();
                   2842: char (*f) ();
                   2843:
                   2844: #ifdef F77_DUMMY_MAIN
                   2845: #  ifdef __cplusplus
                   2846:      extern "C"
                   2847: #  endif
                   2848:    int F77_DUMMY_MAIN() { return 1; }
                   2849: #endif
                   2850: int
                   2851: main ()
                   2852: {
1.1       ohara    2853: /* The GNU C library defines this for functions which it implements
                   2854:     to always fail with ENOSYS.  Some functions are actually named
                   2855:     something starting with __ and the normal name is an alias.  */
                   2856: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   2857: choke me
                   2858: #else
1.4       takayama 2859: f = gethostbyname;
1.1       ohara    2860: #endif
                   2861:
1.4       takayama 2862:   ;
                   2863:   return 0;
                   2864: }
                   2865: _ACEOF
                   2866: rm -f conftest.$ac_objext conftest$ac_exeext
                   2867: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2868:   (eval $ac_link) 2>&5
                   2869:   ac_status=$?
                   2870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2871:   (exit $ac_status); } &&
                   2872:          { ac_try='test -s conftest$ac_exeext'
                   2873:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2874:   (eval $ac_try) 2>&5
                   2875:   ac_status=$?
                   2876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2877:   (exit $ac_status); }; }; then
                   2878:   ac_cv_func_gethostbyname=yes
                   2879: else
                   2880:   echo "$as_me: failed program was:" >&5
                   2881: cat conftest.$ac_ext >&5
                   2882: ac_cv_func_gethostbyname=no
1.1       ohara    2883: fi
1.4       takayama 2884: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2885: fi
1.4       takayama 2886: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   2887: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1.1       ohara    2888:
                   2889:     if test $ac_cv_func_gethostbyname = no; then
1.4       takayama 2890:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   2891: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   2892: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   2893:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2894: else
1.4       takayama 2895:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2896: LIBS="-lnsl  $LIBS"
1.4       takayama 2897: cat >conftest.$ac_ext <<_ACEOF
                   2898: #line $LINENO "configure"
1.1       ohara    2899: #include "confdefs.h"
1.4       takayama 2900:
1.1       ohara    2901: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 2902: #ifdef __cplusplus
                   2903: extern "C"
                   2904: #endif
1.1       ohara    2905: /* We use char because int might match the return type of a gcc2
1.4       takayama 2906:    builtin and then its argument prototype would still apply.  */
                   2907: char gethostbyname ();
                   2908: #ifdef F77_DUMMY_MAIN
                   2909: #  ifdef __cplusplus
                   2910:      extern "C"
                   2911: #  endif
                   2912:    int F77_DUMMY_MAIN() { return 1; }
                   2913: #endif
                   2914: int
                   2915: main ()
                   2916: {
                   2917: gethostbyname ();
                   2918:   ;
                   2919:   return 0;
                   2920: }
                   2921: _ACEOF
                   2922: rm -f conftest.$ac_objext conftest$ac_exeext
                   2923: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2924:   (eval $ac_link) 2>&5
                   2925:   ac_status=$?
                   2926:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2927:   (exit $ac_status); } &&
                   2928:          { ac_try='test -s conftest$ac_exeext'
                   2929:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2930:   (eval $ac_try) 2>&5
                   2931:   ac_status=$?
                   2932:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2933:   (exit $ac_status); }; }; then
                   2934:   ac_cv_lib_nsl_gethostbyname=yes
                   2935: else
                   2936:   echo "$as_me: failed program was:" >&5
                   2937: cat conftest.$ac_ext >&5
                   2938: ac_cv_lib_nsl_gethostbyname=no
                   2939: fi
                   2940: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   2941: LIBS=$ac_check_lib_save_LIBS
                   2942: fi
                   2943: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   2944: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   2945: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   2946:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
                   2947: fi
1.1       ohara    2948:
1.4       takayama 2949:       if test $ac_cv_lib_nsl_gethostbyname = no; then
                   2950:         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
                   2951: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
                   2952: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
                   2953:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2954: else
                   2955:   ac_check_lib_save_LIBS=$LIBS
                   2956: LIBS="-lbsd  $LIBS"
                   2957: cat >conftest.$ac_ext <<_ACEOF
                   2958: #line $LINENO "configure"
                   2959: #include "confdefs.h"
1.1       ohara    2960:
1.4       takayama 2961: /* Override any gcc2 internal prototype to avoid an error.  */
                   2962: #ifdef __cplusplus
                   2963: extern "C"
                   2964: #endif
                   2965: /* We use char because int might match the return type of a gcc2
                   2966:    builtin and then its argument prototype would still apply.  */
                   2967: char gethostbyname ();
                   2968: #ifdef F77_DUMMY_MAIN
                   2969: #  ifdef __cplusplus
                   2970:      extern "C"
                   2971: #  endif
                   2972:    int F77_DUMMY_MAIN() { return 1; }
                   2973: #endif
                   2974: int
                   2975: main ()
                   2976: {
                   2977: gethostbyname ();
                   2978:   ;
                   2979:   return 0;
                   2980: }
                   2981: _ACEOF
                   2982: rm -f conftest.$ac_objext conftest$ac_exeext
                   2983: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2984:   (eval $ac_link) 2>&5
                   2985:   ac_status=$?
                   2986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2987:   (exit $ac_status); } &&
                   2988:          { ac_try='test -s conftest$ac_exeext'
                   2989:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2990:   (eval $ac_try) 2>&5
                   2991:   ac_status=$?
                   2992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2993:   (exit $ac_status); }; }; then
                   2994:   ac_cv_lib_bsd_gethostbyname=yes
                   2995: else
                   2996:   echo "$as_me: failed program was:" >&5
                   2997: cat conftest.$ac_ext >&5
                   2998: ac_cv_lib_bsd_gethostbyname=no
                   2999: fi
                   3000: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3001: LIBS=$ac_check_lib_save_LIBS
                   3002: fi
                   3003: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
                   3004: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
                   3005: if test $ac_cv_lib_bsd_gethostbyname = yes; then
                   3006:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       ohara    3007: fi
                   3008:
1.4       takayama 3009:       fi
1.1       ohara    3010:     fi
                   3011:
                   3012:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   3013:     # socket/setsockopt and other routines are undefined under SCO ODT
                   3014:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.4       takayama 3015:     # on later versions), says Simon Leinen: it contains gethostby*
                   3016:     # variants that don't use the nameserver (or something).  -lsocket
                   3017:     # must be given before -lnsl if both are needed.  We assume that
                   3018:     # if connect needs -lnsl, so does gethostbyname.
                   3019:     echo "$as_me:$LINENO: checking for connect" >&5
                   3020: echo $ECHO_N "checking for connect... $ECHO_C" >&6
                   3021: if test "${ac_cv_func_connect+set}" = set; then
                   3022:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3023: else
1.4       takayama 3024:   cat >conftest.$ac_ext <<_ACEOF
                   3025: #line $LINENO "configure"
1.1       ohara    3026: #include "confdefs.h"
                   3027: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3028:     which can conflict with char connect (); below.  */
1.1       ohara    3029: #include <assert.h>
                   3030: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3031: #ifdef __cplusplus
                   3032: extern "C"
                   3033: #endif
1.1       ohara    3034: /* We use char because int might match the return type of a gcc2
1.4       takayama 3035:    builtin and then its argument prototype would still apply.  */
                   3036: char connect ();
                   3037: char (*f) ();
                   3038:
                   3039: #ifdef F77_DUMMY_MAIN
                   3040: #  ifdef __cplusplus
                   3041:      extern "C"
                   3042: #  endif
                   3043:    int F77_DUMMY_MAIN() { return 1; }
                   3044: #endif
                   3045: int
                   3046: main ()
                   3047: {
1.1       ohara    3048: /* The GNU C library defines this for functions which it implements
                   3049:     to always fail with ENOSYS.  Some functions are actually named
                   3050:     something starting with __ and the normal name is an alias.  */
                   3051: #if defined (__stub_connect) || defined (__stub___connect)
                   3052: choke me
                   3053: #else
1.4       takayama 3054: f = connect;
1.1       ohara    3055: #endif
                   3056:
1.4       takayama 3057:   ;
                   3058:   return 0;
                   3059: }
                   3060: _ACEOF
                   3061: rm -f conftest.$ac_objext conftest$ac_exeext
                   3062: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3063:   (eval $ac_link) 2>&5
                   3064:   ac_status=$?
                   3065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3066:   (exit $ac_status); } &&
                   3067:          { ac_try='test -s conftest$ac_exeext'
                   3068:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3069:   (eval $ac_try) 2>&5
                   3070:   ac_status=$?
                   3071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3072:   (exit $ac_status); }; }; then
                   3073:   ac_cv_func_connect=yes
                   3074: else
                   3075:   echo "$as_me: failed program was:" >&5
                   3076: cat conftest.$ac_ext >&5
                   3077: ac_cv_func_connect=no
1.1       ohara    3078: fi
1.4       takayama 3079: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3080: fi
1.4       takayama 3081: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
                   3082: echo "${ECHO_T}$ac_cv_func_connect" >&6
1.1       ohara    3083:
                   3084:     if test $ac_cv_func_connect = no; then
1.4       takayama 3085:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
                   3086: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
                   3087: if test "${ac_cv_lib_socket_connect+set}" = set; then
                   3088:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3089: else
1.4       takayama 3090:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3091: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.4       takayama 3092: cat >conftest.$ac_ext <<_ACEOF
                   3093: #line $LINENO "configure"
1.1       ohara    3094: #include "confdefs.h"
1.4       takayama 3095:
1.1       ohara    3096: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3097: #ifdef __cplusplus
                   3098: extern "C"
                   3099: #endif
1.1       ohara    3100: /* We use char because int might match the return type of a gcc2
1.4       takayama 3101:    builtin and then its argument prototype would still apply.  */
                   3102: char connect ();
                   3103: #ifdef F77_DUMMY_MAIN
                   3104: #  ifdef __cplusplus
                   3105:      extern "C"
                   3106: #  endif
                   3107:    int F77_DUMMY_MAIN() { return 1; }
                   3108: #endif
                   3109: int
                   3110: main ()
                   3111: {
                   3112: connect ();
                   3113:   ;
                   3114:   return 0;
                   3115: }
                   3116: _ACEOF
                   3117: rm -f conftest.$ac_objext conftest$ac_exeext
                   3118: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3119:   (eval $ac_link) 2>&5
                   3120:   ac_status=$?
                   3121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3122:   (exit $ac_status); } &&
                   3123:          { ac_try='test -s conftest$ac_exeext'
                   3124:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3125:   (eval $ac_try) 2>&5
                   3126:   ac_status=$?
                   3127:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3128:   (exit $ac_status); }; }; then
                   3129:   ac_cv_lib_socket_connect=yes
                   3130: else
                   3131:   echo "$as_me: failed program was:" >&5
                   3132: cat conftest.$ac_ext >&5
                   3133: ac_cv_lib_socket_connect=no
                   3134: fi
                   3135: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3136: LIBS=$ac_check_lib_save_LIBS
                   3137: fi
                   3138: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
                   3139: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
                   3140: if test $ac_cv_lib_socket_connect = yes; then
1.1       ohara    3141:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   3142: fi
                   3143:
                   3144:     fi
                   3145:
1.4       takayama 3146:     # Guillermo Gomez says -lposix is necessary on A/UX.
                   3147:     echo "$as_me:$LINENO: checking for remove" >&5
                   3148: echo $ECHO_N "checking for remove... $ECHO_C" >&6
                   3149: if test "${ac_cv_func_remove+set}" = set; then
                   3150:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3151: else
1.4       takayama 3152:   cat >conftest.$ac_ext <<_ACEOF
                   3153: #line $LINENO "configure"
1.1       ohara    3154: #include "confdefs.h"
                   3155: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3156:     which can conflict with char remove (); below.  */
1.1       ohara    3157: #include <assert.h>
                   3158: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3159: #ifdef __cplusplus
                   3160: extern "C"
                   3161: #endif
1.1       ohara    3162: /* We use char because int might match the return type of a gcc2
1.4       takayama 3163:    builtin and then its argument prototype would still apply.  */
                   3164: char remove ();
                   3165: char (*f) ();
                   3166:
                   3167: #ifdef F77_DUMMY_MAIN
                   3168: #  ifdef __cplusplus
                   3169:      extern "C"
                   3170: #  endif
                   3171:    int F77_DUMMY_MAIN() { return 1; }
                   3172: #endif
                   3173: int
                   3174: main ()
                   3175: {
1.1       ohara    3176: /* The GNU C library defines this for functions which it implements
                   3177:     to always fail with ENOSYS.  Some functions are actually named
                   3178:     something starting with __ and the normal name is an alias.  */
                   3179: #if defined (__stub_remove) || defined (__stub___remove)
                   3180: choke me
                   3181: #else
1.4       takayama 3182: f = remove;
1.1       ohara    3183: #endif
                   3184:
1.4       takayama 3185:   ;
                   3186:   return 0;
                   3187: }
                   3188: _ACEOF
                   3189: rm -f conftest.$ac_objext conftest$ac_exeext
                   3190: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3191:   (eval $ac_link) 2>&5
                   3192:   ac_status=$?
                   3193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3194:   (exit $ac_status); } &&
                   3195:          { ac_try='test -s conftest$ac_exeext'
                   3196:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3197:   (eval $ac_try) 2>&5
                   3198:   ac_status=$?
                   3199:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3200:   (exit $ac_status); }; }; then
                   3201:   ac_cv_func_remove=yes
                   3202: else
                   3203:   echo "$as_me: failed program was:" >&5
                   3204: cat conftest.$ac_ext >&5
                   3205: ac_cv_func_remove=no
1.1       ohara    3206: fi
1.4       takayama 3207: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3208: fi
1.4       takayama 3209: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
                   3210: echo "${ECHO_T}$ac_cv_func_remove" >&6
1.1       ohara    3211:
                   3212:     if test $ac_cv_func_remove = no; then
1.4       takayama 3213:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
                   3214: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
                   3215: if test "${ac_cv_lib_posix_remove+set}" = set; then
                   3216:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3217: else
1.4       takayama 3218:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3219: LIBS="-lposix  $LIBS"
1.4       takayama 3220: cat >conftest.$ac_ext <<_ACEOF
                   3221: #line $LINENO "configure"
1.1       ohara    3222: #include "confdefs.h"
1.4       takayama 3223:
1.1       ohara    3224: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3225: #ifdef __cplusplus
                   3226: extern "C"
                   3227: #endif
1.1       ohara    3228: /* We use char because int might match the return type of a gcc2
1.4       takayama 3229:    builtin and then its argument prototype would still apply.  */
                   3230: char remove ();
                   3231: #ifdef F77_DUMMY_MAIN
                   3232: #  ifdef __cplusplus
                   3233:      extern "C"
                   3234: #  endif
                   3235:    int F77_DUMMY_MAIN() { return 1; }
                   3236: #endif
                   3237: int
                   3238: main ()
                   3239: {
                   3240: remove ();
                   3241:   ;
                   3242:   return 0;
                   3243: }
                   3244: _ACEOF
                   3245: rm -f conftest.$ac_objext conftest$ac_exeext
                   3246: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3247:   (eval $ac_link) 2>&5
                   3248:   ac_status=$?
                   3249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3250:   (exit $ac_status); } &&
                   3251:          { ac_try='test -s conftest$ac_exeext'
                   3252:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3253:   (eval $ac_try) 2>&5
                   3254:   ac_status=$?
                   3255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3256:   (exit $ac_status); }; }; then
                   3257:   ac_cv_lib_posix_remove=yes
                   3258: else
                   3259:   echo "$as_me: failed program was:" >&5
                   3260: cat conftest.$ac_ext >&5
                   3261: ac_cv_lib_posix_remove=no
                   3262: fi
                   3263: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3264: LIBS=$ac_check_lib_save_LIBS
                   3265: fi
                   3266: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
                   3267: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
                   3268: if test $ac_cv_lib_posix_remove = yes; then
1.1       ohara    3269:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   3270: fi
                   3271:
                   3272:     fi
                   3273:
                   3274:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.4       takayama 3275:     echo "$as_me:$LINENO: checking for shmat" >&5
                   3276: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
                   3277: if test "${ac_cv_func_shmat+set}" = set; then
                   3278:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3279: else
1.4       takayama 3280:   cat >conftest.$ac_ext <<_ACEOF
                   3281: #line $LINENO "configure"
1.1       ohara    3282: #include "confdefs.h"
                   3283: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3284:     which can conflict with char shmat (); below.  */
1.1       ohara    3285: #include <assert.h>
                   3286: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3287: #ifdef __cplusplus
                   3288: extern "C"
                   3289: #endif
1.1       ohara    3290: /* We use char because int might match the return type of a gcc2
1.4       takayama 3291:    builtin and then its argument prototype would still apply.  */
                   3292: char shmat ();
                   3293: char (*f) ();
                   3294:
                   3295: #ifdef F77_DUMMY_MAIN
                   3296: #  ifdef __cplusplus
                   3297:      extern "C"
                   3298: #  endif
                   3299:    int F77_DUMMY_MAIN() { return 1; }
                   3300: #endif
                   3301: int
                   3302: main ()
                   3303: {
1.1       ohara    3304: /* The GNU C library defines this for functions which it implements
                   3305:     to always fail with ENOSYS.  Some functions are actually named
                   3306:     something starting with __ and the normal name is an alias.  */
                   3307: #if defined (__stub_shmat) || defined (__stub___shmat)
                   3308: choke me
                   3309: #else
1.4       takayama 3310: f = shmat;
1.1       ohara    3311: #endif
                   3312:
1.4       takayama 3313:   ;
                   3314:   return 0;
                   3315: }
                   3316: _ACEOF
                   3317: rm -f conftest.$ac_objext conftest$ac_exeext
                   3318: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3319:   (eval $ac_link) 2>&5
                   3320:   ac_status=$?
                   3321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3322:   (exit $ac_status); } &&
                   3323:          { ac_try='test -s conftest$ac_exeext'
                   3324:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3325:   (eval $ac_try) 2>&5
                   3326:   ac_status=$?
                   3327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3328:   (exit $ac_status); }; }; then
                   3329:   ac_cv_func_shmat=yes
                   3330: else
                   3331:   echo "$as_me: failed program was:" >&5
                   3332: cat conftest.$ac_ext >&5
                   3333: ac_cv_func_shmat=no
1.1       ohara    3334: fi
1.4       takayama 3335: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3336: fi
1.4       takayama 3337: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
                   3338: echo "${ECHO_T}$ac_cv_func_shmat" >&6
1.1       ohara    3339:
                   3340:     if test $ac_cv_func_shmat = no; then
1.4       takayama 3341:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
                   3342: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
                   3343: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
                   3344:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3345: else
1.4       takayama 3346:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3347: LIBS="-lipc  $LIBS"
1.4       takayama 3348: cat >conftest.$ac_ext <<_ACEOF
                   3349: #line $LINENO "configure"
1.1       ohara    3350: #include "confdefs.h"
1.4       takayama 3351:
1.1       ohara    3352: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3353: #ifdef __cplusplus
                   3354: extern "C"
                   3355: #endif
1.1       ohara    3356: /* We use char because int might match the return type of a gcc2
1.4       takayama 3357:    builtin and then its argument prototype would still apply.  */
                   3358: char shmat ();
                   3359: #ifdef F77_DUMMY_MAIN
                   3360: #  ifdef __cplusplus
                   3361:      extern "C"
                   3362: #  endif
                   3363:    int F77_DUMMY_MAIN() { return 1; }
                   3364: #endif
                   3365: int
                   3366: main ()
                   3367: {
                   3368: shmat ();
                   3369:   ;
                   3370:   return 0;
                   3371: }
                   3372: _ACEOF
                   3373: rm -f conftest.$ac_objext conftest$ac_exeext
                   3374: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3375:   (eval $ac_link) 2>&5
                   3376:   ac_status=$?
                   3377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3378:   (exit $ac_status); } &&
                   3379:          { ac_try='test -s conftest$ac_exeext'
                   3380:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3381:   (eval $ac_try) 2>&5
                   3382:   ac_status=$?
                   3383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3384:   (exit $ac_status); }; }; then
                   3385:   ac_cv_lib_ipc_shmat=yes
                   3386: else
                   3387:   echo "$as_me: failed program was:" >&5
                   3388: cat conftest.$ac_ext >&5
                   3389: ac_cv_lib_ipc_shmat=no
                   3390: fi
                   3391: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3392: LIBS=$ac_check_lib_save_LIBS
                   3393: fi
                   3394: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
                   3395: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
                   3396: if test $ac_cv_lib_ipc_shmat = yes; then
1.1       ohara    3397:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   3398: fi
                   3399:
                   3400:     fi
                   3401:   fi
                   3402:
                   3403:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.4       takayama 3404:   ac_save_LDFLAGS=$LDFLAGS
1.1       ohara    3405:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   3406:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   3407:   # check for ICE first), but we must link in the order -lSM -lICE or
                   3408:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   3409:   # These have to be linked with before -lX11, unlike the other
                   3410:   # libraries we check for below, so use a different variable.
1.4       takayama 3411:   # John Interrante, Karl Berry
                   3412:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
                   3413: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
                   3414: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
                   3415:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3416: else
1.4       takayama 3417:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3418: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.4       takayama 3419: cat >conftest.$ac_ext <<_ACEOF
                   3420: #line $LINENO "configure"
1.1       ohara    3421: #include "confdefs.h"
1.4       takayama 3422:
1.1       ohara    3423: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3424: #ifdef __cplusplus
                   3425: extern "C"
                   3426: #endif
1.1       ohara    3427: /* We use char because int might match the return type of a gcc2
1.4       takayama 3428:    builtin and then its argument prototype would still apply.  */
                   3429: char IceConnectionNumber ();
                   3430: #ifdef F77_DUMMY_MAIN
                   3431: #  ifdef __cplusplus
                   3432:      extern "C"
                   3433: #  endif
                   3434:    int F77_DUMMY_MAIN() { return 1; }
                   3435: #endif
                   3436: int
                   3437: main ()
                   3438: {
                   3439: IceConnectionNumber ();
                   3440:   ;
                   3441:   return 0;
                   3442: }
                   3443: _ACEOF
                   3444: rm -f conftest.$ac_objext conftest$ac_exeext
                   3445: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3446:   (eval $ac_link) 2>&5
                   3447:   ac_status=$?
                   3448:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3449:   (exit $ac_status); } &&
                   3450:          { ac_try='test -s conftest$ac_exeext'
                   3451:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3452:   (eval $ac_try) 2>&5
                   3453:   ac_status=$?
                   3454:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3455:   (exit $ac_status); }; }; then
                   3456:   ac_cv_lib_ICE_IceConnectionNumber=yes
                   3457: else
                   3458:   echo "$as_me: failed program was:" >&5
                   3459: cat conftest.$ac_ext >&5
                   3460: ac_cv_lib_ICE_IceConnectionNumber=no
                   3461: fi
                   3462: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3463: LIBS=$ac_check_lib_save_LIBS
                   3464: fi
                   3465: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
                   3466: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
                   3467: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1       ohara    3468:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   3469: fi
                   3470:
1.4       takayama 3471:   LDFLAGS=$ac_save_LDFLAGS
1.1       ohara    3472:
                   3473: fi
                   3474:
                   3475:
1.4       takayama 3476:
1.2       ohara    3477: # Check whether --with-gmp or --without-gmp was given.
                   3478: if test "${with_gmp+set}" = set; then
                   3479:   withval="$with_gmp"
                   3480:   with_gmp=yes
                   3481: else
                   3482:   with_gmp=no
1.4       takayama 3483: fi;
1.2       ohara    3484:
                   3485: if test ${with_gmp:=no} != no ; then
1.4       takayama 3486:     cat >>confdefs.h <<\_ACEOF
1.2       ohara    3487: #define WITH_GMP 1
1.4       takayama 3488: _ACEOF
1.2       ohara    3489:
                   3490:     GMPLIB="-lgmp"
1.3       ohara    3491:     USE_GMP='#'
1.2       ohara    3492: fi
                   3493:
                   3494:
1.3       ohara    3495:
1.5     ! ohara    3496: case "${host}" in
        !          3497: i[3-6]86-*-interix*)
        !          3498:     cat >>confdefs.h <<\_ACEOF
        !          3499: #define _ALL_SOURCE 1
        !          3500: _ACEOF
        !          3501:
        !          3502:     ;;
        !          3503: *)
        !          3504:     ;;
        !          3505: esac
        !          3506:
1.4       takayama 3507: echo "$as_me:$LINENO: checking for socket" >&5
                   3508: echo $ECHO_N "checking for socket... $ECHO_C" >&6
                   3509: if test "${ac_cv_func_socket+set}" = set; then
                   3510:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3511: else
1.4       takayama 3512:   cat >conftest.$ac_ext <<_ACEOF
                   3513: #line $LINENO "configure"
1.1       ohara    3514: #include "confdefs.h"
                   3515: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3516:     which can conflict with char socket (); below.  */
1.1       ohara    3517: #include <assert.h>
                   3518: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3519: #ifdef __cplusplus
                   3520: extern "C"
                   3521: #endif
1.1       ohara    3522: /* We use char because int might match the return type of a gcc2
1.4       takayama 3523:    builtin and then its argument prototype would still apply.  */
                   3524: char socket ();
                   3525: char (*f) ();
                   3526:
                   3527: #ifdef F77_DUMMY_MAIN
                   3528: #  ifdef __cplusplus
                   3529:      extern "C"
                   3530: #  endif
                   3531:    int F77_DUMMY_MAIN() { return 1; }
                   3532: #endif
                   3533: int
                   3534: main ()
                   3535: {
1.1       ohara    3536: /* The GNU C library defines this for functions which it implements
                   3537:     to always fail with ENOSYS.  Some functions are actually named
                   3538:     something starting with __ and the normal name is an alias.  */
                   3539: #if defined (__stub_socket) || defined (__stub___socket)
                   3540: choke me
                   3541: #else
1.4       takayama 3542: f = socket;
1.1       ohara    3543: #endif
                   3544:
1.4       takayama 3545:   ;
                   3546:   return 0;
                   3547: }
                   3548: _ACEOF
                   3549: rm -f conftest.$ac_objext conftest$ac_exeext
                   3550: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3551:   (eval $ac_link) 2>&5
                   3552:   ac_status=$?
                   3553:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3554:   (exit $ac_status); } &&
                   3555:          { ac_try='test -s conftest$ac_exeext'
                   3556:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3557:   (eval $ac_try) 2>&5
                   3558:   ac_status=$?
                   3559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3560:   (exit $ac_status); }; }; then
                   3561:   ac_cv_func_socket=yes
                   3562: else
                   3563:   echo "$as_me: failed program was:" >&5
                   3564: cat conftest.$ac_ext >&5
                   3565: ac_cv_func_socket=no
                   3566: fi
                   3567: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3568: fi
                   3569: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
                   3570: echo "${ECHO_T}$ac_cv_func_socket" >&6
                   3571: if test $ac_cv_func_socket = yes; then
                   3572:   :
1.1       ohara    3573: else
                   3574:
1.4       takayama 3575: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   3576: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   3577: if test "${ac_cv_lib_socket_socket+set}" = set; then
                   3578:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3579: else
1.4       takayama 3580:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3581: LIBS="-lsocket  $LIBS"
1.4       takayama 3582: cat >conftest.$ac_ext <<_ACEOF
                   3583: #line $LINENO "configure"
1.1       ohara    3584: #include "confdefs.h"
1.4       takayama 3585:
1.1       ohara    3586: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3587: #ifdef __cplusplus
                   3588: extern "C"
                   3589: #endif
1.1       ohara    3590: /* We use char because int might match the return type of a gcc2
1.4       takayama 3591:    builtin and then its argument prototype would still apply.  */
                   3592: char socket ();
                   3593: #ifdef F77_DUMMY_MAIN
                   3594: #  ifdef __cplusplus
                   3595:      extern "C"
                   3596: #  endif
                   3597:    int F77_DUMMY_MAIN() { return 1; }
                   3598: #endif
                   3599: int
                   3600: main ()
                   3601: {
                   3602: socket ();
                   3603:   ;
                   3604:   return 0;
                   3605: }
                   3606: _ACEOF
                   3607: rm -f conftest.$ac_objext conftest$ac_exeext
                   3608: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3609:   (eval $ac_link) 2>&5
                   3610:   ac_status=$?
                   3611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3612:   (exit $ac_status); } &&
                   3613:          { ac_try='test -s conftest$ac_exeext'
                   3614:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3615:   (eval $ac_try) 2>&5
                   3616:   ac_status=$?
                   3617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3618:   (exit $ac_status); }; }; then
                   3619:   ac_cv_lib_socket_socket=yes
                   3620: else
                   3621:   echo "$as_me: failed program was:" >&5
                   3622: cat conftest.$ac_ext >&5
                   3623: ac_cv_lib_socket_socket=no
                   3624: fi
                   3625: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3626: LIBS=$ac_check_lib_save_LIBS
                   3627: fi
                   3628: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   3629: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   3630: if test $ac_cv_lib_socket_socket = yes; then
                   3631:   cat >>confdefs.h <<_ACEOF
                   3632: #define HAVE_LIBSOCKET 1
                   3633: _ACEOF
1.1       ohara    3634:
                   3635:   LIBS="-lsocket $LIBS"
                   3636:
                   3637: fi
                   3638:
                   3639: fi
1.2       ohara    3640:
1.4       takayama 3641: echo "$as_me:$LINENO: checking for gethostbyname" >&5
                   3642: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
                   3643: if test "${ac_cv_func_gethostbyname+set}" = set; then
                   3644:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3645: else
1.4       takayama 3646:   cat >conftest.$ac_ext <<_ACEOF
                   3647: #line $LINENO "configure"
1.1       ohara    3648: #include "confdefs.h"
                   3649: /* System header to define __stub macros and hopefully few prototypes,
1.4       takayama 3650:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    3651: #include <assert.h>
                   3652: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3653: #ifdef __cplusplus
                   3654: extern "C"
                   3655: #endif
1.1       ohara    3656: /* We use char because int might match the return type of a gcc2
1.4       takayama 3657:    builtin and then its argument prototype would still apply.  */
                   3658: char gethostbyname ();
                   3659: char (*f) ();
                   3660:
                   3661: #ifdef F77_DUMMY_MAIN
                   3662: #  ifdef __cplusplus
                   3663:      extern "C"
                   3664: #  endif
                   3665:    int F77_DUMMY_MAIN() { return 1; }
                   3666: #endif
                   3667: int
                   3668: main ()
                   3669: {
1.1       ohara    3670: /* The GNU C library defines this for functions which it implements
                   3671:     to always fail with ENOSYS.  Some functions are actually named
                   3672:     something starting with __ and the normal name is an alias.  */
                   3673: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   3674: choke me
                   3675: #else
1.4       takayama 3676: f = gethostbyname;
1.1       ohara    3677: #endif
                   3678:
1.4       takayama 3679:   ;
                   3680:   return 0;
                   3681: }
                   3682: _ACEOF
                   3683: rm -f conftest.$ac_objext conftest$ac_exeext
                   3684: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3685:   (eval $ac_link) 2>&5
                   3686:   ac_status=$?
                   3687:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3688:   (exit $ac_status); } &&
                   3689:          { ac_try='test -s conftest$ac_exeext'
                   3690:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3691:   (eval $ac_try) 2>&5
                   3692:   ac_status=$?
                   3693:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3694:   (exit $ac_status); }; }; then
                   3695:   ac_cv_func_gethostbyname=yes
                   3696: else
                   3697:   echo "$as_me: failed program was:" >&5
                   3698: cat conftest.$ac_ext >&5
                   3699: ac_cv_func_gethostbyname=no
                   3700: fi
                   3701: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3702: fi
                   3703: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
                   3704: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
                   3705: if test $ac_cv_func_gethostbyname = yes; then
                   3706:   :
1.1       ohara    3707: else
                   3708:
1.4       takayama 3709: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   3710: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   3711: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
                   3712:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3713: else
1.4       takayama 3714:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3715: LIBS="-lnsl  $LIBS"
1.4       takayama 3716: cat >conftest.$ac_ext <<_ACEOF
                   3717: #line $LINENO "configure"
1.1       ohara    3718: #include "confdefs.h"
1.4       takayama 3719:
1.1       ohara    3720: /* Override any gcc2 internal prototype to avoid an error.  */
1.4       takayama 3721: #ifdef __cplusplus
                   3722: extern "C"
                   3723: #endif
1.1       ohara    3724: /* We use char because int might match the return type of a gcc2
1.4       takayama 3725:    builtin and then its argument prototype would still apply.  */
                   3726: char gethostbyname ();
                   3727: #ifdef F77_DUMMY_MAIN
                   3728: #  ifdef __cplusplus
                   3729:      extern "C"
                   3730: #  endif
                   3731:    int F77_DUMMY_MAIN() { return 1; }
                   3732: #endif
                   3733: int
                   3734: main ()
                   3735: {
                   3736: gethostbyname ();
                   3737:   ;
                   3738:   return 0;
                   3739: }
                   3740: _ACEOF
                   3741: rm -f conftest.$ac_objext conftest$ac_exeext
                   3742: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3743:   (eval $ac_link) 2>&5
                   3744:   ac_status=$?
                   3745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3746:   (exit $ac_status); } &&
                   3747:          { ac_try='test -s conftest$ac_exeext'
                   3748:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3749:   (eval $ac_try) 2>&5
                   3750:   ac_status=$?
                   3751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3752:   (exit $ac_status); }; }; then
                   3753:   ac_cv_lib_nsl_gethostbyname=yes
                   3754: else
                   3755:   echo "$as_me: failed program was:" >&5
                   3756: cat conftest.$ac_ext >&5
                   3757: ac_cv_lib_nsl_gethostbyname=no
                   3758: fi
                   3759: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3760: LIBS=$ac_check_lib_save_LIBS
                   3761: fi
                   3762: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   3763: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   3764: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   3765:   cat >>confdefs.h <<_ACEOF
                   3766: #define HAVE_LIBNSL 1
                   3767: _ACEOF
                   3768:
                   3769:   LIBS="-lnsl $LIBS"
1.1       ohara    3770:
                   3771: fi
                   3772:
                   3773: fi
                   3774:
1.4       takayama 3775: echo "$as_me:$LINENO: checking for dlopen" >&5
                   3776: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   3777: if test "${ac_cv_func_dlopen+set}" = set; then
                   3778:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3779: else
                   3780:   cat >conftest.$ac_ext <<_ACEOF
                   3781: #line $LINENO "configure"
                   3782: #include "confdefs.h"
                   3783: /* System header to define __stub macros and hopefully few prototypes,
                   3784:     which can conflict with char dlopen (); below.  */
                   3785: #include <assert.h>
                   3786: /* Override any gcc2 internal prototype to avoid an error.  */
                   3787: #ifdef __cplusplus
                   3788: extern "C"
                   3789: #endif
                   3790: /* We use char because int might match the return type of a gcc2
                   3791:    builtin and then its argument prototype would still apply.  */
                   3792: char dlopen ();
                   3793: char (*f) ();
                   3794:
                   3795: #ifdef F77_DUMMY_MAIN
                   3796: #  ifdef __cplusplus
                   3797:      extern "C"
                   3798: #  endif
                   3799:    int F77_DUMMY_MAIN() { return 1; }
                   3800: #endif
                   3801: int
                   3802: main ()
                   3803: {
                   3804: /* The GNU C library defines this for functions which it implements
                   3805:     to always fail with ENOSYS.  Some functions are actually named
                   3806:     something starting with __ and the normal name is an alias.  */
                   3807: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   3808: choke me
                   3809: #else
                   3810: f = dlopen;
                   3811: #endif
1.1       ohara    3812:
1.4       takayama 3813:   ;
                   3814:   return 0;
                   3815: }
                   3816: _ACEOF
                   3817: rm -f conftest.$ac_objext conftest$ac_exeext
                   3818: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3819:   (eval $ac_link) 2>&5
                   3820:   ac_status=$?
                   3821:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3822:   (exit $ac_status); } &&
                   3823:          { ac_try='test -s conftest$ac_exeext'
                   3824:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3825:   (eval $ac_try) 2>&5
                   3826:   ac_status=$?
                   3827:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3828:   (exit $ac_status); }; }; then
                   3829:   ac_cv_func_dlopen=yes
                   3830: else
                   3831:   echo "$as_me: failed program was:" >&5
                   3832: cat conftest.$ac_ext >&5
                   3833: ac_cv_func_dlopen=no
                   3834: fi
                   3835: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3836: fi
                   3837: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   3838: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   3839: if test $ac_cv_func_dlopen = yes; then
                   3840:   :
1.1       ohara    3841: else
1.4       takayama 3842:
                   3843: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   3844: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   3845: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   3846:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3847: else
                   3848:   ac_check_lib_save_LIBS=$LIBS
                   3849: LIBS="-ldl  $LIBS"
                   3850: cat >conftest.$ac_ext <<_ACEOF
                   3851: #line $LINENO "configure"
                   3852: #include "confdefs.h"
                   3853:
                   3854: /* Override any gcc2 internal prototype to avoid an error.  */
                   3855: #ifdef __cplusplus
                   3856: extern "C"
                   3857: #endif
                   3858: /* We use char because int might match the return type of a gcc2
                   3859:    builtin and then its argument prototype would still apply.  */
                   3860: char dlopen ();
                   3861: #ifdef F77_DUMMY_MAIN
                   3862: #  ifdef __cplusplus
                   3863:      extern "C"
                   3864: #  endif
                   3865:    int F77_DUMMY_MAIN() { return 1; }
                   3866: #endif
                   3867: int
                   3868: main ()
                   3869: {
                   3870: dlopen ();
                   3871:   ;
                   3872:   return 0;
                   3873: }
                   3874: _ACEOF
                   3875: rm -f conftest.$ac_objext conftest$ac_exeext
                   3876: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3877:   (eval $ac_link) 2>&5
                   3878:   ac_status=$?
                   3879:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3880:   (exit $ac_status); } &&
                   3881:          { ac_try='test -s conftest$ac_exeext'
                   3882:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3883:   (eval $ac_try) 2>&5
                   3884:   ac_status=$?
                   3885:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3886:   (exit $ac_status); }; }; then
                   3887:   ac_cv_lib_dl_dlopen=yes
                   3888: else
                   3889:   echo "$as_me: failed program was:" >&5
                   3890: cat conftest.$ac_ext >&5
                   3891: ac_cv_lib_dl_dlopen=no
                   3892: fi
                   3893: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   3894: LIBS=$ac_check_lib_save_LIBS
                   3895: fi
                   3896: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   3897: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   3898: if test $ac_cv_lib_dl_dlopen = yes; then
                   3899:   cat >>confdefs.h <<_ACEOF
                   3900: #define HAVE_LIBDL 1
                   3901: _ACEOF
                   3902:
                   3903:   LIBS="-ldl $LIBS"
                   3904:
1.1       ohara    3905: fi
                   3906:
                   3907: fi
                   3908:
1.2       ohara    3909:
1.4       takayama 3910: ac_config_files="$ac_config_files Makefile"
                   3911: cat >confcache <<\_ACEOF
1.1       ohara    3912: # This file is a shell script that caches the results of configure
                   3913: # tests run on this system so they can be shared between configure
1.4       takayama 3914: # scripts and configure runs, see configure's option --config-cache.
                   3915: # It is not useful on other systems.  If it contains results you don't
                   3916: # want to keep, you may remove or edit it.
1.1       ohara    3917: #
1.4       takayama 3918: # config.status only pays attention to the cache file if you give it
                   3919: # the --recheck option to rerun configure.
1.1       ohara    3920: #
1.4       takayama 3921: # `ac_cv_env_foo' variables (set or unset) will be overriden when
                   3922: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   3923: # following values.
                   3924:
                   3925: _ACEOF
                   3926:
1.1       ohara    3927: # The following way of writing the cache mishandles newlines in values,
                   3928: # but we know of no workaround that is simple, portable, and efficient.
                   3929: # So, don't put newlines in cache variables' values.
                   3930: # Ultrix sh set writes to stderr and can't be redirected directly,
                   3931: # and sets the high bit in the cache file unless we assign to the vars.
1.4       takayama 3932: {
                   3933:   (set) 2>&1 |
                   3934:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   3935:     *ac_space=\ *)
                   3936:       # `set' does not quote correctly, so add quotes (double-quote
                   3937:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   3938:       sed -n \
                   3939:         "s/'/'\\\\''/g;
                   3940:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   3941:       ;;
                   3942:     *)
                   3943:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   3944:       sed -n \
                   3945:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   3946:       ;;
                   3947:     esac;
                   3948: } |
                   3949:   sed '
                   3950:      t clear
                   3951:      : clear
                   3952:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   3953:      t end
                   3954:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   3955:      : end' >>confcache
                   3956: if cmp -s $cache_file confcache; then :; else
1.1       ohara    3957:   if test -w $cache_file; then
1.4       takayama 3958:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   3959:     cat confcache >$cache_file
1.1       ohara    3960:   else
                   3961:     echo "not updating unwritable cache $cache_file"
                   3962:   fi
                   3963: fi
                   3964: rm -f confcache
                   3965:
                   3966: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   3967: # Let make expand exec_prefix.
                   3968: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   3969:
1.4       takayama 3970: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   3971: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   3972: # trailing colons and then remove the whole line if VPATH becomes empty
                   3973: # (actually we leave an empty line to preserve line numbers).
1.1       ohara    3974: if test "x$srcdir" = x.; then
1.4       takayama 3975:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   3976: s/:*\$(srcdir):*/:/;
                   3977: s/:*\${srcdir}:*/:/;
                   3978: s/:*@srcdir@:*/:/;
                   3979: s/^\([^=]*=[   ]*\):*/\1/;
                   3980: s/:*$//;
                   3981: s/^[^=]*=[     ]*$//;
                   3982: }'
1.1       ohara    3983: fi
                   3984:
                   3985: # Transform confdefs.h into DEFS.
                   3986: # Protect against shell expansion while executing Makefile rules.
                   3987: # Protect against Makefile macro expansion.
1.4       takayama 3988: #
                   3989: # If the first sed substitution is executed (which looks for macros that
                   3990: # take arguments), then we branch to the quote section.  Otherwise,
                   3991: # look for a macro that doesn't take arguments.
                   3992: cat >confdef2opt.sed <<\_ACEOF
                   3993: t clear
                   3994: : clear
                   3995: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
                   3996: t quote
                   3997: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
                   3998: t quote
                   3999: d
                   4000: : quote
                   4001: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
                   4002: s,\[,\\&,g
                   4003: s,\],\\&,g
                   4004: s,\$,$$,g
                   4005: p
                   4006: _ACEOF
                   4007: # We use echo to avoid assuming a particular line-breaking character.
                   4008: # The extra dot is to prevent the shell from consuming trailing
                   4009: # line-breaks from the sub-command output.  A line-break within
                   4010: # single-quotes doesn't work because, if this script is created in a
                   4011: # platform that uses two characters for line-breaks (e.g., DOS), tr
                   4012: # would break.
                   4013: ac_LF_and_DOT=`echo; echo .`
                   4014: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
                   4015: rm -f confdef2opt.sed
                   4016:
1.1       ohara    4017:
                   4018:
                   4019: : ${CONFIG_STATUS=./config.status}
1.4       takayama 4020: ac_clean_files_save=$ac_clean_files
                   4021: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   4022: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   4023: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   4024: cat >$CONFIG_STATUS <<_ACEOF
                   4025: #! $SHELL
                   4026: # Generated by $as_me.
1.1       ohara    4027: # Run this file to recreate the current configuration.
                   4028: # Compiler output produced by configure, useful for debugging
1.4       takayama 4029: # configure, is in config.log if it exists.
                   4030:
                   4031: debug=false
                   4032: SHELL=\${CONFIG_SHELL-$SHELL}
                   4033: _ACEOF
                   4034:
                   4035: cat >>$CONFIG_STATUS <<\_ACEOF
                   4036:
                   4037: ## --------------------- ##
                   4038: ## M4sh Initialization.  ##
                   4039: ## --------------------- ##
                   4040:
                   4041: # Be Bourne compatible
                   4042: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   4043:   emulate sh
                   4044:   NULLCMD=:
                   4045: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   4046:   set -o posix
                   4047: fi
                   4048:
                   4049: # NLS nuisances.
                   4050: # Support unset when possible.
                   4051: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   4052:   as_unset=unset
                   4053: else
                   4054:   as_unset=false
                   4055: fi
                   4056:
                   4057: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
                   4058:     { $as_unset LANG || test "${LANG+set}" != set; } ||
                   4059:       { LANG=C; export LANG; }
                   4060: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
                   4061:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
                   4062:       { LC_ALL=C; export LC_ALL; }
                   4063: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
                   4064:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
                   4065:       { LC_TIME=C; export LC_TIME; }
                   4066: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
                   4067:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
                   4068:       { LC_CTYPE=C; export LC_CTYPE; }
                   4069: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
                   4070:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
                   4071:       { LANGUAGE=C; export LANGUAGE; }
                   4072: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
                   4073:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
                   4074:       { LC_COLLATE=C; export LC_COLLATE; }
                   4075: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
                   4076:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
                   4077:       { LC_NUMERIC=C; export LC_NUMERIC; }
                   4078: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
                   4079:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
                   4080:       { LC_MESSAGES=C; export LC_MESSAGES; }
                   4081:
                   4082:
                   4083: # Name of the executable.
                   4084: as_me=`(basename "$0") 2>/dev/null ||
                   4085: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   4086:         X"$0" : 'X\(//\)$' \| \
                   4087:         X"$0" : 'X\(/\)$' \| \
                   4088:         .     : '\(.\)' 2>/dev/null ||
                   4089: echo X/"$0" |
                   4090:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   4091:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   4092:          /^X\/\(\/\).*/{ s//\1/; q; }
                   4093:          s/.*/./; q'`
                   4094:
                   4095: # PATH needs CR, and LINENO needs CR and PATH.
                   4096: # Avoid depending upon Character Ranges.
                   4097: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   4098: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   4099: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   4100: as_cr_digits='0123456789'
                   4101: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   4102:
                   4103: # The user is always right.
                   4104: if test "${PATH_SEPARATOR+set}" != set; then
                   4105:   echo "#! /bin/sh" >conftest.sh
                   4106:   echo  "exit 0"   >>conftest.sh
                   4107:   chmod +x conftest.sh
                   4108:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
                   4109:     PATH_SEPARATOR=';'
                   4110:   else
                   4111:     PATH_SEPARATOR=:
                   4112:   fi
                   4113:   rm -f conftest.sh
                   4114: fi
                   4115:
1.1       ohara    4116:
1.4       takayama 4117:   as_lineno_1=$LINENO
                   4118:   as_lineno_2=$LINENO
                   4119:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   4120:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   4121:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   4122:   # Find who we are.  Look in the path if we contain no path at all
                   4123:   # relative or not.
                   4124:   case $0 in
                   4125:     *[\\/]* ) as_myself=$0 ;;
                   4126:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4127: for as_dir in $PATH
                   4128: do
                   4129:   IFS=$as_save_IFS
                   4130:   test -z "$as_dir" && as_dir=.
                   4131:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   4132: done
                   4133:
                   4134:        ;;
                   4135:   esac
                   4136:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   4137:   # in which case we are not to be found in the path.
                   4138:   if test "x$as_myself" = x; then
                   4139:     as_myself=$0
                   4140:   fi
                   4141:   if test ! -f "$as_myself"; then
                   4142:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   4143: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   4144:    { (exit 1); exit 1; }; }
                   4145:   fi
                   4146:   case $CONFIG_SHELL in
                   4147:   '')
                   4148:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4149: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   4150: do
                   4151:   IFS=$as_save_IFS
                   4152:   test -z "$as_dir" && as_dir=.
                   4153:   for as_base in sh bash ksh sh5; do
                   4154:         case $as_dir in
                   4155:         /*)
                   4156:           if ("$as_dir/$as_base" -c '
                   4157:   as_lineno_1=$LINENO
                   4158:   as_lineno_2=$LINENO
                   4159:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   4160:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   4161:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   4162:             CONFIG_SHELL=$as_dir/$as_base
                   4163:             export CONFIG_SHELL
                   4164:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   4165:           fi;;
                   4166:         esac
                   4167:        done
                   4168: done
                   4169: ;;
                   4170:   esac
                   4171:
                   4172:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   4173:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   4174:   # line-number line before each line; the second 'sed' does the real
                   4175:   # work.  The second script uses 'N' to pair each line-number line
                   4176:   # with the numbered line, and appends trailing '-' during
                   4177:   # substitution so that $LINENO is not a special case at line end.
                   4178:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   4179:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   4180:   sed '=' <$as_myself |
                   4181:     sed '
                   4182:       N
                   4183:       s,$,-,
                   4184:       : loop
                   4185:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   4186:       t loop
                   4187:       s,-$,,
                   4188:       s,^['$as_cr_digits']*\n,,
                   4189:     ' >$as_me.lineno &&
                   4190:   chmod +x $as_me.lineno ||
                   4191:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   4192: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   4193:    { (exit 1); exit 1; }; }
                   4194:
                   4195:   # Don't try to exec as it changes $[0], causing all sort of problems
                   4196:   # (the dirname of $[0] is not the place where we might find the
                   4197:   # original and so on.  Autoconf is especially sensible to this).
                   4198:   . ./$as_me.lineno
                   4199:   # Exit status is that of the last command.
                   4200:   exit
                   4201: }
                   4202:
                   4203:
                   4204: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   4205:   *c*,-n*) ECHO_N= ECHO_C='
                   4206: ' ECHO_T='     ' ;;
                   4207:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   4208:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   4209: esac
                   4210:
                   4211: if expr a : '\(a\)' >/dev/null 2>&1; then
                   4212:   as_expr=expr
                   4213: else
                   4214:   as_expr=false
                   4215: fi
                   4216:
                   4217: rm -f conf$$ conf$$.exe conf$$.file
                   4218: echo >conf$$.file
                   4219: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   4220:   # We could just check for DJGPP; but this test a) works b) is more generic
                   4221:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   4222:   if test -f conf$$.exe; then
                   4223:     # Don't use ln at all; we don't have any links
                   4224:     as_ln_s='cp -p'
                   4225:   else
                   4226:     as_ln_s='ln -s'
                   4227:   fi
                   4228: elif ln conf$$.file conf$$ 2>/dev/null; then
                   4229:   as_ln_s=ln
                   4230: else
                   4231:   as_ln_s='cp -p'
                   4232: fi
                   4233: rm -f conf$$ conf$$.exe conf$$.file
                   4234:
                   4235: as_executable_p="test -f"
                   4236:
                   4237: # Sed expression to map a string onto a valid CPP name.
                   4238: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   4239:
                   4240: # Sed expression to map a string onto a valid variable name.
                   4241: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   4242:
                   4243:
                   4244: # IFS
                   4245: # We need space, tab and new line, in precisely that order.
                   4246: as_nl='
                   4247: '
                   4248: IFS="  $as_nl"
                   4249:
                   4250: # CDPATH.
                   4251: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
                   4252:
                   4253: exec 6>&1
                   4254:
                   4255: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   4256: # report actual input values of CONFIG_FILES etc. instead of their
                   4257: # values after options handling.  Logging --version etc. is OK.
                   4258: exec 5>>config.log
                   4259: {
                   4260:   echo
                   4261:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   4262: ## Running $as_me. ##
                   4263: _ASBOX
                   4264: } >&5
                   4265: cat >&5 <<_CSEOF
                   4266:
                   4267: This file was extended by $as_me, which was
                   4268: generated by GNU Autoconf 2.53.  Invocation command line was
                   4269:
                   4270:   CONFIG_FILES    = $CONFIG_FILES
                   4271:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   4272:   CONFIG_LINKS    = $CONFIG_LINKS
                   4273:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   4274:   $ $0 $@
                   4275:
                   4276: _CSEOF
                   4277: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   4278: echo >&5
                   4279: _ACEOF
                   4280:
                   4281: # Files that config.status was made for.
                   4282: if test -n "$ac_config_files"; then
                   4283:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   4284: fi
                   4285:
                   4286: if test -n "$ac_config_headers"; then
                   4287:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   4288: fi
                   4289:
                   4290: if test -n "$ac_config_links"; then
                   4291:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   4292: fi
                   4293:
                   4294: if test -n "$ac_config_commands"; then
                   4295:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   4296: fi
                   4297:
                   4298: cat >>$CONFIG_STATUS <<\_ACEOF
                   4299:
                   4300: ac_cs_usage="\
                   4301: \`$as_me' instantiates files from templates according to the
                   4302: current configuration.
                   4303:
                   4304: Usage: $0 [OPTIONS] [FILE]...
                   4305:
                   4306:   -h, --help       print this help, then exit
                   4307:   -V, --version    print version number, then exit
                   4308:   -d, --debug      don't remove temporary files
                   4309:       --recheck    update $as_me by reconfiguring in the same conditions
                   4310:   --file=FILE[:TEMPLATE]
                   4311:                    instantiate the configuration file FILE
                   4312:
                   4313: Configuration files:
                   4314: $config_files
                   4315:
                   4316: Report bugs to <bug-autoconf@gnu.org>."
                   4317: _ACEOF
                   4318:
                   4319: cat >>$CONFIG_STATUS <<_ACEOF
                   4320: ac_cs_version="\\
                   4321: config.status
                   4322: configured by $0, generated by GNU Autoconf 2.53,
                   4323:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   4324:
                   4325: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   4326: Free Software Foundation, Inc.
                   4327: This config.status script is free software; the Free Software Foundation
                   4328: gives unlimited permission to copy, distribute and modify it."
                   4329: srcdir=$srcdir
                   4330: _ACEOF
                   4331:
                   4332: cat >>$CONFIG_STATUS <<\_ACEOF
                   4333: # If no file are specified by the user, then we need to provide default
                   4334: # value.  By we need to know if files were specified by the user.
                   4335: ac_need_defaults=:
                   4336: while test $# != 0
1.1       ohara    4337: do
1.4       takayama 4338:   case $1 in
                   4339:   --*=*)
                   4340:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   4341:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   4342:     shift
                   4343:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
                   4344:     shift
                   4345:     ;;
                   4346:   -*);;
                   4347:   *) # This is not an option, so the user has probably given explicit
                   4348:      # arguments.
                   4349:      ac_need_defaults=false;;
                   4350:   esac
                   4351:
                   4352:   case $1 in
                   4353:   # Handling of the options.
                   4354: _ACEOF
                   4355: cat >>$CONFIG_STATUS <<_ACEOF
1.1       ohara    4356:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.4       takayama 4357:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
                   4358:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
                   4359: _ACEOF
                   4360: cat >>$CONFIG_STATUS <<\_ACEOF
                   4361:   --version | --vers* | -V )
                   4362:     echo "$ac_cs_version"; exit 0 ;;
                   4363:   --he | --h)
                   4364:     # Conflict between --help and --header
                   4365:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   4366: Try \`$0 --help' for more information." >&5
                   4367: echo "$as_me: error: ambiguous option: $1
                   4368: Try \`$0 --help' for more information." >&2;}
                   4369:    { (exit 1); exit 1; }; };;
                   4370:   --help | --hel | -h )
                   4371:     echo "$ac_cs_usage"; exit 0 ;;
                   4372:   --debug | --d* | -d )
                   4373:     debug=: ;;
                   4374:   --file | --fil | --fi | --f )
                   4375:     shift
                   4376:     CONFIG_FILES="$CONFIG_FILES $1"
                   4377:     ac_need_defaults=false;;
                   4378:   --header | --heade | --head | --hea )
                   4379:     shift
                   4380:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
                   4381:     ac_need_defaults=false;;
                   4382:
                   4383:   # This is an error.
                   4384:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   4385: Try \`$0 --help' for more information." >&5
                   4386: echo "$as_me: error: unrecognized option: $1
                   4387: Try \`$0 --help' for more information." >&2;}
                   4388:    { (exit 1); exit 1; }; } ;;
                   4389:
                   4390:   *) ac_config_targets="$ac_config_targets $1" ;;
                   4391:
                   4392:   esac
                   4393:   shift
                   4394: done
                   4395:
                   4396: _ACEOF
                   4397:
                   4398:
                   4399:
                   4400:
                   4401:
                   4402: cat >>$CONFIG_STATUS <<\_ACEOF
                   4403: for ac_config_target in $ac_config_targets
                   4404: do
                   4405:   case "$ac_config_target" in
                   4406:   # Handling of arguments.
                   4407:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   4408:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   4409: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   4410:    { (exit 1); exit 1; }; };;
1.1       ohara    4411:   esac
                   4412: done
                   4413:
1.4       takayama 4414: # If the user did not use the arguments to specify the items to instantiate,
                   4415: # then the envvar interface is used.  Set only those that are not.
                   4416: # We use the long form for the default assignment because of an extremely
                   4417: # bizarre bug on SunOS 4.1.3.
                   4418: if $ac_need_defaults; then
                   4419:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   4420: fi
                   4421:
                   4422: # Create a temporary directory, and hook for its removal unless debugging.
                   4423: $debug ||
                   4424: {
                   4425:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   4426:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   4427: }
                   4428:
                   4429: # Create a (secure) tmp directory for tmp files.
                   4430: : ${TMPDIR=/tmp}
                   4431: {
                   4432:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
                   4433:   test -n "$tmp" && test -d "$tmp"
                   4434: }  ||
                   4435: {
                   4436:   tmp=$TMPDIR/cs$$-$RANDOM
                   4437:   (umask 077 && mkdir $tmp)
                   4438: } ||
                   4439: {
                   4440:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
                   4441:    { (exit 1); exit 1; }
                   4442: }
                   4443:
                   4444: _ACEOF
1.1       ohara    4445:
1.4       takayama 4446: cat >>$CONFIG_STATUS <<_ACEOF
                   4447:
                   4448: #
                   4449: # CONFIG_FILES section.
                   4450: #
1.1       ohara    4451:
1.4       takayama 4452: # No need to generate the scripts if there are no CONFIG_FILES.
                   4453: # This happens for instance when ./config.status config.h
                   4454: if test -n "\$CONFIG_FILES"; then
                   4455:   # Protect against being on the right side of a sed subst in config.status.
                   4456:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   4457:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   4458: s,@SHELL@,$SHELL,;t t
                   4459: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   4460: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   4461: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   4462: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   4463: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   4464: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   4465: s,@exec_prefix@,$exec_prefix,;t t
                   4466: s,@prefix@,$prefix,;t t
                   4467: s,@program_transform_name@,$program_transform_name,;t t
                   4468: s,@bindir@,$bindir,;t t
                   4469: s,@sbindir@,$sbindir,;t t
                   4470: s,@libexecdir@,$libexecdir,;t t
                   4471: s,@datadir@,$datadir,;t t
                   4472: s,@sysconfdir@,$sysconfdir,;t t
                   4473: s,@sharedstatedir@,$sharedstatedir,;t t
                   4474: s,@localstatedir@,$localstatedir,;t t
                   4475: s,@libdir@,$libdir,;t t
                   4476: s,@includedir@,$includedir,;t t
                   4477: s,@oldincludedir@,$oldincludedir,;t t
                   4478: s,@infodir@,$infodir,;t t
                   4479: s,@mandir@,$mandir,;t t
                   4480: s,@build_alias@,$build_alias,;t t
                   4481: s,@host_alias@,$host_alias,;t t
                   4482: s,@target_alias@,$target_alias,;t t
                   4483: s,@DEFS@,$DEFS,;t t
                   4484: s,@ECHO_C@,$ECHO_C,;t t
                   4485: s,@ECHO_N@,$ECHO_N,;t t
                   4486: s,@ECHO_T@,$ECHO_T,;t t
                   4487: s,@LIBS@,$LIBS,;t t
1.5     ! ohara    4488: s,@build@,$build,;t t
        !          4489: s,@build_cpu@,$build_cpu,;t t
        !          4490: s,@build_vendor@,$build_vendor,;t t
        !          4491: s,@build_os@,$build_os,;t t
        !          4492: s,@host@,$host,;t t
        !          4493: s,@host_cpu@,$host_cpu,;t t
        !          4494: s,@host_vendor@,$host_vendor,;t t
        !          4495: s,@host_os@,$host_os,;t t
        !          4496: s,@target@,$target,;t t
        !          4497: s,@target_cpu@,$target_cpu,;t t
        !          4498: s,@target_vendor@,$target_vendor,;t t
        !          4499: s,@target_os@,$target_os,;t t
1.4       takayama 4500: s,@CC@,$CC,;t t
                   4501: s,@CFLAGS@,$CFLAGS,;t t
                   4502: s,@LDFLAGS@,$LDFLAGS,;t t
                   4503: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   4504: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   4505: s,@EXEEXT@,$EXEEXT,;t t
                   4506: s,@OBJEXT@,$OBJEXT,;t t
                   4507: s,@RANLIB@,$RANLIB,;t t
                   4508: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   4509: s,@CPP@,$CPP,;t t
                   4510: s,@X_CFLAGS@,$X_CFLAGS,;t t
                   4511: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
                   4512: s,@X_LIBS@,$X_LIBS,;t t
                   4513: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
                   4514: s,@GMPLIB@,$GMPLIB,;t t
                   4515: s,@USE_GMP@,$USE_GMP,;t t
1.1       ohara    4516: CEOF
                   4517:
1.4       takayama 4518: _ACEOF
1.1       ohara    4519:
1.4       takayama 4520:   cat >>$CONFIG_STATUS <<\_ACEOF
                   4521:   # Split the substitutions into bite-sized pieces for seds with
                   4522:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   4523:   ac_max_sed_lines=48
                   4524:   ac_sed_frag=1 # Number of current file.
                   4525:   ac_beg=1 # First line for current file.
                   4526:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   4527:   ac_more_lines=:
                   4528:   ac_sed_cmds=
                   4529:   while $ac_more_lines; do
                   4530:     if test $ac_beg -gt 1; then
                   4531:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   4532:     else
                   4533:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   4534:     fi
                   4535:     if test ! -s $tmp/subs.frag; then
                   4536:       ac_more_lines=false
1.1       ohara    4537:     else
1.4       takayama 4538:       # The purpose of the label and of the branching condition is to
                   4539:       # speed up the sed processing (if there are no `@' at all, there
                   4540:       # is no need to browse any of the substitutions).
                   4541:       # These are the two extra sed commands mentioned above.
                   4542:       (echo ':t
                   4543:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   4544:       if test -z "$ac_sed_cmds"; then
                   4545:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   4546:       else
                   4547:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   4548:       fi
                   4549:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   4550:       ac_beg=$ac_end
                   4551:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       ohara    4552:     fi
1.4       takayama 4553:   done
                   4554:   if test -z "$ac_sed_cmds"; then
                   4555:     ac_sed_cmds=cat
1.1       ohara    4556:   fi
1.4       takayama 4557: fi # test -n "$CONFIG_FILES"
1.1       ohara    4558:
1.4       takayama 4559: _ACEOF
                   4560: cat >>$CONFIG_STATUS <<\_ACEOF
                   4561: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   4562:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   4563:   case $ac_file in
                   4564:   - | *:- | *:-:* ) # input from stdin
                   4565:         cat >$tmp/stdin
                   4566:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   4567:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   4568:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   4569:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   4570:   * )   ac_file_in=$ac_file.in ;;
                   4571:   esac
1.1       ohara    4572:
1.4       takayama 4573:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   4574:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   4575: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   4576:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   4577:          X"$ac_file" : 'X\(//\)$' \| \
                   4578:          X"$ac_file" : 'X\(/\)' \| \
                   4579:          .     : '\(.\)' 2>/dev/null ||
                   4580: echo X"$ac_file" |
                   4581:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   4582:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   4583:          /^X\(\/\/\)$/{ s//\1/; q; }
                   4584:          /^X\(\/\).*/{ s//\1/; q; }
                   4585:          s/.*/./; q'`
                   4586:   { case "$ac_dir" in
                   4587:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
                   4588:   *)                      as_incr_dir=.;;
                   4589: esac
                   4590: as_dummy="$ac_dir"
                   4591: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
                   4592:   case $as_mkdir_dir in
                   4593:     # Skip DOS drivespec
                   4594:     ?:) as_incr_dir=$as_mkdir_dir ;;
                   4595:     *)
                   4596:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
                   4597:       test -d "$as_incr_dir" ||
                   4598:         mkdir "$as_incr_dir" ||
                   4599:        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
                   4600: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
                   4601:    { (exit 1); exit 1; }; }
                   4602:     ;;
1.1       ohara    4603:   esac
1.4       takayama 4604: done; }
1.1       ohara    4605:
1.4       takayama 4606:   ac_builddir=.
1.1       ohara    4607:
1.4       takayama 4608: if test "$ac_dir" != .; then
                   4609:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   4610:   # A "../" for each directory in $ac_dir_suffix.
                   4611:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   4612: else
                   4613:   ac_dir_suffix= ac_top_builddir=
                   4614: fi
1.1       ohara    4615:
1.4       takayama 4616: case $srcdir in
                   4617:   .)  # No --srcdir option.  We are building in place.
                   4618:     ac_srcdir=.
                   4619:     if test -z "$ac_top_builddir"; then
                   4620:        ac_top_srcdir=.
                   4621:     else
                   4622:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   4623:     fi ;;
                   4624:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   4625:     ac_srcdir=$srcdir$ac_dir_suffix;
                   4626:     ac_top_srcdir=$srcdir ;;
1.1       ohara    4627:   *) # Relative path.
1.4       takayama 4628:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   4629:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   4630: esac
                   4631: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   4632: # absolute.
                   4633: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   4634: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
                   4635: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   4636: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   4637:
1.1       ohara    4638:
                   4639:
1.4       takayama 4640:   if test x"$ac_file" != x-; then
                   4641:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   4642: echo "$as_me: creating $ac_file" >&6;}
                   4643:     rm -f "$ac_file"
                   4644:   fi
                   4645:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   4646:   # use $as_me), people would be surprised to read:
                   4647:   #    /* config.h.  Generated by config.status.  */
                   4648:   if test x"$ac_file" = x-; then
                   4649:     configure_input=
                   4650:   else
                   4651:     configure_input="$ac_file.  "
                   4652:   fi
                   4653:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   4654:                                      sed 's,.*/,,'` by configure."
1.1       ohara    4655:
1.4       takayama 4656:   # First look for the input files in the build tree, otherwise in the
                   4657:   # src tree.
                   4658:   ac_file_inputs=`IFS=:
                   4659:     for f in $ac_file_in; do
                   4660:       case $f in
                   4661:       -) echo $tmp/stdin ;;
                   4662:       [\\/$]*)
                   4663:          # Absolute (can't be DOS-style, as IFS=:)
                   4664:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   4665: echo "$as_me: error: cannot find input file: $f" >&2;}
                   4666:    { (exit 1); exit 1; }; }
                   4667:          echo $f;;
                   4668:       *) # Relative
                   4669:          if test -f "$f"; then
                   4670:            # Build tree
                   4671:            echo $f
                   4672:          elif test -f "$srcdir/$f"; then
                   4673:            # Source tree
                   4674:            echo $srcdir/$f
                   4675:          else
                   4676:            # /dev/null tree
                   4677:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   4678: echo "$as_me: error: cannot find input file: $f" >&2;}
                   4679:    { (exit 1); exit 1; }; }
                   4680:          fi;;
                   4681:       esac
                   4682:     done` || { (exit 1); exit 1; }
                   4683: _ACEOF
                   4684: cat >>$CONFIG_STATUS <<_ACEOF
                   4685:   sed "$ac_vpsub
                   4686: $extrasub
                   4687: _ACEOF
                   4688: cat >>$CONFIG_STATUS <<\_ACEOF
                   4689: :t
                   4690: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   4691: s,@configure_input@,$configure_input,;t t
                   4692: s,@srcdir@,$ac_srcdir,;t t
                   4693: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   4694: s,@top_srcdir@,$ac_top_srcdir,;t t
                   4695: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   4696: s,@builddir@,$ac_builddir,;t t
                   4697: s,@abs_builddir@,$ac_abs_builddir,;t t
                   4698: s,@top_builddir@,$ac_top_builddir,;t t
                   4699: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   4700: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   4701:   rm -f $tmp/stdin
                   4702:   if test x"$ac_file" != x-; then
                   4703:     mv $tmp/out $ac_file
                   4704:   else
                   4705:     cat $tmp/out
                   4706:     rm -f $tmp/out
                   4707:   fi
1.1       ohara    4708:
1.4       takayama 4709: done
                   4710: _ACEOF
1.1       ohara    4711:
1.4       takayama 4712: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       ohara    4713:
1.4       takayama 4714: { (exit 0); exit 0; }
                   4715: _ACEOF
1.1       ohara    4716: chmod +x $CONFIG_STATUS
1.4       takayama 4717: ac_clean_files=$ac_clean_files_save
                   4718:
                   4719:
                   4720: # configure is writing to config.log, and then calls config.status.
                   4721: # config.status does its own redirection, appending to config.log.
                   4722: # Unfortunately, on DOS this fails, as config.log is still kept open
                   4723: # by configure, so config.status won't be able to write to it; its
                   4724: # output is simply discarded.  So we exec the FD to /dev/null,
                   4725: # effectively closing config.log, so it can be properly (re)opened and
                   4726: # appended to by config.status.  When coming back to configure, we
                   4727: # need to make the FD available again.
                   4728: if test "$no_create" != yes; then
                   4729:   ac_cs_success=:
                   4730:   exec 5>/dev/null
                   4731:   $SHELL $CONFIG_STATUS || ac_cs_success=false
                   4732:   exec 5>>config.log
                   4733:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   4734:   # would make configure fail if this is the last instruction.
                   4735:   $ac_cs_success || { (exit 1); exit 1; }
                   4736: fi
1.2       ohara    4737:

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