Annotation of parser3/configure, revision 1.7

1.1       paf         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:   --disable-string-origins to switch off string origin tracking"
                     16: ac_help="$ac_help
1.7     ! paf        17:   --with-apache13=D       D is the Apache13 source distribution directory
1.1       paf        18:                           builds library for apache_module using that dir
                     19:                           (do not add /src)"
                     20: ac_help="$ac_help
1.7     ! paf        21:   --with-pathlink=LKEY    put dynamic libraries paths to binary
1.1       paf        22:                           using linker key (-R, -rpath-link)"
                     23: ac_help="$ac_help
1.7     ! paf        24:   --with-glib-config=FILE FILE is glib library
        !            25:                           configuration file (search for glib*-config)"
        !            26: ac_help="$ac_help
        !            27:   --with-gnome-xml=D      D is the directory where
1.1       paf        28:                           Gnome XML libraries are installed"
                     29: ac_help="$ac_help
                     30:   --with-db2[=D]          D is the DB2 installation directory
                     31:                           DO NOT FORGET TO COMPILE DB2 WITH EXCEPTIONS SUPPORT!"
                     32: ac_help="$ac_help
                     33:   --enable-shared[=PKGS]  build shared libraries [default=yes]"
                     34: ac_help="$ac_help
                     35:   --enable-static[=PKGS]  build static libraries [default=yes]"
                     36: ac_help="$ac_help
                     37:   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
                     38: ac_help="$ac_help
                     39:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
                     40: ac_help="$ac_help
                     41:   --disable-libtool-lock  avoid locking (might break parallel builds)"
                     42: 
                     43: # Initialize some variables set by options.
                     44: # The variables have the same names as the options, with
                     45: # dashes changed to underlines.
                     46: build=NONE
                     47: cache_file=./config.cache
                     48: exec_prefix=NONE
                     49: host=NONE
                     50: no_create=
                     51: nonopt=NONE
                     52: no_recursion=
                     53: prefix=NONE
                     54: program_prefix=NONE
                     55: program_suffix=NONE
                     56: program_transform_name=s,x,x,
                     57: silent=
                     58: site=
                     59: srcdir=
                     60: target=NONE
                     61: verbose=
                     62: x_includes=NONE
                     63: x_libraries=NONE
                     64: bindir='${exec_prefix}/bin'
                     65: sbindir='${exec_prefix}/sbin'
                     66: libexecdir='${exec_prefix}/libexec'
                     67: datadir='${prefix}/share'
                     68: sysconfdir='${prefix}/etc'
                     69: sharedstatedir='${prefix}/com'
                     70: localstatedir='${prefix}/var'
                     71: libdir='${exec_prefix}/lib'
                     72: includedir='${prefix}/include'
                     73: oldincludedir='/usr/include'
                     74: infodir='${prefix}/info'
                     75: mandir='${prefix}/man'
                     76: 
                     77: # Initialize some other variables.
                     78: subdirs=
                     79: MFLAGS= MAKEFLAGS=
                     80: SHELL=${CONFIG_SHELL-/bin/sh}
                     81: # Maximum number of lines to put in a shell here document.
                     82: ac_max_here_lines=12
                     83: 
                     84: ac_prev=
                     85: for ac_option
                     86: do
                     87: 
                     88:   # If the previous option needs an argument, assign it.
                     89:   if test -n "$ac_prev"; then
                     90:     eval "$ac_prev=\$ac_option"
                     91:     ac_prev=
                     92:     continue
                     93:   fi
                     94: 
                     95:   case "$ac_option" in
                     96:   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
                     97:   *) ac_optarg= ;;
                     98:   esac
                     99: 
                    100:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    101: 
                    102:   case "$ac_option" in
                    103: 
                    104:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    105:     ac_prev=bindir ;;
                    106:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    107:     bindir="$ac_optarg" ;;
                    108: 
                    109:   -build | --build | --buil | --bui | --bu)
                    110:     ac_prev=build ;;
                    111:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    112:     build="$ac_optarg" ;;
                    113: 
                    114:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    115:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    116:     ac_prev=cache_file ;;
                    117:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    118:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    119:     cache_file="$ac_optarg" ;;
                    120: 
                    121:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    122:     ac_prev=datadir ;;
                    123:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    124:   | --da=*)
                    125:     datadir="$ac_optarg" ;;
                    126: 
                    127:   -disable-* | --disable-*)
                    128:     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
                    129:     # Reject names that are not valid shell variable names.
                    130:     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
                    131:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
                    132:     fi
                    133:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
                    134:     eval "enable_${ac_feature}=no" ;;
                    135: 
                    136:   -enable-* | --enable-*)
                    137:     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
                    138:     # Reject names that are not valid shell variable names.
                    139:     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
                    140:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
                    141:     fi
                    142:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
                    143:     case "$ac_option" in
                    144:       *=*) ;;
                    145:       *) ac_optarg=yes ;;
                    146:     esac
                    147:     eval "enable_${ac_feature}='$ac_optarg'" ;;
                    148: 
                    149:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    150:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    151:   | --exec | --exe | --ex)
                    152:     ac_prev=exec_prefix ;;
                    153:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    154:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    155:   | --exec=* | --exe=* | --ex=*)
                    156:     exec_prefix="$ac_optarg" ;;
                    157: 
                    158:   -gas | --gas | --ga | --g)
                    159:     # Obsolete; use --with-gas.
                    160:     with_gas=yes ;;
                    161: 
                    162:   -help | --help | --hel | --he)
                    163:     # Omit some internal or obsolete options to make the list less imposing.
                    164:     # This message is too long to be a string in the A/UX 3.1 sh.
                    165:     cat << EOF
                    166: Usage: configure [options] [host]
                    167: Options: [defaults in brackets after descriptions]
                    168: Configuration:
                    169:   --cache-file=FILE       cache test results in FILE
                    170:   --help                  print this message
                    171:   --no-create             do not create output files
                    172:   --quiet, --silent       do not print \`checking...' messages
                    173:   --version               print the version of autoconf that created configure
                    174: Directory and file names:
                    175:   --prefix=PREFIX         install architecture-independent files in PREFIX
                    176:                           [$ac_default_prefix]
                    177:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                    178:                           [same as prefix]
                    179:   --bindir=DIR            user executables in DIR [EPREFIX/bin]
                    180:   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
                    181:   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
                    182:   --datadir=DIR           read-only architecture-independent data in DIR
                    183:                           [PREFIX/share]
                    184:   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
                    185:   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                    186:                           [PREFIX/com]
                    187:   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
                    188:   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
                    189:   --includedir=DIR        C header files in DIR [PREFIX/include]
                    190:   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
                    191:   --infodir=DIR           info documentation in DIR [PREFIX/info]
                    192:   --mandir=DIR            man documentation in DIR [PREFIX/man]
                    193:   --srcdir=DIR            find the sources in DIR [configure dir or ..]
                    194:   --program-prefix=PREFIX prepend PREFIX to installed program names
                    195:   --program-suffix=SUFFIX append SUFFIX to installed program names
                    196:   --program-transform-name=PROGRAM
                    197:                           run sed PROGRAM on installed program names
                    198: EOF
                    199:     cat << EOF
                    200: Host type:
                    201:   --build=BUILD           configure for building on BUILD [BUILD=HOST]
                    202:   --host=HOST             configure for HOST [guessed]
                    203:   --target=TARGET         configure for TARGET [TARGET=HOST]
                    204: Features and packages:
                    205:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    206:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                    207:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    208:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    209:   --x-includes=DIR        X include files are in DIR
                    210:   --x-libraries=DIR       X library files are in DIR
                    211: EOF
                    212:     if test -n "$ac_help"; then
                    213:       echo "--enable and --with options recognized:$ac_help"
                    214:     fi
                    215:     exit 0 ;;
                    216: 
                    217:   -host | --host | --hos | --ho)
                    218:     ac_prev=host ;;
                    219:   -host=* | --host=* | --hos=* | --ho=*)
                    220:     host="$ac_optarg" ;;
                    221: 
                    222:   -includedir | --includedir | --includedi | --included | --include \
                    223:   | --includ | --inclu | --incl | --inc)
                    224:     ac_prev=includedir ;;
                    225:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    226:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    227:     includedir="$ac_optarg" ;;
                    228: 
                    229:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    230:     ac_prev=infodir ;;
                    231:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    232:     infodir="$ac_optarg" ;;
                    233: 
                    234:   -libdir | --libdir | --libdi | --libd)
                    235:     ac_prev=libdir ;;
                    236:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    237:     libdir="$ac_optarg" ;;
                    238: 
                    239:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    240:   | --libexe | --libex | --libe)
                    241:     ac_prev=libexecdir ;;
                    242:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    243:   | --libexe=* | --libex=* | --libe=*)
                    244:     libexecdir="$ac_optarg" ;;
                    245: 
                    246:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    247:   | --localstate | --localstat | --localsta | --localst \
                    248:   | --locals | --local | --loca | --loc | --lo)
                    249:     ac_prev=localstatedir ;;
                    250:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    251:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    252:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
                    253:     localstatedir="$ac_optarg" ;;
                    254: 
                    255:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    256:     ac_prev=mandir ;;
                    257:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    258:     mandir="$ac_optarg" ;;
                    259: 
                    260:   -nfp | --nfp | --nf)
                    261:     # Obsolete; use --without-fp.
                    262:     with_fp=no ;;
                    263: 
                    264:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    265:   | --no-cr | --no-c)
                    266:     no_create=yes ;;
                    267: 
                    268:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    269:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    270:     no_recursion=yes ;;
                    271: 
                    272:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    273:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    274:   | --oldin | --oldi | --old | --ol | --o)
                    275:     ac_prev=oldincludedir ;;
                    276:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    277:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    278:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    279:     oldincludedir="$ac_optarg" ;;
                    280: 
                    281:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    282:     ac_prev=prefix ;;
                    283:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    284:     prefix="$ac_optarg" ;;
                    285: 
                    286:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    287:   | --program-pre | --program-pr | --program-p)
                    288:     ac_prev=program_prefix ;;
                    289:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    290:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    291:     program_prefix="$ac_optarg" ;;
                    292: 
                    293:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    294:   | --program-suf | --program-su | --program-s)
                    295:     ac_prev=program_suffix ;;
                    296:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    297:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    298:     program_suffix="$ac_optarg" ;;
                    299: 
                    300:   -program-transform-name | --program-transform-name \
                    301:   | --program-transform-nam | --program-transform-na \
                    302:   | --program-transform-n | --program-transform- \
                    303:   | --program-transform | --program-transfor \
                    304:   | --program-transfo | --program-transf \
                    305:   | --program-trans | --program-tran \
                    306:   | --progr-tra | --program-tr | --program-t)
                    307:     ac_prev=program_transform_name ;;
                    308:   -program-transform-name=* | --program-transform-name=* \
                    309:   | --program-transform-nam=* | --program-transform-na=* \
                    310:   | --program-transform-n=* | --program-transform-=* \
                    311:   | --program-transform=* | --program-transfor=* \
                    312:   | --program-transfo=* | --program-transf=* \
                    313:   | --program-trans=* | --program-tran=* \
                    314:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    315:     program_transform_name="$ac_optarg" ;;
                    316: 
                    317:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    318:   | -silent | --silent | --silen | --sile | --sil)
                    319:     silent=yes ;;
                    320: 
                    321:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    322:     ac_prev=sbindir ;;
                    323:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    324:   | --sbi=* | --sb=*)
                    325:     sbindir="$ac_optarg" ;;
                    326: 
                    327:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    328:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    329:   | --sharedst | --shareds | --shared | --share | --shar \
                    330:   | --sha | --sh)
                    331:     ac_prev=sharedstatedir ;;
                    332:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    333:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    334:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    335:   | --sha=* | --sh=*)
                    336:     sharedstatedir="$ac_optarg" ;;
                    337: 
                    338:   -site | --site | --sit)
                    339:     ac_prev=site ;;
                    340:   -site=* | --site=* | --sit=*)
                    341:     site="$ac_optarg" ;;
                    342: 
                    343:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    344:     ac_prev=srcdir ;;
                    345:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                    346:     srcdir="$ac_optarg" ;;
                    347: 
                    348:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    349:   | --syscon | --sysco | --sysc | --sys | --sy)
                    350:     ac_prev=sysconfdir ;;
                    351:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    352:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                    353:     sysconfdir="$ac_optarg" ;;
                    354: 
                    355:   -target | --target | --targe | --targ | --tar | --ta | --t)
                    356:     ac_prev=target ;;
                    357:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                    358:     target="$ac_optarg" ;;
                    359: 
                    360:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    361:     verbose=yes ;;
                    362: 
                    363:   -version | --version | --versio | --versi | --vers)
                    364:     echo "configure generated by autoconf version 2.13"
                    365:     exit 0 ;;
                    366: 
                    367:   -with-* | --with-*)
                    368:     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
                    369:     # Reject names that are not valid shell variable names.
                    370:     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
                    371:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
                    372:     fi
                    373:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    374:     case "$ac_option" in
                    375:       *=*) ;;
                    376:       *) ac_optarg=yes ;;
                    377:     esac
                    378:     eval "with_${ac_package}='$ac_optarg'" ;;
                    379: 
                    380:   -without-* | --without-*)
                    381:     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
                    382:     # Reject names that are not valid shell variable names.
                    383:     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
                    384:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
                    385:     fi
                    386:     ac_package=`echo $ac_package| sed 's/-/_/g'`
                    387:     eval "with_${ac_package}=no" ;;
                    388: 
                    389:   --x)
                    390:     # Obsolete; use --with-x.
                    391:     with_x=yes ;;
                    392: 
                    393:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    394:   | --x-incl | --x-inc | --x-in | --x-i)
                    395:     ac_prev=x_includes ;;
                    396:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    397:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                    398:     x_includes="$ac_optarg" ;;
                    399: 
                    400:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    401:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    402:     ac_prev=x_libraries ;;
                    403:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    404:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                    405:     x_libraries="$ac_optarg" ;;
                    406: 
                    407:   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
                    408:     ;;
                    409: 
                    410:   *)
                    411:     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
                    412:       echo "configure: warning: $ac_option: invalid host type" 1>&2
                    413:     fi
                    414:     if test "x$nonopt" != xNONE; then
                    415:       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
                    416:     fi
                    417:     nonopt="$ac_option"
                    418:     ;;
                    419: 
                    420:   esac
                    421: done
                    422: 
                    423: if test -n "$ac_prev"; then
                    424:   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
                    425: fi
                    426: 
                    427: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
                    428: 
                    429: # File descriptor usage:
                    430: # 0 standard input
                    431: # 1 file creation
                    432: # 2 errors and warnings
                    433: # 3 some systems may open it to /dev/tty
                    434: # 4 used on the Kubota Titan
                    435: # 6 checking for... messages and results
                    436: # 5 compiler messages saved in config.log
                    437: if test "$silent" = yes; then
                    438:   exec 6>/dev/null
                    439: else
                    440:   exec 6>&1
                    441: fi
                    442: exec 5>./config.log
                    443: 
                    444: echo "\
                    445: This file contains any messages produced by compilers while
                    446: running configure, to aid debugging if configure makes a mistake.
                    447: " 1>&5
                    448: 
                    449: # Strip out --no-create and --no-recursion so they do not pile up.
                    450: # Also quote any args containing shell metacharacters.
                    451: ac_configure_args=
                    452: for ac_arg
                    453: do
                    454:   case "$ac_arg" in
                    455:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    456:   | --no-cr | --no-c) ;;
                    457:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    458:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
                    459:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
                    460:   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                    461:   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
                    462:   esac
                    463: done
                    464: 
                    465: # NLS nuisances.
                    466: # Only set these to C if already set.  These must not be set unconditionally
                    467: # because not all systems understand e.g. LANG=C (notably SCO).
                    468: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
                    469: # Non-C LC_CTYPE values break the ctype check.
                    470: if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
                    471: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
                    472: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
                    473: if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
                    474: 
                    475: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                    476: rm -rf conftest* confdefs.h
                    477: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                    478: echo > confdefs.h
                    479: 
                    480: # A filename unique to this package, relative to the directory that
                    481: # configure is in, which we can look for to find out if srcdir is correct.
                    482: ac_unique_file=README
                    483: 
                    484: # Find the source files, if location was not specified.
                    485: if test -z "$srcdir"; then
                    486:   ac_srcdir_defaulted=yes
                    487:   # Try the directory containing this script, then its parent.
                    488:   ac_prog=$0
                    489:   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
                    490:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
                    491:   srcdir=$ac_confdir
                    492:   if test ! -r $srcdir/$ac_unique_file; then
                    493:     srcdir=..
                    494:   fi
                    495: else
                    496:   ac_srcdir_defaulted=no
                    497: fi
                    498: if test ! -r $srcdir/$ac_unique_file; then
                    499:   if test "$ac_srcdir_defaulted" = yes; then
                    500:     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
                    501:   else
                    502:     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
                    503:   fi
                    504: fi
                    505: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
                    506: 
                    507: # Prefer explicitly selected file to automatically selected ones.
                    508: if test -z "$CONFIG_SITE"; then
                    509:   if test "x$prefix" != xNONE; then
                    510:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                    511:   else
                    512:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                    513:   fi
                    514: fi
                    515: for ac_site_file in $CONFIG_SITE; do
                    516:   if test -r "$ac_site_file"; then
                    517:     echo "loading site script $ac_site_file"
                    518:     . "$ac_site_file"
                    519:   fi
                    520: done
                    521: 
                    522: if test -r "$cache_file"; then
                    523:   echo "loading cache $cache_file"
                    524:   . $cache_file
                    525: else
                    526:   echo "creating cache $cache_file"
                    527:   > $cache_file
                    528: fi
                    529: 
                    530: ac_ext=c
                    531: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                    532: ac_cpp='$CPP $CPPFLAGS'
                    533: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                    534: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                    535: cross_compiling=$ac_cv_prog_cc_cross
                    536: 
                    537: ac_exeext=
                    538: ac_objext=o
                    539: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
                    540:   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
                    541:   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
                    542:     ac_n= ac_c='
                    543: ' ac_t='       '
                    544:   else
                    545:     ac_n=-n ac_c= ac_t=
                    546:   fi
                    547: else
                    548:   ac_n= ac_c='\c' ac_t=
                    549: fi
                    550: 
                    551: 
                    552: ac_aux_dir=
                    553: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                    554:   if test -f $ac_dir/install-sh; then
                    555:     ac_aux_dir=$ac_dir
                    556:     ac_install_sh="$ac_aux_dir/install-sh -c"
                    557:     break
                    558:   elif test -f $ac_dir/install.sh; then
                    559:     ac_aux_dir=$ac_dir
                    560:     ac_install_sh="$ac_aux_dir/install.sh -c"
                    561:     break
                    562:   fi
                    563: done
                    564: if test -z "$ac_aux_dir"; then
                    565:   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
                    566: fi
                    567: ac_config_guess=$ac_aux_dir/config.guess
                    568: ac_config_sub=$ac_aux_dir/config.sub
                    569: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
                    570: 
                    571: # Find a good install program.  We prefer a C program (faster),
                    572: # so one script is as good as another.  But avoid the broken or
                    573: # incompatible versions:
                    574: # SysV /etc/install, /usr/sbin/install
                    575: # SunOS /usr/etc/install
                    576: # IRIX /sbin/install
                    577: # AIX /bin/install
                    578: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                    579: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                    580: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                    581: # ./install, which can be erroneously created by make from ./install.sh.
                    582: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1.7     ! paf       583: echo "configure:584: checking for a BSD compatible install" >&5
1.1       paf       584: if test -z "$INSTALL"; then
                    585: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                    586:   echo $ac_n "(cached) $ac_c" 1>&6
                    587: else
                    588:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                    589:   for ac_dir in $PATH; do
                    590:     # Account for people who put trailing slashes in PATH elements.
                    591:     case "$ac_dir/" in
                    592:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                    593:     *)
                    594:       # OSF1 and SCO ODT 3.0 have their own names for install.
                    595:       # Don't use installbsd from OSF since it installs stuff as root
                    596:       # by default.
                    597:       for ac_prog in ginstall scoinst install; do
                    598:         if test -f $ac_dir/$ac_prog; then
                    599:          if test $ac_prog = install &&
                    600:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                    601:            # AIX install.  It has an incompatible calling convention.
                    602:            :
                    603:          else
                    604:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                    605:            break 2
                    606:          fi
                    607:        fi
                    608:       done
                    609:       ;;
                    610:     esac
                    611:   done
                    612:   IFS="$ac_save_IFS"
                    613: 
                    614: fi
                    615:   if test "${ac_cv_path_install+set}" = set; then
                    616:     INSTALL="$ac_cv_path_install"
                    617:   else
                    618:     # As a last resort, use the slow shell script.  We don't cache a
                    619:     # path for INSTALL within a source directory, because that will
                    620:     # break other packages using the cache if that directory is
                    621:     # removed, or if the path is relative.
                    622:     INSTALL="$ac_install_sh"
                    623:   fi
                    624: fi
                    625: echo "$ac_t""$INSTALL" 1>&6
                    626: 
                    627: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                    628: # It thinks the first close brace ends the variable substitution.
                    629: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                    630: 
                    631: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                    632: 
                    633: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                    634: 
                    635: echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1.7     ! paf       636: echo "configure:637: checking whether build environment is sane" >&5
1.1       paf       637: # Just in case
                    638: sleep 1
                    639: echo timestamp > conftestfile
                    640: # Do `set' in a subshell so we don't clobber the current shell's
                    641: # arguments.  Must try -L first in case configure is actually a
                    642: # symlink; some systems play weird games with the mod time of symlinks
                    643: # (eg FreeBSD returns the mod time of the symlink's containing
                    644: # directory).
                    645: if (
                    646:    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
                    647:    if test "$*" = "X"; then
                    648:       # -L didn't work.
                    649:       set X `ls -t $srcdir/configure conftestfile`
                    650:    fi
                    651:    if test "$*" != "X $srcdir/configure conftestfile" \
                    652:       && test "$*" != "X conftestfile $srcdir/configure"; then
                    653: 
                    654:       # If neither matched, then we have a broken ls.  This can happen
                    655:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                    656:       # broken ls alias from the environment.  This has actually
                    657:       # happened.  Such a system could not be considered "sane".
                    658:       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
                    659: alias in your environment" 1>&2; exit 1; }
                    660:    fi
                    661: 
                    662:    test "$2" = conftestfile
                    663:    )
                    664: then
                    665:    # Ok.
                    666:    :
                    667: else
                    668:    { echo "configure: error: newly created file is older than distributed files!
                    669: Check your system clock" 1>&2; exit 1; }
                    670: fi
                    671: rm -f conftest*
                    672: echo "$ac_t""yes" 1>&6
                    673: if test "$program_transform_name" = s,x,x,; then
                    674:   program_transform_name=
                    675: else
                    676:   # Double any \ or $.  echo might interpret backslashes.
                    677:   cat <<\EOF_SED > conftestsed
                    678: s,\\,\\\\,g; s,\$,$$,g
                    679: EOF_SED
                    680:   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
                    681:   rm -f conftestsed
                    682: fi
                    683: test "$program_prefix" != NONE &&
                    684:   program_transform_name="s,^,${program_prefix},; $program_transform_name"
                    685: # Use a double $ so make ignores it.
                    686: test "$program_suffix" != NONE &&
                    687:   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
                    688: 
                    689: # sed with no file args requires a program.
                    690: test "$program_transform_name" = "" && program_transform_name="s,x,x,"
                    691: 
                    692: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1.7     ! paf       693: echo "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
1.1       paf       694: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
                    695: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
                    696:   echo $ac_n "(cached) $ac_c" 1>&6
                    697: else
                    698:   cat > conftestmake <<\EOF
                    699: all:
                    700:        @echo 'ac_maketemp="${MAKE}"'
                    701: EOF
                    702: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                    703: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
                    704: if test -n "$ac_maketemp"; then
                    705:   eval ac_cv_prog_make_${ac_make}_set=yes
                    706: else
                    707:   eval ac_cv_prog_make_${ac_make}_set=no
                    708: fi
                    709: rm -f conftestmake
                    710: fi
                    711: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                    712:   echo "$ac_t""yes" 1>&6
                    713:   SET_MAKE=
                    714: else
                    715:   echo "$ac_t""no" 1>&6
                    716:   SET_MAKE="MAKE=${MAKE-make}"
                    717: fi
                    718: 
                    719: 
                    720: PACKAGE=parser
                    721: 
                    722: VERSION=3.0b
                    723: 
                    724: if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
                    725:   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
                    726: fi
                    727: 
                    728: 
                    729: 
                    730: missing_dir=`cd $ac_aux_dir && pwd`
                    731: echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1.7     ! paf       732: echo "configure:733: checking for working aclocal" >&5
1.1       paf       733: # Run test in a subshell; some versions of sh will print an error if
                    734: # an executable is not found, even if stderr is redirected.
                    735: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    736: if (aclocal --version) < /dev/null > /dev/null 2>&1; then
                    737:    ACLOCAL=aclocal
                    738:    echo "$ac_t""found" 1>&6
                    739: else
                    740:    ACLOCAL="$missing_dir/missing aclocal"
                    741:    echo "$ac_t""missing" 1>&6
                    742: fi
                    743: 
                    744: echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1.7     ! paf       745: echo "configure:746: checking for working autoconf" >&5
1.1       paf       746: # Run test in a subshell; some versions of sh will print an error if
                    747: # an executable is not found, even if stderr is redirected.
                    748: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    749: if (autoconf --version) < /dev/null > /dev/null 2>&1; then
                    750:    AUTOCONF=autoconf
                    751:    echo "$ac_t""found" 1>&6
                    752: else
                    753:    AUTOCONF="$missing_dir/missing autoconf"
                    754:    echo "$ac_t""missing" 1>&6
                    755: fi
                    756: 
                    757: echo $ac_n "checking for working automake""... $ac_c" 1>&6
1.7     ! paf       758: echo "configure:759: checking for working automake" >&5
1.1       paf       759: # Run test in a subshell; some versions of sh will print an error if
                    760: # an executable is not found, even if stderr is redirected.
                    761: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    762: if (automake --version) < /dev/null > /dev/null 2>&1; then
                    763:    AUTOMAKE=automake
                    764:    echo "$ac_t""found" 1>&6
                    765: else
                    766:    AUTOMAKE="$missing_dir/missing automake"
                    767:    echo "$ac_t""missing" 1>&6
                    768: fi
                    769: 
                    770: echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1.7     ! paf       771: echo "configure:772: checking for working autoheader" >&5
1.1       paf       772: # Run test in a subshell; some versions of sh will print an error if
                    773: # an executable is not found, even if stderr is redirected.
                    774: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    775: if (autoheader --version) < /dev/null > /dev/null 2>&1; then
                    776:    AUTOHEADER=autoheader
                    777:    echo "$ac_t""found" 1>&6
                    778: else
                    779:    AUTOHEADER="$missing_dir/missing autoheader"
                    780:    echo "$ac_t""missing" 1>&6
                    781: fi
                    782: 
                    783: echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1.7     ! paf       784: echo "configure:785: checking for working makeinfo" >&5
1.1       paf       785: # Run test in a subshell; some versions of sh will print an error if
                    786: # an executable is not found, even if stderr is redirected.
                    787: # Redirect stdin to placate older versions of autoconf.  Sigh.
                    788: if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
                    789:    MAKEINFO=makeinfo
                    790:    echo "$ac_t""found" 1>&6
                    791: else
                    792:    MAKEINFO="$missing_dir/missing makeinfo"
                    793:    echo "$ac_t""missing" 1>&6
                    794: fi
                    795: 
                    796: 
                    797: 
1.6       paf       798: P3S=`cd $srcdir ; pwd`
1.1       paf       799: 
                    800: 
                    801: PARSER_VERSION=$VERSION
1.6       paf       802: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
                    803: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
                    804: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
                    805: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
1.1       paf       806: if test $? -ne 0 ; then
1.6       paf       807:     rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
                    808:     echo Updated $srcdir/src/include/pa_version.h
1.1       paf       809: else
1.6       paf       810:        rm -f $srcdir/src/include/pa_version.h.new
1.1       paf       811: fi
                    812: 
                    813: # Find a good install program.  We prefer a C program (faster),
                    814: # so one script is as good as another.  But avoid the broken or
                    815: # incompatible versions:
                    816: # SysV /etc/install, /usr/sbin/install
                    817: # SunOS /usr/etc/install
                    818: # IRIX /sbin/install
                    819: # AIX /bin/install
                    820: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                    821: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                    822: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                    823: # ./install, which can be erroneously created by make from ./install.sh.
                    824: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1.7     ! paf       825: echo "configure:826: checking for a BSD compatible install" >&5
1.1       paf       826: if test -z "$INSTALL"; then
                    827: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                    828:   echo $ac_n "(cached) $ac_c" 1>&6
                    829: else
                    830:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                    831:   for ac_dir in $PATH; do
                    832:     # Account for people who put trailing slashes in PATH elements.
                    833:     case "$ac_dir/" in
                    834:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                    835:     *)
                    836:       # OSF1 and SCO ODT 3.0 have their own names for install.
                    837:       # Don't use installbsd from OSF since it installs stuff as root
                    838:       # by default.
                    839:       for ac_prog in ginstall scoinst install; do
                    840:         if test -f $ac_dir/$ac_prog; then
                    841:          if test $ac_prog = install &&
                    842:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                    843:            # AIX install.  It has an incompatible calling convention.
                    844:            :
                    845:          else
                    846:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                    847:            break 2
                    848:          fi
                    849:        fi
                    850:       done
                    851:       ;;
                    852:     esac
                    853:   done
                    854:   IFS="$ac_save_IFS"
                    855: 
                    856: fi
                    857:   if test "${ac_cv_path_install+set}" = set; then
                    858:     INSTALL="$ac_cv_path_install"
                    859:   else
                    860:     # As a last resort, use the slow shell script.  We don't cache a
                    861:     # path for INSTALL within a source directory, because that will
                    862:     # break other packages using the cache if that directory is
                    863:     # removed, or if the path is relative.
                    864:     INSTALL="$ac_install_sh"
                    865:   fi
                    866: fi
                    867: echo "$ac_t""$INSTALL" 1>&6
                    868: 
                    869: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                    870: # It thinks the first close brace ends the variable substitution.
                    871: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                    872: 
                    873: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                    874: 
                    875: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                    876: 
                    877: # Extract the first word of "gcc", so it can be a program name with args.
                    878: set dummy gcc; ac_word=$2
                    879: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf       880: echo "configure:881: checking for $ac_word" >&5
1.1       paf       881: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                    882:   echo $ac_n "(cached) $ac_c" 1>&6
                    883: else
                    884:   if test -n "$CC"; then
                    885:   ac_cv_prog_CC="$CC" # Let the user override the test.
                    886: else
                    887:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                    888:   ac_dummy="$PATH"
                    889:   for ac_dir in $ac_dummy; do
                    890:     test -z "$ac_dir" && ac_dir=.
                    891:     if test -f $ac_dir/$ac_word; then
                    892:       ac_cv_prog_CC="gcc"
                    893:       break
                    894:     fi
                    895:   done
                    896:   IFS="$ac_save_ifs"
                    897: fi
                    898: fi
                    899: CC="$ac_cv_prog_CC"
                    900: if test -n "$CC"; then
                    901:   echo "$ac_t""$CC" 1>&6
                    902: else
                    903:   echo "$ac_t""no" 1>&6
                    904: fi
                    905: 
                    906: if test -z "$CC"; then
                    907:   # Extract the first word of "cc", so it can be a program name with args.
                    908: set dummy cc; ac_word=$2
                    909: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf       910: echo "configure:911: checking for $ac_word" >&5
1.1       paf       911: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                    912:   echo $ac_n "(cached) $ac_c" 1>&6
                    913: else
                    914:   if test -n "$CC"; then
                    915:   ac_cv_prog_CC="$CC" # Let the user override the test.
                    916: else
                    917:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                    918:   ac_prog_rejected=no
                    919:   ac_dummy="$PATH"
                    920:   for ac_dir in $ac_dummy; do
                    921:     test -z "$ac_dir" && ac_dir=.
                    922:     if test -f $ac_dir/$ac_word; then
                    923:       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
                    924:         ac_prog_rejected=yes
                    925:        continue
                    926:       fi
                    927:       ac_cv_prog_CC="cc"
                    928:       break
                    929:     fi
                    930:   done
                    931:   IFS="$ac_save_ifs"
                    932: if test $ac_prog_rejected = yes; then
                    933:   # We found a bogon in the path, so make sure we never use it.
                    934:   set dummy $ac_cv_prog_CC
                    935:   shift
                    936:   if test $# -gt 0; then
                    937:     # We chose a different compiler from the bogus one.
                    938:     # However, it has the same basename, so the bogon will be chosen
                    939:     # first if we set CC to just the basename; use the full file name.
                    940:     shift
                    941:     set dummy "$ac_dir/$ac_word" "$@"
                    942:     shift
                    943:     ac_cv_prog_CC="$@"
                    944:   fi
                    945: fi
                    946: fi
                    947: fi
                    948: CC="$ac_cv_prog_CC"
                    949: if test -n "$CC"; then
                    950:   echo "$ac_t""$CC" 1>&6
                    951: else
                    952:   echo "$ac_t""no" 1>&6
                    953: fi
                    954: 
                    955:   if test -z "$CC"; then
                    956:     case "`uname -s`" in
                    957:     *win32* | *WIN32*)
                    958:       # Extract the first word of "cl", so it can be a program name with args.
                    959: set dummy cl; ac_word=$2
                    960: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf       961: echo "configure:962: checking for $ac_word" >&5
1.1       paf       962: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                    963:   echo $ac_n "(cached) $ac_c" 1>&6
                    964: else
                    965:   if test -n "$CC"; then
                    966:   ac_cv_prog_CC="$CC" # Let the user override the test.
                    967: else
                    968:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                    969:   ac_dummy="$PATH"
                    970:   for ac_dir in $ac_dummy; do
                    971:     test -z "$ac_dir" && ac_dir=.
                    972:     if test -f $ac_dir/$ac_word; then
                    973:       ac_cv_prog_CC="cl"
                    974:       break
                    975:     fi
                    976:   done
                    977:   IFS="$ac_save_ifs"
                    978: fi
                    979: fi
                    980: CC="$ac_cv_prog_CC"
                    981: if test -n "$CC"; then
                    982:   echo "$ac_t""$CC" 1>&6
                    983: else
                    984:   echo "$ac_t""no" 1>&6
                    985: fi
                    986:  ;;
                    987:     esac
                    988:   fi
                    989:   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
                    990: fi
                    991: 
                    992: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1.7     ! paf       993: echo "configure:994: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1.1       paf       994: 
                    995: ac_ext=c
                    996: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                    997: ac_cpp='$CPP $CPPFLAGS'
                    998: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                    999: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1000: cross_compiling=$ac_cv_prog_cc_cross
                   1001: 
                   1002: cat > conftest.$ac_ext << EOF
                   1003: 
1.7     ! paf      1004: #line 1005 "configure"
1.1       paf      1005: #include "confdefs.h"
                   1006: 
                   1007: main(){return(0);}
                   1008: EOF
1.7     ! paf      1009: if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      1010:   ac_cv_prog_cc_works=yes
                   1011:   # If we can't run a trivial program, we are probably using a cross compiler.
                   1012:   if (./conftest; exit) 2>/dev/null; then
                   1013:     ac_cv_prog_cc_cross=no
                   1014:   else
                   1015:     ac_cv_prog_cc_cross=yes
                   1016:   fi
                   1017: else
                   1018:   echo "configure: failed program was:" >&5
                   1019:   cat conftest.$ac_ext >&5
                   1020:   ac_cv_prog_cc_works=no
                   1021: fi
                   1022: rm -fr conftest*
                   1023: ac_ext=c
                   1024: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1025: ac_cpp='$CPP $CPPFLAGS'
                   1026: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1027: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1028: cross_compiling=$ac_cv_prog_cc_cross
                   1029: 
                   1030: echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
                   1031: if test $ac_cv_prog_cc_works = no; then
                   1032:   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
                   1033: fi
                   1034: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1.7     ! paf      1035: echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1.1       paf      1036: echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
                   1037: cross_compiling=$ac_cv_prog_cc_cross
                   1038: 
                   1039: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1.7     ! paf      1040: echo "configure:1041: checking whether we are using GNU C" >&5
1.1       paf      1041: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
                   1042:   echo $ac_n "(cached) $ac_c" 1>&6
                   1043: else
                   1044:   cat > conftest.c <<EOF
                   1045: #ifdef __GNUC__
                   1046:   yes;
                   1047: #endif
                   1048: EOF
1.7     ! paf      1049: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1.1       paf      1050:   ac_cv_prog_gcc=yes
                   1051: else
                   1052:   ac_cv_prog_gcc=no
                   1053: fi
                   1054: fi
                   1055: 
                   1056: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
                   1057: 
                   1058: if test $ac_cv_prog_gcc = yes; then
                   1059:   GCC=yes
                   1060: else
                   1061:   GCC=
                   1062: fi
                   1063: 
                   1064: ac_test_CFLAGS="${CFLAGS+set}"
                   1065: ac_save_CFLAGS="$CFLAGS"
                   1066: CFLAGS=
                   1067: echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1.7     ! paf      1068: echo "configure:1069: checking whether ${CC-cc} accepts -g" >&5
1.1       paf      1069: if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
                   1070:   echo $ac_n "(cached) $ac_c" 1>&6
                   1071: else
                   1072:   echo 'void f(){}' > conftest.c
                   1073: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
                   1074:   ac_cv_prog_cc_g=yes
                   1075: else
                   1076:   ac_cv_prog_cc_g=no
                   1077: fi
                   1078: rm -f conftest*
                   1079: 
                   1080: fi
                   1081: 
                   1082: echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
                   1083: if test "$ac_test_CFLAGS" = set; then
                   1084:   CFLAGS="$ac_save_CFLAGS"
                   1085: elif test $ac_cv_prog_cc_g = yes; then
                   1086:   if test "$GCC" = yes; then
                   1087:     CFLAGS="-g -O2"
                   1088:   else
                   1089:     CFLAGS="-g"
                   1090:   fi
                   1091: else
                   1092:   if test "$GCC" = yes; then
                   1093:     CFLAGS="-O2"
                   1094:   else
                   1095:     CFLAGS=
                   1096:   fi
                   1097: fi
                   1098: 
                   1099: ac_ext=c
                   1100: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1101: ac_cpp='$CPP $CPPFLAGS'
                   1102: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1103: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1104: cross_compiling=$ac_cv_prog_cc_cross
                   1105:  echo $ac_n "checking for inline""... $ac_c" 1>&6
1.7     ! paf      1106: echo "configure:1107: checking for inline" >&5
1.1       paf      1107: if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
                   1108:   echo $ac_n "(cached) $ac_c" 1>&6
                   1109: else
                   1110:   ac_cv_c_inline=no
                   1111: for ac_kw in inline __inline__ __inline; do
                   1112:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      1113: #line 1114 "configure"
1.1       paf      1114: #include "confdefs.h"
                   1115: 
                   1116: int main() {
                   1117: } $ac_kw foo() {
                   1118: ; return 0; }
                   1119: EOF
1.7     ! paf      1120: if { (eval echo configure:1121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       paf      1121:   rm -rf conftest*
                   1122:   ac_cv_c_inline=$ac_kw; break
                   1123: else
                   1124:   echo "configure: failed program was:" >&5
                   1125:   cat conftest.$ac_ext >&5
                   1126: fi
                   1127: rm -f conftest*
                   1128: done
                   1129: 
                   1130: fi
                   1131: 
                   1132: echo "$ac_t""$ac_cv_c_inline" 1>&6
                   1133: case "$ac_cv_c_inline" in
                   1134:   inline | yes) ;;
                   1135:   no) cat >> confdefs.h <<\EOF
                   1136: #define inline 
                   1137: EOF
                   1138:  ;;
                   1139:   *)  cat >> confdefs.h <<EOF
                   1140: #define inline $ac_cv_c_inline
                   1141: EOF
                   1142:  ;;
                   1143: esac
                   1144: 
                   1145: for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
                   1146: do
                   1147: # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1148: set dummy $ac_prog; ac_word=$2
                   1149: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf      1150: echo "configure:1151: checking for $ac_word" >&5
1.1       paf      1151: if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
                   1152:   echo $ac_n "(cached) $ac_c" 1>&6
                   1153: else
                   1154:   if test -n "$CXX"; then
                   1155:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   1156: else
                   1157:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1158:   ac_dummy="$PATH"
                   1159:   for ac_dir in $ac_dummy; do
                   1160:     test -z "$ac_dir" && ac_dir=.
                   1161:     if test -f $ac_dir/$ac_word; then
                   1162:       ac_cv_prog_CXX="$ac_prog"
                   1163:       break
                   1164:     fi
                   1165:   done
                   1166:   IFS="$ac_save_ifs"
                   1167: fi
                   1168: fi
                   1169: CXX="$ac_cv_prog_CXX"
                   1170: if test -n "$CXX"; then
                   1171:   echo "$ac_t""$CXX" 1>&6
                   1172: else
                   1173:   echo "$ac_t""no" 1>&6
                   1174: fi
                   1175: 
                   1176: test -n "$CXX" && break
                   1177: done
                   1178: test -n "$CXX" || CXX="gcc"
                   1179: 
                   1180: 
                   1181: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1.7     ! paf      1182: echo "configure:1183: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1.1       paf      1183: 
                   1184: ac_ext=C
                   1185: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1186: ac_cpp='$CXXCPP $CPPFLAGS'
                   1187: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1188: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1189: cross_compiling=$ac_cv_prog_cxx_cross
                   1190: 
                   1191: cat > conftest.$ac_ext << EOF
                   1192: 
1.7     ! paf      1193: #line 1194 "configure"
1.1       paf      1194: #include "confdefs.h"
                   1195: 
                   1196: int main(){return(0);}
                   1197: EOF
1.7     ! paf      1198: if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      1199:   ac_cv_prog_cxx_works=yes
                   1200:   # If we can't run a trivial program, we are probably using a cross compiler.
                   1201:   if (./conftest; exit) 2>/dev/null; then
                   1202:     ac_cv_prog_cxx_cross=no
                   1203:   else
                   1204:     ac_cv_prog_cxx_cross=yes
                   1205:   fi
                   1206: else
                   1207:   echo "configure: failed program was:" >&5
                   1208:   cat conftest.$ac_ext >&5
                   1209:   ac_cv_prog_cxx_works=no
                   1210: fi
                   1211: rm -fr conftest*
                   1212: ac_ext=c
                   1213: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1214: ac_cpp='$CPP $CPPFLAGS'
                   1215: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1216: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1217: cross_compiling=$ac_cv_prog_cc_cross
                   1218: 
                   1219: echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
                   1220: if test $ac_cv_prog_cxx_works = no; then
                   1221:   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
                   1222: fi
                   1223: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1.7     ! paf      1224: echo "configure:1225: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1.1       paf      1225: echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
                   1226: cross_compiling=$ac_cv_prog_cxx_cross
                   1227: 
                   1228: echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1.7     ! paf      1229: echo "configure:1230: checking whether we are using GNU C++" >&5
1.1       paf      1230: if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
                   1231:   echo $ac_n "(cached) $ac_c" 1>&6
                   1232: else
                   1233:   cat > conftest.C <<EOF
                   1234: #ifdef __GNUC__
                   1235:   yes;
                   1236: #endif
                   1237: EOF
1.7     ! paf      1238: if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1.1       paf      1239:   ac_cv_prog_gxx=yes
                   1240: else
                   1241:   ac_cv_prog_gxx=no
                   1242: fi
                   1243: fi
                   1244: 
                   1245: echo "$ac_t""$ac_cv_prog_gxx" 1>&6
                   1246: 
                   1247: if test $ac_cv_prog_gxx = yes; then
                   1248:   GXX=yes
                   1249: else
                   1250:   GXX=
                   1251: fi
                   1252: 
                   1253: ac_test_CXXFLAGS="${CXXFLAGS+set}"
                   1254: ac_save_CXXFLAGS="$CXXFLAGS"
                   1255: CXXFLAGS=
                   1256: echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1.7     ! paf      1257: echo "configure:1258: checking whether ${CXX-g++} accepts -g" >&5
1.1       paf      1258: if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
                   1259:   echo $ac_n "(cached) $ac_c" 1>&6
                   1260: else
                   1261:   echo 'void f(){}' > conftest.cc
                   1262: if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
                   1263:   ac_cv_prog_cxx_g=yes
                   1264: else
                   1265:   ac_cv_prog_cxx_g=no
                   1266: fi
                   1267: rm -f conftest*
                   1268: 
                   1269: fi
                   1270: 
                   1271: echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
                   1272: if test "$ac_test_CXXFLAGS" = set; then
                   1273:   CXXFLAGS="$ac_save_CXXFLAGS"
                   1274: elif test $ac_cv_prog_cxx_g = yes; then
                   1275:   if test "$GXX" = yes; then
                   1276:     CXXFLAGS="-g -O2"
                   1277:   else
                   1278:     CXXFLAGS="-g"
                   1279:   fi
                   1280: else
                   1281:   if test "$GXX" = yes; then
                   1282:     CXXFLAGS="-O2"
                   1283:   else
                   1284:     CXXFLAGS=
                   1285:   fi
                   1286: fi
                   1287: 
                   1288: ac_ext=C
                   1289: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1290: ac_cpp='$CXXCPP $CPPFLAGS'
                   1291: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1292: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1293: cross_compiling=$ac_cv_prog_cxx_cross
                   1294: 
                   1295: 
                   1296: 
                   1297: 
                   1298: # Check whether --enable-string-origins or --disable-string-origins was given.
                   1299: if test "${enable_string_origins+set}" = set; then
                   1300:   enableval="$enable_string_origins"
                   1301:   
                   1302: if test "$enableval" = "no"; then
                   1303:        cat >> confdefs.h <<\EOF
                   1304: #define NO_STRING_ORIGIN 
                   1305: EOF
                   1306: 
                   1307: fi
                   1308: 
                   1309: 
                   1310: fi
                   1311: 
                   1312: 
                   1313: # Check whether --with-apache13 or --without-apache13 was given.
                   1314: if test "${with_apache13+set}" = set; then
                   1315:   withval="$with_apache13"
                   1316:   APACHE13=$withval
                   1317:     if test \! -f "$APACHE13/src/include/httpd.h"; then
                   1318:        { echo "configure: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" 1>&2; exit 1; }
                   1319:     fi
                   1320: 
                   1321: fi
                   1322: 
                   1323: 
                   1324: 
                   1325: 
                   1326: if test -n "$APACHE13"; then
                   1327:   COMPILE_APACHE13_MODULE_TRUE=
                   1328:   COMPILE_APACHE13_MODULE_FALSE='#'
                   1329: else
                   1330:   COMPILE_APACHE13_MODULE_TRUE='#'
                   1331:   COMPILE_APACHE13_MODULE_FALSE=
                   1332: fi
                   1333: 
                   1334: 
                   1335: # Check whether --with-pathlink or --without-pathlink was given.
                   1336: if test "${with_pathlink+set}" = set; then
                   1337:   withval="$with_pathlink"
                   1338:   LD_PATHLINK=$withval
                   1339: 
                   1340: fi
                   1341: 
                   1342: 
1.7     ! paf      1343: # Check whether --with-glib-config or --without-glib-config was given.
        !          1344: if test "${with_glib_config+set}" = set; then
        !          1345:   withval="$with_glib_config"
        !          1346:   GLIB_CONFIG=$withval
        !          1347: 
        !          1348: fi
        !          1349: 
        !          1350: 
1.1       paf      1351: # Check whether --with-gnome-xml or --without-gnome-xml was given.
                   1352: if test "${with_gnome_xml+set}" = set; then
                   1353:   withval="$with_gnome_xml"
                   1354:   
                   1355:     GNOME_XML=$withval
                   1356:     XMLBIN_DIR="$GNOME_XML/bin"
                   1357:     XMLINC_DIR="$GNOME_XML/include"
                   1358:     XMLLIB_DIR="$GNOME_XML/lib"
                   1359: 
                   1360:     if test \! -d $XMLBIN_DIR -o \! -d $XMLINC_DIR -o \! -d $XMLLIB_DIR; then
                   1361:        { echo "configure: error: $GNOME_XML does not seem to be valid Gnome installation directory" 1>&2; exit 1; }
                   1362:     fi
                   1363: 
                   1364:     cat >> confdefs.h <<\EOF
                   1365: #define XML 
                   1366: EOF
                   1367: 
                   1368:     
                   1369:     LIBXML2_SO_NAME=`cd $XMLLIB_DIR ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   1370:     if test -z "$LIBXML2_SO_NAME"; then
                   1371:        { echo "configure: error: $LIBXML_DIR does not containt XML2 dynamic library" 1>&2; exit 1; }
                   1372:     fi
                   1373:     LIBGDOME_SO_NAME=`cd $XMLLIB_DIR ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   1374:     if test -z "$LIBGDOME_SO_NAME"; then
                   1375:        { echo "configure: error: $LIBXML_DIR does not containt GDOME dynamic library" 1>&2; exit 1; }
                   1376:     fi
                   1377:     LIBXSLT_SO_NAME=`cd $XMLLIB_DIR ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   1378:     if test -z "$LIBXSLT_SO_NAME"; then
                   1379:        { echo "configure: error: $LIBXML_DIR does not containt XSLT dynamic library" 1>&2; exit 1; }
                   1380:     fi
                   1381:     LIBEXSLT_SO_NAME=`cd $XMLLIB_DIR ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   1382:     if test -z "$LIBEXSLT_SO_NAME"; then
                   1383:        { echo "configure: error: $LIBXML_DIR does not containt EXSLT dynamic library" 1>&2; exit 1; }
                   1384:     fi
1.7     ! paf      1385: 
        !          1386:     if test -z "$GLIB_CONFIG"; then
        !          1387:            GLIB_CONFIG=$XMLBIN_DIR/glib-config
        !          1388:            if test \! -x $GLIB_CONFIG; then
        !          1389:                GLIB_CONFIG=glib-config
        !          1390:            fi
1.1       paf      1391:     fi
                   1392:     GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   1393:     GLIB_LIBS=`$GLIB_CONFIG --libs`
                   1394: 
                   1395:     XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC_DIR -I$XMLINC_DIR/libgdome -I$XMLINC_DIR/libxml2"
1.7     ! paf      1396:     XML_LIBS="$GLIB_LIBS -L$XMLLIB_DIR -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
1.1       paf      1397:     if test \! -z "$LD_PATHLINK"; then
                   1398:        XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB_DIR"
                   1399:     fi
                   1400: 
                   1401: fi
                   1402: 
                   1403: 
                   1404: 
                   1405: 
                   1406: # Check whether --with-db2 or --without-db2 was given.
                   1407: if test "${with_db2+set}" = set; then
                   1408:   withval="$with_db2"
                   1409:   DB2_INST=$withval
                   1410:     if test \! -f "$DB2_INST/include/db.h"; then
                   1411:        { echo "configure: error: $DB2_INST does not seem to be valid DB2 installation directory" 1>&2; exit 1; }
                   1412:     fi
                   1413:     if test \! -f "$DB2_INST/lib/libdb.a"; then
                   1414:        { echo "configure: error: $DB2_INST does not seem to be valid DB2 installation directory" 1>&2; exit 1; }
                   1415:     fi
                   1416: 
                   1417:     echo $ac_n "checking version of LIBDB""... $ac_c" 1>&6
1.7     ! paf      1418: echo "configure:1419: checking version of LIBDB" >&5
1.1       paf      1419:     cat > conftest.$ac_ext <<EOF
1.7     ! paf      1420: #line 1421 "configure"
1.1       paf      1421: #include "confdefs.h"
                   1422: #include <$DB2_INST/include/db.h>
                   1423:     
                   1424: int main() {
                   1425: #ifdef DB_VERSION_MAJOR
                   1426:     #  if DB_VERSION_MAJOR!=2
                   1427:     #          error Parser needs LIBDB of 2.x.x version to compile
                   1428:     #  endif
                   1429:     #else
                   1430:     #  error DB_VERSION_MAJOR not defined
                   1431:     #endif
                   1432:     
                   1433: ; return 0; }
                   1434: EOF
1.7     ! paf      1435: if { (eval echo configure:1436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       paf      1436:   rm -rf conftest*
                   1437:   
                   1438:         echo "$ac_t""ok" 1>&6
                   1439:        DB2=1
                   1440:        cat >> confdefs.h <<\EOF
                   1441: #define DB2 
                   1442: EOF
                   1443: 
                   1444:         DB2_INCLUDES="-I$DB2_INST/include"
                   1445:         DB2_LIBS="-L$DB2_INST/lib -ldb"
                   1446:     
                   1447: else
                   1448:   echo "configure: failed program was:" >&5
                   1449:   cat conftest.$ac_ext >&5
                   1450:   rm -rf conftest*
                   1451:   { echo "configure: error: bad" 1>&2; exit 1; }
                   1452:     
                   1453: fi
                   1454: rm -f conftest* 
                   1455: 
                   1456: fi
                   1457: 
                   1458: 
                   1459: 
                   1460: 
                   1461: 
                   1462: # Make sure we can run config.sub.
                   1463: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
                   1464: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
                   1465: fi
                   1466: 
                   1467: echo $ac_n "checking host system type""... $ac_c" 1>&6
1.7     ! paf      1468: echo "configure:1469: checking host system type" >&5
1.1       paf      1469: 
                   1470: host_alias=$host
                   1471: case "$host_alias" in
                   1472: NONE)
                   1473:   case $nonopt in
                   1474:   NONE)
                   1475:     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
                   1476:     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
                   1477:     fi ;;
                   1478:   *) host_alias=$nonopt ;;
                   1479:   esac ;;
                   1480: esac
                   1481: 
                   1482: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
                   1483: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1484: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1485: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1486: echo "$ac_t""$host" 1>&6
                   1487: 
                   1488: 
                   1489: 
                   1490: # Find a good install program.  We prefer a C program (faster),
                   1491: # so one script is as good as another.  But avoid the broken or
                   1492: # incompatible versions:
                   1493: # SysV /etc/install, /usr/sbin/install
                   1494: # SunOS /usr/etc/install
                   1495: # IRIX /sbin/install
                   1496: # AIX /bin/install
                   1497: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1498: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1499: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1500: # ./install, which can be erroneously created by make from ./install.sh.
                   1501: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1.7     ! paf      1502: echo "configure:1503: checking for a BSD compatible install" >&5
1.1       paf      1503: if test -z "$INSTALL"; then
                   1504: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                   1505:   echo $ac_n "(cached) $ac_c" 1>&6
                   1506: else
                   1507:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                   1508:   for ac_dir in $PATH; do
                   1509:     # Account for people who put trailing slashes in PATH elements.
                   1510:     case "$ac_dir/" in
                   1511:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                   1512:     *)
                   1513:       # OSF1 and SCO ODT 3.0 have their own names for install.
                   1514:       # Don't use installbsd from OSF since it installs stuff as root
                   1515:       # by default.
                   1516:       for ac_prog in ginstall scoinst install; do
                   1517:         if test -f $ac_dir/$ac_prog; then
                   1518:          if test $ac_prog = install &&
                   1519:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                   1520:            # AIX install.  It has an incompatible calling convention.
                   1521:            :
                   1522:          else
                   1523:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                   1524:            break 2
                   1525:          fi
                   1526:        fi
                   1527:       done
                   1528:       ;;
                   1529:     esac
                   1530:   done
                   1531:   IFS="$ac_save_IFS"
                   1532: 
                   1533: fi
                   1534:   if test "${ac_cv_path_install+set}" = set; then
                   1535:     INSTALL="$ac_cv_path_install"
                   1536:   else
                   1537:     # As a last resort, use the slow shell script.  We don't cache a
                   1538:     # path for INSTALL within a source directory, because that will
                   1539:     # break other packages using the cache if that directory is
                   1540:     # removed, or if the path is relative.
                   1541:     INSTALL="$ac_install_sh"
                   1542:   fi
                   1543: fi
                   1544: echo "$ac_t""$INSTALL" 1>&6
                   1545: 
                   1546: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1547: # It thinks the first close brace ends the variable substitution.
                   1548: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1549: 
                   1550: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                   1551: 
                   1552: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1553: 
                   1554: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1.7     ! paf      1555: echo "configure:1556: checking whether ${MAKE-make} sets \${MAKE}" >&5
1.1       paf      1556: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
                   1557: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
                   1558:   echo $ac_n "(cached) $ac_c" 1>&6
                   1559: else
                   1560:   cat > conftestmake <<\EOF
                   1561: all:
                   1562:        @echo 'ac_maketemp="${MAKE}"'
                   1563: EOF
                   1564: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                   1565: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
                   1566: if test -n "$ac_maketemp"; then
                   1567:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1568: else
                   1569:   eval ac_cv_prog_make_${ac_make}_set=no
                   1570: fi
                   1571: rm -f conftestmake
                   1572: fi
                   1573: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                   1574:   echo "$ac_t""yes" 1>&6
                   1575:   SET_MAKE=
                   1576: else
                   1577:   echo "$ac_t""no" 1>&6
                   1578:   SET_MAKE="MAKE=${MAKE-make}"
                   1579: fi
                   1580: 
                   1581: # Extract the first word of "ranlib", so it can be a program name with args.
                   1582: set dummy ranlib; ac_word=$2
                   1583: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf      1584: echo "configure:1585: checking for $ac_word" >&5
1.1       paf      1585: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
                   1586:   echo $ac_n "(cached) $ac_c" 1>&6
                   1587: else
                   1588:   if test -n "$RANLIB"; then
                   1589:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1590: else
                   1591:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1592:   ac_dummy="$PATH"
                   1593:   for ac_dir in $ac_dummy; do
                   1594:     test -z "$ac_dir" && ac_dir=.
                   1595:     if test -f $ac_dir/$ac_word; then
                   1596:       ac_cv_prog_RANLIB="ranlib"
                   1597:       break
                   1598:     fi
                   1599:   done
                   1600:   IFS="$ac_save_ifs"
                   1601:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
                   1602: fi
                   1603: fi
                   1604: RANLIB="$ac_cv_prog_RANLIB"
                   1605: if test -n "$RANLIB"; then
                   1606:   echo "$ac_t""$RANLIB" 1>&6
                   1607: else
                   1608:   echo "$ac_t""no" 1>&6
                   1609: fi
                   1610: 
                   1611: for ac_prog in mawk gawk nawk awk
                   1612: do
                   1613: # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1614: set dummy $ac_prog; ac_word=$2
                   1615: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf      1616: echo "configure:1617: checking for $ac_word" >&5
1.1       paf      1617: if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
                   1618:   echo $ac_n "(cached) $ac_c" 1>&6
                   1619: else
                   1620:   if test -n "$AWK"; then
                   1621:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1622: else
                   1623:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1624:   ac_dummy="$PATH"
                   1625:   for ac_dir in $ac_dummy; do
                   1626:     test -z "$ac_dir" && ac_dir=.
                   1627:     if test -f $ac_dir/$ac_word; then
                   1628:       ac_cv_prog_AWK="$ac_prog"
                   1629:       break
                   1630:     fi
                   1631:   done
                   1632:   IFS="$ac_save_ifs"
                   1633: fi
                   1634: fi
                   1635: AWK="$ac_cv_prog_AWK"
                   1636: if test -n "$AWK"; then
                   1637:   echo "$ac_t""$AWK" 1>&6
                   1638: else
                   1639:   echo "$ac_t""no" 1>&6
                   1640: fi
                   1641: 
                   1642: test -n "$AWK" && break
                   1643: done
                   1644: 
                   1645: 
                   1646: for ac_prog in 'bison -y' byacc
                   1647: do
                   1648: # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1649: set dummy $ac_prog; ac_word=$2
                   1650: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.7     ! paf      1651: echo "configure:1652: checking for $ac_word" >&5
1.1       paf      1652: if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
                   1653:   echo $ac_n "(cached) $ac_c" 1>&6
                   1654: else
                   1655:   if test -n "$YACC"; then
                   1656:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   1657: else
                   1658:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1659:   ac_dummy="$PATH"
                   1660:   for ac_dir in $ac_dummy; do
                   1661:     test -z "$ac_dir" && ac_dir=.
                   1662:     if test -f $ac_dir/$ac_word; then
                   1663:       ac_cv_prog_YACC="$ac_prog"
                   1664:       break
                   1665:     fi
                   1666:   done
                   1667:   IFS="$ac_save_ifs"
                   1668: fi
                   1669: fi
                   1670: YACC="$ac_cv_prog_YACC"
                   1671: if test -n "$YACC"; then
                   1672:   echo "$ac_t""$YACC" 1>&6
                   1673: else
                   1674:   echo "$ac_t""no" 1>&6
                   1675: fi
                   1676: 
                   1677: test -n "$YACC" && break
                   1678: done
                   1679: test -n "$YACC" || YACC="yacc"
                   1680: 
                   1681: if test "$YACC" != "bison -y"; then
                   1682:     echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2
                   1683: else
                   1684:     echo $ac_n "checking bison version""... $ac_c" 1>&6
1.7     ! paf      1685: echo "configure:1686: checking bison version" >&5
1.1       paf      1686:     oldIFS=$IFS; IFS=.
                   1687:     set `bison -V | sed -e 's/^GNU Bison version //'`
                   1688:     IFS=$oldIFS
                   1689:     if test "$1" = "1" -a "$2" -lt "25"; then
                   1690:         echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2
                   1691:     fi
                   1692:     echo "$ac_t""$1.$2 (ok)" 1>&6
                   1693: fi
                   1694: 
                   1695:   LIBLTDL='${top_builddir}/'src/libltdl/libltdlc.la
                   1696:   INCLTDL='-I${top_srcdir}/'src/libltdl
                   1697: 
                   1698: 
                   1699: 
                   1700: 
                   1701: # Check whether --enable-shared or --disable-shared was given.
                   1702: if test "${enable_shared+set}" = set; then
                   1703:   enableval="$enable_shared"
                   1704:   p=${PACKAGE-default}
                   1705: case "$enableval" in
                   1706: yes) enable_shared=yes ;;
                   1707: no) enable_shared=no ;;
                   1708: *)
                   1709:   enable_shared=no
                   1710:   # Look at the argument we got.  We use all the common list separators.
                   1711:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1712:   for pkg in $enableval; do
                   1713:     if test "X$pkg" = "X$p"; then
                   1714:       enable_shared=yes
                   1715:     fi
                   1716:   done
                   1717:   IFS="$ac_save_ifs"
                   1718:   ;;
                   1719: esac
                   1720: else
                   1721:   enable_shared=yes
                   1722: fi
                   1723: 
                   1724: # Check whether --enable-static or --disable-static was given.
                   1725: if test "${enable_static+set}" = set; then
                   1726:   enableval="$enable_static"
                   1727:   p=${PACKAGE-default}
                   1728: case "$enableval" in
                   1729: yes) enable_static=yes ;;
                   1730: no) enable_static=no ;;
                   1731: *)
                   1732:   enable_static=no
                   1733:   # Look at the argument we got.  We use all the common list separators.
                   1734:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1735:   for pkg in $enableval; do
                   1736:     if test "X$pkg" = "X$p"; then
                   1737:       enable_static=yes
                   1738:     fi
                   1739:   done
                   1740:   IFS="$ac_save_ifs"
                   1741:   ;;
                   1742: esac
                   1743: else
                   1744:   enable_static=yes
                   1745: fi
                   1746: 
                   1747: # Check whether --enable-fast-install or --disable-fast-install was given.
                   1748: if test "${enable_fast_install+set}" = set; then
                   1749:   enableval="$enable_fast_install"
                   1750:   p=${PACKAGE-default}
                   1751: case "$enableval" in
                   1752: yes) enable_fast_install=yes ;;
                   1753: no) enable_fast_install=no ;;
                   1754: *)
                   1755:   enable_fast_install=no
                   1756:   # Look at the argument we got.  We use all the common list separators.
                   1757:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1758:   for pkg in $enableval; do
                   1759:     if test "X$pkg" = "X$p"; then
                   1760:       enable_fast_install=yes
                   1761:     fi
                   1762:   done
                   1763:   IFS="$ac_save_ifs"
                   1764:   ;;
                   1765: esac
                   1766: else
                   1767:   enable_fast_install=yes
                   1768: fi
                   1769: 
                   1770: echo $ac_n "checking build system type""... $ac_c" 1>&6
1.7     ! paf      1771: echo "configure:1772: checking build system type" >&5
1.1       paf      1772: 
                   1773: build_alias=$build
                   1774: case "$build_alias" in
                   1775: NONE)
                   1776:   case $nonopt in
                   1777:   NONE) build_alias=$host_alias ;;
                   1778:   *) build_alias=$nonopt ;;
                   1779:   esac ;;
                   1780: esac
                   1781: 
                   1782: build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
                   1783: build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1784: build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1785: build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1786: echo "$ac_t""$build" 1>&6
                   1787: 
                   1788: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   1789: if test "${with_gnu_ld+set}" = set; then
                   1790:   withval="$with_gnu_ld"
                   1791:   test "$withval" = no || with_gnu_ld=yes
                   1792: else
                   1793:   with_gnu_ld=no
                   1794: fi
                   1795: 
                   1796: ac_prog=ld
                   1797: if test "$ac_cv_prog_gcc" = yes; then
                   1798:   # Check if gcc -print-prog-name=ld gives a path.
                   1799:   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1.7     ! paf      1800: echo "configure:1801: checking for ld used by GCC" >&5
1.1       paf      1801:   ac_prog=`($CC -print-prog-name=ld) 2>&5`
                   1802:   case "$ac_prog" in
                   1803:     # Accept absolute paths.
                   1804:     [\\/]* | [A-Za-z]:[\\/]*)
                   1805:       re_direlt='/[^/][^/]*/\.\./'
                   1806:       # Canonicalize the path of ld
                   1807:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   1808:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   1809:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   1810:       done
                   1811:       test -z "$LD" && LD="$ac_prog"
                   1812:       ;;
                   1813:   "")
                   1814:     # If it fails, then pretend we aren't using GCC.
                   1815:     ac_prog=ld
                   1816:     ;;
                   1817:   *)
                   1818:     # If it is relative, then search for the first ld in PATH.
                   1819:     with_gnu_ld=unknown
                   1820:     ;;
                   1821:   esac
                   1822: elif test "$with_gnu_ld" = yes; then
                   1823:   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1.7     ! paf      1824: echo "configure:1825: checking for GNU ld" >&5
1.1       paf      1825: else
                   1826:   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1.7     ! paf      1827: echo "configure:1828: checking for non-GNU ld" >&5
1.1       paf      1828: fi
                   1829: if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
                   1830:   echo $ac_n "(cached) $ac_c" 1>&6
                   1831: else
                   1832:   if test -z "$LD"; then
                   1833:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
                   1834:   for ac_dir in $PATH; do
                   1835:     test -z "$ac_dir" && ac_dir=.
                   1836:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   1837:       ac_cv_path_LD="$ac_dir/$ac_prog"
                   1838:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   1839:       # but apparently some GNU ld's only accept -v.
                   1840:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   1841:       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
                   1842:        test "$with_gnu_ld" != no && break
                   1843:       else
                   1844:        test "$with_gnu_ld" != yes && break
                   1845:       fi
                   1846:     fi
                   1847:   done
                   1848:   IFS="$ac_save_ifs"
                   1849: else
                   1850:   ac_cv_path_LD="$LD" # Let the user override the test with a path.
                   1851: fi
                   1852: fi
                   1853: 
                   1854: LD="$ac_cv_path_LD"
                   1855: if test -n "$LD"; then
                   1856:   echo "$ac_t""$LD" 1>&6
                   1857: else
                   1858:   echo "$ac_t""no" 1>&6
                   1859: fi
                   1860: test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
                   1861: echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1.7     ! paf      1862: echo "configure:1863: checking if the linker ($LD) is GNU ld" >&5
1.1       paf      1863: if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
                   1864:   echo $ac_n "(cached) $ac_c" 1>&6
                   1865: else
                   1866:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   1867: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
                   1868:   ac_cv_prog_gnu_ld=yes
                   1869: else
                   1870:   ac_cv_prog_gnu_ld=no
                   1871: fi
                   1872: fi
                   1873: 
                   1874: echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
                   1875: 
                   1876: 
                   1877: echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1.7     ! paf      1878: echo "configure:1879: checking for BSD-compatible nm" >&5
1.1       paf      1879: if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
                   1880:   echo $ac_n "(cached) $ac_c" 1>&6
                   1881: else
                   1882:   if test -n "$NM"; then
                   1883:   # Let the user override the test.
                   1884:   ac_cv_path_NM="$NM"
                   1885: else
                   1886:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
                   1887:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   1888:     test -z "$ac_dir" && ac_dir=.
                   1889:     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
                   1890:       # Check to see if the nm accepts a BSD-compat flag.
                   1891:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   1892:       #   nm: unknown option "B" ignored
                   1893:       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   1894:        ac_cv_path_NM="$ac_dir/nm -B"
                   1895:        break
                   1896:       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   1897:        ac_cv_path_NM="$ac_dir/nm -p"
                   1898:        break
                   1899:       else
                   1900:        ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
                   1901:        continue # so that we can try to find one that supports BSD flags
                   1902:       fi
                   1903:     fi
                   1904:   done
                   1905:   IFS="$ac_save_ifs"
                   1906:   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
                   1907: fi
                   1908: fi
                   1909: 
                   1910: NM="$ac_cv_path_NM"
                   1911: echo "$ac_t""$NM" 1>&6
                   1912: 
                   1913: echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1.7     ! paf      1914: echo "configure:1915: checking whether ln -s works" >&5
1.1       paf      1915: if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
                   1916:   echo $ac_n "(cached) $ac_c" 1>&6
                   1917: else
                   1918:   rm -f conftestdata
                   1919: if ln -s X conftestdata 2>/dev/null
                   1920: then
                   1921:   rm -f conftestdata
                   1922:   ac_cv_prog_LN_S="ln -s"
                   1923: else
                   1924:   ac_cv_prog_LN_S=ln
                   1925: fi
                   1926: fi
                   1927: LN_S="$ac_cv_prog_LN_S"
                   1928: if test "$ac_cv_prog_LN_S" = "ln -s"; then
                   1929:   echo "$ac_t""yes" 1>&6
                   1930: else
                   1931:   echo "$ac_t""no" 1>&6
                   1932: fi
                   1933: 
                   1934: 
                   1935: case "$target" in
                   1936: NONE) lt_target="$host" ;;
                   1937: *) lt_target="$target" ;;
                   1938: esac
                   1939: 
                   1940: # Check for any special flags to pass to ltconfig.
                   1941: libtool_flags="--cache-file=$cache_file"
                   1942: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
                   1943: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
                   1944: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
                   1945: test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
                   1946: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
                   1947: 
                   1948: 
                   1949: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   1950: if test "${enable_libtool_lock+set}" = set; then
                   1951:   enableval="$enable_libtool_lock"
                   1952:   :
                   1953: fi
                   1954: 
                   1955: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
                   1956: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
                   1957: 
                   1958: # Some flags need to be propagated to the compiler or linker for good
                   1959: # libtool support.
                   1960: case "$lt_target" in
                   1961: *-*-irix6*)
                   1962:   # Find out which ABI we are using.
1.7     ! paf      1963:   echo '#line 1964 "configure"' > conftest.$ac_ext
        !          1964:   if { (eval echo configure:1965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       paf      1965:     case "`/usr/bin/file conftest.o`" in
                   1966:     *32-bit*)
                   1967:       LD="${LD-ld} -32"
                   1968:       ;;
                   1969:     *N32*)
                   1970:       LD="${LD-ld} -n32"
                   1971:       ;;
                   1972:     *64-bit*)
                   1973:       LD="${LD-ld} -64"
                   1974:       ;;
                   1975:     esac
                   1976:   fi
                   1977:   rm -rf conftest*
                   1978:   ;;
                   1979: 
                   1980: *-*-sco3.2v5*)
                   1981:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   1982:   SAVE_CFLAGS="$CFLAGS"
                   1983:   CFLAGS="$CFLAGS -belf"
                   1984:   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1.7     ! paf      1985: echo "configure:1986: checking whether the C compiler needs -belf" >&5
1.1       paf      1986: if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
                   1987:   echo $ac_n "(cached) $ac_c" 1>&6
                   1988: else
                   1989:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      1990: #line 1991 "configure"
1.1       paf      1991: #include "confdefs.h"
                   1992: 
                   1993: int main() {
                   1994: 
                   1995: ; return 0; }
                   1996: EOF
1.7     ! paf      1997: if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      1998:   rm -rf conftest*
                   1999:   lt_cv_cc_needs_belf=yes
                   2000: else
                   2001:   echo "configure: failed program was:" >&5
                   2002:   cat conftest.$ac_ext >&5
                   2003:   rm -rf conftest*
                   2004:   lt_cv_cc_needs_belf=no
                   2005: fi
                   2006: rm -f conftest*
                   2007: fi
                   2008: 
                   2009: echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
                   2010:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   2011:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   2012:     CFLAGS="$SAVE_CFLAGS"
                   2013:   fi
                   2014:   ;;
                   2015: 
                   2016: 
                   2017: esac
                   2018: 
                   2019: 
                   2020: # Save cache, so that ltconfig can load it
                   2021: cat > confcache <<\EOF
                   2022: # This file is a shell script that caches the results of configure
                   2023: # tests run on this system so they can be shared between configure
                   2024: # scripts and configure runs.  It is not useful on other systems.
                   2025: # If it contains results you don't want to keep, you may remove or edit it.
                   2026: #
                   2027: # By default, configure uses ./config.cache as the cache file,
                   2028: # creating it if it does not exist already.  You can give configure
                   2029: # the --cache-file=FILE option to use a different cache file; that is
                   2030: # what configure does when it calls configure scripts in
                   2031: # subdirectories, so they share the cache.
                   2032: # Giving --cache-file=/dev/null disables caching, for debugging configure.
                   2033: # config.status only pays attention to the cache file if you give it the
                   2034: # --recheck option to rerun configure.
                   2035: #
                   2036: EOF
                   2037: # The following way of writing the cache mishandles newlines in values,
                   2038: # but we know of no workaround that is simple, portable, and efficient.
                   2039: # So, don't put newlines in cache variables' values.
                   2040: # Ultrix sh set writes to stderr and can't be redirected directly,
                   2041: # and sets the high bit in the cache file unless we assign to the vars.
                   2042: (set) 2>&1 |
                   2043:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   2044:   *ac_space=\ *)
                   2045:     # `set' does not quote correctly, so add quotes (double-quote substitution
                   2046:     # turns \\\\ into \\, and sed turns \\ into \).
                   2047:     sed -n \
                   2048:       -e "s/'/'\\\\''/g" \
                   2049:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
                   2050:     ;;
                   2051:   *)
                   2052:     # `set' quotes correctly as required by POSIX, so do not add quotes.
                   2053:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
                   2054:     ;;
                   2055:   esac >> confcache
                   2056: if cmp -s $cache_file confcache; then
                   2057:   :
                   2058: else
                   2059:   if test -w $cache_file; then
                   2060:     echo "updating cache $cache_file"
                   2061:     cat confcache > $cache_file
                   2062:   else
                   2063:     echo "not updating unwritable cache $cache_file"
                   2064:   fi
                   2065: fi
                   2066: rm -f confcache
                   2067: 
                   2068: 
                   2069: # Actually configure libtool.  ac_aux_dir is where install-sh is found.
                   2070: CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
                   2071: LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
                   2072: LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
                   2073: DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
                   2074: ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
                   2075: $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
                   2076: || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
                   2077: 
                   2078: # Reload cache, that may have been modified by ltconfig
                   2079: if test -r "$cache_file"; then
                   2080:   echo "loading cache $cache_file"
                   2081:   . $cache_file
                   2082: else
                   2083:   echo "creating cache $cache_file"
                   2084:   > $cache_file
                   2085: fi
                   2086: 
                   2087: 
                   2088: # This can be used to rebuild libtool when needed
                   2089: LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
                   2090: 
                   2091: # Always use our own libtool.
                   2092: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   2093: 
                   2094: # Redirect the config.log output again, so that the ltconfig log is not
                   2095: # clobbered by the next message.
                   2096: exec 5>>./config.log
                   2097: 
                   2098: 
                   2099: 
                   2100: subdirs="src/libltdl"
                   2101: 
                   2102: 
                   2103: 
                   2104: echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1.7     ! paf      2105: echo "configure:2106: checking how to run the C++ preprocessor" >&5
1.1       paf      2106: if test -z "$CXXCPP"; then
                   2107: if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
                   2108:   echo $ac_n "(cached) $ac_c" 1>&6
                   2109: else
                   2110:   ac_ext=C
                   2111: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   2112: ac_cpp='$CXXCPP $CPPFLAGS'
                   2113: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   2114: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   2115: cross_compiling=$ac_cv_prog_cxx_cross
                   2116:   CXXCPP="${CXX-g++} -E"
                   2117:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2118: #line 2119 "configure"
1.1       paf      2119: #include "confdefs.h"
                   2120: #include <stdlib.h>
                   2121: EOF
                   2122: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.7     ! paf      2123: { (eval echo configure:2124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       paf      2124: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   2125: if test -z "$ac_err"; then
                   2126:   :
                   2127: else
                   2128:   echo "$ac_err" >&5
                   2129:   echo "configure: failed program was:" >&5
                   2130:   cat conftest.$ac_ext >&5
                   2131:   rm -rf conftest*
                   2132:   CXXCPP=/lib/cpp
                   2133: fi
                   2134: rm -f conftest*
                   2135:   ac_cv_prog_CXXCPP="$CXXCPP"
                   2136: ac_ext=C
                   2137: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   2138: ac_cpp='$CXXCPP $CPPFLAGS'
                   2139: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   2140: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   2141: cross_compiling=$ac_cv_prog_cxx_cross
                   2142: fi
                   2143: fi
                   2144: CXXCPP="$ac_cv_prog_CXXCPP"
                   2145: echo "$ac_t""$CXXCPP" 1>&6
                   2146: 
                   2147: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1.7     ! paf      2148: echo "configure:2149: checking for ANSI C header files" >&5
1.1       paf      2149: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
                   2150:   echo $ac_n "(cached) $ac_c" 1>&6
                   2151: else
                   2152:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2153: #line 2154 "configure"
1.1       paf      2154: #include "confdefs.h"
                   2155: #include <stdlib.h>
                   2156: #include <stdarg.h>
                   2157: #include <string.h>
                   2158: #include <float.h>
                   2159: EOF
                   2160: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.7     ! paf      2161: { (eval echo configure:2162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       paf      2162: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   2163: if test -z "$ac_err"; then
                   2164:   rm -rf conftest*
                   2165:   ac_cv_header_stdc=yes
                   2166: else
                   2167:   echo "$ac_err" >&5
                   2168:   echo "configure: failed program was:" >&5
                   2169:   cat conftest.$ac_ext >&5
                   2170:   rm -rf conftest*
                   2171:   ac_cv_header_stdc=no
                   2172: fi
                   2173: rm -f conftest*
                   2174: 
                   2175: if test $ac_cv_header_stdc = yes; then
                   2176:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   2177: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2178: #line 2179 "configure"
1.1       paf      2179: #include "confdefs.h"
                   2180: #include <string.h>
                   2181: EOF
                   2182: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2183:   egrep "memchr" >/dev/null 2>&1; then
                   2184:   :
                   2185: else
                   2186:   rm -rf conftest*
                   2187:   ac_cv_header_stdc=no
                   2188: fi
                   2189: rm -f conftest*
                   2190: 
                   2191: fi
                   2192: 
                   2193: if test $ac_cv_header_stdc = yes; then
                   2194:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   2195: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2196: #line 2197 "configure"
1.1       paf      2197: #include "confdefs.h"
                   2198: #include <stdlib.h>
                   2199: EOF
                   2200: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2201:   egrep "free" >/dev/null 2>&1; then
                   2202:   :
                   2203: else
                   2204:   rm -rf conftest*
                   2205:   ac_cv_header_stdc=no
                   2206: fi
                   2207: rm -f conftest*
                   2208: 
                   2209: fi
                   2210: 
                   2211: if test $ac_cv_header_stdc = yes; then
                   2212:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   2213: if test "$cross_compiling" = yes; then
                   2214:   :
                   2215: else
                   2216:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2217: #line 2218 "configure"
1.1       paf      2218: #include "confdefs.h"
                   2219: #ifdef __cplusplus
                   2220: extern "C" void exit(int);
                   2221: #endif
                   2222: #include <ctype.h>
                   2223: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   2224: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   2225: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   2226: int main () { int i; for (i = 0; i < 256; i++)
                   2227: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
                   2228: exit (0); }
                   2229: 
                   2230: EOF
1.7     ! paf      2231: if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       paf      2232: then
                   2233:   :
                   2234: else
                   2235:   echo "configure: failed program was:" >&5
                   2236:   cat conftest.$ac_ext >&5
                   2237:   rm -fr conftest*
                   2238:   ac_cv_header_stdc=no
                   2239: fi
                   2240: rm -fr conftest*
                   2241: fi
                   2242: 
                   2243: fi
                   2244: fi
                   2245: 
                   2246: echo "$ac_t""$ac_cv_header_stdc" 1>&6
                   2247: if test $ac_cv_header_stdc = yes; then
                   2248:   cat >> confdefs.h <<\EOF
                   2249: #define STDC_HEADERS 1
                   2250: EOF
                   2251: 
                   2252: fi
                   2253: 
                   2254: echo $ac_n "checking for size_t""... $ac_c" 1>&6
1.7     ! paf      2255: echo "configure:2256: checking for size_t" >&5
1.1       paf      2256: if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
                   2257:   echo $ac_n "(cached) $ac_c" 1>&6
                   2258: else
                   2259:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2260: #line 2261 "configure"
1.1       paf      2261: #include "confdefs.h"
                   2262: #include <sys/types.h>
                   2263: #if STDC_HEADERS
                   2264: #include <stdlib.h>
                   2265: #include <stddef.h>
                   2266: #endif
                   2267: EOF
                   2268: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2269:   egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
                   2270:   rm -rf conftest*
                   2271:   ac_cv_type_size_t=yes
                   2272: else
                   2273:   rm -rf conftest*
                   2274:   ac_cv_type_size_t=no
                   2275: fi
                   2276: rm -f conftest*
                   2277: 
                   2278: fi
                   2279: echo "$ac_t""$ac_cv_type_size_t" 1>&6
                   2280: if test $ac_cv_type_size_t = no; then
                   2281:   cat >> confdefs.h <<\EOF
                   2282: #define size_t unsigned
                   2283: EOF
                   2284: 
                   2285: fi
                   2286: 
                   2287: 
                   2288: 
                   2289: for ac_hdr in unistd.h \
                   2290: process.h \
                   2291: stddef.h \
                   2292: stdarg.h \
                   2293: fcntl.h \
                   2294: sys/stat.h \
                   2295: io.h \
                   2296: stdio.h \
                   2297: errno.h \
                   2298: ctype.h \
                   2299: math.h \
1.3       paf      2300: time.h sys/time.h \
1.1       paf      2301: stdlib.h \
                   2302: string.h \
                   2303: direct.h \
                   2304: setjmp.h \
                   2305: memory.h \
                   2306: new \
                   2307: sys/file.h \
                   2308: sys/locking.h \
1.3       paf      2309: sys/types.h \
                   2310: sys/select.h \
                   2311: sys/resource.h
1.1       paf      2312: 
                   2313: do
                   2314: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
                   2315: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1.7     ! paf      2316: echo "configure:2317: checking for $ac_hdr" >&5
1.1       paf      2317: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
                   2318:   echo $ac_n "(cached) $ac_c" 1>&6
                   2319: else
                   2320:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2321: #line 2322 "configure"
1.1       paf      2322: #include "confdefs.h"
                   2323: #include <$ac_hdr>
                   2324: EOF
                   2325: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.7     ! paf      2326: { (eval echo configure:2327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       paf      2327: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   2328: if test -z "$ac_err"; then
                   2329:   rm -rf conftest*
                   2330:   eval "ac_cv_header_$ac_safe=yes"
                   2331: else
                   2332:   echo "$ac_err" >&5
                   2333:   echo "configure: failed program was:" >&5
                   2334:   cat conftest.$ac_ext >&5
                   2335:   rm -rf conftest*
                   2336:   eval "ac_cv_header_$ac_safe=no"
                   2337: fi
                   2338: rm -f conftest*
                   2339: fi
                   2340: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
                   2341:   echo "$ac_t""yes" 1>&6
                   2342:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
                   2343:   cat >> confdefs.h <<EOF
                   2344: #define $ac_tr_hdr 1
                   2345: EOF
                   2346:  
                   2347: else
                   2348:   echo "$ac_t""no" 1>&6
                   2349: fi
                   2350: done
                   2351: 
                   2352: 
                   2353: 
                   2354: case "$host" in
                   2355:   *-sunos5.6* | *-solaris2.6*)
                   2356:       echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6
1.7     ! paf      2357: echo "configure:2358: checking for main in -lxnet" >&5
1.1       paf      2358: ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'`
                   2359: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2360:   echo $ac_n "(cached) $ac_c" 1>&6
                   2361: else
                   2362:   ac_save_LIBS="$LIBS"
                   2363: LIBS="-lxnet  $LIBS"
                   2364: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2365: #line 2366 "configure"
1.1       paf      2366: #include "confdefs.h"
                   2367: 
                   2368: int main() {
                   2369: main()
                   2370: ; return 0; }
                   2371: EOF
1.7     ! paf      2372: if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2373:   rm -rf conftest*
                   2374:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2375: else
                   2376:   echo "configure: failed program was:" >&5
                   2377:   cat conftest.$ac_ext >&5
                   2378:   rm -rf conftest*
                   2379:   eval "ac_cv_lib_$ac_lib_var=no"
                   2380: fi
                   2381: rm -f conftest*
                   2382: LIBS="$ac_save_LIBS"
                   2383: 
                   2384: fi
                   2385: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2386:   echo "$ac_t""yes" 1>&6
                   2387:     ac_tr_lib=HAVE_LIB`echo xnet | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2388:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2389:   cat >> confdefs.h <<EOF
                   2390: #define $ac_tr_lib 1
                   2391: EOF
                   2392: 
                   2393:   LIBS="-lxnet $LIBS"
                   2394: 
                   2395: else
                   2396:   echo "$ac_t""no" 1>&6
                   2397: fi
                   2398: 
                   2399:   ;;
                   2400:   *-sunos5* | *-solaris2*)
                   2401:       echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
1.7     ! paf      2402: echo "configure:2403: checking for main in -lsocket" >&5
1.1       paf      2403: ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
                   2404: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2405:   echo $ac_n "(cached) $ac_c" 1>&6
                   2406: else
                   2407:   ac_save_LIBS="$LIBS"
                   2408: LIBS="-lsocket  $LIBS"
                   2409: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2410: #line 2411 "configure"
1.1       paf      2411: #include "confdefs.h"
                   2412: 
                   2413: int main() {
                   2414: main()
                   2415: ; return 0; }
                   2416: EOF
1.7     ! paf      2417: if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2418:   rm -rf conftest*
                   2419:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2420: else
                   2421:   echo "configure: failed program was:" >&5
                   2422:   cat conftest.$ac_ext >&5
                   2423:   rm -rf conftest*
                   2424:   eval "ac_cv_lib_$ac_lib_var=no"
                   2425: fi
                   2426: rm -f conftest*
                   2427: LIBS="$ac_save_LIBS"
                   2428: 
                   2429: fi
                   2430: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2431:   echo "$ac_t""yes" 1>&6
                   2432:     ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2433:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2434:   cat >> confdefs.h <<EOF
                   2435: #define $ac_tr_lib 1
                   2436: EOF
                   2437: 
                   2438:   LIBS="-lsocket $LIBS"
                   2439: 
                   2440: else
                   2441:   echo "$ac_t""no" 1>&6
                   2442: fi
                   2443: 
                   2444:       echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1.7     ! paf      2445: echo "configure:2446: checking for main in -lnsl" >&5
1.1       paf      2446: ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
                   2447: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2448:   echo $ac_n "(cached) $ac_c" 1>&6
                   2449: else
                   2450:   ac_save_LIBS="$LIBS"
                   2451: LIBS="-lnsl  $LIBS"
                   2452: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2453: #line 2454 "configure"
1.1       paf      2454: #include "confdefs.h"
                   2455: 
                   2456: int main() {
                   2457: main()
                   2458: ; return 0; }
                   2459: EOF
1.7     ! paf      2460: if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2461:   rm -rf conftest*
                   2462:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2463: else
                   2464:   echo "configure: failed program was:" >&5
                   2465:   cat conftest.$ac_ext >&5
                   2466:   rm -rf conftest*
                   2467:   eval "ac_cv_lib_$ac_lib_var=no"
                   2468: fi
                   2469: rm -f conftest*
                   2470: LIBS="$ac_save_LIBS"
                   2471: 
                   2472: fi
                   2473: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2474:   echo "$ac_t""yes" 1>&6
                   2475:     ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2476:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2477:   cat >> confdefs.h <<EOF
                   2478: #define $ac_tr_lib 1
                   2479: EOF
                   2480: 
                   2481:   LIBS="-lnsl $LIBS"
                   2482: 
                   2483: else
                   2484:   echo "$ac_t""no" 1>&6
                   2485: fi
                   2486: 
                   2487:   ;;
                   2488:   *-nec-sysv4*)
                   2489:       echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1.7     ! paf      2490: echo "configure:2491: checking for gethostbyname in -lnsl" >&5
1.1       paf      2491: ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
                   2492: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2493:   echo $ac_n "(cached) $ac_c" 1>&6
                   2494: else
                   2495:   ac_save_LIBS="$LIBS"
                   2496: LIBS="-lnsl  $LIBS"
                   2497: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2498: #line 2499 "configure"
1.1       paf      2499: #include "confdefs.h"
                   2500: /* Override any gcc2 internal prototype to avoid an error.  */
                   2501: #ifdef __cplusplus
                   2502: extern "C"
                   2503: #endif
                   2504: /* We use char because int might match the return type of a gcc2
                   2505:     builtin and then its argument prototype would still apply.  */
                   2506: char gethostbyname();
                   2507: 
                   2508: int main() {
                   2509: gethostbyname()
                   2510: ; return 0; }
                   2511: EOF
1.7     ! paf      2512: if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2513:   rm -rf conftest*
                   2514:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2515: else
                   2516:   echo "configure: failed program was:" >&5
                   2517:   cat conftest.$ac_ext >&5
                   2518:   rm -rf conftest*
                   2519:   eval "ac_cv_lib_$ac_lib_var=no"
                   2520: fi
                   2521: rm -f conftest*
                   2522: LIBS="$ac_save_LIBS"
                   2523: 
                   2524: fi
                   2525: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2526:   echo "$ac_t""yes" 1>&6
                   2527:     ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2528:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2529:   cat >> confdefs.h <<EOF
                   2530: #define $ac_tr_lib 1
                   2531: EOF
                   2532: 
                   2533:   LIBS="-lnsl $LIBS"
                   2534: 
                   2535: else
                   2536:   echo "$ac_t""no" 1>&6
                   2537: fi
                   2538: 
                   2539:       echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1.7     ! paf      2540: echo "configure:2541: checking for socket in -lsocket" >&5
1.1       paf      2541: ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
                   2542: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2543:   echo $ac_n "(cached) $ac_c" 1>&6
                   2544: else
                   2545:   ac_save_LIBS="$LIBS"
                   2546: LIBS="-lsocket  $LIBS"
                   2547: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2548: #line 2549 "configure"
1.1       paf      2549: #include "confdefs.h"
                   2550: /* Override any gcc2 internal prototype to avoid an error.  */
                   2551: #ifdef __cplusplus
                   2552: extern "C"
                   2553: #endif
                   2554: /* We use char because int might match the return type of a gcc2
                   2555:     builtin and then its argument prototype would still apply.  */
                   2556: char socket();
                   2557: 
                   2558: int main() {
                   2559: socket()
                   2560: ; return 0; }
                   2561: EOF
1.7     ! paf      2562: if { (eval echo configure:2563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2563:   rm -rf conftest*
                   2564:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2565: else
                   2566:   echo "configure: failed program was:" >&5
                   2567:   cat conftest.$ac_ext >&5
                   2568:   rm -rf conftest*
                   2569:   eval "ac_cv_lib_$ac_lib_var=no"
                   2570: fi
                   2571: rm -f conftest*
                   2572: LIBS="$ac_save_LIBS"
                   2573: 
                   2574: fi
                   2575: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2576:   echo "$ac_t""yes" 1>&6
                   2577:     ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2578:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2579:   cat >> confdefs.h <<EOF
                   2580: #define $ac_tr_lib 1
                   2581: EOF
                   2582: 
                   2583:   LIBS="-lsocket $LIBS"
                   2584: 
                   2585: else
                   2586:   echo "$ac_t""no" 1>&6
                   2587: fi
                   2588: 
                   2589:   ;;
                   2590:   *-cygwin*)
                   2591:       cat >> confdefs.h <<\EOF
                   2592: #define WIN32 
                   2593: EOF
                   2594: 
                   2595:       echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6
1.7     ! paf      2596: echo "configure:2597: checking for socket in -lwsock32" >&5
1.1       paf      2597: ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'`
                   2598: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2599:   echo $ac_n "(cached) $ac_c" 1>&6
                   2600: else
                   2601:   ac_save_LIBS="$LIBS"
                   2602: LIBS="-lwsock32  $LIBS"
                   2603: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2604: #line 2605 "configure"
1.1       paf      2605: #include "confdefs.h"
                   2606: /* Override any gcc2 internal prototype to avoid an error.  */
                   2607: #ifdef __cplusplus
                   2608: extern "C"
                   2609: #endif
                   2610: /* We use char because int might match the return type of a gcc2
                   2611:     builtin and then its argument prototype would still apply.  */
                   2612: char socket();
                   2613: 
                   2614: int main() {
                   2615: socket()
                   2616: ; return 0; }
                   2617: EOF
1.7     ! paf      2618: if { (eval echo configure:2619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2619:   rm -rf conftest*
                   2620:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2621: else
                   2622:   echo "configure: failed program was:" >&5
                   2623:   cat conftest.$ac_ext >&5
                   2624:   rm -rf conftest*
                   2625:   eval "ac_cv_lib_$ac_lib_var=no"
                   2626: fi
                   2627: rm -f conftest*
                   2628: LIBS="$ac_save_LIBS"
                   2629: 
                   2630: fi
                   2631: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2632:   echo "$ac_t""yes" 1>&6
                   2633:     ac_tr_lib=HAVE_LIB`echo wsock32 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2634:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2635:   cat >> confdefs.h <<EOF
                   2636: #define $ac_tr_lib 1
                   2637: EOF
                   2638: 
                   2639:   LIBS="-lwsock32 $LIBS"
                   2640: 
                   2641: else
                   2642:   echo "$ac_t""no" 1>&6
                   2643: fi
                   2644: 
                   2645:   ;;
                   2646: esac
                   2647: 
                   2648: echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
1.7     ! paf      2649: echo "configure:2650: checking for sin in -lm" >&5
1.1       paf      2650: ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
                   2651: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
                   2652:   echo $ac_n "(cached) $ac_c" 1>&6
                   2653: else
                   2654:   ac_save_LIBS="$LIBS"
                   2655: LIBS="-lm  $LIBS"
                   2656: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2657: #line 2658 "configure"
1.1       paf      2658: #include "confdefs.h"
                   2659: /* Override any gcc2 internal prototype to avoid an error.  */
                   2660: #ifdef __cplusplus
                   2661: extern "C"
                   2662: #endif
                   2663: /* We use char because int might match the return type of a gcc2
                   2664:     builtin and then its argument prototype would still apply.  */
                   2665: char sin();
                   2666: 
                   2667: int main() {
                   2668: sin()
                   2669: ; return 0; }
                   2670: EOF
1.7     ! paf      2671: if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2672:   rm -rf conftest*
                   2673:   eval "ac_cv_lib_$ac_lib_var=yes"
                   2674: else
                   2675:   echo "configure: failed program was:" >&5
                   2676:   cat conftest.$ac_ext >&5
                   2677:   rm -rf conftest*
                   2678:   eval "ac_cv_lib_$ac_lib_var=no"
                   2679: fi
                   2680: rm -f conftest*
                   2681: LIBS="$ac_save_LIBS"
                   2682: 
                   2683: fi
                   2684: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
                   2685:   echo "$ac_t""yes" 1>&6
                   2686:     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
                   2687:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
                   2688:   cat >> confdefs.h <<EOF
                   2689: #define $ac_tr_lib 1
                   2690: EOF
                   2691: 
                   2692:   LIBS="-lm $LIBS"
                   2693: 
                   2694: else
                   2695:   echo "$ac_t""no" 1>&6
                   2696: fi
                   2697: 
                   2698: 
                   2699: 
                   2700: for ac_func in trunc \
                   2701: round \
                   2702: sign \
                   2703: flock \
                   2704: _locking \
1.5       paf      2705: fcntl \
1.3       paf      2706: lockf \
                   2707: getrusage
1.1       paf      2708: 
                   2709: do
                   2710: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1.7     ! paf      2711: echo "configure:2712: checking for $ac_func" >&5
1.1       paf      2712: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
                   2713:   echo $ac_n "(cached) $ac_c" 1>&6
                   2714: else
                   2715:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2716: #line 2717 "configure"
1.1       paf      2717: #include "confdefs.h"
                   2718: /* System header to define __stub macros and hopefully few prototypes,
                   2719:     which can conflict with char $ac_func(); below.  */
                   2720: #include <assert.h>
                   2721: /* Override any gcc2 internal prototype to avoid an error.  */
                   2722: #ifdef __cplusplus
                   2723: extern "C"
                   2724: #endif
                   2725: /* We use char because int might match the return type of a gcc2
                   2726:     builtin and then its argument prototype would still apply.  */
                   2727: char $ac_func();
                   2728: 
                   2729: int main() {
                   2730: 
                   2731: /* The GNU C library defines this for functions which it implements
                   2732:     to always fail with ENOSYS.  Some functions are actually named
                   2733:     something starting with __ and the normal name is an alias.  */
                   2734: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   2735: choke me
                   2736: #else
                   2737: $ac_func();
                   2738: #endif
                   2739: 
                   2740: ; return 0; }
                   2741: EOF
1.7     ! paf      2742: if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       paf      2743:   rm -rf conftest*
                   2744:   eval "ac_cv_func_$ac_func=yes"
                   2745: else
                   2746:   echo "configure: failed program was:" >&5
                   2747:   cat conftest.$ac_ext >&5
                   2748:   rm -rf conftest*
                   2749:   eval "ac_cv_func_$ac_func=no"
                   2750: fi
                   2751: rm -f conftest*
                   2752: fi
                   2753: 
                   2754: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
                   2755:   echo "$ac_t""yes" 1>&6
                   2756:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
                   2757:   cat >> confdefs.h <<EOF
                   2758: #define $ac_tr_func 1
                   2759: EOF
                   2760:  
                   2761: else
                   2762:   echo "$ac_t""no" 1>&6
                   2763: fi
                   2764: done
                   2765: 
                   2766: 
1.3       paf      2767: 
                   2768: for ac_func in qsort
                   2769: do
                   2770: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1.7     ! paf      2771: echo "configure:2772: checking for $ac_func" >&5
1.3       paf      2772: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
                   2773:   echo $ac_n "(cached) $ac_c" 1>&6
                   2774: else
                   2775:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2776: #line 2777 "configure"
1.3       paf      2777: #include "confdefs.h"
                   2778: /* System header to define __stub macros and hopefully few prototypes,
                   2779:     which can conflict with char $ac_func(); below.  */
                   2780: #include <assert.h>
                   2781: /* Override any gcc2 internal prototype to avoid an error.  */
                   2782: #ifdef __cplusplus
                   2783: extern "C"
                   2784: #endif
                   2785: /* We use char because int might match the return type of a gcc2
                   2786:     builtin and then its argument prototype would still apply.  */
                   2787: char $ac_func();
                   2788: 
                   2789: int main() {
                   2790: 
                   2791: /* The GNU C library defines this for functions which it implements
                   2792:     to always fail with ENOSYS.  Some functions are actually named
                   2793:     something starting with __ and the normal name is an alias.  */
                   2794: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   2795: choke me
                   2796: #else
                   2797: $ac_func();
                   2798: #endif
                   2799: 
                   2800: ; return 0; }
                   2801: EOF
1.7     ! paf      2802: if { (eval echo configure:2803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.3       paf      2803:   rm -rf conftest*
                   2804:   eval "ac_cv_func_$ac_func=yes"
                   2805: else
                   2806:   echo "configure: failed program was:" >&5
                   2807:   cat conftest.$ac_ext >&5
                   2808:   rm -rf conftest*
                   2809:   eval "ac_cv_func_$ac_func=no"
                   2810: fi
                   2811: rm -f conftest*
                   2812: fi
                   2813: 
                   2814: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
                   2815:   echo "$ac_t""yes" 1>&6
                   2816:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
                   2817:   cat >> confdefs.h <<EOF
                   2818: #define $ac_tr_func 1
                   2819: EOF
                   2820:  
                   2821: else
                   2822:   echo "$ac_t""no" 1>&6
                   2823: { echo "configure: error: No qsort library function." 1>&2; exit 1; }
                   2824: fi
                   2825: done
                   2826: 
                   2827: for ac_func in select
                   2828: do
                   2829: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1.7     ! paf      2830: echo "configure:2831: checking for $ac_func" >&5
1.3       paf      2831: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
                   2832:   echo $ac_n "(cached) $ac_c" 1>&6
                   2833: else
                   2834:   cat > conftest.$ac_ext <<EOF
1.7     ! paf      2835: #line 2836 "configure"
1.3       paf      2836: #include "confdefs.h"
                   2837: /* System header to define __stub macros and hopefully few prototypes,
                   2838:     which can conflict with char $ac_func(); below.  */
                   2839: #include <assert.h>
                   2840: /* Override any gcc2 internal prototype to avoid an error.  */
                   2841: #ifdef __cplusplus
                   2842: extern "C"
                   2843: #endif
                   2844: /* We use char because int might match the return type of a gcc2
                   2845:     builtin and then its argument prototype would still apply.  */
                   2846: char $ac_func();
                   2847: 
                   2848: int main() {
                   2849: 
                   2850: /* The GNU C library defines this for functions which it implements
                   2851:     to always fail with ENOSYS.  Some functions are actually named
                   2852:     something starting with __ and the normal name is an alias.  */
                   2853: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   2854: choke me
                   2855: #else
                   2856: $ac_func();
                   2857: #endif
                   2858: 
                   2859: ; return 0; }
                   2860: EOF
1.7     ! paf      2861: if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.3       paf      2862:   rm -rf conftest*
                   2863:   eval "ac_cv_func_$ac_func=yes"
                   2864: else
                   2865:   echo "configure: failed program was:" >&5
                   2866:   cat conftest.$ac_ext >&5
                   2867:   rm -rf conftest*
                   2868:   eval "ac_cv_func_$ac_func=no"
                   2869: fi
                   2870: rm -f conftest*
                   2871: fi
                   2872: 
                   2873: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
                   2874:   echo "$ac_t""yes" 1>&6
                   2875:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
                   2876:   cat >> confdefs.h <<EOF
                   2877: #define $ac_tr_func 1
                   2878: EOF
                   2879:  
                   2880: else
                   2881:   echo "$ac_t""no" 1>&6
                   2882: { echo "configure: error: No select library function." 1>&2; exit 1; }
                   2883: fi
                   2884: done
                   2885: 
                   2886: 
1.1       paf      2887: echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6
1.7     ! paf      2888: echo "configure:2889: checking whether compiler supports pragma pack" >&5
1.1       paf      2889: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2890: #line 2891 "configure"
1.1       paf      2891: #include "confdefs.h"
                   2892: 
                   2893: int main() {
                   2894: #pragma pack(1)
                   2895: struct must_be_1_byte {
                   2896:        char c;
                   2897: };
                   2898: #pragma pack()
                   2899: if(sizeof(must_be_1_byte)!=1)
                   2900:        return 1;
                   2901: 
                   2902: ; return 0; }
                   2903: EOF
1.7     ! paf      2904: if { (eval echo configure:2905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       paf      2905:   rm -rf conftest*
                   2906:   
                   2907:     echo "$ac_t""yes" 1>&6
                   2908:        cat >> confdefs.h <<\EOF
                   2909: #define HAVE_PRAGMA_PACK 
                   2910: EOF
                   2911: 
                   2912: 
                   2913: else
                   2914:   echo "configure: failed program was:" >&5
                   2915:   cat conftest.$ac_ext >&5
                   2916:   rm -rf conftest*
                   2917:   echo "$ac_t""no" 1>&6
                   2918: 
                   2919: fi
                   2920: rm -f conftest*
                   2921: 
                   2922: echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6
1.7     ! paf      2923: echo "configure:2924: checking for set_new_handler" >&5
1.1       paf      2924: cat > conftest.$ac_ext <<EOF
1.7     ! paf      2925: #line 2926 "configure"
1.1       paf      2926: #include "confdefs.h"
                   2927: #ifdef HAVE_NEW
                   2928: #include <new>
                   2929: #endif
                   2930: void failed_new() {}
                   2931: 
                   2932: int main() {
                   2933: std::set_new_handler(failed_new);
                   2934: 
                   2935: ; return 0; }
                   2936: EOF
1.7     ! paf      2937: if { (eval echo configure:2938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       paf      2938:   rm -rf conftest*
                   2939:   
                   2940:     echo "$ac_t""yes" 1>&6
                   2941:        cat >> confdefs.h <<\EOF
                   2942: #define HAVE_SET_NEW_HANDLER 
                   2943: EOF
                   2944: 
                   2945: 
                   2946: else
                   2947:   echo "configure: failed program was:" >&5
                   2948:   cat conftest.$ac_ext >&5
                   2949:   rm -rf conftest*
                   2950:   echo "$ac_t""no" 1>&6
                   2951: 
                   2952: fi
                   2953: rm -f conftest*
                   2954: 
                   2955: 
                   2956: 
                   2957: APACHE_LIBS=$LIBS
                   2958: 
                   2959: 
                   2960: 
                   2961: 
                   2962: # expand apostrophed
1.4       paf      2963: e_prefix=$prefix
                   2964: test "x$e_prefix" = xNONE && e_prefix=$ac_default_prefix
                   2965: 
1.1       paf      2966: e_sysconfdir=$sysconfdir
1.4       paf      2967: test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc"
1.1       paf      2968: 
                   2969: 
1.2       paf      2970: rootconfigdir=$e_sysconfdir
1.1       paf      2971: 
                   2972: 
                   2973: 
                   2974: charsetsdir=$e_sysconfdir/parser3.charsets
                   2975: 
                   2976: 
                   2977: # expand apostrophed
                   2978: e_libdir=$libdir
                   2979: if test "$e_libdir" = "\${exec_prefix}/lib"; then
                   2980: 
                   2981:     # Let make expand exec_prefix.
                   2982:     e_exec_prefix=$exec_prefix
                   2983:     test "x$e_exec_prefix" = xNONE && e_exec_prefix=$prefix
                   2984: 
                   2985:     # expand apostrophed
                   2986:     test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib"
                   2987: fi
                   2988: 
                   2989: sqldriversdir=$e_libdir
                   2990: 
                   2991: 
                   2992: 
                   2993: 
                   2994: 
                   2995: 
                   2996: 
                   2997: trap '' 1 2 15
                   2998: cat > confcache <<\EOF
                   2999: # This file is a shell script that caches the results of configure
                   3000: # tests run on this system so they can be shared between configure
                   3001: # scripts and configure runs.  It is not useful on other systems.
                   3002: # If it contains results you don't want to keep, you may remove or edit it.
                   3003: #
                   3004: # By default, configure uses ./config.cache as the cache file,
                   3005: # creating it if it does not exist already.  You can give configure
                   3006: # the --cache-file=FILE option to use a different cache file; that is
                   3007: # what configure does when it calls configure scripts in
                   3008: # subdirectories, so they share the cache.
                   3009: # Giving --cache-file=/dev/null disables caching, for debugging configure.
                   3010: # config.status only pays attention to the cache file if you give it the
                   3011: # --recheck option to rerun configure.
                   3012: #
                   3013: EOF
                   3014: # The following way of writing the cache mishandles newlines in values,
                   3015: # but we know of no workaround that is simple, portable, and efficient.
                   3016: # So, don't put newlines in cache variables' values.
                   3017: # Ultrix sh set writes to stderr and can't be redirected directly,
                   3018: # and sets the high bit in the cache file unless we assign to the vars.
                   3019: (set) 2>&1 |
                   3020:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   3021:   *ac_space=\ *)
                   3022:     # `set' does not quote correctly, so add quotes (double-quote substitution
                   3023:     # turns \\\\ into \\, and sed turns \\ into \).
                   3024:     sed -n \
                   3025:       -e "s/'/'\\\\''/g" \
                   3026:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
                   3027:     ;;
                   3028:   *)
                   3029:     # `set' quotes correctly as required by POSIX, so do not add quotes.
                   3030:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
                   3031:     ;;
                   3032:   esac >> confcache
                   3033: if cmp -s $cache_file confcache; then
                   3034:   :
                   3035: else
                   3036:   if test -w $cache_file; then
                   3037:     echo "updating cache $cache_file"
                   3038:     cat confcache > $cache_file
                   3039:   else
                   3040:     echo "not updating unwritable cache $cache_file"
                   3041:   fi
                   3042: fi
                   3043: rm -f confcache
                   3044: 
                   3045: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
                   3046: 
                   3047: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   3048: # Let make expand exec_prefix.
                   3049: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   3050: 
                   3051: # Any assignment to VPATH causes Sun make to only execute
                   3052: # the first set of double-colon rules, so remove it if not needed.
                   3053: # If there is a colon in the path, we need to keep it.
                   3054: if test "x$srcdir" = x.; then
                   3055:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
                   3056: fi
                   3057: 
                   3058: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
                   3059: 
                   3060: DEFS=-DHAVE_CONFIG_H
                   3061: 
                   3062: # Without the "./", some shells look in PATH for config.status.
                   3063: : ${CONFIG_STATUS=./config.status}
                   3064: 
                   3065: echo creating $CONFIG_STATUS
                   3066: rm -f $CONFIG_STATUS
                   3067: cat > $CONFIG_STATUS <<EOF
                   3068: #! /bin/sh
                   3069: # Generated automatically by configure.
                   3070: # Run this file to recreate the current configuration.
                   3071: # This directory was configured as follows,
                   3072: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   3073: #
                   3074: # $0 $ac_configure_args
                   3075: #
                   3076: # Compiler output produced by configure, useful for debugging
                   3077: # configure, is in ./config.log if it exists.
                   3078: 
                   3079: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
                   3080: for ac_option
                   3081: do
                   3082:   case "\$ac_option" in
                   3083:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   3084:     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
                   3085:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
                   3086:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
                   3087:     echo "$CONFIG_STATUS generated by autoconf version 2.13"
                   3088:     exit 0 ;;
                   3089:   -help | --help | --hel | --he | --h)
                   3090:     echo "\$ac_cs_usage"; exit 0 ;;
                   3091:   *) echo "\$ac_cs_usage"; exit 1 ;;
                   3092:   esac
                   3093: done
                   3094: 
                   3095: ac_given_srcdir=$srcdir
                   3096: ac_given_INSTALL="$INSTALL"
                   3097: 
1.6       paf      3098: trap 'rm -fr `echo "Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1.1       paf      3099: EOF
                   3100: cat >> $CONFIG_STATUS <<EOF
                   3101: 
                   3102: # Protect against being on the right side of a sed subst in config.status.
                   3103: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
                   3104:  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
                   3105: $ac_vpsub
                   3106: $extrasub
                   3107: s%@SHELL@%$SHELL%g
                   3108: s%@CFLAGS@%$CFLAGS%g
                   3109: s%@CPPFLAGS@%$CPPFLAGS%g
                   3110: s%@CXXFLAGS@%$CXXFLAGS%g
                   3111: s%@FFLAGS@%$FFLAGS%g
                   3112: s%@DEFS@%$DEFS%g
                   3113: s%@LDFLAGS@%$LDFLAGS%g
                   3114: s%@LIBS@%$LIBS%g
                   3115: s%@exec_prefix@%$exec_prefix%g
                   3116: s%@prefix@%$prefix%g
                   3117: s%@program_transform_name@%$program_transform_name%g
                   3118: s%@bindir@%$bindir%g
                   3119: s%@sbindir@%$sbindir%g
                   3120: s%@libexecdir@%$libexecdir%g
                   3121: s%@datadir@%$datadir%g
                   3122: s%@sysconfdir@%$sysconfdir%g
                   3123: s%@sharedstatedir@%$sharedstatedir%g
                   3124: s%@localstatedir@%$localstatedir%g
                   3125: s%@libdir@%$libdir%g
                   3126: s%@includedir@%$includedir%g
                   3127: s%@oldincludedir@%$oldincludedir%g
                   3128: s%@infodir@%$infodir%g
                   3129: s%@mandir@%$mandir%g
                   3130: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
                   3131: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
                   3132: s%@INSTALL_DATA@%$INSTALL_DATA%g
                   3133: s%@PACKAGE@%$PACKAGE%g
                   3134: s%@VERSION@%$VERSION%g
                   3135: s%@ACLOCAL@%$ACLOCAL%g
                   3136: s%@AUTOCONF@%$AUTOCONF%g
                   3137: s%@AUTOMAKE@%$AUTOMAKE%g
                   3138: s%@AUTOHEADER@%$AUTOHEADER%g
                   3139: s%@MAKEINFO@%$MAKEINFO%g
                   3140: s%@SET_MAKE@%$SET_MAKE%g
                   3141: s%@P3S@%$P3S%g
                   3142: s%@CC@%$CC%g
                   3143: s%@CXX@%$CXX%g
                   3144: s%@APACHE13@%$APACHE13%g
                   3145: s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g
                   3146: s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g
                   3147: s%@XML_INCLUDES@%$XML_INCLUDES%g
                   3148: s%@XML_LIBS@%$XML_LIBS%g
                   3149: s%@DB2_INCLUDES@%$DB2_INCLUDES%g
                   3150: s%@DB2_LIBS@%$DB2_LIBS%g
                   3151: s%@host@%$host%g
                   3152: s%@host_alias@%$host_alias%g
                   3153: s%@host_cpu@%$host_cpu%g
                   3154: s%@host_vendor@%$host_vendor%g
                   3155: s%@host_os@%$host_os%g
                   3156: s%@RANLIB@%$RANLIB%g
                   3157: s%@AWK@%$AWK%g
                   3158: s%@YACC@%$YACC%g
                   3159: s%@INCLTDL@%$INCLTDL%g
                   3160: s%@LIBLTDL@%$LIBLTDL%g
                   3161: s%@LIBADD_DL@%$LIBADD_DL%g
                   3162: s%@build@%$build%g
                   3163: s%@build_alias@%$build_alias%g
                   3164: s%@build_cpu@%$build_cpu%g
                   3165: s%@build_vendor@%$build_vendor%g
                   3166: s%@build_os@%$build_os%g
                   3167: s%@LN_S@%$LN_S%g
                   3168: s%@LIBTOOL@%$LIBTOOL%g
                   3169: s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g
                   3170: s%@subdirs@%$subdirs%g
                   3171: s%@CXXCPP@%$CXXCPP%g
                   3172: s%@APACHE_LIBS@%$APACHE_LIBS%g
1.2       paf      3173: s%@rootconfigdir@%$rootconfigdir%g
1.1       paf      3174: s%@charsetsdir@%$charsetsdir%g
                   3175: s%@sqldriversdir@%$sqldriversdir%g
                   3176: 
                   3177: CEOF
                   3178: EOF
                   3179: 
                   3180: cat >> $CONFIG_STATUS <<\EOF
                   3181: 
                   3182: # Split the substitutions into bite-sized pieces for seds with
                   3183: # small command number limits, like on Digital OSF/1 and HP-UX.
                   3184: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
                   3185: ac_file=1 # Number of current file.
                   3186: ac_beg=1 # First line for current file.
                   3187: ac_end=$ac_max_sed_cmds # Line after last line for current file.
                   3188: ac_more_lines=:
                   3189: ac_sed_cmds=""
                   3190: while $ac_more_lines; do
                   3191:   if test $ac_beg -gt 1; then
                   3192:     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
                   3193:   else
                   3194:     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
                   3195:   fi
                   3196:   if test ! -s conftest.s$ac_file; then
                   3197:     ac_more_lines=false
                   3198:     rm -f conftest.s$ac_file
                   3199:   else
                   3200:     if test -z "$ac_sed_cmds"; then
                   3201:       ac_sed_cmds="sed -f conftest.s$ac_file"
                   3202:     else
                   3203:       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
                   3204:     fi
                   3205:     ac_file=`expr $ac_file + 1`
                   3206:     ac_beg=$ac_end
                   3207:     ac_end=`expr $ac_end + $ac_max_sed_cmds`
                   3208:   fi
                   3209: done
                   3210: if test -z "$ac_sed_cmds"; then
                   3211:   ac_sed_cmds=cat
                   3212: fi
                   3213: EOF
                   3214: 
                   3215: cat >> $CONFIG_STATUS <<EOF
                   3216: 
1.6       paf      3217: CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile"}
1.1       paf      3218: EOF
                   3219: cat >> $CONFIG_STATUS <<\EOF
                   3220: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
                   3221:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   3222:   case "$ac_file" in
                   3223:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   3224:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   3225:   *) ac_file_in="${ac_file}.in" ;;
                   3226:   esac
                   3227: 
                   3228:   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
                   3229: 
                   3230:   # Remove last slash and all that follows it.  Not all systems have dirname.
                   3231:   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   3232:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   3233:     # The file is in a subdirectory.
                   3234:     test ! -d "$ac_dir" && mkdir "$ac_dir"
                   3235:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
                   3236:     # A "../" for each directory in $ac_dir_suffix.
                   3237:     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
                   3238:   else
                   3239:     ac_dir_suffix= ac_dots=
                   3240:   fi
                   3241: 
                   3242:   case "$ac_given_srcdir" in
                   3243:   .)  srcdir=.
                   3244:       if test -z "$ac_dots"; then top_srcdir=.
                   3245:       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
                   3246:   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
                   3247:   *) # Relative path.
                   3248:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
                   3249:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
                   3250:   esac
                   3251: 
                   3252:   case "$ac_given_INSTALL" in
                   3253:   [/$]*) INSTALL="$ac_given_INSTALL" ;;
                   3254:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
                   3255:   esac
                   3256: 
                   3257:   echo creating "$ac_file"
                   3258:   rm -f "$ac_file"
                   3259:   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
                   3260:   case "$ac_file" in
                   3261:   *Makefile*) ac_comsub="1i\\
                   3262: # $configure_input" ;;
                   3263:   *) ac_comsub= ;;
                   3264:   esac
                   3265: 
                   3266:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   3267:   sed -e "$ac_comsub
                   3268: s%@configure_input@%$configure_input%g
                   3269: s%@srcdir@%$srcdir%g
                   3270: s%@top_srcdir@%$top_srcdir%g
                   3271: s%@INSTALL@%$INSTALL%g
                   3272: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
                   3273: fi; done
                   3274: rm -f conftest.s*
                   3275: 
                   3276: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   3277: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   3278: #
                   3279: # ac_d sets the value in "#define NAME VALUE" lines.
                   3280: ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   3281: ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
                   3282: ac_dC='\3'
                   3283: ac_dD='%g'
                   3284: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
                   3285: ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   3286: ac_uB='\([     ]\)%\1#\2define\3'
                   3287: ac_uC=' '
                   3288: ac_uD='\4%g'
                   3289: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   3290: ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   3291: ac_eB='$%\1#\2define\3'
                   3292: ac_eC=' '
                   3293: ac_eD='%g'
                   3294: 
                   3295: if test "${CONFIG_HEADERS+set}" != set; then
                   3296: EOF
                   3297: cat >> $CONFIG_STATUS <<EOF
                   3298:   CONFIG_HEADERS="src/include/pa_config_auto.h"
                   3299: EOF
                   3300: cat >> $CONFIG_STATUS <<\EOF
                   3301: fi
                   3302: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
                   3303:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   3304:   case "$ac_file" in
                   3305:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   3306:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   3307:   *) ac_file_in="${ac_file}.in" ;;
                   3308:   esac
                   3309: 
                   3310:   echo creating $ac_file
                   3311: 
                   3312:   rm -f conftest.frag conftest.in conftest.out
                   3313:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   3314:   cat $ac_file_inputs > conftest.in
                   3315: 
                   3316: EOF
                   3317: 
                   3318: # Transform confdefs.h into a sed script conftest.vals that substitutes
                   3319: # the proper values into config.h.in to produce config.h.  And first:
                   3320: # Protect against being on the right side of a sed subst in config.status.
                   3321: # Protect against being in an unquoted here document in config.status.
                   3322: rm -f conftest.vals
                   3323: cat > conftest.hdr <<\EOF
                   3324: s/[\\&%]/\\&/g
                   3325: s%[\\$`]%\\&%g
                   3326: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
                   3327: s%ac_d%ac_u%gp
                   3328: s%ac_u%ac_e%gp
                   3329: EOF
                   3330: sed -n -f conftest.hdr confdefs.h > conftest.vals
                   3331: rm -f conftest.hdr
                   3332: 
                   3333: # This sed command replaces #undef with comments.  This is necessary, for
                   3334: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   3335: # on some systems where configure will not decide to define it.
                   3336: cat >> conftest.vals <<\EOF
                   3337: s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
                   3338: EOF
                   3339: 
                   3340: # Break up conftest.vals because some shells have a limit on
                   3341: # the size of here documents, and old seds have small limits too.
                   3342: 
                   3343: rm -f conftest.tail
                   3344: while :
                   3345: do
                   3346:   ac_lines=`grep -c . conftest.vals`
                   3347:   # grep -c gives empty output for an empty file on some AIX systems.
                   3348:   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
                   3349:   # Write a limited-size here document to conftest.frag.
                   3350:   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
                   3351:   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
                   3352:   echo 'CEOF
                   3353:   sed -f conftest.frag conftest.in > conftest.out
                   3354:   rm -f conftest.in
                   3355:   mv conftest.out conftest.in
                   3356: ' >> $CONFIG_STATUS
                   3357:   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
                   3358:   rm -f conftest.vals
                   3359:   mv conftest.tail conftest.vals
                   3360: done
                   3361: rm -f conftest.vals
                   3362: 
                   3363: cat >> $CONFIG_STATUS <<\EOF
                   3364:   rm -f conftest.frag conftest.h
                   3365:   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
                   3366:   cat conftest.in >> conftest.h
                   3367:   rm -f conftest.in
                   3368:   if cmp -s $ac_file conftest.h 2>/dev/null; then
                   3369:     echo "$ac_file is unchanged"
                   3370:     rm -f conftest.h
                   3371:   else
                   3372:     # Remove last slash and all that follows it.  Not all systems have dirname.
                   3373:       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   3374:       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   3375:       # The file is in a subdirectory.
                   3376:       test ! -d "$ac_dir" && mkdir "$ac_dir"
                   3377:     fi
                   3378:     rm -f $ac_file
                   3379:     mv conftest.h $ac_file
                   3380:   fi
                   3381: fi; done
                   3382: 
                   3383: EOF
                   3384: cat >> $CONFIG_STATUS <<EOF
                   3385: 
                   3386: 
                   3387: EOF
                   3388: cat >> $CONFIG_STATUS <<\EOF
                   3389: test -z "$CONFIG_HEADERS" || echo timestamp > src/include/stamp-h
                   3390: 
                   3391: exit 0
                   3392: EOF
                   3393: chmod +x $CONFIG_STATUS
                   3394: rm -fr confdefs* $ac_clean_files
                   3395: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
                   3396: 
                   3397: if test "$no_recursion" != yes; then
                   3398: 
                   3399:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   3400:   ac_sub_configure_args=
                   3401:   ac_prev=
                   3402:   for ac_arg in $ac_configure_args; do
                   3403:     if test -n "$ac_prev"; then
                   3404:       ac_prev=
                   3405:       continue
                   3406:     fi
                   3407:     case "$ac_arg" in
                   3408:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   3409:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   3410:       ac_prev=cache_file ;;
                   3411:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   3412:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                   3413:       ;;
                   3414:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   3415:       ac_prev=srcdir ;;
                   3416:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   3417:       ;;
                   3418:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   3419:     esac
                   3420:   done
                   3421: 
                   3422:   for ac_config_dir in src/libltdl; do
                   3423: 
                   3424:     # Do not complain, so a configure script can configure whichever
                   3425:     # parts of a large source tree are present.
                   3426:     if test ! -d $srcdir/$ac_config_dir; then
                   3427:       continue
                   3428:     fi
                   3429: 
                   3430:     echo configuring in $ac_config_dir
                   3431: 
                   3432:     case "$srcdir" in
                   3433:     .) ;;
                   3434:     *)
                   3435:       if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
                   3436:       else
                   3437:         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
                   3438:       fi
                   3439:       ;;
                   3440:     esac
                   3441: 
                   3442:     ac_popdir=`pwd`
                   3443:     cd $ac_config_dir
                   3444: 
                   3445:       # A "../" for each directory in /$ac_config_dir.
                   3446:       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
                   3447: 
                   3448:     case "$srcdir" in
                   3449:     .) # No --srcdir option.  We are building in place.
                   3450:       ac_sub_srcdir=$srcdir ;;
                   3451:     /*) # Absolute path.
                   3452:       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
                   3453:     *) # Relative path.
                   3454:       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
                   3455:     esac
                   3456: 
                   3457:     # Check for guested configure; otherwise get Cygnus style configure.
                   3458:     if test -f $ac_sub_srcdir/configure; then
                   3459:       ac_sub_configure=$ac_sub_srcdir/configure
                   3460:     elif test -f $ac_sub_srcdir/configure.in; then
                   3461:       ac_sub_configure=$ac_configure
                   3462:     else
                   3463:       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
                   3464:       ac_sub_configure=
                   3465:     fi
                   3466: 
                   3467:     # The recursion is here.
                   3468:     if test -n "$ac_sub_configure"; then
                   3469: 
                   3470:       # Make the cache file name correct relative to the subdirectory.
                   3471:       case "$cache_file" in
                   3472:       /*) ac_sub_cache_file=$cache_file ;;
                   3473:       *) # Relative path.
                   3474:         ac_sub_cache_file="$ac_dots$cache_file" ;;
                   3475:       esac
                   3476:   case "$ac_given_INSTALL" in
                   3477:         [/$]*) INSTALL="$ac_given_INSTALL" ;;
                   3478:         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
                   3479:         esac
                   3480: 
                   3481:       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
                   3482:       # The eval makes quoting arguments work.
                   3483:       if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
                   3484:       then :
                   3485:       else
                   3486:         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
                   3487:       fi
                   3488:     fi
                   3489: 
                   3490:     cd $ac_popdir
                   3491:   done
                   3492: fi
                   3493: 

E-mail: