Annotation of sql/oracle/configure, revision 1.6

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
1.2       parser     15:   --with-oracleoci-inc[=DIR]      DIR is the Oracle OCI includes directory"
1.1       parser     16: ac_help="$ac_help
1.2       parser     17:   --with-oraclepublic-inc[=DIR]      DIR is the Oracle public includes directory"
1.1       parser     18: ac_help="$ac_help
1.5       paf        19:   --enable-static[=PKGS]  build static libraries [default=no]"
                     20: ac_help="$ac_help
1.1       parser     21:   --enable-shared[=PKGS]  build shared libraries [default=yes]"
                     22: ac_help="$ac_help
                     23:   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
                     24: ac_help="$ac_help
                     25:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
                     26: ac_help="$ac_help
                     27:   --disable-libtool-lock  avoid locking (might break parallel builds)"
                     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.
                    468: ac_unique_file=parser3oracle.C
                    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
                    569: echo "configure:570: checking for a BSD compatible install" >&5
                    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
                    622: echo "configure:623: checking whether build environment is sane" >&5
                    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
                    679: echo "configure:680: checking whether ${MAKE-make} sets \${MAKE}" >&5
                    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.6     ! paf       706: PACKAGE=parser3oracle
1.1       parser    707: 
1.6     ! paf       708: VERSION=3.0b
1.1       parser    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
                    718: echo "configure:719: checking for working aclocal" >&5
                    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
                    731: echo "configure:732: checking for working autoconf" >&5
                    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
                    744: echo "configure:745: checking for working automake" >&5
                    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
                    757: echo "configure:758: checking for working autoheader" >&5
                    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
                    770: echo "configure:771: checking for working makeinfo" >&5
                    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: 
1.2       parser    789: # Check whether --with-oracleoci-inc or --without-oracleoci-inc was given.
1.1       parser    790: if test "${with_oracleoci_inc+set}" = set; then
                    791:   withval="$with_oracleoci_inc"
                    792:   :
                    793: else
                    794:   withval="$ORACLE_HOME/rdbms/demo"
                    795: 
                    796: fi
                    797: 
1.2       parser    798: ORACLE_OCI_INC=$withval
1.1       parser    799: 
                    800: 
1.2       parser    801: if test \! -f "$ORACLE_OCI_INC/oci.h"; then
                    802:        { echo "configure: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" 1>&2; exit 1; }
                    803: fi
                    804: 
                    805: 
                    806: # Check whether --with-oraclepublic-inc or --without-oraclepublic-inc was given.
1.1       parser    807: if test "${with_oraclepublic_inc+set}" = set; then
                    808:   withval="$with_oraclepublic_inc"
                    809:   :
                    810: else
                    811:   withval="$ORACLE_HOME/network/public"
                    812: 
                    813: fi
                    814: 
1.2       parser    815: ORACLE_PUBLIC_INC=$withval
1.1       parser    816: 
                    817: 
1.2       parser    818: if test \! -f "$ORACLE_PUBLIC_INC/nzt.h"; then
                    819:        { echo "configure: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" 1>&2; exit 1; }
                    820: fi
                    821: 
1.1       parser    822: 
                    823: # Find a good install program.  We prefer a C program (faster),
                    824: # so one script is as good as another.  But avoid the broken or
                    825: # incompatible versions:
                    826: # SysV /etc/install, /usr/sbin/install
                    827: # SunOS /usr/etc/install
                    828: # IRIX /sbin/install
                    829: # AIX /bin/install
                    830: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                    831: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                    832: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                    833: # ./install, which can be erroneously created by make from ./install.sh.
                    834: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1.2       parser    835: echo "configure:836: checking for a BSD compatible install" >&5
1.1       parser    836: if test -z "$INSTALL"; then
                    837: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
                    838:   echo $ac_n "(cached) $ac_c" 1>&6
                    839: else
                    840:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
                    841:   for ac_dir in $PATH; do
                    842:     # Account for people who put trailing slashes in PATH elements.
                    843:     case "$ac_dir/" in
                    844:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
                    845:     *)
                    846:       # OSF1 and SCO ODT 3.0 have their own names for install.
                    847:       # Don't use installbsd from OSF since it installs stuff as root
                    848:       # by default.
                    849:       for ac_prog in ginstall scoinst install; do
                    850:         if test -f $ac_dir/$ac_prog; then
                    851:          if test $ac_prog = install &&
                    852:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
                    853:            # AIX install.  It has an incompatible calling convention.
                    854:            :
                    855:          else
                    856:            ac_cv_path_install="$ac_dir/$ac_prog -c"
                    857:            break 2
                    858:          fi
                    859:        fi
                    860:       done
                    861:       ;;
                    862:     esac
                    863:   done
                    864:   IFS="$ac_save_IFS"
                    865: 
                    866: fi
                    867:   if test "${ac_cv_path_install+set}" = set; then
                    868:     INSTALL="$ac_cv_path_install"
                    869:   else
                    870:     # As a last resort, use the slow shell script.  We don't cache a
                    871:     # path for INSTALL within a source directory, because that will
                    872:     # break other packages using the cache if that directory is
                    873:     # removed, or if the path is relative.
                    874:     INSTALL="$ac_install_sh"
                    875:   fi
                    876: fi
                    877: echo "$ac_t""$INSTALL" 1>&6
                    878: 
                    879: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                    880: # It thinks the first close brace ends the variable substitution.
                    881: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                    882: 
                    883: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
                    884: 
                    885: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                    886: 
                    887: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1.2       parser    888: echo "configure:889: checking whether ${MAKE-make} sets \${MAKE}" >&5
1.1       parser    889: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
                    890: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
                    891:   echo $ac_n "(cached) $ac_c" 1>&6
                    892: else
                    893:   cat > conftestmake <<\EOF
                    894: all:
                    895:        @echo 'ac_maketemp="${MAKE}"'
                    896: EOF
                    897: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
                    898: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
                    899: if test -n "$ac_maketemp"; then
                    900:   eval ac_cv_prog_make_${ac_make}_set=yes
                    901: else
                    902:   eval ac_cv_prog_make_${ac_make}_set=no
                    903: fi
                    904: rm -f conftestmake
                    905: fi
                    906: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
                    907:   echo "$ac_t""yes" 1>&6
                    908:   SET_MAKE=
                    909: else
                    910:   echo "$ac_t""no" 1>&6
                    911:   SET_MAKE="MAKE=${MAKE-make}"
                    912: fi
                    913: 
                    914: for ac_prog in mawk gawk nawk awk
                    915: do
                    916: # Extract the first word of "$ac_prog", so it can be a program name with args.
                    917: set dummy $ac_prog; ac_word=$2
                    918: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser    919: echo "configure:920: checking for $ac_word" >&5
1.1       parser    920: if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
                    921:   echo $ac_n "(cached) $ac_c" 1>&6
                    922: else
                    923:   if test -n "$AWK"; then
                    924:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                    925: else
                    926:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                    927:   ac_dummy="$PATH"
                    928:   for ac_dir in $ac_dummy; do
                    929:     test -z "$ac_dir" && ac_dir=.
                    930:     if test -f $ac_dir/$ac_word; then
                    931:       ac_cv_prog_AWK="$ac_prog"
                    932:       break
                    933:     fi
                    934:   done
                    935:   IFS="$ac_save_ifs"
                    936: fi
                    937: fi
                    938: AWK="$ac_cv_prog_AWK"
                    939: if test -n "$AWK"; then
                    940:   echo "$ac_t""$AWK" 1>&6
                    941: else
                    942:   echo "$ac_t""no" 1>&6
                    943: fi
                    944: 
                    945: test -n "$AWK" && break
                    946: done
                    947: 
                    948: 
                    949: ac_ext=C
                    950: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                    951: ac_cpp='$CXXCPP $CPPFLAGS'
                    952: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                    953: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                    954: cross_compiling=$ac_cv_prog_cxx_cross
                    955:  
                    956: for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
                    957: do
                    958: # Extract the first word of "$ac_prog", so it can be a program name with args.
                    959: set dummy $ac_prog; ac_word=$2
                    960: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser    961: echo "configure:962: checking for $ac_word" >&5
1.1       parser    962: if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
                    963:   echo $ac_n "(cached) $ac_c" 1>&6
                    964: else
                    965:   if test -n "$CXX"; then
                    966:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                    967: else
                    968:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                    969:   ac_dummy="$PATH"
                    970:   for ac_dir in $ac_dummy; do
                    971:     test -z "$ac_dir" && ac_dir=.
                    972:     if test -f $ac_dir/$ac_word; then
                    973:       ac_cv_prog_CXX="$ac_prog"
                    974:       break
                    975:     fi
                    976:   done
                    977:   IFS="$ac_save_ifs"
                    978: fi
                    979: fi
                    980: CXX="$ac_cv_prog_CXX"
                    981: if test -n "$CXX"; then
                    982:   echo "$ac_t""$CXX" 1>&6
                    983: else
                    984:   echo "$ac_t""no" 1>&6
                    985: fi
                    986: 
                    987: test -n "$CXX" && break
                    988: done
                    989: test -n "$CXX" || CXX="gcc"
                    990: 
                    991: 
                    992: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1.2       parser    993: echo "configure:994: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1.1       parser    994: 
                    995: ac_ext=C
                    996: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                    997: ac_cpp='$CXXCPP $CPPFLAGS'
                    998: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                    999: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1000: cross_compiling=$ac_cv_prog_cxx_cross
                   1001: 
                   1002: cat > conftest.$ac_ext << EOF
                   1003: 
1.2       parser   1004: #line 1005 "configure"
1.1       parser   1005: #include "confdefs.h"
                   1006: 
                   1007: int main(){return(0);}
                   1008: EOF
1.2       parser   1009: if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       parser   1010:   ac_cv_prog_cxx_works=yes
                   1011:   # If we can't run a trivial program, we are probably using a cross compiler.
                   1012:   if (./conftest; exit) 2>/dev/null; then
                   1013:     ac_cv_prog_cxx_cross=no
                   1014:   else
                   1015:     ac_cv_prog_cxx_cross=yes
                   1016:   fi
                   1017: else
                   1018:   echo "configure: failed program was:" >&5
                   1019:   cat conftest.$ac_ext >&5
                   1020:   ac_cv_prog_cxx_works=no
                   1021: fi
                   1022: rm -fr conftest*
                   1023: ac_ext=C
                   1024: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1025: ac_cpp='$CXXCPP $CPPFLAGS'
                   1026: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1027: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1028: cross_compiling=$ac_cv_prog_cxx_cross
                   1029: 
                   1030: echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
                   1031: if test $ac_cv_prog_cxx_works = no; then
                   1032:   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
                   1033: fi
                   1034: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1.2       parser   1035: echo "configure:1036: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1.1       parser   1036: echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
                   1037: cross_compiling=$ac_cv_prog_cxx_cross
                   1038: 
                   1039: echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1.2       parser   1040: echo "configure:1041: checking whether we are using GNU C++" >&5
1.1       parser   1041: if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
                   1042:   echo $ac_n "(cached) $ac_c" 1>&6
                   1043: else
                   1044:   cat > conftest.C <<EOF
                   1045: #ifdef __GNUC__
                   1046:   yes;
                   1047: #endif
                   1048: EOF
1.2       parser   1049: if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1.1       parser   1050:   ac_cv_prog_gxx=yes
                   1051: else
                   1052:   ac_cv_prog_gxx=no
                   1053: fi
                   1054: fi
                   1055: 
                   1056: echo "$ac_t""$ac_cv_prog_gxx" 1>&6
                   1057: 
                   1058: if test $ac_cv_prog_gxx = yes; then
                   1059:   GXX=yes
                   1060: else
                   1061:   GXX=
                   1062: fi
                   1063: 
                   1064: ac_test_CXXFLAGS="${CXXFLAGS+set}"
                   1065: ac_save_CXXFLAGS="$CXXFLAGS"
                   1066: CXXFLAGS=
                   1067: echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1.2       parser   1068: echo "configure:1069: checking whether ${CXX-g++} accepts -g" >&5
1.1       parser   1069: if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
                   1070:   echo $ac_n "(cached) $ac_c" 1>&6
                   1071: else
                   1072:   echo 'void f(){}' > conftest.cc
                   1073: if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
                   1074:   ac_cv_prog_cxx_g=yes
                   1075: else
                   1076:   ac_cv_prog_cxx_g=no
                   1077: fi
                   1078: rm -f conftest*
                   1079: 
                   1080: fi
                   1081: 
                   1082: echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
                   1083: if test "$ac_test_CXXFLAGS" = set; then
                   1084:   CXXFLAGS="$ac_save_CXXFLAGS"
                   1085: elif test $ac_cv_prog_cxx_g = yes; then
                   1086:   if test "$GXX" = yes; then
                   1087:     CXXFLAGS="-g -O2"
                   1088:   else
                   1089:     CXXFLAGS="-g"
                   1090:   fi
                   1091: else
                   1092:   if test "$GXX" = yes; then
                   1093:     CXXFLAGS="-O2"
                   1094:   else
                   1095:     CXXFLAGS=
                   1096:   fi
                   1097: fi
                   1098: 
                   1099: 
                   1100:   LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
                   1101:   INCLTDL='-I${top_srcdir}/''libltdl'
                   1102: 
                   1103: 
                   1104: 
                   1105: 
                   1106: 
1.5       paf      1107: # Check whether --enable-static or --disable-static was given.
                   1108: if test "${enable_static+set}" = set; then
                   1109:   enableval="$enable_static"
1.1       parser   1110:   p=${PACKAGE-default}
                   1111: case "$enableval" in
1.5       paf      1112: yes) enable_static=yes ;;
                   1113: no) enable_static=no ;;
1.1       parser   1114: *)
1.5       paf      1115:   enable_static=no
1.1       parser   1116:   # Look at the argument we got.  We use all the common list separators.
                   1117:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1118:   for pkg in $enableval; do
                   1119:     if test "X$pkg" = "X$p"; then
1.5       paf      1120:       enable_static=yes
1.1       parser   1121:     fi
                   1122:   done
                   1123:   IFS="$ac_save_ifs"
                   1124:   ;;
                   1125: esac
                   1126: else
1.5       paf      1127:   enable_static=no
1.1       parser   1128: fi
                   1129: 
1.5       paf      1130: # Check whether --enable-shared or --disable-shared was given.
                   1131: if test "${enable_shared+set}" = set; then
                   1132:   enableval="$enable_shared"
1.1       parser   1133:   p=${PACKAGE-default}
                   1134: case "$enableval" in
1.5       paf      1135: yes) enable_shared=yes ;;
                   1136: no) enable_shared=no ;;
1.1       parser   1137: *)
1.5       paf      1138:   enable_shared=no
1.1       parser   1139:   # Look at the argument we got.  We use all the common list separators.
                   1140:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1141:   for pkg in $enableval; do
                   1142:     if test "X$pkg" = "X$p"; then
1.5       paf      1143:       enable_shared=yes
1.1       parser   1144:     fi
                   1145:   done
                   1146:   IFS="$ac_save_ifs"
                   1147:   ;;
                   1148: esac
                   1149: else
1.5       paf      1150:   enable_shared=yes
1.1       parser   1151: fi
                   1152: 
                   1153: # Check whether --enable-fast-install or --disable-fast-install was given.
                   1154: if test "${enable_fast_install+set}" = set; then
                   1155:   enableval="$enable_fast_install"
                   1156:   p=${PACKAGE-default}
                   1157: case "$enableval" in
                   1158: yes) enable_fast_install=yes ;;
                   1159: no) enable_fast_install=no ;;
                   1160: *)
                   1161:   enable_fast_install=no
                   1162:   # Look at the argument we got.  We use all the common list separators.
                   1163:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
                   1164:   for pkg in $enableval; do
                   1165:     if test "X$pkg" = "X$p"; then
                   1166:       enable_fast_install=yes
                   1167:     fi
                   1168:   done
                   1169:   IFS="$ac_save_ifs"
                   1170:   ;;
                   1171: esac
                   1172: else
                   1173:   enable_fast_install=yes
                   1174: fi
                   1175: 
                   1176: 
                   1177: # Make sure we can run config.sub.
                   1178: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
                   1179: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
                   1180: fi
                   1181: 
                   1182: echo $ac_n "checking host system type""... $ac_c" 1>&6
1.2       parser   1183: echo "configure:1184: checking host system type" >&5
1.1       parser   1184: 
                   1185: host_alias=$host
                   1186: case "$host_alias" in
                   1187: NONE)
                   1188:   case $nonopt in
                   1189:   NONE)
                   1190:     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
                   1191:     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
                   1192:     fi ;;
                   1193:   *) host_alias=$nonopt ;;
                   1194:   esac ;;
                   1195: esac
                   1196: 
                   1197: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
                   1198: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1199: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1200: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1201: echo "$ac_t""$host" 1>&6
                   1202: 
                   1203: echo $ac_n "checking build system type""... $ac_c" 1>&6
1.2       parser   1204: echo "configure:1205: checking build system type" >&5
1.1       parser   1205: 
                   1206: build_alias=$build
                   1207: case "$build_alias" in
                   1208: NONE)
                   1209:   case $nonopt in
                   1210:   NONE) build_alias=$host_alias ;;
                   1211:   *) build_alias=$nonopt ;;
                   1212:   esac ;;
                   1213: esac
                   1214: 
                   1215: build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
                   1216: build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1217: build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1218: build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1219: echo "$ac_t""$build" 1>&6
                   1220: 
                   1221: # Extract the first word of "ranlib", so it can be a program name with args.
                   1222: set dummy ranlib; ac_word=$2
                   1223: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser   1224: echo "configure:1225: checking for $ac_word" >&5
1.1       parser   1225: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
                   1226:   echo $ac_n "(cached) $ac_c" 1>&6
                   1227: else
                   1228:   if test -n "$RANLIB"; then
                   1229:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1230: else
                   1231:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1232:   ac_dummy="$PATH"
                   1233:   for ac_dir in $ac_dummy; do
                   1234:     test -z "$ac_dir" && ac_dir=.
                   1235:     if test -f $ac_dir/$ac_word; then
                   1236:       ac_cv_prog_RANLIB="ranlib"
                   1237:       break
                   1238:     fi
                   1239:   done
                   1240:   IFS="$ac_save_ifs"
                   1241:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
                   1242: fi
                   1243: fi
                   1244: RANLIB="$ac_cv_prog_RANLIB"
                   1245: if test -n "$RANLIB"; then
                   1246:   echo "$ac_t""$RANLIB" 1>&6
                   1247: else
                   1248:   echo "$ac_t""no" 1>&6
                   1249: fi
                   1250: 
                   1251: # Extract the first word of "gcc", so it can be a program name with args.
                   1252: set dummy gcc; ac_word=$2
                   1253: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser   1254: echo "configure:1255: checking for $ac_word" >&5
1.1       parser   1255: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1256:   echo $ac_n "(cached) $ac_c" 1>&6
                   1257: else
                   1258:   if test -n "$CC"; then
                   1259:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1260: else
                   1261:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1262:   ac_dummy="$PATH"
                   1263:   for ac_dir in $ac_dummy; do
                   1264:     test -z "$ac_dir" && ac_dir=.
                   1265:     if test -f $ac_dir/$ac_word; then
                   1266:       ac_cv_prog_CC="gcc"
                   1267:       break
                   1268:     fi
                   1269:   done
                   1270:   IFS="$ac_save_ifs"
                   1271: fi
                   1272: fi
                   1273: CC="$ac_cv_prog_CC"
                   1274: if test -n "$CC"; then
                   1275:   echo "$ac_t""$CC" 1>&6
                   1276: else
                   1277:   echo "$ac_t""no" 1>&6
                   1278: fi
                   1279: 
                   1280: if test -z "$CC"; then
                   1281:   # Extract the first word of "cc", so it can be a program name with args.
                   1282: set dummy cc; ac_word=$2
                   1283: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser   1284: echo "configure:1285: checking for $ac_word" >&5
1.1       parser   1285: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1286:   echo $ac_n "(cached) $ac_c" 1>&6
                   1287: else
                   1288:   if test -n "$CC"; then
                   1289:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1290: else
                   1291:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1292:   ac_prog_rejected=no
                   1293:   ac_dummy="$PATH"
                   1294:   for ac_dir in $ac_dummy; do
                   1295:     test -z "$ac_dir" && ac_dir=.
                   1296:     if test -f $ac_dir/$ac_word; then
                   1297:       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
                   1298:         ac_prog_rejected=yes
                   1299:        continue
                   1300:       fi
                   1301:       ac_cv_prog_CC="cc"
                   1302:       break
                   1303:     fi
                   1304:   done
                   1305:   IFS="$ac_save_ifs"
                   1306: if test $ac_prog_rejected = yes; then
                   1307:   # We found a bogon in the path, so make sure we never use it.
                   1308:   set dummy $ac_cv_prog_CC
                   1309:   shift
                   1310:   if test $# -gt 0; then
                   1311:     # We chose a different compiler from the bogus one.
                   1312:     # However, it has the same basename, so the bogon will be chosen
                   1313:     # first if we set CC to just the basename; use the full file name.
                   1314:     shift
                   1315:     set dummy "$ac_dir/$ac_word" "$@"
                   1316:     shift
                   1317:     ac_cv_prog_CC="$@"
                   1318:   fi
                   1319: fi
                   1320: fi
                   1321: fi
                   1322: CC="$ac_cv_prog_CC"
                   1323: if test -n "$CC"; then
                   1324:   echo "$ac_t""$CC" 1>&6
                   1325: else
                   1326:   echo "$ac_t""no" 1>&6
                   1327: fi
                   1328: 
                   1329:   if test -z "$CC"; then
                   1330:     case "`uname -s`" in
                   1331:     *win32* | *WIN32*)
                   1332:       # Extract the first word of "cl", so it can be a program name with args.
                   1333: set dummy cl; ac_word=$2
                   1334: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1.2       parser   1335: echo "configure:1336: checking for $ac_word" >&5
1.1       parser   1336: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
                   1337:   echo $ac_n "(cached) $ac_c" 1>&6
                   1338: else
                   1339:   if test -n "$CC"; then
                   1340:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   1341: else
                   1342:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
                   1343:   ac_dummy="$PATH"
                   1344:   for ac_dir in $ac_dummy; do
                   1345:     test -z "$ac_dir" && ac_dir=.
                   1346:     if test -f $ac_dir/$ac_word; then
                   1347:       ac_cv_prog_CC="cl"
                   1348:       break
                   1349:     fi
                   1350:   done
                   1351:   IFS="$ac_save_ifs"
                   1352: fi
                   1353: fi
                   1354: CC="$ac_cv_prog_CC"
                   1355: if test -n "$CC"; then
                   1356:   echo "$ac_t""$CC" 1>&6
                   1357: else
                   1358:   echo "$ac_t""no" 1>&6
                   1359: fi
                   1360:  ;;
                   1361:     esac
                   1362:   fi
                   1363:   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
                   1364: fi
                   1365: 
                   1366: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1.2       parser   1367: echo "configure:1368: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1.1       parser   1368: 
                   1369: ac_ext=c
                   1370: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1371: ac_cpp='$CPP $CPPFLAGS'
                   1372: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1373: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1374: cross_compiling=$ac_cv_prog_cc_cross
                   1375: 
                   1376: cat > conftest.$ac_ext << EOF
                   1377: 
1.2       parser   1378: #line 1379 "configure"
1.1       parser   1379: #include "confdefs.h"
                   1380: 
                   1381: main(){return(0);}
                   1382: EOF
1.2       parser   1383: if { (eval echo configure:1384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       parser   1384:   ac_cv_prog_cc_works=yes
                   1385:   # If we can't run a trivial program, we are probably using a cross compiler.
                   1386:   if (./conftest; exit) 2>/dev/null; then
                   1387:     ac_cv_prog_cc_cross=no
                   1388:   else
                   1389:     ac_cv_prog_cc_cross=yes
                   1390:   fi
                   1391: else
                   1392:   echo "configure: failed program was:" >&5
                   1393:   cat conftest.$ac_ext >&5
                   1394:   ac_cv_prog_cc_works=no
                   1395: fi
                   1396: rm -fr conftest*
                   1397: ac_ext=C
                   1398: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1399: ac_cpp='$CXXCPP $CPPFLAGS'
                   1400: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1401: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1402: cross_compiling=$ac_cv_prog_cxx_cross
                   1403: 
                   1404: echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
                   1405: if test $ac_cv_prog_cc_works = no; then
                   1406:   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
                   1407: fi
                   1408: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1.2       parser   1409: echo "configure:1410: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1.1       parser   1410: echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
                   1411: cross_compiling=$ac_cv_prog_cc_cross
                   1412: 
                   1413: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1.2       parser   1414: echo "configure:1415: checking whether we are using GNU C" >&5
1.1       parser   1415: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
                   1416:   echo $ac_n "(cached) $ac_c" 1>&6
                   1417: else
                   1418:   cat > conftest.c <<EOF
                   1419: #ifdef __GNUC__
                   1420:   yes;
                   1421: #endif
                   1422: EOF
1.2       parser   1423: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1.1       parser   1424:   ac_cv_prog_gcc=yes
                   1425: else
                   1426:   ac_cv_prog_gcc=no
                   1427: fi
                   1428: fi
                   1429: 
                   1430: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
                   1431: 
                   1432: if test $ac_cv_prog_gcc = yes; then
                   1433:   GCC=yes
                   1434: else
                   1435:   GCC=
                   1436: fi
                   1437: 
                   1438: ac_test_CFLAGS="${CFLAGS+set}"
                   1439: ac_save_CFLAGS="$CFLAGS"
                   1440: CFLAGS=
                   1441: echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1.2       parser   1442: echo "configure:1443: checking whether ${CC-cc} accepts -g" >&5
1.1       parser   1443: if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
                   1444:   echo $ac_n "(cached) $ac_c" 1>&6
                   1445: else
                   1446:   echo 'void f(){}' > conftest.c
                   1447: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
                   1448:   ac_cv_prog_cc_g=yes
                   1449: else
                   1450:   ac_cv_prog_cc_g=no
                   1451: fi
                   1452: rm -f conftest*
                   1453: 
                   1454: fi
                   1455: 
                   1456: echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
                   1457: if test "$ac_test_CFLAGS" = set; then
                   1458:   CFLAGS="$ac_save_CFLAGS"
                   1459: elif test $ac_cv_prog_cc_g = yes; then
                   1460:   if test "$GCC" = yes; then
                   1461:     CFLAGS="-g -O2"
                   1462:   else
                   1463:     CFLAGS="-g"
                   1464:   fi
                   1465: else
                   1466:   if test "$GCC" = yes; then
                   1467:     CFLAGS="-O2"
                   1468:   else
                   1469:     CFLAGS=
                   1470:   fi
                   1471: fi
                   1472: 
                   1473: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   1474: if test "${with_gnu_ld+set}" = set; then
                   1475:   withval="$with_gnu_ld"
                   1476:   test "$withval" = no || with_gnu_ld=yes
                   1477: else
                   1478:   with_gnu_ld=no
                   1479: fi
                   1480: 
                   1481: ac_prog=ld
                   1482: if test "$ac_cv_prog_gcc" = yes; then
                   1483:   # Check if gcc -print-prog-name=ld gives a path.
                   1484:   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1.2       parser   1485: echo "configure:1486: checking for ld used by GCC" >&5
1.1       parser   1486:   ac_prog=`($CC -print-prog-name=ld) 2>&5`
                   1487:   case "$ac_prog" in
                   1488:     # Accept absolute paths.
                   1489:     [\\/]* | [A-Za-z]:[\\/]*)
                   1490:       re_direlt='/[^/][^/]*/\.\./'
                   1491:       # Canonicalize the path of ld
                   1492:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
                   1493:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
                   1494:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
                   1495:       done
                   1496:       test -z "$LD" && LD="$ac_prog"
                   1497:       ;;
                   1498:   "")
                   1499:     # If it fails, then pretend we aren't using GCC.
                   1500:     ac_prog=ld
                   1501:     ;;
                   1502:   *)
                   1503:     # If it is relative, then search for the first ld in PATH.
                   1504:     with_gnu_ld=unknown
                   1505:     ;;
                   1506:   esac
                   1507: elif test "$with_gnu_ld" = yes; then
                   1508:   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1.2       parser   1509: echo "configure:1510: checking for GNU ld" >&5
1.1       parser   1510: else
                   1511:   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1.2       parser   1512: echo "configure:1513: checking for non-GNU ld" >&5
1.1       parser   1513: fi
                   1514: if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
                   1515:   echo $ac_n "(cached) $ac_c" 1>&6
                   1516: else
                   1517:   if test -z "$LD"; then
                   1518:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
                   1519:   for ac_dir in $PATH; do
                   1520:     test -z "$ac_dir" && ac_dir=.
                   1521:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   1522:       ac_cv_path_LD="$ac_dir/$ac_prog"
                   1523:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   1524:       # but apparently some GNU ld's only accept -v.
                   1525:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   1526:       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
                   1527:        test "$with_gnu_ld" != no && break
                   1528:       else
                   1529:        test "$with_gnu_ld" != yes && break
                   1530:       fi
                   1531:     fi
                   1532:   done
                   1533:   IFS="$ac_save_ifs"
                   1534: else
                   1535:   ac_cv_path_LD="$LD" # Let the user override the test with a path.
                   1536: fi
                   1537: fi
                   1538: 
                   1539: LD="$ac_cv_path_LD"
                   1540: if test -n "$LD"; then
                   1541:   echo "$ac_t""$LD" 1>&6
                   1542: else
                   1543:   echo "$ac_t""no" 1>&6
                   1544: fi
                   1545: test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
                   1546: echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1.2       parser   1547: echo "configure:1548: checking if the linker ($LD) is GNU ld" >&5
1.1       parser   1548: if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
                   1549:   echo $ac_n "(cached) $ac_c" 1>&6
                   1550: else
                   1551:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
                   1552: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
                   1553:   ac_cv_prog_gnu_ld=yes
                   1554: else
                   1555:   ac_cv_prog_gnu_ld=no
                   1556: fi
                   1557: fi
                   1558: 
                   1559: echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
                   1560: 
                   1561: 
                   1562: echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1.2       parser   1563: echo "configure:1564: checking for BSD-compatible nm" >&5
1.1       parser   1564: if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
                   1565:   echo $ac_n "(cached) $ac_c" 1>&6
                   1566: else
                   1567:   if test -n "$NM"; then
                   1568:   # Let the user override the test.
                   1569:   ac_cv_path_NM="$NM"
                   1570: else
                   1571:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
                   1572:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
                   1573:     test -z "$ac_dir" && ac_dir=.
                   1574:     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
                   1575:       # Check to see if the nm accepts a BSD-compat flag.
                   1576:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   1577:       #   nm: unknown option "B" ignored
                   1578:       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   1579:        ac_cv_path_NM="$ac_dir/nm -B"
                   1580:        break
                   1581:       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
                   1582:        ac_cv_path_NM="$ac_dir/nm -p"
                   1583:        break
                   1584:       else
                   1585:        ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
                   1586:        continue # so that we can try to find one that supports BSD flags
                   1587:       fi
                   1588:     fi
                   1589:   done
                   1590:   IFS="$ac_save_ifs"
                   1591:   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
                   1592: fi
                   1593: fi
                   1594: 
                   1595: NM="$ac_cv_path_NM"
                   1596: echo "$ac_t""$NM" 1>&6
                   1597: 
                   1598: echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1.2       parser   1599: echo "configure:1600: checking whether ln -s works" >&5
1.1       parser   1600: if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
                   1601:   echo $ac_n "(cached) $ac_c" 1>&6
                   1602: else
                   1603:   rm -f conftestdata
                   1604: if ln -s X conftestdata 2>/dev/null
                   1605: then
                   1606:   rm -f conftestdata
                   1607:   ac_cv_prog_LN_S="ln -s"
                   1608: else
                   1609:   ac_cv_prog_LN_S=ln
                   1610: fi
                   1611: fi
                   1612: LN_S="$ac_cv_prog_LN_S"
                   1613: if test "$ac_cv_prog_LN_S" = "ln -s"; then
                   1614:   echo "$ac_t""yes" 1>&6
                   1615: else
                   1616:   echo "$ac_t""no" 1>&6
                   1617: fi
                   1618: 
                   1619: 
                   1620: case "$target" in
                   1621: NONE) lt_target="$host" ;;
                   1622: *) lt_target="$target" ;;
                   1623: esac
                   1624: 
                   1625: # Check for any special flags to pass to ltconfig.
                   1626: libtool_flags="--cache-file=$cache_file"
                   1627: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
                   1628: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
                   1629: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
                   1630: test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
                   1631: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
                   1632: libtool_flags="$libtool_flags --enable-dlopen"
                   1633: 
                   1634: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   1635: if test "${enable_libtool_lock+set}" = set; then
                   1636:   enableval="$enable_libtool_lock"
                   1637:   :
                   1638: fi
                   1639: 
                   1640: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
                   1641: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
                   1642: 
                   1643: # Some flags need to be propagated to the compiler or linker for good
                   1644: # libtool support.
                   1645: case "$lt_target" in
                   1646: *-*-irix6*)
                   1647:   # Find out which ABI we are using.
1.2       parser   1648:   echo '#line 1649 "configure"' > conftest.$ac_ext
                   1649:   if { (eval echo configure:1650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1.1       parser   1650:     case "`/usr/bin/file conftest.o`" in
                   1651:     *32-bit*)
                   1652:       LD="${LD-ld} -32"
                   1653:       ;;
                   1654:     *N32*)
                   1655:       LD="${LD-ld} -n32"
                   1656:       ;;
                   1657:     *64-bit*)
                   1658:       LD="${LD-ld} -64"
                   1659:       ;;
                   1660:     esac
                   1661:   fi
                   1662:   rm -rf conftest*
                   1663:   ;;
                   1664: 
                   1665: *-*-sco3.2v5*)
                   1666:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   1667:   SAVE_CFLAGS="$CFLAGS"
                   1668:   CFLAGS="$CFLAGS -belf"
                   1669:   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1.2       parser   1670: echo "configure:1671: checking whether the C compiler needs -belf" >&5
1.1       parser   1671: if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
                   1672:   echo $ac_n "(cached) $ac_c" 1>&6
                   1673: else
                   1674:   cat > conftest.$ac_ext <<EOF
1.2       parser   1675: #line 1676 "configure"
1.1       parser   1676: #include "confdefs.h"
                   1677: 
                   1678: int main() {
                   1679: 
                   1680: ; return 0; }
                   1681: EOF
1.2       parser   1682: if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1.1       parser   1683:   rm -rf conftest*
                   1684:   lt_cv_cc_needs_belf=yes
                   1685: else
                   1686:   echo "configure: failed program was:" >&5
                   1687:   cat conftest.$ac_ext >&5
                   1688:   rm -rf conftest*
                   1689:   lt_cv_cc_needs_belf=no
                   1690: fi
                   1691: rm -f conftest*
                   1692: fi
                   1693: 
                   1694: echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
                   1695:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   1696:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   1697:     CFLAGS="$SAVE_CFLAGS"
                   1698:   fi
                   1699:   ;;
                   1700: 
                   1701: 
                   1702: esac
                   1703: 
                   1704: 
                   1705: # Save cache, so that ltconfig can load it
                   1706: cat > confcache <<\EOF
                   1707: # This file is a shell script that caches the results of configure
                   1708: # tests run on this system so they can be shared between configure
                   1709: # scripts and configure runs.  It is not useful on other systems.
                   1710: # If it contains results you don't want to keep, you may remove or edit it.
                   1711: #
                   1712: # By default, configure uses ./config.cache as the cache file,
                   1713: # creating it if it does not exist already.  You can give configure
                   1714: # the --cache-file=FILE option to use a different cache file; that is
                   1715: # what configure does when it calls configure scripts in
                   1716: # subdirectories, so they share the cache.
                   1717: # Giving --cache-file=/dev/null disables caching, for debugging configure.
                   1718: # config.status only pays attention to the cache file if you give it the
                   1719: # --recheck option to rerun configure.
                   1720: #
                   1721: EOF
                   1722: # The following way of writing the cache mishandles newlines in values,
                   1723: # but we know of no workaround that is simple, portable, and efficient.
                   1724: # So, don't put newlines in cache variables' values.
                   1725: # Ultrix sh set writes to stderr and can't be redirected directly,
                   1726: # and sets the high bit in the cache file unless we assign to the vars.
                   1727: (set) 2>&1 |
                   1728:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   1729:   *ac_space=\ *)
                   1730:     # `set' does not quote correctly, so add quotes (double-quote substitution
                   1731:     # turns \\\\ into \\, and sed turns \\ into \).
                   1732:     sed -n \
                   1733:       -e "s/'/'\\\\''/g" \
                   1734:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
                   1735:     ;;
                   1736:   *)
                   1737:     # `set' quotes correctly as required by POSIX, so do not add quotes.
                   1738:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
                   1739:     ;;
                   1740:   esac >> confcache
                   1741: if cmp -s $cache_file confcache; then
                   1742:   :
                   1743: else
                   1744:   if test -w $cache_file; then
                   1745:     echo "updating cache $cache_file"
                   1746:     cat confcache > $cache_file
                   1747:   else
                   1748:     echo "not updating unwritable cache $cache_file"
                   1749:   fi
                   1750: fi
                   1751: rm -f confcache
                   1752: 
                   1753: 
                   1754: # Actually configure libtool.  ac_aux_dir is where install-sh is found.
                   1755: CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
                   1756: LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
                   1757: LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
                   1758: DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
                   1759: ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
                   1760: $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
                   1761: || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
                   1762: 
                   1763: # Reload cache, that may have been modified by ltconfig
                   1764: if test -r "$cache_file"; then
                   1765:   echo "loading cache $cache_file"
                   1766:   . $cache_file
                   1767: else
                   1768:   echo "creating cache $cache_file"
                   1769:   > $cache_file
                   1770: fi
                   1771: 
                   1772: 
                   1773: # This can be used to rebuild libtool when needed
                   1774: LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
                   1775: 
                   1776: # Always use our own libtool.
                   1777: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   1778: 
                   1779: # Redirect the config.log output again, so that the ltconfig log is not
                   1780: # clobbered by the next message.
                   1781: exec 5>>./config.log
                   1782: 
                   1783: subdirs="libltdl"
                   1784: 
                   1785: 
                   1786: 
                   1787: 
                   1788: echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1.2       parser   1789: echo "configure:1790: checking how to run the C++ preprocessor" >&5
1.1       parser   1790: if test -z "$CXXCPP"; then
                   1791: if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
                   1792:   echo $ac_n "(cached) $ac_c" 1>&6
                   1793: else
                   1794:   ac_ext=C
                   1795: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1796: ac_cpp='$CXXCPP $CPPFLAGS'
                   1797: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1798: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1799: cross_compiling=$ac_cv_prog_cxx_cross
                   1800:   CXXCPP="${CXX-g++} -E"
                   1801:   cat > conftest.$ac_ext <<EOF
1.2       parser   1802: #line 1803 "configure"
1.1       parser   1803: #include "confdefs.h"
                   1804: #include <stdlib.h>
                   1805: EOF
                   1806: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.2       parser   1807: { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       parser   1808: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1809: if test -z "$ac_err"; then
                   1810:   :
                   1811: else
                   1812:   echo "$ac_err" >&5
                   1813:   echo "configure: failed program was:" >&5
                   1814:   cat conftest.$ac_ext >&5
                   1815:   rm -rf conftest*
                   1816:   CXXCPP=/lib/cpp
                   1817: fi
                   1818: rm -f conftest*
                   1819:   ac_cv_prog_CXXCPP="$CXXCPP"
                   1820: ac_ext=C
                   1821: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
                   1822: ac_cpp='$CXXCPP $CPPFLAGS'
                   1823: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
                   1824: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
                   1825: cross_compiling=$ac_cv_prog_cxx_cross
                   1826: fi
                   1827: fi
                   1828: CXXCPP="$ac_cv_prog_CXXCPP"
                   1829: echo "$ac_t""$CXXCPP" 1>&6
                   1830: 
                   1831: for ac_hdr in stdio.h \
                   1832: stdlib.h \
                   1833: string.h \
                   1834: setjmp.h \
1.3       paf      1835: ctype.h \
                   1836: setjmp.h
1.1       parser   1837: 
                   1838: do
                   1839: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
                   1840: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1.3       paf      1841: echo "configure:1842: checking for $ac_hdr" >&5
1.1       parser   1842: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
                   1843:   echo $ac_n "(cached) $ac_c" 1>&6
                   1844: else
                   1845:   cat > conftest.$ac_ext <<EOF
1.3       paf      1846: #line 1847 "configure"
1.1       parser   1847: #include "confdefs.h"
                   1848: #include <$ac_hdr>
                   1849: EOF
                   1850: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.3       paf      1851: { (eval echo configure:1852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       parser   1852: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1853: if test -z "$ac_err"; then
                   1854:   rm -rf conftest*
                   1855:   eval "ac_cv_header_$ac_safe=yes"
                   1856: else
                   1857:   echo "$ac_err" >&5
                   1858:   echo "configure: failed program was:" >&5
                   1859:   cat conftest.$ac_ext >&5
                   1860:   rm -rf conftest*
                   1861:   eval "ac_cv_header_$ac_safe=no"
                   1862: fi
                   1863: rm -f conftest*
                   1864: fi
                   1865: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
                   1866:   echo "$ac_t""yes" 1>&6
                   1867:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
                   1868:   cat >> confdefs.h <<EOF
                   1869: #define $ac_tr_hdr 1
                   1870: EOF
                   1871:  
                   1872: else
                   1873:   echo "$ac_t""no" 1>&6
                   1874: fi
                   1875: done
                   1876: 
                   1877: 
1.4       paf      1878: echo $ac_n "checking for BSD setenv/getenv/unsetenv""... $ac_c" 1>&6
                   1879: echo "configure:1880: checking for BSD setenv/getenv/unsetenv" >&5
                   1880: cat > conftest.$ac_ext <<EOF
                   1881: #line 1882 "configure"
                   1882: #include "confdefs.h"
                   1883: #ifdef HAVE_STDLIB_H
                   1884: #      include <stdlib.h>
                   1885: #endif
                   1886: #ifdef HAVE_STRING_H
                   1887: #      include <string.h>
                   1888: #endif
                   1889: 
                   1890: int main() {
                   1891: #define TEST_NAME "oracle-configure-test-var"
                   1892: #define TEST_VALUE "oracle-configure-test-value"
                   1893: int result=setenv(TEST_NAME, TEST_VALUE, 1/*overwrite*/);
                   1894: char *getenv_value=getenv(TEST_NAME);
                   1895: if(!getenv_value)
                   1896:        return 1;
                   1897: if(strcmp(getenv_value, TEST_VALUE)!=0)
                   1898:        return 2;
                   1899: unsetenv(TEST_NAME);
                   1900: 
                   1901: ; return 0; }
                   1902: EOF
                   1903: if { (eval echo configure:1904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
                   1904:   rm -rf conftest*
                   1905:   
                   1906:     echo "$ac_t""yes" 1>&6
                   1907:        cat >> confdefs.h <<\EOF
                   1908: #define HAVE_SETENV 
                   1909: EOF
                   1910: 
                   1911: 
                   1912: else
                   1913:   echo "configure: failed program was:" >&5
                   1914:   cat conftest.$ac_ext >&5
                   1915:   rm -rf conftest*
                   1916:   echo "$ac_t""no" 1>&6
                   1917: 
                   1918:     echo $ac_n "checking for POSIX putenv/getenv""... $ac_c" 1>&6
                   1919: echo "configure:1920: checking for POSIX putenv/getenv" >&5
                   1920:     cat > conftest.$ac_ext <<EOF
                   1921: #line 1922 "configure"
                   1922: #include "confdefs.h"
                   1923: #ifdef HAVE_STDLIB_H
                   1924:     #  include <stdlib.h>
                   1925:     #endif
                   1926:     #ifdef HAVE_STRING_H
                   1927:     #  include <string.h>
                   1928:     #endif
                   1929:     
                   1930: int main() {
                   1931: #define TEST_NAME "oracle-configure-test-var"
                   1932:     #define TEST_VALUE "oracle-configure-test-value"
                   1933:     int result=putenv(TEST_NAME"="TEST_VALUE);
                   1934:     char *getenv_value=getenv(TEST_NAME);
                   1935:     if(!getenv_value)
                   1936:        return 1;
                   1937:     if(strcmp(getenv_value, TEST_NAME)!=0)
                   1938:        return 2;
                   1939:     
                   1940: ; return 0; }
                   1941: EOF
                   1942: if { (eval echo configure:1943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
                   1943:   rm -rf conftest*
                   1944:   
                   1945:         echo "$ac_t""yes" 1>&6
                   1946:        cat >> confdefs.h <<\EOF
                   1947: #define HAVE_PUTENV 
                   1948: EOF
                   1949: 
                   1950:     
                   1951: else
                   1952:   echo "configure: failed program was:" >&5
                   1953:   cat conftest.$ac_ext >&5
                   1954:   rm -rf conftest*
                   1955:   echo "$ac_t""no" 1>&6
                   1956:         { echo "configure: error: "there must be some function to modify environment"" 1>&2; exit 1; }
                   1957:     
                   1958: fi
                   1959: rm -f conftest*
                   1960: 
                   1961: fi
                   1962: rm -f conftest*
                   1963: 
1.1       parser   1964: 
                   1965: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1.4       paf      1966: echo "configure:1967: checking for ANSI C header files" >&5
1.1       parser   1967: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
                   1968:   echo $ac_n "(cached) $ac_c" 1>&6
                   1969: else
                   1970:   cat > conftest.$ac_ext <<EOF
1.4       paf      1971: #line 1972 "configure"
1.1       parser   1972: #include "confdefs.h"
                   1973: #include <stdlib.h>
                   1974: #include <stdarg.h>
                   1975: #include <string.h>
                   1976: #include <float.h>
                   1977: EOF
                   1978: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1.4       paf      1979: { (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1.1       parser   1980: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
                   1981: if test -z "$ac_err"; then
                   1982:   rm -rf conftest*
                   1983:   ac_cv_header_stdc=yes
                   1984: else
                   1985:   echo "$ac_err" >&5
                   1986:   echo "configure: failed program was:" >&5
                   1987:   cat conftest.$ac_ext >&5
                   1988:   rm -rf conftest*
                   1989:   ac_cv_header_stdc=no
                   1990: fi
                   1991: rm -f conftest*
                   1992: 
                   1993: if test $ac_cv_header_stdc = yes; then
                   1994:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   1995: cat > conftest.$ac_ext <<EOF
1.4       paf      1996: #line 1997 "configure"
1.1       parser   1997: #include "confdefs.h"
                   1998: #include <string.h>
                   1999: EOF
                   2000: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2001:   egrep "memchr" >/dev/null 2>&1; then
                   2002:   :
                   2003: else
                   2004:   rm -rf conftest*
                   2005:   ac_cv_header_stdc=no
                   2006: fi
                   2007: rm -f conftest*
                   2008: 
                   2009: fi
                   2010: 
                   2011: if test $ac_cv_header_stdc = yes; then
                   2012:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   2013: cat > conftest.$ac_ext <<EOF
1.4       paf      2014: #line 2015 "configure"
1.1       parser   2015: #include "confdefs.h"
                   2016: #include <stdlib.h>
                   2017: EOF
                   2018: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2019:   egrep "free" >/dev/null 2>&1; then
                   2020:   :
                   2021: else
                   2022:   rm -rf conftest*
                   2023:   ac_cv_header_stdc=no
                   2024: fi
                   2025: rm -f conftest*
                   2026: 
                   2027: fi
                   2028: 
                   2029: if test $ac_cv_header_stdc = yes; then
                   2030:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   2031: if test "$cross_compiling" = yes; then
                   2032:   :
                   2033: else
                   2034:   cat > conftest.$ac_ext <<EOF
1.4       paf      2035: #line 2036 "configure"
1.1       parser   2036: #include "confdefs.h"
                   2037: #ifdef __cplusplus
                   2038: extern "C" void exit(int);
                   2039: #endif
                   2040: #include <ctype.h>
                   2041: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   2042: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   2043: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   2044: int main () { int i; for (i = 0; i < 256; i++)
                   2045: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
                   2046: exit (0); }
                   2047: 
                   2048: EOF
1.4       paf      2049: if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1.1       parser   2050: then
                   2051:   :
                   2052: else
                   2053:   echo "configure: failed program was:" >&5
                   2054:   cat conftest.$ac_ext >&5
                   2055:   rm -fr conftest*
                   2056:   ac_cv_header_stdc=no
                   2057: fi
                   2058: rm -fr conftest*
                   2059: fi
                   2060: 
                   2061: fi
                   2062: fi
                   2063: 
                   2064: echo "$ac_t""$ac_cv_header_stdc" 1>&6
                   2065: if test $ac_cv_header_stdc = yes; then
                   2066:   cat >> confdefs.h <<\EOF
                   2067: #define STDC_HEADERS 1
                   2068: EOF
                   2069: 
                   2070: fi
                   2071: 
                   2072: echo $ac_n "checking for size_t""... $ac_c" 1>&6
1.4       paf      2073: echo "configure:2074: checking for size_t" >&5
1.1       parser   2074: if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
                   2075:   echo $ac_n "(cached) $ac_c" 1>&6
                   2076: else
                   2077:   cat > conftest.$ac_ext <<EOF
1.4       paf      2078: #line 2079 "configure"
1.1       parser   2079: #include "confdefs.h"
                   2080: #include <sys/types.h>
                   2081: #if STDC_HEADERS
                   2082: #include <stdlib.h>
                   2083: #include <stddef.h>
                   2084: #endif
                   2085: EOF
                   2086: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   2087:   egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
                   2088:   rm -rf conftest*
                   2089:   ac_cv_type_size_t=yes
                   2090: else
                   2091:   rm -rf conftest*
                   2092:   ac_cv_type_size_t=no
                   2093: fi
                   2094: rm -f conftest*
                   2095: 
                   2096: fi
                   2097: echo "$ac_t""$ac_cv_type_size_t" 1>&6
                   2098: if test $ac_cv_type_size_t = no; then
                   2099:   cat >> confdefs.h <<\EOF
                   2100: #define size_t unsigned
                   2101: EOF
                   2102: 
                   2103: fi
                   2104: 
                   2105: 
                   2106: 
                   2107: 
                   2108: trap '' 1 2 15
                   2109: cat > confcache <<\EOF
                   2110: # This file is a shell script that caches the results of configure
                   2111: # tests run on this system so they can be shared between configure
                   2112: # scripts and configure runs.  It is not useful on other systems.
                   2113: # If it contains results you don't want to keep, you may remove or edit it.
                   2114: #
                   2115: # By default, configure uses ./config.cache as the cache file,
                   2116: # creating it if it does not exist already.  You can give configure
                   2117: # the --cache-file=FILE option to use a different cache file; that is
                   2118: # what configure does when it calls configure scripts in
                   2119: # subdirectories, so they share the cache.
                   2120: # Giving --cache-file=/dev/null disables caching, for debugging configure.
                   2121: # config.status only pays attention to the cache file if you give it the
                   2122: # --recheck option to rerun configure.
                   2123: #
                   2124: EOF
                   2125: # The following way of writing the cache mishandles newlines in values,
                   2126: # but we know of no workaround that is simple, portable, and efficient.
                   2127: # So, don't put newlines in cache variables' values.
                   2128: # Ultrix sh set writes to stderr and can't be redirected directly,
                   2129: # and sets the high bit in the cache file unless we assign to the vars.
                   2130: (set) 2>&1 |
                   2131:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   2132:   *ac_space=\ *)
                   2133:     # `set' does not quote correctly, so add quotes (double-quote substitution
                   2134:     # turns \\\\ into \\, and sed turns \\ into \).
                   2135:     sed -n \
                   2136:       -e "s/'/'\\\\''/g" \
                   2137:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
                   2138:     ;;
                   2139:   *)
                   2140:     # `set' quotes correctly as required by POSIX, so do not add quotes.
                   2141:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
                   2142:     ;;
                   2143:   esac >> confcache
                   2144: if cmp -s $cache_file confcache; then
                   2145:   :
                   2146: else
                   2147:   if test -w $cache_file; then
                   2148:     echo "updating cache $cache_file"
                   2149:     cat confcache > $cache_file
                   2150:   else
                   2151:     echo "not updating unwritable cache $cache_file"
                   2152:   fi
                   2153: fi
                   2154: rm -f confcache
                   2155: 
                   2156: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
                   2157: 
                   2158: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   2159: # Let make expand exec_prefix.
                   2160: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   2161: 
                   2162: # Any assignment to VPATH causes Sun make to only execute
                   2163: # the first set of double-colon rules, so remove it if not needed.
                   2164: # If there is a colon in the path, we need to keep it.
                   2165: if test "x$srcdir" = x.; then
                   2166:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
                   2167: fi
                   2168: 
                   2169: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
                   2170: 
                   2171: DEFS=-DHAVE_CONFIG_H
                   2172: 
                   2173: # Without the "./", some shells look in PATH for config.status.
                   2174: : ${CONFIG_STATUS=./config.status}
                   2175: 
                   2176: echo creating $CONFIG_STATUS
                   2177: rm -f $CONFIG_STATUS
                   2178: cat > $CONFIG_STATUS <<EOF
                   2179: #! /bin/sh
                   2180: # Generated automatically by configure.
                   2181: # Run this file to recreate the current configuration.
                   2182: # This directory was configured as follows,
                   2183: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   2184: #
                   2185: # $0 $ac_configure_args
                   2186: #
                   2187: # Compiler output produced by configure, useful for debugging
                   2188: # configure, is in ./config.log if it exists.
                   2189: 
                   2190: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
                   2191: for ac_option
                   2192: do
                   2193:   case "\$ac_option" in
                   2194:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   2195:     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
                   2196:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
                   2197:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
                   2198:     echo "$CONFIG_STATUS generated by autoconf version 2.13"
                   2199:     exit 0 ;;
                   2200:   -help | --help | --hel | --he | --h)
                   2201:     echo "\$ac_cs_usage"; exit 0 ;;
                   2202:   *) echo "\$ac_cs_usage"; exit 1 ;;
                   2203:   esac
                   2204: done
                   2205: 
                   2206: ac_given_srcdir=$srcdir
                   2207: ac_given_INSTALL="$INSTALL"
                   2208: 
                   2209: trap 'rm -fr `echo "libltdl/Makefile Makefile config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
                   2210: EOF
                   2211: cat >> $CONFIG_STATUS <<EOF
                   2212: 
                   2213: # Protect against being on the right side of a sed subst in config.status.
                   2214: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
                   2215:  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
                   2216: $ac_vpsub
                   2217: $extrasub
                   2218: s%@SHELL@%$SHELL%g
                   2219: s%@CFLAGS@%$CFLAGS%g
                   2220: s%@CPPFLAGS@%$CPPFLAGS%g
                   2221: s%@CXXFLAGS@%$CXXFLAGS%g
                   2222: s%@FFLAGS@%$FFLAGS%g
                   2223: s%@DEFS@%$DEFS%g
                   2224: s%@LDFLAGS@%$LDFLAGS%g
                   2225: s%@LIBS@%$LIBS%g
                   2226: s%@exec_prefix@%$exec_prefix%g
                   2227: s%@prefix@%$prefix%g
                   2228: s%@program_transform_name@%$program_transform_name%g
                   2229: s%@bindir@%$bindir%g
                   2230: s%@sbindir@%$sbindir%g
                   2231: s%@libexecdir@%$libexecdir%g
                   2232: s%@datadir@%$datadir%g
                   2233: s%@sysconfdir@%$sysconfdir%g
                   2234: s%@sharedstatedir@%$sharedstatedir%g
                   2235: s%@localstatedir@%$localstatedir%g
                   2236: s%@libdir@%$libdir%g
                   2237: s%@includedir@%$includedir%g
                   2238: s%@oldincludedir@%$oldincludedir%g
                   2239: s%@infodir@%$infodir%g
                   2240: s%@mandir@%$mandir%g
                   2241: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
                   2242: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
                   2243: s%@INSTALL_DATA@%$INSTALL_DATA%g
                   2244: s%@PACKAGE@%$PACKAGE%g
                   2245: s%@VERSION@%$VERSION%g
                   2246: s%@ACLOCAL@%$ACLOCAL%g
                   2247: s%@AUTOCONF@%$AUTOCONF%g
                   2248: s%@AUTOMAKE@%$AUTOMAKE%g
                   2249: s%@AUTOHEADER@%$AUTOHEADER%g
                   2250: s%@MAKEINFO@%$MAKEINFO%g
                   2251: s%@SET_MAKE@%$SET_MAKE%g
1.2       parser   2252: s%@ORACLE_OCI_INC@%$ORACLE_OCI_INC%g
                   2253: s%@ORACLE_PUBLIC_INC@%$ORACLE_PUBLIC_INC%g
1.1       parser   2254: s%@AWK@%$AWK%g
                   2255: s%@CXX@%$CXX%g
                   2256: s%@INCLTDL@%$INCLTDL%g
                   2257: s%@LIBLTDL@%$LIBLTDL%g
                   2258: s%@LIBADD_DL@%$LIBADD_DL%g
                   2259: s%@host@%$host%g
                   2260: s%@host_alias@%$host_alias%g
                   2261: s%@host_cpu@%$host_cpu%g
                   2262: s%@host_vendor@%$host_vendor%g
                   2263: s%@host_os@%$host_os%g
                   2264: s%@build@%$build%g
                   2265: s%@build_alias@%$build_alias%g
                   2266: s%@build_cpu@%$build_cpu%g
                   2267: s%@build_vendor@%$build_vendor%g
                   2268: s%@build_os@%$build_os%g
                   2269: s%@RANLIB@%$RANLIB%g
                   2270: s%@CC@%$CC%g
                   2271: s%@LN_S@%$LN_S%g
                   2272: s%@LIBTOOL@%$LIBTOOL%g
                   2273: s%@subdirs@%$subdirs%g
                   2274: s%@CXXCPP@%$CXXCPP%g
                   2275: 
                   2276: CEOF
                   2277: EOF
                   2278: 
                   2279: cat >> $CONFIG_STATUS <<\EOF
                   2280: 
                   2281: # Split the substitutions into bite-sized pieces for seds with
                   2282: # small command number limits, like on Digital OSF/1 and HP-UX.
                   2283: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
                   2284: ac_file=1 # Number of current file.
                   2285: ac_beg=1 # First line for current file.
                   2286: ac_end=$ac_max_sed_cmds # Line after last line for current file.
                   2287: ac_more_lines=:
                   2288: ac_sed_cmds=""
                   2289: while $ac_more_lines; do
                   2290:   if test $ac_beg -gt 1; then
                   2291:     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
                   2292:   else
                   2293:     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
                   2294:   fi
                   2295:   if test ! -s conftest.s$ac_file; then
                   2296:     ac_more_lines=false
                   2297:     rm -f conftest.s$ac_file
                   2298:   else
                   2299:     if test -z "$ac_sed_cmds"; then
                   2300:       ac_sed_cmds="sed -f conftest.s$ac_file"
                   2301:     else
                   2302:       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
                   2303:     fi
                   2304:     ac_file=`expr $ac_file + 1`
                   2305:     ac_beg=$ac_end
                   2306:     ac_end=`expr $ac_end + $ac_max_sed_cmds`
                   2307:   fi
                   2308: done
                   2309: if test -z "$ac_sed_cmds"; then
                   2310:   ac_sed_cmds=cat
                   2311: fi
                   2312: EOF
                   2313: 
                   2314: cat >> $CONFIG_STATUS <<EOF
                   2315: 
                   2316: CONFIG_FILES=\${CONFIG_FILES-"libltdl/Makefile Makefile"}
                   2317: EOF
                   2318: cat >> $CONFIG_STATUS <<\EOF
                   2319: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
                   2320:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   2321:   case "$ac_file" in
                   2322:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   2323:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   2324:   *) ac_file_in="${ac_file}.in" ;;
                   2325:   esac
                   2326: 
                   2327:   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
                   2328: 
                   2329:   # Remove last slash and all that follows it.  Not all systems have dirname.
                   2330:   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   2331:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   2332:     # The file is in a subdirectory.
                   2333:     test ! -d "$ac_dir" && mkdir "$ac_dir"
                   2334:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
                   2335:     # A "../" for each directory in $ac_dir_suffix.
                   2336:     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
                   2337:   else
                   2338:     ac_dir_suffix= ac_dots=
                   2339:   fi
                   2340: 
                   2341:   case "$ac_given_srcdir" in
                   2342:   .)  srcdir=.
                   2343:       if test -z "$ac_dots"; then top_srcdir=.
                   2344:       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
                   2345:   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
                   2346:   *) # Relative path.
                   2347:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
                   2348:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
                   2349:   esac
                   2350: 
                   2351:   case "$ac_given_INSTALL" in
                   2352:   [/$]*) INSTALL="$ac_given_INSTALL" ;;
                   2353:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
                   2354:   esac
                   2355: 
                   2356:   echo creating "$ac_file"
                   2357:   rm -f "$ac_file"
                   2358:   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
                   2359:   case "$ac_file" in
                   2360:   *Makefile*) ac_comsub="1i\\
                   2361: # $configure_input" ;;
                   2362:   *) ac_comsub= ;;
                   2363:   esac
                   2364: 
                   2365:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   2366:   sed -e "$ac_comsub
                   2367: s%@configure_input@%$configure_input%g
                   2368: s%@srcdir@%$srcdir%g
                   2369: s%@top_srcdir@%$top_srcdir%g
                   2370: s%@INSTALL@%$INSTALL%g
                   2371: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
                   2372: fi; done
                   2373: rm -f conftest.s*
                   2374: 
                   2375: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   2376: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   2377: #
                   2378: # ac_d sets the value in "#define NAME VALUE" lines.
                   2379: ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   2380: ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
                   2381: ac_dC='\3'
                   2382: ac_dD='%g'
                   2383: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
                   2384: ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   2385: ac_uB='\([     ]\)%\1#\2define\3'
                   2386: ac_uC=' '
                   2387: ac_uD='\4%g'
                   2388: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   2389: ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   2390: ac_eB='$%\1#\2define\3'
                   2391: ac_eC=' '
                   2392: ac_eD='%g'
                   2393: 
                   2394: if test "${CONFIG_HEADERS+set}" != set; then
                   2395: EOF
                   2396: cat >> $CONFIG_STATUS <<EOF
                   2397:   CONFIG_HEADERS="config_auto.h"
                   2398: EOF
                   2399: cat >> $CONFIG_STATUS <<\EOF
                   2400: fi
                   2401: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
                   2402:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   2403:   case "$ac_file" in
                   2404:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
                   2405:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
                   2406:   *) ac_file_in="${ac_file}.in" ;;
                   2407:   esac
                   2408: 
                   2409:   echo creating $ac_file
                   2410: 
                   2411:   rm -f conftest.frag conftest.in conftest.out
                   2412:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
                   2413:   cat $ac_file_inputs > conftest.in
                   2414: 
                   2415: EOF
                   2416: 
                   2417: # Transform confdefs.h into a sed script conftest.vals that substitutes
                   2418: # the proper values into config.h.in to produce config.h.  And first:
                   2419: # Protect against being on the right side of a sed subst in config.status.
                   2420: # Protect against being in an unquoted here document in config.status.
                   2421: rm -f conftest.vals
                   2422: cat > conftest.hdr <<\EOF
                   2423: s/[\\&%]/\\&/g
                   2424: s%[\\$`]%\\&%g
                   2425: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
                   2426: s%ac_d%ac_u%gp
                   2427: s%ac_u%ac_e%gp
                   2428: EOF
                   2429: sed -n -f conftest.hdr confdefs.h > conftest.vals
                   2430: rm -f conftest.hdr
                   2431: 
                   2432: # This sed command replaces #undef with comments.  This is necessary, for
                   2433: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   2434: # on some systems where configure will not decide to define it.
                   2435: cat >> conftest.vals <<\EOF
                   2436: s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
                   2437: EOF
                   2438: 
                   2439: # Break up conftest.vals because some shells have a limit on
                   2440: # the size of here documents, and old seds have small limits too.
                   2441: 
                   2442: rm -f conftest.tail
                   2443: while :
                   2444: do
                   2445:   ac_lines=`grep -c . conftest.vals`
                   2446:   # grep -c gives empty output for an empty file on some AIX systems.
                   2447:   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
                   2448:   # Write a limited-size here document to conftest.frag.
                   2449:   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
                   2450:   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
                   2451:   echo 'CEOF
                   2452:   sed -f conftest.frag conftest.in > conftest.out
                   2453:   rm -f conftest.in
                   2454:   mv conftest.out conftest.in
                   2455: ' >> $CONFIG_STATUS
                   2456:   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
                   2457:   rm -f conftest.vals
                   2458:   mv conftest.tail conftest.vals
                   2459: done
                   2460: rm -f conftest.vals
                   2461: 
                   2462: cat >> $CONFIG_STATUS <<\EOF
                   2463:   rm -f conftest.frag conftest.h
                   2464:   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
                   2465:   cat conftest.in >> conftest.h
                   2466:   rm -f conftest.in
                   2467:   if cmp -s $ac_file conftest.h 2>/dev/null; then
                   2468:     echo "$ac_file is unchanged"
                   2469:     rm -f conftest.h
                   2470:   else
                   2471:     # Remove last slash and all that follows it.  Not all systems have dirname.
                   2472:       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
                   2473:       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
                   2474:       # The file is in a subdirectory.
                   2475:       test ! -d "$ac_dir" && mkdir "$ac_dir"
                   2476:     fi
                   2477:     rm -f $ac_file
                   2478:     mv conftest.h $ac_file
                   2479:   fi
                   2480: fi; done
                   2481: 
                   2482: EOF
                   2483: cat >> $CONFIG_STATUS <<EOF
                   2484: 
                   2485: 
                   2486: EOF
                   2487: cat >> $CONFIG_STATUS <<\EOF
                   2488: test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
                   2489: 
                   2490: exit 0
                   2491: EOF
                   2492: chmod +x $CONFIG_STATUS
                   2493: rm -fr confdefs* $ac_clean_files
                   2494: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
                   2495: 
                   2496: if test "$no_recursion" != yes; then
                   2497: 
                   2498:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   2499:   ac_sub_configure_args=
                   2500:   ac_prev=
                   2501:   for ac_arg in $ac_configure_args; do
                   2502:     if test -n "$ac_prev"; then
                   2503:       ac_prev=
                   2504:       continue
                   2505:     fi
                   2506:     case "$ac_arg" in
                   2507:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   2508:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   2509:       ac_prev=cache_file ;;
                   2510:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   2511:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                   2512:       ;;
                   2513:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   2514:       ac_prev=srcdir ;;
                   2515:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   2516:       ;;
                   2517:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   2518:     esac
                   2519:   done
                   2520: 
                   2521:   for ac_config_dir in libltdl; do
                   2522: 
                   2523:     # Do not complain, so a configure script can configure whichever
                   2524:     # parts of a large source tree are present.
                   2525:     if test ! -d $srcdir/$ac_config_dir; then
                   2526:       continue
                   2527:     fi
                   2528: 
                   2529:     echo configuring in $ac_config_dir
                   2530: 
                   2531:     case "$srcdir" in
                   2532:     .) ;;
                   2533:     *)
                   2534:       if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
                   2535:       else
                   2536:         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
                   2537:       fi
                   2538:       ;;
                   2539:     esac
                   2540: 
                   2541:     ac_popdir=`pwd`
                   2542:     cd $ac_config_dir
                   2543: 
                   2544:       # A "../" for each directory in /$ac_config_dir.
                   2545:       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
                   2546: 
                   2547:     case "$srcdir" in
                   2548:     .) # No --srcdir option.  We are building in place.
                   2549:       ac_sub_srcdir=$srcdir ;;
                   2550:     /*) # Absolute path.
                   2551:       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
                   2552:     *) # Relative path.
                   2553:       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
                   2554:     esac
                   2555: 
                   2556:     # Check for guested configure; otherwise get Cygnus style configure.
                   2557:     if test -f $ac_sub_srcdir/configure; then
                   2558:       ac_sub_configure=$ac_sub_srcdir/configure
                   2559:     elif test -f $ac_sub_srcdir/configure.in; then
                   2560:       ac_sub_configure=$ac_configure
                   2561:     else
                   2562:       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
                   2563:       ac_sub_configure=
                   2564:     fi
                   2565: 
                   2566:     # The recursion is here.
                   2567:     if test -n "$ac_sub_configure"; then
                   2568: 
                   2569:       # Make the cache file name correct relative to the subdirectory.
                   2570:       case "$cache_file" in
                   2571:       /*) ac_sub_cache_file=$cache_file ;;
                   2572:       *) # Relative path.
                   2573:         ac_sub_cache_file="$ac_dots$cache_file" ;;
                   2574:       esac
                   2575:   case "$ac_given_INSTALL" in
                   2576:         [/$]*) INSTALL="$ac_given_INSTALL" ;;
                   2577:         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
                   2578:         esac
                   2579: 
                   2580:       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
                   2581:       # The eval makes quoting arguments work.
                   2582:       if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
                   2583:       then :
                   2584:       else
                   2585:         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
                   2586:       fi
                   2587:     fi
                   2588: 
                   2589:     cd $ac_popdir
                   2590:   done
                   2591: fi
                   2592: 

E-mail: