Annotation of parser3/src/sql/oracle/configure, revision 1.3

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

E-mail: