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

Annotation of OpenXM/src/ox_ntl/configure, Revision 1.2

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

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