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

Annotation of OpenXM/src/kxx/configure, Revision 1.6

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

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