Annotation of sql/pgsql/libltdl/configure, revision 1.2

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

E-mail: