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

Annotation of OpenXM/src/kan96xx/trans/configure, Revision 1.3

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

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