Annotation of parser3/configure, revision 1.54

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

E-mail: