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

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

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
        !           782: _ACEOF
        !           783: fi
        !           784:
        !           785: if test -n "$ac_init_help"; then
        !           786:
        !           787:   cat <<\_ACEOF
1.1       ohara     788:
1.4     ! takayama  789: Optional Packages:
        !           790:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !           791:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !           792:   --with-x                use the X Window System
        !           793:   --with-gmp              with the GNU MP library [no]
        !           794:
        !           795: Some influential environment variables:
        !           796:   CC          C compiler command
        !           797:   CFLAGS      C compiler flags
        !           798:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
        !           799:               nonstandard directory <lib dir>
        !           800:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
        !           801:               headers in a nonstandard directory <include dir>
        !           802:   CPP         C preprocessor
        !           803:
        !           804: Use these variables to override the choices made by `configure' or to help
        !           805: it to find libraries and programs with nonstandard names/locations.
        !           806:
        !           807: _ACEOF
        !           808: fi
        !           809:
        !           810: if test "$ac_init_help" = "recursive"; then
        !           811:   # If there are subdirs, report their specific --help.
        !           812:   ac_popdir=`pwd`
        !           813:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
        !           814:     test -d $ac_dir || continue
        !           815:     ac_builddir=.
        !           816:
        !           817: if test "$ac_dir" != .; then
        !           818:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !           819:   # A "../" for each directory in $ac_dir_suffix.
        !           820:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !           821: else
        !           822:   ac_dir_suffix= ac_top_builddir=
        !           823: fi
        !           824:
        !           825: case $srcdir in
        !           826:   .)  # No --srcdir option.  We are building in place.
        !           827:     ac_srcdir=.
        !           828:     if test -z "$ac_top_builddir"; then
        !           829:        ac_top_srcdir=.
        !           830:     else
        !           831:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !           832:     fi ;;
        !           833:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !           834:     ac_srcdir=$srcdir$ac_dir_suffix;
        !           835:     ac_top_srcdir=$srcdir ;;
        !           836:   *) # Relative path.
        !           837:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !           838:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !           839: esac
        !           840: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
        !           841: # absolute.
        !           842: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
        !           843: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
        !           844: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
        !           845: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
        !           846:
        !           847:     cd $ac_dir
        !           848:     # Check for guested configure; otherwise get Cygnus style configure.
        !           849:     if test -f $ac_srcdir/configure.gnu; then
        !           850:       echo
        !           851:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
        !           852:     elif test -f $ac_srcdir/configure; then
        !           853:       echo
        !           854:       $SHELL $ac_srcdir/configure  --help=recursive
        !           855:     elif test -f $ac_srcdir/configure.ac ||
        !           856:            test -f $ac_srcdir/configure.in; then
        !           857:       echo
        !           858:       $ac_configure --help
1.2       ohara     859:     else
1.4     ! takayama  860:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !           861:     fi
        !           862:     cd $ac_popdir
        !           863:   done
        !           864: fi
        !           865:
        !           866: test -n "$ac_init_help" && exit 0
        !           867: if $ac_init_version; then
        !           868:   cat <<\_ACEOF
        !           869:
        !           870: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
        !           871: Free Software Foundation, Inc.
        !           872: This configure script is free software; the Free Software Foundation
        !           873: gives unlimited permission to copy, distribute and modify it.
        !           874: _ACEOF
        !           875:   exit 0
        !           876: fi
        !           877: exec 5>config.log
        !           878: cat >&5 <<_ACEOF
        !           879: This file contains any messages produced by compilers while
        !           880: running configure, to aid debugging if configure makes a mistake.
        !           881:
        !           882: It was created by $as_me, which was
        !           883: generated by GNU Autoconf 2.53.  Invocation command line was
        !           884:
        !           885:   $ $0 $@
        !           886:
        !           887: _ACEOF
        !           888: {
        !           889: cat <<_ASUNAME
        !           890: ## --------- ##
        !           891: ## Platform. ##
        !           892: ## --------- ##
        !           893:
        !           894: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !           895: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !           896: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !           897: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !           898: uname -v = `(uname -v) 2>/dev/null || echo unknown`
        !           899:
        !           900: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !           901: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
        !           902:
        !           903: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
        !           904: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
        !           905: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
        !           906: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
        !           907: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
        !           908: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
        !           909: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
        !           910:
        !           911: _ASUNAME
        !           912:
        !           913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           914: for as_dir in $PATH
        !           915: do
        !           916:   IFS=$as_save_IFS
        !           917:   test -z "$as_dir" && as_dir=.
        !           918:   echo "PATH: $as_dir"
        !           919: done
        !           920:
        !           921: } >&5
        !           922:
        !           923: cat >&5 <<_ACEOF
        !           924:
        !           925:
        !           926: ## ----------- ##
        !           927: ## Core tests. ##
        !           928: ## ----------- ##
        !           929:
        !           930: _ACEOF
        !           931:
        !           932:
        !           933: # Keep a trace of the command line.
        !           934: # Strip out --no-create and --no-recursion so they do not pile up.
        !           935: # Also quote any args containing shell meta-characters.
        !           936: ac_configure_args=
        !           937: ac_sep=
        !           938: for ac_arg
        !           939: do
        !           940:   case $ac_arg in
        !           941:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           942:   | --no-cr | --no-c | -n ) continue ;;
        !           943:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           944:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        !           945:     continue ;;
        !           946:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !           947:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        !           948:   esac
        !           949:   case " $ac_configure_args " in
        !           950:     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !           951:     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
        !           952:        ac_sep=" " ;;
        !           953:   esac
        !           954:   # Get rid of the leading space.
        !           955: done
        !           956:
        !           957: # When interrupted or exit'd, cleanup temporary files, and complete
        !           958: # config.log.  We remove comments because anyway the quotes in there
        !           959: # would cause problems or look ugly.
        !           960: # WARNING: Be sure not to use single quotes in there, as some shells,
        !           961: # such as our DU 5.0 friend, will then `close' the trap.
        !           962: trap 'exit_status=$?
        !           963:   # Save into config.log some information that might help in debugging.
        !           964:   {
        !           965:     echo
        !           966:     cat <<\_ASBOX
        !           967: ## ---------------- ##
        !           968: ## Cache variables. ##
        !           969: ## ---------------- ##
        !           970: _ASBOX
        !           971:     echo
        !           972:     # The following way of writing the cache mishandles newlines in values,
        !           973: {
        !           974:   (set) 2>&1 |
        !           975:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
        !           976:     *ac_space=\ *)
        !           977:       sed -n \
        !           978:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
        !           979:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
        !           980:       ;;
        !           981:     *)
        !           982:       sed -n \
        !           983:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !           984:       ;;
        !           985:     esac;
        !           986: }
        !           987:     echo
        !           988:     if test -s confdefs.h; then
        !           989:       cat <<\_ASBOX
        !           990: ## ----------- ##
        !           991: ## confdefs.h. ##
        !           992: ## ----------- ##
        !           993: _ASBOX
        !           994:       echo
        !           995:       sed "/^$/d" confdefs.h
        !           996:       echo
1.2       ohara     997:     fi
1.4     ! takayama  998:     test "$ac_signal" != 0 &&
        !           999:       echo "$as_me: caught signal $ac_signal"
        !          1000:     echo "$as_me: exit $exit_status"
        !          1001:   } >&5
        !          1002:   rm -f core core.* *.core &&
        !          1003:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
        !          1004:     exit $exit_status
        !          1005:      ' 0
        !          1006: for ac_signal in 1 2 13 15; do
        !          1007:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
        !          1008: done
        !          1009: ac_signal=0
        !          1010:
        !          1011: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !          1012: rm -rf conftest* confdefs.h
        !          1013: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !          1014: echo >confdefs.h
        !          1015:
        !          1016: # Predefined preprocessor variables.
        !          1017:
        !          1018: cat >>confdefs.h <<_ACEOF
        !          1019: #define PACKAGE_NAME "$PACKAGE_NAME"
        !          1020: _ACEOF
        !          1021:
        !          1022:
        !          1023: cat >>confdefs.h <<_ACEOF
        !          1024: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
        !          1025: _ACEOF
        !          1026:
        !          1027:
        !          1028: cat >>confdefs.h <<_ACEOF
        !          1029: #define PACKAGE_VERSION "$PACKAGE_VERSION"
        !          1030: _ACEOF
        !          1031:
        !          1032:
        !          1033: cat >>confdefs.h <<_ACEOF
        !          1034: #define PACKAGE_STRING "$PACKAGE_STRING"
        !          1035: _ACEOF
        !          1036:
        !          1037:
        !          1038: cat >>confdefs.h <<_ACEOF
        !          1039: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
        !          1040: _ACEOF
        !          1041:
        !          1042:
        !          1043: # Let the site file select an alternate cache file if it wants to.
        !          1044: # Prefer explicitly selected file to automatically selected ones.
        !          1045: if test -z "$CONFIG_SITE"; then
        !          1046:   if test "x$prefix" != xNONE; then
        !          1047:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
        !          1048:   else
        !          1049:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.1       ohara    1050:   fi
                   1051: fi
                   1052: for ac_site_file in $CONFIG_SITE; do
                   1053:   if test -r "$ac_site_file"; then
1.4     ! takayama 1054:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
        !          1055: echo "$as_me: loading site script $ac_site_file" >&6;}
        !          1056:     sed 's/^/| /' "$ac_site_file" >&5
1.1       ohara    1057:     . "$ac_site_file"
                   1058:   fi
                   1059: done
                   1060:
                   1061: if test -r "$cache_file"; then
1.4     ! takayama 1062:   # Some versions of bash will fail to source /dev/null (special
        !          1063:   # files actually), so we avoid doing that.
        !          1064:   if test -f "$cache_file"; then
        !          1065:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
        !          1066: echo "$as_me: loading cache $cache_file" >&6;}
        !          1067:     case $cache_file in
        !          1068:       [\\/]* | ?:[\\/]* ) . $cache_file;;
        !          1069:       *)                      . ./$cache_file;;
        !          1070:     esac
        !          1071:   fi
1.1       ohara    1072: else
1.4     ! takayama 1073:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
        !          1074: echo "$as_me: creating cache $cache_file" >&6;}
        !          1075:   >$cache_file
        !          1076: fi
        !          1077:
        !          1078: # Check that the precious variables saved in the cache have kept the same
        !          1079: # value.
        !          1080: ac_cache_corrupted=false
        !          1081: for ac_var in `(set) 2>&1 |
        !          1082:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
        !          1083:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !          1084:   eval ac_new_set=\$ac_env_${ac_var}_set
        !          1085:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
        !          1086:   eval ac_new_val="\$ac_env_${ac_var}_value"
        !          1087:   case $ac_old_set,$ac_new_set in
        !          1088:     set,)
        !          1089:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !          1090: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !          1091:       ac_cache_corrupted=: ;;
        !          1092:     ,set)
        !          1093:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
        !          1094: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !          1095:       ac_cache_corrupted=: ;;
        !          1096:     ,);;
        !          1097:     *)
        !          1098:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !          1099:         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
        !          1100: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !          1101:         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
        !          1102: echo "$as_me:   former value:  $ac_old_val" >&2;}
        !          1103:         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
        !          1104: echo "$as_me:   current value: $ac_new_val" >&2;}
        !          1105:         ac_cache_corrupted=:
        !          1106:       fi;;
        !          1107:   esac
        !          1108:   # Pass precious variables to config.status.
        !          1109:   if test "$ac_new_set" = set; then
        !          1110:     case $ac_new_val in
        !          1111:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !          1112:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
        !          1113:     *) ac_arg=$ac_var=$ac_new_val ;;
        !          1114:     esac
        !          1115:     case " $ac_configure_args " in
        !          1116:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
        !          1117:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        !          1118:     esac
        !          1119:   fi
        !          1120: done
        !          1121: if $ac_cache_corrupted; then
        !          1122:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
        !          1123: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          1124:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
        !          1125: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
        !          1126:    { (exit 1); exit 1; }; }
1.1       ohara    1127: fi
                   1128:
                   1129: ac_ext=c
                   1130: ac_cpp='$CPP $CPPFLAGS'
1.4     ! takayama 1131: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1132: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1133: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1134:
        !          1135:
        !          1136:
        !          1137:
        !          1138:
        !          1139:
        !          1140:
        !          1141:
        !          1142:
        !          1143:
        !          1144:
        !          1145:
        !          1146:
        !          1147:
        !          1148:
        !          1149:
1.1       ohara    1150:
                   1151:
1.4     ! takayama 1152: ac_ext=c
        !          1153: ac_cpp='$CPP $CPPFLAGS'
        !          1154: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1155: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1156: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1157: if test -n "$ac_tool_prefix"; then
        !          1158:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
        !          1159: set dummy ${ac_tool_prefix}gcc; ac_word=$2
        !          1160: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1161: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1162: if test "${ac_cv_prog_CC+set}" = set; then
        !          1163:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1164: else
                   1165:   if test -n "$CC"; then
                   1166:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1167: else
1.4     ! takayama 1168: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1169: for as_dir in $PATH
        !          1170: do
        !          1171:   IFS=$as_save_IFS
        !          1172:   test -z "$as_dir" && as_dir=.
        !          1173:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1174:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1175:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          1176:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1177:     break 2
        !          1178:   fi
        !          1179: done
        !          1180: done
        !          1181:
1.1       ohara    1182: fi
                   1183: fi
1.4     ! takayama 1184: CC=$ac_cv_prog_CC
1.1       ohara    1185: if test -n "$CC"; then
1.4     ! takayama 1186:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1187: echo "${ECHO_T}$CC" >&6
1.1       ohara    1188: else
1.4     ! takayama 1189:   echo "$as_me:$LINENO: result: no" >&5
        !          1190: echo "${ECHO_T}no" >&6
1.1       ohara    1191: fi
                   1192:
1.4     ! takayama 1193: fi
        !          1194: if test -z "$ac_cv_prog_CC"; then
        !          1195:   ac_ct_CC=$CC
        !          1196:   # Extract the first word of "gcc", so it can be a program name with args.
        !          1197: set dummy gcc; ac_word=$2
        !          1198: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1199: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1200: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1201:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1202: else
1.4     ! takayama 1203:   if test -n "$ac_ct_CC"; then
        !          1204:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       ohara    1205: else
1.4     ! takayama 1206: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1207: for as_dir in $PATH
        !          1208: do
        !          1209:   IFS=$as_save_IFS
        !          1210:   test -z "$as_dir" && as_dir=.
        !          1211:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1212:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1213:     ac_cv_prog_ac_ct_CC="gcc"
        !          1214:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1215:     break 2
1.1       ohara    1216:   fi
1.4     ! takayama 1217: done
        !          1218: done
        !          1219:
1.1       ohara    1220: fi
                   1221: fi
1.4     ! takayama 1222: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1223: if test -n "$ac_ct_CC"; then
        !          1224:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1225: echo "${ECHO_T}$ac_ct_CC" >&6
        !          1226: else
        !          1227:   echo "$as_me:$LINENO: result: no" >&5
        !          1228: echo "${ECHO_T}no" >&6
1.1       ohara    1229: fi
1.4     ! takayama 1230:
        !          1231:   CC=$ac_ct_CC
1.1       ohara    1232: else
1.4     ! takayama 1233:   CC="$ac_cv_prog_CC"
1.1       ohara    1234: fi
                   1235:
1.4     ! takayama 1236: if test -z "$CC"; then
        !          1237:   if test -n "$ac_tool_prefix"; then
        !          1238:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
        !          1239: set dummy ${ac_tool_prefix}cc; ac_word=$2
        !          1240: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1241: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1242: if test "${ac_cv_prog_CC+set}" = set; then
        !          1243:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1244: else
                   1245:   if test -n "$CC"; then
                   1246:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1247: else
1.4     ! takayama 1248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1249: for as_dir in $PATH
        !          1250: do
        !          1251:   IFS=$as_save_IFS
        !          1252:   test -z "$as_dir" && as_dir=.
        !          1253:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1254:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1255:     ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          1256:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1257:     break 2
        !          1258:   fi
        !          1259: done
        !          1260: done
        !          1261:
1.1       ohara    1262: fi
                   1263: fi
1.4     ! takayama 1264: CC=$ac_cv_prog_CC
1.1       ohara    1265: if test -n "$CC"; then
1.4     ! takayama 1266:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1267: echo "${ECHO_T}$CC" >&6
1.1       ohara    1268: else
1.4     ! takayama 1269:   echo "$as_me:$LINENO: result: no" >&5
        !          1270: echo "${ECHO_T}no" >&6
        !          1271: fi
        !          1272:
1.1       ohara    1273: fi
1.4     ! takayama 1274: if test -z "$ac_cv_prog_CC"; then
        !          1275:   ac_ct_CC=$CC
        !          1276:   # Extract the first word of "cc", so it can be a program name with args.
        !          1277: set dummy cc; ac_word=$2
        !          1278: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1279: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1280: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1281:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1282: else
        !          1283:   if test -n "$ac_ct_CC"; then
        !          1284:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          1285: else
        !          1286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1287: for as_dir in $PATH
        !          1288: do
        !          1289:   IFS=$as_save_IFS
        !          1290:   test -z "$as_dir" && as_dir=.
        !          1291:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1292:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1293:     ac_cv_prog_ac_ct_CC="cc"
        !          1294:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1295:     break 2
1.1       ohara    1296:   fi
1.4     ! takayama 1297: done
        !          1298: done
        !          1299:
        !          1300: fi
        !          1301: fi
        !          1302: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1303: if test -n "$ac_ct_CC"; then
        !          1304:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1305: echo "${ECHO_T}$ac_ct_CC" >&6
        !          1306: else
        !          1307:   echo "$as_me:$LINENO: result: no" >&5
        !          1308: echo "${ECHO_T}no" >&6
1.1       ohara    1309: fi
                   1310:
1.4     ! takayama 1311:   CC=$ac_ct_CC
        !          1312: else
        !          1313:   CC="$ac_cv_prog_CC"
        !          1314: fi
1.1       ohara    1315:
1.4     ! takayama 1316: fi
        !          1317: if test -z "$CC"; then
        !          1318:   # Extract the first word of "cc", so it can be a program name with args.
        !          1319: set dummy cc; ac_word=$2
        !          1320: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1321: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1322: if test "${ac_cv_prog_CC+set}" = set; then
        !          1323:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1324: else
        !          1325:   if test -n "$CC"; then
        !          1326:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1327: else
        !          1328:   ac_prog_rejected=no
        !          1329: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1330: for as_dir in $PATH
        !          1331: do
        !          1332:   IFS=$as_save_IFS
        !          1333:   test -z "$as_dir" && as_dir=.
        !          1334:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1335:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1336:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        !          1337:        ac_prog_rejected=yes
        !          1338:        continue
        !          1339:      fi
        !          1340:     ac_cv_prog_CC="cc"
        !          1341:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1342:     break 2
        !          1343:   fi
        !          1344: done
        !          1345: done
        !          1346:
        !          1347: if test $ac_prog_rejected = yes; then
        !          1348:   # We found a bogon in the path, so make sure we never use it.
        !          1349:   set dummy $ac_cv_prog_CC
        !          1350:   shift
        !          1351:   if test $# != 0; then
        !          1352:     # We chose a different compiler from the bogus one.
        !          1353:     # However, it has the same basename, so the bogon will be chosen
        !          1354:     # first if we set CC to just the basename; use the full file name.
        !          1355:     shift
        !          1356:     set dummy "$as_dir/$ac_word" ${1+"$@"}
        !          1357:     shift
        !          1358:     ac_cv_prog_CC="$@"
1.1       ohara    1359:   fi
1.4     ! takayama 1360: fi
        !          1361: fi
        !          1362: fi
        !          1363: CC=$ac_cv_prog_CC
        !          1364: if test -n "$CC"; then
        !          1365:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1366: echo "${ECHO_T}$CC" >&6
1.1       ohara    1367: else
1.4     ! takayama 1368:   echo "$as_me:$LINENO: result: no" >&5
        !          1369: echo "${ECHO_T}no" >&6
        !          1370: fi
        !          1371:
1.1       ohara    1372: fi
1.4     ! takayama 1373: if test -z "$CC"; then
        !          1374:   if test -n "$ac_tool_prefix"; then
        !          1375:   for ac_prog in cl
        !          1376:   do
        !          1377:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          1378: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          1379: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1380: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1381: if test "${ac_cv_prog_CC+set}" = set; then
        !          1382:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1383: else
        !          1384:   if test -n "$CC"; then
        !          1385:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1386: else
        !          1387: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1388: for as_dir in $PATH
        !          1389: do
        !          1390:   IFS=$as_save_IFS
        !          1391:   test -z "$as_dir" && as_dir=.
        !          1392:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1393:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1394:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          1395:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1396:     break 2
        !          1397:   fi
        !          1398: done
        !          1399: done
1.1       ohara    1400:
                   1401: fi
1.4     ! takayama 1402: fi
        !          1403: CC=$ac_cv_prog_CC
        !          1404: if test -n "$CC"; then
        !          1405:   echo "$as_me:$LINENO: result: $CC" >&5
        !          1406: echo "${ECHO_T}$CC" >&6
        !          1407: else
        !          1408:   echo "$as_me:$LINENO: result: no" >&5
        !          1409: echo "${ECHO_T}no" >&6
        !          1410: fi
1.1       ohara    1411:
1.4     ! takayama 1412:     test -n "$CC" && break
        !          1413:   done
        !          1414: fi
        !          1415: if test -z "$CC"; then
        !          1416:   ac_ct_CC=$CC
        !          1417:   for ac_prog in cl
        !          1418: do
        !          1419:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          1420: set dummy $ac_prog; ac_word=$2
        !          1421: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1422: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1423: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          1424:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1425: else
        !          1426:   if test -n "$ac_ct_CC"; then
        !          1427:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       ohara    1428: else
1.4     ! takayama 1429: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1430: for as_dir in $PATH
        !          1431: do
        !          1432:   IFS=$as_save_IFS
        !          1433:   test -z "$as_dir" && as_dir=.
        !          1434:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1435:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1436:     ac_cv_prog_ac_ct_CC="$ac_prog"
        !          1437:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1438:     break 2
        !          1439:   fi
        !          1440: done
        !          1441: done
        !          1442:
        !          1443: fi
        !          1444: fi
        !          1445: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          1446: if test -n "$ac_ct_CC"; then
        !          1447:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
        !          1448: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       ohara    1449: else
1.4     ! takayama 1450:   echo "$as_me:$LINENO: result: no" >&5
        !          1451: echo "${ECHO_T}no" >&6
        !          1452: fi
        !          1453:
        !          1454:   test -n "$ac_ct_CC" && break
        !          1455: done
        !          1456:
        !          1457:   CC=$ac_ct_CC
1.1       ohara    1458: fi
1.4     ! takayama 1459:
1.1       ohara    1460: fi
                   1461:
                   1462:
1.4     ! takayama 1463: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
        !          1464: echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
        !          1465:    { (exit 1); exit 1; }; }
        !          1466:
        !          1467: # Provide some information about the compiler.
        !          1468: echo "$as_me:$LINENO:" \
        !          1469:      "checking for C compiler version" >&5
        !          1470: ac_compiler=`set X $ac_compile; echo $2`
        !          1471: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
        !          1472:   (eval $ac_compiler --version </dev/null >&5) 2>&5
        !          1473:   ac_status=$?
        !          1474:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1475:   (exit $ac_status); }
        !          1476: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
        !          1477:   (eval $ac_compiler -v </dev/null >&5) 2>&5
        !          1478:   ac_status=$?
        !          1479:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1480:   (exit $ac_status); }
        !          1481: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
        !          1482:   (eval $ac_compiler -V </dev/null >&5) 2>&5
        !          1483:   ac_status=$?
        !          1484:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1485:   (exit $ac_status); }
        !          1486:
        !          1487: cat >conftest.$ac_ext <<_ACEOF
        !          1488: #line $LINENO "configure"
        !          1489: #include "confdefs.h"
        !          1490:
        !          1491: #ifdef F77_DUMMY_MAIN
        !          1492: #  ifdef __cplusplus
        !          1493:      extern "C"
        !          1494: #  endif
        !          1495:    int F77_DUMMY_MAIN() { return 1; }
        !          1496: #endif
        !          1497: int
        !          1498: main ()
        !          1499: {
        !          1500:
        !          1501:   ;
        !          1502:   return 0;
        !          1503: }
        !          1504: _ACEOF
        !          1505: ac_clean_files_save=$ac_clean_files
        !          1506: ac_clean_files="$ac_clean_files a.out a.exe"
        !          1507: # Try to create an executable without -o first, disregard a.out.
        !          1508: # It will help us diagnose broken compilers, and finding out an intuition
        !          1509: # of exeext.
        !          1510: echo "$as_me:$LINENO: checking for C compiler default output" >&5
        !          1511: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
        !          1512: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          1513: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
        !          1514:   (eval $ac_link_default) 2>&5
        !          1515:   ac_status=$?
        !          1516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1517:   (exit $ac_status); }; then
        !          1518:   # Find the output, starting from the most likely.  This scheme is
        !          1519: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
        !          1520: # resort.
        !          1521:
        !          1522: # Be careful to initialize this variable, since it used to be cached.
        !          1523: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
        !          1524: ac_cv_exeext=
        !          1525: for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
        !          1526:                 ls a.out conftest 2>/dev/null;
        !          1527:                 ls a.* conftest.* 2>/dev/null`; do
        !          1528:   case $ac_file in
        !          1529:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
        !          1530:     a.out ) # We found the default executable, but exeext='' is most
        !          1531:             # certainly right.
        !          1532:             break;;
        !          1533:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          1534:           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
        !          1535:           export ac_cv_exeext
        !          1536:           break;;
        !          1537:     * ) break;;
        !          1538:   esac
        !          1539: done
1.1       ohara    1540: else
1.4     ! takayama 1541:   echo "$as_me: failed program was:" >&5
        !          1542: cat conftest.$ac_ext >&5
        !          1543: { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
        !          1544: echo "$as_me: error: C compiler cannot create executables" >&2;}
        !          1545:    { (exit 77); exit 77; }; }
        !          1546: fi
        !          1547:
        !          1548: ac_exeext=$ac_cv_exeext
        !          1549: echo "$as_me:$LINENO: result: $ac_file" >&5
        !          1550: echo "${ECHO_T}$ac_file" >&6
        !          1551:
        !          1552: # Check the compiler produces executables we can run.  If not, either
        !          1553: # the compiler is broken, or we cross compile.
        !          1554: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
        !          1555: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
        !          1556: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
        !          1557: # If not cross compiling, check that we can run a simple program.
        !          1558: if test "$cross_compiling" != yes; then
        !          1559:   if { ac_try='./$ac_file'
        !          1560:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1561:   (eval $ac_try) 2>&5
        !          1562:   ac_status=$?
        !          1563:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1564:   (exit $ac_status); }; }; then
        !          1565:     cross_compiling=no
        !          1566:   else
        !          1567:     if test "$cross_compiling" = maybe; then
        !          1568:        cross_compiling=yes
        !          1569:     else
        !          1570:        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
        !          1571: If you meant to cross compile, use \`--host'." >&5
        !          1572: echo "$as_me: error: cannot run C compiled programs.
        !          1573: If you meant to cross compile, use \`--host'." >&2;}
        !          1574:    { (exit 1); exit 1; }; }
        !          1575:     fi
        !          1576:   fi
1.1       ohara    1577: fi
1.4     ! takayama 1578: echo "$as_me:$LINENO: result: yes" >&5
        !          1579: echo "${ECHO_T}yes" >&6
        !          1580:
        !          1581: rm -f a.out a.exe conftest$ac_cv_exeext
        !          1582: ac_clean_files=$ac_clean_files_save
        !          1583: # Check the compiler produces executables we can run.  If not, either
        !          1584: # the compiler is broken, or we cross compile.
        !          1585: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
        !          1586: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
        !          1587: echo "$as_me:$LINENO: result: $cross_compiling" >&5
        !          1588: echo "${ECHO_T}$cross_compiling" >&6
        !          1589:
        !          1590: echo "$as_me:$LINENO: checking for suffix of executables" >&5
        !          1591: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
        !          1592: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          1593:   (eval $ac_link) 2>&5
        !          1594:   ac_status=$?
        !          1595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1596:   (exit $ac_status); }; then
        !          1597:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
        !          1598: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
        !          1599: # work properly (i.e., refer to `conftest.exe'), while it won't with
        !          1600: # `rm'.
        !          1601: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
        !          1602:   case $ac_file in
        !          1603:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
        !          1604:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          1605:           export ac_cv_exeext
        !          1606:           break;;
        !          1607:     * ) break;;
        !          1608:   esac
        !          1609: done
        !          1610: else
        !          1611:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
        !          1612: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
        !          1613:    { (exit 1); exit 1; }; }
        !          1614: fi
        !          1615:
        !          1616: rm -f conftest$ac_cv_exeext
        !          1617: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
        !          1618: echo "${ECHO_T}$ac_cv_exeext" >&6
        !          1619:
        !          1620: rm -f conftest.$ac_ext
        !          1621: EXEEXT=$ac_cv_exeext
        !          1622: ac_exeext=$EXEEXT
        !          1623: echo "$as_me:$LINENO: checking for suffix of object files" >&5
        !          1624: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
        !          1625: if test "${ac_cv_objext+set}" = set; then
        !          1626:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1627: else
        !          1628:   cat >conftest.$ac_ext <<_ACEOF
        !          1629: #line $LINENO "configure"
        !          1630: #include "confdefs.h"
        !          1631:
        !          1632: #ifdef F77_DUMMY_MAIN
        !          1633: #  ifdef __cplusplus
        !          1634:      extern "C"
        !          1635: #  endif
        !          1636:    int F77_DUMMY_MAIN() { return 1; }
        !          1637: #endif
        !          1638: int
        !          1639: main ()
        !          1640: {
        !          1641:
        !          1642:   ;
        !          1643:   return 0;
        !          1644: }
        !          1645: _ACEOF
        !          1646: rm -f conftest.o conftest.obj
        !          1647: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1648:   (eval $ac_compile) 2>&5
        !          1649:   ac_status=$?
        !          1650:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1651:   (exit $ac_status); }; then
        !          1652:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
        !          1653:   case $ac_file in
        !          1654:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
        !          1655:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        !          1656:        break;;
        !          1657:   esac
        !          1658: done
        !          1659: else
        !          1660:   echo "$as_me: failed program was:" >&5
        !          1661: cat conftest.$ac_ext >&5
        !          1662: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
        !          1663: echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
        !          1664:    { (exit 1); exit 1; }; }
        !          1665: fi
        !          1666:
        !          1667: rm -f conftest.$ac_cv_objext conftest.$ac_ext
        !          1668: fi
        !          1669: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
        !          1670: echo "${ECHO_T}$ac_cv_objext" >&6
        !          1671: OBJEXT=$ac_cv_objext
        !          1672: ac_objext=$OBJEXT
        !          1673: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
        !          1674: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
        !          1675: if test "${ac_cv_c_compiler_gnu+set}" = set; then
        !          1676:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1677: else
        !          1678:   cat >conftest.$ac_ext <<_ACEOF
        !          1679: #line $LINENO "configure"
        !          1680: #include "confdefs.h"
        !          1681:
        !          1682: #ifdef F77_DUMMY_MAIN
        !          1683: #  ifdef __cplusplus
        !          1684:      extern "C"
        !          1685: #  endif
        !          1686:    int F77_DUMMY_MAIN() { return 1; }
        !          1687: #endif
        !          1688: int
        !          1689: main ()
        !          1690: {
        !          1691: #ifndef __GNUC__
        !          1692:        choke me
        !          1693: #endif
1.1       ohara    1694:
1.4     ! takayama 1695:   ;
        !          1696:   return 0;
        !          1697: }
        !          1698: _ACEOF
        !          1699: rm -f conftest.$ac_objext
        !          1700: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1701:   (eval $ac_compile) 2>&5
        !          1702:   ac_status=$?
        !          1703:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1704:   (exit $ac_status); } &&
        !          1705:          { ac_try='test -s conftest.$ac_objext'
        !          1706:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1707:   (eval $ac_try) 2>&5
        !          1708:   ac_status=$?
        !          1709:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1710:   (exit $ac_status); }; }; then
        !          1711:   ac_compiler_gnu=yes
        !          1712: else
        !          1713:   echo "$as_me: failed program was:" >&5
        !          1714: cat conftest.$ac_ext >&5
        !          1715: ac_compiler_gnu=no
        !          1716: fi
        !          1717: rm -f conftest.$ac_objext conftest.$ac_ext
        !          1718: ac_cv_c_compiler_gnu=$ac_compiler_gnu
        !          1719:
        !          1720: fi
        !          1721: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
        !          1722: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
        !          1723: GCC=`test $ac_compiler_gnu = yes && echo yes`
        !          1724: ac_test_CFLAGS=${CFLAGS+set}
        !          1725: ac_save_CFLAGS=$CFLAGS
        !          1726: CFLAGS="-g"
        !          1727: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
        !          1728: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
        !          1729: if test "${ac_cv_prog_cc_g+set}" = set; then
        !          1730:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1731: else
1.4     ! takayama 1732:   cat >conftest.$ac_ext <<_ACEOF
        !          1733: #line $LINENO "configure"
        !          1734: #include "confdefs.h"
        !          1735:
        !          1736: #ifdef F77_DUMMY_MAIN
        !          1737: #  ifdef __cplusplus
        !          1738:      extern "C"
        !          1739: #  endif
        !          1740:    int F77_DUMMY_MAIN() { return 1; }
        !          1741: #endif
        !          1742: int
        !          1743: main ()
        !          1744: {
        !          1745:
        !          1746:   ;
        !          1747:   return 0;
        !          1748: }
        !          1749: _ACEOF
        !          1750: rm -f conftest.$ac_objext
        !          1751: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1752:   (eval $ac_compile) 2>&5
        !          1753:   ac_status=$?
        !          1754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1755:   (exit $ac_status); } &&
        !          1756:          { ac_try='test -s conftest.$ac_objext'
        !          1757:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1758:   (eval $ac_try) 2>&5
        !          1759:   ac_status=$?
        !          1760:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1761:   (exit $ac_status); }; }; then
1.1       ohara    1762:   ac_cv_prog_cc_g=yes
                   1763: else
1.4     ! takayama 1764:   echo "$as_me: failed program was:" >&5
        !          1765: cat conftest.$ac_ext >&5
        !          1766: ac_cv_prog_cc_g=no
1.1       ohara    1767: fi
1.4     ! takayama 1768: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       ohara    1769: fi
1.4     ! takayama 1770: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
        !          1771: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       ohara    1772: if test "$ac_test_CFLAGS" = set; then
1.4     ! takayama 1773:   CFLAGS=$ac_save_CFLAGS
1.1       ohara    1774: elif test $ac_cv_prog_cc_g = yes; then
                   1775:   if test "$GCC" = yes; then
                   1776:     CFLAGS="-g -O2"
                   1777:   else
                   1778:     CFLAGS="-g"
                   1779:   fi
                   1780: else
                   1781:   if test "$GCC" = yes; then
                   1782:     CFLAGS="-O2"
                   1783:   else
                   1784:     CFLAGS=
                   1785:   fi
                   1786: fi
1.4     ! takayama 1787: # Some people use a C++ compiler to compile C.  Since we use `exit',
        !          1788: # in C++ we need to declare it.  In case someone uses the same compiler
        !          1789: # for both compiling C and C++ we need to have the C++ compiler decide
        !          1790: # the declaration of exit, since it's the most demanding environment.
        !          1791: cat >conftest.$ac_ext <<_ACEOF
        !          1792: #ifndef __cplusplus
        !          1793:   choke me
        !          1794: #endif
        !          1795: _ACEOF
        !          1796: rm -f conftest.$ac_objext
        !          1797: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1798:   (eval $ac_compile) 2>&5
        !          1799:   ac_status=$?
        !          1800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1801:   (exit $ac_status); } &&
        !          1802:          { ac_try='test -s conftest.$ac_objext'
        !          1803:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1804:   (eval $ac_try) 2>&5
        !          1805:   ac_status=$?
        !          1806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1807:   (exit $ac_status); }; }; then
        !          1808:   for ac_declaration in \
        !          1809:    ''\
        !          1810:    '#include <stdlib.h>' \
        !          1811:    'extern "C" void std::exit (int) throw (); using std::exit;' \
        !          1812:    'extern "C" void std::exit (int); using std::exit;' \
        !          1813:    'extern "C" void exit (int) throw ();' \
        !          1814:    'extern "C" void exit (int);' \
        !          1815:    'void exit (int);'
        !          1816: do
        !          1817:   cat >conftest.$ac_ext <<_ACEOF
        !          1818: #line $LINENO "configure"
        !          1819: #include "confdefs.h"
        !          1820: #include <stdlib.h>
        !          1821: $ac_declaration
        !          1822: #ifdef F77_DUMMY_MAIN
        !          1823: #  ifdef __cplusplus
        !          1824:      extern "C"
        !          1825: #  endif
        !          1826:    int F77_DUMMY_MAIN() { return 1; }
        !          1827: #endif
        !          1828: int
        !          1829: main ()
        !          1830: {
        !          1831: exit (42);
        !          1832:   ;
        !          1833:   return 0;
        !          1834: }
        !          1835: _ACEOF
        !          1836: rm -f conftest.$ac_objext
        !          1837: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1838:   (eval $ac_compile) 2>&5
        !          1839:   ac_status=$?
        !          1840:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1841:   (exit $ac_status); } &&
        !          1842:          { ac_try='test -s conftest.$ac_objext'
        !          1843:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1844:   (eval $ac_try) 2>&5
        !          1845:   ac_status=$?
        !          1846:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1847:   (exit $ac_status); }; }; then
        !          1848:   :
        !          1849: else
        !          1850:   echo "$as_me: failed program was:" >&5
        !          1851: cat conftest.$ac_ext >&5
        !          1852: continue
        !          1853: fi
        !          1854: rm -f conftest.$ac_objext conftest.$ac_ext
        !          1855:   cat >conftest.$ac_ext <<_ACEOF
        !          1856: #line $LINENO "configure"
        !          1857: #include "confdefs.h"
        !          1858: $ac_declaration
        !          1859: #ifdef F77_DUMMY_MAIN
        !          1860: #  ifdef __cplusplus
        !          1861:      extern "C"
        !          1862: #  endif
        !          1863:    int F77_DUMMY_MAIN() { return 1; }
        !          1864: #endif
        !          1865: int
        !          1866: main ()
        !          1867: {
        !          1868: exit (42);
        !          1869:   ;
        !          1870:   return 0;
        !          1871: }
        !          1872: _ACEOF
        !          1873: rm -f conftest.$ac_objext
        !          1874: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          1875:   (eval $ac_compile) 2>&5
        !          1876:   ac_status=$?
        !          1877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1878:   (exit $ac_status); } &&
        !          1879:          { ac_try='test -s conftest.$ac_objext'
        !          1880:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          1881:   (eval $ac_try) 2>&5
        !          1882:   ac_status=$?
        !          1883:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          1884:   (exit $ac_status); }; }; then
        !          1885:   break
        !          1886: else
        !          1887:   echo "$as_me: failed program was:" >&5
        !          1888: cat conftest.$ac_ext >&5
        !          1889: fi
        !          1890: rm -f conftest.$ac_objext conftest.$ac_ext
        !          1891: done
        !          1892: rm -f conftest*
        !          1893: if test -n "$ac_declaration"; then
        !          1894:   echo '#ifdef __cplusplus' >>confdefs.h
        !          1895:   echo $ac_declaration      >>confdefs.h
        !          1896:   echo '#endif'             >>confdefs.h
        !          1897: fi
1.1       ohara    1898:
1.4     ! takayama 1899: else
        !          1900:   echo "$as_me: failed program was:" >&5
        !          1901: cat conftest.$ac_ext >&5
        !          1902: fi
        !          1903: rm -f conftest.$ac_objext conftest.$ac_ext
        !          1904: ac_ext=c
        !          1905: ac_cpp='$CPP $CPPFLAGS'
        !          1906: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1907: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1908: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1909:
        !          1910: if test -n "$ac_tool_prefix"; then
        !          1911:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          1912: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          1913: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1914: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1915: if test "${ac_cv_prog_RANLIB+set}" = set; then
        !          1916:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    1917: else
                   1918:   if test -n "$RANLIB"; then
                   1919:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1920: else
1.4     ! takayama 1921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1922: for as_dir in $PATH
        !          1923: do
        !          1924:   IFS=$as_save_IFS
        !          1925:   test -z "$as_dir" && as_dir=.
        !          1926:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1927:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1928:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          1929:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1930:     break 2
        !          1931:   fi
        !          1932: done
        !          1933: done
        !          1934:
1.1       ohara    1935: fi
                   1936: fi
1.4     ! takayama 1937: RANLIB=$ac_cv_prog_RANLIB
1.1       ohara    1938: if test -n "$RANLIB"; then
1.4     ! takayama 1939:   echo "$as_me:$LINENO: result: $RANLIB" >&5
        !          1940: echo "${ECHO_T}$RANLIB" >&6
        !          1941: else
        !          1942:   echo "$as_me:$LINENO: result: no" >&5
        !          1943: echo "${ECHO_T}no" >&6
        !          1944: fi
        !          1945:
        !          1946: fi
        !          1947: if test -z "$ac_cv_prog_RANLIB"; then
        !          1948:   ac_ct_RANLIB=$RANLIB
        !          1949:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          1950: set dummy ranlib; ac_word=$2
        !          1951: echo "$as_me:$LINENO: checking for $ac_word" >&5
        !          1952: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          1953: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
        !          1954:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          1955: else
        !          1956:   if test -n "$ac_ct_RANLIB"; then
        !          1957:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          1958: else
        !          1959: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          1960: for as_dir in $PATH
        !          1961: do
        !          1962:   IFS=$as_save_IFS
        !          1963:   test -z "$as_dir" && as_dir=.
        !          1964:   for ac_exec_ext in '' $ac_executable_extensions; do
        !          1965:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          1966:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          1967:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          1968:     break 2
        !          1969:   fi
        !          1970: done
        !          1971: done
        !          1972:
        !          1973:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
        !          1974: fi
        !          1975: fi
        !          1976: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          1977: if test -n "$ac_ct_RANLIB"; then
        !          1978:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
        !          1979: echo "${ECHO_T}$ac_ct_RANLIB" >&6
        !          1980: else
        !          1981:   echo "$as_me:$LINENO: result: no" >&5
        !          1982: echo "${ECHO_T}no" >&6
        !          1983: fi
        !          1984:
        !          1985:   RANLIB=$ac_ct_RANLIB
1.1       ohara    1986: else
1.4     ! takayama 1987:   RANLIB="$ac_cv_prog_RANLIB"
1.1       ohara    1988: fi
                   1989:
1.4     ! takayama 1990:
        !          1991: ac_ext=c
        !          1992: ac_cpp='$CPP $CPPFLAGS'
        !          1993: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1994: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1995: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1996: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
        !          1997: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       ohara    1998: # On Suns, sometimes $CPP names a directory.
                   1999: if test -n "$CPP" && test -d "$CPP"; then
                   2000:   CPP=
                   2001: fi
                   2002: if test -z "$CPP"; then
1.4     ! takayama 2003:   if test "${ac_cv_prog_CPP+set}" = set; then
        !          2004:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2005: else
1.4     ! takayama 2006:       # Double quotes because CPP needs to be expanded
        !          2007:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          2008:     do
        !          2009:       ac_preproc_ok=false
        !          2010: for ac_c_preproc_warn_flag in '' yes
        !          2011: do
        !          2012:   # Use a header file that comes with gcc, so configuring glibc
        !          2013:   # with a fresh cross-compiler works.
1.1       ohara    2014:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.4     ! takayama 2015:   # not just through cpp. "Syntax error" is here to catch this case.
        !          2016:   cat >conftest.$ac_ext <<_ACEOF
        !          2017: #line $LINENO "configure"
1.1       ohara    2018: #include "confdefs.h"
                   2019: #include <assert.h>
1.4     ! takayama 2020:                      Syntax error
        !          2021: _ACEOF
        !          2022: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2023:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2024:   ac_status=$?
        !          2025:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          2026:   rm -f conftest.er1
        !          2027:   cat conftest.err >&5
        !          2028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2029:   (exit $ac_status); } >/dev/null; then
        !          2030:   if test -s conftest.err; then
        !          2031:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2032:   else
        !          2033:     ac_cpp_err=
        !          2034:   fi
        !          2035: else
        !          2036:   ac_cpp_err=yes
        !          2037: fi
        !          2038: if test -z "$ac_cpp_err"; then
1.1       ohara    2039:   :
                   2040: else
1.4     ! takayama 2041:   echo "$as_me: failed program was:" >&5
1.1       ohara    2042:   cat conftest.$ac_ext >&5
1.4     ! takayama 2043:   # Broken: fails on valid input.
        !          2044: continue
        !          2045: fi
        !          2046: rm -f conftest.err conftest.$ac_ext
        !          2047:
        !          2048:   # OK, works on sane cases.  Now check whether non-existent headers
        !          2049:   # can be detected and how.
        !          2050:   cat >conftest.$ac_ext <<_ACEOF
        !          2051: #line $LINENO "configure"
1.1       ohara    2052: #include "confdefs.h"
1.4     ! takayama 2053: #include <ac_nonexistent.h>
        !          2054: _ACEOF
        !          2055: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2056:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2057:   ac_status=$?
        !          2058:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          2059:   rm -f conftest.er1
        !          2060:   cat conftest.err >&5
        !          2061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2062:   (exit $ac_status); } >/dev/null; then
        !          2063:   if test -s conftest.err; then
        !          2064:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2065:   else
        !          2066:     ac_cpp_err=
        !          2067:   fi
        !          2068: else
        !          2069:   ac_cpp_err=yes
        !          2070: fi
        !          2071: if test -z "$ac_cpp_err"; then
        !          2072:   # Broken: success on invalid input.
        !          2073: continue
1.1       ohara    2074: else
1.4     ! takayama 2075:   echo "$as_me: failed program was:" >&5
1.1       ohara    2076:   cat conftest.$ac_ext >&5
1.4     ! takayama 2077:   # Passes both tests.
        !          2078: ac_preproc_ok=:
        !          2079: break
        !          2080: fi
        !          2081: rm -f conftest.err conftest.$ac_ext
        !          2082:
        !          2083: done
        !          2084: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          2085: rm -f conftest.err conftest.$ac_ext
        !          2086: if $ac_preproc_ok; then
        !          2087:   break
        !          2088: fi
        !          2089:
        !          2090:     done
        !          2091:     ac_cv_prog_CPP=$CPP
        !          2092:
        !          2093: fi
        !          2094:   CPP=$ac_cv_prog_CPP
        !          2095: else
        !          2096:   ac_cv_prog_CPP=$CPP
        !          2097: fi
        !          2098: echo "$as_me:$LINENO: result: $CPP" >&5
        !          2099: echo "${ECHO_T}$CPP" >&6
        !          2100: ac_preproc_ok=false
        !          2101: for ac_c_preproc_warn_flag in '' yes
        !          2102: do
        !          2103:   # Use a header file that comes with gcc, so configuring glibc
        !          2104:   # with a fresh cross-compiler works.
        !          2105:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          2106:   # not just through cpp. "Syntax error" is here to catch this case.
        !          2107:   cat >conftest.$ac_ext <<_ACEOF
        !          2108: #line $LINENO "configure"
1.1       ohara    2109: #include "confdefs.h"
                   2110: #include <assert.h>
1.4     ! takayama 2111:                      Syntax error
        !          2112: _ACEOF
        !          2113: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2114:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2115:   ac_status=$?
        !          2116:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          2117:   rm -f conftest.er1
        !          2118:   cat conftest.err >&5
        !          2119:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2120:   (exit $ac_status); } >/dev/null; then
        !          2121:   if test -s conftest.err; then
        !          2122:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2123:   else
        !          2124:     ac_cpp_err=
        !          2125:   fi
        !          2126: else
        !          2127:   ac_cpp_err=yes
        !          2128: fi
        !          2129: if test -z "$ac_cpp_err"; then
1.1       ohara    2130:   :
                   2131: else
1.4     ! takayama 2132:   echo "$as_me: failed program was:" >&5
1.1       ohara    2133:   cat conftest.$ac_ext >&5
1.4     ! takayama 2134:   # Broken: fails on valid input.
        !          2135: continue
1.1       ohara    2136: fi
1.4     ! takayama 2137: rm -f conftest.err conftest.$ac_ext
        !          2138:
        !          2139:   # OK, works on sane cases.  Now check whether non-existent headers
        !          2140:   # can be detected and how.
        !          2141:   cat >conftest.$ac_ext <<_ACEOF
        !          2142: #line $LINENO "configure"
        !          2143: #include "confdefs.h"
        !          2144: #include <ac_nonexistent.h>
        !          2145: _ACEOF
        !          2146: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2147:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2148:   ac_status=$?
        !          2149:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          2150:   rm -f conftest.er1
        !          2151:   cat conftest.err >&5
        !          2152:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2153:   (exit $ac_status); } >/dev/null; then
        !          2154:   if test -s conftest.err; then
        !          2155:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2156:   else
        !          2157:     ac_cpp_err=
        !          2158:   fi
        !          2159: else
        !          2160:   ac_cpp_err=yes
1.1       ohara    2161: fi
1.4     ! takayama 2162: if test -z "$ac_cpp_err"; then
        !          2163:   # Broken: success on invalid input.
        !          2164: continue
        !          2165: else
        !          2166:   echo "$as_me: failed program was:" >&5
        !          2167:   cat conftest.$ac_ext >&5
        !          2168:   # Passes both tests.
        !          2169: ac_preproc_ok=:
        !          2170: break
1.1       ohara    2171: fi
1.4     ! takayama 2172: rm -f conftest.err conftest.$ac_ext
        !          2173:
        !          2174: done
        !          2175: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          2176: rm -f conftest.err conftest.$ac_ext
        !          2177: if $ac_preproc_ok; then
        !          2178:   :
1.1       ohara    2179: else
1.4     ! takayama 2180:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
        !          2181: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
        !          2182:    { (exit 1); exit 1; }; }
1.1       ohara    2183: fi
                   2184:
1.4     ! takayama 2185: ac_ext=c
        !          2186: ac_cpp='$CPP $CPPFLAGS'
        !          2187: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2188: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2189: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2190:
        !          2191:
        !          2192: echo "$as_me:$LINENO: checking for X" >&5
        !          2193: echo $ECHO_N "checking for X... $ECHO_C" >&6
        !          2194:
1.1       ohara    2195:
                   2196: # Check whether --with-x or --without-x was given.
                   2197: if test "${with_x+set}" = set; then
                   2198:   withval="$with_x"
                   2199:
1.4     ! takayama 2200: fi;
1.1       ohara    2201: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
                   2202: if test "x$with_x" = xno; then
                   2203:   # The user explicitly disabled X.
                   2204:   have_x=disabled
                   2205: else
                   2206:   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
                   2207:     # Both variables are already set.
                   2208:     have_x=yes
                   2209:   else
1.4     ! takayama 2210:     if test "${ac_cv_have_x+set}" = set; then
        !          2211:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2212: else
                   2213:   # One or both of the vars are not set, and there is no cached value.
1.4     ! takayama 2214: ac_x_includes=no ac_x_libraries=no
        !          2215: rm -fr conftest.dir
        !          2216: if mkdir conftest.dir; then
        !          2217:   cd conftest.dir
1.1       ohara    2218:   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1.4     ! takayama 2219:   cat >Imakefile <<'_ACEOF'
1.1       ohara    2220: acfindx:
                   2221:        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1.4     ! takayama 2222: _ACEOF
1.1       ohara    2223:   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
                   2224:     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   2225:     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
                   2226:     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
                   2227:     for ac_extension in a so sl; do
                   2228:       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
1.4     ! takayama 2229:          test -f $ac_im_libdir/libX11.$ac_extension; then
1.1       ohara    2230:         ac_im_usrlibdir=$ac_im_libdir; break
                   2231:       fi
                   2232:     done
                   2233:     # Screen out bogus values from the imake configuration.  They are
                   2234:     # bogus both because they are the default anyway, and because
                   2235:     # using them would break gcc on systems where it needs fixed includes.
1.4     ! takayama 2236:     case $ac_im_incroot in
1.1       ohara    2237:        /usr/include) ;;
1.4     ! takayama 2238:        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
1.1       ohara    2239:     esac
1.4     ! takayama 2240:     case $ac_im_usrlibdir in
1.1       ohara    2241:        /usr/lib | /lib) ;;
1.4     ! takayama 2242:        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
1.1       ohara    2243:     esac
                   2244:   fi
                   2245:   cd ..
1.4     ! takayama 2246:   rm -fr conftest.dir
1.1       ohara    2247: fi
                   2248:
1.4     ! takayama 2249: # Standard set of common directories for X headers.
        !          2250: # Check X11 before X11Rn because it is often a symlink to the current release.
        !          2251: ac_x_header_dirs='
        !          2252: /usr/X11/include
        !          2253: /usr/X11R6/include
        !          2254: /usr/X11R5/include
        !          2255: /usr/X11R4/include
        !          2256:
        !          2257: /usr/include/X11
        !          2258: /usr/include/X11R6
        !          2259: /usr/include/X11R5
        !          2260: /usr/include/X11R4
        !          2261:
        !          2262: /usr/local/X11/include
        !          2263: /usr/local/X11R6/include
        !          2264: /usr/local/X11R5/include
        !          2265: /usr/local/X11R4/include
        !          2266:
        !          2267: /usr/local/include/X11
        !          2268: /usr/local/include/X11R6
        !          2269: /usr/local/include/X11R5
        !          2270: /usr/local/include/X11R4
        !          2271:
        !          2272: /usr/X386/include
        !          2273: /usr/x386/include
        !          2274: /usr/XFree86/include/X11
        !          2275:
        !          2276: /usr/include
        !          2277: /usr/local/include
        !          2278: /usr/unsupported/include
        !          2279: /usr/athena/include
        !          2280: /usr/local/x11r5/include
        !          2281: /usr/lpp/Xamples/include
        !          2282:
        !          2283: /usr/openwin/include
        !          2284: /usr/openwin/share/include'
1.1       ohara    2285:
1.4     ! takayama 2286: if test "$ac_x_includes" = no; then
        !          2287:   # Guess where to find include files, by looking for Intrinsic.h.
1.1       ohara    2288:   # First, try using that file with no special directory specified.
1.4     ! takayama 2289:   cat >conftest.$ac_ext <<_ACEOF
        !          2290: #line $LINENO "configure"
1.1       ohara    2291: #include "confdefs.h"
1.4     ! takayama 2292: #include <X11/Intrinsic.h>
        !          2293: _ACEOF
        !          2294: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          2295:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          2296:   ac_status=$?
        !          2297:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          2298:   rm -f conftest.er1
        !          2299:   cat conftest.err >&5
        !          2300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2301:   (exit $ac_status); } >/dev/null; then
        !          2302:   if test -s conftest.err; then
        !          2303:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          2304:   else
        !          2305:     ac_cpp_err=
        !          2306:   fi
        !          2307: else
        !          2308:   ac_cpp_err=yes
        !          2309: fi
        !          2310: if test -z "$ac_cpp_err"; then
1.1       ohara    2311:   # We can compile using X headers with no special include directory.
                   2312: ac_x_includes=
                   2313: else
1.4     ! takayama 2314:   echo "$as_me: failed program was:" >&5
1.1       ohara    2315:   cat conftest.$ac_ext >&5
1.4     ! takayama 2316:   for ac_dir in $ac_x_header_dirs; do
        !          2317:   if test -r "$ac_dir/X11/Intrinsic.h"; then
        !          2318:     ac_x_includes=$ac_dir
        !          2319:     break
        !          2320:   fi
        !          2321: done
1.1       ohara    2322: fi
1.4     ! takayama 2323: rm -f conftest.err conftest.$ac_ext
        !          2324: fi # $ac_x_includes = no
1.1       ohara    2325:
1.4     ! takayama 2326: if test "$ac_x_libraries" = no; then
1.1       ohara    2327:   # Check for the libraries.
                   2328:   # See if we find them without any special options.
                   2329:   # Don't add to $LIBS permanently.
1.4     ! takayama 2330:   ac_save_LIBS=$LIBS
        !          2331:   LIBS="-lXt $LIBS"
        !          2332:   cat >conftest.$ac_ext <<_ACEOF
        !          2333: #line $LINENO "configure"
1.1       ohara    2334: #include "confdefs.h"
1.4     ! takayama 2335: #include <X11/Intrinsic.h>
        !          2336: #ifdef F77_DUMMY_MAIN
        !          2337: #  ifdef __cplusplus
        !          2338:      extern "C"
        !          2339: #  endif
        !          2340:    int F77_DUMMY_MAIN() { return 1; }
        !          2341: #endif
        !          2342: int
        !          2343: main ()
        !          2344: {
        !          2345: XtMalloc (0)
        !          2346:   ;
        !          2347:   return 0;
        !          2348: }
        !          2349: _ACEOF
        !          2350: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2351: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2352:   (eval $ac_link) 2>&5
        !          2353:   ac_status=$?
        !          2354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2355:   (exit $ac_status); } &&
        !          2356:          { ac_try='test -s conftest$ac_exeext'
        !          2357:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2358:   (eval $ac_try) 2>&5
        !          2359:   ac_status=$?
        !          2360:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2361:   (exit $ac_status); }; }; then
        !          2362:   LIBS=$ac_save_LIBS
1.1       ohara    2363: # We can link X programs with no special library path.
                   2364: ac_x_libraries=
                   2365: else
1.4     ! takayama 2366:   echo "$as_me: failed program was:" >&5
        !          2367: cat conftest.$ac_ext >&5
        !          2368: LIBS=$ac_save_LIBS
        !          2369: for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1       ohara    2370: do
1.4     ! takayama 2371:   # Don't even attempt the hair of trying to link an X program!
1.1       ohara    2372:   for ac_extension in a so sl; do
1.4     ! takayama 2373:     if test -r $ac_dir/libXt.$ac_extension; then
1.1       ohara    2374:       ac_x_libraries=$ac_dir
                   2375:       break 2
                   2376:     fi
                   2377:   done
                   2378: done
                   2379: fi
1.4     ! takayama 2380: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2381: fi # $ac_x_libraries = no
1.1       ohara    2382:
1.4     ! takayama 2383: if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
1.1       ohara    2384:   # Didn't find X anywhere.  Cache the known absence of X.
                   2385:   ac_cv_have_x="have_x=no"
                   2386: else
                   2387:   # Record where we found X for the cache.
                   2388:   ac_cv_have_x="have_x=yes \
                   2389:                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
                   2390: fi
                   2391: fi
1.4     ! takayama 2392:
1.1       ohara    2393:   fi
                   2394:   eval "$ac_cv_have_x"
                   2395: fi # $with_x != no
                   2396:
                   2397: if test "$have_x" != yes; then
1.4     ! takayama 2398:   echo "$as_me:$LINENO: result: $have_x" >&5
        !          2399: echo "${ECHO_T}$have_x" >&6
1.1       ohara    2400:   no_x=yes
                   2401: else
                   2402:   # If each of the values was on the command line, it overrides each guess.
                   2403:   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
                   2404:   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
                   2405:   # Update the cache value to reflect the command line values.
                   2406:   ac_cv_have_x="have_x=yes \
                   2407:                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1.4     ! takayama 2408:   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
        !          2409: echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
1.1       ohara    2410: fi
                   2411:
                   2412: if test "$no_x" = yes; then
                   2413:   # Not all programs may use this symbol, but it does not hurt to define it.
1.4     ! takayama 2414:
        !          2415: cat >>confdefs.h <<\_ACEOF
1.1       ohara    2416: #define X_DISPLAY_MISSING 1
1.4     ! takayama 2417: _ACEOF
1.1       ohara    2418:
                   2419:   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
                   2420: else
                   2421:   if test -n "$x_includes"; then
                   2422:     X_CFLAGS="$X_CFLAGS -I$x_includes"
                   2423:   fi
                   2424:
                   2425:   # It would also be nice to do this for all -L options, not just this one.
                   2426:   if test -n "$x_libraries"; then
                   2427:     X_LIBS="$X_LIBS -L$x_libraries"
                   2428:     # For Solaris; some versions of Sun CC require a space after -R and
                   2429:     # others require no space.  Words are not sufficient . . . .
1.4     ! takayama 2430:     case `(uname -sr) 2>/dev/null` in
1.1       ohara    2431:     "SunOS 5"*)
1.4     ! takayama 2432:       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
        !          2433: echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
        !          2434:       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
        !          2435:       cat >conftest.$ac_ext <<_ACEOF
        !          2436: #line $LINENO "configure"
1.1       ohara    2437: #include "confdefs.h"
                   2438:
1.4     ! takayama 2439: #ifdef F77_DUMMY_MAIN
        !          2440: #  ifdef __cplusplus
        !          2441:      extern "C"
        !          2442: #  endif
        !          2443:    int F77_DUMMY_MAIN() { return 1; }
        !          2444: #endif
        !          2445: int
        !          2446: main ()
        !          2447: {
        !          2448:
        !          2449:   ;
        !          2450:   return 0;
        !          2451: }
        !          2452: _ACEOF
        !          2453: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2454: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2455:   (eval $ac_link) 2>&5
        !          2456:   ac_status=$?
        !          2457:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2458:   (exit $ac_status); } &&
        !          2459:          { ac_try='test -s conftest$ac_exeext'
        !          2460:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2461:   (eval $ac_try) 2>&5
        !          2462:   ac_status=$?
        !          2463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2464:   (exit $ac_status); }; }; then
1.1       ohara    2465:   ac_R_nospace=yes
                   2466: else
1.4     ! takayama 2467:   echo "$as_me: failed program was:" >&5
        !          2468: cat conftest.$ac_ext >&5
        !          2469: ac_R_nospace=no
1.1       ohara    2470: fi
1.4     ! takayama 2471: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2472:       if test $ac_R_nospace = yes; then
1.4     ! takayama 2473:        echo "$as_me:$LINENO: result: no" >&5
        !          2474: echo "${ECHO_T}no" >&6
1.1       ohara    2475:        X_LIBS="$X_LIBS -R$x_libraries"
                   2476:       else
                   2477:        LIBS="$ac_xsave_LIBS -R $x_libraries"
1.4     ! takayama 2478:        cat >conftest.$ac_ext <<_ACEOF
        !          2479: #line $LINENO "configure"
1.1       ohara    2480: #include "confdefs.h"
                   2481:
1.4     ! takayama 2482: #ifdef F77_DUMMY_MAIN
        !          2483: #  ifdef __cplusplus
        !          2484:      extern "C"
        !          2485: #  endif
        !          2486:    int F77_DUMMY_MAIN() { return 1; }
        !          2487: #endif
        !          2488: int
        !          2489: main ()
        !          2490: {
        !          2491:
        !          2492:   ;
        !          2493:   return 0;
        !          2494: }
        !          2495: _ACEOF
        !          2496: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2497: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2498:   (eval $ac_link) 2>&5
        !          2499:   ac_status=$?
        !          2500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2501:   (exit $ac_status); } &&
        !          2502:          { ac_try='test -s conftest$ac_exeext'
        !          2503:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2504:   (eval $ac_try) 2>&5
        !          2505:   ac_status=$?
        !          2506:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2507:   (exit $ac_status); }; }; then
1.1       ohara    2508:   ac_R_space=yes
                   2509: else
1.4     ! takayama 2510:   echo "$as_me: failed program was:" >&5
        !          2511: cat conftest.$ac_ext >&5
        !          2512: ac_R_space=no
1.1       ohara    2513: fi
1.4     ! takayama 2514: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2515:        if test $ac_R_space = yes; then
1.4     ! takayama 2516:          echo "$as_me:$LINENO: result: yes" >&5
        !          2517: echo "${ECHO_T}yes" >&6
1.1       ohara    2518:          X_LIBS="$X_LIBS -R $x_libraries"
                   2519:        else
1.4     ! takayama 2520:          echo "$as_me:$LINENO: result: neither works" >&5
        !          2521: echo "${ECHO_T}neither works" >&6
1.1       ohara    2522:        fi
                   2523:       fi
1.4     ! takayama 2524:       LIBS=$ac_xsave_LIBS
1.1       ohara    2525:     esac
                   2526:   fi
                   2527:
                   2528:   # Check for system-dependent libraries X programs must link with.
                   2529:   # Do this before checking for the system-independent R6 libraries
                   2530:   # (-lICE), since we may need -lsocket or whatever for X linking.
                   2531:
                   2532:   if test "$ISC" = yes; then
                   2533:     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
                   2534:   else
1.4     ! takayama 2535:     # Martyn Johnson says this is needed for Ultrix, if the X
        !          2536:     # libraries were built with DECnet support.  And Karl Berry says
1.1       ohara    2537:     # the Alpha needs dnet_stub (dnet does not exist).
1.4     ! takayama 2538:     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
        !          2539:     cat >conftest.$ac_ext <<_ACEOF
        !          2540: #line $LINENO "configure"
        !          2541: #include "confdefs.h"
        !          2542:
        !          2543: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2544: #ifdef __cplusplus
        !          2545: extern "C"
        !          2546: #endif
        !          2547: /* We use char because int might match the return type of a gcc2
        !          2548:    builtin and then its argument prototype would still apply.  */
        !          2549: char XOpenDisplay ();
        !          2550: #ifdef F77_DUMMY_MAIN
        !          2551: #  ifdef __cplusplus
        !          2552:      extern "C"
        !          2553: #  endif
        !          2554:    int F77_DUMMY_MAIN() { return 1; }
        !          2555: #endif
        !          2556: int
        !          2557: main ()
        !          2558: {
        !          2559: XOpenDisplay ();
        !          2560:   ;
        !          2561:   return 0;
        !          2562: }
        !          2563: _ACEOF
        !          2564: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2565: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2566:   (eval $ac_link) 2>&5
        !          2567:   ac_status=$?
        !          2568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2569:   (exit $ac_status); } &&
        !          2570:          { ac_try='test -s conftest$ac_exeext'
        !          2571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2572:   (eval $ac_try) 2>&5
        !          2573:   ac_status=$?
        !          2574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2575:   (exit $ac_status); }; }; then
        !          2576:   :
1.1       ohara    2577: else
1.4     ! takayama 2578:   echo "$as_me: failed program was:" >&5
        !          2579: cat conftest.$ac_ext >&5
        !          2580: echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
        !          2581: echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
        !          2582: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
        !          2583:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2584: else
        !          2585:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2586: LIBS="-ldnet  $LIBS"
1.4     ! takayama 2587: cat >conftest.$ac_ext <<_ACEOF
        !          2588: #line $LINENO "configure"
1.1       ohara    2589: #include "confdefs.h"
1.4     ! takayama 2590:
1.1       ohara    2591: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2592: #ifdef __cplusplus
        !          2593: extern "C"
        !          2594: #endif
1.1       ohara    2595: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2596:    builtin and then its argument prototype would still apply.  */
        !          2597: char dnet_ntoa ();
        !          2598: #ifdef F77_DUMMY_MAIN
        !          2599: #  ifdef __cplusplus
        !          2600:      extern "C"
        !          2601: #  endif
        !          2602:    int F77_DUMMY_MAIN() { return 1; }
        !          2603: #endif
        !          2604: int
        !          2605: main ()
        !          2606: {
        !          2607: dnet_ntoa ();
        !          2608:   ;
        !          2609:   return 0;
        !          2610: }
        !          2611: _ACEOF
        !          2612: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2613: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2614:   (eval $ac_link) 2>&5
        !          2615:   ac_status=$?
        !          2616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2617:   (exit $ac_status); } &&
        !          2618:          { ac_try='test -s conftest$ac_exeext'
        !          2619:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2620:   (eval $ac_try) 2>&5
        !          2621:   ac_status=$?
        !          2622:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2623:   (exit $ac_status); }; }; then
        !          2624:   ac_cv_lib_dnet_dnet_ntoa=yes
        !          2625: else
        !          2626:   echo "$as_me: failed program was:" >&5
        !          2627: cat conftest.$ac_ext >&5
        !          2628: ac_cv_lib_dnet_dnet_ntoa=no
        !          2629: fi
        !          2630: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2631: LIBS=$ac_check_lib_save_LIBS
        !          2632: fi
        !          2633: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
        !          2634: echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
        !          2635: if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
1.1       ohara    2636:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
                   2637: fi
                   2638:
                   2639:     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.4     ! takayama 2640:       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
        !          2641: echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
        !          2642: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
        !          2643:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2644: else
1.4     ! takayama 2645:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2646: LIBS="-ldnet_stub  $LIBS"
1.4     ! takayama 2647: cat >conftest.$ac_ext <<_ACEOF
        !          2648: #line $LINENO "configure"
1.1       ohara    2649: #include "confdefs.h"
1.4     ! takayama 2650:
1.1       ohara    2651: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2652: #ifdef __cplusplus
        !          2653: extern "C"
        !          2654: #endif
1.1       ohara    2655: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2656:    builtin and then its argument prototype would still apply.  */
        !          2657: char dnet_ntoa ();
        !          2658: #ifdef F77_DUMMY_MAIN
        !          2659: #  ifdef __cplusplus
        !          2660:      extern "C"
        !          2661: #  endif
        !          2662:    int F77_DUMMY_MAIN() { return 1; }
        !          2663: #endif
        !          2664: int
        !          2665: main ()
        !          2666: {
        !          2667: dnet_ntoa ();
        !          2668:   ;
        !          2669:   return 0;
        !          2670: }
        !          2671: _ACEOF
        !          2672: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2673: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2674:   (eval $ac_link) 2>&5
        !          2675:   ac_status=$?
        !          2676:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2677:   (exit $ac_status); } &&
        !          2678:          { ac_try='test -s conftest$ac_exeext'
        !          2679:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2680:   (eval $ac_try) 2>&5
        !          2681:   ac_status=$?
        !          2682:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2683:   (exit $ac_status); }; }; then
        !          2684:   ac_cv_lib_dnet_stub_dnet_ntoa=yes
        !          2685: else
        !          2686:   echo "$as_me: failed program was:" >&5
        !          2687: cat conftest.$ac_ext >&5
        !          2688: ac_cv_lib_dnet_stub_dnet_ntoa=no
        !          2689: fi
        !          2690: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2691: LIBS=$ac_check_lib_save_LIBS
        !          2692: fi
        !          2693: echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
        !          2694: echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
        !          2695: if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
1.1       ohara    2696:   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
                   2697: fi
                   2698:
                   2699:     fi
1.4     ! takayama 2700: fi
        !          2701: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2702:     LIBS="$ac_xsave_LIBS"
1.1       ohara    2703:
                   2704:     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
                   2705:     # to get the SysV transport functions.
1.4     ! takayama 2706:     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
1.1       ohara    2707:     # needs -lnsl.
                   2708:     # The nsl library prevents programs from opening the X display
1.4     ! takayama 2709:     # on Irix 5.2, according to T.E. Dickey.
        !          2710:     # The functions gethostbyname, getservbyname, and inet_addr are
        !          2711:     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
        !          2712:     echo "$as_me:$LINENO: checking for gethostbyname" >&5
        !          2713: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
        !          2714: if test "${ac_cv_func_gethostbyname+set}" = set; then
        !          2715:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2716: else
1.4     ! takayama 2717:   cat >conftest.$ac_ext <<_ACEOF
        !          2718: #line $LINENO "configure"
1.1       ohara    2719: #include "confdefs.h"
                   2720: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 2721:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    2722: #include <assert.h>
                   2723: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2724: #ifdef __cplusplus
        !          2725: extern "C"
        !          2726: #endif
1.1       ohara    2727: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2728:    builtin and then its argument prototype would still apply.  */
        !          2729: char gethostbyname ();
        !          2730: char (*f) ();
        !          2731:
        !          2732: #ifdef F77_DUMMY_MAIN
        !          2733: #  ifdef __cplusplus
        !          2734:      extern "C"
        !          2735: #  endif
        !          2736:    int F77_DUMMY_MAIN() { return 1; }
        !          2737: #endif
        !          2738: int
        !          2739: main ()
        !          2740: {
1.1       ohara    2741: /* The GNU C library defines this for functions which it implements
                   2742:     to always fail with ENOSYS.  Some functions are actually named
                   2743:     something starting with __ and the normal name is an alias.  */
                   2744: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   2745: choke me
                   2746: #else
1.4     ! takayama 2747: f = gethostbyname;
1.1       ohara    2748: #endif
                   2749:
1.4     ! takayama 2750:   ;
        !          2751:   return 0;
        !          2752: }
        !          2753: _ACEOF
        !          2754: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2755: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2756:   (eval $ac_link) 2>&5
        !          2757:   ac_status=$?
        !          2758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2759:   (exit $ac_status); } &&
        !          2760:          { ac_try='test -s conftest$ac_exeext'
        !          2761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2762:   (eval $ac_try) 2>&5
        !          2763:   ac_status=$?
        !          2764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2765:   (exit $ac_status); }; }; then
        !          2766:   ac_cv_func_gethostbyname=yes
        !          2767: else
        !          2768:   echo "$as_me: failed program was:" >&5
        !          2769: cat conftest.$ac_ext >&5
        !          2770: ac_cv_func_gethostbyname=no
1.1       ohara    2771: fi
1.4     ! takayama 2772: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2773: fi
1.4     ! takayama 2774: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
        !          2775: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
1.1       ohara    2776:
                   2777:     if test $ac_cv_func_gethostbyname = no; then
1.4     ! takayama 2778:       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
        !          2779: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
        !          2780: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
        !          2781:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2782: else
1.4     ! takayama 2783:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2784: LIBS="-lnsl  $LIBS"
1.4     ! takayama 2785: cat >conftest.$ac_ext <<_ACEOF
        !          2786: #line $LINENO "configure"
1.1       ohara    2787: #include "confdefs.h"
1.4     ! takayama 2788:
1.1       ohara    2789: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2790: #ifdef __cplusplus
        !          2791: extern "C"
        !          2792: #endif
1.1       ohara    2793: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2794:    builtin and then its argument prototype would still apply.  */
        !          2795: char gethostbyname ();
        !          2796: #ifdef F77_DUMMY_MAIN
        !          2797: #  ifdef __cplusplus
        !          2798:      extern "C"
        !          2799: #  endif
        !          2800:    int F77_DUMMY_MAIN() { return 1; }
        !          2801: #endif
        !          2802: int
        !          2803: main ()
        !          2804: {
        !          2805: gethostbyname ();
        !          2806:   ;
        !          2807:   return 0;
        !          2808: }
        !          2809: _ACEOF
        !          2810: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2811: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2812:   (eval $ac_link) 2>&5
        !          2813:   ac_status=$?
        !          2814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2815:   (exit $ac_status); } &&
        !          2816:          { ac_try='test -s conftest$ac_exeext'
        !          2817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2818:   (eval $ac_try) 2>&5
        !          2819:   ac_status=$?
        !          2820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2821:   (exit $ac_status); }; }; then
        !          2822:   ac_cv_lib_nsl_gethostbyname=yes
        !          2823: else
        !          2824:   echo "$as_me: failed program was:" >&5
        !          2825: cat conftest.$ac_ext >&5
        !          2826: ac_cv_lib_nsl_gethostbyname=no
        !          2827: fi
        !          2828: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2829: LIBS=$ac_check_lib_save_LIBS
        !          2830: fi
        !          2831: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          2832: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
        !          2833: if test $ac_cv_lib_nsl_gethostbyname = yes; then
        !          2834:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
        !          2835: fi
1.1       ohara    2836:
1.4     ! takayama 2837:       if test $ac_cv_lib_nsl_gethostbyname = no; then
        !          2838:         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
        !          2839: echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
        !          2840: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
        !          2841:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2842: else
        !          2843:   ac_check_lib_save_LIBS=$LIBS
        !          2844: LIBS="-lbsd  $LIBS"
        !          2845: cat >conftest.$ac_ext <<_ACEOF
        !          2846: #line $LINENO "configure"
        !          2847: #include "confdefs.h"
1.1       ohara    2848:
1.4     ! takayama 2849: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2850: #ifdef __cplusplus
        !          2851: extern "C"
        !          2852: #endif
        !          2853: /* We use char because int might match the return type of a gcc2
        !          2854:    builtin and then its argument prototype would still apply.  */
        !          2855: char gethostbyname ();
        !          2856: #ifdef F77_DUMMY_MAIN
        !          2857: #  ifdef __cplusplus
        !          2858:      extern "C"
        !          2859: #  endif
        !          2860:    int F77_DUMMY_MAIN() { return 1; }
        !          2861: #endif
        !          2862: int
        !          2863: main ()
        !          2864: {
        !          2865: gethostbyname ();
        !          2866:   ;
        !          2867:   return 0;
        !          2868: }
        !          2869: _ACEOF
        !          2870: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2871: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2872:   (eval $ac_link) 2>&5
        !          2873:   ac_status=$?
        !          2874:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2875:   (exit $ac_status); } &&
        !          2876:          { ac_try='test -s conftest$ac_exeext'
        !          2877:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2878:   (eval $ac_try) 2>&5
        !          2879:   ac_status=$?
        !          2880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2881:   (exit $ac_status); }; }; then
        !          2882:   ac_cv_lib_bsd_gethostbyname=yes
        !          2883: else
        !          2884:   echo "$as_me: failed program was:" >&5
        !          2885: cat conftest.$ac_ext >&5
        !          2886: ac_cv_lib_bsd_gethostbyname=no
        !          2887: fi
        !          2888: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          2889: LIBS=$ac_check_lib_save_LIBS
        !          2890: fi
        !          2891: echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
        !          2892: echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
        !          2893: if test $ac_cv_lib_bsd_gethostbyname = yes; then
        !          2894:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1       ohara    2895: fi
                   2896:
1.4     ! takayama 2897:       fi
1.1       ohara    2898:     fi
                   2899:
                   2900:     # lieder@skyler.mavd.honeywell.com says without -lsocket,
                   2901:     # socket/setsockopt and other routines are undefined under SCO ODT
                   2902:     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
1.4     ! takayama 2903:     # on later versions), says Simon Leinen: it contains gethostby*
        !          2904:     # variants that don't use the nameserver (or something).  -lsocket
        !          2905:     # must be given before -lnsl if both are needed.  We assume that
        !          2906:     # if connect needs -lnsl, so does gethostbyname.
        !          2907:     echo "$as_me:$LINENO: checking for connect" >&5
        !          2908: echo $ECHO_N "checking for connect... $ECHO_C" >&6
        !          2909: if test "${ac_cv_func_connect+set}" = set; then
        !          2910:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2911: else
1.4     ! takayama 2912:   cat >conftest.$ac_ext <<_ACEOF
        !          2913: #line $LINENO "configure"
1.1       ohara    2914: #include "confdefs.h"
                   2915: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 2916:     which can conflict with char connect (); below.  */
1.1       ohara    2917: #include <assert.h>
                   2918: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2919: #ifdef __cplusplus
        !          2920: extern "C"
        !          2921: #endif
1.1       ohara    2922: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2923:    builtin and then its argument prototype would still apply.  */
        !          2924: char connect ();
        !          2925: char (*f) ();
        !          2926:
        !          2927: #ifdef F77_DUMMY_MAIN
        !          2928: #  ifdef __cplusplus
        !          2929:      extern "C"
        !          2930: #  endif
        !          2931:    int F77_DUMMY_MAIN() { return 1; }
        !          2932: #endif
        !          2933: int
        !          2934: main ()
        !          2935: {
1.1       ohara    2936: /* The GNU C library defines this for functions which it implements
                   2937:     to always fail with ENOSYS.  Some functions are actually named
                   2938:     something starting with __ and the normal name is an alias.  */
                   2939: #if defined (__stub_connect) || defined (__stub___connect)
                   2940: choke me
                   2941: #else
1.4     ! takayama 2942: f = connect;
1.1       ohara    2943: #endif
                   2944:
1.4     ! takayama 2945:   ;
        !          2946:   return 0;
        !          2947: }
        !          2948: _ACEOF
        !          2949: rm -f conftest.$ac_objext conftest$ac_exeext
        !          2950: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          2951:   (eval $ac_link) 2>&5
        !          2952:   ac_status=$?
        !          2953:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2954:   (exit $ac_status); } &&
        !          2955:          { ac_try='test -s conftest$ac_exeext'
        !          2956:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          2957:   (eval $ac_try) 2>&5
        !          2958:   ac_status=$?
        !          2959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          2960:   (exit $ac_status); }; }; then
        !          2961:   ac_cv_func_connect=yes
        !          2962: else
        !          2963:   echo "$as_me: failed program was:" >&5
        !          2964: cat conftest.$ac_ext >&5
        !          2965: ac_cv_func_connect=no
1.1       ohara    2966: fi
1.4     ! takayama 2967: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    2968: fi
1.4     ! takayama 2969: echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
        !          2970: echo "${ECHO_T}$ac_cv_func_connect" >&6
1.1       ohara    2971:
                   2972:     if test $ac_cv_func_connect = no; then
1.4     ! takayama 2973:       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
        !          2974: echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
        !          2975: if test "${ac_cv_lib_socket_connect+set}" = set; then
        !          2976:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    2977: else
1.4     ! takayama 2978:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    2979: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.4     ! takayama 2980: cat >conftest.$ac_ext <<_ACEOF
        !          2981: #line $LINENO "configure"
1.1       ohara    2982: #include "confdefs.h"
1.4     ! takayama 2983:
1.1       ohara    2984: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 2985: #ifdef __cplusplus
        !          2986: extern "C"
        !          2987: #endif
1.1       ohara    2988: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 2989:    builtin and then its argument prototype would still apply.  */
        !          2990: char connect ();
        !          2991: #ifdef F77_DUMMY_MAIN
        !          2992: #  ifdef __cplusplus
        !          2993:      extern "C"
        !          2994: #  endif
        !          2995:    int F77_DUMMY_MAIN() { return 1; }
        !          2996: #endif
        !          2997: int
        !          2998: main ()
        !          2999: {
        !          3000: connect ();
        !          3001:   ;
        !          3002:   return 0;
        !          3003: }
        !          3004: _ACEOF
        !          3005: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3006: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3007:   (eval $ac_link) 2>&5
        !          3008:   ac_status=$?
        !          3009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3010:   (exit $ac_status); } &&
        !          3011:          { ac_try='test -s conftest$ac_exeext'
        !          3012:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3013:   (eval $ac_try) 2>&5
        !          3014:   ac_status=$?
        !          3015:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3016:   (exit $ac_status); }; }; then
        !          3017:   ac_cv_lib_socket_connect=yes
        !          3018: else
        !          3019:   echo "$as_me: failed program was:" >&5
        !          3020: cat conftest.$ac_ext >&5
        !          3021: ac_cv_lib_socket_connect=no
        !          3022: fi
        !          3023: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3024: LIBS=$ac_check_lib_save_LIBS
        !          3025: fi
        !          3026: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
        !          3027: echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
        !          3028: if test $ac_cv_lib_socket_connect = yes; then
1.1       ohara    3029:   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
                   3030: fi
                   3031:
                   3032:     fi
                   3033:
1.4     ! takayama 3034:     # Guillermo Gomez says -lposix is necessary on A/UX.
        !          3035:     echo "$as_me:$LINENO: checking for remove" >&5
        !          3036: echo $ECHO_N "checking for remove... $ECHO_C" >&6
        !          3037: if test "${ac_cv_func_remove+set}" = set; then
        !          3038:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3039: else
1.4     ! takayama 3040:   cat >conftest.$ac_ext <<_ACEOF
        !          3041: #line $LINENO "configure"
1.1       ohara    3042: #include "confdefs.h"
                   3043: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 3044:     which can conflict with char remove (); below.  */
1.1       ohara    3045: #include <assert.h>
                   3046: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3047: #ifdef __cplusplus
        !          3048: extern "C"
        !          3049: #endif
1.1       ohara    3050: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3051:    builtin and then its argument prototype would still apply.  */
        !          3052: char remove ();
        !          3053: char (*f) ();
        !          3054:
        !          3055: #ifdef F77_DUMMY_MAIN
        !          3056: #  ifdef __cplusplus
        !          3057:      extern "C"
        !          3058: #  endif
        !          3059:    int F77_DUMMY_MAIN() { return 1; }
        !          3060: #endif
        !          3061: int
        !          3062: main ()
        !          3063: {
1.1       ohara    3064: /* The GNU C library defines this for functions which it implements
                   3065:     to always fail with ENOSYS.  Some functions are actually named
                   3066:     something starting with __ and the normal name is an alias.  */
                   3067: #if defined (__stub_remove) || defined (__stub___remove)
                   3068: choke me
                   3069: #else
1.4     ! takayama 3070: f = remove;
1.1       ohara    3071: #endif
                   3072:
1.4     ! takayama 3073:   ;
        !          3074:   return 0;
        !          3075: }
        !          3076: _ACEOF
        !          3077: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3078: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3079:   (eval $ac_link) 2>&5
        !          3080:   ac_status=$?
        !          3081:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3082:   (exit $ac_status); } &&
        !          3083:          { ac_try='test -s conftest$ac_exeext'
        !          3084:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3085:   (eval $ac_try) 2>&5
        !          3086:   ac_status=$?
        !          3087:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3088:   (exit $ac_status); }; }; then
        !          3089:   ac_cv_func_remove=yes
        !          3090: else
        !          3091:   echo "$as_me: failed program was:" >&5
        !          3092: cat conftest.$ac_ext >&5
        !          3093: ac_cv_func_remove=no
1.1       ohara    3094: fi
1.4     ! takayama 3095: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3096: fi
1.4     ! takayama 3097: echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
        !          3098: echo "${ECHO_T}$ac_cv_func_remove" >&6
1.1       ohara    3099:
                   3100:     if test $ac_cv_func_remove = no; then
1.4     ! takayama 3101:       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
        !          3102: echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
        !          3103: if test "${ac_cv_lib_posix_remove+set}" = set; then
        !          3104:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3105: else
1.4     ! takayama 3106:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3107: LIBS="-lposix  $LIBS"
1.4     ! takayama 3108: cat >conftest.$ac_ext <<_ACEOF
        !          3109: #line $LINENO "configure"
1.1       ohara    3110: #include "confdefs.h"
1.4     ! takayama 3111:
1.1       ohara    3112: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3113: #ifdef __cplusplus
        !          3114: extern "C"
        !          3115: #endif
1.1       ohara    3116: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3117:    builtin and then its argument prototype would still apply.  */
        !          3118: char remove ();
        !          3119: #ifdef F77_DUMMY_MAIN
        !          3120: #  ifdef __cplusplus
        !          3121:      extern "C"
        !          3122: #  endif
        !          3123:    int F77_DUMMY_MAIN() { return 1; }
        !          3124: #endif
        !          3125: int
        !          3126: main ()
        !          3127: {
        !          3128: remove ();
        !          3129:   ;
        !          3130:   return 0;
        !          3131: }
        !          3132: _ACEOF
        !          3133: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3134: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3135:   (eval $ac_link) 2>&5
        !          3136:   ac_status=$?
        !          3137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3138:   (exit $ac_status); } &&
        !          3139:          { ac_try='test -s conftest$ac_exeext'
        !          3140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3141:   (eval $ac_try) 2>&5
        !          3142:   ac_status=$?
        !          3143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3144:   (exit $ac_status); }; }; then
        !          3145:   ac_cv_lib_posix_remove=yes
        !          3146: else
        !          3147:   echo "$as_me: failed program was:" >&5
        !          3148: cat conftest.$ac_ext >&5
        !          3149: ac_cv_lib_posix_remove=no
        !          3150: fi
        !          3151: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3152: LIBS=$ac_check_lib_save_LIBS
        !          3153: fi
        !          3154: echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
        !          3155: echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
        !          3156: if test $ac_cv_lib_posix_remove = yes; then
1.1       ohara    3157:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
                   3158: fi
                   3159:
                   3160:     fi
                   3161:
                   3162:     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.4     ! takayama 3163:     echo "$as_me:$LINENO: checking for shmat" >&5
        !          3164: echo $ECHO_N "checking for shmat... $ECHO_C" >&6
        !          3165: if test "${ac_cv_func_shmat+set}" = set; then
        !          3166:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3167: else
1.4     ! takayama 3168:   cat >conftest.$ac_ext <<_ACEOF
        !          3169: #line $LINENO "configure"
1.1       ohara    3170: #include "confdefs.h"
                   3171: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 3172:     which can conflict with char shmat (); below.  */
1.1       ohara    3173: #include <assert.h>
                   3174: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3175: #ifdef __cplusplus
        !          3176: extern "C"
        !          3177: #endif
1.1       ohara    3178: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3179:    builtin and then its argument prototype would still apply.  */
        !          3180: char shmat ();
        !          3181: char (*f) ();
        !          3182:
        !          3183: #ifdef F77_DUMMY_MAIN
        !          3184: #  ifdef __cplusplus
        !          3185:      extern "C"
        !          3186: #  endif
        !          3187:    int F77_DUMMY_MAIN() { return 1; }
        !          3188: #endif
        !          3189: int
        !          3190: main ()
        !          3191: {
1.1       ohara    3192: /* The GNU C library defines this for functions which it implements
                   3193:     to always fail with ENOSYS.  Some functions are actually named
                   3194:     something starting with __ and the normal name is an alias.  */
                   3195: #if defined (__stub_shmat) || defined (__stub___shmat)
                   3196: choke me
                   3197: #else
1.4     ! takayama 3198: f = shmat;
1.1       ohara    3199: #endif
                   3200:
1.4     ! takayama 3201:   ;
        !          3202:   return 0;
        !          3203: }
        !          3204: _ACEOF
        !          3205: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3206: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3207:   (eval $ac_link) 2>&5
        !          3208:   ac_status=$?
        !          3209:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3210:   (exit $ac_status); } &&
        !          3211:          { ac_try='test -s conftest$ac_exeext'
        !          3212:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3213:   (eval $ac_try) 2>&5
        !          3214:   ac_status=$?
        !          3215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3216:   (exit $ac_status); }; }; then
        !          3217:   ac_cv_func_shmat=yes
        !          3218: else
        !          3219:   echo "$as_me: failed program was:" >&5
        !          3220: cat conftest.$ac_ext >&5
        !          3221: ac_cv_func_shmat=no
1.1       ohara    3222: fi
1.4     ! takayama 3223: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       ohara    3224: fi
1.4     ! takayama 3225: echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
        !          3226: echo "${ECHO_T}$ac_cv_func_shmat" >&6
1.1       ohara    3227:
                   3228:     if test $ac_cv_func_shmat = no; then
1.4     ! takayama 3229:       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
        !          3230: echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
        !          3231: if test "${ac_cv_lib_ipc_shmat+set}" = set; then
        !          3232:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3233: else
1.4     ! takayama 3234:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3235: LIBS="-lipc  $LIBS"
1.4     ! takayama 3236: cat >conftest.$ac_ext <<_ACEOF
        !          3237: #line $LINENO "configure"
1.1       ohara    3238: #include "confdefs.h"
1.4     ! takayama 3239:
1.1       ohara    3240: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3241: #ifdef __cplusplus
        !          3242: extern "C"
        !          3243: #endif
1.1       ohara    3244: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3245:    builtin and then its argument prototype would still apply.  */
        !          3246: char shmat ();
        !          3247: #ifdef F77_DUMMY_MAIN
        !          3248: #  ifdef __cplusplus
        !          3249:      extern "C"
        !          3250: #  endif
        !          3251:    int F77_DUMMY_MAIN() { return 1; }
        !          3252: #endif
        !          3253: int
        !          3254: main ()
        !          3255: {
        !          3256: shmat ();
        !          3257:   ;
        !          3258:   return 0;
        !          3259: }
        !          3260: _ACEOF
        !          3261: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3262: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3263:   (eval $ac_link) 2>&5
        !          3264:   ac_status=$?
        !          3265:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3266:   (exit $ac_status); } &&
        !          3267:          { ac_try='test -s conftest$ac_exeext'
        !          3268:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3269:   (eval $ac_try) 2>&5
        !          3270:   ac_status=$?
        !          3271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3272:   (exit $ac_status); }; }; then
        !          3273:   ac_cv_lib_ipc_shmat=yes
        !          3274: else
        !          3275:   echo "$as_me: failed program was:" >&5
        !          3276: cat conftest.$ac_ext >&5
        !          3277: ac_cv_lib_ipc_shmat=no
        !          3278: fi
        !          3279: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3280: LIBS=$ac_check_lib_save_LIBS
        !          3281: fi
        !          3282: echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
        !          3283: echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
        !          3284: if test $ac_cv_lib_ipc_shmat = yes; then
1.1       ohara    3285:   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
                   3286: fi
                   3287:
                   3288:     fi
                   3289:   fi
                   3290:
                   3291:   # Check for libraries that X11R6 Xt/Xaw programs need.
1.4     ! takayama 3292:   ac_save_LDFLAGS=$LDFLAGS
1.1       ohara    3293:   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
                   3294:   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
                   3295:   # check for ICE first), but we must link in the order -lSM -lICE or
                   3296:   # we get undefined symbols.  So assume we have SM if we have ICE.
                   3297:   # These have to be linked with before -lX11, unlike the other
                   3298:   # libraries we check for below, so use a different variable.
1.4     ! takayama 3299:   # John Interrante, Karl Berry
        !          3300:   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
        !          3301: echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
        !          3302: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
        !          3303:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3304: else
1.4     ! takayama 3305:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3306: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.4     ! takayama 3307: cat >conftest.$ac_ext <<_ACEOF
        !          3308: #line $LINENO "configure"
1.1       ohara    3309: #include "confdefs.h"
1.4     ! takayama 3310:
1.1       ohara    3311: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3312: #ifdef __cplusplus
        !          3313: extern "C"
        !          3314: #endif
1.1       ohara    3315: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3316:    builtin and then its argument prototype would still apply.  */
        !          3317: char IceConnectionNumber ();
        !          3318: #ifdef F77_DUMMY_MAIN
        !          3319: #  ifdef __cplusplus
        !          3320:      extern "C"
        !          3321: #  endif
        !          3322:    int F77_DUMMY_MAIN() { return 1; }
        !          3323: #endif
        !          3324: int
        !          3325: main ()
        !          3326: {
        !          3327: IceConnectionNumber ();
        !          3328:   ;
        !          3329:   return 0;
        !          3330: }
        !          3331: _ACEOF
        !          3332: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3333: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3334:   (eval $ac_link) 2>&5
        !          3335:   ac_status=$?
        !          3336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3337:   (exit $ac_status); } &&
        !          3338:          { ac_try='test -s conftest$ac_exeext'
        !          3339:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3340:   (eval $ac_try) 2>&5
        !          3341:   ac_status=$?
        !          3342:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3343:   (exit $ac_status); }; }; then
        !          3344:   ac_cv_lib_ICE_IceConnectionNumber=yes
        !          3345: else
        !          3346:   echo "$as_me: failed program was:" >&5
        !          3347: cat conftest.$ac_ext >&5
        !          3348: ac_cv_lib_ICE_IceConnectionNumber=no
        !          3349: fi
        !          3350: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3351: LIBS=$ac_check_lib_save_LIBS
        !          3352: fi
        !          3353: echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
        !          3354: echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
        !          3355: if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
1.1       ohara    3356:   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
                   3357: fi
                   3358:
1.4     ! takayama 3359:   LDFLAGS=$ac_save_LDFLAGS
1.1       ohara    3360:
                   3361: fi
                   3362:
                   3363:
1.4     ! takayama 3364:
1.2       ohara    3365: # Check whether --with-gmp or --without-gmp was given.
                   3366: if test "${with_gmp+set}" = set; then
                   3367:   withval="$with_gmp"
                   3368:   with_gmp=yes
                   3369: else
                   3370:   with_gmp=no
1.4     ! takayama 3371: fi;
1.2       ohara    3372:
                   3373: if test ${with_gmp:=no} != no ; then
1.4     ! takayama 3374:     cat >>confdefs.h <<\_ACEOF
1.2       ohara    3375: #define WITH_GMP 1
1.4     ! takayama 3376: _ACEOF
1.2       ohara    3377:
                   3378:     GMPLIB="-lgmp"
1.3       ohara    3379:     USE_GMP='#'
1.2       ohara    3380: fi
                   3381:
                   3382:
1.3       ohara    3383:
1.4     ! takayama 3384: echo "$as_me:$LINENO: checking for socket" >&5
        !          3385: echo $ECHO_N "checking for socket... $ECHO_C" >&6
        !          3386: if test "${ac_cv_func_socket+set}" = set; then
        !          3387:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3388: else
1.4     ! takayama 3389:   cat >conftest.$ac_ext <<_ACEOF
        !          3390: #line $LINENO "configure"
1.1       ohara    3391: #include "confdefs.h"
                   3392: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 3393:     which can conflict with char socket (); below.  */
1.1       ohara    3394: #include <assert.h>
                   3395: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3396: #ifdef __cplusplus
        !          3397: extern "C"
        !          3398: #endif
1.1       ohara    3399: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3400:    builtin and then its argument prototype would still apply.  */
        !          3401: char socket ();
        !          3402: char (*f) ();
        !          3403:
        !          3404: #ifdef F77_DUMMY_MAIN
        !          3405: #  ifdef __cplusplus
        !          3406:      extern "C"
        !          3407: #  endif
        !          3408:    int F77_DUMMY_MAIN() { return 1; }
        !          3409: #endif
        !          3410: int
        !          3411: main ()
        !          3412: {
1.1       ohara    3413: /* The GNU C library defines this for functions which it implements
                   3414:     to always fail with ENOSYS.  Some functions are actually named
                   3415:     something starting with __ and the normal name is an alias.  */
                   3416: #if defined (__stub_socket) || defined (__stub___socket)
                   3417: choke me
                   3418: #else
1.4     ! takayama 3419: f = socket;
1.1       ohara    3420: #endif
                   3421:
1.4     ! takayama 3422:   ;
        !          3423:   return 0;
        !          3424: }
        !          3425: _ACEOF
        !          3426: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3427: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3428:   (eval $ac_link) 2>&5
        !          3429:   ac_status=$?
        !          3430:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3431:   (exit $ac_status); } &&
        !          3432:          { ac_try='test -s conftest$ac_exeext'
        !          3433:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3434:   (eval $ac_try) 2>&5
        !          3435:   ac_status=$?
        !          3436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3437:   (exit $ac_status); }; }; then
        !          3438:   ac_cv_func_socket=yes
        !          3439: else
        !          3440:   echo "$as_me: failed program was:" >&5
        !          3441: cat conftest.$ac_ext >&5
        !          3442: ac_cv_func_socket=no
        !          3443: fi
        !          3444: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3445: fi
        !          3446: echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
        !          3447: echo "${ECHO_T}$ac_cv_func_socket" >&6
        !          3448: if test $ac_cv_func_socket = yes; then
        !          3449:   :
1.1       ohara    3450: else
                   3451:
1.4     ! takayama 3452: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
        !          3453: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
        !          3454: if test "${ac_cv_lib_socket_socket+set}" = set; then
        !          3455:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3456: else
1.4     ! takayama 3457:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3458: LIBS="-lsocket  $LIBS"
1.4     ! takayama 3459: cat >conftest.$ac_ext <<_ACEOF
        !          3460: #line $LINENO "configure"
1.1       ohara    3461: #include "confdefs.h"
1.4     ! takayama 3462:
1.1       ohara    3463: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3464: #ifdef __cplusplus
        !          3465: extern "C"
        !          3466: #endif
1.1       ohara    3467: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3468:    builtin and then its argument prototype would still apply.  */
        !          3469: char socket ();
        !          3470: #ifdef F77_DUMMY_MAIN
        !          3471: #  ifdef __cplusplus
        !          3472:      extern "C"
        !          3473: #  endif
        !          3474:    int F77_DUMMY_MAIN() { return 1; }
        !          3475: #endif
        !          3476: int
        !          3477: main ()
        !          3478: {
        !          3479: socket ();
        !          3480:   ;
        !          3481:   return 0;
        !          3482: }
        !          3483: _ACEOF
        !          3484: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3485: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3486:   (eval $ac_link) 2>&5
        !          3487:   ac_status=$?
        !          3488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3489:   (exit $ac_status); } &&
        !          3490:          { ac_try='test -s conftest$ac_exeext'
        !          3491:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3492:   (eval $ac_try) 2>&5
        !          3493:   ac_status=$?
        !          3494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3495:   (exit $ac_status); }; }; then
        !          3496:   ac_cv_lib_socket_socket=yes
        !          3497: else
        !          3498:   echo "$as_me: failed program was:" >&5
        !          3499: cat conftest.$ac_ext >&5
        !          3500: ac_cv_lib_socket_socket=no
        !          3501: fi
        !          3502: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3503: LIBS=$ac_check_lib_save_LIBS
        !          3504: fi
        !          3505: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
        !          3506: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
        !          3507: if test $ac_cv_lib_socket_socket = yes; then
        !          3508:   cat >>confdefs.h <<_ACEOF
        !          3509: #define HAVE_LIBSOCKET 1
        !          3510: _ACEOF
1.1       ohara    3511:
                   3512:   LIBS="-lsocket $LIBS"
                   3513:
                   3514: fi
                   3515:
                   3516: fi
1.2       ohara    3517:
1.4     ! takayama 3518: echo "$as_me:$LINENO: checking for gethostbyname" >&5
        !          3519: echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
        !          3520: if test "${ac_cv_func_gethostbyname+set}" = set; then
        !          3521:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3522: else
1.4     ! takayama 3523:   cat >conftest.$ac_ext <<_ACEOF
        !          3524: #line $LINENO "configure"
1.1       ohara    3525: #include "confdefs.h"
                   3526: /* System header to define __stub macros and hopefully few prototypes,
1.4     ! takayama 3527:     which can conflict with char gethostbyname (); below.  */
1.1       ohara    3528: #include <assert.h>
                   3529: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3530: #ifdef __cplusplus
        !          3531: extern "C"
        !          3532: #endif
1.1       ohara    3533: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3534:    builtin and then its argument prototype would still apply.  */
        !          3535: char gethostbyname ();
        !          3536: char (*f) ();
        !          3537:
        !          3538: #ifdef F77_DUMMY_MAIN
        !          3539: #  ifdef __cplusplus
        !          3540:      extern "C"
        !          3541: #  endif
        !          3542:    int F77_DUMMY_MAIN() { return 1; }
        !          3543: #endif
        !          3544: int
        !          3545: main ()
        !          3546: {
1.1       ohara    3547: /* The GNU C library defines this for functions which it implements
                   3548:     to always fail with ENOSYS.  Some functions are actually named
                   3549:     something starting with __ and the normal name is an alias.  */
                   3550: #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
                   3551: choke me
                   3552: #else
1.4     ! takayama 3553: f = gethostbyname;
1.1       ohara    3554: #endif
                   3555:
1.4     ! takayama 3556:   ;
        !          3557:   return 0;
        !          3558: }
        !          3559: _ACEOF
        !          3560: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3561: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3562:   (eval $ac_link) 2>&5
        !          3563:   ac_status=$?
        !          3564:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3565:   (exit $ac_status); } &&
        !          3566:          { ac_try='test -s conftest$ac_exeext'
        !          3567:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3568:   (eval $ac_try) 2>&5
        !          3569:   ac_status=$?
        !          3570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3571:   (exit $ac_status); }; }; then
        !          3572:   ac_cv_func_gethostbyname=yes
        !          3573: else
        !          3574:   echo "$as_me: failed program was:" >&5
        !          3575: cat conftest.$ac_ext >&5
        !          3576: ac_cv_func_gethostbyname=no
        !          3577: fi
        !          3578: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3579: fi
        !          3580: echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
        !          3581: echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
        !          3582: if test $ac_cv_func_gethostbyname = yes; then
        !          3583:   :
1.1       ohara    3584: else
                   3585:
1.4     ! takayama 3586: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
        !          3587: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
        !          3588: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
        !          3589:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       ohara    3590: else
1.4     ! takayama 3591:   ac_check_lib_save_LIBS=$LIBS
1.1       ohara    3592: LIBS="-lnsl  $LIBS"
1.4     ! takayama 3593: cat >conftest.$ac_ext <<_ACEOF
        !          3594: #line $LINENO "configure"
1.1       ohara    3595: #include "confdefs.h"
1.4     ! takayama 3596:
1.1       ohara    3597: /* Override any gcc2 internal prototype to avoid an error.  */
1.4     ! takayama 3598: #ifdef __cplusplus
        !          3599: extern "C"
        !          3600: #endif
1.1       ohara    3601: /* We use char because int might match the return type of a gcc2
1.4     ! takayama 3602:    builtin and then its argument prototype would still apply.  */
        !          3603: char gethostbyname ();
        !          3604: #ifdef F77_DUMMY_MAIN
        !          3605: #  ifdef __cplusplus
        !          3606:      extern "C"
        !          3607: #  endif
        !          3608:    int F77_DUMMY_MAIN() { return 1; }
        !          3609: #endif
        !          3610: int
        !          3611: main ()
        !          3612: {
        !          3613: gethostbyname ();
        !          3614:   ;
        !          3615:   return 0;
        !          3616: }
        !          3617: _ACEOF
        !          3618: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3619: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3620:   (eval $ac_link) 2>&5
        !          3621:   ac_status=$?
        !          3622:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3623:   (exit $ac_status); } &&
        !          3624:          { ac_try='test -s conftest$ac_exeext'
        !          3625:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3626:   (eval $ac_try) 2>&5
        !          3627:   ac_status=$?
        !          3628:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3629:   (exit $ac_status); }; }; then
        !          3630:   ac_cv_lib_nsl_gethostbyname=yes
        !          3631: else
        !          3632:   echo "$as_me: failed program was:" >&5
        !          3633: cat conftest.$ac_ext >&5
        !          3634: ac_cv_lib_nsl_gethostbyname=no
        !          3635: fi
        !          3636: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3637: LIBS=$ac_check_lib_save_LIBS
        !          3638: fi
        !          3639: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          3640: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
        !          3641: if test $ac_cv_lib_nsl_gethostbyname = yes; then
        !          3642:   cat >>confdefs.h <<_ACEOF
        !          3643: #define HAVE_LIBNSL 1
        !          3644: _ACEOF
        !          3645:
        !          3646:   LIBS="-lnsl $LIBS"
1.1       ohara    3647:
                   3648: fi
                   3649:
                   3650: fi
                   3651:
1.4     ! takayama 3652: echo "$as_me:$LINENO: checking for dlopen" >&5
        !          3653: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
        !          3654: if test "${ac_cv_func_dlopen+set}" = set; then
        !          3655:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3656: else
        !          3657:   cat >conftest.$ac_ext <<_ACEOF
        !          3658: #line $LINENO "configure"
        !          3659: #include "confdefs.h"
        !          3660: /* System header to define __stub macros and hopefully few prototypes,
        !          3661:     which can conflict with char dlopen (); below.  */
        !          3662: #include <assert.h>
        !          3663: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3664: #ifdef __cplusplus
        !          3665: extern "C"
        !          3666: #endif
        !          3667: /* We use char because int might match the return type of a gcc2
        !          3668:    builtin and then its argument prototype would still apply.  */
        !          3669: char dlopen ();
        !          3670: char (*f) ();
        !          3671:
        !          3672: #ifdef F77_DUMMY_MAIN
        !          3673: #  ifdef __cplusplus
        !          3674:      extern "C"
        !          3675: #  endif
        !          3676:    int F77_DUMMY_MAIN() { return 1; }
        !          3677: #endif
        !          3678: int
        !          3679: main ()
        !          3680: {
        !          3681: /* The GNU C library defines this for functions which it implements
        !          3682:     to always fail with ENOSYS.  Some functions are actually named
        !          3683:     something starting with __ and the normal name is an alias.  */
        !          3684: #if defined (__stub_dlopen) || defined (__stub___dlopen)
        !          3685: choke me
        !          3686: #else
        !          3687: f = dlopen;
        !          3688: #endif
1.1       ohara    3689:
1.4     ! takayama 3690:   ;
        !          3691:   return 0;
        !          3692: }
        !          3693: _ACEOF
        !          3694: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3695: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3696:   (eval $ac_link) 2>&5
        !          3697:   ac_status=$?
        !          3698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3699:   (exit $ac_status); } &&
        !          3700:          { ac_try='test -s conftest$ac_exeext'
        !          3701:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3702:   (eval $ac_try) 2>&5
        !          3703:   ac_status=$?
        !          3704:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3705:   (exit $ac_status); }; }; then
        !          3706:   ac_cv_func_dlopen=yes
        !          3707: else
        !          3708:   echo "$as_me: failed program was:" >&5
        !          3709: cat conftest.$ac_ext >&5
        !          3710: ac_cv_func_dlopen=no
        !          3711: fi
        !          3712: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3713: fi
        !          3714: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
        !          3715: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
        !          3716: if test $ac_cv_func_dlopen = yes; then
        !          3717:   :
1.1       ohara    3718: else
1.4     ! takayama 3719:
        !          3720: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
        !          3721: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
        !          3722: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
        !          3723:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3724: else
        !          3725:   ac_check_lib_save_LIBS=$LIBS
        !          3726: LIBS="-ldl  $LIBS"
        !          3727: cat >conftest.$ac_ext <<_ACEOF
        !          3728: #line $LINENO "configure"
        !          3729: #include "confdefs.h"
        !          3730:
        !          3731: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3732: #ifdef __cplusplus
        !          3733: extern "C"
        !          3734: #endif
        !          3735: /* We use char because int might match the return type of a gcc2
        !          3736:    builtin and then its argument prototype would still apply.  */
        !          3737: char dlopen ();
        !          3738: #ifdef F77_DUMMY_MAIN
        !          3739: #  ifdef __cplusplus
        !          3740:      extern "C"
        !          3741: #  endif
        !          3742:    int F77_DUMMY_MAIN() { return 1; }
        !          3743: #endif
        !          3744: int
        !          3745: main ()
        !          3746: {
        !          3747: dlopen ();
        !          3748:   ;
        !          3749:   return 0;
        !          3750: }
        !          3751: _ACEOF
        !          3752: rm -f conftest.$ac_objext conftest$ac_exeext
        !          3753: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          3754:   (eval $ac_link) 2>&5
        !          3755:   ac_status=$?
        !          3756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3757:   (exit $ac_status); } &&
        !          3758:          { ac_try='test -s conftest$ac_exeext'
        !          3759:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          3760:   (eval $ac_try) 2>&5
        !          3761:   ac_status=$?
        !          3762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3763:   (exit $ac_status); }; }; then
        !          3764:   ac_cv_lib_dl_dlopen=yes
        !          3765: else
        !          3766:   echo "$as_me: failed program was:" >&5
        !          3767: cat conftest.$ac_ext >&5
        !          3768: ac_cv_lib_dl_dlopen=no
        !          3769: fi
        !          3770: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          3771: LIBS=$ac_check_lib_save_LIBS
        !          3772: fi
        !          3773: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
        !          3774: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
        !          3775: if test $ac_cv_lib_dl_dlopen = yes; then
        !          3776:   cat >>confdefs.h <<_ACEOF
        !          3777: #define HAVE_LIBDL 1
        !          3778: _ACEOF
        !          3779:
        !          3780:   LIBS="-ldl $LIBS"
        !          3781:
1.1       ohara    3782: fi
                   3783:
                   3784: fi
                   3785:
1.2       ohara    3786:
1.4     ! takayama 3787: ac_config_files="$ac_config_files Makefile"
        !          3788: cat >confcache <<\_ACEOF
1.1       ohara    3789: # This file is a shell script that caches the results of configure
                   3790: # tests run on this system so they can be shared between configure
1.4     ! takayama 3791: # scripts and configure runs, see configure's option --config-cache.
        !          3792: # It is not useful on other systems.  If it contains results you don't
        !          3793: # want to keep, you may remove or edit it.
1.1       ohara    3794: #
1.4     ! takayama 3795: # config.status only pays attention to the cache file if you give it
        !          3796: # the --recheck option to rerun configure.
1.1       ohara    3797: #
1.4     ! takayama 3798: # `ac_cv_env_foo' variables (set or unset) will be overriden when
        !          3799: # loading this file, other *unset* `ac_cv_foo' will be assigned the
        !          3800: # following values.
        !          3801:
        !          3802: _ACEOF
        !          3803:
1.1       ohara    3804: # The following way of writing the cache mishandles newlines in values,
                   3805: # but we know of no workaround that is simple, portable, and efficient.
                   3806: # So, don't put newlines in cache variables' values.
                   3807: # Ultrix sh set writes to stderr and can't be redirected directly,
                   3808: # and sets the high bit in the cache file unless we assign to the vars.
1.4     ! takayama 3809: {
        !          3810:   (set) 2>&1 |
        !          3811:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          3812:     *ac_space=\ *)
        !          3813:       # `set' does not quote correctly, so add quotes (double-quote
        !          3814:       # substitution turns \\\\ into \\, and sed turns \\ into \).
        !          3815:       sed -n \
        !          3816:         "s/'/'\\\\''/g;
        !          3817:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
        !          3818:       ;;
        !          3819:     *)
        !          3820:       # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          3821:       sed -n \
        !          3822:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !          3823:       ;;
        !          3824:     esac;
        !          3825: } |
        !          3826:   sed '
        !          3827:      t clear
        !          3828:      : clear
        !          3829:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
        !          3830:      t end
        !          3831:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          3832:      : end' >>confcache
        !          3833: if cmp -s $cache_file confcache; then :; else
1.1       ohara    3834:   if test -w $cache_file; then
1.4     ! takayama 3835:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
        !          3836:     cat confcache >$cache_file
1.1       ohara    3837:   else
                   3838:     echo "not updating unwritable cache $cache_file"
                   3839:   fi
                   3840: fi
                   3841: rm -f confcache
                   3842:
                   3843: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   3844: # Let make expand exec_prefix.
                   3845: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   3846:
1.4     ! takayama 3847: # VPATH may cause trouble with some makes, so we remove $(srcdir),
        !          3848: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
        !          3849: # trailing colons and then remove the whole line if VPATH becomes empty
        !          3850: # (actually we leave an empty line to preserve line numbers).
1.1       ohara    3851: if test "x$srcdir" = x.; then
1.4     ! takayama 3852:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
        !          3853: s/:*\$(srcdir):*/:/;
        !          3854: s/:*\${srcdir}:*/:/;
        !          3855: s/:*@srcdir@:*/:/;
        !          3856: s/^\([^=]*=[   ]*\):*/\1/;
        !          3857: s/:*$//;
        !          3858: s/^[^=]*=[     ]*$//;
        !          3859: }'
1.1       ohara    3860: fi
                   3861:
                   3862: # Transform confdefs.h into DEFS.
                   3863: # Protect against shell expansion while executing Makefile rules.
                   3864: # Protect against Makefile macro expansion.
1.4     ! takayama 3865: #
        !          3866: # If the first sed substitution is executed (which looks for macros that
        !          3867: # take arguments), then we branch to the quote section.  Otherwise,
        !          3868: # look for a macro that doesn't take arguments.
        !          3869: cat >confdef2opt.sed <<\_ACEOF
        !          3870: t clear
        !          3871: : clear
        !          3872: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
        !          3873: t quote
        !          3874: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
        !          3875: t quote
        !          3876: d
        !          3877: : quote
        !          3878: s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
        !          3879: s,\[,\\&,g
        !          3880: s,\],\\&,g
        !          3881: s,\$,$$,g
        !          3882: p
        !          3883: _ACEOF
        !          3884: # We use echo to avoid assuming a particular line-breaking character.
        !          3885: # The extra dot is to prevent the shell from consuming trailing
        !          3886: # line-breaks from the sub-command output.  A line-break within
        !          3887: # single-quotes doesn't work because, if this script is created in a
        !          3888: # platform that uses two characters for line-breaks (e.g., DOS), tr
        !          3889: # would break.
        !          3890: ac_LF_and_DOT=`echo; echo .`
        !          3891: DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
        !          3892: rm -f confdef2opt.sed
        !          3893:
1.1       ohara    3894:
                   3895:
                   3896: : ${CONFIG_STATUS=./config.status}
1.4     ! takayama 3897: ac_clean_files_save=$ac_clean_files
        !          3898: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
        !          3899: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
        !          3900: echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          3901: cat >$CONFIG_STATUS <<_ACEOF
        !          3902: #! $SHELL
        !          3903: # Generated by $as_me.
1.1       ohara    3904: # Run this file to recreate the current configuration.
                   3905: # Compiler output produced by configure, useful for debugging
1.4     ! takayama 3906: # configure, is in config.log if it exists.
        !          3907:
        !          3908: debug=false
        !          3909: SHELL=\${CONFIG_SHELL-$SHELL}
        !          3910: _ACEOF
        !          3911:
        !          3912: cat >>$CONFIG_STATUS <<\_ACEOF
        !          3913:
        !          3914: ## --------------------- ##
        !          3915: ## M4sh Initialization.  ##
        !          3916: ## --------------------- ##
        !          3917:
        !          3918: # Be Bourne compatible
        !          3919: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !          3920:   emulate sh
        !          3921:   NULLCMD=:
        !          3922: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
        !          3923:   set -o posix
        !          3924: fi
        !          3925:
        !          3926: # NLS nuisances.
        !          3927: # Support unset when possible.
        !          3928: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
        !          3929:   as_unset=unset
        !          3930: else
        !          3931:   as_unset=false
        !          3932: fi
        !          3933:
        !          3934: (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
        !          3935:     { $as_unset LANG || test "${LANG+set}" != set; } ||
        !          3936:       { LANG=C; export LANG; }
        !          3937: (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
        !          3938:     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
        !          3939:       { LC_ALL=C; export LC_ALL; }
        !          3940: (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
        !          3941:     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
        !          3942:       { LC_TIME=C; export LC_TIME; }
        !          3943: (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
        !          3944:     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
        !          3945:       { LC_CTYPE=C; export LC_CTYPE; }
        !          3946: (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
        !          3947:     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
        !          3948:       { LANGUAGE=C; export LANGUAGE; }
        !          3949: (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
        !          3950:     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
        !          3951:       { LC_COLLATE=C; export LC_COLLATE; }
        !          3952: (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
        !          3953:     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
        !          3954:       { LC_NUMERIC=C; export LC_NUMERIC; }
        !          3955: (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
        !          3956:     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
        !          3957:       { LC_MESSAGES=C; export LC_MESSAGES; }
        !          3958:
        !          3959:
        !          3960: # Name of the executable.
        !          3961: as_me=`(basename "$0") 2>/dev/null ||
        !          3962: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !          3963:         X"$0" : 'X\(//\)$' \| \
        !          3964:         X"$0" : 'X\(/\)$' \| \
        !          3965:         .     : '\(.\)' 2>/dev/null ||
        !          3966: echo X/"$0" |
        !          3967:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
        !          3968:          /^X\/\(\/\/\)$/{ s//\1/; q; }
        !          3969:          /^X\/\(\/\).*/{ s//\1/; q; }
        !          3970:          s/.*/./; q'`
        !          3971:
        !          3972: # PATH needs CR, and LINENO needs CR and PATH.
        !          3973: # Avoid depending upon Character Ranges.
        !          3974: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          3975: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          3976: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          3977: as_cr_digits='0123456789'
        !          3978: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !          3979:
        !          3980: # The user is always right.
        !          3981: if test "${PATH_SEPARATOR+set}" != set; then
        !          3982:   echo "#! /bin/sh" >conftest.sh
        !          3983:   echo  "exit 0"   >>conftest.sh
        !          3984:   chmod +x conftest.sh
        !          3985:   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
        !          3986:     PATH_SEPARATOR=';'
        !          3987:   else
        !          3988:     PATH_SEPARATOR=:
        !          3989:   fi
        !          3990:   rm -f conftest.sh
        !          3991: fi
        !          3992:
1.1       ohara    3993:
1.4     ! takayama 3994:   as_lineno_1=$LINENO
        !          3995:   as_lineno_2=$LINENO
        !          3996:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          3997:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          3998:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
        !          3999:   # Find who we are.  Look in the path if we contain no path at all
        !          4000:   # relative or not.
        !          4001:   case $0 in
        !          4002:     *[\\/]* ) as_myself=$0 ;;
        !          4003:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4004: for as_dir in $PATH
        !          4005: do
        !          4006:   IFS=$as_save_IFS
        !          4007:   test -z "$as_dir" && as_dir=.
        !          4008:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          4009: done
        !          4010:
        !          4011:        ;;
        !          4012:   esac
        !          4013:   # We did not find ourselves, most probably we were run as `sh COMMAND'
        !          4014:   # in which case we are not to be found in the path.
        !          4015:   if test "x$as_myself" = x; then
        !          4016:     as_myself=$0
        !          4017:   fi
        !          4018:   if test ! -f "$as_myself"; then
        !          4019:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
        !          4020: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
        !          4021:    { (exit 1); exit 1; }; }
        !          4022:   fi
        !          4023:   case $CONFIG_SHELL in
        !          4024:   '')
        !          4025:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4026: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
        !          4027: do
        !          4028:   IFS=$as_save_IFS
        !          4029:   test -z "$as_dir" && as_dir=.
        !          4030:   for as_base in sh bash ksh sh5; do
        !          4031:         case $as_dir in
        !          4032:         /*)
        !          4033:           if ("$as_dir/$as_base" -c '
        !          4034:   as_lineno_1=$LINENO
        !          4035:   as_lineno_2=$LINENO
        !          4036:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
        !          4037:   test "x$as_lineno_1" != "x$as_lineno_2" &&
        !          4038:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
        !          4039:             CONFIG_SHELL=$as_dir/$as_base
        !          4040:             export CONFIG_SHELL
        !          4041:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
        !          4042:           fi;;
        !          4043:         esac
        !          4044:        done
        !          4045: done
        !          4046: ;;
        !          4047:   esac
        !          4048:
        !          4049:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
        !          4050:   # uniformly replaced by the line number.  The first 'sed' inserts a
        !          4051:   # line-number line before each line; the second 'sed' does the real
        !          4052:   # work.  The second script uses 'N' to pair each line-number line
        !          4053:   # with the numbered line, and appends trailing '-' during
        !          4054:   # substitution so that $LINENO is not a special case at line end.
        !          4055:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
        !          4056:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
        !          4057:   sed '=' <$as_myself |
        !          4058:     sed '
        !          4059:       N
        !          4060:       s,$,-,
        !          4061:       : loop
        !          4062:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
        !          4063:       t loop
        !          4064:       s,-$,,
        !          4065:       s,^['$as_cr_digits']*\n,,
        !          4066:     ' >$as_me.lineno &&
        !          4067:   chmod +x $as_me.lineno ||
        !          4068:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
        !          4069: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
        !          4070:    { (exit 1); exit 1; }; }
        !          4071:
        !          4072:   # Don't try to exec as it changes $[0], causing all sort of problems
        !          4073:   # (the dirname of $[0] is not the place where we might find the
        !          4074:   # original and so on.  Autoconf is especially sensible to this).
        !          4075:   . ./$as_me.lineno
        !          4076:   # Exit status is that of the last command.
        !          4077:   exit
        !          4078: }
        !          4079:
        !          4080:
        !          4081: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
        !          4082:   *c*,-n*) ECHO_N= ECHO_C='
        !          4083: ' ECHO_T='     ' ;;
        !          4084:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
        !          4085:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
        !          4086: esac
        !          4087:
        !          4088: if expr a : '\(a\)' >/dev/null 2>&1; then
        !          4089:   as_expr=expr
        !          4090: else
        !          4091:   as_expr=false
        !          4092: fi
        !          4093:
        !          4094: rm -f conf$$ conf$$.exe conf$$.file
        !          4095: echo >conf$$.file
        !          4096: if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          4097:   # We could just check for DJGPP; but this test a) works b) is more generic
        !          4098:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
        !          4099:   if test -f conf$$.exe; then
        !          4100:     # Don't use ln at all; we don't have any links
        !          4101:     as_ln_s='cp -p'
        !          4102:   else
        !          4103:     as_ln_s='ln -s'
        !          4104:   fi
        !          4105: elif ln conf$$.file conf$$ 2>/dev/null; then
        !          4106:   as_ln_s=ln
        !          4107: else
        !          4108:   as_ln_s='cp -p'
        !          4109: fi
        !          4110: rm -f conf$$ conf$$.exe conf$$.file
        !          4111:
        !          4112: as_executable_p="test -f"
        !          4113:
        !          4114: # Sed expression to map a string onto a valid CPP name.
        !          4115: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !          4116:
        !          4117: # Sed expression to map a string onto a valid variable name.
        !          4118: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !          4119:
        !          4120:
        !          4121: # IFS
        !          4122: # We need space, tab and new line, in precisely that order.
        !          4123: as_nl='
        !          4124: '
        !          4125: IFS="  $as_nl"
        !          4126:
        !          4127: # CDPATH.
        !          4128: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
        !          4129:
        !          4130: exec 6>&1
        !          4131:
        !          4132: # Open the log real soon, to keep \$[0] and so on meaningful, and to
        !          4133: # report actual input values of CONFIG_FILES etc. instead of their
        !          4134: # values after options handling.  Logging --version etc. is OK.
        !          4135: exec 5>>config.log
        !          4136: {
        !          4137:   echo
        !          4138:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
        !          4139: ## Running $as_me. ##
        !          4140: _ASBOX
        !          4141: } >&5
        !          4142: cat >&5 <<_CSEOF
        !          4143:
        !          4144: This file was extended by $as_me, which was
        !          4145: generated by GNU Autoconf 2.53.  Invocation command line was
        !          4146:
        !          4147:   CONFIG_FILES    = $CONFIG_FILES
        !          4148:   CONFIG_HEADERS  = $CONFIG_HEADERS
        !          4149:   CONFIG_LINKS    = $CONFIG_LINKS
        !          4150:   CONFIG_COMMANDS = $CONFIG_COMMANDS
        !          4151:   $ $0 $@
        !          4152:
        !          4153: _CSEOF
        !          4154: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
        !          4155: echo >&5
        !          4156: _ACEOF
        !          4157:
        !          4158: # Files that config.status was made for.
        !          4159: if test -n "$ac_config_files"; then
        !          4160:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
        !          4161: fi
        !          4162:
        !          4163: if test -n "$ac_config_headers"; then
        !          4164:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
        !          4165: fi
        !          4166:
        !          4167: if test -n "$ac_config_links"; then
        !          4168:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
        !          4169: fi
        !          4170:
        !          4171: if test -n "$ac_config_commands"; then
        !          4172:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
        !          4173: fi
        !          4174:
        !          4175: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4176:
        !          4177: ac_cs_usage="\
        !          4178: \`$as_me' instantiates files from templates according to the
        !          4179: current configuration.
        !          4180:
        !          4181: Usage: $0 [OPTIONS] [FILE]...
        !          4182:
        !          4183:   -h, --help       print this help, then exit
        !          4184:   -V, --version    print version number, then exit
        !          4185:   -d, --debug      don't remove temporary files
        !          4186:       --recheck    update $as_me by reconfiguring in the same conditions
        !          4187:   --file=FILE[:TEMPLATE]
        !          4188:                    instantiate the configuration file FILE
        !          4189:
        !          4190: Configuration files:
        !          4191: $config_files
        !          4192:
        !          4193: Report bugs to <bug-autoconf@gnu.org>."
        !          4194: _ACEOF
        !          4195:
        !          4196: cat >>$CONFIG_STATUS <<_ACEOF
        !          4197: ac_cs_version="\\
        !          4198: config.status
        !          4199: configured by $0, generated by GNU Autoconf 2.53,
        !          4200:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
        !          4201:
        !          4202: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
        !          4203: Free Software Foundation, Inc.
        !          4204: This config.status script is free software; the Free Software Foundation
        !          4205: gives unlimited permission to copy, distribute and modify it."
        !          4206: srcdir=$srcdir
        !          4207: _ACEOF
        !          4208:
        !          4209: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4210: # If no file are specified by the user, then we need to provide default
        !          4211: # value.  By we need to know if files were specified by the user.
        !          4212: ac_need_defaults=:
        !          4213: while test $# != 0
1.1       ohara    4214: do
1.4     ! takayama 4215:   case $1 in
        !          4216:   --*=*)
        !          4217:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
        !          4218:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
        !          4219:     shift
        !          4220:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
        !          4221:     shift
        !          4222:     ;;
        !          4223:   -*);;
        !          4224:   *) # This is not an option, so the user has probably given explicit
        !          4225:      # arguments.
        !          4226:      ac_need_defaults=false;;
        !          4227:   esac
        !          4228:
        !          4229:   case $1 in
        !          4230:   # Handling of the options.
        !          4231: _ACEOF
        !          4232: cat >>$CONFIG_STATUS <<_ACEOF
1.1       ohara    4233:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.4     ! takayama 4234:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
        !          4235:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
        !          4236: _ACEOF
        !          4237: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4238:   --version | --vers* | -V )
        !          4239:     echo "$ac_cs_version"; exit 0 ;;
        !          4240:   --he | --h)
        !          4241:     # Conflict between --help and --header
        !          4242:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
        !          4243: Try \`$0 --help' for more information." >&5
        !          4244: echo "$as_me: error: ambiguous option: $1
        !          4245: Try \`$0 --help' for more information." >&2;}
        !          4246:    { (exit 1); exit 1; }; };;
        !          4247:   --help | --hel | -h )
        !          4248:     echo "$ac_cs_usage"; exit 0 ;;
        !          4249:   --debug | --d* | -d )
        !          4250:     debug=: ;;
        !          4251:   --file | --fil | --fi | --f )
        !          4252:     shift
        !          4253:     CONFIG_FILES="$CONFIG_FILES $1"
        !          4254:     ac_need_defaults=false;;
        !          4255:   --header | --heade | --head | --hea )
        !          4256:     shift
        !          4257:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
        !          4258:     ac_need_defaults=false;;
        !          4259:
        !          4260:   # This is an error.
        !          4261:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
        !          4262: Try \`$0 --help' for more information." >&5
        !          4263: echo "$as_me: error: unrecognized option: $1
        !          4264: Try \`$0 --help' for more information." >&2;}
        !          4265:    { (exit 1); exit 1; }; } ;;
        !          4266:
        !          4267:   *) ac_config_targets="$ac_config_targets $1" ;;
        !          4268:
        !          4269:   esac
        !          4270:   shift
        !          4271: done
        !          4272:
        !          4273: _ACEOF
        !          4274:
        !          4275:
        !          4276:
        !          4277:
        !          4278:
        !          4279: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4280: for ac_config_target in $ac_config_targets
        !          4281: do
        !          4282:   case "$ac_config_target" in
        !          4283:   # Handling of arguments.
        !          4284:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          4285:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
        !          4286: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
        !          4287:    { (exit 1); exit 1; }; };;
1.1       ohara    4288:   esac
                   4289: done
                   4290:
1.4     ! takayama 4291: # If the user did not use the arguments to specify the items to instantiate,
        !          4292: # then the envvar interface is used.  Set only those that are not.
        !          4293: # We use the long form for the default assignment because of an extremely
        !          4294: # bizarre bug on SunOS 4.1.3.
        !          4295: if $ac_need_defaults; then
        !          4296:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
        !          4297: fi
        !          4298:
        !          4299: # Create a temporary directory, and hook for its removal unless debugging.
        !          4300: $debug ||
        !          4301: {
        !          4302:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
        !          4303:   trap '{ (exit 1); exit 1; }' 1 2 13 15
        !          4304: }
        !          4305:
        !          4306: # Create a (secure) tmp directory for tmp files.
        !          4307: : ${TMPDIR=/tmp}
        !          4308: {
        !          4309:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
        !          4310:   test -n "$tmp" && test -d "$tmp"
        !          4311: }  ||
        !          4312: {
        !          4313:   tmp=$TMPDIR/cs$$-$RANDOM
        !          4314:   (umask 077 && mkdir $tmp)
        !          4315: } ||
        !          4316: {
        !          4317:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
        !          4318:    { (exit 1); exit 1; }
        !          4319: }
        !          4320:
        !          4321: _ACEOF
1.1       ohara    4322:
1.4     ! takayama 4323: cat >>$CONFIG_STATUS <<_ACEOF
        !          4324:
        !          4325: #
        !          4326: # CONFIG_FILES section.
        !          4327: #
1.1       ohara    4328:
1.4     ! takayama 4329: # No need to generate the scripts if there are no CONFIG_FILES.
        !          4330: # This happens for instance when ./config.status config.h
        !          4331: if test -n "\$CONFIG_FILES"; then
        !          4332:   # Protect against being on the right side of a sed subst in config.status.
        !          4333:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
        !          4334:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
        !          4335: s,@SHELL@,$SHELL,;t t
        !          4336: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
        !          4337: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
        !          4338: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
        !          4339: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
        !          4340: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
        !          4341: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
        !          4342: s,@exec_prefix@,$exec_prefix,;t t
        !          4343: s,@prefix@,$prefix,;t t
        !          4344: s,@program_transform_name@,$program_transform_name,;t t
        !          4345: s,@bindir@,$bindir,;t t
        !          4346: s,@sbindir@,$sbindir,;t t
        !          4347: s,@libexecdir@,$libexecdir,;t t
        !          4348: s,@datadir@,$datadir,;t t
        !          4349: s,@sysconfdir@,$sysconfdir,;t t
        !          4350: s,@sharedstatedir@,$sharedstatedir,;t t
        !          4351: s,@localstatedir@,$localstatedir,;t t
        !          4352: s,@libdir@,$libdir,;t t
        !          4353: s,@includedir@,$includedir,;t t
        !          4354: s,@oldincludedir@,$oldincludedir,;t t
        !          4355: s,@infodir@,$infodir,;t t
        !          4356: s,@mandir@,$mandir,;t t
        !          4357: s,@build_alias@,$build_alias,;t t
        !          4358: s,@host_alias@,$host_alias,;t t
        !          4359: s,@target_alias@,$target_alias,;t t
        !          4360: s,@DEFS@,$DEFS,;t t
        !          4361: s,@ECHO_C@,$ECHO_C,;t t
        !          4362: s,@ECHO_N@,$ECHO_N,;t t
        !          4363: s,@ECHO_T@,$ECHO_T,;t t
        !          4364: s,@LIBS@,$LIBS,;t t
        !          4365: s,@CC@,$CC,;t t
        !          4366: s,@CFLAGS@,$CFLAGS,;t t
        !          4367: s,@LDFLAGS@,$LDFLAGS,;t t
        !          4368: s,@CPPFLAGS@,$CPPFLAGS,;t t
        !          4369: s,@ac_ct_CC@,$ac_ct_CC,;t t
        !          4370: s,@EXEEXT@,$EXEEXT,;t t
        !          4371: s,@OBJEXT@,$OBJEXT,;t t
        !          4372: s,@RANLIB@,$RANLIB,;t t
        !          4373: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
        !          4374: s,@CPP@,$CPP,;t t
        !          4375: s,@X_CFLAGS@,$X_CFLAGS,;t t
        !          4376: s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
        !          4377: s,@X_LIBS@,$X_LIBS,;t t
        !          4378: s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
        !          4379: s,@GMPLIB@,$GMPLIB,;t t
        !          4380: s,@USE_GMP@,$USE_GMP,;t t
1.1       ohara    4381: CEOF
                   4382:
1.4     ! takayama 4383: _ACEOF
1.1       ohara    4384:
1.4     ! takayama 4385:   cat >>$CONFIG_STATUS <<\_ACEOF
        !          4386:   # Split the substitutions into bite-sized pieces for seds with
        !          4387:   # small command number limits, like on Digital OSF/1 and HP-UX.
        !          4388:   ac_max_sed_lines=48
        !          4389:   ac_sed_frag=1 # Number of current file.
        !          4390:   ac_beg=1 # First line for current file.
        !          4391:   ac_end=$ac_max_sed_lines # Line after last line for current file.
        !          4392:   ac_more_lines=:
        !          4393:   ac_sed_cmds=
        !          4394:   while $ac_more_lines; do
        !          4395:     if test $ac_beg -gt 1; then
        !          4396:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          4397:     else
        !          4398:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          4399:     fi
        !          4400:     if test ! -s $tmp/subs.frag; then
        !          4401:       ac_more_lines=false
1.1       ohara    4402:     else
1.4     ! takayama 4403:       # The purpose of the label and of the branching condition is to
        !          4404:       # speed up the sed processing (if there are no `@' at all, there
        !          4405:       # is no need to browse any of the substitutions).
        !          4406:       # These are the two extra sed commands mentioned above.
        !          4407:       (echo ':t
        !          4408:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
        !          4409:       if test -z "$ac_sed_cmds"; then
        !          4410:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
        !          4411:       else
        !          4412:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
        !          4413:       fi
        !          4414:       ac_sed_frag=`expr $ac_sed_frag + 1`
        !          4415:       ac_beg=$ac_end
        !          4416:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       ohara    4417:     fi
1.4     ! takayama 4418:   done
        !          4419:   if test -z "$ac_sed_cmds"; then
        !          4420:     ac_sed_cmds=cat
1.1       ohara    4421:   fi
1.4     ! takayama 4422: fi # test -n "$CONFIG_FILES"
1.1       ohara    4423:
1.4     ! takayama 4424: _ACEOF
        !          4425: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4426: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
        !          4427:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
        !          4428:   case $ac_file in
        !          4429:   - | *:- | *:-:* ) # input from stdin
        !          4430:         cat >$tmp/stdin
        !          4431:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          4432:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          4433:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          4434:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          4435:   * )   ac_file_in=$ac_file.in ;;
        !          4436:   esac
1.1       ohara    4437:
1.4     ! takayama 4438:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
        !          4439:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
        !          4440: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          4441:          X"$ac_file" : 'X\(//\)[^/]' \| \
        !          4442:          X"$ac_file" : 'X\(//\)$' \| \
        !          4443:          X"$ac_file" : 'X\(/\)' \| \
        !          4444:          .     : '\(.\)' 2>/dev/null ||
        !          4445: echo X"$ac_file" |
        !          4446:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          4447:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          4448:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          4449:          /^X\(\/\).*/{ s//\1/; q; }
        !          4450:          s/.*/./; q'`
        !          4451:   { case "$ac_dir" in
        !          4452:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
        !          4453:   *)                      as_incr_dir=.;;
        !          4454: esac
        !          4455: as_dummy="$ac_dir"
        !          4456: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
        !          4457:   case $as_mkdir_dir in
        !          4458:     # Skip DOS drivespec
        !          4459:     ?:) as_incr_dir=$as_mkdir_dir ;;
        !          4460:     *)
        !          4461:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
        !          4462:       test -d "$as_incr_dir" ||
        !          4463:         mkdir "$as_incr_dir" ||
        !          4464:        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
        !          4465: echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
        !          4466:    { (exit 1); exit 1; }; }
        !          4467:     ;;
1.1       ohara    4468:   esac
1.4     ! takayama 4469: done; }
1.1       ohara    4470:
1.4     ! takayama 4471:   ac_builddir=.
1.1       ohara    4472:
1.4     ! takayama 4473: if test "$ac_dir" != .; then
        !          4474:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
        !          4475:   # A "../" for each directory in $ac_dir_suffix.
        !          4476:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
        !          4477: else
        !          4478:   ac_dir_suffix= ac_top_builddir=
        !          4479: fi
1.1       ohara    4480:
1.4     ! takayama 4481: case $srcdir in
        !          4482:   .)  # No --srcdir option.  We are building in place.
        !          4483:     ac_srcdir=.
        !          4484:     if test -z "$ac_top_builddir"; then
        !          4485:        ac_top_srcdir=.
        !          4486:     else
        !          4487:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
        !          4488:     fi ;;
        !          4489:   [\\/]* | ?:[\\/]* )  # Absolute path.
        !          4490:     ac_srcdir=$srcdir$ac_dir_suffix;
        !          4491:     ac_top_srcdir=$srcdir ;;
1.1       ohara    4492:   *) # Relative path.
1.4     ! takayama 4493:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
        !          4494:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
        !          4495: esac
        !          4496: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
        !          4497: # absolute.
        !          4498: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
        !          4499: ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
        !          4500: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
        !          4501: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
        !          4502:
1.1       ohara    4503:
                   4504:
1.4     ! takayama 4505:   if test x"$ac_file" != x-; then
        !          4506:     { echo "$as_me:$LINENO: creating $ac_file" >&5
        !          4507: echo "$as_me: creating $ac_file" >&6;}
        !          4508:     rm -f "$ac_file"
        !          4509:   fi
        !          4510:   # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          4511:   # use $as_me), people would be surprised to read:
        !          4512:   #    /* config.h.  Generated by config.status.  */
        !          4513:   if test x"$ac_file" = x-; then
        !          4514:     configure_input=
        !          4515:   else
        !          4516:     configure_input="$ac_file.  "
        !          4517:   fi
        !          4518:   configure_input=$configure_input"Generated from `echo $ac_file_in |
        !          4519:                                      sed 's,.*/,,'` by configure."
1.1       ohara    4520:
1.4     ! takayama 4521:   # First look for the input files in the build tree, otherwise in the
        !          4522:   # src tree.
        !          4523:   ac_file_inputs=`IFS=:
        !          4524:     for f in $ac_file_in; do
        !          4525:       case $f in
        !          4526:       -) echo $tmp/stdin ;;
        !          4527:       [\\/$]*)
        !          4528:          # Absolute (can't be DOS-style, as IFS=:)
        !          4529:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          4530: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          4531:    { (exit 1); exit 1; }; }
        !          4532:          echo $f;;
        !          4533:       *) # Relative
        !          4534:          if test -f "$f"; then
        !          4535:            # Build tree
        !          4536:            echo $f
        !          4537:          elif test -f "$srcdir/$f"; then
        !          4538:            # Source tree
        !          4539:            echo $srcdir/$f
        !          4540:          else
        !          4541:            # /dev/null tree
        !          4542:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
        !          4543: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          4544:    { (exit 1); exit 1; }; }
        !          4545:          fi;;
        !          4546:       esac
        !          4547:     done` || { (exit 1); exit 1; }
        !          4548: _ACEOF
        !          4549: cat >>$CONFIG_STATUS <<_ACEOF
        !          4550:   sed "$ac_vpsub
        !          4551: $extrasub
        !          4552: _ACEOF
        !          4553: cat >>$CONFIG_STATUS <<\_ACEOF
        !          4554: :t
        !          4555: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
        !          4556: s,@configure_input@,$configure_input,;t t
        !          4557: s,@srcdir@,$ac_srcdir,;t t
        !          4558: s,@abs_srcdir@,$ac_abs_srcdir,;t t
        !          4559: s,@top_srcdir@,$ac_top_srcdir,;t t
        !          4560: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
        !          4561: s,@builddir@,$ac_builddir,;t t
        !          4562: s,@abs_builddir@,$ac_abs_builddir,;t t
        !          4563: s,@top_builddir@,$ac_top_builddir,;t t
        !          4564: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
        !          4565: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
        !          4566:   rm -f $tmp/stdin
        !          4567:   if test x"$ac_file" != x-; then
        !          4568:     mv $tmp/out $ac_file
        !          4569:   else
        !          4570:     cat $tmp/out
        !          4571:     rm -f $tmp/out
        !          4572:   fi
1.1       ohara    4573:
1.4     ! takayama 4574: done
        !          4575: _ACEOF
1.1       ohara    4576:
1.4     ! takayama 4577: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       ohara    4578:
1.4     ! takayama 4579: { (exit 0); exit 0; }
        !          4580: _ACEOF
1.1       ohara    4581: chmod +x $CONFIG_STATUS
1.4     ! takayama 4582: ac_clean_files=$ac_clean_files_save
        !          4583:
        !          4584:
        !          4585: # configure is writing to config.log, and then calls config.status.
        !          4586: # config.status does its own redirection, appending to config.log.
        !          4587: # Unfortunately, on DOS this fails, as config.log is still kept open
        !          4588: # by configure, so config.status won't be able to write to it; its
        !          4589: # output is simply discarded.  So we exec the FD to /dev/null,
        !          4590: # effectively closing config.log, so it can be properly (re)opened and
        !          4591: # appended to by config.status.  When coming back to configure, we
        !          4592: # need to make the FD available again.
        !          4593: if test "$no_create" != yes; then
        !          4594:   ac_cs_success=:
        !          4595:   exec 5>/dev/null
        !          4596:   $SHELL $CONFIG_STATUS || ac_cs_success=false
        !          4597:   exec 5>>config.log
        !          4598:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
        !          4599:   # would make configure fail if this is the last instruction.
        !          4600:   $ac_cs_success || { (exit 1); exit 1; }
        !          4601: fi
1.2       ohara    4602:

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