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

Annotation of OpenXM/src/kan96xx/plugin/configure, Revision 1.2

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

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