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

Annotation of OpenXM/src/kan96xx/Kan/configure, Revision 1.5

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

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