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

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

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