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

Annotation of OpenXM/src/asir-doc/jtexindex/C/configure, Revision 1.1

1.1     ! noro        1: #! /bin/sh
        !             2:
        !             3: # Guess values for system-dependent variables and create Makefiles.
        !             4: # Generated automatically using autoconf version 2.7
        !             5: # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
        !             6: #
        !             7: # This configure script is free software; the Free Software Foundation
        !             8: # gives unlimited permission to copy, distribute and modify it.
        !             9:
        !            10: # Defaults:
        !            11: ac_help=
        !            12: ac_default_prefix=/usr/local
        !            13: # Any additions from configure.in:
        !            14:
        !            15: # Initialize some variables set by options.
        !            16: # The variables have the same names as the options, with
        !            17: # dashes changed to underlines.
        !            18: build=NONE
        !            19: cache_file=./config.cache
        !            20: exec_prefix=NONE
        !            21: host=NONE
        !            22: no_create=
        !            23: nonopt=NONE
        !            24: no_recursion=
        !            25: prefix=NONE
        !            26: program_prefix=NONE
        !            27: program_suffix=NONE
        !            28: program_transform_name=s,x,x,
        !            29: silent=
        !            30: site=
        !            31: srcdir=
        !            32: target=NONE
        !            33: verbose=
        !            34: x_includes=NONE
        !            35: x_libraries=NONE
        !            36: bindir='${exec_prefix}/bin'
        !            37: sbindir='${exec_prefix}/sbin'
        !            38: libexecdir='${exec_prefix}/libexec'
        !            39: datadir='${prefix}/share'
        !            40: sysconfdir='${prefix}/etc'
        !            41: sharedstatedir='${prefix}/com'
        !            42: localstatedir='${prefix}/var'
        !            43: libdir='${exec_prefix}/lib'
        !            44: includedir='${prefix}/include'
        !            45: oldincludedir='/usr/include'
        !            46: infodir='${prefix}/info'
        !            47: mandir='${prefix}/man'
        !            48:
        !            49: # Initialize some other variables.
        !            50: subdirs=
        !            51: MFLAGS= MAKEFLAGS=
        !            52:
        !            53: ac_prev=
        !            54: for ac_option
        !            55: do
        !            56:
        !            57:   # If the previous option needs an argument, assign it.
        !            58:   if test -n "$ac_prev"; then
        !            59:     eval "$ac_prev=\$ac_option"
        !            60:     ac_prev=
        !            61:     continue
        !            62:   fi
        !            63:
        !            64:   case "$ac_option" in
        !            65:   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
        !            66:   *) ac_optarg= ;;
        !            67:   esac
        !            68:
        !            69:   # Accept the important Cygnus configure options, so we can diagnose typos.
        !            70:
        !            71:   case "$ac_option" in
        !            72:
        !            73:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
        !            74:     ac_prev=bindir ;;
        !            75:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
        !            76:     bindir="$ac_optarg" ;;
        !            77:
        !            78:   -build | --build | --buil | --bui | --bu)
        !            79:     ac_prev=build ;;
        !            80:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
        !            81:     build="$ac_optarg" ;;
        !            82:
        !            83:   -cache-file | --cache-file | --cache-fil | --cache-fi \
        !            84:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        !            85:     ac_prev=cache_file ;;
        !            86:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
        !            87:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
        !            88:     cache_file="$ac_optarg" ;;
        !            89:
        !            90:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
        !            91:     ac_prev=datadir ;;
        !            92:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
        !            93:   | --da=*)
        !            94:     datadir="$ac_optarg" ;;
        !            95:
        !            96:   -disable-* | --disable-*)
        !            97:     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
        !            98:     # Reject names that are not valid shell variable names.
        !            99:     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
        !           100:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
        !           101:     fi
        !           102:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           103:     eval "enable_${ac_feature}=no" ;;
        !           104:
        !           105:   -enable-* | --enable-*)
        !           106:     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
        !           107:     # Reject names that are not valid shell variable names.
        !           108:     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
        !           109:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
        !           110:     fi
        !           111:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           112:     case "$ac_option" in
        !           113:       *=*) ;;
        !           114:       *) ac_optarg=yes ;;
        !           115:     esac
        !           116:     eval "enable_${ac_feature}='$ac_optarg'" ;;
        !           117:
        !           118:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
        !           119:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
        !           120:   | --exec | --exe | --ex)
        !           121:     ac_prev=exec_prefix ;;
        !           122:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
        !           123:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
        !           124:   | --exec=* | --exe=* | --ex=*)
        !           125:     exec_prefix="$ac_optarg" ;;
        !           126:
        !           127:   -gas | --gas | --ga | --g)
        !           128:     # Obsolete; use --with-gas.
        !           129:     with_gas=yes ;;
        !           130:
        !           131:   -help | --help | --hel | --he)
        !           132:     # Omit some internal or obsolete options to make the list less imposing.
        !           133:     # This message is too long to be a string in the A/UX 3.1 sh.
        !           134:     cat << EOF
        !           135: Usage: configure [options] [host]
        !           136: Options: [defaults in brackets after descriptions]
        !           137: Configuration:
        !           138:   --cache-file=FILE       cache test results in FILE
        !           139:   --help                  print this message
        !           140:   --no-create             do not create output files
        !           141:   --quiet, --silent       do not print \`checking...' messages
        !           142:   --version               print the version of autoconf that created configure
        !           143: Directory and file names:
        !           144:   --prefix=PREFIX         install architecture-independent files in PREFIX
        !           145:                           [$ac_default_prefix]
        !           146:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
        !           147:                           [same as prefix]
        !           148:   --bindir=DIR            user executables in DIR [EPREFIX/bin]
        !           149:   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
        !           150:   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
        !           151:   --datadir=DIR           read-only architecture-independent data in DIR
        !           152:                           [PREFIX/share]
        !           153:   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
        !           154:   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
        !           155:                           [PREFIX/com]
        !           156:   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
        !           157:   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
        !           158:   --includedir=DIR        C header files in DIR [PREFIX/include]
        !           159:   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
        !           160:   --infodir=DIR           info documentation in DIR [PREFIX/info]
        !           161:   --mandir=DIR            man documentation in DIR [PREFIX/man]
        !           162:   --srcdir=DIR            find the sources in DIR [configure dir or ..]
        !           163:   --program-prefix=PREFIX prepend PREFIX to installed program names
        !           164:   --program-suffix=SUFFIX append SUFFIX to installed program names
        !           165:   --program-transform-name=PROGRAM
        !           166:                           run sed PROGRAM on installed program names
        !           167: EOF
        !           168:     cat << EOF
        !           169: Host type:
        !           170:   --build=BUILD           configure for building on BUILD [BUILD=HOST]
        !           171:   --host=HOST             configure for HOST [guessed]
        !           172:   --target=TARGET         configure for TARGET [TARGET=HOST]
        !           173: Features and packages:
        !           174:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
        !           175:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
        !           176:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !           177:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !           178:   --x-includes=DIR        X include files are in DIR
        !           179:   --x-libraries=DIR       X library files are in DIR
        !           180: EOF
        !           181:     if test -n "$ac_help"; then
        !           182:       echo "--enable and --with options recognized:$ac_help"
        !           183:     fi
        !           184:     exit 0 ;;
        !           185:
        !           186:   -host | --host | --hos | --ho)
        !           187:     ac_prev=host ;;
        !           188:   -host=* | --host=* | --hos=* | --ho=*)
        !           189:     host="$ac_optarg" ;;
        !           190:
        !           191:   -includedir | --includedir | --includedi | --included | --include \
        !           192:   | --includ | --inclu | --incl | --inc)
        !           193:     ac_prev=includedir ;;
        !           194:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
        !           195:   | --includ=* | --inclu=* | --incl=* | --inc=*)
        !           196:     includedir="$ac_optarg" ;;
        !           197:
        !           198:   -infodir | --infodir | --infodi | --infod | --info | --inf)
        !           199:     ac_prev=infodir ;;
        !           200:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
        !           201:     infodir="$ac_optarg" ;;
        !           202:
        !           203:   -libdir | --libdir | --libdi | --libd)
        !           204:     ac_prev=libdir ;;
        !           205:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
        !           206:     libdir="$ac_optarg" ;;
        !           207:
        !           208:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
        !           209:   | --libexe | --libex | --libe)
        !           210:     ac_prev=libexecdir ;;
        !           211:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
        !           212:   | --libexe=* | --libex=* | --libe=*)
        !           213:     libexecdir="$ac_optarg" ;;
        !           214:
        !           215:   -localstatedir | --localstatedir | --localstatedi | --localstated \
        !           216:   | --localstate | --localstat | --localsta | --localst \
        !           217:   | --locals | --local | --loca | --loc | --lo)
        !           218:     ac_prev=localstatedir ;;
        !           219:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
        !           220:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
        !           221:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
        !           222:     localstatedir="$ac_optarg" ;;
        !           223:
        !           224:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
        !           225:     ac_prev=mandir ;;
        !           226:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
        !           227:     mandir="$ac_optarg" ;;
        !           228:
        !           229:   -nfp | --nfp | --nf)
        !           230:     # Obsolete; use --without-fp.
        !           231:     with_fp=no ;;
        !           232:
        !           233:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           234:   | --no-cr | --no-c)
        !           235:     no_create=yes ;;
        !           236:
        !           237:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           238:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        !           239:     no_recursion=yes ;;
        !           240:
        !           241:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
        !           242:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
        !           243:   | --oldin | --oldi | --old | --ol | --o)
        !           244:     ac_prev=oldincludedir ;;
        !           245:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
        !           246:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
        !           247:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
        !           248:     oldincludedir="$ac_optarg" ;;
        !           249:
        !           250:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        !           251:     ac_prev=prefix ;;
        !           252:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        !           253:     prefix="$ac_optarg" ;;
        !           254:
        !           255:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
        !           256:   | --program-pre | --program-pr | --program-p)
        !           257:     ac_prev=program_prefix ;;
        !           258:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
        !           259:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
        !           260:     program_prefix="$ac_optarg" ;;
        !           261:
        !           262:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
        !           263:   | --program-suf | --program-su | --program-s)
        !           264:     ac_prev=program_suffix ;;
        !           265:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
        !           266:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
        !           267:     program_suffix="$ac_optarg" ;;
        !           268:
        !           269:   -program-transform-name | --program-transform-name \
        !           270:   | --program-transform-nam | --program-transform-na \
        !           271:   | --program-transform-n | --program-transform- \
        !           272:   | --program-transform | --program-transfor \
        !           273:   | --program-transfo | --program-transf \
        !           274:   | --program-trans | --program-tran \
        !           275:   | --progr-tra | --program-tr | --program-t)
        !           276:     ac_prev=program_transform_name ;;
        !           277:   -program-transform-name=* | --program-transform-name=* \
        !           278:   | --program-transform-nam=* | --program-transform-na=* \
        !           279:   | --program-transform-n=* | --program-transform-=* \
        !           280:   | --program-transform=* | --program-transfor=* \
        !           281:   | --program-transfo=* | --program-transf=* \
        !           282:   | --program-trans=* | --program-tran=* \
        !           283:   | --progr-tra=* | --program-tr=* | --program-t=*)
        !           284:     program_transform_name="$ac_optarg" ;;
        !           285:
        !           286:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !           287:   | -silent | --silent | --silen | --sile | --sil)
        !           288:     silent=yes ;;
        !           289:
        !           290:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
        !           291:     ac_prev=sbindir ;;
        !           292:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
        !           293:   | --sbi=* | --sb=*)
        !           294:     sbindir="$ac_optarg" ;;
        !           295:
        !           296:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
        !           297:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
        !           298:   | --sharedst | --shareds | --shared | --share | --shar \
        !           299:   | --sha | --sh)
        !           300:     ac_prev=sharedstatedir ;;
        !           301:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
        !           302:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
        !           303:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
        !           304:   | --sha=* | --sh=*)
        !           305:     sharedstatedir="$ac_optarg" ;;
        !           306:
        !           307:   -site | --site | --sit)
        !           308:     ac_prev=site ;;
        !           309:   -site=* | --site=* | --sit=*)
        !           310:     site="$ac_optarg" ;;
        !           311:
        !           312:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        !           313:     ac_prev=srcdir ;;
        !           314:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        !           315:     srcdir="$ac_optarg" ;;
        !           316:
        !           317:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
        !           318:   | --syscon | --sysco | --sysc | --sys | --sy)
        !           319:     ac_prev=sysconfdir ;;
        !           320:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
        !           321:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
        !           322:     sysconfdir="$ac_optarg" ;;
        !           323:
        !           324:   -target | --target | --targe | --targ | --tar | --ta | --t)
        !           325:     ac_prev=target ;;
        !           326:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
        !           327:     target="$ac_optarg" ;;
        !           328:
        !           329:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
        !           330:     verbose=yes ;;
        !           331:
        !           332:   -version | --version | --versio | --versi | --vers)
        !           333:     echo "configure generated by autoconf version 2.7"
        !           334:     exit 0 ;;
        !           335:
        !           336:   -with-* | --with-*)
        !           337:     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
        !           338:     # Reject names that are not valid shell variable names.
        !           339:     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
        !           340:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
        !           341:     fi
        !           342:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           343:     case "$ac_option" in
        !           344:       *=*) ;;
        !           345:       *) ac_optarg=yes ;;
        !           346:     esac
        !           347:     eval "with_${ac_package}='$ac_optarg'" ;;
        !           348:
        !           349:   -without-* | --without-*)
        !           350:     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
        !           351:     # Reject names that are not valid shell variable names.
        !           352:     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
        !           353:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
        !           354:     fi
        !           355:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           356:     eval "with_${ac_package}=no" ;;
        !           357:
        !           358:   --x)
        !           359:     # Obsolete; use --with-x.
        !           360:     with_x=yes ;;
        !           361:
        !           362:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
        !           363:   | --x-incl | --x-inc | --x-in | --x-i)
        !           364:     ac_prev=x_includes ;;
        !           365:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
        !           366:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
        !           367:     x_includes="$ac_optarg" ;;
        !           368:
        !           369:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
        !           370:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
        !           371:     ac_prev=x_libraries ;;
        !           372:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
        !           373:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
        !           374:     x_libraries="$ac_optarg" ;;
        !           375:
        !           376:   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
        !           377:     ;;
        !           378:
        !           379:   *)
        !           380:     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
        !           381:       echo "configure: warning: $ac_option: invalid host type" 1>&2
        !           382:     fi
        !           383:     if test "x$nonopt" != xNONE; then
        !           384:       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
        !           385:     fi
        !           386:     nonopt="$ac_option"
        !           387:     ;;
        !           388:
        !           389:   esac
        !           390: done
        !           391:
        !           392: if test -n "$ac_prev"; then
        !           393:   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
        !           394: fi
        !           395:
        !           396: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
        !           397:
        !           398: # File descriptor usage:
        !           399: # 0 standard input
        !           400: # 1 file creation
        !           401: # 2 errors and warnings
        !           402: # 3 some systems may open it to /dev/tty
        !           403: # 4 used on the Kubota Titan
        !           404: # 6 checking for... messages and results
        !           405: # 5 compiler messages saved in config.log
        !           406: if test "$silent" = yes; then
        !           407:   exec 6>/dev/null
        !           408: else
        !           409:   exec 6>&1
        !           410: fi
        !           411: exec 5>./config.log
        !           412:
        !           413: echo "\
        !           414: This file contains any messages produced by compilers while
        !           415: running configure, to aid debugging if configure makes a mistake.
        !           416: " 1>&5
        !           417:
        !           418: # Strip out --no-create and --no-recursion so they do not pile up.
        !           419: # Also quote any args containing shell metacharacters.
        !           420: ac_configure_args=
        !           421: for ac_arg
        !           422: do
        !           423:   case "$ac_arg" in
        !           424:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           425:   | --no-cr | --no-c) ;;
        !           426:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           427:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
        !           428:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
        !           429:   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        !           430:   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
        !           431:   esac
        !           432: done
        !           433:
        !           434: # NLS nuisances.
        !           435: # Only set LANG and LC_ALL to C if already set.
        !           436: # These must not be set unconditionally because not all systems understand
        !           437: # e.g. LANG=C (notably SCO).
        !           438: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
        !           439: if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
        !           440:
        !           441: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !           442: rm -rf conftest* confdefs.h
        !           443: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !           444: echo > confdefs.h
        !           445:
        !           446: # A filename unique to this package, relative to the directory that
        !           447: # configure is in, which we can look for to find out if srcdir is correct.
        !           448: ac_unique_file=texindex.c
        !           449:
        !           450: # Find the source files, if location was not specified.
        !           451: if test -z "$srcdir"; then
        !           452:   ac_srcdir_defaulted=yes
        !           453:   # Try the directory containing this script, then its parent.
        !           454:   ac_prog=$0
        !           455:   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
        !           456:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
        !           457:   srcdir=$ac_confdir
        !           458:   if test ! -r $srcdir/$ac_unique_file; then
        !           459:     srcdir=..
        !           460:   fi
        !           461: else
        !           462:   ac_srcdir_defaulted=no
        !           463: fi
        !           464: if test ! -r $srcdir/$ac_unique_file; then
        !           465:   if test "$ac_srcdir_defaulted" = yes; then
        !           466:     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
        !           467:   else
        !           468:     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
        !           469:   fi
        !           470: fi
        !           471: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
        !           472:
        !           473: # Prefer explicitly selected file to automatically selected ones.
        !           474: if test -z "$CONFIG_SITE"; then
        !           475:   if test "x$prefix" != xNONE; then
        !           476:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
        !           477:   else
        !           478:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
        !           479:   fi
        !           480: fi
        !           481: for ac_site_file in $CONFIG_SITE; do
        !           482:   if test -r "$ac_site_file"; then
        !           483:     echo "loading site script $ac_site_file"
        !           484:     . "$ac_site_file"
        !           485:   fi
        !           486: done
        !           487:
        !           488: if test -r "$cache_file"; then
        !           489:   echo "loading cache $cache_file"
        !           490:   . $cache_file
        !           491: else
        !           492:   echo "creating cache $cache_file"
        !           493:   > $cache_file
        !           494: fi
        !           495:
        !           496: ac_ext=c
        !           497: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !           498: ac_cpp='echo $CPP $CPPFLAGS 1>&5;
        !           499: $CPP $CPPFLAGS'
        !           500: ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
        !           501: ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
        !           502: ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5;
        !           503: ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
        !           504:
        !           505: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
        !           506:   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
        !           507:   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
        !           508:     ac_n= ac_c='
        !           509: ' ac_t='       '
        !           510:   else
        !           511:     ac_n=-n ac_c= ac_t=
        !           512:   fi
        !           513: else
        !           514:   ac_n= ac_c='\c' ac_t=
        !           515: fi
        !           516:
        !           517:
        !           518:
        !           519: # Extract the first word of "gcc", so it can be a program name with args.
        !           520: set dummy gcc; ac_word=$2
        !           521: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !           522: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
        !           523:   echo $ac_n "(cached) $ac_c" 1>&6
        !           524: else
        !           525:   if test -n "$CC"; then
        !           526:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !           527: else
        !           528:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
        !           529:   for ac_dir in $PATH; do
        !           530:     test -z "$ac_dir" && ac_dir=.
        !           531:     if test -f $ac_dir/$ac_word; then
        !           532:       ac_cv_prog_CC="gcc"
        !           533:       break
        !           534:     fi
        !           535:   done
        !           536:   IFS="$ac_save_ifs"
        !           537:   test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
        !           538: fi
        !           539: fi
        !           540: CC="$ac_cv_prog_CC"
        !           541: if test -n "$CC"; then
        !           542:   echo "$ac_t""$CC" 1>&6
        !           543: else
        !           544:   echo "$ac_t""no" 1>&6
        !           545: fi
        !           546:
        !           547:
        !           548: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
        !           549: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
        !           550:   echo $ac_n "(cached) $ac_c" 1>&6
        !           551: else
        !           552:   cat > conftest.c <<EOF
        !           553: #ifdef __GNUC__
        !           554:   yes;
        !           555: #endif
        !           556: EOF
        !           557: if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
        !           558:   ac_cv_prog_gcc=yes
        !           559: else
        !           560:   ac_cv_prog_gcc=no
        !           561: fi
        !           562: fi
        !           563:
        !           564: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
        !           565: if test $ac_cv_prog_gcc = yes; then
        !           566:   GCC=yes
        !           567:   if test "${CFLAGS+set}" != set; then
        !           568:     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
        !           569: if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
        !           570:   echo $ac_n "(cached) $ac_c" 1>&6
        !           571: else
        !           572:   echo 'void f(){}' > conftest.c
        !           573: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
        !           574:   ac_cv_prog_gcc_g=yes
        !           575: else
        !           576:   ac_cv_prog_gcc_g=no
        !           577: fi
        !           578: rm -f conftest*
        !           579:
        !           580: fi
        !           581:
        !           582: echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
        !           583:     if test $ac_cv_prog_gcc_g = yes; then
        !           584:       CFLAGS="-g -O"
        !           585:     else
        !           586:       CFLAGS="-O"
        !           587:     fi
        !           588:   fi
        !           589: else
        !           590:   GCC=
        !           591:   test "${CFLAGS+set}" = set || CFLAGS="-g"
        !           592: fi
        !           593:
        !           594: echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
        !           595: # On Suns, sometimes $CPP names a directory.
        !           596: if test -n "$CPP" && test -d "$CPP"; then
        !           597:   CPP=
        !           598: fi
        !           599: if test -z "$CPP"; then
        !           600: if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
        !           601:   echo $ac_n "(cached) $ac_c" 1>&6
        !           602: else
        !           603:     # This must be in double quotes, not single quotes, because CPP may get
        !           604:   # substituted into the Makefile and "${CC-cc}" will confuse make.
        !           605:   CPP="${CC-cc} -E"
        !           606:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !           607:   # not just through cpp.
        !           608:   cat > conftest.$ac_ext <<EOF
        !           609: #line 610 "configure"
        !           610: #include "confdefs.h"
        !           611: #include <assert.h>
        !           612: Syntax Error
        !           613: EOF
        !           614: eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           615: ac_err=`grep -v '^ *+' conftest.out`
        !           616: if test -z "$ac_err"; then
        !           617:   :
        !           618: else
        !           619:   echo "$ac_err" >&5
        !           620:   rm -rf conftest*
        !           621:   CPP="${CC-cc} -E -traditional-cpp"
        !           622:   cat > conftest.$ac_ext <<EOF
        !           623: #line 624 "configure"
        !           624: #include "confdefs.h"
        !           625: #include <assert.h>
        !           626: Syntax Error
        !           627: EOF
        !           628: eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           629: ac_err=`grep -v '^ *+' conftest.out`
        !           630: if test -z "$ac_err"; then
        !           631:   :
        !           632: else
        !           633:   echo "$ac_err" >&5
        !           634:   rm -rf conftest*
        !           635:   CPP=/lib/cpp
        !           636: fi
        !           637: rm -f conftest*
        !           638: fi
        !           639: rm -f conftest*
        !           640:   ac_cv_prog_CPP="$CPP"
        !           641: fi
        !           642:   CPP="$ac_cv_prog_CPP"
        !           643: else
        !           644:   ac_cv_prog_CPP="$CPP"
        !           645: fi
        !           646: echo "$ac_t""$CPP" 1>&6
        !           647:
        !           648: if test $ac_cv_prog_gcc = yes; then
        !           649:     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
        !           650: if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
        !           651:   echo $ac_n "(cached) $ac_c" 1>&6
        !           652: else
        !           653:     ac_pattern="Autoconf.*'x'"
        !           654:   cat > conftest.$ac_ext <<EOF
        !           655: #line 656 "configure"
        !           656: #include "confdefs.h"
        !           657: #include <sgtty.h>
        !           658: Autoconf TIOCGETP
        !           659: EOF
        !           660: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !           661:   egrep "$ac_pattern" >/dev/null 2>&1; then
        !           662:   rm -rf conftest*
        !           663:   ac_cv_prog_gcc_traditional=yes
        !           664: else
        !           665:   rm -rf conftest*
        !           666:   ac_cv_prog_gcc_traditional=no
        !           667: fi
        !           668: rm -f conftest*
        !           669:
        !           670:
        !           671:   if test $ac_cv_prog_gcc_traditional = no; then
        !           672:     cat > conftest.$ac_ext <<EOF
        !           673: #line 674 "configure"
        !           674: #include "confdefs.h"
        !           675: #include <termio.h>
        !           676: Autoconf TCGETA
        !           677: EOF
        !           678: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !           679:   egrep "$ac_pattern" >/dev/null 2>&1; then
        !           680:   rm -rf conftest*
        !           681:   ac_cv_prog_gcc_traditional=yes
        !           682: fi
        !           683: rm -f conftest*
        !           684:
        !           685:   fi
        !           686: fi
        !           687:
        !           688: echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
        !           689:   if test $ac_cv_prog_gcc_traditional = yes; then
        !           690:     CC="$CC -traditional"
        !           691:   fi
        !           692: fi
        !           693:
        !           694: ac_aux_dir=
        !           695: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
        !           696:   if test -f $ac_dir/install-sh; then
        !           697:     ac_aux_dir=$ac_dir
        !           698:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !           699:     break
        !           700:   elif test -f $ac_dir/install.sh; then
        !           701:     ac_aux_dir=$ac_dir
        !           702:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !           703:     break
        !           704:   fi
        !           705: done
        !           706: if test -z "$ac_aux_dir"; then
        !           707:   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
        !           708: fi
        !           709: ac_config_guess=$ac_aux_dir/config.guess
        !           710: ac_config_sub=$ac_aux_dir/config.sub
        !           711: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
        !           712:
        !           713: # Find a good install program.  We prefer a C program (faster),
        !           714: # so one script is as good as another.  But avoid the broken or
        !           715: # incompatible versions:
        !           716: # SysV /etc/install, /usr/sbin/install
        !           717: # SunOS /usr/etc/install
        !           718: # IRIX /sbin/install
        !           719: # AIX /bin/install
        !           720: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !           721: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !           722: # ./install, which can be erroneously created by make from ./install.sh.
        !           723: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
        !           724: if test -z "$INSTALL"; then
        !           725: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
        !           726:   echo $ac_n "(cached) $ac_c" 1>&6
        !           727: else
        !           728:     IFS="${IFS=        }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
        !           729:   for ac_dir in $PATH; do
        !           730:     # Account for people who put trailing slashes in PATH elements.
        !           731:     case "$ac_dir/" in
        !           732:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
        !           733:     *)
        !           734:       # OSF1 and SCO ODT 3.0 have their own names for install.
        !           735:       for ac_prog in ginstall installbsd scoinst install; do
        !           736:         if test -f $ac_dir/$ac_prog; then
        !           737:          if test $ac_prog = install &&
        !           738:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
        !           739:            # AIX install.  It has an incompatible calling convention.
        !           740:            # OSF/1 installbsd also uses dspmsg, but is usable.
        !           741:            :
        !           742:          else
        !           743:            ac_cv_path_install="$ac_dir/$ac_prog -c"
        !           744:            break 2
        !           745:          fi
        !           746:        fi
        !           747:       done
        !           748:       ;;
        !           749:     esac
        !           750:   done
        !           751:   IFS="$ac_save_ifs"
        !           752:
        !           753: fi
        !           754:   if test "${ac_cv_path_install+set}" = set; then
        !           755:     INSTALL="$ac_cv_path_install"
        !           756:   else
        !           757:     # As a last resort, use the slow shell script.  We don't cache a
        !           758:     # path for INSTALL within a source directory, because that will
        !           759:     # break other packages using the cache if that directory is
        !           760:     # removed, or if the path is relative.
        !           761:     INSTALL="$ac_install_sh"
        !           762:   fi
        !           763: fi
        !           764: echo "$ac_t""$INSTALL" 1>&6
        !           765:
        !           766: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !           767: # It thinks the first close brace ends the variable substitution.
        !           768: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !           769:
        !           770: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !           771:
        !           772: # Extract the first word of "ranlib", so it can be a program name with args.
        !           773: set dummy ranlib; ac_word=$2
        !           774: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !           775: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
        !           776:   echo $ac_n "(cached) $ac_c" 1>&6
        !           777: else
        !           778:   if test -n "$RANLIB"; then
        !           779:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !           780: else
        !           781:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
        !           782:   for ac_dir in $PATH; do
        !           783:     test -z "$ac_dir" && ac_dir=.
        !           784:     if test -f $ac_dir/$ac_word; then
        !           785:       ac_cv_prog_RANLIB="ranlib"
        !           786:       break
        !           787:     fi
        !           788:   done
        !           789:   IFS="$ac_save_ifs"
        !           790:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
        !           791: fi
        !           792: fi
        !           793: RANLIB="$ac_cv_prog_RANLIB"
        !           794: if test -n "$RANLIB"; then
        !           795:   echo "$ac_t""$RANLIB" 1>&6
        !           796: else
        !           797:   echo "$ac_t""no" 1>&6
        !           798: fi
        !           799:
        !           800:
        !           801: echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
        !           802: if test -d /etc/conf/kconfig.d &&
        !           803:   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
        !           804: then
        !           805:   echo "$ac_t""yes" 1>&6
        !           806:   ISC=yes # If later tests want to check for ISC.
        !           807:   cat >> confdefs.h <<\EOF
        !           808: #define _POSIX_SOURCE 1
        !           809: EOF
        !           810:
        !           811:   if test "$GCC" = yes; then
        !           812:     CC="$CC -posix"
        !           813:   else
        !           814:     CC="$CC -Xp"
        !           815:   fi
        !           816: else
        !           817:   echo "$ac_t""no" 1>&6
        !           818:   ISC=
        !           819: fi
        !           820:
        !           821: ac_safe=`echo "minix/config.h" | tr './\055' '___'`
        !           822: echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
        !           823: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !           824:   echo $ac_n "(cached) $ac_c" 1>&6
        !           825: else
        !           826:   cat > conftest.$ac_ext <<EOF
        !           827: #line 828 "configure"
        !           828: #include "confdefs.h"
        !           829: #include <minix/config.h>
        !           830: EOF
        !           831: eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           832: ac_err=`grep -v '^ *+' conftest.out`
        !           833: if test -z "$ac_err"; then
        !           834:   rm -rf conftest*
        !           835:   eval "ac_cv_header_$ac_safe=yes"
        !           836: else
        !           837:   echo "$ac_err" >&5
        !           838:   rm -rf conftest*
        !           839:   eval "ac_cv_header_$ac_safe=no"
        !           840: fi
        !           841: rm -f conftest*
        !           842: fi
        !           843: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !           844:   echo "$ac_t""yes" 1>&6
        !           845:   MINIX=yes
        !           846: else
        !           847:   echo "$ac_t""no" 1>&6
        !           848: MINIX=
        !           849: fi
        !           850:
        !           851: if test "$MINIX" = yes; then
        !           852:   cat >> confdefs.h <<\EOF
        !           853: #define _POSIX_SOURCE 1
        !           854: EOF
        !           855:
        !           856:   cat >> confdefs.h <<\EOF
        !           857: #define _POSIX_1_SOURCE 2
        !           858: EOF
        !           859:
        !           860:   cat >> confdefs.h <<\EOF
        !           861: #define _MINIX 1
        !           862: EOF
        !           863:
        !           864: fi
        !           865:
        !           866:
        !           867: # Needed on sysV68 for sigblock, sigsetmask.
        !           868: echo $ac_n "checking for -lbsd""... $ac_c" 1>&6
        !           869: ac_lib_var=`echo bsd | tr '.-/+' '___p'`
        !           870: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !           871:   echo $ac_n "(cached) $ac_c" 1>&6
        !           872: else
        !           873:   ac_save_LIBS="$LIBS"
        !           874: LIBS="-lbsd  $LIBS"
        !           875: cat > conftest.$ac_ext <<EOF
        !           876: #line 877 "configure"
        !           877: #include "confdefs.h"
        !           878:
        !           879: int main() { return 0; }
        !           880: int t() {
        !           881: sigblock()
        !           882: ; return 0; }
        !           883: EOF
        !           884: if eval $ac_link; then
        !           885:   rm -rf conftest*
        !           886:   eval "ac_cv_lib_$ac_lib_var=yes"
        !           887: else
        !           888:   rm -rf conftest*
        !           889:   eval "ac_cv_lib_$ac_lib_var=no"
        !           890: fi
        !           891: rm -f conftest*
        !           892: LIBS="$ac_save_LIBS"
        !           893:
        !           894: fi
        !           895: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !           896:   echo "$ac_t""yes" 1>&6
        !           897:     ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !           898:   cat >> confdefs.h <<EOF
        !           899: #define $ac_tr_lib 1
        !           900: EOF
        !           901:
        !           902:   LIBS="-lbsd $LIBS"
        !           903:
        !           904: else
        !           905:   echo "$ac_t""no" 1>&6
        !           906: fi
        !           907:
        !           908:
        !           909: TERMLIBS=
        !           910: for termlib in curses termcap terminfo termlib ; do
        !           911:    echo $ac_n "checking for -l${termlib}""... $ac_c" 1>&6
        !           912: ac_lib_var=`echo ${termlib} | tr '.-/+' '___p'`
        !           913: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !           914:   echo $ac_n "(cached) $ac_c" 1>&6
        !           915: else
        !           916:   ac_save_LIBS="$LIBS"
        !           917: LIBS="-l${termlib}  $LIBS"
        !           918: cat > conftest.$ac_ext <<EOF
        !           919: #line 920 "configure"
        !           920: #include "confdefs.h"
        !           921:
        !           922: int main() { return 0; }
        !           923: int t() {
        !           924: tputs()
        !           925: ; return 0; }
        !           926: EOF
        !           927: if eval $ac_link; then
        !           928:   rm -rf conftest*
        !           929:   eval "ac_cv_lib_$ac_lib_var=yes"
        !           930: else
        !           931:   rm -rf conftest*
        !           932:   eval "ac_cv_lib_$ac_lib_var=no"
        !           933: fi
        !           934: rm -f conftest*
        !           935: LIBS="$ac_save_LIBS"
        !           936:
        !           937: fi
        !           938: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !           939:   echo "$ac_t""yes" 1>&6
        !           940:   TERMLIBS="${TERMLIBS} -l${termlib}"; break
        !           941: else
        !           942:   echo "$ac_t""no" 1>&6
        !           943: fi
        !           944:
        !           945: done
        !           946:
        !           947:
        !           948: # If we cannot run a trivial program, we must be cross compiling.
        !           949: echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
        !           950: if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
        !           951:   echo $ac_n "(cached) $ac_c" 1>&6
        !           952: else
        !           953:   if test "$cross_compiling" = yes; then
        !           954:   ac_cv_c_cross=yes
        !           955: else
        !           956: cat > conftest.$ac_ext <<EOF
        !           957: #line 958 "configure"
        !           958: #include "confdefs.h"
        !           959: main(){return(0);}
        !           960: EOF
        !           961: eval $ac_link
        !           962: if test -s conftest && (./conftest; exit) 2>/dev/null; then
        !           963:   ac_cv_c_cross=no
        !           964: else
        !           965:   ac_cv_c_cross=yes
        !           966: fi
        !           967: fi
        !           968: rm -fr conftest*
        !           969: fi
        !           970:
        !           971: echo "$ac_t""$ac_cv_c_cross" 1>&6
        !           972: cross_compiling=$ac_cv_c_cross
        !           973:
        !           974: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
        !           975: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
        !           976:   echo $ac_n "(cached) $ac_c" 1>&6
        !           977: else
        !           978:   cat > conftest.$ac_ext <<EOF
        !           979: #line 980 "configure"
        !           980: #include "confdefs.h"
        !           981: #include <stdlib.h>
        !           982: #include <stdarg.h>
        !           983: #include <string.h>
        !           984: #include <float.h>
        !           985: EOF
        !           986: eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           987: ac_err=`grep -v '^ *+' conftest.out`
        !           988: if test -z "$ac_err"; then
        !           989:   rm -rf conftest*
        !           990:   ac_cv_header_stdc=yes
        !           991: else
        !           992:   echo "$ac_err" >&5
        !           993:   rm -rf conftest*
        !           994:   ac_cv_header_stdc=no
        !           995: fi
        !           996: rm -f conftest*
        !           997:
        !           998: if test $ac_cv_header_stdc = yes; then
        !           999:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          1000: cat > conftest.$ac_ext <<EOF
        !          1001: #line 1002 "configure"
        !          1002: #include "confdefs.h"
        !          1003: #include <string.h>
        !          1004: EOF
        !          1005: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1006:   egrep "memchr" >/dev/null 2>&1; then
        !          1007:   :
        !          1008: else
        !          1009:   rm -rf conftest*
        !          1010:   ac_cv_header_stdc=no
        !          1011: fi
        !          1012: rm -f conftest*
        !          1013:
        !          1014: fi
        !          1015:
        !          1016: if test $ac_cv_header_stdc = yes; then
        !          1017:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          1018: cat > conftest.$ac_ext <<EOF
        !          1019: #line 1020 "configure"
        !          1020: #include "confdefs.h"
        !          1021: #include <stdlib.h>
        !          1022: EOF
        !          1023: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1024:   egrep "free" >/dev/null 2>&1; then
        !          1025:   :
        !          1026: else
        !          1027:   rm -rf conftest*
        !          1028:   ac_cv_header_stdc=no
        !          1029: fi
        !          1030: rm -f conftest*
        !          1031:
        !          1032: fi
        !          1033:
        !          1034: if test $ac_cv_header_stdc = yes; then
        !          1035:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          1036: if test "$cross_compiling" = yes; then
        !          1037:   :
        !          1038: else
        !          1039: cat > conftest.$ac_ext <<EOF
        !          1040: #line 1041 "configure"
        !          1041: #include "confdefs.h"
        !          1042: #include <ctype.h>
        !          1043: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          1044: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          1045: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          1046: int main () { int i; for (i = 0; i < 256; i++)
        !          1047: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
        !          1048: exit (0); }
        !          1049:
        !          1050: EOF
        !          1051: eval $ac_link
        !          1052: if test -s conftest && (./conftest; exit) 2>/dev/null; then
        !          1053:   :
        !          1054: else
        !          1055:   ac_cv_header_stdc=no
        !          1056: fi
        !          1057: fi
        !          1058: rm -fr conftest*
        !          1059: fi
        !          1060: fi
        !          1061:
        !          1062: echo "$ac_t""$ac_cv_header_stdc" 1>&6
        !          1063: if test $ac_cv_header_stdc = yes; then
        !          1064:   cat >> confdefs.h <<\EOF
        !          1065: #define STDC_HEADERS 1
        !          1066: EOF
        !          1067:
        !          1068: fi
        !          1069:
        !          1070: for ac_hdr in unistd.h termio.h string.h varargs.h \
        !          1071:   sys/time.h sys/fcntl.h sys/ttold.h sys/ptem.h sys/file.h
        !          1072: do
        !          1073: ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
        !          1074: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          1075: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          1076:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1077: else
        !          1078:   cat > conftest.$ac_ext <<EOF
        !          1079: #line 1080 "configure"
        !          1080: #include "confdefs.h"
        !          1081: #include <$ac_hdr>
        !          1082: EOF
        !          1083: eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          1084: ac_err=`grep -v '^ *+' conftest.out`
        !          1085: if test -z "$ac_err"; then
        !          1086:   rm -rf conftest*
        !          1087:   eval "ac_cv_header_$ac_safe=yes"
        !          1088: else
        !          1089:   echo "$ac_err" >&5
        !          1090:   rm -rf conftest*
        !          1091:   eval "ac_cv_header_$ac_safe=no"
        !          1092: fi
        !          1093: rm -f conftest*
        !          1094: fi
        !          1095: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          1096:   echo "$ac_t""yes" 1>&6
        !          1097:     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
        !          1098:   cat >> confdefs.h <<EOF
        !          1099: #define $ac_tr_hdr 1
        !          1100: EOF
        !          1101:
        !          1102: else
        !          1103:   echo "$ac_t""no" 1>&6
        !          1104: fi
        !          1105: done
        !          1106:
        !          1107:
        !          1108: echo $ac_n "checking for off_t""... $ac_c" 1>&6
        !          1109: if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
        !          1110:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1111: else
        !          1112:   cat > conftest.$ac_ext <<EOF
        !          1113: #line 1114 "configure"
        !          1114: #include "confdefs.h"
        !          1115: #include <sys/types.h>
        !          1116: #if STDC_HEADERS
        !          1117: #include <stdlib.h>
        !          1118: #endif
        !          1119: EOF
        !          1120: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1121:   egrep "off_t" >/dev/null 2>&1; then
        !          1122:   rm -rf conftest*
        !          1123:   ac_cv_type_off_t=yes
        !          1124: else
        !          1125:   rm -rf conftest*
        !          1126:   ac_cv_type_off_t=no
        !          1127: fi
        !          1128: rm -f conftest*
        !          1129:
        !          1130: fi
        !          1131: echo "$ac_t""$ac_cv_type_off_t" 1>&6
        !          1132: if test $ac_cv_type_off_t = no; then
        !          1133:   cat >> confdefs.h <<\EOF
        !          1134: #define off_t long
        !          1135: EOF
        !          1136:
        !          1137: fi
        !          1138:
        !          1139: echo $ac_n "checking for working const""... $ac_c" 1>&6
        !          1140: if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
        !          1141:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1142: else
        !          1143:   cat > conftest.$ac_ext <<EOF
        !          1144: #line 1145 "configure"
        !          1145: #include "confdefs.h"
        !          1146:
        !          1147: int main() { return 0; }
        !          1148: int t() {
        !          1149:
        !          1150: /* Ultrix mips cc rejects this.  */
        !          1151: typedef int charset[2]; const charset x;
        !          1152: /* SunOS 4.1.1 cc rejects this.  */
        !          1153: char const *const *ccp;
        !          1154: char **p;
        !          1155: /* NEC SVR4.0.2 mips cc rejects this.  */
        !          1156: struct point {int x, y;};
        !          1157: static struct point const zero = {0,0};
        !          1158: /* AIX XL C 1.02.0.0 rejects this.
        !          1159:    It does not let you subtract one const X* pointer from another in an arm
        !          1160:    of an if-expression whose if-part is not a constant expression */
        !          1161: const char *g = "string";
        !          1162: ccp = &g + (g ? g-g : 0);
        !          1163: /* HPUX 7.0 cc rejects these. */
        !          1164: ++ccp;
        !          1165: p = (char**) ccp;
        !          1166: ccp = (char const *const *) p;
        !          1167: { /* SCO 3.2v4 cc rejects this.  */
        !          1168:   char *t;
        !          1169:   char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          1170:
        !          1171:   *t++ = 0;
        !          1172: }
        !          1173: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          1174:   int x[] = {25, 17};
        !          1175:   const int *foo = &x[0];
        !          1176:   ++foo;
        !          1177: }
        !          1178: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          1179:   typedef const int *iptr;
        !          1180:   iptr p = 0;
        !          1181:   ++p;
        !          1182: }
        !          1183: { /* AIX XL C 1.02.0.0 rejects this saying
        !          1184:      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          1185:   struct s { int j; const int *ap[3]; };
        !          1186:   struct s *b; b->j = 5;
        !          1187: }
        !          1188: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          1189:   const int foo = 10;
        !          1190: }
        !          1191:
        !          1192: ; return 0; }
        !          1193: EOF
        !          1194: if eval $ac_compile; then
        !          1195:   rm -rf conftest*
        !          1196:   ac_cv_c_const=yes
        !          1197: else
        !          1198:   rm -rf conftest*
        !          1199:   ac_cv_c_const=no
        !          1200: fi
        !          1201: rm -f conftest*
        !          1202:
        !          1203: fi
        !          1204:
        !          1205: echo "$ac_t""$ac_cv_c_const" 1>&6
        !          1206: if test $ac_cv_c_const = no; then
        !          1207:   cat >> confdefs.h <<\EOF
        !          1208: #define const
        !          1209: EOF
        !          1210:
        !          1211: fi
        !          1212:
        !          1213: echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
        !          1214: if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
        !          1215:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1216: else
        !          1217:   cat > conftest.$ac_ext <<EOF
        !          1218: #line 1219 "configure"
        !          1219: #include "confdefs.h"
        !          1220: #include <sys/types.h>
        !          1221: #include <time.h>
        !          1222: int main() { return 0; }
        !          1223: int t() {
        !          1224: struct tm *tp; tp->tm_sec;
        !          1225: ; return 0; }
        !          1226: EOF
        !          1227: if eval $ac_compile; then
        !          1228:   rm -rf conftest*
        !          1229:   ac_cv_struct_tm=time.h
        !          1230: else
        !          1231:   rm -rf conftest*
        !          1232:   ac_cv_struct_tm=sys/time.h
        !          1233: fi
        !          1234: rm -f conftest*
        !          1235:
        !          1236: fi
        !          1237:
        !          1238: echo "$ac_t""$ac_cv_struct_tm" 1>&6
        !          1239: if test $ac_cv_struct_tm = sys/time.h; then
        !          1240:   cat >> confdefs.h <<\EOF
        !          1241: #define TM_IN_SYS_TIME 1
        !          1242: EOF
        !          1243:
        !          1244: fi
        !          1245:
        !          1246:
        !          1247: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
        !          1248: # for constant arguments.  Useless!
        !          1249: echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
        !          1250: if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
        !          1251:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1252: else
        !          1253:   cat > conftest.$ac_ext <<EOF
        !          1254: #line 1255 "configure"
        !          1255: #include "confdefs.h"
        !          1256: #include <alloca.h>
        !          1257: int main() { return 0; }
        !          1258: int t() {
        !          1259: char *p = alloca(2 * sizeof(int));
        !          1260: ; return 0; }
        !          1261: EOF
        !          1262: if eval $ac_link; then
        !          1263:   rm -rf conftest*
        !          1264:   ac_cv_header_alloca_h=yes
        !          1265: else
        !          1266:   rm -rf conftest*
        !          1267:   ac_cv_header_alloca_h=no
        !          1268: fi
        !          1269: rm -f conftest*
        !          1270:
        !          1271: fi
        !          1272:
        !          1273: echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
        !          1274: if test $ac_cv_header_alloca_h = yes; then
        !          1275:   cat >> confdefs.h <<\EOF
        !          1276: #define HAVE_ALLOCA_H 1
        !          1277: EOF
        !          1278:
        !          1279: fi
        !          1280:
        !          1281: echo $ac_n "checking for alloca""... $ac_c" 1>&6
        !          1282: if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
        !          1283:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1284: else
        !          1285:   cat > conftest.$ac_ext <<EOF
        !          1286: #line 1287 "configure"
        !          1287: #include "confdefs.h"
        !          1288:
        !          1289: #ifdef __GNUC__
        !          1290: # define alloca __builtin_alloca
        !          1291: #else
        !          1292: # if HAVE_ALLOCA_H
        !          1293: #  include <alloca.h>
        !          1294: # else
        !          1295: #  ifdef _AIX
        !          1296:  #pragma alloca
        !          1297: #  else
        !          1298: #   ifndef alloca /* predefined by HP cc +Olibcalls */
        !          1299: char *alloca ();
        !          1300: #   endif
        !          1301: #  endif
        !          1302: # endif
        !          1303: #endif
        !          1304:
        !          1305: int main() { return 0; }
        !          1306: int t() {
        !          1307: char *p = (char *) alloca(1);
        !          1308: ; return 0; }
        !          1309: EOF
        !          1310: if eval $ac_link; then
        !          1311:   rm -rf conftest*
        !          1312:   ac_cv_func_alloca=yes
        !          1313: else
        !          1314:   rm -rf conftest*
        !          1315:   ac_cv_func_alloca=no
        !          1316: fi
        !          1317: rm -f conftest*
        !          1318:
        !          1319: fi
        !          1320:
        !          1321: echo "$ac_t""$ac_cv_func_alloca" 1>&6
        !          1322: if test $ac_cv_func_alloca = yes; then
        !          1323:   cat >> confdefs.h <<\EOF
        !          1324: #define HAVE_ALLOCA 1
        !          1325: EOF
        !          1326:
        !          1327: fi
        !          1328:
        !          1329: if test $ac_cv_func_alloca = no; then
        !          1330:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
        !          1331:   # that cause trouble.  Some versions do not even contain alloca or
        !          1332:   # contain a buggy version.  If you still want to use their alloca,
        !          1333:   # use ar to extract alloca.o from them instead of compiling alloca.c.
        !          1334:   ALLOCA=alloca.o
        !          1335:   cat >> confdefs.h <<\EOF
        !          1336: #define C_ALLOCA 1
        !          1337: EOF
        !          1338:
        !          1339:
        !          1340: echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
        !          1341: if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
        !          1342:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1343: else
        !          1344:   cat > conftest.$ac_ext <<EOF
        !          1345: #line 1346 "configure"
        !          1346: #include "confdefs.h"
        !          1347: #if defined(CRAY) && ! defined(CRAY2)
        !          1348: webecray
        !          1349: #else
        !          1350: wenotbecray
        !          1351: #endif
        !          1352:
        !          1353: EOF
        !          1354: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1355:   egrep "webecray" >/dev/null 2>&1; then
        !          1356:   rm -rf conftest*
        !          1357:   ac_cv_os_cray=yes
        !          1358: else
        !          1359:   rm -rf conftest*
        !          1360:   ac_cv_os_cray=no
        !          1361: fi
        !          1362: rm -f conftest*
        !          1363:
        !          1364: fi
        !          1365:
        !          1366: echo "$ac_t""$ac_cv_os_cray" 1>&6
        !          1367: if test $ac_cv_os_cray = yes; then
        !          1368: for ac_func in _getb67 GETB67 getb67; do
        !          1369:   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1370: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1371:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1372: else
        !          1373:   cat > conftest.$ac_ext <<EOF
        !          1374: #line 1375 "configure"
        !          1375: #include "confdefs.h"
        !          1376: /* System header to define __stub macros and hopefully few prototypes,
        !          1377:     which can conflict with char $ac_func(); below.  */
        !          1378: #include <assert.h>
        !          1379: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1380: char $ac_func();
        !          1381:
        !          1382: int main() { return 0; }
        !          1383: int t() {
        !          1384:
        !          1385: /* The GNU C library defines this for functions which it implements
        !          1386:     to always fail with ENOSYS.  Some functions are actually named
        !          1387:     something starting with __ and the normal name is an alias.  */
        !          1388: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1389: choke me
        !          1390: #else
        !          1391: $ac_func();
        !          1392: #endif
        !          1393:
        !          1394: ; return 0; }
        !          1395: EOF
        !          1396: if eval $ac_link; then
        !          1397:   rm -rf conftest*
        !          1398:   eval "ac_cv_func_$ac_func=yes"
        !          1399: else
        !          1400:   rm -rf conftest*
        !          1401:   eval "ac_cv_func_$ac_func=no"
        !          1402: fi
        !          1403: rm -f conftest*
        !          1404:
        !          1405: fi
        !          1406: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1407:   echo "$ac_t""yes" 1>&6
        !          1408:   cat >> confdefs.h <<EOF
        !          1409: #define CRAY_STACKSEG_END $ac_func
        !          1410: EOF
        !          1411:
        !          1412:   break
        !          1413: else
        !          1414:   echo "$ac_t""no" 1>&6
        !          1415: fi
        !          1416:
        !          1417: done
        !          1418: fi
        !          1419:
        !          1420: echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
        !          1421: if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
        !          1422:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1423: else
        !          1424:   if test "$cross_compiling" = yes; then
        !          1425:   ac_cv_c_stack_direction=0
        !          1426: else
        !          1427: cat > conftest.$ac_ext <<EOF
        !          1428: #line 1429 "configure"
        !          1429: #include "confdefs.h"
        !          1430: find_stack_direction ()
        !          1431: {
        !          1432:   static char *addr = 0;
        !          1433:   auto char dummy;
        !          1434:   if (addr == 0)
        !          1435:     {
        !          1436:       addr = &dummy;
        !          1437:       return find_stack_direction ();
        !          1438:     }
        !          1439:   else
        !          1440:     return (&dummy > addr) ? 1 : -1;
        !          1441: }
        !          1442: main ()
        !          1443: {
        !          1444:   exit (find_stack_direction() < 0);
        !          1445: }
        !          1446: EOF
        !          1447: eval $ac_link
        !          1448: if test -s conftest && (./conftest; exit) 2>/dev/null; then
        !          1449:   ac_cv_c_stack_direction=1
        !          1450: else
        !          1451:   ac_cv_c_stack_direction=-1
        !          1452: fi
        !          1453: fi
        !          1454: rm -fr conftest*
        !          1455: fi
        !          1456:
        !          1457: echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
        !          1458: cat >> confdefs.h <<EOF
        !          1459: #define STACK_DIRECTION $ac_cv_c_stack_direction
        !          1460: EOF
        !          1461:
        !          1462: fi
        !          1463:
        !          1464: echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&6
        !          1465: if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
        !          1466:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1467: else
        !          1468:   if test "$cross_compiling" = yes; then
        !          1469:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        !          1470: else
        !          1471: cat > conftest.$ac_ext <<EOF
        !          1472: #line 1473 "configure"
        !          1473: #include "confdefs.h"
        !          1474: #include <stdio.h>
        !          1475: /* If setvbuf has the reversed format, exit 0. */
        !          1476: main () {
        !          1477:   /* This call has the arguments reversed.
        !          1478:      A reversed system may check and see that the address of main
        !          1479:      is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
        !          1480:   if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
        !          1481:     exit(1);
        !          1482:   putc('\r', stdout);
        !          1483:   exit(0);                     /* Non-reversed systems segv here.  */
        !          1484: }
        !          1485: EOF
        !          1486: eval $ac_link
        !          1487: if test -s conftest && (./conftest; exit) 2>/dev/null; then
        !          1488:   ac_cv_func_setvbuf_reversed=yes
        !          1489: else
        !          1490:   ac_cv_func_setvbuf_reversed=no
        !          1491: fi
        !          1492: fi
        !          1493: rm -fr conftest*
        !          1494: rm -f core core.* *.core
        !          1495: fi
        !          1496:
        !          1497: echo "$ac_t""$ac_cv_func_setvbuf_reversed" 1>&6
        !          1498: if test $ac_cv_func_setvbuf_reversed = yes; then
        !          1499:   cat >> confdefs.h <<\EOF
        !          1500: #define SETVBUF_REVERSED 1
        !          1501: EOF
        !          1502:
        !          1503: fi
        !          1504:
        !          1505: for ac_func in setvbuf getcwd bzero bcopy  memset memcpy memmove strchr \
        !          1506:               strcasecmp strdup vfprintf vsprintf strerror sigprocmask \
        !          1507:               sigsetmask
        !          1508: do
        !          1509: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1510: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1511:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1512: else
        !          1513:   cat > conftest.$ac_ext <<EOF
        !          1514: #line 1515 "configure"
        !          1515: #include "confdefs.h"
        !          1516: /* System header to define __stub macros and hopefully few prototypes,
        !          1517:     which can conflict with char $ac_func(); below.  */
        !          1518: #include <assert.h>
        !          1519: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1520: char $ac_func();
        !          1521:
        !          1522: int main() { return 0; }
        !          1523: int t() {
        !          1524:
        !          1525: /* The GNU C library defines this for functions which it implements
        !          1526:     to always fail with ENOSYS.  Some functions are actually named
        !          1527:     something starting with __ and the normal name is an alias.  */
        !          1528: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1529: choke me
        !          1530: #else
        !          1531: $ac_func();
        !          1532: #endif
        !          1533:
        !          1534: ; return 0; }
        !          1535: EOF
        !          1536: if eval $ac_link; then
        !          1537:   rm -rf conftest*
        !          1538:   eval "ac_cv_func_$ac_func=yes"
        !          1539: else
        !          1540:   rm -rf conftest*
        !          1541:   eval "ac_cv_func_$ac_func=no"
        !          1542: fi
        !          1543: rm -f conftest*
        !          1544:
        !          1545: fi
        !          1546: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1547:   echo "$ac_t""yes" 1>&6
        !          1548:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1549:   cat >> confdefs.h <<EOF
        !          1550: #define $ac_tr_func 1
        !          1551: EOF
        !          1552:
        !          1553: else
        !          1554:   echo "$ac_t""no" 1>&6
        !          1555: fi
        !          1556: done
        !          1557:
        !          1558:
        !          1559: trap '' 1 2 15
        !          1560: cat > confcache <<\EOF
        !          1561: # This file is a shell script that caches the results of configure
        !          1562: # tests run on this system so they can be shared between configure
        !          1563: # scripts and configure runs.  It is not useful on other systems.
        !          1564: # If it contains results you don't want to keep, you may remove or edit it.
        !          1565: #
        !          1566: # By default, configure uses ./config.cache as the cache file,
        !          1567: # creating it if it does not exist already.  You can give configure
        !          1568: # the --cache-file=FILE option to use a different cache file; that is
        !          1569: # what configure does when it calls configure scripts in
        !          1570: # subdirectories, so they share the cache.
        !          1571: # Giving --cache-file=/dev/null disables caching, for debugging configure.
        !          1572: # config.status only pays attention to the cache file if you give it the
        !          1573: # --recheck option to rerun configure.
        !          1574: #
        !          1575: EOF
        !          1576: # Ultrix sh set writes to stderr and can't be redirected directly,
        !          1577: # and sets the high bit in the cache file unless we assign to the vars.
        !          1578: (set) 2>&1 |
        !          1579:   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
        !          1580:   >> confcache
        !          1581: if cmp -s $cache_file confcache; then
        !          1582:   :
        !          1583: else
        !          1584:   if test -w $cache_file; then
        !          1585:     echo "updating cache $cache_file"
        !          1586:     cat confcache > $cache_file
        !          1587:   else
        !          1588:     echo "not updating unwritable cache $cache_file"
        !          1589:   fi
        !          1590: fi
        !          1591: rm -f confcache
        !          1592:
        !          1593: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
        !          1594:
        !          1595: test "x$prefix" = xNONE && prefix=$ac_default_prefix
        !          1596: # Let make expand exec_prefix.
        !          1597: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
        !          1598:
        !          1599: # Any assignment to VPATH causes Sun make to only execute
        !          1600: # the first set of double-colon rules, so remove it if not needed.
        !          1601: # If there is a colon in the path, we need to keep it.
        !          1602: if test "x$srcdir" = x.; then
        !          1603:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
        !          1604: fi
        !          1605:
        !          1606: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
        !          1607:
        !          1608: # Transform confdefs.h into DEFS.
        !          1609: # Protect against shell expansion while executing Makefile rules.
        !          1610: # Protect against Makefile macro expansion.
        !          1611: cat > conftest.defs <<\EOF
        !          1612: s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
        !          1613: s%[    `~#$^&*(){}\\|;'"<>?]%\\&%g
        !          1614: s%\[%\\&%g
        !          1615: s%\]%\\&%g
        !          1616: s%\$%$$%g
        !          1617: EOF
        !          1618: DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
        !          1619: rm -f conftest.defs
        !          1620:
        !          1621:
        !          1622: # Without the "./", some shells look in PATH for config.status.
        !          1623: : ${CONFIG_STATUS=./config.status}
        !          1624:
        !          1625: echo creating $CONFIG_STATUS
        !          1626: rm -f $CONFIG_STATUS
        !          1627: cat > $CONFIG_STATUS <<EOF
        !          1628: #! /bin/sh
        !          1629: # Generated automatically by configure.
        !          1630: # Run this file to recreate the current configuration.
        !          1631: # This directory was configured as follows,
        !          1632: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
        !          1633: #
        !          1634: # $0 $ac_configure_args
        !          1635: #
        !          1636: # Compiler output produced by configure, useful for debugging
        !          1637: # configure, is in ./config.log if it exists.
        !          1638:
        !          1639: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
        !          1640: for ac_option
        !          1641: do
        !          1642:   case "\$ac_option" in
        !          1643:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        !          1644:     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
        !          1645:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
        !          1646:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
        !          1647:     echo "$CONFIG_STATUS generated by autoconf version 2.7"
        !          1648:     exit 0 ;;
        !          1649:   -help | --help | --hel | --he | --h)
        !          1650:     echo "\$ac_cs_usage"; exit 0 ;;
        !          1651:   *) echo "\$ac_cs_usage"; exit 1 ;;
        !          1652:   esac
        !          1653: done
        !          1654:
        !          1655: ac_given_srcdir=$srcdir
        !          1656: ac_given_INSTALL="$INSTALL"
        !          1657:
        !          1658: trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
        !          1659: EOF
        !          1660: cat >> $CONFIG_STATUS <<EOF
        !          1661:
        !          1662: # Protect against being on the right side of a sed subst in config.status.
        !          1663: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
        !          1664:  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
        !          1665: $ac_vpsub
        !          1666: $extrasub
        !          1667: s%@CFLAGS@%$CFLAGS%g
        !          1668: s%@CPPFLAGS@%$CPPFLAGS%g
        !          1669: s%@CXXFLAGS@%$CXXFLAGS%g
        !          1670: s%@DEFS@%$DEFS%g
        !          1671: s%@LDFLAGS@%$LDFLAGS%g
        !          1672: s%@LIBS@%$LIBS%g
        !          1673: s%@exec_prefix@%$exec_prefix%g
        !          1674: s%@prefix@%$prefix%g
        !          1675: s%@program_transform_name@%$program_transform_name%g
        !          1676: s%@bindir@%$bindir%g
        !          1677: s%@sbindir@%$sbindir%g
        !          1678: s%@libexecdir@%$libexecdir%g
        !          1679: s%@datadir@%$datadir%g
        !          1680: s%@sysconfdir@%$sysconfdir%g
        !          1681: s%@sharedstatedir@%$sharedstatedir%g
        !          1682: s%@localstatedir@%$localstatedir%g
        !          1683: s%@libdir@%$libdir%g
        !          1684: s%@includedir@%$includedir%g
        !          1685: s%@oldincludedir@%$oldincludedir%g
        !          1686: s%@infodir@%$infodir%g
        !          1687: s%@mandir@%$mandir%g
        !          1688: s%@CC@%$CC%g
        !          1689: s%@CPP@%$CPP%g
        !          1690: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
        !          1691: s%@INSTALL_DATA@%$INSTALL_DATA%g
        !          1692: s%@RANLIB@%$RANLIB%g
        !          1693: s%@TERMLIBS@%$TERMLIBS%g
        !          1694: s%@ALLOCA@%$ALLOCA%g
        !          1695:
        !          1696: CEOF
        !          1697: EOF
        !          1698: cat >> $CONFIG_STATUS <<EOF
        !          1699:
        !          1700: CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
        !          1701: EOF
        !          1702: cat >> $CONFIG_STATUS <<\EOF
        !          1703: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
        !          1704:   # Support "outfile[:infile]", defaulting infile="outfile.in".
        !          1705:   case "$ac_file" in
        !          1706:   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
        !          1707:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
        !          1708:   *) ac_file_in="${ac_file}.in" ;;
        !          1709:   esac
        !          1710:
        !          1711:   # Adjust relative srcdir, etc. for subdirectories.
        !          1712:
        !          1713:   # Remove last slash and all that follows it.  Not all systems have dirname.
        !          1714:   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
        !          1715:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          1716:     # The file is in a subdirectory.
        !          1717:     test ! -d "$ac_dir" && mkdir "$ac_dir"
        !          1718:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
        !          1719:     # A "../" for each directory in $ac_dir_suffix.
        !          1720:     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
        !          1721:   else
        !          1722:     ac_dir_suffix= ac_dots=
        !          1723:   fi
        !          1724:
        !          1725:   case "$ac_given_srcdir" in
        !          1726:   .)  srcdir=.
        !          1727:       if test -z "$ac_dots"; then top_srcdir=.
        !          1728:       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
        !          1729:   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
        !          1730:   *) # Relative path.
        !          1731:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
        !          1732:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
        !          1733:   esac
        !          1734:
        !          1735:   case "$ac_given_INSTALL" in
        !          1736:   [/$]*) INSTALL="$ac_given_INSTALL" ;;
        !          1737:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
        !          1738:   esac
        !          1739:   echo creating "$ac_file"
        !          1740:   rm -f "$ac_file"
        !          1741:   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
        !          1742:   case "$ac_file" in
        !          1743:   *Makefile*) ac_comsub="1i\\
        !          1744: # $configure_input" ;;
        !          1745:   *) ac_comsub= ;;
        !          1746:   esac
        !          1747:   sed -e "$ac_comsub
        !          1748: s%@configure_input@%$configure_input%g
        !          1749: s%@srcdir@%$srcdir%g
        !          1750: s%@top_srcdir@%$top_srcdir%g
        !          1751: s%@INSTALL@%$INSTALL%g
        !          1752: " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
        !          1753: fi; done
        !          1754: rm -f conftest.subs
        !          1755:
        !          1756:
        !          1757:
        !          1758: exit 0
        !          1759: EOF
        !          1760: chmod +x $CONFIG_STATUS
        !          1761: rm -fr confdefs* $ac_clean_files
        !          1762: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
        !          1763:

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