[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc

Annotation of OpenXM/src/asir-doc/configure, Revision 1.2

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

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