Annotation of generator/configure, revision 1.1.1.2

1.1       root        1: #! /bin/sh
                      2: 
                      3: # Guess values for system-dependent variables and create Makefiles.
                      4: # Generated automatically using autoconf version 2.13 
                      5: # Copyright (C) 1992, 93, 94, 95, 96 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: ac_help="$ac_help
                     15: Create svgalib version"
                     16: ac_help="$ac_help
                     17: Create allegro version"
                     18: ac_help="$ac_help
                     19: Create tcltk version"
                     20: ac_help="$ac_help
                     21:   --with-warnings         Turn on gcc warnings"
                     22: ac_help="$ac_help
                     23:   --with-gcc[=VER]    GCC optimisation setting"
                     24: ac_help="$ac_help
                     25:   --with-debug        Turn debugging options on"
                     26: 
                     27: # Initialize some variables set by options.
                     28: # The variables have the same names as the options, with
                     29: # dashes changed to underlines.
                     30: build=NONE
                     31: cache_file=./config.cache
                     32: exec_prefix=NONE
                     33: host=NONE
                     34: no_create=
                     35: nonopt=NONE
                     36: no_recursion=
                     37: prefix=NONE
                     38: program_prefix=NONE
                     39: program_suffix=NONE
                     40: program_transform_name=s,x,x,
                     41: silent=
                     42: site=
                     43: srcdir=
                     44: target=NONE
                     45: verbose=
                     46: x_includes=NONE
                     47: x_libraries=NONE
                     48: bindir='${exec_prefix}/bin'
                     49: sbindir='${exec_prefix}/sbin'
                     50: libexecdir='${exec_prefix}/libexec'
                     51: datadir='${prefix}/share'
                     52: sysconfdir='${prefix}/etc'
                     53: sharedstatedir='${prefix}/com'
                     54: localstatedir='${prefix}/var'
                     55: libdir='${exec_prefix}/lib'
                     56: includedir='${prefix}/include'
                     57: oldincludedir='/usr/include'
                     58: infodir='${prefix}/info'
                     59: mandir='${prefix}/man'
                     60: 
                     61: # Initialize some other variables.
                     62: subdirs=
                     63: MFLAGS= MAKEFLAGS=
                     64: SHELL=${CONFIG_SHELL-/bin/sh}
                     65: # Maximum number of lines to put in a shell here document.
                     66: ac_max_here_lines=12
                     67: 
                     68: ac_prev=
                     69: for ac_option
                     70: do
                     71: 
                     72:   # If the previous option needs an argument, assign it.
                     73:   if test -n "$ac_prev"; then
                     74:     eval "$ac_prev=\$ac_option"
                     75:     ac_prev=
                     76:     continue
                     77:   fi
                     78: 
                     79:   case "$ac_option" in
                     80:   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
                     81:   *) ac_optarg= ;;
                     82:   esac
                     83: 
                     84:   # Accept the important Cygnus configure options, so we can diagnose typos.
                     85: 
                     86:   case "$ac_option" in
                     87: 
                     88:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                     89:     ac_prev=bindir ;;
                     90:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                     91:     bindir="$ac_optarg" ;;
                     92: 
                     93:   -build | --build | --buil | --bui | --bu)
                     94:     ac_prev=build ;;
                     95:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                     96:     build="$ac_optarg" ;;
                     97: 
                     98:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                     99:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    100:     ac_prev=cache_file ;;
                    101:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    102:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    103:     cache_file="$ac_optarg" ;;
                    104: 
                    105:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    106:     ac_prev=datadir ;;
                    107:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    108:   | --da=*)
                    109:     datadir="$ac_optarg" ;;
                    110: 
                    111:   -disable-* | --disable-*)
                    112:     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
                    113:     # Reject names that are not valid shell variable names.
                    114:     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
                    115:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
                    116:     fi
                    117:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
                    118:     eval "enable_${ac_feature}=no" ;;
                    119: 
                    120:   -enable-* | --enable-*)
                    121:     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
                    122:     # Reject names that are not valid shell variable names.
                    123:     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
                    124:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
                    125:     fi
                    126:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
                    127:     case "$ac_option" in
                    128:       *=*) ;;
                    129:       *) ac_optarg=yes ;;
                    130:     esac
                    131:     eval "enable_${ac_feature}='$ac_optarg'" ;;
                    132: 
                    133:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    134:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    135:   | --exec | --exe | --ex)
                    136:     ac_prev=exec_prefix ;;
                    137:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    138:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    139:   | --exec=* | --exe=* | --ex=*)
                    140:     exec_prefix="$ac_optarg" ;;
                    141: 
                    142:   -gas | --gas | --ga | --g)
                    143:     # Obsolete; use --with-gas.
                    144:     with_gas=yes ;;
                    145: 
                    146:   -help | --help | --hel | --he)
                    147:     # Omit some internal or obsolete options to make the list less imposing.
                    148:     # This message is too long to be a string in the A/UX 3.1 sh.
                    149:     cat << EOF
                    150: Usage: configure [options] [host]
                    151: Options: [defaults in brackets after descriptions]
                    152: Configuration:
                    153:   --cache-file=FILE       cache test results in FILE
                    154:   --help                  print this message
                    155:   --no-create             do not create output files
                    156:   --quiet, --silent       do not print \`checking...' messages
                    157:   --version               print the version of autoconf that created configure
                    158: Directory and file names:
                    159:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    160:                           [$ac_default_prefix]
                    161:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    162:                           [same as prefix]
                    163:   --bindir=DIR            user executables in DIR [EPREFIX/bin]
                    164:   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
                    165:   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
                    166:   --datadir=DIR           read-only architecture-independent data in DIR
                    167:                           [PREFIX/share]
                    168:   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
                    169:   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                    170:                           [PREFIX/com]
                    171:   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
                    172:   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
                    173:   --includedir=DIR        C header files in DIR [PREFIX/include]
                    174:   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
                    175:   --infodir=DIR           info documentation in DIR [PREFIX/info]
                    176:   --mandir=DIR            man documentation in DIR [PREFIX/man]
                    177:   --srcdir=DIR            find the sources in DIR [configure dir or ..]
                    178:   --program-prefix=PREFIX prepend PREFIX to installed program names
                    179:   --program-suffix=SUFFIX append SUFFIX to installed program names
                    180:   --program-transform-name=PROGRAM
                    181:                           run sed PROGRAM on installed program names
                    182: EOF
                    183:     cat << EOF
                    184: Host type:
                    185:   --build=BUILD           configure for building on BUILD [BUILD=HOST]
                    186:   --host=HOST             configure for HOST [guessed]
                    187:   --target=TARGET         configure for TARGET [TARGET=HOST]
                    188: Features and packages:
                    189:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    190:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    191:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    192:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    193:   --x-includes=DIR        X include files are in DIR
                    194:   --x-libraries=DIR       X library files are in DIR
                    195: EOF
                    196:     if test -n "$ac_help"; then
                    197:       echo "--enable and --with options recognized:$ac_help"
                    198:     fi
                    199:     exit 0 ;;
                    200: 
                    201:   -host | --host | --hos | --ho)
                    202:     ac_prev=host ;;
                    203:   -host=* | --host=* | --hos=* | --ho=*)
                    204:     host="$ac_optarg" ;;
                    205: 
                    206:   -includedir | --includedir | --includedi | --included | --include \
                    207:   | --includ | --inclu | --incl | --inc)
                    208:     ac_prev=includedir ;;
                    209:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    210:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    211:     includedir="$ac_optarg" ;;
                    212: 
                    213:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    214:     ac_prev=infodir ;;
                    215:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    216:     infodir="$ac_optarg" ;;
                    217: 
                    218:   -libdir | --libdir | --libdi | --libd)
                    219:     ac_prev=libdir ;;
                    220:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    221:     libdir="$ac_optarg" ;;
                    222: 
                    223:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    224:   | --libexe | --libex | --libe)
                    225:     ac_prev=libexecdir ;;
                    226:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    227:   | --libexe=* | --libex=* | --libe=*)
                    228:     libexecdir="$ac_optarg" ;;
                    229: 
                    230:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    231:   | --localstate | --localstat | --localsta | --localst \
                    232:   | --locals | --local | --loca | --loc | --lo)
                    233:     ac_prev=localstatedir ;;
                    234:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    235:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    236:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
                    237:     localstatedir="$ac_optarg" ;;
                    238: 
                    239:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    240:     ac_prev=mandir ;;
                    241:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    242:     mandir="$ac_optarg" ;;
                    243: 
                    244:   -nfp | --nfp | --nf)
                    245:     # Obsolete; use --without-fp.
                    246:     with_fp=no ;;
                    247: 
                    248:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    249:   | --no-cr | --no-c)
                    250:     no_create=yes ;;
                    251: 
                    252:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    253:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    254:     no_recursion=yes ;;
                    255: 
                    256:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    257:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    258:   | --oldin | --oldi | --old | --ol | --o)
                    259:     ac_prev=oldincludedir ;;
                    260:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    261:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    262:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    263:     oldincludedir="$ac_optarg" ;;
                    264: 
                    265:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    266:     ac_prev=prefix ;;
                    267:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    268:     prefix="$ac_optarg" ;;
                    269: 
                    270:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    271:   | --program-pre | --program-pr | --program-p)
                    272:     ac_prev=program_prefix ;;
                    273:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    274:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    275:     program_prefix="$ac_optarg" ;;
                    276: 
                    277:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    278:   | --program-suf | --program-su | --program-s)
                    279:     ac_prev=program_suffix ;;
                    280:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    281:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    282:     program_suffix="$ac_optarg" ;;
                    283: 
                    284:   -program-transform-name | --program-transform-name \
                    285:   | --program-transform-nam | --program-transform-na \
                    286:   | --program-transform-n | --program-transform- \
                    287:   | --program-transform | --program-transfor \
                    288:   | --program-transfo | --program-transf \
                    289:   | --program-trans | --program-tran \
                    290:   | --progr-tra | --program-tr | --program-t)
                    291:     ac_prev=program_transform_name ;;
                    292:   -program-transform-name=* | --program-transform-name=* \
                    293:   | --program-transform-nam=* | --program-transform-na=* \
                    294:   | --program-transform-n=* | --program-transform-=* \
                    295:   | --program-transform=* | --program-transfor=* \
                    296:   | --program-transfo=* | --program-transf=* \
                    297:   | --program-trans=* | --program-tran=* \
                    298:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    299:     program_transform_name="$ac_optarg" ;;
                    300: 
                    301:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    302:   | -silent | --silent | --silen | --sile | --sil)
                    303:     silent=yes ;;
                    304: 
                    305:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    306:     ac_prev=sbindir ;;
                    307:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    308:   | --sbi=* | --sb=*)
                    309:     sbindir="$ac_optarg" ;;
                    310: 
                    311:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    312:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    313:   | --sharedst | --shareds | --shared | --share | --shar \
                    314:   | --sha | --sh)
                    315:     ac_prev=sharedstatedir ;;
                    316:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    317:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    318:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    319:   | --sha=* | --sh=*)
                    320:     sharedstatedir="$ac_optarg" ;;
                    321: 
                    322:   -site | --site | --sit)
                    323:     ac_prev=site ;;
                    324:   -site=* | --site=* | --sit=*)
                    325:     site="$ac_optarg" ;;
                    326: 
                    327:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    328:     ac_prev=srcdir ;;
                    329:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                    330:     srcdir="$ac_optarg" ;;
                    331: 
                    332:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    333:   | --syscon | --sysco | --sysc | --sys | --sy)
                    334:     ac_prev=sysconfdir ;;
                    335:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    336:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                    337:     sysconfdir="$ac_optarg" ;;
                    338: 
                    339:   -target | --target | --targe | --targ | --tar | --ta | --t)
                    340:     ac_prev=target ;;
                    341:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                    342:     target="$ac_optarg" ;;
                    343: 
                    344:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    345:     verbose=yes ;;
                    346: 
                    347:   -version | --version | --versio | --versi | --vers)
                    348:     echo "configure generated by autoconf version 2.13"
                    349:     exit 0 ;;
                    350: 
                    351:   -with-* | --with-*)
                    352:     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
                    353:     # Reject names that are not valid shell variable names.
                    354:     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
                    355:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
                    356:     fi
                    357:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    358:     case "$ac_option" in
                    359:       *=*) ;;
                    360:       *) ac_optarg=yes ;;
                    361:     esac
                    362:     eval "with_${ac_package}='$ac_optarg'" ;;
                    363: 
                    364:   -without-* | --without-*)
                    365:     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
                    366:     # Reject names that are not valid shell variable names.
                    367:     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
                    368:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
                    369:     fi
                    370:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    371:     eval "with_${ac_package}=no" ;;
                    372: 
                    373:   --x)
                    374:     # Obsolete; use --with-x.
                    375:     with_x=yes ;;
                    376: 
                    377:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    378:   | --x-incl | --x-inc | --x-in | --x-i)
                    379:     ac_prev=x_includes ;;
                    380:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    381:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                    382:     x_includes="$ac_optarg" ;;
                    383: 
                    384:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    385:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    386:     ac_prev=x_libraries ;;
                    387:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    388:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                    389:     x_libraries="$ac_optarg" ;;
                    390: 
                    391:   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
                    392:     ;;
                    393: 
                    394:   *)
                    395:     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
                    396:       echo "configure: warning: $ac_option: invalid host type" 1>&2
                    397:     fi
                    398:     if test "x$nonopt" != xNONE; then
                    399:       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
                    400:     fi
                    401:     nonopt="$ac_option"
                    402:     ;;
                    403: 
                    404:   esac
                    405: done
                    406: 
                    407: if test -n "$ac_prev"; then
                    408:   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
                    409: fi
                    410: 
                    411: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
                    412: 
                    413: # File descriptor usage:
                    414: # 0 standard input
                    415: # 1 file creation
                    416: # 2 errors and warnings
                    417: # 3 some systems may open it to /dev/tty
                    418: # 4 used on the Kubota Titan
                    419: # 6 checking for... messages and results
                    420: # 5 compiler messages saved in config.log
                    421: if test "$silent" = yes; then
                    422:   exec 6>/dev/null
                    423: else
                    424:   exec 6>&1
                    425: fi
                    426: exec 5>./config.log
                    427: 
                    428: echo "\
                    429: This file contains any messages produced by compilers while
                    430: running configure, to aid debugging if configure makes a mistake.
                    431: " 1>&5
                    432: 
                    433: # Strip out --no-create and --no-recursion so they do not pile up.
                    434: # Also quote any args containing shell metacharacters.
                    435: ac_configure_args=
                    436: for ac_arg
                    437: do
                    438:   case "$ac_arg" in
                    439:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    440:   | --no-cr | --no-c) ;;
                    441:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    442:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
                    443:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
                    444:   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                    445:   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
                    446:   esac
                    447: done
                    448: 
                    449: # NLS nuisances.
                    450: # Only set these to C if already set.  These must not be set unconditionally
                    451: # because not all systems understand e.g. LANG=C (notably SCO).
                    452: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
                    453: # Non-C LC_CTYPE values break the ctype check.
                    454: if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
                    455: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
                    456: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
                    457: if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
                    458: 
                    459: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                    460: rm -rf conftest* confdefs.h
                    461: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                    462: echo > confdefs.h
                    463: 
                    464: # A filename unique to this package, relative to the directory that
                    465: # configure is in, which we can look for to find out if srcdir is correct.
                    466: ac_unique_file=cpu68k/def68k.c
                    467: 
                    468: # Find the source files, if location was not specified.
                    469: if test -z "$srcdir"; then
                    470:   ac_srcdir_defaulted=yes
                    471:   # Try the directory containing this script, then its parent.
                    472:   ac_prog=$0
                    473:   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
                    474:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
                    475:   srcdir=$ac_confdir
                    476:   if test ! -r $srcdir/$ac_unique_file; then
                    477:     srcdir=..
                    478:   fi
                    479: else
                    480:   ac_srcdir_defaulted=no
                    481: fi
                    482: if test ! -r $srcdir/$ac_unique_file; then
                    483:   if test "$ac_srcdir_defaulted" = yes; then
                    484:     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
                    485:   else
                    486:     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
                    487:   fi
                    488: fi
                    489: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
                    490: 
                    491: # Prefer explicitly selected file to automatically selected ones.
                    492: if test -z "$CONFIG_SITE"; then
                    493:   if test "x$prefix" != xNONE; then
                    494:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                    495:   else
                    496:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                    497:   fi
                    498: fi
                    499: for ac_site_file in $CONFIG_SITE; do
                    500:   if test -r "$ac_site_file"; then
                    501:     echo "loading site script $ac_site_file"
                    502:     . "$ac_site_file"
                    503:   fi
                    504: done
                    505: 
                    506: if test -r "$cache_file"; then
                    507:   echo "loading cache $cache_file"
                    508:   . $cache_file
                    509: else
                    510:   echo "creating cache $cache_file"
                    511:   > $cache_file
                    512: fi
                    513: 
                    514: ac_ext=c
                    515: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                    516: ac_cpp='$CPP $CPPFLAGS'
                    517: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                    518: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                    519: cross_compiling=$ac_cv_prog_cc_cross
                    520: 
                    521: ac_exeext=
                    522: ac_objext=o
                    523: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
                    524:   # Stardent Vistra SVR4 grep lacks -e, says [email protected].
                    525:   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
                    526:     ac_n= ac_c='
                    527: ' ac_t='       '
                    528:   else
                    529:     ac_n=-n ac_c= ac_t=
                    530:   fi
                    531: else
                    532:   ac_n= ac_c='\c' ac_t=
                    533: fi
                    534: 
                    535: 
                    536:   ac_aux_dir=
                    537: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                    538:   if test -f $ac_dir/install-sh; then
                    539:     ac_aux_dir=$ac_dir
                    540:     ac_install_sh="$ac_aux_dir/install-sh -c"
                    541:     break
                    542:   elif test -f $ac_dir/install.sh; then
                    543:     ac_aux_dir=$ac_dir
                    544:     ac_install_sh="$ac_aux_dir/install.sh -c"
                    545:     break
                    546:   fi
                    547: done
                    548: if test -z "$ac_aux_dir"; then
                    549:   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
                    550: fi
                    551: ac_config_guess=$ac_aux_dir/config.guess
                    552: ac_config_sub=$ac_aux_dir/config.sub
                    553: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
                    554: 
                    555: 
                    556: # Do some error checking and defaulting for the host and target type.
                    557: # The inputs are:
                    558: #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
                    559: #
                    560: # The rules are:
                    561: # 1. You are not allowed to specify --host, --target, and nonopt at the
                    562: #    same time.
                    563: # 2. Host defaults to nonopt.
                    564: # 3. If nonopt is not specified, then host defaults to the current host,
                    565: #    as determined by config.guess.
                    566: # 4. Target and build default to nonopt.
                    567: # 5. If nonopt is not specified, then target and build default to host.
                    568: 
                    569: # The aliases save the names the user supplied, while $host etc.
                    570: # will get canonicalized.
                    571: case $host---$target---$nonopt in
                    572: NONE---*---* | *---NONE---* | *---*---NONE) ;;
                    573: *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
                    574: esac
                    575: 
                    576: 
                    577: # Make sure we can run config.sub.
                    578: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
                    579: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
                    580: fi
                    581: 
                    582: echo $ac_n "checking host system type""... $ac_c" 1>&6
                    583: echo "configure:584: checking host system type" >&5
                    584: 
                    585: host_alias=$host
                    586: case "$host_alias" in
                    587: NONE)
                    588:   case $nonopt in
                    589:   NONE)
                    590:     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
                    591:     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
                    592:     fi ;;
                    593:   *) host_alias=$nonopt ;;
                    594:   esac ;;
                    595: esac
                    596: 
                    597: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
                    598: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                    599: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                    600: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                    601: echo "$ac_t""$host" 1>&6
                    602: 
                    603: echo $ac_n "checking target system type""... $ac_c" 1>&6
                    604: echo "configure:605: checking target system type" >&5
                    605: 
                    606: target_alias=$target
                    607: case "$target_alias" in
                    608: NONE)
                    609:   case $nonopt in
                    610:   NONE) target_alias=$host_alias ;;
                    611:   *) target_alias=$nonopt ;;
                    612:   esac ;;
                    613: esac
                    614: 
                    615: target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
                    616: target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                    617: target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                    618: target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                    619: echo "$ac_t""$target" 1>&6
                    620: 
                    621: echo $ac_n "checking build system type""... $ac_c" 1>&6
                    622: echo "configure:623: checking build system type" >&5
                    623: 
                    624: build_alias=$build
                    625: case "$build_alias" in
                    626: NONE)
                    627:   case $nonopt in
                    628:   NONE) build_alias=$host_alias ;;
                    629:   *) build_alias=$nonopt ;;
                    630:   esac ;;
                    631: esac
                    632: 
                    633: build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
                    634: build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                    635: build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                    636: build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                    637: echo "$ac_t""$build" 1>&6
                    638: 
                    639: test "$host_alias" != "$target_alias" &&
                    640:   test "$program_prefix$program_suffix$program_transform_name" = \
                    641:     NONENONEs,x,x, &&
                    642:   program_prefix=${target_alias}-
                    643: 
                    644:   # Find a good install program.  We prefer a C program (faster),
                    645: # so one script is as good as another.  But avoid the broken or
                    646: # incompatible versions:
                    647: # SysV /etc/install, /usr/sbin/install
                    648: # SunOS /usr/etc/install
                    649: # IRIX /sbin/install
                    650: # AIX /bin/install
                    651: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                    652: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                    653: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                    654: # ./install, which can be erroneously created by make from ./install.sh.
                    655: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
                    656: echo "configure:657: checking for a BSD compatible install" >&5
                    657: if test -z "$INSTALL"; then
                    658: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                    659:   echo $ac_n "(cached) $ac_c" 1>&6
                    660: else
                    661:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                    662:   for ac_dir in $PATH; do
                    663:     # Account for people who put trailing slashes in PATH elements.
                    664:     case "$ac_dir/" in
                    665:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                    666:     *)
                    667:       # OSF1 and SCO ODT 3.0 have their own names for install.
                    668:       # Don't use installbsd from OSF since it installs stuff as root
                    669:       # by default.
                    670:       for ac_prog in ginstall scoinst install; do
                    671:         if test -f $ac_dir/$ac_prog; then
                    672:          if test $ac_prog = install &&
                    673:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                    674:            # AIX install.  It has an incompatible calling convention.
                    675:            :
                    676:          else
                    677:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                    678:            break 2
                    679:          fi
                    680:        fi
                    681:       done
                    682:       ;;
                    683:     esac
                    684:   done
                    685:   IFS="$ac_save_IFS"
                    686: 
                    687: fi
                    688:   if test "${ac_cv_path_install+set}" = set; then
                    689:     INSTALL="$ac_cv_path_install"
                    690:   else
                    691:     # As a last resort, use the slow shell script.  We don't cache a
                    692:     # path for INSTALL within a source directory, because that will
                    693:     # break other packages using the cache if that directory is
                    694:     # removed, or if the path is relative.
                    695:     INSTALL="$ac_install_sh"
                    696:   fi
                    697: fi
                    698: echo "$ac_t""$INSTALL" 1>&6
                    699: 
                    700: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                    701: # It thinks the first close brace ends the variable substitution.
                    702: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                    703: 
                    704: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                    705: 
                    706: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                    707: 
                    708: echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
                    709: echo "configure:710: checking whether build environment is sane" >&5
                    710: # Just in case
                    711: sleep 1
                    712: echo timestamp > conftestfile
                    713: # Do `set' in a subshell so we don't clobber the current shell's
                    714: # arguments.  Must try -L first in case configure is actually a
                    715: # symlink; some systems play weird games with the mod time of symlinks
                    716: # (eg FreeBSD returns the mod time of the symlink's containing
                    717: # directory).
                    718: if (
                    719:    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
                    720:    if test "$*" = "X"; then
                    721:       # -L didn't work.
                    722:       set X `ls -t $srcdir/configure conftestfile`
                    723:    fi
                    724:    if test "$*" != "X $srcdir/configure conftestfile" \
                    725:       && test "$*" != "X conftestfile $srcdir/configure"; then
                    726: 
                    727:       # If neither matched, then we have a broken ls.  This can happen
                    728:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                    729:       # broken ls alias from the environment.  This has actually
                    730:       # happened.  Such a system could not be considered "sane".
                    731:       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
                    732: alias in your environment" 1>&2; exit 1; }
                    733:    fi
                    734: 
                    735:    test "$2" = conftestfile
                    736:    )
                    737: then
                    738:    # Ok.
                    739:    :
                    740: else
                    741:    { echo "configure: error: newly created file is older than distributed files!
                    742: Check your system clock" 1>&2; exit 1; }
                    743: fi
                    744: rm -f conftest*
                    745: echo "$ac_t""yes" 1>&6
                    746: if test "$program_transform_name" = s,x,x,; then
                    747:   program_transform_name=
                    748: else
                    749:   # Double any \ or $.  echo might interpret backslashes.
                    750:   cat <<\EOF_SED > conftestsed
                    751: s,\\,\\\\,g; s,\$,$$,g
                    752: EOF_SED
                    753:   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
                    754:   rm -f conftestsed
                    755: fi
                    756: test "$program_prefix" != NONE &&
                    757:   program_transform_name="s,^,${program_prefix},; $program_transform_name"
                    758: # Use a double $ so make ignores it.
                    759: test "$program_suffix" != NONE &&
                    760:   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
                    761: 
                    762: # sed with no file args requires a program.
                    763: test "$program_transform_name" = "" && program_transform_name="s,x,x,"
                    764: 
                    765: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
                    766: echo "configure:767: checking whether ${MAKE-make} sets \${MAKE}" >&5
                    767: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
                    768: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
                    769:   echo $ac_n "(cached) $ac_c" 1>&6
                    770: else
                    771:   cat > conftestmake <<\EOF
                    772: all:
                    773:        @echo 'ac_maketemp="${MAKE}"'
                    774: EOF
                    775: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                    776: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
                    777: if test -n "$ac_maketemp"; then
                    778:   eval ac_cv_prog_make_${ac_make}_set=yes
                    779: else
                    780:   eval ac_cv_prog_make_${ac_make}_set=no
                    781: fi
                    782: rm -f conftestmake
                    783: fi
                    784: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                    785:   echo "$ac_t""yes" 1>&6
                    786:   SET_MAKE=
                    787: else
                    788:   echo "$ac_t""no" 1>&6
                    789:   SET_MAKE="MAKE=${MAKE-make}"
                    790: fi
                    791: 
                    792: 
                    793: PACKAGE=generator
                    794: 
1.1.1.2 ! root      795: VERSION=0.33
1.1       root      796: 
                    797: if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
                    798:   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
                    799: fi
                    800: cat >> confdefs.h <<EOF
                    801: #define PACKAGE "$PACKAGE"
                    802: EOF
                    803: 
                    804: cat >> confdefs.h <<EOF
                    805: #define VERSION "$VERSION"
                    806: EOF
                    807: 
                    808: 
                    809: 
                    810: missing_dir=`cd $ac_aux_dir && pwd`
                    811: echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
                    812: echo "configure:813: checking for working aclocal" >&5
                    813: # Run test in a subshell; some versions of sh will print an error if
                    814: # an executable is not found, even if stderr is redirected.
                    815: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    816: if (aclocal --version) < /dev/null > /dev/null 2>&1; then
                    817:    ACLOCAL=aclocal
                    818:    echo "$ac_t""found" 1>&6
                    819: else
                    820:    ACLOCAL="$missing_dir/missing aclocal"
                    821:    echo "$ac_t""missing" 1>&6
                    822: fi
                    823: 
                    824: echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
                    825: echo "configure:826: checking for working autoconf" >&5
                    826: # Run test in a subshell; some versions of sh will print an error if
                    827: # an executable is not found, even if stderr is redirected.
                    828: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    829: if (autoconf --version) < /dev/null > /dev/null 2>&1; then
                    830:    AUTOCONF=autoconf
                    831:    echo "$ac_t""found" 1>&6
                    832: else
                    833:    AUTOCONF="$missing_dir/missing autoconf"
                    834:    echo "$ac_t""missing" 1>&6
                    835: fi
                    836: 
                    837: echo $ac_n "checking for working automake""... $ac_c" 1>&6
                    838: echo "configure:839: checking for working automake" >&5
                    839: # Run test in a subshell; some versions of sh will print an error if
                    840: # an executable is not found, even if stderr is redirected.
                    841: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    842: if (automake --version) < /dev/null > /dev/null 2>&1; then
                    843:    AUTOMAKE=automake
                    844:    echo "$ac_t""found" 1>&6
                    845: else
                    846:    AUTOMAKE="$missing_dir/missing automake"
                    847:    echo "$ac_t""missing" 1>&6
                    848: fi
                    849: 
                    850: echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
                    851: echo "configure:852: checking for working autoheader" >&5
                    852: # Run test in a subshell; some versions of sh will print an error if
                    853: # an executable is not found, even if stderr is redirected.
                    854: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    855: if (autoheader --version) < /dev/null > /dev/null 2>&1; then
                    856:    AUTOHEADER=autoheader
                    857:    echo "$ac_t""found" 1>&6
                    858: else
                    859:    AUTOHEADER="$missing_dir/missing autoheader"
                    860:    echo "$ac_t""missing" 1>&6
                    861: fi
                    862: 
                    863: echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
                    864: echo "configure:865: checking for working makeinfo" >&5
                    865: # Run test in a subshell; some versions of sh will print an error if
                    866: # an executable is not found, even if stderr is redirected.
                    867: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    868: if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
                    869:    MAKEINFO=makeinfo
                    870:    echo "$ac_t""found" 1>&6
                    871: else
                    872:    MAKEINFO="$missing_dir/missing makeinfo"
                    873:    echo "$ac_t""missing" 1>&6
                    874: fi
                    875: 
                    876: 
                    877:   
                    878: 
                    879: 
                    880:   optimum=yes
                    881: 
                    882: 
                    883:   # Check whether --enable-svgalib or --disable-svgalib was given.
                    884: if test "${enable_svgalib+set}" = set; then
                    885:   enableval="$enable_svgalib"
                    886:   PROGRAM="generator-svgalib"
                    887: fi
                    888: 
                    889:   # Check whether --enable-allegro or --disable-allegro was given.
                    890: if test "${enable_allegro+set}" = set; then
                    891:   enableval="$enable_allegro"
                    892:   PROGRAM="generator-allegro"
                    893: fi
                    894: 
                    895:   # Check whether --enable-tcltk or --disable-tcltk was given.
                    896: if test "${enable_tcltk+set}" = set; then
                    897:   enableval="$enable_tcltk"
                    898:   PROGRAM="generator-tcltk"
                    899: fi
                    900: 
                    901:   # AC_ARG_ENABLE(gtk, [Create gtk version], PROGRAM="generator-gtk")
                    902:   if [ "x$PROGRAM" = "x" ]; then
                    903:     { echo "configure: error: You must select a user interface type: svgalib allegro tcltk" 1>&2; exit 1; }
                    904:   fi
                    905:   
1.1.1.2 ! root      906:   if [ "x$PROGRAM" = "xgenerator-allegro" ]; then
1.1       root      907:     cat >> confdefs.h <<\EOF
                    908: #define ALLEGRO 1
                    909: EOF
                    910: 
                    911:   fi
                    912:   cat >> confdefs.h <<\EOF
                    913: #define RAZE 1
                    914: EOF
                    915: 
1.1.1.2 ! root      916:   cat >> confdefs.h <<\EOF
        !           917: #define DIRECTRAM 1
        !           918: EOF
        !           919: 
1.1       root      920: 
                    921: 
                    922:   case $target_cpu in
                    923:     i?86)  echo "$ac_t""Turning on x86 processor optimisations" 1>&6
                    924:            cat >> confdefs.h <<\EOF
                    925: #define PROCESSOR_INTEL 1
                    926: EOF
                    927: 
                    928:            ALIGNLONGS=1
                    929:            ;;
                    930:     sparc) echo "$ac_t""Turning on sparc processor optimisations" 1>&6
                    931:            cat >> confdefs.h <<\EOF
                    932: #define PROCESSOR_SPARC 1
                    933: EOF
                    934: 
                    935:            ALIGNLONGS=0
                    936:            ;;
                    937:     arm)   echo "$ac_t""Turning on arm processor optimisations" 1>&6
                    938:            cat >> confdefs.h <<\EOF
                    939: #define PROCESSOR_ARM 1
                    940: EOF
                    941: 
                    942:            ALIGNLONGS=1
                    943:            ;;
                    944:     *)     echo "configure: warning: Processor type not known - processor optimisations off!" 1>&2
                    945:            ALIGNLONGS=1
                    946:            optimum=no
                    947:            ;;
                    948:   esac
                    949:   
                    950:   cat >> confdefs.h <<\EOF
                    951: #define ALIGNLONGS ALIGNLONGS
                    952: EOF
                    953: 
                    954: 
                    955: 
                    956:   # default to gcc version 2
                    957:   GCCVER=2
                    958:   WARN=no
                    959:   DEBUG=no
                    960:   # Check whether --with-warnings or --without-warnings was given.
                    961: if test "${with_warnings+set}" = set; then
                    962:   withval="$with_warnings"
                    963:   WARN=$withval
                    964: else
                    965:   WARN=no
                    966: fi
                    967: 
                    968:   # Check whether --with-gcc or --without-gcc was given.
                    969: if test "${with_gcc+set}" = set; then
                    970:   withval="$with_gcc"
                    971:   GCCVER=$withval
                    972: fi
                    973: 
                    974:   # Check whether --with-debug or --without-debug was given.
                    975: if test "${with_debug+set}" = set; then
                    976:   withval="$with_debug"
                    977:   DEBUG=$withval
                    978: else
                    979:   DEBUG=no
                    980: fi
                    981: 
                    982:   if [ "x$WARN" != "xno" ]; then
                    983:     CFLAGS="$CFLAGS -W -Wall -Wstrict-prototypes -Wno-format -Wno-unused"
                    984:   fi
                    985:   if [ "x$DEBUG" != "xno" ]; then
                    986:     echo "$ac_t""Turning on debug flags" 1>&6
                    987:     CFLAGS="$CFLAGS -g -O"
                    988:     optimum=no
                    989:   else
                    990:     if [ "x$GCCVER" != "xno" ]; then
                    991:       echo "$ac_t""Turning on gcc optimisations" 1>&6
                    992:       CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
                    993:       if [ "x$GCCVER" = "x3" ]; then
                    994:         echo "$ac_t""Turning on gcc 3 optimisations" 1>&6
                    995:         CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
                    996:       fi
                    997:       case $target_cpu in
                    998:         i?86) echo "$ac_t""Turning on pentium optimisations" 1>&6
                    999:               CFLAGS="$CFLAGS -march=pentium -malign-double -malign-loops=5"
                   1000:               CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
                   1001:               ;;
                   1002:       esac
                   1003:     else
                   1004:       echo "configure: warning: You did not opt for gcc optimisations!" 1>&2
                   1005:       optimum=no
                   1006:     fi
                   1007:   fi
                   1008: 
                   1009: 
                   1010:   # Extract the first word of "gcc", so it can be a program name with args.
                   1011: set dummy gcc; ac_word=$2
                   1012: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.1.1.2 ! root     1013: echo "configure:1014: checking for $ac_word" >&5
1.1       root     1014: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1015:   echo $ac_n "(cached) $ac_c" 1>&6
                   1016: else
                   1017:   if test -n "$CC"; then
                   1018:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1019: else
                   1020:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1021:   ac_dummy="$PATH"
                   1022:   for ac_dir in $ac_dummy; do
                   1023:     test -z "$ac_dir" && ac_dir=.
                   1024:     if test -f $ac_dir/$ac_word; then
                   1025:       ac_cv_prog_CC="gcc"
                   1026:       break
                   1027:     fi
                   1028:   done
                   1029:   IFS="$ac_save_ifs"
                   1030: fi
                   1031: fi
                   1032: CC="$ac_cv_prog_CC"
                   1033: if test -n "$CC"; then
                   1034:   echo "$ac_t""$CC" 1>&6
                   1035: else
                   1036:   echo "$ac_t""no" 1>&6
                   1037: fi
                   1038: 
                   1039: if test -z "$CC"; then
                   1040:   # Extract the first word of "cc", so it can be a program name with args.
                   1041: set dummy cc; ac_word=$2
                   1042: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.1.1.2 ! root     1043: echo "configure:1044: checking for $ac_word" >&5
1.1       root     1044: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1045:   echo $ac_n "(cached) $ac_c" 1>&6
                   1046: else
                   1047:   if test -n "$CC"; then
                   1048:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1049: else
                   1050:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1051:   ac_prog_rejected=no
                   1052:   ac_dummy="$PATH"
                   1053:   for ac_dir in $ac_dummy; do
                   1054:     test -z "$ac_dir" && ac_dir=.
                   1055:     if test -f $ac_dir/$ac_word; then
                   1056:       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
                   1057:         ac_prog_rejected=yes
                   1058:        continue
                   1059:       fi
                   1060:       ac_cv_prog_CC="cc"
                   1061:       break
                   1062:     fi
                   1063:   done
                   1064:   IFS="$ac_save_ifs"
                   1065: if test $ac_prog_rejected = yes; then
                   1066:   # We found a bogon in the path, so make sure we never use it.
                   1067:   set dummy $ac_cv_prog_CC
                   1068:   shift
                   1069:   if test $# -gt 0; then
                   1070:     # We chose a different compiler from the bogus one.
                   1071:     # However, it has the same basename, so the bogon will be chosen
                   1072:     # first if we set CC to just the basename; use the full file name.
                   1073:     shift
                   1074:     set dummy "$ac_dir/$ac_word" "$@"
                   1075:     shift
                   1076:     ac_cv_prog_CC="$@"
                   1077:   fi
                   1078: fi
                   1079: fi
                   1080: fi
                   1081: CC="$ac_cv_prog_CC"
                   1082: if test -n "$CC"; then
                   1083:   echo "$ac_t""$CC" 1>&6
                   1084: else
                   1085:   echo "$ac_t""no" 1>&6
                   1086: fi
                   1087: 
                   1088:   if test -z "$CC"; then
                   1089:     case "`uname -s`" in
                   1090:     *win32* | *WIN32*)
                   1091:       # Extract the first word of "cl", so it can be a program name with args.
                   1092: set dummy cl; ac_word=$2
                   1093: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.1.1.2 ! root     1094: echo "configure:1095: checking for $ac_word" >&5
1.1       root     1095: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1096:   echo $ac_n "(cached) $ac_c" 1>&6
                   1097: else
                   1098:   if test -n "$CC"; then
                   1099:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1100: else
                   1101:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1102:   ac_dummy="$PATH"
                   1103:   for ac_dir in $ac_dummy; do
                   1104:     test -z "$ac_dir" && ac_dir=.
                   1105:     if test -f $ac_dir/$ac_word; then
                   1106:       ac_cv_prog_CC="cl"
                   1107:       break
                   1108:     fi
                   1109:   done
                   1110:   IFS="$ac_save_ifs"
                   1111: fi
                   1112: fi
                   1113: CC="$ac_cv_prog_CC"
                   1114: if test -n "$CC"; then
                   1115:   echo "$ac_t""$CC" 1>&6
                   1116: else
                   1117:   echo "$ac_t""no" 1>&6
                   1118: fi
                   1119:  ;;
                   1120:     esac
                   1121:   fi
                   1122:   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
                   1123: fi
                   1124: 
                   1125: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1.1.1.2 ! root     1126: echo "configure:1127: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1.1       root     1127: 
                   1128: ac_ext=c
                   1129: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1130: ac_cpp='$CPP $CPPFLAGS'
                   1131: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1132: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1133: cross_compiling=$ac_cv_prog_cc_cross
                   1134: 
                   1135: cat > conftest.$ac_ext << EOF
                   1136: 
1.1.1.2 ! root     1137: #line 1138 "configure"
1.1       root     1138: #include "confdefs.h"
                   1139: 
                   1140: main(){return(0);}
                   1141: EOF
1.1.1.2 ! root     1142: if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       root     1143:   ac_cv_prog_cc_works=yes
                   1144:   # If we can't run a trivial program, we are probably using a cross compiler.
                   1145:   if (./conftest; exit) 2>/dev/null; then
                   1146:     ac_cv_prog_cc_cross=no
                   1147:   else
                   1148:     ac_cv_prog_cc_cross=yes
                   1149:   fi
                   1150: else
                   1151:   echo "configure: failed program was:" >&5
                   1152:   cat conftest.$ac_ext >&5
                   1153:   ac_cv_prog_cc_works=no
                   1154: fi
                   1155: rm -fr conftest*
                   1156: ac_ext=c
                   1157: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1158: ac_cpp='$CPP $CPPFLAGS'
                   1159: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1160: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1161: cross_compiling=$ac_cv_prog_cc_cross
                   1162: 
                   1163: echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
                   1164: if test $ac_cv_prog_cc_works = no; then
                   1165:   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
                   1166: fi
                   1167: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1.1.1.2 ! root     1168: echo "configure:1169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1.1       root     1169: echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
                   1170: cross_compiling=$ac_cv_prog_cc_cross
                   1171: 
                   1172: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1.1.1.2 ! root     1173: echo "configure:1174: checking whether we are using GNU C" >&5
1.1       root     1174: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
                   1175:   echo $ac_n "(cached) $ac_c" 1>&6
                   1176: else
                   1177:   cat > conftest.c <<EOF
                   1178: #ifdef __GNUC__
                   1179:   yes;
                   1180: #endif
                   1181: EOF
1.1.1.2 ! root     1182: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1.1       root     1183:   ac_cv_prog_gcc=yes
                   1184: else
                   1185:   ac_cv_prog_gcc=no
                   1186: fi
                   1187: fi
                   1188: 
                   1189: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
                   1190: 
                   1191: if test $ac_cv_prog_gcc = yes; then
                   1192:   GCC=yes
                   1193: else
                   1194:   GCC=
                   1195: fi
                   1196: 
                   1197: ac_test_CFLAGS="${CFLAGS+set}"
                   1198: ac_save_CFLAGS="$CFLAGS"
                   1199: CFLAGS=
                   1200: echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1.1.1.2 ! root     1201: echo "configure:1202: checking whether ${CC-cc} accepts -g" >&5
1.1       root     1202: if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
                   1203:   echo $ac_n "(cached) $ac_c" 1>&6
                   1204: else
                   1205:   echo 'void f(){}' > conftest.c
                   1206: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
                   1207:   ac_cv_prog_cc_g=yes
                   1208: else
                   1209:   ac_cv_prog_cc_g=no
                   1210: fi
                   1211: rm -f conftest*
                   1212: 
                   1213: fi
                   1214: 
                   1215: echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
                   1216: if test "$ac_test_CFLAGS" = set; then
                   1217:   CFLAGS="$ac_save_CFLAGS"
                   1218: elif test $ac_cv_prog_cc_g = yes; then
                   1219:   if test "$GCC" = yes; then
                   1220:     CFLAGS="-g -O2"
                   1221:   else
                   1222:     CFLAGS="-g"
                   1223:   fi
                   1224: else
                   1225:   if test "$GCC" = yes; then
                   1226:     CFLAGS="-O2"
                   1227:   else
                   1228:     CFLAGS=
                   1229:   fi
                   1230: fi
                   1231: 
                   1232:   # Extract the first word of "ranlib", so it can be a program name with args.
                   1233: set dummy ranlib; ac_word=$2
                   1234: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.1.1.2 ! root     1235: echo "configure:1236: checking for $ac_word" >&5
1.1       root     1236: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
                   1237:   echo $ac_n "(cached) $ac_c" 1>&6
                   1238: else
                   1239:   if test -n "$RANLIB"; then
                   1240:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1241: else
                   1242:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1243:   ac_dummy="$PATH"
                   1244:   for ac_dir in $ac_dummy; do
                   1245:     test -z "$ac_dir" && ac_dir=.
                   1246:     if test -f $ac_dir/$ac_word; then
                   1247:       ac_cv_prog_RANLIB="ranlib"
                   1248:       break
                   1249:     fi
                   1250:   done
                   1251:   IFS="$ac_save_ifs"
                   1252:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
                   1253: fi
                   1254: fi
                   1255: RANLIB="$ac_cv_prog_RANLIB"
                   1256: if test -n "$RANLIB"; then
                   1257:   echo "$ac_t""$RANLIB" 1>&6
                   1258: else
                   1259:   echo "$ac_t""no" 1>&6
                   1260: fi
                   1261: 
                   1262:   echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1.1.1.2 ! root     1263: echo "configure:1264: checking for POSIXized ISC" >&5
1.1       root     1264: if test -d /etc/conf/kconfig.d &&
                   1265:   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
                   1266: then
                   1267:   echo "$ac_t""yes" 1>&6
                   1268:   ISC=yes # If later tests want to check for ISC.
                   1269:   cat >> confdefs.h <<\EOF
                   1270: #define _POSIX_SOURCE 1
                   1271: EOF
                   1272: 
                   1273:   if test "$GCC" = yes; then
                   1274:     CC="$CC -posix"
                   1275:   else
                   1276:     CC="$CC -Xp"
                   1277:   fi
                   1278: else
                   1279:   echo "$ac_t""no" 1>&6
                   1280:   ISC=
                   1281: fi
                   1282: 
                   1283:   # Find a good install program.  We prefer a C program (faster),
                   1284: # so one script is as good as another.  But avoid the broken or
                   1285: # incompatible versions:
                   1286: # SysV /etc/install, /usr/sbin/install
                   1287: # SunOS /usr/etc/install
                   1288: # IRIX /sbin/install
                   1289: # AIX /bin/install
                   1290: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1291: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1292: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1293: # ./install, which can be erroneously created by make from ./install.sh.
                   1294: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1.1.1.2 ! root     1295: echo "configure:1296: checking for a BSD compatible install" >&5
1.1       root     1296: if test -z "$INSTALL"; then
                   1297: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                   1298:   echo $ac_n "(cached) $ac_c" 1>&6
                   1299: else
                   1300:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                   1301:   for ac_dir in $PATH; do
                   1302:     # Account for people who put trailing slashes in PATH elements.
                   1303:     case "$ac_dir/" in
                   1304:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                   1305:     *)
                   1306:       # OSF1 and SCO ODT 3.0 have their own names for install.
                   1307:       # Don't use installbsd from OSF since it installs stuff as root
                   1308:       # by default.
                   1309:       for ac_prog in ginstall scoinst install; do
                   1310:         if test -f $ac_dir/$ac_prog; then
                   1311:          if test $ac_prog = install &&
                   1312:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                   1313:            # AIX install.  It has an incompatible calling convention.
                   1314:            :
                   1315:          else
                   1316:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                   1317:            break 2
                   1318:          fi
                   1319:        fi
                   1320:       done
                   1321:       ;;
                   1322:     esac
                   1323:   done
                   1324:   IFS="$ac_save_IFS"
                   1325: 
                   1326: fi
                   1327:   if test "${ac_cv_path_install+set}" = set; then
                   1328:     INSTALL="$ac_cv_path_install"
                   1329:   else
                   1330:     # As a last resort, use the slow shell script.  We don't cache a
                   1331:     # path for INSTALL within a source directory, because that will
                   1332:     # break other packages using the cache if that directory is
                   1333:     # removed, or if the path is relative.
                   1334:     INSTALL="$ac_install_sh"
                   1335:   fi
                   1336: fi
                   1337: echo "$ac_t""$INSTALL" 1>&6
                   1338: 
                   1339: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1340: # It thinks the first close brace ends the variable substitution.
                   1341: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1342: 
                   1343: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                   1344: 
                   1345: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1346: 
                   1347:   echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1.1.1.2 ! root     1348: echo "configure:1349: checking return type of signal handlers" >&5
1.1       root     1349: if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
                   1350:   echo $ac_n "(cached) $ac_c" 1>&6
                   1351: else
                   1352:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1353: #line 1354 "configure"
1.1       root     1354: #include "confdefs.h"
                   1355: #include <sys/types.h>
                   1356: #include <signal.h>
                   1357: #ifdef signal
                   1358: #undef signal
                   1359: #endif
                   1360: #ifdef __cplusplus
                   1361: extern "C" void (*signal (int, void (*)(int)))(int);
                   1362: #else
                   1363: void (*signal ()) ();
                   1364: #endif
                   1365: 
                   1366: int main() {
                   1367: int i;
                   1368: ; return 0; }
                   1369: EOF
1.1.1.2 ! root     1370: if { (eval echo configure:1371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       root     1371:   rm -rf conftest*
                   1372:   ac_cv_type_signal=void
                   1373: else
                   1374:   echo "configure: failed program was:" >&5
                   1375:   cat conftest.$ac_ext >&5
                   1376:   rm -rf conftest*
                   1377:   ac_cv_type_signal=int
                   1378: fi
                   1379: rm -f conftest*
                   1380: fi
                   1381: 
                   1382: echo "$ac_t""$ac_cv_type_signal" 1>&6
                   1383: cat >> confdefs.h <<EOF
                   1384: #define RETSIGTYPE $ac_cv_type_signal
                   1385: EOF
                   1386: 
                   1387: 
                   1388: 
                   1389: 
                   1390: 
                   1391:   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1.1.1.2 ! root     1392: echo "configure:1393: checking how to run the C preprocessor" >&5
1.1       root     1393: # On Suns, sometimes $CPP names a directory.
                   1394: if test -n "$CPP" && test -d "$CPP"; then
                   1395:   CPP=
                   1396: fi
                   1397: if test -z "$CPP"; then
                   1398: if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
                   1399:   echo $ac_n "(cached) $ac_c" 1>&6
                   1400: else
                   1401:     # This must be in double quotes, not single quotes, because CPP may get
                   1402:   # substituted into the Makefile and "${CC-cc}" will confuse make.
                   1403:   CPP="${CC-cc} -E"
                   1404:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   1405:   # not just through cpp.
                   1406:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1407: #line 1408 "configure"
1.1       root     1408: #include "confdefs.h"
                   1409: #include <assert.h>
                   1410: Syntax Error
                   1411: EOF
                   1412: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     1413: { (eval echo configure:1414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     1414: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1415: if test -z "$ac_err"; then
                   1416:   :
                   1417: else
                   1418:   echo "$ac_err" >&5
                   1419:   echo "configure: failed program was:" >&5
                   1420:   cat conftest.$ac_ext >&5
                   1421:   rm -rf conftest*
                   1422:   CPP="${CC-cc} -E -traditional-cpp"
                   1423:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1424: #line 1425 "configure"
1.1       root     1425: #include "confdefs.h"
                   1426: #include <assert.h>
                   1427: Syntax Error
                   1428: EOF
                   1429: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     1430: { (eval echo configure:1431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     1431: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1432: if test -z "$ac_err"; then
                   1433:   :
                   1434: else
                   1435:   echo "$ac_err" >&5
                   1436:   echo "configure: failed program was:" >&5
                   1437:   cat conftest.$ac_ext >&5
                   1438:   rm -rf conftest*
                   1439:   CPP="${CC-cc} -nologo -E"
                   1440:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1441: #line 1442 "configure"
1.1       root     1442: #include "confdefs.h"
                   1443: #include <assert.h>
                   1444: Syntax Error
                   1445: EOF
                   1446: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     1447: { (eval echo configure:1448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     1448: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1449: if test -z "$ac_err"; then
                   1450:   :
                   1451: else
                   1452:   echo "$ac_err" >&5
                   1453:   echo "configure: failed program was:" >&5
                   1454:   cat conftest.$ac_ext >&5
                   1455:   rm -rf conftest*
                   1456:   CPP=/lib/cpp
                   1457: fi
                   1458: rm -f conftest*
                   1459: fi
                   1460: rm -f conftest*
                   1461: fi
                   1462: rm -f conftest*
                   1463:   ac_cv_prog_CPP="$CPP"
                   1464: fi
                   1465:   CPP="$ac_cv_prog_CPP"
                   1466: else
                   1467:   ac_cv_prog_CPP="$CPP"
                   1468: fi
                   1469: echo "$ac_t""$CPP" 1>&6
                   1470: 
                   1471: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1.1.1.2 ! root     1472: echo "configure:1473: checking for ANSI C header files" >&5
1.1       root     1473: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
                   1474:   echo $ac_n "(cached) $ac_c" 1>&6
                   1475: else
                   1476:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1477: #line 1478 "configure"
1.1       root     1478: #include "confdefs.h"
                   1479: #include <stdlib.h>
                   1480: #include <stdarg.h>
                   1481: #include <string.h>
                   1482: #include <float.h>
                   1483: EOF
                   1484: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     1485: { (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     1486: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1487: if test -z "$ac_err"; then
                   1488:   rm -rf conftest*
                   1489:   ac_cv_header_stdc=yes
                   1490: else
                   1491:   echo "$ac_err" >&5
                   1492:   echo "configure: failed program was:" >&5
                   1493:   cat conftest.$ac_ext >&5
                   1494:   rm -rf conftest*
                   1495:   ac_cv_header_stdc=no
                   1496: fi
                   1497: rm -f conftest*
                   1498: 
                   1499: if test $ac_cv_header_stdc = yes; then
                   1500:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   1501: cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1502: #line 1503 "configure"
1.1       root     1503: #include "confdefs.h"
                   1504: #include <string.h>
                   1505: EOF
                   1506: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   1507:   egrep "memchr" >/dev/null 2>&1; then
                   1508:   :
                   1509: else
                   1510:   rm -rf conftest*
                   1511:   ac_cv_header_stdc=no
                   1512: fi
                   1513: rm -f conftest*
                   1514: 
                   1515: fi
                   1516: 
                   1517: if test $ac_cv_header_stdc = yes; then
                   1518:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   1519: cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1520: #line 1521 "configure"
1.1       root     1521: #include "confdefs.h"
                   1522: #include <stdlib.h>
                   1523: EOF
                   1524: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   1525:   egrep "free" >/dev/null 2>&1; then
                   1526:   :
                   1527: else
                   1528:   rm -rf conftest*
                   1529:   ac_cv_header_stdc=no
                   1530: fi
                   1531: rm -f conftest*
                   1532: 
                   1533: fi
                   1534: 
                   1535: if test $ac_cv_header_stdc = yes; then
                   1536:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   1537: if test "$cross_compiling" = yes; then
                   1538:   :
                   1539: else
                   1540:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1541: #line 1542 "configure"
1.1       root     1542: #include "confdefs.h"
                   1543: #include <ctype.h>
                   1544: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   1545: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   1546: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   1547: int main () { int i; for (i = 0; i < 256; i++)
                   1548: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
                   1549: exit (0); }
                   1550: 
                   1551: EOF
1.1.1.2 ! root     1552: if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1553: then
                   1554:   :
                   1555: else
                   1556:   echo "configure: failed program was:" >&5
                   1557:   cat conftest.$ac_ext >&5
                   1558:   rm -fr conftest*
                   1559:   ac_cv_header_stdc=no
                   1560: fi
                   1561: rm -fr conftest*
                   1562: fi
                   1563: 
                   1564: fi
                   1565: fi
                   1566: 
                   1567: echo "$ac_t""$ac_cv_header_stdc" 1>&6
                   1568: if test $ac_cv_header_stdc = yes; then
                   1569:   cat >> confdefs.h <<\EOF
                   1570: #define STDC_HEADERS 1
                   1571: EOF
                   1572: 
                   1573: fi
                   1574: 
                   1575: 
                   1576: 
                   1577:   if [ $cross_compiling = no ]; then
                   1578:     echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
1.1.1.2 ! root     1579: echo "configure:1580: checking whether byte ordering is bigendian" >&5
1.1       root     1580: if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
                   1581:   echo $ac_n "(cached) $ac_c" 1>&6
                   1582: else
                   1583:   ac_cv_c_bigendian=unknown
                   1584: # See if sys/param.h defines the BYTE_ORDER macro.
                   1585: cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1586: #line 1587 "configure"
1.1       root     1587: #include "confdefs.h"
                   1588: #include <sys/types.h>
                   1589: #include <sys/param.h>
                   1590: int main() {
                   1591: 
                   1592: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   1593:  bogus endian macros
                   1594: #endif
                   1595: ; return 0; }
                   1596: EOF
1.1.1.2 ! root     1597: if { (eval echo configure:1598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       root     1598:   rm -rf conftest*
                   1599:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   1600: cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1601: #line 1602 "configure"
1.1       root     1602: #include "confdefs.h"
                   1603: #include <sys/types.h>
                   1604: #include <sys/param.h>
                   1605: int main() {
                   1606: 
                   1607: #if BYTE_ORDER != BIG_ENDIAN
                   1608:  not big endian
                   1609: #endif
                   1610: ; return 0; }
                   1611: EOF
1.1.1.2 ! root     1612: if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       root     1613:   rm -rf conftest*
                   1614:   ac_cv_c_bigendian=yes
                   1615: else
                   1616:   echo "configure: failed program was:" >&5
                   1617:   cat conftest.$ac_ext >&5
                   1618:   rm -rf conftest*
                   1619:   ac_cv_c_bigendian=no
                   1620: fi
                   1621: rm -f conftest*
                   1622: else
                   1623:   echo "configure: failed program was:" >&5
                   1624:   cat conftest.$ac_ext >&5
                   1625: fi
                   1626: rm -f conftest*
                   1627: if test $ac_cv_c_bigendian = unknown; then
                   1628: if test "$cross_compiling" = yes; then
                   1629:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
                   1630: else
                   1631:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1632: #line 1633 "configure"
1.1       root     1633: #include "confdefs.h"
                   1634: main () {
                   1635:   /* Are we little or big endian?  From Harbison&Steele.  */
                   1636:   union
                   1637:   {
                   1638:     long l;
                   1639:     char c[sizeof (long)];
                   1640:   } u;
                   1641:   u.l = 1;
                   1642:   exit (u.c[sizeof (long) - 1] == 1);
                   1643: }
                   1644: EOF
1.1.1.2 ! root     1645: if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1646: then
                   1647:   ac_cv_c_bigendian=no
                   1648: else
                   1649:   echo "configure: failed program was:" >&5
                   1650:   cat conftest.$ac_ext >&5
                   1651:   rm -fr conftest*
                   1652:   ac_cv_c_bigendian=yes
                   1653: fi
                   1654: rm -fr conftest*
                   1655: fi
                   1656: 
                   1657: fi
                   1658: fi
                   1659: 
                   1660: echo "$ac_t""$ac_cv_c_bigendian" 1>&6
                   1661: if test $ac_cv_c_bigendian = yes; then
                   1662:   cat >> confdefs.h <<\EOF
                   1663: #define WORDS_BIGENDIAN 1
                   1664: EOF
                   1665: 
                   1666: fi
                   1667: 
                   1668:   else
                   1669:     echo "configure: warning: Assuming little endian for cross compilation" 1>&2
                   1670:     # AC_DEFINE(WORDS_BIGENDIAN, 1)
                   1671:   fi
                   1672:   echo $ac_n "checking for working const""... $ac_c" 1>&6
1.1.1.2 ! root     1673: echo "configure:1674: checking for working const" >&5
1.1       root     1674: if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
                   1675:   echo $ac_n "(cached) $ac_c" 1>&6
                   1676: else
                   1677:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1678: #line 1679 "configure"
1.1       root     1679: #include "confdefs.h"
                   1680: 
                   1681: int main() {
                   1682: 
                   1683: /* Ultrix mips cc rejects this.  */
                   1684: typedef int charset[2]; const charset x;
                   1685: /* SunOS 4.1.1 cc rejects this.  */
                   1686: char const *const *ccp;
                   1687: char **p;
                   1688: /* NEC SVR4.0.2 mips cc rejects this.  */
                   1689: struct point {int x, y;};
                   1690: static struct point const zero = {0,0};
                   1691: /* AIX XL C 1.02.0.0 rejects this.
                   1692:    It does not let you subtract one const X* pointer from another in an arm
                   1693:    of an if-expression whose if-part is not a constant expression */
                   1694: const char *g = "string";
                   1695: ccp = &g + (g ? g-g : 0);
                   1696: /* HPUX 7.0 cc rejects these. */
                   1697: ++ccp;
                   1698: p = (char**) ccp;
                   1699: ccp = (char const *const *) p;
                   1700: { /* SCO 3.2v4 cc rejects this.  */
                   1701:   char *t;
                   1702:   char const *s = 0 ? (char *) 0 : (char const *) 0;
                   1703: 
                   1704:   *t++ = 0;
                   1705: }
                   1706: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   1707:   int x[] = {25, 17};
                   1708:   const int *foo = &x[0];
                   1709:   ++foo;
                   1710: }
                   1711: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   1712:   typedef const int *iptr;
                   1713:   iptr p = 0;
                   1714:   ++p;
                   1715: }
                   1716: { /* AIX XL C 1.02.0.0 rejects this saying
                   1717:      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   1718:   struct s { int j; const int *ap[3]; };
                   1719:   struct s *b; b->j = 5;
                   1720: }
                   1721: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   1722:   const int foo = 10;
                   1723: }
                   1724: 
                   1725: ; return 0; }
                   1726: EOF
1.1.1.2 ! root     1727: if { (eval echo configure:1728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       root     1728:   rm -rf conftest*
                   1729:   ac_cv_c_const=yes
                   1730: else
                   1731:   echo "configure: failed program was:" >&5
                   1732:   cat conftest.$ac_ext >&5
                   1733:   rm -rf conftest*
                   1734:   ac_cv_c_const=no
                   1735: fi
                   1736: rm -f conftest*
                   1737: fi
                   1738: 
                   1739: echo "$ac_t""$ac_cv_c_const" 1>&6
                   1740: if test $ac_cv_c_const = no; then
                   1741:   cat >> confdefs.h <<\EOF
                   1742: #define const 
                   1743: EOF
                   1744: 
                   1745: fi
                   1746: 
                   1747:   echo $ac_n "checking for inline""... $ac_c" 1>&6
1.1.1.2 ! root     1748: echo "configure:1749: checking for inline" >&5
1.1       root     1749: if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
                   1750:   echo $ac_n "(cached) $ac_c" 1>&6
                   1751: else
                   1752:   ac_cv_c_inline=no
                   1753: for ac_kw in inline __inline__ __inline; do
                   1754:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1755: #line 1756 "configure"
1.1       root     1756: #include "confdefs.h"
                   1757: 
                   1758: int main() {
                   1759: } $ac_kw foo() {
                   1760: ; return 0; }
                   1761: EOF
1.1.1.2 ! root     1762: if { (eval echo configure:1763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       root     1763:   rm -rf conftest*
                   1764:   ac_cv_c_inline=$ac_kw; break
                   1765: else
                   1766:   echo "configure: failed program was:" >&5
                   1767:   cat conftest.$ac_ext >&5
                   1768: fi
                   1769: rm -f conftest*
                   1770: done
                   1771: 
                   1772: fi
                   1773: 
                   1774: echo "$ac_t""$ac_cv_c_inline" 1>&6
                   1775: case "$ac_cv_c_inline" in
                   1776:   inline | yes) ;;
                   1777:   no) cat >> confdefs.h <<\EOF
                   1778: #define inline 
                   1779: EOF
                   1780:  ;;
                   1781:   *)  cat >> confdefs.h <<EOF
                   1782: #define inline $ac_cv_c_inline
                   1783: EOF
                   1784:  ;;
                   1785: esac
                   1786: 
                   1787:   echo $ac_n "checking size of unsigned char""... $ac_c" 1>&6
1.1.1.2 ! root     1788: echo "configure:1789: checking size of unsigned char" >&5
1.1       root     1789: if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_char'+set}'`\" = set"; then
                   1790:   echo $ac_n "(cached) $ac_c" 1>&6
                   1791: else
                   1792:   if test "$cross_compiling" = yes; then
                   1793:   ac_cv_sizeof_unsigned_char=1
                   1794: else
                   1795:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1796: #line 1797 "configure"
1.1       root     1797: #include "confdefs.h"
                   1798: #include <stdio.h>
                   1799: main()
                   1800: {
                   1801:   FILE *f=fopen("conftestval", "w");
                   1802:   if (!f) exit(1);
                   1803:   fprintf(f, "%d\n", sizeof(unsigned char));
                   1804:   exit(0);
                   1805: }
                   1806: EOF
1.1.1.2 ! root     1807: if { (eval echo configure:1808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1808: then
                   1809:   ac_cv_sizeof_unsigned_char=`cat conftestval`
                   1810: else
                   1811:   echo "configure: failed program was:" >&5
                   1812:   cat conftest.$ac_ext >&5
                   1813:   rm -fr conftest*
                   1814:   ac_cv_sizeof_unsigned_char=0
                   1815: fi
                   1816: rm -fr conftest*
                   1817: fi
                   1818: 
                   1819: fi
                   1820: echo "$ac_t""$ac_cv_sizeof_unsigned_char" 1>&6
                   1821: cat >> confdefs.h <<EOF
                   1822: #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
                   1823: EOF
                   1824: 
                   1825: 
                   1826:   echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6
1.1.1.2 ! root     1827: echo "configure:1828: checking size of unsigned short" >&5
1.1       root     1828: if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then
                   1829:   echo $ac_n "(cached) $ac_c" 1>&6
                   1830: else
                   1831:   if test "$cross_compiling" = yes; then
                   1832:   ac_cv_sizeof_unsigned_short=2
                   1833: else
                   1834:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1835: #line 1836 "configure"
1.1       root     1836: #include "confdefs.h"
                   1837: #include <stdio.h>
                   1838: main()
                   1839: {
                   1840:   FILE *f=fopen("conftestval", "w");
                   1841:   if (!f) exit(1);
                   1842:   fprintf(f, "%d\n", sizeof(unsigned short));
                   1843:   exit(0);
                   1844: }
                   1845: EOF
1.1.1.2 ! root     1846: if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1847: then
                   1848:   ac_cv_sizeof_unsigned_short=`cat conftestval`
                   1849: else
                   1850:   echo "configure: failed program was:" >&5
                   1851:   cat conftest.$ac_ext >&5
                   1852:   rm -fr conftest*
                   1853:   ac_cv_sizeof_unsigned_short=0
                   1854: fi
                   1855: rm -fr conftest*
                   1856: fi
                   1857: 
                   1858: fi
                   1859: echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6
                   1860: cat >> confdefs.h <<EOF
                   1861: #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
                   1862: EOF
                   1863: 
                   1864: 
                   1865:   echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6
1.1.1.2 ! root     1866: echo "configure:1867: checking size of unsigned int" >&5
1.1       root     1867: if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then
                   1868:   echo $ac_n "(cached) $ac_c" 1>&6
                   1869: else
                   1870:   if test "$cross_compiling" = yes; then
                   1871:   ac_cv_sizeof_unsigned_int=4
                   1872: else
                   1873:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1874: #line 1875 "configure"
1.1       root     1875: #include "confdefs.h"
                   1876: #include <stdio.h>
                   1877: main()
                   1878: {
                   1879:   FILE *f=fopen("conftestval", "w");
                   1880:   if (!f) exit(1);
                   1881:   fprintf(f, "%d\n", sizeof(unsigned int));
                   1882:   exit(0);
                   1883: }
                   1884: EOF
1.1.1.2 ! root     1885: if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1886: then
                   1887:   ac_cv_sizeof_unsigned_int=`cat conftestval`
                   1888: else
                   1889:   echo "configure: failed program was:" >&5
                   1890:   cat conftest.$ac_ext >&5
                   1891:   rm -fr conftest*
                   1892:   ac_cv_sizeof_unsigned_int=0
                   1893: fi
                   1894: rm -fr conftest*
                   1895: fi
                   1896: 
                   1897: fi
                   1898: echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6
                   1899: cat >> confdefs.h <<EOF
                   1900: #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
                   1901: EOF
                   1902: 
                   1903: 
                   1904:   echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
1.1.1.2 ! root     1905: echo "configure:1906: checking size of unsigned long" >&5
1.1       root     1906: if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
                   1907:   echo $ac_n "(cached) $ac_c" 1>&6
                   1908: else
                   1909:   if test "$cross_compiling" = yes; then
                   1910:   ac_cv_sizeof_unsigned_long=4
                   1911: else
                   1912:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1913: #line 1914 "configure"
1.1       root     1914: #include "confdefs.h"
                   1915: #include <stdio.h>
                   1916: main()
                   1917: {
                   1918:   FILE *f=fopen("conftestval", "w");
                   1919:   if (!f) exit(1);
                   1920:   fprintf(f, "%d\n", sizeof(unsigned long));
                   1921:   exit(0);
                   1922: }
                   1923: EOF
1.1.1.2 ! root     1924: if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1925: then
                   1926:   ac_cv_sizeof_unsigned_long=`cat conftestval`
                   1927: else
                   1928:   echo "configure: failed program was:" >&5
                   1929:   cat conftest.$ac_ext >&5
                   1930:   rm -fr conftest*
                   1931:   ac_cv_sizeof_unsigned_long=0
                   1932: fi
                   1933: rm -fr conftest*
                   1934: fi
                   1935: 
                   1936: fi
                   1937: echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6
                   1938: cat >> confdefs.h <<EOF
                   1939: #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
                   1940: EOF
                   1941: 
                   1942: 
                   1943:   echo $ac_n "checking size of unsigned long long""... $ac_c" 1>&6
1.1.1.2 ! root     1944: echo "configure:1945: checking size of unsigned long long" >&5
1.1       root     1945: if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then
                   1946:   echo $ac_n "(cached) $ac_c" 1>&6
                   1947: else
                   1948:   if test "$cross_compiling" = yes; then
                   1949:   ac_cv_sizeof_unsigned_long_long=8
                   1950: else
                   1951:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1952: #line 1953 "configure"
1.1       root     1953: #include "confdefs.h"
                   1954: #include <stdio.h>
                   1955: main()
                   1956: {
                   1957:   FILE *f=fopen("conftestval", "w");
                   1958:   if (!f) exit(1);
                   1959:   fprintf(f, "%d\n", sizeof(unsigned long long));
                   1960:   exit(0);
                   1961: }
                   1962: EOF
1.1.1.2 ! root     1963: if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       root     1964: then
                   1965:   ac_cv_sizeof_unsigned_long_long=`cat conftestval`
                   1966: else
                   1967:   echo "configure: failed program was:" >&5
                   1968:   cat conftest.$ac_ext >&5
                   1969:   rm -fr conftest*
                   1970:   ac_cv_sizeof_unsigned_long_long=0
                   1971: fi
                   1972: rm -fr conftest*
                   1973: fi
                   1974: 
                   1975: fi
                   1976: echo "$ac_t""$ac_cv_sizeof_unsigned_long_long" 1>&6
                   1977: cat >> confdefs.h <<EOF
                   1978: #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
                   1979: EOF
                   1980: 
                   1981: 
                   1982:   for ac_func in snprintf
                   1983: do
                   1984: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1.1.1.2 ! root     1985: echo "configure:1986: checking for $ac_func" >&5
1.1       root     1986: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
                   1987:   echo $ac_n "(cached) $ac_c" 1>&6
                   1988: else
                   1989:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     1990: #line 1991 "configure"
1.1       root     1991: #include "confdefs.h"
                   1992: /* System header to define __stub macros and hopefully few prototypes,
                   1993:     which can conflict with char $ac_func(); below.  */
                   1994: #include <assert.h>
                   1995: /* Override any gcc2 internal prototype to avoid an error.  */
                   1996: /* We use char because int might match the return type of a gcc2
                   1997:     builtin and then its argument prototype would still apply.  */
                   1998: char $ac_func();
                   1999: 
                   2000: int main() {
                   2001: 
                   2002: /* The GNU C library defines this for functions which it implements
                   2003:     to always fail with ENOSYS.  Some functions are actually named
                   2004:     something starting with __ and the normal name is an alias.  */
                   2005: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   2006: choke me
                   2007: #else
                   2008: $ac_func();
                   2009: #endif
                   2010: 
                   2011: ; return 0; }
                   2012: EOF
1.1.1.2 ! root     2013: if { (eval echo configure:2014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       root     2014:   rm -rf conftest*
                   2015:   eval "ac_cv_func_$ac_func=yes"
                   2016: else
                   2017:   echo "configure: failed program was:" >&5
                   2018:   cat conftest.$ac_ext >&5
                   2019:   rm -rf conftest*
                   2020:   eval "ac_cv_func_$ac_func=no"
                   2021: fi
                   2022: rm -f conftest*
                   2023: fi
                   2024: 
                   2025: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
                   2026:   echo "$ac_t""yes" 1>&6
                   2027:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
                   2028:   cat >> confdefs.h <<EOF
                   2029: #define $ac_tr_func 1
                   2030: EOF
                   2031:  
                   2032: else
                   2033:   echo "$ac_t""no" 1>&6
                   2034: fi
                   2035: done
                   2036: 
                   2037:   for ac_hdr in tcl8.0.h
                   2038: do
                   2039: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
                   2040: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1.1.1.2 ! root     2041: echo "configure:2042: checking for $ac_hdr" >&5
1.1       root     2042: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
                   2043:   echo $ac_n "(cached) $ac_c" 1>&6
                   2044: else
                   2045:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     2046: #line 2047 "configure"
1.1       root     2047: #include "confdefs.h"
                   2048: #include <$ac_hdr>
                   2049: EOF
                   2050: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     2051: { (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     2052: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   2053: if test -z "$ac_err"; then
                   2054:   rm -rf conftest*
                   2055:   eval "ac_cv_header_$ac_safe=yes"
                   2056: else
                   2057:   echo "$ac_err" >&5
                   2058:   echo "configure: failed program was:" >&5
                   2059:   cat conftest.$ac_ext >&5
                   2060:   rm -rf conftest*
                   2061:   eval "ac_cv_header_$ac_safe=no"
                   2062: fi
                   2063: rm -f conftest*
                   2064: fi
                   2065: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
                   2066:   echo "$ac_t""yes" 1>&6
                   2067:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
                   2068:   cat >> confdefs.h <<EOF
                   2069: #define $ac_tr_hdr 1
                   2070: EOF
                   2071:  
                   2072: else
                   2073:   echo "$ac_t""no" 1>&6
                   2074: fi
                   2075: done
                   2076: 
                   2077:   for ac_hdr in tk8.0.h
                   2078: do
                   2079: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
                   2080: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1.1.1.2 ! root     2081: echo "configure:2082: checking for $ac_hdr" >&5
1.1       root     2082: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
                   2083:   echo $ac_n "(cached) $ac_c" 1>&6
                   2084: else
                   2085:   cat > conftest.$ac_ext <<EOF
1.1.1.2 ! root     2086: #line 2087 "configure"
1.1       root     2087: #include "confdefs.h"
                   2088: #include <$ac_hdr>
                   2089: EOF
                   2090: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.1.1.2 ! root     2091: { (eval echo configure:2092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       root     2092: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   2093: if test -z "$ac_err"; then
                   2094:   rm -rf conftest*
                   2095:   eval "ac_cv_header_$ac_safe=yes"
                   2096: else
                   2097:   echo "$ac_err" >&5
                   2098:   echo "configure: failed program was:" >&5
                   2099:   cat conftest.$ac_ext >&5
                   2100:   rm -rf conftest*
                   2101:   eval "ac_cv_header_$ac_safe=no"
                   2102: fi
                   2103: rm -f conftest*
                   2104: fi
                   2105: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
                   2106:   echo "$ac_t""yes" 1>&6
                   2107:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
                   2108:   cat >> confdefs.h <<EOF
                   2109: #define $ac_tr_hdr 1
                   2110: EOF
                   2111:  
                   2112: else
                   2113:   echo "$ac_t""no" 1>&6
                   2114: fi
                   2115: done
                   2116: 
                   2117: 
                   2118: 
                   2119: 
                   2120:   trap '' 1 2 15
                   2121: cat > confcache <<\EOF
                   2122: # This file is a shell script that caches the results of configure
                   2123: # tests run on this system so they can be shared between configure
                   2124: # scripts and configure runs.  It is not useful on other systems.
                   2125: # If it contains results you don't want to keep, you may remove or edit it.
                   2126: #
                   2127: # By default, configure uses ./config.cache as the cache file,
                   2128: # creating it if it does not exist already.  You can give configure
                   2129: # the --cache-file=FILE option to use a different cache file; that is
                   2130: # what configure does when it calls configure scripts in
                   2131: # subdirectories, so they share the cache.
                   2132: # Giving --cache-file=/dev/null disables caching, for debugging configure.
                   2133: # config.status only pays attention to the cache file if you give it the
                   2134: # --recheck option to rerun configure.
                   2135: #
                   2136: EOF
                   2137: # The following way of writing the cache mishandles newlines in values,
                   2138: # but we know of no workaround that is simple, portable, and efficient.
                   2139: # So, don't put newlines in cache variables' values.
                   2140: # Ultrix sh set writes to stderr and can't be redirected directly,
                   2141: # and sets the high bit in the cache file unless we assign to the vars.
                   2142: (set) 2>&1 |
                   2143:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   2144:   *ac_space=\ *)
                   2145:     # `set' does not quote correctly, so add quotes (double-quote substitution
                   2146:     # turns \\\\ into \\, and sed turns \\ into \).
                   2147:     sed -n \
                   2148:       -e "s/'/'\\\\''/g" \
                   2149:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
                   2150:     ;;
                   2151:   *)
                   2152:     # `set' quotes correctly as required by POSIX, so do not add quotes.
                   2153:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
                   2154:     ;;
                   2155:   esac >> confcache
                   2156: if cmp -s $cache_file confcache; then
                   2157:   :
                   2158: else
                   2159:   if test -w $cache_file; then
                   2160:     echo "updating cache $cache_file"
                   2161:     cat confcache > $cache_file
                   2162:   else
                   2163:     echo "not updating unwritable cache $cache_file"
                   2164:   fi
                   2165: fi
                   2166: rm -f confcache
                   2167: 
                   2168: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
                   2169: 
                   2170: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   2171: # Let make expand exec_prefix.
                   2172: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   2173: 
                   2174: # Any assignment to VPATH causes Sun make to only execute
                   2175: # the first set of double-colon rules, so remove it if not needed.
                   2176: # If there is a colon in the path, we need to keep it.
                   2177: if test "x$srcdir" = x.; then
                   2178:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
                   2179: fi
                   2180: 
                   2181: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
                   2182: 
                   2183: DEFS=-DHAVE_CONFIG_H
                   2184: 
                   2185: # Without the "./", some shells look in PATH for config.status.
                   2186: : ${CONFIG_STATUS=./config.status}
                   2187: 
                   2188: echo creating $CONFIG_STATUS
                   2189: rm -f $CONFIG_STATUS
                   2190: cat > $CONFIG_STATUS <<EOF
                   2191: #! /bin/sh
                   2192: # Generated automatically by configure.
                   2193: # Run this file to recreate the current configuration.
                   2194: # This directory was configured as follows,
                   2195: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   2196: #
                   2197: # $0 $ac_configure_args
                   2198: #
                   2199: # Compiler output produced by configure, useful for debugging
                   2200: # configure, is in ./config.log if it exists.
                   2201: 
                   2202: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
                   2203: for ac_option
                   2204: do
                   2205:   case "\$ac_option" in
                   2206:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   2207:     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
                   2208:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
                   2209:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
                   2210:     echo "$CONFIG_STATUS generated by autoconf version 2.13"
                   2211:     exit 0 ;;
                   2212:   -help | --help | --hel | --he | --h)
                   2213:     echo "\$ac_cs_usage"; exit 0 ;;
                   2214:   *) echo "\$ac_cs_usage"; exit 1 ;;
                   2215:   esac
                   2216: done
                   2217: 
                   2218: ac_given_srcdir=$srcdir
                   2219: ac_given_INSTALL="$INSTALL"
                   2220: 
                   2221: trap 'rm -fr `echo "Makefile cpu68k/Makefile raze/Makefile ym2612/Makefile
1.1.1.2 ! root     2222:              main/Makefile sn76496/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1.1       root     2223: EOF
                   2224: cat >> $CONFIG_STATUS <<EOF
                   2225: 
                   2226: # Protect against being on the right side of a sed subst in config.status.
                   2227: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
                   2228:  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
                   2229: $ac_vpsub
                   2230: $extrasub
                   2231: s%@SHELL@%$SHELL%g
                   2232: s%@CFLAGS@%$CFLAGS%g
                   2233: s%@CPPFLAGS@%$CPPFLAGS%g
                   2234: s%@CXXFLAGS@%$CXXFLAGS%g
                   2235: s%@FFLAGS@%$FFLAGS%g
                   2236: s%@DEFS@%$DEFS%g
                   2237: s%@LDFLAGS@%$LDFLAGS%g
                   2238: s%@LIBS@%$LIBS%g
                   2239: s%@exec_prefix@%$exec_prefix%g
                   2240: s%@prefix@%$prefix%g
                   2241: s%@program_transform_name@%$program_transform_name%g
                   2242: s%@bindir@%$bindir%g
                   2243: s%@sbindir@%$sbindir%g
                   2244: s%@libexecdir@%$libexecdir%g
                   2245: s%@datadir@%$datadir%g
                   2246: s%@sysconfdir@%$sysconfdir%g
                   2247: s%@sharedstatedir@%$sharedstatedir%g
                   2248: s%@localstatedir@%$localstatedir%g
                   2249: s%@libdir@%$libdir%g
                   2250: s%@includedir@%$includedir%g
                   2251: s%@oldincludedir@%$oldincludedir%g
                   2252: s%@infodir@%$infodir%g
                   2253: s%@mandir@%$mandir%g
                   2254: s%@host@%$host%g
                   2255: s%@host_alias@%$host_alias%g
                   2256: s%@host_cpu@%$host_cpu%g
                   2257: s%@host_vendor@%$host_vendor%g
                   2258: s%@host_os@%$host_os%g
                   2259: s%@target@%$target%g
                   2260: s%@target_alias@%$target_alias%g
                   2261: s%@target_cpu@%$target_cpu%g
                   2262: s%@target_vendor@%$target_vendor%g
                   2263: s%@target_os@%$target_os%g
                   2264: s%@build@%$build%g
                   2265: s%@build_alias@%$build_alias%g
                   2266: s%@build_cpu@%$build_cpu%g
                   2267: s%@build_vendor@%$build_vendor%g
                   2268: s%@build_os@%$build_os%g
                   2269: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
                   2270: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
                   2271: s%@INSTALL_DATA@%$INSTALL_DATA%g
                   2272: s%@PACKAGE@%$PACKAGE%g
                   2273: s%@VERSION@%$VERSION%g
                   2274: s%@ACLOCAL@%$ACLOCAL%g
                   2275: s%@AUTOCONF@%$AUTOCONF%g
                   2276: s%@AUTOMAKE@%$AUTOMAKE%g
                   2277: s%@AUTOHEADER@%$AUTOHEADER%g
                   2278: s%@MAKEINFO@%$MAKEINFO%g
                   2279: s%@SET_MAKE@%$SET_MAKE%g
                   2280: s%@PROGRAM@%$PROGRAM%g
                   2281: s%@CC@%$CC%g
                   2282: s%@RANLIB@%$RANLIB%g
                   2283: s%@CPP@%$CPP%g
                   2284: 
                   2285: CEOF
                   2286: EOF
                   2287: 
                   2288: cat >> $CONFIG_STATUS <<\EOF
                   2289: 
                   2290: # Split the substitutions into bite-sized pieces for seds with
                   2291: # small command number limits, like on Digital OSF/1 and HP-UX.
                   2292: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
                   2293: ac_file=1 # Number of current file.
                   2294: ac_beg=1 # First line for current file.
                   2295: ac_end=$ac_max_sed_cmds # Line after last line for current file.
                   2296: ac_more_lines=:
                   2297: ac_sed_cmds=""
                   2298: while $ac_more_lines; do
                   2299:   if test $ac_beg -gt 1; then
                   2300:     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
                   2301:   else
                   2302:     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
                   2303:   fi
                   2304:   if test ! -s conftest.s$ac_file; then
                   2305:     ac_more_lines=false
                   2306:     rm -f conftest.s$ac_file
                   2307:   else
                   2308:     if test -z "$ac_sed_cmds"; then
                   2309:       ac_sed_cmds="sed -f conftest.s$ac_file"
                   2310:     else
                   2311:       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
                   2312:     fi
                   2313:     ac_file=`expr $ac_file + 1`
                   2314:     ac_beg=$ac_end
                   2315:     ac_end=`expr $ac_end + $ac_max_sed_cmds`
                   2316:   fi
                   2317: done
                   2318: if test -z "$ac_sed_cmds"; then
                   2319:   ac_sed_cmds=cat
                   2320: fi
                   2321: EOF
                   2322: 
                   2323: cat >> $CONFIG_STATUS <<EOF
                   2324: 
                   2325: CONFIG_FILES=\${CONFIG_FILES-"Makefile cpu68k/Makefile raze/Makefile ym2612/Makefile
1.1.1.2 ! root     2326:              main/Makefile sn76496/Makefile"}
1.1       root     2327: EOF
                   2328: cat >> $CONFIG_STATUS <<\EOF
                   2329: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
                   2330:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   2331:   case "$ac_file" in
                   2332:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   2333:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   2334:   *) ac_file_in="${ac_file}.in" ;;
                   2335:   esac
                   2336: 
                   2337:   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
                   2338: 
                   2339:   # Remove last slash and all that follows it.  Not all systems have dirname.
                   2340:   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   2341:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   2342:     # The file is in a subdirectory.
                   2343:     test ! -d "$ac_dir" && mkdir "$ac_dir"
                   2344:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
                   2345:     # A "../" for each directory in $ac_dir_suffix.
                   2346:     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
                   2347:   else
                   2348:     ac_dir_suffix= ac_dots=
                   2349:   fi
                   2350: 
                   2351:   case "$ac_given_srcdir" in
                   2352:   .)  srcdir=.
                   2353:       if test -z "$ac_dots"; then top_srcdir=.
                   2354:       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
                   2355:   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
                   2356:   *) # Relative path.
                   2357:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
                   2358:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
                   2359:   esac
                   2360: 
                   2361:   case "$ac_given_INSTALL" in
                   2362:   [/$]*) INSTALL="$ac_given_INSTALL" ;;
                   2363:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
                   2364:   esac
                   2365: 
                   2366:   echo creating "$ac_file"
                   2367:   rm -f "$ac_file"
                   2368:   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
                   2369:   case "$ac_file" in
                   2370:   *Makefile*) ac_comsub="1i\\
                   2371: # $configure_input" ;;
                   2372:   *) ac_comsub= ;;
                   2373:   esac
                   2374: 
                   2375:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   2376:   sed -e "$ac_comsub
                   2377: s%@configure_input@%$configure_input%g
                   2378: s%@srcdir@%$srcdir%g
                   2379: s%@top_srcdir@%$top_srcdir%g
                   2380: s%@INSTALL@%$INSTALL%g
                   2381: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
                   2382: fi; done
                   2383: rm -f conftest.s*
                   2384: 
                   2385: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   2386: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   2387: #
                   2388: # ac_d sets the value in "#define NAME VALUE" lines.
                   2389: ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   2390: ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
                   2391: ac_dC='\3'
                   2392: ac_dD='%g'
                   2393: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
                   2394: ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   2395: ac_uB='\([     ]\)%\1#\2define\3'
                   2396: ac_uC=' '
                   2397: ac_uD='\4%g'
                   2398: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   2399: ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   2400: ac_eB='$%\1#\2define\3'
                   2401: ac_eC=' '
                   2402: ac_eD='%g'
                   2403: 
                   2404: if test "${CONFIG_HEADERS+set}" != set; then
                   2405: EOF
                   2406: cat >> $CONFIG_STATUS <<EOF
                   2407:   CONFIG_HEADERS="config.h"
                   2408: EOF
                   2409: cat >> $CONFIG_STATUS <<\EOF
                   2410: fi
                   2411: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
                   2412:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   2413:   case "$ac_file" in
                   2414:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   2415:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   2416:   *) ac_file_in="${ac_file}.in" ;;
                   2417:   esac
                   2418: 
                   2419:   echo creating $ac_file
                   2420: 
                   2421:   rm -f conftest.frag conftest.in conftest.out
                   2422:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   2423:   cat $ac_file_inputs > conftest.in
                   2424: 
                   2425: EOF
                   2426: 
                   2427: # Transform confdefs.h into a sed script conftest.vals that substitutes
                   2428: # the proper values into config.h.in to produce config.h.  And first:
                   2429: # Protect against being on the right side of a sed subst in config.status.
                   2430: # Protect against being in an unquoted here document in config.status.
                   2431: rm -f conftest.vals
                   2432: cat > conftest.hdr <<\EOF
                   2433: s/[\\&%]/\\&/g
                   2434: s%[\\$`]%\\&%g
                   2435: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
                   2436: s%ac_d%ac_u%gp
                   2437: s%ac_u%ac_e%gp
                   2438: EOF
                   2439: sed -n -f conftest.hdr confdefs.h > conftest.vals
                   2440: rm -f conftest.hdr
                   2441: 
                   2442: # This sed command replaces #undef with comments.  This is necessary, for
                   2443: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   2444: # on some systems where configure will not decide to define it.
                   2445: cat >> conftest.vals <<\EOF
                   2446: s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
                   2447: EOF
                   2448: 
                   2449: # Break up conftest.vals because some shells have a limit on
                   2450: # the size of here documents, and old seds have small limits too.
                   2451: 
                   2452: rm -f conftest.tail
                   2453: while :
                   2454: do
                   2455:   ac_lines=`grep -c . conftest.vals`
                   2456:   # grep -c gives empty output for an empty file on some AIX systems.
                   2457:   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
                   2458:   # Write a limited-size here document to conftest.frag.
                   2459:   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
                   2460:   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
                   2461:   echo 'CEOF
                   2462:   sed -f conftest.frag conftest.in > conftest.out
                   2463:   rm -f conftest.in
                   2464:   mv conftest.out conftest.in
                   2465: ' >> $CONFIG_STATUS
                   2466:   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
                   2467:   rm -f conftest.vals
                   2468:   mv conftest.tail conftest.vals
                   2469: done
                   2470: rm -f conftest.vals
                   2471: 
                   2472: cat >> $CONFIG_STATUS <<\EOF
                   2473:   rm -f conftest.frag conftest.h
                   2474:   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
                   2475:   cat conftest.in >> conftest.h
                   2476:   rm -f conftest.in
                   2477:   if cmp -s $ac_file conftest.h 2>/dev/null; then
                   2478:     echo "$ac_file is unchanged"
                   2479:     rm -f conftest.h
                   2480:   else
                   2481:     # Remove last slash and all that follows it.  Not all systems have dirname.
                   2482:       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   2483:       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   2484:       # The file is in a subdirectory.
                   2485:       test ! -d "$ac_dir" && mkdir "$ac_dir"
                   2486:     fi
                   2487:     rm -f $ac_file
                   2488:     mv conftest.h $ac_file
                   2489:   fi
                   2490: fi; done
                   2491: 
                   2492: EOF
                   2493: cat >> $CONFIG_STATUS <<EOF
                   2494: 
                   2495: 
                   2496: EOF
                   2497: cat >> $CONFIG_STATUS <<\EOF
                   2498: test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
                   2499: 
                   2500: exit 0
                   2501: EOF
                   2502: chmod +x $CONFIG_STATUS
                   2503: rm -fr confdefs* $ac_clean_files
                   2504: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
                   2505: 
                   2506: 
                   2507:   if [ $optimum = no ]; then
                   2508:     echo '!!! Generator was compiled non-optimally, see warnings above !!!' 1>&2
                   2509:   fi
                   2510: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.