Annotation of parser3/configure, revision 1.130

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.128     moko        3: # Generated by GNU Autoconf 2.59 for parser 3.4.2b.
1.1       paf         4: #
1.86      paf         5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       paf         6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.62      paf         8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
1.86      paf        22: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf        23: 
                     24: # Support unset when possible.
1.86      paf        25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf        26:   as_unset=unset
                     27: else
                     28:   as_unset=false
                     29: fi
                     30: 
                     31: 
                     32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
                     34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
                     39: for as_var in \
                     40:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                     41:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                     42:   LC_TELEPHONE LC_TIME
                     43: do
1.86      paf        44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf        45:     eval $as_var=C; export $as_var
                     46:   else
                     47:     $as_unset $as_var
                     48:   fi
                     49: done
                     50: 
                     51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
                     53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
                     58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                     59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
                     65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
                     67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
                     69:         X"$0" : 'X\(/\)$' \| \
                     70:         .     : '\(.\)' 2>/dev/null ||
                     71: echo X/"$0" |
                     72:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     73:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     74:          /^X\/\(\/\).*/{ s//\1/; q; }
                     75:          s/.*/./; q'`
                     76: 
                     77: 
                     78: # PATH needs CR, and LINENO needs CR and PATH.
                     79: # Avoid depending upon Character Ranges.
                     80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     83: as_cr_digits='0123456789'
                     84: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     85: 
                     86: # The user is always right.
                     87: if test "${PATH_SEPARATOR+set}" != set; then
                     88:   echo "#! /bin/sh" >conf$$.sh
                     89:   echo  "exit 0"   >>conf$$.sh
                     90:   chmod +x conf$$.sh
                     91:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     92:     PATH_SEPARATOR=';'
                     93:   else
                     94:     PATH_SEPARATOR=:
                     95:   fi
                     96:   rm -f conf$$.sh
                     97: fi
                     98: 
                     99: 
                    100:   as_lineno_1=$LINENO
                    101:   as_lineno_2=$LINENO
                    102:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    103:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    104:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    105:   # Find who we are.  Look in the path if we contain no path at all
                    106:   # relative or not.
                    107:   case $0 in
                    108:     *[\\/]* ) as_myself=$0 ;;
                    109:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    110: for as_dir in $PATH
                    111: do
                    112:   IFS=$as_save_IFS
                    113:   test -z "$as_dir" && as_dir=.
                    114:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    115: done
                    116: 
                    117:        ;;
                    118:   esac
                    119:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    120:   # in which case we are not to be found in the path.
                    121:   if test "x$as_myself" = x; then
                    122:     as_myself=$0
                    123:   fi
                    124:   if test ! -f "$as_myself"; then
                    125:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    126:    { (exit 1); exit 1; }; }
                    127:   fi
                    128:   case $CONFIG_SHELL in
                    129:   '')
                    130:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    132: do
                    133:   IFS=$as_save_IFS
                    134:   test -z "$as_dir" && as_dir=.
                    135:   for as_base in sh bash ksh sh5; do
                    136:         case $as_dir in
                    137:         /*)
                    138:           if ("$as_dir/$as_base" -c '
                    139:   as_lineno_1=$LINENO
                    140:   as_lineno_2=$LINENO
                    141:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    142:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    143:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    144:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                    145:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                    146:             CONFIG_SHELL=$as_dir/$as_base
                    147:             export CONFIG_SHELL
                    148:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    149:           fi;;
                    150:         esac
                    151:        done
                    152: done
                    153: ;;
                    154:   esac
                    155: 
                    156:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    157:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    158:   # line-number line before each line; the second 'sed' does the real
                    159:   # work.  The second script uses 'N' to pair each line-number line
                    160:   # with the numbered line, and appends trailing '-' during
                    161:   # substitution so that $LINENO is not a special case at line end.
                    162:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    163:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    164:   sed '=' <$as_myself |
                    165:     sed '
                    166:       N
                    167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    170:       t loop
                    171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
                    173:     ' >$as_me.lineno &&
                    174:   chmod +x $as_me.lineno ||
                    175:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    176:    { (exit 1); exit 1; }; }
                    177: 
                    178:   # Don't try to exec as it changes $[0], causing all sort of problems
                    179:   # (the dirname of $[0] is not the place where we might find the
                    180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
                    182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
                    186: 
                    187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    188:   *c*,-n*) ECHO_N= ECHO_C='
                    189: ' ECHO_T='     ' ;;
                    190:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    191:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    192: esac
                    193: 
                    194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
                    196: else
                    197:   as_expr=false
                    198: fi
                    199: 
                    200: rm -f conf$$ conf$$.exe conf$$.file
                    201: echo >conf$$.file
                    202: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    203:   # We could just check for DJGPP; but this test a) works b) is more generic
                    204:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    205:   if test -f conf$$.exe; then
                    206:     # Don't use ln at all; we don't have any links
                    207:     as_ln_s='cp -p'
                    208:   else
                    209:     as_ln_s='ln -s'
                    210:   fi
                    211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
                    213: else
                    214:   as_ln_s='cp -p'
                    215: fi
                    216: rm -f conf$$ conf$$.exe conf$$.file
                    217: 
                    218: if mkdir -p . 2>/dev/null; then
                    219:   as_mkdir_p=:
                    220: else
1.86      paf       221:   test -d ./-p && rmdir ./-p
1.62      paf       222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
1.86      paf       228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       229: 
                    230: # Sed expression to map a string onto a valid variable name.
1.86      paf       231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
1.128     moko      243: lt_ltdl_dir='src/lib/ltdl'
                    244: 
                    245: SHELL=${CONFIG_SHELL-/bin/sh}
                    246: 
                    247: lt_dlopen_dir="$lt_ltdl_dir"
                    248: 
1.1       paf       249: 
1.62      paf       250: # Name of the host.
                    251: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    252: # so uname gets run too.
                    253: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    254: 
                    255: exec 6>&1
                    256: 
                    257: #
                    258: # Initializations.
                    259: #
1.1       paf       260: ac_default_prefix=/usr/local
1.62      paf       261: ac_config_libobj_dir=.
                    262: cross_compiling=no
                    263: subdirs=
                    264: MFLAGS=
                    265: MAKEFLAGS=
                    266: SHELL=${CONFIG_SHELL-/bin/sh}
                    267: 
                    268: # Maximum number of lines to put in a shell here document.
                    269: # This variable seems obsolete.  It should probably be removed, and
                    270: # only ac_max_sed_lines should be used.
                    271: : ${ac_max_here_lines=38}
                    272: 
                    273: # Identity of this package.
1.128     moko      274: PACKAGE_NAME='parser'
                    275: PACKAGE_TARNAME='parser'
                    276: PACKAGE_VERSION='3.4.2b'
                    277: PACKAGE_STRING='parser 3.4.2b'
                    278: PACKAGE_BUGREPORT=''
1.62      paf       279: 
                    280: ac_unique_file="README"
                    281: # Factoring default headers for most tests.
                    282: ac_includes_default="\
                    283: #include <stdio.h>
                    284: #if HAVE_SYS_TYPES_H
                    285: # include <sys/types.h>
                    286: #endif
                    287: #if HAVE_SYS_STAT_H
                    288: # include <sys/stat.h>
                    289: #endif
                    290: #if STDC_HEADERS
                    291: # include <stdlib.h>
                    292: # include <stddef.h>
                    293: #else
                    294: # if HAVE_STDLIB_H
                    295: #  include <stdlib.h>
                    296: # endif
                    297: #endif
                    298: #if HAVE_STRING_H
                    299: # if !STDC_HEADERS && HAVE_MEMORY_H
                    300: #  include <memory.h>
                    301: # endif
                    302: # include <string.h>
                    303: #endif
                    304: #if HAVE_STRINGS_H
                    305: # include <strings.h>
                    306: #endif
                    307: #if HAVE_INTTYPES_H
                    308: # include <inttypes.h>
                    309: #else
                    310: # if HAVE_STDINT_H
                    311: #  include <stdint.h>
                    312: # endif
                    313: #endif
                    314: #if HAVE_UNISTD_H
                    315: # include <unistd.h>
                    316: #endif"
                    317: 
1.128     moko      318: ac_subdirs_all="$ac_subdirs_all src/lib/ltdl"
                    319: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar P3S build build_cpu build_vendor build_os host host_cpu host_vendor host_os YACC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE dll_extension CPP_LIBS GC_LIBS PCRE_INCLUDES PCRE_LIBS XML_INCLUDES XML_LIBS MIME_INCLUDES MIME_LIBS APACHE APACHE_INC APACHE_CFLAGS COMPILE_APACHE_MODULE_TRUE COMPILE_APACHE_MODULE_FALSE AS ac_ct_AS DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB MANIFEST_TOOL ac_ct_MANIFEST_TOOL DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CXXCPP LIBLTDL LTDLDEPS LTDLINCL INCLTDL LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN LIBADD_DL sys_symbol_underscore ARGZ_H INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE subdirs LT_CONFIG_H LTDLOPEN LIBOBJS LTLIBOBJS ltdl_LIBOBJS ltdl_LTLIBOBJS'
1.62      paf       320: ac_subst_files=''
1.1       paf       321: 
                    322: # Initialize some variables set by options.
1.62      paf       323: ac_init_help=
                    324: ac_init_version=false
1.1       paf       325: # The variables have the same names as the options, with
                    326: # dashes changed to underlines.
1.62      paf       327: cache_file=/dev/null
1.1       paf       328: exec_prefix=NONE
                    329: no_create=
                    330: no_recursion=
                    331: prefix=NONE
                    332: program_prefix=NONE
                    333: program_suffix=NONE
                    334: program_transform_name=s,x,x,
                    335: silent=
                    336: site=
                    337: srcdir=
                    338: verbose=
                    339: x_includes=NONE
                    340: x_libraries=NONE
1.62      paf       341: 
                    342: # Installation directory options.
                    343: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    344: # and all the variables that are supposed to be based on exec_prefix
                    345: # by default will actually change.
                    346: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       paf       347: bindir='${exec_prefix}/bin'
                    348: sbindir='${exec_prefix}/sbin'
                    349: libexecdir='${exec_prefix}/libexec'
                    350: datadir='${prefix}/share'
                    351: sysconfdir='${prefix}/etc'
                    352: sharedstatedir='${prefix}/com'
                    353: localstatedir='${prefix}/var'
                    354: libdir='${exec_prefix}/lib'
                    355: includedir='${prefix}/include'
                    356: oldincludedir='/usr/include'
                    357: infodir='${prefix}/info'
                    358: mandir='${prefix}/man'
                    359: 
                    360: ac_prev=
                    361: for ac_option
                    362: do
                    363:   # If the previous option needs an argument, assign it.
                    364:   if test -n "$ac_prev"; then
                    365:     eval "$ac_prev=\$ac_option"
                    366:     ac_prev=
                    367:     continue
                    368:   fi
                    369: 
1.62      paf       370:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       paf       371: 
                    372:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    373: 
1.62      paf       374:   case $ac_option in
1.1       paf       375: 
                    376:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    377:     ac_prev=bindir ;;
                    378:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       379:     bindir=$ac_optarg ;;
1.1       paf       380: 
                    381:   -build | --build | --buil | --bui | --bu)
1.62      paf       382:     ac_prev=build_alias ;;
1.1       paf       383:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       384:     build_alias=$ac_optarg ;;
1.1       paf       385: 
                    386:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    387:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    388:     ac_prev=cache_file ;;
                    389:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    390:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       391:     cache_file=$ac_optarg ;;
                    392: 
                    393:   --config-cache | -C)
                    394:     cache_file=config.cache ;;
1.1       paf       395: 
                    396:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    397:     ac_prev=datadir ;;
                    398:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    399:   | --da=*)
1.62      paf       400:     datadir=$ac_optarg ;;
1.1       paf       401: 
                    402:   -disable-* | --disable-*)
1.62      paf       403:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       404:     # Reject names that are not valid shell variable names.
1.62      paf       405:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    406:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    407:    { (exit 1); exit 1; }; }
                    408:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    409:     eval "enable_$ac_feature=no" ;;
1.1       paf       410: 
                    411:   -enable-* | --enable-*)
1.62      paf       412:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       413:     # Reject names that are not valid shell variable names.
1.62      paf       414:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    415:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    416:    { (exit 1); exit 1; }; }
                    417:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    418:     case $ac_option in
                    419:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       420:       *) ac_optarg=yes ;;
                    421:     esac
1.62      paf       422:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       paf       423: 
                    424:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    425:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    426:   | --exec | --exe | --ex)
                    427:     ac_prev=exec_prefix ;;
                    428:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    429:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    430:   | --exec=* | --exe=* | --ex=*)
1.62      paf       431:     exec_prefix=$ac_optarg ;;
1.1       paf       432: 
                    433:   -gas | --gas | --ga | --g)
                    434:     # Obsolete; use --with-gas.
                    435:     with_gas=yes ;;
                    436: 
1.62      paf       437:   -help | --help | --hel | --he | -h)
                    438:     ac_init_help=long ;;
                    439:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    440:     ac_init_help=recursive ;;
                    441:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    442:     ac_init_help=short ;;
1.1       paf       443: 
                    444:   -host | --host | --hos | --ho)
1.62      paf       445:     ac_prev=host_alias ;;
1.1       paf       446:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       447:     host_alias=$ac_optarg ;;
1.1       paf       448: 
                    449:   -includedir | --includedir | --includedi | --included | --include \
                    450:   | --includ | --inclu | --incl | --inc)
                    451:     ac_prev=includedir ;;
                    452:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    453:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf       454:     includedir=$ac_optarg ;;
1.1       paf       455: 
                    456:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    457:     ac_prev=infodir ;;
                    458:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf       459:     infodir=$ac_optarg ;;
1.1       paf       460: 
                    461:   -libdir | --libdir | --libdi | --libd)
                    462:     ac_prev=libdir ;;
                    463:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf       464:     libdir=$ac_optarg ;;
1.1       paf       465: 
                    466:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    467:   | --libexe | --libex | --libe)
                    468:     ac_prev=libexecdir ;;
                    469:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    470:   | --libexe=* | --libex=* | --libe=*)
1.62      paf       471:     libexecdir=$ac_optarg ;;
1.1       paf       472: 
                    473:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    474:   | --localstate | --localstat | --localsta | --localst \
                    475:   | --locals | --local | --loca | --loc | --lo)
                    476:     ac_prev=localstatedir ;;
                    477:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    478:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    479:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.62      paf       480:     localstatedir=$ac_optarg ;;
1.1       paf       481: 
                    482:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    483:     ac_prev=mandir ;;
                    484:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf       485:     mandir=$ac_optarg ;;
1.1       paf       486: 
                    487:   -nfp | --nfp | --nf)
                    488:     # Obsolete; use --without-fp.
                    489:     with_fp=no ;;
                    490: 
                    491:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf       492:   | --no-cr | --no-c | -n)
1.1       paf       493:     no_create=yes ;;
                    494: 
                    495:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    496:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    497:     no_recursion=yes ;;
                    498: 
                    499:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    500:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    501:   | --oldin | --oldi | --old | --ol | --o)
                    502:     ac_prev=oldincludedir ;;
                    503:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    504:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    505:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf       506:     oldincludedir=$ac_optarg ;;
1.1       paf       507: 
                    508:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    509:     ac_prev=prefix ;;
                    510:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf       511:     prefix=$ac_optarg ;;
1.1       paf       512: 
                    513:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    514:   | --program-pre | --program-pr | --program-p)
                    515:     ac_prev=program_prefix ;;
                    516:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    517:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf       518:     program_prefix=$ac_optarg ;;
1.1       paf       519: 
                    520:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    521:   | --program-suf | --program-su | --program-s)
                    522:     ac_prev=program_suffix ;;
                    523:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    524:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf       525:     program_suffix=$ac_optarg ;;
1.1       paf       526: 
                    527:   -program-transform-name | --program-transform-name \
                    528:   | --program-transform-nam | --program-transform-na \
                    529:   | --program-transform-n | --program-transform- \
                    530:   | --program-transform | --program-transfor \
                    531:   | --program-transfo | --program-transf \
                    532:   | --program-trans | --program-tran \
                    533:   | --progr-tra | --program-tr | --program-t)
                    534:     ac_prev=program_transform_name ;;
                    535:   -program-transform-name=* | --program-transform-name=* \
                    536:   | --program-transform-nam=* | --program-transform-na=* \
                    537:   | --program-transform-n=* | --program-transform-=* \
                    538:   | --program-transform=* | --program-transfor=* \
                    539:   | --program-transfo=* | --program-transf=* \
                    540:   | --program-trans=* | --program-tran=* \
                    541:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf       542:     program_transform_name=$ac_optarg ;;
1.1       paf       543: 
                    544:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    545:   | -silent | --silent | --silen | --sile | --sil)
                    546:     silent=yes ;;
                    547: 
                    548:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    549:     ac_prev=sbindir ;;
                    550:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    551:   | --sbi=* | --sb=*)
1.62      paf       552:     sbindir=$ac_optarg ;;
1.1       paf       553: 
                    554:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    555:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    556:   | --sharedst | --shareds | --shared | --share | --shar \
                    557:   | --sha | --sh)
                    558:     ac_prev=sharedstatedir ;;
                    559:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    560:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    561:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    562:   | --sha=* | --sh=*)
1.62      paf       563:     sharedstatedir=$ac_optarg ;;
1.1       paf       564: 
                    565:   -site | --site | --sit)
                    566:     ac_prev=site ;;
                    567:   -site=* | --site=* | --sit=*)
1.62      paf       568:     site=$ac_optarg ;;
1.1       paf       569: 
                    570:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    571:     ac_prev=srcdir ;;
                    572:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf       573:     srcdir=$ac_optarg ;;
1.1       paf       574: 
                    575:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    576:   | --syscon | --sysco | --sysc | --sys | --sy)
                    577:     ac_prev=sysconfdir ;;
                    578:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    579:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf       580:     sysconfdir=$ac_optarg ;;
1.1       paf       581: 
                    582:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf       583:     ac_prev=target_alias ;;
1.1       paf       584:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf       585:     target_alias=$ac_optarg ;;
1.1       paf       586: 
                    587:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    588:     verbose=yes ;;
                    589: 
1.62      paf       590:   -version | --version | --versio | --versi | --vers | -V)
                    591:     ac_init_version=: ;;
1.1       paf       592: 
                    593:   -with-* | --with-*)
1.62      paf       594:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf       595:     # Reject names that are not valid shell variable names.
1.62      paf       596:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    597:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    598:    { (exit 1); exit 1; }; }
1.1       paf       599:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.62      paf       600:     case $ac_option in
                    601:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       602:       *) ac_optarg=yes ;;
                    603:     esac
1.62      paf       604:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       paf       605: 
                    606:   -without-* | --without-*)
1.62      paf       607:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf       608:     # Reject names that are not valid shell variable names.
1.62      paf       609:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    610:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    611:    { (exit 1); exit 1; }; }
                    612:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    613:     eval "with_$ac_package=no" ;;
1.1       paf       614: 
                    615:   --x)
                    616:     # Obsolete; use --with-x.
                    617:     with_x=yes ;;
                    618: 
                    619:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    620:   | --x-incl | --x-inc | --x-in | --x-i)
                    621:     ac_prev=x_includes ;;
                    622:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    623:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf       624:     x_includes=$ac_optarg ;;
1.1       paf       625: 
                    626:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    627:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    628:     ac_prev=x_libraries ;;
                    629:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    630:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf       631:     x_libraries=$ac_optarg ;;
1.1       paf       632: 
1.62      paf       633:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    634: Try \`$0 --help' for more information." >&2
                    635:    { (exit 1); exit 1; }; }
1.1       paf       636:     ;;
                    637: 
1.62      paf       638:   *=*)
                    639:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    640:     # Reject names that are not valid shell variable names.
                    641:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    642:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    643:    { (exit 1); exit 1; }; }
                    644:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    645:     eval "$ac_envvar='$ac_optarg'"
                    646:     export $ac_envvar ;;
                    647: 
1.1       paf       648:   *)
1.62      paf       649:     # FIXME: should be removed in autoconf 3.0.
                    650:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    651:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    652:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    653:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       paf       654:     ;;
                    655: 
                    656:   esac
                    657: done
                    658: 
                    659: if test -n "$ac_prev"; then
1.62      paf       660:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    661:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    662:    { (exit 1); exit 1; }; }
1.1       paf       663: fi
                    664: 
1.62      paf       665: # Be sure to have absolute paths.
                    666: for ac_var in exec_prefix prefix
                    667: do
                    668:   eval ac_val=$`echo $ac_var`
                    669:   case $ac_val in
                    670:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    671:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    672:    { (exit 1); exit 1; }; };;
                    673:   esac
                    674: done
1.1       paf       675: 
1.62      paf       676: # Be sure to have absolute paths.
                    677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.86      paf       678:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       paf       679: do
1.62      paf       680:   eval ac_val=$`echo $ac_var`
                    681:   case $ac_val in
                    682:     [\\/$]* | ?:[\\/]* ) ;;
                    683:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    684:    { (exit 1); exit 1; }; };;
1.1       paf       685:   esac
                    686: done
                    687: 
1.62      paf       688: # There might be people who depend on the old broken behavior: `$host'
                    689: # used to hold the argument of --host etc.
                    690: # FIXME: To remove some day.
                    691: build=$build_alias
                    692: host=$host_alias
                    693: target=$target_alias
                    694: 
                    695: # FIXME: To remove some day.
                    696: if test "x$host_alias" != x; then
                    697:   if test "x$build_alias" = x; then
                    698:     cross_compiling=maybe
                    699:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    700:     If a cross compiler is detected then cross compile mode will be used." >&2
                    701:   elif test "x$build_alias" != "x$host_alias"; then
                    702:     cross_compiling=yes
                    703:   fi
                    704: fi
                    705: 
                    706: ac_tool_prefix=
                    707: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf       708: 
1.62      paf       709: test "$silent" = yes && exec 6>/dev/null
1.1       paf       710: 
                    711: 
                    712: # Find the source files, if location was not specified.
                    713: if test -z "$srcdir"; then
                    714:   ac_srcdir_defaulted=yes
                    715:   # Try the directory containing this script, then its parent.
1.62      paf       716:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf       718:         X"$0" : 'X\(//\)[^/]' \| \
                    719:         X"$0" : 'X\(//\)$' \| \
                    720:         X"$0" : 'X\(/\)' \| \
                    721:         .     : '\(.\)' 2>/dev/null ||
1.62      paf       722: echo X"$0" |
                    723:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    724:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    725:          /^X\(\/\/\)$/{ s//\1/; q; }
                    726:          /^X\(\/\).*/{ s//\1/; q; }
                    727:          s/.*/./; q'`
1.1       paf       728:   srcdir=$ac_confdir
                    729:   if test ! -r $srcdir/$ac_unique_file; then
                    730:     srcdir=..
                    731:   fi
                    732: else
                    733:   ac_srcdir_defaulted=no
                    734: fi
                    735: if test ! -r $srcdir/$ac_unique_file; then
                    736:   if test "$ac_srcdir_defaulted" = yes; then
1.62      paf       737:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    738:    { (exit 1); exit 1; }; }
1.1       paf       739:   else
1.62      paf       740:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    741:    { (exit 1); exit 1; }; }
1.1       paf       742:   fi
                    743: fi
1.62      paf       744: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    745:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    746:    { (exit 1); exit 1; }; }
                    747: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    748: ac_env_build_alias_set=${build_alias+set}
                    749: ac_env_build_alias_value=$build_alias
                    750: ac_cv_env_build_alias_set=${build_alias+set}
                    751: ac_cv_env_build_alias_value=$build_alias
                    752: ac_env_host_alias_set=${host_alias+set}
                    753: ac_env_host_alias_value=$host_alias
                    754: ac_cv_env_host_alias_set=${host_alias+set}
                    755: ac_cv_env_host_alias_value=$host_alias
                    756: ac_env_target_alias_set=${target_alias+set}
                    757: ac_env_target_alias_value=$target_alias
                    758: ac_cv_env_target_alias_set=${target_alias+set}
                    759: ac_cv_env_target_alias_value=$target_alias
1.66      paf       760: ac_env_CXX_set=${CXX+set}
                    761: ac_env_CXX_value=$CXX
                    762: ac_cv_env_CXX_set=${CXX+set}
                    763: ac_cv_env_CXX_value=$CXX
                    764: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    765: ac_env_CXXFLAGS_value=$CXXFLAGS
                    766: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    767: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    768: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    769: ac_env_LDFLAGS_value=$LDFLAGS
                    770: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    771: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    772: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    773: ac_env_CPPFLAGS_value=$CPPFLAGS
                    774: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    775: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.62      paf       776: ac_env_CC_set=${CC+set}
                    777: ac_env_CC_value=$CC
                    778: ac_cv_env_CC_set=${CC+set}
                    779: ac_cv_env_CC_value=$CC
                    780: ac_env_CFLAGS_set=${CFLAGS+set}
                    781: ac_env_CFLAGS_value=$CFLAGS
                    782: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    783: ac_cv_env_CFLAGS_value=$CFLAGS
1.66      paf       784: ac_env_CPP_set=${CPP+set}
                    785: ac_env_CPP_value=$CPP
                    786: ac_cv_env_CPP_set=${CPP+set}
                    787: ac_cv_env_CPP_value=$CPP
1.128     moko      788: ac_env_CXXCPP_set=${CXXCPP+set}
                    789: ac_env_CXXCPP_value=$CXXCPP
                    790: ac_cv_env_CXXCPP_set=${CXXCPP+set}
                    791: ac_cv_env_CXXCPP_value=$CXXCPP
1.62      paf       792: 
                    793: #
                    794: # Report the --help message.
                    795: #
                    796: if test "$ac_init_help" = "long"; then
                    797:   # Omit some internal or obsolete options to make the list less imposing.
                    798:   # This message is too long to be a string in the A/UX 3.1 sh.
                    799:   cat <<_ACEOF
1.128     moko      800: \`configure' configures parser 3.4.2b to adapt to many kinds of systems.
1.62      paf       801: 
                    802: Usage: $0 [OPTION]... [VAR=VALUE]...
                    803: 
                    804: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    805: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    806: 
                    807: Defaults for the options are specified in brackets.
                    808: 
                    809: Configuration:
                    810:   -h, --help              display this help and exit
                    811:       --help=short        display options specific to this package
                    812:       --help=recursive    display the short help of all the included packages
                    813:   -V, --version           display version information and exit
                    814:   -q, --quiet, --silent   do not print \`checking...' messages
                    815:       --cache-file=FILE   cache test results in FILE [disabled]
                    816:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    817:   -n, --no-create         do not create output files
                    818:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    819: 
                    820: _ACEOF
                    821: 
                    822:   cat <<_ACEOF
                    823: Installation directories:
                    824:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.86      paf       825:                          [$ac_default_prefix]
1.62      paf       826:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.86      paf       827:                          [PREFIX]
1.62      paf       828: 
                    829: By default, \`make install' will install all the files in
                    830: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    831: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    832: for instance \`--prefix=\$HOME'.
                    833: 
                    834: For better control, use the options below.
                    835: 
                    836: Fine tuning of the installation directories:
                    837:   --bindir=DIR           user executables [EPREFIX/bin]
                    838:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    839:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    840:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    841:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    842:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    843:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    844:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    845:   --includedir=DIR       C header files [PREFIX/include]
                    846:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    847:   --infodir=DIR          info documentation [PREFIX/info]
                    848:   --mandir=DIR           man documentation [PREFIX/man]
                    849: _ACEOF
                    850: 
                    851:   cat <<\_ACEOF
                    852: 
                    853: Program names:
                    854:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    855:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    856:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    857: 
                    858: System types:
                    859:   --build=BUILD     configure for building on BUILD [guessed]
                    860:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    861: _ACEOF
                    862: fi
                    863: 
                    864: if test -n "$ac_init_help"; then
1.128     moko      865:   case $ac_init_help in
                    866:      short | recursive ) echo "Configuration of parser 3.4.2b:";;
                    867:    esac
1.62      paf       868:   cat <<\_ACEOF
                    869: 
                    870: Optional Features:
                    871:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    872:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf       873:   --disable-dependency-tracking  speeds up one-time build
                    874:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf       875:   --disable-safe-mode    to enable reading and executing
1.62      paf       876:                           files belonging to group+user other then effective
1.94      misha     877:   --disable-execs            to disable any execs
1.62      paf       878:                           (file::exec, file::cgi, unix mail:send)
1.94      misha     879:   --disable-stringstream  to disable stringstream usage.
                    880:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.128     moko      881:   --enable-shared[=PKGS]
                    882:                           build shared libraries [default=yes]
                    883:   --enable-static[=PKGS]
                    884:                           build static libraries [default=yes]
                    885:   --enable-fast-install[=PKGS]
                    886:                           optimize for fast installation [default=yes]
                    887:   --disable-libtool-lock  avoid locking (might break parallel builds)
                    888:   --enable-ltdl-install   install libltdl
1.62      paf       889: 
                    890: Optional Packages:
                    891:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    892:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf       893:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf       894:   --with-assertions       to enable assertions
1.62      paf       895:   --with-pathlink=LKEY    put dynamic libraries paths to binary
                    896:                           using linker key (-R, -rpath-link)
1.128     moko      897:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.67      paf       898:   --with-dynamic-stdcpp   link libstdc++ dynamically
                    899:                           by default, libstdc++ is linked statically
                    900:   --with-shared-gc=D      D is the directory where
                    901:                           Boehm garbage collecting library is installed (shared lib)
                    902:   --with-static-gc=D      D is the directory where
                    903:                           Boehm garbage collecting library is installed (static lib)
1.119     misha     904:   --with-static-pcre=D    D is the directory where
1.100     misha     905:                           PCRE library is installed (static lib)
1.62      paf       906:   --with-shared-xml=D     D is the directory where
                    907:                           Gnome XML libraries are installed (shared libs)
                    908:   --with-static-xml=D     D is the directory where
                    909:                           Gnome XML libraries are installed (static libs)
1.90      paf       910:   --with-glib-config=FILE FILE is glib library
                    911:                           configuration file (search for glib*-config)
1.62      paf       912:   --with-shared-mailreceive=D is the directory where
1.67      paf       913:                           Gnome MIME library is installed (shared lib)
1.62      paf       914:   --with-static-mailreceive=D is the directory where
                    915:                           Gnome MIME library is installed (static lib)
                    916:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                    917:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                    918:                           (makes parser ignore user-defined sendmail commands)
1.122     moko      919:   --with-apache=FILE is the full path for APXS
                    920:                           builds apache DSO module using apxs
1.128     moko      921:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
                    922:                           both]
                    923:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                    924:   --with-sysroot=DIR Search for dependent libraries within DIR
                    925:                         (or the compiler's sysroot if not specified).
                    926:   --with-included-ltdl    use the GNU ltdl sources included here
                    927:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                    928:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf       929: 
                    930: Some influential environment variables:
1.66      paf       931:   CXX         C++ compiler command
                    932:   CXXFLAGS    C++ compiler flags
1.62      paf       933:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    934:               nonstandard directory <lib dir>
                    935:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    936:               headers in a nonstandard directory <include dir>
1.66      paf       937:   CC          C compiler command
                    938:   CFLAGS      C compiler flags
                    939:   CPP         C preprocessor
1.128     moko      940:   CXXCPP      C++ preprocessor
1.62      paf       941: 
                    942: Use these variables to override the choices made by `configure' or to help
                    943: it to find libraries and programs with nonstandard names/locations.
                    944: 
                    945: _ACEOF
                    946: fi
                    947: 
                    948: if test "$ac_init_help" = "recursive"; then
                    949:   # If there are subdirs, report their specific --help.
                    950:   ac_popdir=`pwd`
                    951:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    952:     test -d $ac_dir || continue
                    953:     ac_builddir=.
                    954: 
                    955: if test "$ac_dir" != .; then
                    956:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    957:   # A "../" for each directory in $ac_dir_suffix.
                    958:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    959: else
                    960:   ac_dir_suffix= ac_top_builddir=
                    961: fi
                    962: 
                    963: case $srcdir in
                    964:   .)  # No --srcdir option.  We are building in place.
                    965:     ac_srcdir=.
                    966:     if test -z "$ac_top_builddir"; then
                    967:        ac_top_srcdir=.
                    968:     else
                    969:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    970:     fi ;;
                    971:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    972:     ac_srcdir=$srcdir$ac_dir_suffix;
                    973:     ac_top_srcdir=$srcdir ;;
                    974:   *) # Relative path.
                    975:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    976:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    977: esac
1.86      paf       978: 
                    979: # Do not use `cd foo && pwd` to compute absolute paths, because
                    980: # the directories may not exist.
                    981: case `pwd` in
                    982: .) ac_abs_builddir="$ac_dir";;
                    983: *)
                    984:   case "$ac_dir" in
                    985:   .) ac_abs_builddir=`pwd`;;
                    986:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    987:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    988:   esac;;
                    989: esac
                    990: case $ac_abs_builddir in
                    991: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    992: *)
                    993:   case ${ac_top_builddir}. in
                    994:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    995:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    996:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    997:   esac;;
                    998: esac
                    999: case $ac_abs_builddir in
                   1000: .) ac_abs_srcdir=$ac_srcdir;;
                   1001: *)
                   1002:   case $ac_srcdir in
                   1003:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   1004:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   1005:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   1006:   esac;;
                   1007: esac
                   1008: case $ac_abs_builddir in
                   1009: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1010: *)
                   1011:   case $ac_top_srcdir in
                   1012:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   1013:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1014:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   1015:   esac;;
                   1016: esac
1.62      paf      1017: 
                   1018:     cd $ac_dir
                   1019:     # Check for guested configure; otherwise get Cygnus style configure.
                   1020:     if test -f $ac_srcdir/configure.gnu; then
                   1021:       echo
                   1022:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1023:     elif test -f $ac_srcdir/configure; then
                   1024:       echo
                   1025:       $SHELL $ac_srcdir/configure  --help=recursive
                   1026:     elif test -f $ac_srcdir/configure.ac ||
1.86      paf      1027:           test -f $ac_srcdir/configure.in; then
1.62      paf      1028:       echo
                   1029:       $ac_configure --help
                   1030:     else
                   1031:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1032:     fi
                   1033:     cd $ac_popdir
                   1034:   done
                   1035: fi
                   1036: 
                   1037: test -n "$ac_init_help" && exit 0
                   1038: if $ac_init_version; then
                   1039:   cat <<\_ACEOF
1.128     moko     1040: parser configure 3.4.2b
                   1041: generated by GNU Autoconf 2.59
1.62      paf      1042: 
1.86      paf      1043: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      1044: This configure script is free software; the Free Software Foundation
                   1045: gives unlimited permission to copy, distribute and modify it.
                   1046: _ACEOF
                   1047:   exit 0
                   1048: fi
                   1049: exec 5>config.log
                   1050: cat >&5 <<_ACEOF
                   1051: This file contains any messages produced by compilers while
                   1052: running configure, to aid debugging if configure makes a mistake.
                   1053: 
1.128     moko     1054: It was created by parser $as_me 3.4.2b, which was
1.86      paf      1055: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      1056: 
                   1057:   $ $0 $@
                   1058: 
                   1059: _ACEOF
                   1060: {
                   1061: cat <<_ASUNAME
                   1062: ## --------- ##
                   1063: ## Platform. ##
                   1064: ## --------- ##
                   1065: 
                   1066: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1067: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1068: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1069: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1070: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1071: 
                   1072: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1073: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1074: 
                   1075: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1076: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1077: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1078: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1079: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1080: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1081: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1082: 
                   1083: _ASUNAME
                   1084: 
                   1085: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1086: for as_dir in $PATH
                   1087: do
                   1088:   IFS=$as_save_IFS
                   1089:   test -z "$as_dir" && as_dir=.
                   1090:   echo "PATH: $as_dir"
                   1091: done
1.1       paf      1092: 
1.62      paf      1093: } >&5
                   1094: 
                   1095: cat >&5 <<_ACEOF
                   1096: 
                   1097: 
                   1098: ## ----------- ##
                   1099: ## Core tests. ##
                   1100: ## ----------- ##
                   1101: 
                   1102: _ACEOF
                   1103: 
                   1104: 
                   1105: # Keep a trace of the command line.
                   1106: # Strip out --no-create and --no-recursion so they do not pile up.
                   1107: # Strip out --silent because we don't want to record it for future runs.
                   1108: # Also quote any args containing shell meta-characters.
                   1109: # Make two passes to allow for proper duplicate-argument suppression.
                   1110: ac_configure_args=
                   1111: ac_configure_args0=
                   1112: ac_configure_args1=
                   1113: ac_sep=
                   1114: ac_must_keep_next=false
                   1115: for ac_pass in 1 2
                   1116: do
                   1117:   for ac_arg
                   1118:   do
                   1119:     case $ac_arg in
                   1120:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1121:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1122:     | -silent | --silent | --silen | --sile | --sil)
                   1123:       continue ;;
                   1124:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1125:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1126:     esac
                   1127:     case $ac_pass in
                   1128:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1129:     2)
                   1130:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1131:       if test $ac_must_keep_next = true; then
1.86      paf      1132:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      1133:       else
1.86      paf      1134:        case $ac_arg in
                   1135:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1136:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1137:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1138:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1139:            case "$ac_configure_args0 " in
                   1140:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1141:            esac
                   1142:            ;;
                   1143:          -* ) ac_must_keep_next=true ;;
                   1144:        esac
1.62      paf      1145:       fi
                   1146:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1147:       # Get rid of the leading space.
                   1148:       ac_sep=" "
                   1149:       ;;
                   1150:     esac
                   1151:   done
                   1152: done
                   1153: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1154: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1155: 
                   1156: # When interrupted or exit'd, cleanup temporary files, and complete
                   1157: # config.log.  We remove comments because anyway the quotes in there
                   1158: # would cause problems or look ugly.
                   1159: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1160: # such as our DU 5.0 friend, will then `close' the trap.
                   1161: trap 'exit_status=$?
                   1162:   # Save into config.log some information that might help in debugging.
                   1163:   {
                   1164:     echo
                   1165: 
                   1166:     cat <<\_ASBOX
                   1167: ## ---------------- ##
                   1168: ## Cache variables. ##
                   1169: ## ---------------- ##
                   1170: _ASBOX
                   1171:     echo
                   1172:     # The following way of writing the cache mishandles newlines in values,
                   1173: {
                   1174:   (set) 2>&1 |
                   1175:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1176:     *ac_space=\ *)
                   1177:       sed -n \
1.86      paf      1178:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1179:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.62      paf      1180:       ;;
                   1181:     *)
                   1182:       sed -n \
1.86      paf      1183:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      1184:       ;;
                   1185:     esac;
                   1186: }
                   1187:     echo
                   1188: 
                   1189:     cat <<\_ASBOX
                   1190: ## ----------------- ##
                   1191: ## Output variables. ##
                   1192: ## ----------------- ##
                   1193: _ASBOX
                   1194:     echo
                   1195:     for ac_var in $ac_subst_vars
                   1196:     do
                   1197:       eval ac_val=$`echo $ac_var`
                   1198:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1199:     done | sort
                   1200:     echo
                   1201: 
                   1202:     if test -n "$ac_subst_files"; then
                   1203:       cat <<\_ASBOX
                   1204: ## ------------- ##
                   1205: ## Output files. ##
                   1206: ## ------------- ##
                   1207: _ASBOX
                   1208:       echo
                   1209:       for ac_var in $ac_subst_files
                   1210:       do
                   1211:        eval ac_val=$`echo $ac_var`
1.86      paf      1212:        echo "$ac_var='"'"'$ac_val'"'"'"
1.62      paf      1213:       done | sort
                   1214:       echo
                   1215:     fi
                   1216: 
                   1217:     if test -s confdefs.h; then
                   1218:       cat <<\_ASBOX
                   1219: ## ----------- ##
                   1220: ## confdefs.h. ##
                   1221: ## ----------- ##
                   1222: _ASBOX
                   1223:       echo
                   1224:       sed "/^$/d" confdefs.h | sort
                   1225:       echo
                   1226:     fi
                   1227:     test "$ac_signal" != 0 &&
                   1228:       echo "$as_me: caught signal $ac_signal"
                   1229:     echo "$as_me: exit $exit_status"
                   1230:   } >&5
1.86      paf      1231:   rm -f core *.core &&
1.62      paf      1232:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1233:     exit $exit_status
                   1234:      ' 0
                   1235: for ac_signal in 1 2 13 15; do
                   1236:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1237: done
                   1238: ac_signal=0
                   1239: 
                   1240: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1241: rm -rf conftest* confdefs.h
                   1242: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1243: echo >confdefs.h
                   1244: 
                   1245: # Predefined preprocessor variables.
                   1246: 
                   1247: cat >>confdefs.h <<_ACEOF
                   1248: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1249: _ACEOF
                   1250: 
                   1251: 
                   1252: cat >>confdefs.h <<_ACEOF
                   1253: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1254: _ACEOF
                   1255: 
                   1256: 
                   1257: cat >>confdefs.h <<_ACEOF
                   1258: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1259: _ACEOF
                   1260: 
                   1261: 
                   1262: cat >>confdefs.h <<_ACEOF
                   1263: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1264: _ACEOF
                   1265: 
                   1266: 
                   1267: cat >>confdefs.h <<_ACEOF
                   1268: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1269: _ACEOF
                   1270: 
                   1271: 
                   1272: # Let the site file select an alternate cache file if it wants to.
1.1       paf      1273: # Prefer explicitly selected file to automatically selected ones.
                   1274: if test -z "$CONFIG_SITE"; then
                   1275:   if test "x$prefix" != xNONE; then
                   1276:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1277:   else
                   1278:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1279:   fi
                   1280: fi
                   1281: for ac_site_file in $CONFIG_SITE; do
                   1282:   if test -r "$ac_site_file"; then
1.62      paf      1283:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1284: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1285:     sed 's/^/| /' "$ac_site_file" >&5
1.1       paf      1286:     . "$ac_site_file"
                   1287:   fi
                   1288: done
                   1289: 
                   1290: if test -r "$cache_file"; then
1.62      paf      1291:   # Some versions of bash will fail to source /dev/null (special
                   1292:   # files actually), so we avoid doing that.
                   1293:   if test -f "$cache_file"; then
                   1294:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1295: echo "$as_me: loading cache $cache_file" >&6;}
                   1296:     case $cache_file in
                   1297:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1298:       *)                      . ./$cache_file;;
                   1299:     esac
                   1300:   fi
1.1       paf      1301: else
1.62      paf      1302:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1303: echo "$as_me: creating cache $cache_file" >&6;}
                   1304:   >$cache_file
                   1305: fi
                   1306: 
                   1307: # Check that the precious variables saved in the cache have kept the same
                   1308: # value.
                   1309: ac_cache_corrupted=false
                   1310: for ac_var in `(set) 2>&1 |
1.86      paf      1311:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.62      paf      1312:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1313:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1314:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1315:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1316:   case $ac_old_set,$ac_new_set in
                   1317:     set,)
                   1318:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1319: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1320:       ac_cache_corrupted=: ;;
                   1321:     ,set)
                   1322:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1323: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1324:       ac_cache_corrupted=: ;;
                   1325:     ,);;
                   1326:     *)
                   1327:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.86      paf      1328:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.62      paf      1329: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.86      paf      1330:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.62      paf      1331: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.86      paf      1332:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.62      paf      1333: echo "$as_me:   current value: $ac_new_val" >&2;}
1.86      paf      1334:        ac_cache_corrupted=:
1.62      paf      1335:       fi;;
                   1336:   esac
                   1337:   # Pass precious variables to config.status.
                   1338:   if test "$ac_new_set" = set; then
                   1339:     case $ac_new_val in
                   1340:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1341:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1342:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1343:     esac
                   1344:     case " $ac_configure_args " in
                   1345:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1346:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1347:     esac
                   1348:   fi
                   1349: done
                   1350: if $ac_cache_corrupted; then
                   1351:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1352: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1353:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1354: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1355:    { (exit 1); exit 1; }; }
1.1       paf      1356: fi
                   1357: 
                   1358: ac_ext=c
                   1359: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      1360: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1361: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1362: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1363: 
                   1364: 
                   1365: 
                   1366: 
                   1367: 
                   1368: 
                   1369: 
                   1370: 
                   1371: 
                   1372: 
                   1373: 
1.1       paf      1374: 
                   1375: 
1.62      paf      1376: 
                   1377: 
                   1378: 
                   1379: 
                   1380: 
                   1381: 
1.63      paf      1382: 
                   1383: 
1.128     moko     1384: 
                   1385: 
                   1386: 
                   1387: 
                   1388: 
                   1389: 
                   1390: 
                   1391: 
                   1392: 
1.86      paf      1393: am__api_version="1.9"
1.1       paf      1394: ac_aux_dir=
                   1395: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1396:   if test -f $ac_dir/install-sh; then
                   1397:     ac_aux_dir=$ac_dir
                   1398:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1399:     break
                   1400:   elif test -f $ac_dir/install.sh; then
                   1401:     ac_aux_dir=$ac_dir
                   1402:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1403:     break
1.62      paf      1404:   elif test -f $ac_dir/shtool; then
                   1405:     ac_aux_dir=$ac_dir
                   1406:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1407:     break
1.1       paf      1408:   fi
                   1409: done
                   1410: if test -z "$ac_aux_dir"; then
1.62      paf      1411:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1412: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1413:    { (exit 1); exit 1; }; }
                   1414: fi
                   1415: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1416: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1417: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       paf      1418: 
                   1419: # Find a good install program.  We prefer a C program (faster),
                   1420: # so one script is as good as another.  But avoid the broken or
                   1421: # incompatible versions:
                   1422: # SysV /etc/install, /usr/sbin/install
                   1423: # SunOS /usr/etc/install
                   1424: # IRIX /sbin/install
                   1425: # AIX /bin/install
1.62      paf      1426: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1427: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1428: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1429: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1430: # OS/2's system install, which has a completely different semantic
1.1       paf      1431: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1432: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1433: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1434: if test -z "$INSTALL"; then
1.62      paf      1435: if test "${ac_cv_path_install+set}" = set; then
                   1436:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1437: else
1.62      paf      1438:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1439: for as_dir in $PATH
                   1440: do
                   1441:   IFS=$as_save_IFS
                   1442:   test -z "$as_dir" && as_dir=.
                   1443:   # Account for people who put trailing slashes in PATH elements.
                   1444: case $as_dir/ in
                   1445:   ./ | .// | /cC/* | \
                   1446:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1447:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1448:   /usr/ucb/* ) ;;
                   1449:   *)
                   1450:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1451:     # Don't use installbsd from OSF since it installs stuff as root
                   1452:     # by default.
                   1453:     for ac_prog in ginstall scoinst install; do
                   1454:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1455:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1456:          if test $ac_prog = install &&
                   1457:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1458:            # AIX install.  It has an incompatible calling convention.
                   1459:            :
                   1460:          elif test $ac_prog = install &&
                   1461:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1462:            # program-specific install script used by HP pwplus--don't use.
                   1463:            :
                   1464:          else
                   1465:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1466:            break 3
                   1467:          fi
                   1468:        fi
1.1       paf      1469:       done
1.62      paf      1470:     done
                   1471:     ;;
                   1472: esac
                   1473: done
                   1474: 
1.1       paf      1475: 
                   1476: fi
                   1477:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1478:     INSTALL=$ac_cv_path_install
1.1       paf      1479:   else
                   1480:     # As a last resort, use the slow shell script.  We don't cache a
                   1481:     # path for INSTALL within a source directory, because that will
                   1482:     # break other packages using the cache if that directory is
                   1483:     # removed, or if the path is relative.
1.62      paf      1484:     INSTALL=$ac_install_sh
1.1       paf      1485:   fi
                   1486: fi
1.62      paf      1487: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1488: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1489: 
                   1490: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1491: # It thinks the first close brace ends the variable substitution.
                   1492: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1493: 
1.62      paf      1494: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1495: 
                   1496: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1497: 
1.62      paf      1498: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1499: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       paf      1500: # Just in case
                   1501: sleep 1
1.62      paf      1502: echo timestamp > conftest.file
1.1       paf      1503: # Do `set' in a subshell so we don't clobber the current shell's
                   1504: # arguments.  Must try -L first in case configure is actually a
                   1505: # symlink; some systems play weird games with the mod time of symlinks
                   1506: # (eg FreeBSD returns the mod time of the symlink's containing
                   1507: # directory).
                   1508: if (
1.62      paf      1509:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       paf      1510:    if test "$*" = "X"; then
                   1511:       # -L didn't work.
1.62      paf      1512:       set X `ls -t $srcdir/configure conftest.file`
1.1       paf      1513:    fi
1.62      paf      1514:    rm -f conftest.file
                   1515:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1516:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      1517: 
                   1518:       # If neither matched, then we have a broken ls.  This can happen
                   1519:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1520:       # broken ls alias from the environment.  This has actually
                   1521:       # happened.  Such a system could not be considered "sane".
1.62      paf      1522:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1523: alias in your environment" >&5
                   1524: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1525: alias in your environment" >&2;}
                   1526:    { (exit 1); exit 1; }; }
1.1       paf      1527:    fi
                   1528: 
1.62      paf      1529:    test "$2" = conftest.file
1.1       paf      1530:    )
                   1531: then
                   1532:    # Ok.
                   1533:    :
                   1534: else
1.62      paf      1535:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1536: Check your system clock" >&5
                   1537: echo "$as_me: error: newly created file is older than distributed files!
                   1538: Check your system clock" >&2;}
                   1539:    { (exit 1); exit 1; }; }
1.1       paf      1540: fi
1.62      paf      1541: echo "$as_me:$LINENO: result: yes" >&5
                   1542: echo "${ECHO_T}yes" >&6
1.1       paf      1543: test "$program_prefix" != NONE &&
1.62      paf      1544:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       paf      1545: # Use a double $ so make ignores it.
                   1546: test "$program_suffix" != NONE &&
1.62      paf      1547:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1548: # Double any \ or $.  echo might interpret backslashes.
                   1549: # By default was `s,x,x', remove it if useless.
                   1550: cat <<\_ACEOF >conftest.sed
                   1551: s/[\\$]/&&/g;s/;s,x,x,$//
                   1552: _ACEOF
                   1553: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1554: rm conftest.sed
                   1555: 
                   1556: # expand $ac_aux_dir to an absolute path
                   1557: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1558: 
                   1559: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1560: # Use eval to expand $SHELL
                   1561: if eval "$MISSING --run true"; then
                   1562:   am_missing_run="$MISSING --run "
                   1563: else
                   1564:   am_missing_run=
                   1565:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1566: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1567: fi
                   1568: 
1.86      paf      1569: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1570:   # We used to keeping the `.' as first argument, in order to
                   1571:   # allow $(mkdir_p) to be used without argument.  As in
                   1572:   #   $(mkdir_p) $(somedir)
                   1573:   # where $(somedir) is conditionally defined.  However this is wrong
                   1574:   # for two reasons:
                   1575:   #  1. if the package is installed by a user who cannot write `.'
                   1576:   #     make install will fail,
                   1577:   #  2. the above comment should most certainly read
                   1578:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1579:   #     so it does not work when $(somedir) is undefined and
                   1580:   #     $(DESTDIR) is not.
                   1581:   #  To support the latter case, we have to write
                   1582:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1583:   #  so the `.' trick is pointless.
                   1584:   mkdir_p='mkdir -p --'
                   1585: else
                   1586:   # On NextStep and OpenStep, the `mkdir' command does not
                   1587:   # recognize any option.  It will interpret all options as
                   1588:   # directories to create, and then abort because `.' already
                   1589:   # exists.
                   1590:   for d in ./-p ./--version;
                   1591:   do
                   1592:     test -d $d && rmdir $d
                   1593:   done
                   1594:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1595:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1596:     mkdir_p='$(mkinstalldirs)'
                   1597:   else
                   1598:     mkdir_p='$(install_sh) -d'
                   1599:   fi
                   1600: fi
                   1601: 
1.62      paf      1602: for ac_prog in gawk mawk nawk awk
                   1603: do
                   1604:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1605: set dummy $ac_prog; ac_word=$2
                   1606: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1607: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1608: if test "${ac_cv_prog_AWK+set}" = set; then
                   1609:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1610: else
                   1611:   if test -n "$AWK"; then
                   1612:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1613: else
                   1614: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1615: for as_dir in $PATH
                   1616: do
                   1617:   IFS=$as_save_IFS
                   1618:   test -z "$as_dir" && as_dir=.
                   1619:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1620:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1621:     ac_cv_prog_AWK="$ac_prog"
                   1622:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1623:     break 2
                   1624:   fi
                   1625: done
                   1626: done
                   1627: 
                   1628: fi
                   1629: fi
                   1630: AWK=$ac_cv_prog_AWK
                   1631: if test -n "$AWK"; then
                   1632:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1633: echo "${ECHO_T}$AWK" >&6
                   1634: else
                   1635:   echo "$as_me:$LINENO: result: no" >&5
                   1636: echo "${ECHO_T}no" >&6
                   1637: fi
1.1       paf      1638: 
1.62      paf      1639:   test -n "$AWK" && break
                   1640: done
1.1       paf      1641: 
1.62      paf      1642: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1643: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86      paf      1644: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62      paf      1645: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1646:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1647: else
1.62      paf      1648:   cat >conftest.make <<\_ACEOF
1.1       paf      1649: all:
1.62      paf      1650:        @echo 'ac_maketemp="$(MAKE)"'
                   1651: _ACEOF
1.1       paf      1652: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1653: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       paf      1654: if test -n "$ac_maketemp"; then
                   1655:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1656: else
                   1657:   eval ac_cv_prog_make_${ac_make}_set=no
                   1658: fi
1.62      paf      1659: rm -f conftest.make
1.1       paf      1660: fi
                   1661: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1662:   echo "$as_me:$LINENO: result: yes" >&5
                   1663: echo "${ECHO_T}yes" >&6
1.1       paf      1664:   SET_MAKE=
                   1665: else
1.62      paf      1666:   echo "$as_me:$LINENO: result: no" >&5
                   1667: echo "${ECHO_T}no" >&6
1.1       paf      1668:   SET_MAKE="MAKE=${MAKE-make}"
                   1669: fi
                   1670: 
1.86      paf      1671: rm -rf .tst 2>/dev/null
                   1672: mkdir .tst 2>/dev/null
                   1673: if test -d .tst; then
                   1674:   am__leading_dot=.
                   1675: else
                   1676:   am__leading_dot=_
                   1677: fi
                   1678: rmdir .tst 2>/dev/null
                   1679: 
                   1680: # test to see if srcdir already configured
1.62      paf      1681: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1682:    test -f $srcdir/config.status; then
                   1683:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1684: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1685:    { (exit 1); exit 1; }; }
                   1686: fi
                   1687: 
                   1688: # test whether we have cygpath
                   1689: if test -z "$CYGPATH_W"; then
                   1690:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1691:     CYGPATH_W='cygpath -w'
                   1692:   else
                   1693:     CYGPATH_W=echo
                   1694:   fi
                   1695: fi
                   1696: 
                   1697: 
                   1698: # Define the identity of the package.
1.128     moko     1699:  PACKAGE='parser'
                   1700:  VERSION='3.4.2b'
                   1701: 
                   1702: 
                   1703: cat >>confdefs.h <<_ACEOF
                   1704: #define PACKAGE "$PACKAGE"
                   1705: _ACEOF
1.1       paf      1706: 
                   1707: 
1.128     moko     1708: cat >>confdefs.h <<_ACEOF
                   1709: #define VERSION "$VERSION"
                   1710: _ACEOF
                   1711: 
1.62      paf      1712: # Some tools Automake needs.
                   1713: 
                   1714: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1715: 
                   1716: 
                   1717: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1718: 
                   1719: 
                   1720: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1721: 
                   1722: 
                   1723: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1724: 
                   1725: 
                   1726: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      1727: 
1.62      paf      1728: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       paf      1729: 
1.62      paf      1730: # Installed binaries are usually stripped using `strip' when the user
                   1731: # run `make install-strip'.  However `strip' might not be the right
                   1732: # tool to use in cross-compilation environments, therefore Automake
                   1733: # will honor the `STRIP' environment variable to overrule this program.
                   1734: if test "$cross_compiling" != no; then
                   1735:   if test -n "$ac_tool_prefix"; then
                   1736:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1737: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1738: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1739: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1740: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1741:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1742: else
1.62      paf      1743:   if test -n "$STRIP"; then
                   1744:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1745: else
                   1746: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1747: for as_dir in $PATH
                   1748: do
                   1749:   IFS=$as_save_IFS
                   1750:   test -z "$as_dir" && as_dir=.
                   1751:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1752:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1753:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1754:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1755:     break 2
                   1756:   fi
                   1757: done
                   1758: done
                   1759: 
                   1760: fi
                   1761: fi
                   1762: STRIP=$ac_cv_prog_STRIP
                   1763: if test -n "$STRIP"; then
                   1764:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1765: echo "${ECHO_T}$STRIP" >&6
                   1766: else
                   1767:   echo "$as_me:$LINENO: result: no" >&5
                   1768: echo "${ECHO_T}no" >&6
1.1       paf      1769: fi
                   1770: 
1.62      paf      1771: fi
                   1772: if test -z "$ac_cv_prog_STRIP"; then
                   1773:   ac_ct_STRIP=$STRIP
                   1774:   # Extract the first word of "strip", so it can be a program name with args.
                   1775: set dummy strip; ac_word=$2
                   1776: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1777: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1778: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1779:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1780: else
                   1781:   if test -n "$ac_ct_STRIP"; then
                   1782:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       paf      1783: else
1.62      paf      1784: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1785: for as_dir in $PATH
                   1786: do
                   1787:   IFS=$as_save_IFS
                   1788:   test -z "$as_dir" && as_dir=.
                   1789:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1790:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1791:     ac_cv_prog_ac_ct_STRIP="strip"
                   1792:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1793:     break 2
                   1794:   fi
                   1795: done
                   1796: done
                   1797: 
                   1798:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1799: fi
1.1       paf      1800: fi
1.62      paf      1801: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1802: if test -n "$ac_ct_STRIP"; then
                   1803:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1804: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       paf      1805: else
1.62      paf      1806:   echo "$as_me:$LINENO: result: no" >&5
                   1807: echo "${ECHO_T}no" >&6
1.1       paf      1808: fi
                   1809: 
1.62      paf      1810:   STRIP=$ac_ct_STRIP
1.1       paf      1811: else
1.62      paf      1812:   STRIP="$ac_cv_prog_STRIP"
1.1       paf      1813: fi
                   1814: 
                   1815: fi
1.62      paf      1816: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1817: 
                   1818: # We need awk for the "check" target.  The system "awk" is bad on
                   1819: # some platforms.
1.86      paf      1820: # Always define AMTAR for backward compatibility.
                   1821: 
                   1822: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1823: 
                   1824: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1825: 
                   1826: 
1.62      paf      1827: 
1.1       paf      1828: 
                   1829: 
                   1830: 
1.128     moko     1831: 
1.12      paf      1832: P3S=`cd $srcdir/src ; pwd`
1.1       paf      1833: 
                   1834: 
1.128     moko     1835: 
1.41      paf      1836: # Make sure we can run config.sub.
1.62      paf      1837: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1838:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1839: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1840:    { (exit 1); exit 1; }; }
                   1841: 
                   1842: echo "$as_me:$LINENO: checking build system type" >&5
                   1843: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1844: if test "${ac_cv_build+set}" = set; then
                   1845:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1846: else
                   1847:   ac_cv_build_alias=$build_alias
                   1848: test -z "$ac_cv_build_alias" &&
                   1849:   ac_cv_build_alias=`$ac_config_guess`
                   1850: test -z "$ac_cv_build_alias" &&
                   1851:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1852: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1853:    { (exit 1); exit 1; }; }
                   1854: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1855:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1856: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1857:    { (exit 1); exit 1; }; }
                   1858: 
                   1859: fi
                   1860: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1861: echo "${ECHO_T}$ac_cv_build" >&6
                   1862: build=$ac_cv_build
                   1863: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1864: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1865: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1866: 
                   1867: 
                   1868: echo "$as_me:$LINENO: checking host system type" >&5
                   1869: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1870: if test "${ac_cv_host+set}" = set; then
                   1871:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1872: else
                   1873:   ac_cv_host_alias=$host_alias
                   1874: test -z "$ac_cv_host_alias" &&
                   1875:   ac_cv_host_alias=$ac_cv_build_alias
                   1876: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1877:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1878: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1879:    { (exit 1); exit 1; }; }
                   1880: 
                   1881: fi
                   1882: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1883: echo "${ECHO_T}$ac_cv_host" >&6
                   1884: host=$ac_cv_host
                   1885: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1886: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1887: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.81      paf      1888: 
                   1889: 
                   1890: 
                   1891: PARSER_VERSION="$VERSION (compiled on $host)"
                   1892: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
                   1893: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
                   1894: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
                   1895: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
                   1896: if test $? -ne 0 ; then
                   1897:        rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
                   1898:        echo Updated $srcdir/src/include/pa_version.h
                   1899: else
                   1900:        rm -f $srcdir/src/include/pa_version.h.new
                   1901: fi
                   1902: 
1.41      paf      1903: 
1.67      paf      1904: case $host_os in
                   1905:   *cygwin* )
                   1906: cat >>confdefs.h <<\_ACEOF
                   1907: #define CYGWIN
                   1908: _ACEOF
                   1909: ;;
                   1910: esac
1.41      paf      1911: 
1.128     moko     1912: 
1.1       paf      1913: # Find a good install program.  We prefer a C program (faster),
                   1914: # so one script is as good as another.  But avoid the broken or
                   1915: # incompatible versions:
                   1916: # SysV /etc/install, /usr/sbin/install
                   1917: # SunOS /usr/etc/install
                   1918: # IRIX /sbin/install
                   1919: # AIX /bin/install
1.62      paf      1920: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1921: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1922: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1923: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1924: # OS/2's system install, which has a completely different semantic
1.1       paf      1925: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1926: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1927: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1928: if test -z "$INSTALL"; then
1.62      paf      1929: if test "${ac_cv_path_install+set}" = set; then
                   1930:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1931: else
1.62      paf      1932:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1933: for as_dir in $PATH
                   1934: do
                   1935:   IFS=$as_save_IFS
                   1936:   test -z "$as_dir" && as_dir=.
                   1937:   # Account for people who put trailing slashes in PATH elements.
                   1938: case $as_dir/ in
                   1939:   ./ | .// | /cC/* | \
                   1940:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1941:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1942:   /usr/ucb/* ) ;;
                   1943:   *)
                   1944:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1945:     # Don't use installbsd from OSF since it installs stuff as root
                   1946:     # by default.
                   1947:     for ac_prog in ginstall scoinst install; do
                   1948:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1949:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1950:          if test $ac_prog = install &&
                   1951:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1952:            # AIX install.  It has an incompatible calling convention.
                   1953:            :
                   1954:          elif test $ac_prog = install &&
                   1955:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1956:            # program-specific install script used by HP pwplus--don't use.
                   1957:            :
                   1958:          else
                   1959:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1960:            break 3
                   1961:          fi
                   1962:        fi
1.1       paf      1963:       done
1.62      paf      1964:     done
                   1965:     ;;
                   1966: esac
                   1967: done
                   1968: 
1.1       paf      1969: 
                   1970: fi
                   1971:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1972:     INSTALL=$ac_cv_path_install
1.1       paf      1973:   else
                   1974:     # As a last resort, use the slow shell script.  We don't cache a
                   1975:     # path for INSTALL within a source directory, because that will
                   1976:     # break other packages using the cache if that directory is
                   1977:     # removed, or if the path is relative.
1.62      paf      1978:     INSTALL=$ac_install_sh
1.1       paf      1979:   fi
                   1980: fi
1.62      paf      1981: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1982: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1983: 
                   1984: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1985: # It thinks the first close brace ends the variable substitution.
                   1986: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1987: 
1.62      paf      1988: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1989: 
                   1990: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1991: 
1.62      paf      1992: for ac_prog in gawk mawk nawk awk
1.41      paf      1993: do
1.62      paf      1994:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      1995: set dummy $ac_prog; ac_word=$2
1.62      paf      1996: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1997: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1998: if test "${ac_cv_prog_AWK+set}" = set; then
                   1999:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2000: else
                   2001:   if test -n "$AWK"; then
                   2002:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2003: else
1.62      paf      2004: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2005: for as_dir in $PATH
                   2006: do
                   2007:   IFS=$as_save_IFS
                   2008:   test -z "$as_dir" && as_dir=.
                   2009:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2010:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2011:     ac_cv_prog_AWK="$ac_prog"
                   2012:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2013:     break 2
                   2014:   fi
                   2015: done
                   2016: done
                   2017: 
1.41      paf      2018: fi
                   2019: fi
1.62      paf      2020: AWK=$ac_cv_prog_AWK
1.41      paf      2021: if test -n "$AWK"; then
1.62      paf      2022:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2023: echo "${ECHO_T}$AWK" >&6
1.41      paf      2024: else
1.62      paf      2025:   echo "$as_me:$LINENO: result: no" >&5
                   2026: echo "${ECHO_T}no" >&6
1.41      paf      2027: fi
                   2028: 
1.62      paf      2029:   test -n "$AWK" && break
1.41      paf      2030: done
                   2031: 
                   2032: 
                   2033: for ac_prog in 'bison -y' byacc
                   2034: do
1.62      paf      2035:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2036: set dummy $ac_prog; ac_word=$2
1.62      paf      2037: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2038: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2039: if test "${ac_cv_prog_YACC+set}" = set; then
                   2040:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2041: else
                   2042:   if test -n "$YACC"; then
                   2043:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2044: else
1.62      paf      2045: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2046: for as_dir in $PATH
                   2047: do
                   2048:   IFS=$as_save_IFS
                   2049:   test -z "$as_dir" && as_dir=.
                   2050:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2051:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2052:     ac_cv_prog_YACC="$ac_prog"
                   2053:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2054:     break 2
                   2055:   fi
                   2056: done
                   2057: done
                   2058: 
1.41      paf      2059: fi
                   2060: fi
1.62      paf      2061: YACC=$ac_cv_prog_YACC
1.41      paf      2062: if test -n "$YACC"; then
1.62      paf      2063:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2064: echo "${ECHO_T}$YACC" >&6
1.41      paf      2065: else
1.62      paf      2066:   echo "$as_me:$LINENO: result: no" >&5
                   2067: echo "${ECHO_T}no" >&6
1.41      paf      2068: fi
                   2069: 
1.62      paf      2070:   test -n "$YACC" && break
1.41      paf      2071: done
                   2072: test -n "$YACC" || YACC="yacc"
                   2073: 
                   2074: if test "$YACC" != "bison -y"; then
1.67      paf      2075:        { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62      paf      2076: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2077: else
1.67      paf      2078:        echo "$as_me:$LINENO: checking bison version" >&5
1.62      paf      2079: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67      paf      2080:        oldIFS=$IFS; IFS=.
                   2081:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   2082:        IFS=$oldIFS
                   2083:        if test "$1" = "1" -a "$2" -lt "25"; then
                   2084:                { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62      paf      2085: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      2086:        fi
                   2087:        echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62      paf      2088: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2089: fi
                   2090: 
1.66      paf      2091: ac_ext=cc
                   2092: ac_cpp='$CXXCPP $CPPFLAGS'
                   2093: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2094: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2095: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2096: if test -n "$ac_tool_prefix"; then
1.66      paf      2097:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2098:   do
                   2099:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2100: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2101: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2102: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2103: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2104:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2105: else
1.66      paf      2106:   if test -n "$CXX"; then
                   2107:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2108: else
                   2109: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2110: for as_dir in $PATH
                   2111: do
                   2112:   IFS=$as_save_IFS
                   2113:   test -z "$as_dir" && as_dir=.
                   2114:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2115:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2116:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2117:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2118:     break 2
                   2119:   fi
                   2120: done
                   2121: done
                   2122: 
                   2123: fi
                   2124: fi
1.66      paf      2125: CXX=$ac_cv_prog_CXX
                   2126: if test -n "$CXX"; then
                   2127:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2128: echo "${ECHO_T}$CXX" >&6
1.62      paf      2129: else
                   2130:   echo "$as_me:$LINENO: result: no" >&5
                   2131: echo "${ECHO_T}no" >&6
1.41      paf      2132: fi
                   2133: 
1.66      paf      2134:     test -n "$CXX" && break
                   2135:   done
1.62      paf      2136: fi
1.66      paf      2137: if test -z "$CXX"; then
                   2138:   ac_ct_CXX=$CXX
                   2139:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2140: do
                   2141:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2142: set dummy $ac_prog; ac_word=$2
1.62      paf      2143: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2144: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2145: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2146:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2147: else
1.66      paf      2148:   if test -n "$ac_ct_CXX"; then
                   2149:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2150: else
                   2151: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2152: for as_dir in $PATH
                   2153: do
                   2154:   IFS=$as_save_IFS
                   2155:   test -z "$as_dir" && as_dir=.
                   2156:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2157:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2158:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2159:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2160:     break 2
                   2161:   fi
                   2162: done
                   2163: done
                   2164: 
                   2165: fi
                   2166: fi
1.66      paf      2167: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2168: if test -n "$ac_ct_CXX"; then
                   2169:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2170: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2171: else
                   2172:   echo "$as_me:$LINENO: result: no" >&5
                   2173: echo "${ECHO_T}no" >&6
                   2174: fi
                   2175: 
1.66      paf      2176:   test -n "$ac_ct_CXX" && break
                   2177: done
                   2178: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2179: 
                   2180:   CXX=$ac_ct_CXX
1.62      paf      2181: fi
                   2182: 
1.66      paf      2183: 
                   2184: # Provide some information about the compiler.
                   2185: echo "$as_me:$LINENO:" \
                   2186:      "checking for C++ compiler version" >&5
                   2187: ac_compiler=`set X $ac_compile; echo $2`
                   2188: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2189:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2190:   ac_status=$?
                   2191:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2192:   (exit $ac_status); }
                   2193: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2194:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2195:   ac_status=$?
                   2196:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2197:   (exit $ac_status); }
                   2198: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2199:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2200:   ac_status=$?
                   2201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2202:   (exit $ac_status); }
                   2203: 
                   2204: cat >conftest.$ac_ext <<_ACEOF
                   2205: /* confdefs.h.  */
                   2206: _ACEOF
                   2207: cat confdefs.h >>conftest.$ac_ext
                   2208: cat >>conftest.$ac_ext <<_ACEOF
                   2209: /* end confdefs.h.  */
                   2210: 
                   2211: int
                   2212: main ()
                   2213: {
                   2214: 
                   2215:   ;
                   2216:   return 0;
                   2217: }
                   2218: _ACEOF
                   2219: ac_clean_files_save=$ac_clean_files
                   2220: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2221: # Try to create an executable without -o first, disregard a.out.
                   2222: # It will help us diagnose broken compilers, and finding out an intuition
                   2223: # of exeext.
1.86      paf      2224: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2225: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66      paf      2226: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2227: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2228:   (eval $ac_link_default) 2>&5
                   2229:   ac_status=$?
                   2230:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2231:   (exit $ac_status); }; then
                   2232:   # Find the output, starting from the most likely.  This scheme is
                   2233: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2234: # resort.
                   2235: 
                   2236: # Be careful to initialize this variable, since it used to be cached.
                   2237: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2238: ac_cv_exeext=
                   2239: # b.out is created by i960 compilers.
                   2240: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2241: do
1.66      paf      2242:   test -f "$ac_file" || continue
                   2243:   case $ac_file in
                   2244:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86      paf      2245:        ;;
1.66      paf      2246:     conftest.$ac_ext )
1.86      paf      2247:        # This is the source file.
                   2248:        ;;
1.66      paf      2249:     [ab].out )
1.86      paf      2250:        # We found the default executable, but exeext='' is most
                   2251:        # certainly right.
                   2252:        break;;
1.66      paf      2253:     *.* )
1.86      paf      2254:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2255:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2256:        # but it would be cool to find out if it's true.  Does anybody
                   2257:        # maintain Libtool? --akim.
                   2258:        export ac_cv_exeext
                   2259:        break;;
1.66      paf      2260:     * )
1.86      paf      2261:        break;;
1.66      paf      2262:   esac
1.62      paf      2263: done
1.66      paf      2264: else
                   2265:   echo "$as_me: failed program was:" >&5
                   2266: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2267: 
1.66      paf      2268: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2269: See \`config.log' for more details." >&5
                   2270: echo "$as_me: error: C++ compiler cannot create executables
                   2271: See \`config.log' for more details." >&2;}
                   2272:    { (exit 77); exit 77; }; }
1.1       paf      2273: fi
1.66      paf      2274: 
                   2275: ac_exeext=$ac_cv_exeext
                   2276: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2277: echo "${ECHO_T}$ac_file" >&6
                   2278: 
                   2279: # Check the compiler produces executables we can run.  If not, either
                   2280: # the compiler is broken, or we cross compile.
                   2281: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2282: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2283: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2284: # If not cross compiling, check that we can run a simple program.
                   2285: if test "$cross_compiling" != yes; then
                   2286:   if { ac_try='./$ac_file'
                   2287:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2288:   (eval $ac_try) 2>&5
                   2289:   ac_status=$?
                   2290:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2291:   (exit $ac_status); }; }; then
                   2292:     cross_compiling=no
                   2293:   else
                   2294:     if test "$cross_compiling" = maybe; then
                   2295:        cross_compiling=yes
                   2296:     else
                   2297:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2298: If you meant to cross compile, use \`--host'.
                   2299: See \`config.log' for more details." >&5
                   2300: echo "$as_me: error: cannot run C++ compiled programs.
                   2301: If you meant to cross compile, use \`--host'.
                   2302: See \`config.log' for more details." >&2;}
                   2303:    { (exit 1); exit 1; }; }
                   2304:     fi
                   2305:   fi
1.1       paf      2306: fi
1.66      paf      2307: echo "$as_me:$LINENO: result: yes" >&5
                   2308: echo "${ECHO_T}yes" >&6
1.62      paf      2309: 
1.66      paf      2310: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2311: ac_clean_files=$ac_clean_files_save
                   2312: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2313: # the compiler is broken, or we cross compile.
                   2314: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2315: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2316: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2317: echo "${ECHO_T}$cross_compiling" >&6
                   2318: 
                   2319: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2320: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2321: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2322:   (eval $ac_link) 2>&5
                   2323:   ac_status=$?
                   2324:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2325:   (exit $ac_status); }; then
                   2326:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2327: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2328: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2329: # `rm'.
                   2330: for ac_file in conftest.exe conftest conftest.*; do
                   2331:   test -f "$ac_file" || continue
                   2332:   case $ac_file in
                   2333:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2334:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      2335:          export ac_cv_exeext
                   2336:          break;;
1.62      paf      2337:     * ) break;;
                   2338:   esac
                   2339: done
                   2340: else
                   2341:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2342: See \`config.log' for more details." >&5
                   2343: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2344: See \`config.log' for more details." >&2;}
                   2345:    { (exit 1); exit 1; }; }
                   2346: fi
                   2347: 
                   2348: rm -f conftest$ac_cv_exeext
                   2349: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2350: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2351: 
                   2352: rm -f conftest.$ac_ext
                   2353: EXEEXT=$ac_cv_exeext
                   2354: ac_exeext=$EXEEXT
                   2355: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2356: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2357: if test "${ac_cv_objext+set}" = set; then
                   2358:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2359: else
                   2360:   cat >conftest.$ac_ext <<_ACEOF
                   2361: /* confdefs.h.  */
                   2362: _ACEOF
                   2363: cat confdefs.h >>conftest.$ac_ext
                   2364: cat >>conftest.$ac_ext <<_ACEOF
                   2365: /* end confdefs.h.  */
                   2366: 
                   2367: int
                   2368: main ()
                   2369: {
                   2370: 
                   2371:   ;
                   2372:   return 0;
                   2373: }
                   2374: _ACEOF
                   2375: rm -f conftest.o conftest.obj
                   2376: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2377:   (eval $ac_compile) 2>&5
                   2378:   ac_status=$?
                   2379:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2380:   (exit $ac_status); }; then
                   2381:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2382:   case $ac_file in
                   2383:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2384:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2385:        break;;
                   2386:   esac
                   2387: done
                   2388: else
                   2389:   echo "$as_me: failed program was:" >&5
                   2390: sed 's/^/| /' conftest.$ac_ext >&5
                   2391: 
                   2392: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2393: See \`config.log' for more details." >&5
                   2394: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2395: See \`config.log' for more details." >&2;}
                   2396:    { (exit 1); exit 1; }; }
                   2397: fi
                   2398: 
                   2399: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2400: fi
1.66      paf      2401: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2402: echo "${ECHO_T}$ac_cv_objext" >&6
                   2403: OBJEXT=$ac_cv_objext
                   2404: ac_objext=$OBJEXT
                   2405: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2406: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2407: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2408:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2409: else
1.66      paf      2410:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2411: /* confdefs.h.  */
                   2412: _ACEOF
                   2413: cat confdefs.h >>conftest.$ac_ext
                   2414: cat >>conftest.$ac_ext <<_ACEOF
                   2415: /* end confdefs.h.  */
1.66      paf      2416: 
1.62      paf      2417: int
                   2418: main ()
                   2419: {
1.66      paf      2420: #ifndef __GNUC__
                   2421:        choke me
                   2422: #endif
                   2423: 
1.62      paf      2424:   ;
                   2425:   return 0;
                   2426: }
                   2427: _ACEOF
1.66      paf      2428: rm -f conftest.$ac_objext
1.62      paf      2429: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2430:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2431:   ac_status=$?
1.86      paf      2432:   grep -v '^ *+' conftest.er1 >conftest.err
                   2433:   rm -f conftest.er1
                   2434:   cat conftest.err >&5
1.62      paf      2435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2436:   (exit $ac_status); } &&
1.86      paf      2437:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2438:                         || test ! -s conftest.err'
                   2439:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2440:   (eval $ac_try) 2>&5
                   2441:   ac_status=$?
                   2442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2443:   (exit $ac_status); }; } &&
                   2444:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2445:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2446:   (eval $ac_try) 2>&5
                   2447:   ac_status=$?
                   2448:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2449:   (exit $ac_status); }; }; then
1.66      paf      2450:   ac_compiler_gnu=yes
1.62      paf      2451: else
                   2452:   echo "$as_me: failed program was:" >&5
                   2453: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2454: 
1.66      paf      2455: ac_compiler_gnu=no
1.1       paf      2456: fi
1.86      paf      2457: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2458: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2459: 
                   2460: fi
1.66      paf      2461: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2462: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2463: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2464: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2465: ac_save_CXXFLAGS=$CXXFLAGS
                   2466: CXXFLAGS="-g"
                   2467: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2468: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2469: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2470:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2471: else
                   2472:   cat >conftest.$ac_ext <<_ACEOF
                   2473: /* confdefs.h.  */
                   2474: _ACEOF
                   2475: cat confdefs.h >>conftest.$ac_ext
                   2476: cat >>conftest.$ac_ext <<_ACEOF
                   2477: /* end confdefs.h.  */
1.1       paf      2478: 
1.66      paf      2479: int
                   2480: main ()
                   2481: {
1.1       paf      2482: 
1.66      paf      2483:   ;
                   2484:   return 0;
                   2485: }
1.62      paf      2486: _ACEOF
                   2487: rm -f conftest.$ac_objext
                   2488: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2489:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2490:   ac_status=$?
1.86      paf      2491:   grep -v '^ *+' conftest.er1 >conftest.err
                   2492:   rm -f conftest.er1
                   2493:   cat conftest.err >&5
1.62      paf      2494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2495:   (exit $ac_status); } &&
1.86      paf      2496:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2497:                         || test ! -s conftest.err'
                   2498:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2499:   (eval $ac_try) 2>&5
                   2500:   ac_status=$?
                   2501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2502:   (exit $ac_status); }; } &&
                   2503:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2504:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2505:   (eval $ac_try) 2>&5
                   2506:   ac_status=$?
                   2507:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2508:   (exit $ac_status); }; }; then
1.66      paf      2509:   ac_cv_prog_cxx_g=yes
                   2510: else
                   2511:   echo "$as_me: failed program was:" >&5
                   2512: sed 's/^/| /' conftest.$ac_ext >&5
                   2513: 
                   2514: ac_cv_prog_cxx_g=no
                   2515: fi
1.86      paf      2516: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2517: fi
                   2518: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2519: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2520: if test "$ac_test_CXXFLAGS" = set; then
                   2521:   CXXFLAGS=$ac_save_CXXFLAGS
                   2522: elif test $ac_cv_prog_cxx_g = yes; then
                   2523:   if test "$GXX" = yes; then
                   2524:     CXXFLAGS="-g -O2"
                   2525:   else
                   2526:     CXXFLAGS="-g"
                   2527:   fi
                   2528: else
                   2529:   if test "$GXX" = yes; then
                   2530:     CXXFLAGS="-O2"
                   2531:   else
                   2532:     CXXFLAGS=
                   2533:   fi
                   2534: fi
                   2535: for ac_declaration in \
1.86      paf      2536:    '' \
1.62      paf      2537:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2538:    'extern "C" void std::exit (int); using std::exit;' \
                   2539:    'extern "C" void exit (int) throw ();' \
                   2540:    'extern "C" void exit (int);' \
                   2541:    'void exit (int);'
1.1       paf      2542: do
1.62      paf      2543:   cat >conftest.$ac_ext <<_ACEOF
                   2544: /* confdefs.h.  */
                   2545: _ACEOF
                   2546: cat confdefs.h >>conftest.$ac_ext
                   2547: cat >>conftest.$ac_ext <<_ACEOF
                   2548: /* end confdefs.h.  */
1.86      paf      2549: $ac_declaration
1.62      paf      2550: #include <stdlib.h>
                   2551: int
                   2552: main ()
                   2553: {
                   2554: exit (42);
                   2555:   ;
                   2556:   return 0;
                   2557: }
                   2558: _ACEOF
                   2559: rm -f conftest.$ac_objext
                   2560: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2561:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2562:   ac_status=$?
1.86      paf      2563:   grep -v '^ *+' conftest.er1 >conftest.err
                   2564:   rm -f conftest.er1
                   2565:   cat conftest.err >&5
1.62      paf      2566:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2567:   (exit $ac_status); } &&
1.86      paf      2568:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2569:                         || test ! -s conftest.err'
                   2570:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2571:   (eval $ac_try) 2>&5
                   2572:   ac_status=$?
                   2573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2574:   (exit $ac_status); }; } &&
                   2575:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2576:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2577:   (eval $ac_try) 2>&5
                   2578:   ac_status=$?
                   2579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2580:   (exit $ac_status); }; }; then
                   2581:   :
1.1       paf      2582: else
1.62      paf      2583:   echo "$as_me: failed program was:" >&5
                   2584: sed 's/^/| /' conftest.$ac_ext >&5
                   2585: 
                   2586: continue
                   2587: fi
1.86      paf      2588: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2589:   cat >conftest.$ac_ext <<_ACEOF
                   2590: /* confdefs.h.  */
                   2591: _ACEOF
                   2592: cat confdefs.h >>conftest.$ac_ext
                   2593: cat >>conftest.$ac_ext <<_ACEOF
                   2594: /* end confdefs.h.  */
                   2595: $ac_declaration
                   2596: int
                   2597: main ()
                   2598: {
                   2599: exit (42);
                   2600:   ;
                   2601:   return 0;
                   2602: }
                   2603: _ACEOF
                   2604: rm -f conftest.$ac_objext
                   2605: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2606:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2607:   ac_status=$?
1.86      paf      2608:   grep -v '^ *+' conftest.er1 >conftest.err
                   2609:   rm -f conftest.er1
                   2610:   cat conftest.err >&5
1.62      paf      2611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2612:   (exit $ac_status); } &&
1.86      paf      2613:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2614:                         || test ! -s conftest.err'
                   2615:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2616:   (eval $ac_try) 2>&5
                   2617:   ac_status=$?
                   2618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2619:   (exit $ac_status); }; } &&
                   2620:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2621:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2622:   (eval $ac_try) 2>&5
                   2623:   ac_status=$?
                   2624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2625:   (exit $ac_status); }; }; then
                   2626:   break
1.1       paf      2627: else
1.62      paf      2628:   echo "$as_me: failed program was:" >&5
                   2629: sed 's/^/| /' conftest.$ac_ext >&5
                   2630: 
1.1       paf      2631: fi
1.86      paf      2632: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2633: done
                   2634: rm -f conftest*
                   2635: if test -n "$ac_declaration"; then
                   2636:   echo '#ifdef __cplusplus' >>confdefs.h
                   2637:   echo $ac_declaration      >>confdefs.h
                   2638:   echo '#endif'             >>confdefs.h
1.1       paf      2639: fi
1.62      paf      2640: 
                   2641: ac_ext=c
                   2642: ac_cpp='$CPP $CPPFLAGS'
                   2643: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2644: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2645: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      2646: DEPDIR="${am__leading_dot}deps"
1.62      paf      2647: 
                   2648:           ac_config_commands="$ac_config_commands depfiles"
                   2649: 
                   2650: 
                   2651: am_make=${MAKE-make}
                   2652: cat > confinc << 'END'
1.86      paf      2653: am__doit:
1.62      paf      2654:        @echo done
1.86      paf      2655: .PHONY: am__doit
1.62      paf      2656: END
                   2657: # If we don't find an include directive, just comment out the code.
                   2658: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2659: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2660: am__include="#"
                   2661: am__quote=
                   2662: _am_result=none
                   2663: # First try GNU make style include.
                   2664: echo "include confinc" > confmf
                   2665: # We grep out `Entering directory' and `Leaving directory'
                   2666: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2667: # In particular we don't look at `^make:' because GNU make might
                   2668: # be invoked under some other name (usually "gmake"), in which
                   2669: # case it prints its new name instead of `make'.
                   2670: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2671:    am__include=include
                   2672:    am__quote=
                   2673:    _am_result=GNU
                   2674: fi
                   2675: # Now try BSD make style include.
                   2676: if test "$am__include" = "#"; then
                   2677:    echo '.include "confinc"' > confmf
                   2678:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2679:       am__include=.include
                   2680:       am__quote="\""
                   2681:       _am_result=BSD
                   2682:    fi
                   2683: fi
                   2684: 
                   2685: 
                   2686: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2687: echo "${ECHO_T}$_am_result" >&6
                   2688: rm -f confinc confmf
                   2689: 
                   2690: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2691: if test "${enable_dependency_tracking+set}" = set; then
                   2692:   enableval="$enable_dependency_tracking"
                   2693: 
                   2694: fi;
                   2695: if test "x$enable_dependency_tracking" != xno; then
                   2696:   am_depcomp="$ac_aux_dir/depcomp"
                   2697:   AMDEPBACKSLASH='\'
1.1       paf      2698: fi
                   2699: 
1.62      paf      2700: 
                   2701: if test "x$enable_dependency_tracking" != xno; then
                   2702:   AMDEP_TRUE=
                   2703:   AMDEP_FALSE='#'
                   2704: else
                   2705:   AMDEP_TRUE='#'
                   2706:   AMDEP_FALSE=
                   2707: fi
1.1       paf      2708: 
                   2709: 
                   2710: 
                   2711: 
1.66      paf      2712: depcc="$CXX"  am_compiler_list=
1.1       paf      2713: 
1.62      paf      2714: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2715: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2716: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2717:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2718: else
                   2719:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2720:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2721:   # making bogus files that we don't know about and never remove.  For
                   2722:   # instance it was reported that on HP-UX the gcc test will end up
                   2723:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2724:   # in D'.
                   2725:   mkdir conftest.dir
                   2726:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2727:   # using a relative directory.
                   2728:   cp "$am_depcomp" conftest.dir
                   2729:   cd conftest.dir
1.86      paf      2730:   # We will build objects and dependencies in a subdirectory because
                   2731:   # it helps to detect inapplicable dependency modes.  For instance
                   2732:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2733:   # side effect of compilation, but ICC will put the dependencies in
                   2734:   # the current directory while Tru64 will put them in the object
                   2735:   # directory.
                   2736:   mkdir sub
1.1       paf      2737: 
1.66      paf      2738:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2739:   if test "$am_compiler_list" = ""; then
                   2740:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2741:   fi
1.62      paf      2742:   for depmode in $am_compiler_list; do
1.86      paf      2743:     # Setup a source with many dependencies, because some compilers
                   2744:     # like to wrap large dependency lists on column 80 (with \), and
                   2745:     # we should not choose a depcomp mode which is confused by this.
                   2746:     #
1.62      paf      2747:     # We need to recreate these files for each test, as the compiler may
                   2748:     # overwrite some of them when testing with obscure command lines.
                   2749:     # This happens at least with the AIX C compiler.
1.86      paf      2750:     : > sub/conftest.c
                   2751:     for i in 1 2 3 4 5 6; do
                   2752:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2753:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2754:       # Solaris 8's {/usr,}/bin/sh.
                   2755:       touch sub/conftst$i.h
                   2756:     done
                   2757:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      2758: 
                   2759:     case $depmode in
                   2760:     nosideeffect)
                   2761:       # after this tag, mechanisms are not by side-effect, so they'll
                   2762:       # only be used when explicitly requested
                   2763:       if test "x$enable_dependency_tracking" = xyes; then
                   2764:        continue
                   2765:       else
                   2766:        break
                   2767:       fi
                   2768:       ;;
                   2769:     none) break ;;
                   2770:     esac
                   2771:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2772:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2773:     # handle `-M -o', and we need to detect this.
                   2774:     if depmode=$depmode \
1.86      paf      2775:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2776:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2777:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2778:          >/dev/null 2>conftest.err &&
                   2779:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2780:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      2781:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      2782:       # icc doesn't choke on unknown options, it will just issue warnings
                   2783:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2784:       # that says an option was ignored or not supported.
                   2785:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2786:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2787:       # The diagnosis changed in icc 8.0:
                   2788:       #   icc: Command line remark: option '-MP' not supported
                   2789:       if (grep 'ignoring option' conftest.err ||
                   2790:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2791:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2792:         break
                   2793:       fi
1.66      paf      2794:     fi
                   2795:   done
                   2796: 
                   2797:   cd ..
                   2798:   rm -rf conftest.dir
                   2799: else
                   2800:   am_cv_CXX_dependencies_compiler_type=none
                   2801: fi
                   2802: 
                   2803: fi
                   2804: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2805: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2806: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2807: 
                   2808: 
                   2809: 
                   2810: if
                   2811:   test "x$enable_dependency_tracking" != xno \
                   2812:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2813:   am__fastdepCXX_TRUE=
                   2814:   am__fastdepCXX_FALSE='#'
                   2815: else
                   2816:   am__fastdepCXX_TRUE='#'
                   2817:   am__fastdepCXX_FALSE=
                   2818: fi
                   2819: 
                   2820: 
                   2821: ac_ext=c
                   2822: ac_cpp='$CPP $CPPFLAGS'
                   2823: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2824: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2825: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2826: if test -n "$ac_tool_prefix"; then
                   2827:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2828: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2829: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2830: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2831: if test "${ac_cv_prog_CC+set}" = set; then
                   2832:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2833: else
                   2834:   if test -n "$CC"; then
                   2835:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2836: else
                   2837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2838: for as_dir in $PATH
                   2839: do
                   2840:   IFS=$as_save_IFS
                   2841:   test -z "$as_dir" && as_dir=.
                   2842:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2843:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2844:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2845:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2846:     break 2
                   2847:   fi
                   2848: done
                   2849: done
                   2850: 
                   2851: fi
                   2852: fi
                   2853: CC=$ac_cv_prog_CC
                   2854: if test -n "$CC"; then
                   2855:   echo "$as_me:$LINENO: result: $CC" >&5
                   2856: echo "${ECHO_T}$CC" >&6
                   2857: else
                   2858:   echo "$as_me:$LINENO: result: no" >&5
                   2859: echo "${ECHO_T}no" >&6
                   2860: fi
                   2861: 
                   2862: fi
                   2863: if test -z "$ac_cv_prog_CC"; then
                   2864:   ac_ct_CC=$CC
                   2865:   # Extract the first word of "gcc", so it can be a program name with args.
                   2866: set dummy gcc; ac_word=$2
                   2867: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2868: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2869: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2870:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2871: else
                   2872:   if test -n "$ac_ct_CC"; then
                   2873:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2874: else
                   2875: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2876: for as_dir in $PATH
                   2877: do
                   2878:   IFS=$as_save_IFS
                   2879:   test -z "$as_dir" && as_dir=.
                   2880:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2881:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2882:     ac_cv_prog_ac_ct_CC="gcc"
                   2883:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2884:     break 2
                   2885:   fi
                   2886: done
                   2887: done
                   2888: 
                   2889: fi
                   2890: fi
                   2891: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2892: if test -n "$ac_ct_CC"; then
                   2893:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2894: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2895: else
1.66      paf      2896:   echo "$as_me:$LINENO: result: no" >&5
                   2897: echo "${ECHO_T}no" >&6
1.62      paf      2898: fi
                   2899: 
1.66      paf      2900:   CC=$ac_ct_CC
                   2901: else
                   2902:   CC="$ac_cv_prog_CC"
1.1       paf      2903: fi
1.62      paf      2904: 
1.66      paf      2905: if test -z "$CC"; then
                   2906:   if test -n "$ac_tool_prefix"; then
                   2907:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2908: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2909: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2910: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2911: if test "${ac_cv_prog_CC+set}" = set; then
                   2912:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2913: else
                   2914:   if test -n "$CC"; then
                   2915:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2916: else
                   2917: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2918: for as_dir in $PATH
                   2919: do
                   2920:   IFS=$as_save_IFS
                   2921:   test -z "$as_dir" && as_dir=.
                   2922:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2923:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2924:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2925:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2926:     break 2
                   2927:   fi
                   2928: done
                   2929: done
1.62      paf      2930: 
1.66      paf      2931: fi
                   2932: fi
                   2933: CC=$ac_cv_prog_CC
                   2934: if test -n "$CC"; then
                   2935:   echo "$as_me:$LINENO: result: $CC" >&5
                   2936: echo "${ECHO_T}$CC" >&6
1.62      paf      2937: else
1.66      paf      2938:   echo "$as_me:$LINENO: result: no" >&5
                   2939: echo "${ECHO_T}no" >&6
1.1       paf      2940: fi
                   2941: 
1.66      paf      2942: fi
                   2943: if test -z "$ac_cv_prog_CC"; then
                   2944:   ac_ct_CC=$CC
                   2945:   # Extract the first word of "cc", so it can be a program name with args.
                   2946: set dummy cc; ac_word=$2
                   2947: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2948: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2949: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2950:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2951: else
                   2952:   if test -n "$ac_ct_CC"; then
                   2953:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2954: else
                   2955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2956: for as_dir in $PATH
                   2957: do
                   2958:   IFS=$as_save_IFS
                   2959:   test -z "$as_dir" && as_dir=.
                   2960:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2961:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2962:     ac_cv_prog_ac_ct_CC="cc"
                   2963:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2964:     break 2
                   2965:   fi
                   2966: done
                   2967: done
1.62      paf      2968: 
1.66      paf      2969: fi
                   2970: fi
                   2971: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2972: if test -n "$ac_ct_CC"; then
                   2973:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2974: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2975: else
1.66      paf      2976:   echo "$as_me:$LINENO: result: no" >&5
                   2977: echo "${ECHO_T}no" >&6
                   2978: fi
1.62      paf      2979: 
1.66      paf      2980:   CC=$ac_ct_CC
1.1       paf      2981: else
1.66      paf      2982:   CC="$ac_cv_prog_CC"
                   2983: fi
1.62      paf      2984: 
1.1       paf      2985: fi
1.66      paf      2986: if test -z "$CC"; then
                   2987:   # Extract the first word of "cc", so it can be a program name with args.
                   2988: set dummy cc; ac_word=$2
                   2989: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2990: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2991: if test "${ac_cv_prog_CC+set}" = set; then
                   2992:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2993: else
                   2994:   if test -n "$CC"; then
                   2995:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2996: else
                   2997:   ac_prog_rejected=no
                   2998: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2999: for as_dir in $PATH
                   3000: do
                   3001:   IFS=$as_save_IFS
                   3002:   test -z "$as_dir" && as_dir=.
                   3003:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3004:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3005:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3006:        ac_prog_rejected=yes
                   3007:        continue
                   3008:      fi
                   3009:     ac_cv_prog_CC="cc"
                   3010:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3011:     break 2
                   3012:   fi
                   3013: done
1.62      paf      3014: done
                   3015: 
1.66      paf      3016: if test $ac_prog_rejected = yes; then
                   3017:   # We found a bogon in the path, so make sure we never use it.
                   3018:   set dummy $ac_cv_prog_CC
                   3019:   shift
                   3020:   if test $# != 0; then
                   3021:     # We chose a different compiler from the bogus one.
                   3022:     # However, it has the same basename, so the bogon will be chosen
                   3023:     # first if we set CC to just the basename; use the full file name.
                   3024:     shift
                   3025:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3026:   fi
                   3027: fi
                   3028: fi
                   3029: fi
                   3030: CC=$ac_cv_prog_CC
                   3031: if test -n "$CC"; then
                   3032:   echo "$as_me:$LINENO: result: $CC" >&5
                   3033: echo "${ECHO_T}$CC" >&6
                   3034: else
                   3035:   echo "$as_me:$LINENO: result: no" >&5
                   3036: echo "${ECHO_T}no" >&6
1.1       paf      3037: fi
                   3038: 
1.66      paf      3039: fi
                   3040: if test -z "$CC"; then
                   3041:   if test -n "$ac_tool_prefix"; then
                   3042:   for ac_prog in cl
1.62      paf      3043:   do
                   3044:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3045: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3046: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3047: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3048: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      3049:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3050: else
1.66      paf      3051:   if test -n "$CC"; then
                   3052:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      3053: else
                   3054: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3055: for as_dir in $PATH
                   3056: do
                   3057:   IFS=$as_save_IFS
                   3058:   test -z "$as_dir" && as_dir=.
                   3059:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3060:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3061:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      3062:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3063:     break 2
                   3064:   fi
                   3065: done
                   3066: done
1.1       paf      3067: 
1.62      paf      3068: fi
                   3069: fi
1.66      paf      3070: CC=$ac_cv_prog_CC
                   3071: if test -n "$CC"; then
                   3072:   echo "$as_me:$LINENO: result: $CC" >&5
                   3073: echo "${ECHO_T}$CC" >&6
1.1       paf      3074: else
1.62      paf      3075:   echo "$as_me:$LINENO: result: no" >&5
                   3076: echo "${ECHO_T}no" >&6
1.1       paf      3077: fi
                   3078: 
1.66      paf      3079:     test -n "$CC" && break
1.62      paf      3080:   done
                   3081: fi
1.66      paf      3082: if test -z "$CC"; then
                   3083:   ac_ct_CC=$CC
                   3084:   for ac_prog in cl
1.62      paf      3085: do
                   3086:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3087: set dummy $ac_prog; ac_word=$2
                   3088: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3089: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3090: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3091:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3092: else
1.66      paf      3093:   if test -n "$ac_ct_CC"; then
                   3094:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3095: else
1.62      paf      3096: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3097: for as_dir in $PATH
                   3098: do
                   3099:   IFS=$as_save_IFS
                   3100:   test -z "$as_dir" && as_dir=.
                   3101:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3102:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3103:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3104:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3105:     break 2
                   3106:   fi
                   3107: done
                   3108: done
                   3109: 
                   3110: fi
                   3111: fi
1.66      paf      3112: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3113: if test -n "$ac_ct_CC"; then
                   3114:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3115: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3116: else
1.62      paf      3117:   echo "$as_me:$LINENO: result: no" >&5
                   3118: echo "${ECHO_T}no" >&6
1.1       paf      3119: fi
                   3120: 
1.66      paf      3121:   test -n "$ac_ct_CC" && break
                   3122: done
                   3123: 
                   3124:   CC=$ac_ct_CC
                   3125: fi
                   3126: 
                   3127: fi
1.62      paf      3128: 
1.1       paf      3129: 
1.66      paf      3130: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3131: See \`config.log' for more details." >&5
                   3132: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3133: See \`config.log' for more details." >&2;}
                   3134:    { (exit 1); exit 1; }; }
1.62      paf      3135: 
                   3136: # Provide some information about the compiler.
                   3137: echo "$as_me:$LINENO:" \
1.66      paf      3138:      "checking for C compiler version" >&5
1.62      paf      3139: ac_compiler=`set X $ac_compile; echo $2`
                   3140: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3141:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3142:   ac_status=$?
                   3143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3144:   (exit $ac_status); }
                   3145: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3146:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3147:   ac_status=$?
                   3148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3149:   (exit $ac_status); }
                   3150: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3151:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3152:   ac_status=$?
                   3153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3154:   (exit $ac_status); }
                   3155: 
1.66      paf      3156: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3157: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3158: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3159:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3160: else
                   3161:   cat >conftest.$ac_ext <<_ACEOF
                   3162: /* confdefs.h.  */
                   3163: _ACEOF
                   3164: cat confdefs.h >>conftest.$ac_ext
                   3165: cat >>conftest.$ac_ext <<_ACEOF
                   3166: /* end confdefs.h.  */
                   3167: 
                   3168: int
                   3169: main ()
                   3170: {
                   3171: #ifndef __GNUC__
                   3172:        choke me
                   3173: #endif
                   3174: 
                   3175:   ;
                   3176:   return 0;
                   3177: }
                   3178: _ACEOF
                   3179: rm -f conftest.$ac_objext
                   3180: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3181:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3182:   ac_status=$?
1.86      paf      3183:   grep -v '^ *+' conftest.er1 >conftest.err
                   3184:   rm -f conftest.er1
                   3185:   cat conftest.err >&5
1.62      paf      3186:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3187:   (exit $ac_status); } &&
1.86      paf      3188:         { ac_try='test -z "$ac_c_werror_flag"
                   3189:                         || test ! -s conftest.err'
                   3190:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3191:   (eval $ac_try) 2>&5
                   3192:   ac_status=$?
                   3193:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3194:   (exit $ac_status); }; } &&
                   3195:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3196:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3197:   (eval $ac_try) 2>&5
                   3198:   ac_status=$?
                   3199:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3200:   (exit $ac_status); }; }; then
                   3201:   ac_compiler_gnu=yes
                   3202: else
                   3203:   echo "$as_me: failed program was:" >&5
                   3204: sed 's/^/| /' conftest.$ac_ext >&5
                   3205: 
                   3206: ac_compiler_gnu=no
                   3207: fi
1.86      paf      3208: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3209: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3210: 
                   3211: fi
1.66      paf      3212: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3213: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3214: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3215: ac_test_CFLAGS=${CFLAGS+set}
                   3216: ac_save_CFLAGS=$CFLAGS
                   3217: CFLAGS="-g"
                   3218: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3219: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3220: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3221:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3222: else
                   3223:   cat >conftest.$ac_ext <<_ACEOF
                   3224: /* confdefs.h.  */
                   3225: _ACEOF
                   3226: cat confdefs.h >>conftest.$ac_ext
                   3227: cat >>conftest.$ac_ext <<_ACEOF
                   3228: /* end confdefs.h.  */
                   3229: 
                   3230: int
                   3231: main ()
                   3232: {
                   3233: 
                   3234:   ;
                   3235:   return 0;
                   3236: }
                   3237: _ACEOF
                   3238: rm -f conftest.$ac_objext
                   3239: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3240:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3241:   ac_status=$?
1.86      paf      3242:   grep -v '^ *+' conftest.er1 >conftest.err
                   3243:   rm -f conftest.er1
                   3244:   cat conftest.err >&5
1.62      paf      3245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3246:   (exit $ac_status); } &&
1.86      paf      3247:         { ac_try='test -z "$ac_c_werror_flag"
                   3248:                         || test ! -s conftest.err'
                   3249:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3250:   (eval $ac_try) 2>&5
                   3251:   ac_status=$?
                   3252:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3253:   (exit $ac_status); }; } &&
                   3254:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3255:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3256:   (eval $ac_try) 2>&5
                   3257:   ac_status=$?
                   3258:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3259:   (exit $ac_status); }; }; then
1.66      paf      3260:   ac_cv_prog_cc_g=yes
1.62      paf      3261: else
                   3262:   echo "$as_me: failed program was:" >&5
                   3263: sed 's/^/| /' conftest.$ac_ext >&5
                   3264: 
1.66      paf      3265: ac_cv_prog_cc_g=no
1.62      paf      3266: fi
1.86      paf      3267: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3268: fi
1.66      paf      3269: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3270: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3271: if test "$ac_test_CFLAGS" = set; then
                   3272:   CFLAGS=$ac_save_CFLAGS
                   3273: elif test $ac_cv_prog_cc_g = yes; then
                   3274:   if test "$GCC" = yes; then
                   3275:     CFLAGS="-g -O2"
1.1       paf      3276:   else
1.66      paf      3277:     CFLAGS="-g"
1.1       paf      3278:   fi
                   3279: else
1.66      paf      3280:   if test "$GCC" = yes; then
                   3281:     CFLAGS="-O2"
1.1       paf      3282:   else
1.66      paf      3283:     CFLAGS=
1.1       paf      3284:   fi
                   3285: fi
1.66      paf      3286: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3287: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3288: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3289:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3290: else
                   3291:   ac_cv_prog_cc_stdc=no
                   3292: ac_save_CC=$CC
                   3293: cat >conftest.$ac_ext <<_ACEOF
                   3294: /* confdefs.h.  */
                   3295: _ACEOF
                   3296: cat confdefs.h >>conftest.$ac_ext
                   3297: cat >>conftest.$ac_ext <<_ACEOF
                   3298: /* end confdefs.h.  */
                   3299: #include <stdarg.h>
                   3300: #include <stdio.h>
                   3301: #include <sys/types.h>
                   3302: #include <sys/stat.h>
                   3303: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3304: struct buf { int x; };
                   3305: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3306: static char *e (p, i)
                   3307:      char **p;
                   3308:      int i;
                   3309: {
                   3310:   return p[i];
                   3311: }
                   3312: static char *f (char * (*g) (char **, int), char **p, ...)
                   3313: {
                   3314:   char *s;
                   3315:   va_list v;
                   3316:   va_start (v,p);
                   3317:   s = g (p, va_arg (v,int));
                   3318:   va_end (v);
                   3319:   return s;
                   3320: }
1.86      paf      3321: 
                   3322: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3323:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3324:    These don't provoke an error unfortunately, instead are silently treated
                   3325:    as 'x'.  The following induces an error, until -std1 is added to get
                   3326:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3327:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3328:    that's true only with -std1.  */
                   3329: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3330: 
1.66      paf      3331: int test (int i, double x);
                   3332: struct s1 {int (*f) (int a);};
                   3333: struct s2 {int (*f) (double a);};
                   3334: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3335: int argc;
                   3336: char **argv;
                   3337: int
                   3338: main ()
                   3339: {
                   3340: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3341:   ;
                   3342:   return 0;
                   3343: }
                   3344: _ACEOF
                   3345: # Don't try gcc -ansi; that turns off useful extensions and
                   3346: # breaks some systems' header files.
                   3347: # AIX                  -qlanglvl=ansi
                   3348: # Ultrix and OSF/1     -std1
                   3349: # HP-UX 10.20 and later        -Ae
                   3350: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3351: # SVR4                 -Xc -D__EXTENSIONS__
                   3352: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3353: do
                   3354:   CC="$ac_save_CC $ac_arg"
                   3355:   rm -f conftest.$ac_objext
                   3356: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3357:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3358:   ac_status=$?
1.86      paf      3359:   grep -v '^ *+' conftest.er1 >conftest.err
                   3360:   rm -f conftest.er1
                   3361:   cat conftest.err >&5
1.66      paf      3362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3363:   (exit $ac_status); } &&
1.86      paf      3364:         { ac_try='test -z "$ac_c_werror_flag"
                   3365:                         || test ! -s conftest.err'
                   3366:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3367:   (eval $ac_try) 2>&5
                   3368:   ac_status=$?
                   3369:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3370:   (exit $ac_status); }; } &&
                   3371:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3372:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3373:   (eval $ac_try) 2>&5
                   3374:   ac_status=$?
                   3375:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3376:   (exit $ac_status); }; }; then
                   3377:   ac_cv_prog_cc_stdc=$ac_arg
                   3378: break
                   3379: else
                   3380:   echo "$as_me: failed program was:" >&5
                   3381: sed 's/^/| /' conftest.$ac_ext >&5
                   3382: 
                   3383: fi
1.86      paf      3384: rm -f conftest.err conftest.$ac_objext
1.66      paf      3385: done
                   3386: rm -f conftest.$ac_ext conftest.$ac_objext
                   3387: CC=$ac_save_CC
                   3388: 
                   3389: fi
                   3390: 
                   3391: case "x$ac_cv_prog_cc_stdc" in
                   3392:   x|xno)
                   3393:     echo "$as_me:$LINENO: result: none needed" >&5
                   3394: echo "${ECHO_T}none needed" >&6 ;;
                   3395:   *)
                   3396:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3397: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3398:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3399: esac
                   3400: 
                   3401: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3402: # in C++ we need to declare it.  In case someone uses the same compiler
                   3403: # for both compiling C and C++ we need to have the C++ compiler decide
                   3404: # the declaration of exit, since it's the most demanding environment.
                   3405: cat >conftest.$ac_ext <<_ACEOF
                   3406: #ifndef __cplusplus
                   3407:   choke me
                   3408: #endif
                   3409: _ACEOF
                   3410: rm -f conftest.$ac_objext
                   3411: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3412:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3413:   ac_status=$?
1.86      paf      3414:   grep -v '^ *+' conftest.er1 >conftest.err
                   3415:   rm -f conftest.er1
                   3416:   cat conftest.err >&5
1.66      paf      3417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3418:   (exit $ac_status); } &&
1.86      paf      3419:         { ac_try='test -z "$ac_c_werror_flag"
                   3420:                         || test ! -s conftest.err'
                   3421:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3422:   (eval $ac_try) 2>&5
                   3423:   ac_status=$?
                   3424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3425:   (exit $ac_status); }; } &&
                   3426:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3427:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3428:   (eval $ac_try) 2>&5
                   3429:   ac_status=$?
                   3430:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3431:   (exit $ac_status); }; }; then
                   3432:   for ac_declaration in \
1.86      paf      3433:    '' \
1.62      paf      3434:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3435:    'extern "C" void std::exit (int); using std::exit;' \
                   3436:    'extern "C" void exit (int) throw ();' \
                   3437:    'extern "C" void exit (int);' \
                   3438:    'void exit (int);'
                   3439: do
                   3440:   cat >conftest.$ac_ext <<_ACEOF
                   3441: /* confdefs.h.  */
                   3442: _ACEOF
                   3443: cat confdefs.h >>conftest.$ac_ext
                   3444: cat >>conftest.$ac_ext <<_ACEOF
                   3445: /* end confdefs.h.  */
1.86      paf      3446: $ac_declaration
1.62      paf      3447: #include <stdlib.h>
                   3448: int
                   3449: main ()
                   3450: {
                   3451: exit (42);
                   3452:   ;
                   3453:   return 0;
                   3454: }
                   3455: _ACEOF
                   3456: rm -f conftest.$ac_objext
                   3457: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3458:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3459:   ac_status=$?
1.86      paf      3460:   grep -v '^ *+' conftest.er1 >conftest.err
                   3461:   rm -f conftest.er1
                   3462:   cat conftest.err >&5
1.62      paf      3463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3464:   (exit $ac_status); } &&
1.86      paf      3465:         { ac_try='test -z "$ac_c_werror_flag"
                   3466:                         || test ! -s conftest.err'
                   3467:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3468:   (eval $ac_try) 2>&5
                   3469:   ac_status=$?
                   3470:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3471:   (exit $ac_status); }; } &&
                   3472:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3473:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3474:   (eval $ac_try) 2>&5
                   3475:   ac_status=$?
                   3476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3477:   (exit $ac_status); }; }; then
                   3478:   :
                   3479: else
                   3480:   echo "$as_me: failed program was:" >&5
                   3481: sed 's/^/| /' conftest.$ac_ext >&5
                   3482: 
                   3483: continue
                   3484: fi
1.86      paf      3485: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3486:   cat >conftest.$ac_ext <<_ACEOF
                   3487: /* confdefs.h.  */
                   3488: _ACEOF
                   3489: cat confdefs.h >>conftest.$ac_ext
                   3490: cat >>conftest.$ac_ext <<_ACEOF
                   3491: /* end confdefs.h.  */
                   3492: $ac_declaration
                   3493: int
                   3494: main ()
                   3495: {
                   3496: exit (42);
                   3497:   ;
                   3498:   return 0;
                   3499: }
                   3500: _ACEOF
                   3501: rm -f conftest.$ac_objext
                   3502: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3503:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3504:   ac_status=$?
1.86      paf      3505:   grep -v '^ *+' conftest.er1 >conftest.err
                   3506:   rm -f conftest.er1
                   3507:   cat conftest.err >&5
1.62      paf      3508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3509:   (exit $ac_status); } &&
1.86      paf      3510:         { ac_try='test -z "$ac_c_werror_flag"
                   3511:                         || test ! -s conftest.err'
                   3512:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3513:   (eval $ac_try) 2>&5
                   3514:   ac_status=$?
                   3515:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3516:   (exit $ac_status); }; } &&
                   3517:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3518:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3519:   (eval $ac_try) 2>&5
                   3520:   ac_status=$?
                   3521:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3522:   (exit $ac_status); }; }; then
                   3523:   break
                   3524: else
                   3525:   echo "$as_me: failed program was:" >&5
                   3526: sed 's/^/| /' conftest.$ac_ext >&5
                   3527: 
                   3528: fi
1.86      paf      3529: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3530: done
                   3531: rm -f conftest*
                   3532: if test -n "$ac_declaration"; then
                   3533:   echo '#ifdef __cplusplus' >>confdefs.h
                   3534:   echo $ac_declaration      >>confdefs.h
                   3535:   echo '#endif'             >>confdefs.h
                   3536: fi
                   3537: 
1.66      paf      3538: else
                   3539:   echo "$as_me: failed program was:" >&5
                   3540: sed 's/^/| /' conftest.$ac_ext >&5
                   3541: 
                   3542: fi
1.86      paf      3543: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3544: ac_ext=c
                   3545: ac_cpp='$CPP $CPPFLAGS'
                   3546: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3547: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3548: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3549: 
1.66      paf      3550: depcc="$CC"   am_compiler_list=
1.62      paf      3551: 
                   3552: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3553: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3554: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3555:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3556: else
                   3557:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3558:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3559:   # making bogus files that we don't know about and never remove.  For
                   3560:   # instance it was reported that on HP-UX the gcc test will end up
                   3561:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3562:   # in D'.
                   3563:   mkdir conftest.dir
                   3564:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3565:   # using a relative directory.
                   3566:   cp "$am_depcomp" conftest.dir
                   3567:   cd conftest.dir
1.86      paf      3568:   # We will build objects and dependencies in a subdirectory because
                   3569:   # it helps to detect inapplicable dependency modes.  For instance
                   3570:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3571:   # side effect of compilation, but ICC will put the dependencies in
                   3572:   # the current directory while Tru64 will put them in the object
                   3573:   # directory.
                   3574:   mkdir sub
1.62      paf      3575: 
1.66      paf      3576:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3577:   if test "$am_compiler_list" = ""; then
                   3578:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3579:   fi
                   3580:   for depmode in $am_compiler_list; do
1.86      paf      3581:     # Setup a source with many dependencies, because some compilers
                   3582:     # like to wrap large dependency lists on column 80 (with \), and
                   3583:     # we should not choose a depcomp mode which is confused by this.
                   3584:     #
1.62      paf      3585:     # We need to recreate these files for each test, as the compiler may
                   3586:     # overwrite some of them when testing with obscure command lines.
                   3587:     # This happens at least with the AIX C compiler.
1.86      paf      3588:     : > sub/conftest.c
                   3589:     for i in 1 2 3 4 5 6; do
                   3590:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3591:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3592:       # Solaris 8's {/usr,}/bin/sh.
                   3593:       touch sub/conftst$i.h
                   3594:     done
                   3595:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3596: 
                   3597:     case $depmode in
                   3598:     nosideeffect)
                   3599:       # after this tag, mechanisms are not by side-effect, so they'll
                   3600:       # only be used when explicitly requested
                   3601:       if test "x$enable_dependency_tracking" = xyes; then
                   3602:        continue
                   3603:       else
                   3604:        break
                   3605:       fi
                   3606:       ;;
                   3607:     none) break ;;
                   3608:     esac
                   3609:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3610:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3611:     # handle `-M -o', and we need to detect this.
1.66      paf      3612:     if depmode=$depmode \
1.86      paf      3613:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3614:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3615:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3616:          >/dev/null 2>conftest.err &&
                   3617:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3618:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      3619:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3620:       # icc doesn't choke on unknown options, it will just issue warnings
                   3621:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3622:       # that says an option was ignored or not supported.
                   3623:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3624:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3625:       # The diagnosis changed in icc 8.0:
                   3626:       #   icc: Command line remark: option '-MP' not supported
                   3627:       if (grep 'ignoring option' conftest.err ||
                   3628:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3629:         am_cv_CC_dependencies_compiler_type=$depmode
                   3630:         break
                   3631:       fi
1.66      paf      3632:     fi
                   3633:   done
                   3634: 
                   3635:   cd ..
                   3636:   rm -rf conftest.dir
                   3637: else
                   3638:   am_cv_CC_dependencies_compiler_type=none
                   3639: fi
                   3640: 
                   3641: fi
                   3642: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3643: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3644: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3645: 
                   3646: 
                   3647: 
                   3648: if
                   3649:   test "x$enable_dependency_tracking" != xno \
                   3650:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3651:   am__fastdepCC_TRUE=
                   3652:   am__fastdepCC_FALSE='#'
                   3653: else
                   3654:   am__fastdepCC_TRUE='#'
                   3655:   am__fastdepCC_FALSE=
                   3656: fi
                   3657: 
                   3658: 
1.128     moko     3659: 
1.66      paf      3660: ac_ext=c
                   3661: ac_cpp='$CPP $CPPFLAGS'
                   3662: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3663: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3664: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3665: 
1.67      paf      3666: 
1.62      paf      3667: 
1.128     moko     3668: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3669: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
                   3670: case "$host_os" in
                   3671: cygwin)
                   3672:        dll_extension=dll
                   3673:        ;;
                   3674: *)
                   3675:        dll_extension=so
1.66      paf      3676: esac
1.128     moko     3677: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3678: echo "${ECHO_T}$dll_extension" >&6
1.1       paf      3679: 
1.71      paf      3680: 
                   3681: 
                   3682: 
                   3683: # Check whether --with-build-warnings or --without-build-warnings was given.
                   3684: if test "${with_build_warnings+set}" = set; then
                   3685:   withval="$with_build_warnings"
                   3686:   { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
                   3687: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
                   3688:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   3689: 
                   3690: fi;
1.1       paf      3691: 
                   3692: 
1.67      paf      3693: # Check whether --with-assertions or --without-assertions was given.
                   3694: if test "${with_assertions+set}" = set; then
                   3695:   withval="$with_assertions"
                   3696:   { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
                   3697: echo "$as_me: WARNING: enabling assertions" >&2;}
                   3698: 
                   3699: else
                   3700: 
                   3701: cat >>confdefs.h <<\_ACEOF
                   3702: #define NDEBUG
                   3703: _ACEOF
                   3704: 
                   3705: 
                   3706: fi;
                   3707: 
1.94      misha    3708: 
1.128     moko     3709: # Check whether --with-pathlink or --without-pathlink was given.
                   3710: if test "${with_pathlink+set}" = set; then
                   3711:   withval="$with_pathlink"
                   3712:   LD_PATHLINK=$withval
                   3713: 
                   3714: fi;
                   3715: 
                   3716: 
                   3717: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   3718: if test "${with_sjlj_exceptions+set}" = set; then
                   3719:   withval="$with_sjlj_exceptions"
                   3720: 
                   3721: cat >>confdefs.h <<\_ACEOF
                   3722: #define PA_WITH_SJLJ_EXCEPTIONS
                   3723: _ACEOF
                   3724: 
                   3725: 
                   3726: fi;
                   3727: 
                   3728: 
1.60      paf      3729: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3730: if test "${enable_safe_mode+set}" = set; then
                   3731:   enableval="$enable_safe_mode"
1.62      paf      3732: 
1.67      paf      3733:        SAFE_MODE=$enableval
1.60      paf      3734: 
1.1       paf      3735: 
1.62      paf      3736: fi;
1.128     moko     3737: 
1.60      paf      3738: if test "$SAFE_MODE" = "no"; then
1.62      paf      3739:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3740: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3741: else
1.62      paf      3742: 
                   3743: cat >>confdefs.h <<\_ACEOF
                   3744: #define PA_SAFE_MODE
                   3745: _ACEOF
1.1       paf      3746: 
                   3747: fi
                   3748: 
1.94      misha    3749: 
1.13      paf      3750: # Check whether --enable-execs or --disable-execs was given.
                   3751: if test "${enable_execs+set}" = set; then
                   3752:   enableval="$enable_execs"
1.62      paf      3753: 
1.13      paf      3754: if test "$enableval" = "no"; then
1.62      paf      3755:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3756: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3757: 
                   3758: cat >>confdefs.h <<\_ACEOF
                   3759: #define NO_PA_EXECS
                   3760: _ACEOF
1.13      paf      3761: 
                   3762: fi
                   3763: 
                   3764: 
1.62      paf      3765: fi;
1.13      paf      3766: 
1.60      paf      3767: 
1.94      misha    3768: # Check whether --enable-stringstream or --disable-stringstream was given.
                   3769: if test "${enable_stringstream+set}" = set; then
                   3770:   enableval="$enable_stringstream"
                   3771: 
                   3772: if test "$enableval" = "no"; then
                   3773:        { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
                   3774: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
                   3775: 
                   3776: cat >>confdefs.h <<\_ACEOF
                   3777: #define NO_STRINGSTREAM
                   3778: _ACEOF
                   3779: 
                   3780: fi
                   3781: 
                   3782: 
                   3783: fi;
                   3784: 
                   3785: 
1.62      paf      3786: 
1.128     moko     3787: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
                   3788: if test "${with_dynamic_stdcpp+set}" = set; then
                   3789:   withval="$with_dynamic_stdcpp"
1.17      paf      3790: 
1.128     moko     3791:        { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically" >&5
                   3792: echo "$as_me: WARNING: libstdc++ will be linked dynamically" >&2;}
                   3793:        CPP_LIBS="-lstdc++"
1.17      paf      3794: 
1.128     moko     3795: else
1.17      paf      3796: 
1.128     moko     3797:        CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
1.17      paf      3798: 
1.128     moko     3799: fi;
1.62      paf      3800: 
1.17      paf      3801: 
                   3802: 
1.128     moko     3803: GC_LIB_NAME=gc
1.62      paf      3804: 
1.128     moko     3805: # Check whether --with-shared-gc or --without-shared-gc was given.
                   3806: if test "${with_shared_gc+set}" = set; then
                   3807:   withval="$with_shared_gc"
1.17      paf      3808: 
1.128     moko     3809:        GC_LIBS="-L$withval -l$GC_LIB_NAME"
1.17      paf      3810: 
1.128     moko     3811: fi;
1.62      paf      3812: 
1.128     moko     3813: # Check whether --with-static-gc or --without-static-gc was given.
                   3814: if test "${with_static_gc+set}" = set; then
                   3815:   withval="$with_static_gc"
1.17      paf      3816: 
1.128     moko     3817:        GC_LIBS="$withval/lib$GC_LIB_NAME.a"
1.17      paf      3818: 
1.128     moko     3819: fi;
                   3820: if test -z "$GC_LIBS"; then
                   3821:        #undefined? use any found in system
                   3822:        GC_LIBS="-l$GC_LIB_NAME"
                   3823:        { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5
                   3824: echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;}
                   3825: fi
1.17      paf      3826: 
1.128     moko     3827: echo "$as_me:$LINENO: checking for libgc" >&5
                   3828: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
1.67      paf      3829: SAVE_LIBS=$LIBS
                   3830: LIBS="$LIBS $GC_LIBS"
1.128     moko     3831: 
1.67      paf      3832: cat >conftest.$ac_ext <<_ACEOF
                   3833: /* confdefs.h.  */
                   3834: _ACEOF
                   3835: cat confdefs.h >>conftest.$ac_ext
                   3836: cat >>conftest.$ac_ext <<_ACEOF
                   3837: /* end confdefs.h.  */
                   3838: 
                   3839:        extern int GC_dont_gc;
                   3840: 
                   3841: int
                   3842: main ()
                   3843: {
                   3844: 
                   3845:        GC_dont_gc=0;
                   3846: 
                   3847:   ;
                   3848:   return 0;
                   3849: }
                   3850: _ACEOF
                   3851: rm -f conftest.$ac_objext conftest$ac_exeext
                   3852: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      3853:   (eval $ac_link) 2>conftest.er1
1.67      paf      3854:   ac_status=$?
1.86      paf      3855:   grep -v '^ *+' conftest.er1 >conftest.err
                   3856:   rm -f conftest.er1
                   3857:   cat conftest.err >&5
1.67      paf      3858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3859:   (exit $ac_status); } &&
1.86      paf      3860:         { ac_try='test -z "$ac_c_werror_flag"
                   3861:                         || test ! -s conftest.err'
                   3862:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3863:   (eval $ac_try) 2>&5
                   3864:   ac_status=$?
                   3865:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3866:   (exit $ac_status); }; } &&
                   3867:         { ac_try='test -s conftest$ac_exeext'
1.67      paf      3868:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3869:   (eval $ac_try) 2>&5
                   3870:   ac_status=$?
                   3871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3872:   (exit $ac_status); }; }; then
                   3873:   echo "$as_me:$LINENO: result: yes" >&5
                   3874: echo "${ECHO_T}yes" >&6
                   3875: 
                   3876: else
                   3877:   echo "$as_me: failed program was:" >&5
                   3878: sed 's/^/| /' conftest.$ac_ext >&5
                   3879: 
                   3880: echo "$as_me:$LINENO: result: no" >&5
                   3881: echo "${ECHO_T}no" >&6
                   3882:        { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5
                   3883: echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;}
                   3884:    { (exit 1); exit 1; }; }
                   3885: 
                   3886: fi
1.86      paf      3887: rm -f conftest.err conftest.$ac_objext \
                   3888:       conftest$ac_exeext conftest.$ac_ext
1.67      paf      3889: 
                   3890: LIBS=$SAVE_LIBS
                   3891: 
1.1       paf      3892: 
1.15      paf      3893: 
1.100     misha    3894: # Check whether --with-static-pcre or --without-static-pcre was given.
                   3895: if test "${with_static_pcre+set}" = set; then
                   3896:   withval="$with_static_pcre"
                   3897: 
                   3898:        PCRE=$withval
                   3899:        PCREINC="$PCRE/include"
                   3900:        PCRELIB="$PCRE/lib"
                   3901: 
                   3902:        if test \! -d $PCREINC -o \! -d $PCRELIB; then
                   3903:                { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   3904: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   3905:    { (exit 1); exit 1; }; }
                   3906:        fi
                   3907: 
                   3908:        PCRE_INCLUDES="-I$PCREINC"
                   3909:        PCRE_LIBS="$PCRELIB/libpcre.a"
                   3910: 
                   3911: fi;
                   3912: 
                   3913: 
                   3914: 
                   3915: 
                   3916: 
1.66      paf      3917: # Check whether --with-shared-xml or --without-shared-xml was given.
                   3918: if test "${with_shared_xml+set}" = set; then
                   3919:   withval="$with_shared_xml"
                   3920: 
1.67      paf      3921:        GNOME_XML=$withval
                   3922:        XMLBIN="$GNOME_XML/bin"
                   3923:        XMLINC="$GNOME_XML/include"
                   3924:        XMLLIB="$GNOME_XML/lib"
1.66      paf      3925: 
1.67      paf      3926:        if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   3927:                { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66      paf      3928: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   3929:    { (exit 1); exit 1; }; }
1.67      paf      3930:        fi
1.66      paf      3931: 
                   3932: 
                   3933: cat >>confdefs.h <<\_ACEOF
                   3934: #define XML
                   3935: _ACEOF
                   3936: 
                   3937: 
1.67      paf      3938:        LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3939:        LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3940:        LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3941: 
1.90      paf      3942:        XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
                   3943:        XML_LIBS="-L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
1.67      paf      3944:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      3945:        XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
1.67      paf      3946:        fi
1.66      paf      3947: 
                   3948: fi;
                   3949: 
                   3950: # Check whether --with-static-xml or --without-static-xml was given.
                   3951: if test "${with_static_xml+set}" = set; then
                   3952:   withval="$with_static_xml"
                   3953: 
1.67      paf      3954:        GNOME_XML=$withval
                   3955:        XMLBIN="$GNOME_XML/bin"
                   3956:        XMLINC="$GNOME_XML/include"
                   3957:        XMLLIB="$GNOME_XML/lib"
1.66      paf      3958: 
1.67      paf      3959:        if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   3960:                { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66      paf      3961: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   3962:    { (exit 1); exit 1; }; }
1.67      paf      3963:        fi
1.66      paf      3964: 
                   3965: 
                   3966: cat >>confdefs.h <<\_ACEOF
                   3967: #define XML
                   3968: _ACEOF
                   3969: 
                   3970: 
1.90      paf      3971:        XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
                   3972:        XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a"
                   3973: 
                   3974: fi;
1.66      paf      3975: 
                   3976: 
                   3977: 
                   3978: 
1.90      paf      3979: # Check whether --with-glib-config or --without-glib-config was given.
                   3980: if test "${with_glib_config+set}" = set; then
                   3981:   withval="$with_glib_config"
                   3982:   GLIB_CONFIG=$withval
                   3983: 
                   3984: fi;
1.66      paf      3985: 
                   3986: 
                   3987: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   3988: if test "${with_shared_mailreceive+set}" = set; then
                   3989:   withval="$with_shared_mailreceive"
                   3990: 
1.67      paf      3991:        GNOME_MIME=$withval
                   3992:        MIMEBIN="$GNOME_MIME/bin"
                   3993:        MIMEINC="$GNOME_MIME/include"
                   3994:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      3995: 
1.67      paf      3996:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   3997:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      3998: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   3999:    { (exit 1); exit 1; }; }
1.67      paf      4000:        fi
1.66      paf      4001: 
                   4002: 
                   4003: cat >>confdefs.h <<\_ACEOF
                   4004: #define WITH_MAILRECEIVE
                   4005: _ACEOF
                   4006: 
                   4007: 
1.67      paf      4008:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4009: 
1.67      paf      4010:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4011:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4012:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4013:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4014:                        if test \! -x $GLIB_CONFIG; then
                   4015:                                GLIB_CONFIG=glib-config
                   4016:                        fi
1.67      paf      4017:                fi
                   4018:        fi
                   4019:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4020:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4021: 
1.67      paf      4022:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4023:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4024:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4025:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4026:        fi
1.66      paf      4027: 
                   4028: fi;
                   4029: 
                   4030: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4031: if test "${with_static_mailreceive+set}" = set; then
                   4032:   withval="$with_static_mailreceive"
                   4033: 
1.67      paf      4034:        GNOME_MIME=$withval
                   4035:        MIMEBIN="$GNOME_MIME/bin"
                   4036:        MIMEINC="$GNOME_MIME/include"
                   4037:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4038: 
1.67      paf      4039:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4040:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4041: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4042:    { (exit 1); exit 1; }; }
1.67      paf      4043:        fi
1.66      paf      4044: 
                   4045: 
                   4046: cat >>confdefs.h <<\_ACEOF
                   4047: #define WITH_MAILRECEIVE
                   4048: _ACEOF
                   4049: 
                   4050: 
1.67      paf      4051:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4052:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4053:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4054:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4055:                        if test \! -x $GLIB_CONFIG; then
                   4056:                                GLIB_CONFIG=glib-config
                   4057:                        fi
1.67      paf      4058:                fi
                   4059:        fi
                   4060:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4061: 
1.67      paf      4062:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4063:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4064:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4065:        MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
1.66      paf      4066: 
                   4067: fi;
                   4068: 
                   4069: 
                   4070: 
                   4071: 
                   4072: 
                   4073: # Check whether --with-sendmail or --without-sendmail was given.
                   4074: if test "${with_sendmail+set}" = set; then
                   4075:   withval="$with_sendmail"
                   4076: 
                   4077: cat >>confdefs.h <<_ACEOF
                   4078: #define PA_FORCED_SENDMAIL "$withval"
                   4079: _ACEOF
                   4080: 
                   4081: 
                   4082: fi;
                   4083: 
                   4084: 
                   4085: 
1.122     moko     4086: # Check whether --with-apache or --without-apache was given.
                   4087: if test "${with_apache+set}" = set; then
                   4088:   withval="$with_apache"
                   4089: 
                   4090:        APXS=$withval
                   4091: 
                   4092:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4093:                APXS=`which apxs 2>/dev/null`
                   4094:        fi;
                   4095: 
                   4096:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4097: 
                   4098:        if test -z "$APACHE"; then
                   4099:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
                   4100: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4101:    { (exit 1); exit 1; }; }
1.67      paf      4102:        fi
1.7       paf      4103: 
1.122     moko     4104:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4105:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4106:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4107:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4108: 
1.62      paf      4109: fi;
1.7       paf      4110: 
                   4111: 
1.62      paf      4112: 
1.122     moko     4113: 
                   4114: 
                   4115: if test -n "$APACHE"; then
                   4116:   COMPILE_APACHE_MODULE_TRUE=
                   4117:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4118: else
1.122     moko     4119:   COMPILE_APACHE_MODULE_TRUE='#'
                   4120:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4121: fi
1.1       paf      4122: 
                   4123: 
                   4124: 
1.62      paf      4125: 
                   4126: 
1.7       paf      4127: 
1.1       paf      4128: 
                   4129: 
                   4130: 
1.62      paf      4131: 
1.128     moko     4132: case `pwd` in
                   4133:   *\ * | *\    *)
                   4134:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4135: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4136: esac
                   4137: 
                   4138: 
                   4139: 
                   4140: macro_version='2.4.2'
                   4141: macro_revision='1.3337'
                   4142: 
                   4143: 
                   4144: 
                   4145: 
                   4146: 
                   4147: 
                   4148: 
                   4149: 
                   4150: 
                   4151: 
                   4152: 
                   4153: 
                   4154: 
                   4155: ltmain="$ac_aux_dir/ltmain.sh"
                   4156: 
                   4157: # Backslashify metacharacters that are still active within
                   4158: # double-quoted strings.
                   4159: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      4160: 
1.128     moko     4161: # Same as above, but do not quote variable references.
                   4162: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      4163: 
1.128     moko     4164: # Sed substitution to delay expansion of an escaped shell variable in a
                   4165: # double_quote_subst'ed string.
                   4166: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      4167: 
1.128     moko     4168: # Sed substitution to delay expansion of an escaped single quote.
                   4169: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      4170: 
1.128     moko     4171: # Sed substitution to avoid accidental globbing in evaled expressions
                   4172: no_glob_subst='s/\*/\\\*/g'
1.86      paf      4173: 
1.128     moko     4174: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4175: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4176: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      4177: 
1.128     moko     4178: echo "$as_me:$LINENO: checking how to print strings" >&5
                   4179: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   4180: # Test print first, because it will be a builtin if present.
                   4181: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4182:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4183:   ECHO='print -r --'
                   4184: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4185:   ECHO='printf %s\n'
                   4186: else
                   4187:   # Use this function as a fallback that always works.
                   4188:   func_fallback_echo ()
                   4189:   {
                   4190:     eval 'cat <<_LTECHO_EOF
                   4191: $1
                   4192: _LTECHO_EOF'
                   4193:   }
                   4194:   ECHO='func_fallback_echo'
                   4195: fi
1.86      paf      4196: 
1.128     moko     4197: # func_echo_all arg...
                   4198: # Invoke $ECHO with all args, space-separated.
                   4199: func_echo_all ()
1.66      paf      4200: {
1.128     moko     4201:     $ECHO ""
1.66      paf      4202: }
1.10      paf      4203: 
1.128     moko     4204: case "$ECHO" in
                   4205:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   4206: echo "${ECHO_T}printf" >&6 ;;
                   4207:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   4208: echo "${ECHO_T}print -r" >&6 ;;
                   4209:   *) echo "$as_me:$LINENO: result: cat" >&5
                   4210: echo "${ECHO_T}cat" >&6 ;;
                   4211: esac
                   4212: 
                   4213: 
                   4214: 
                   4215: 
                   4216: 
                   4217: 
                   4218: 
                   4219: 
                   4220: 
                   4221: 
                   4222: 
                   4223: 
                   4224: 
                   4225: 
                   4226: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   4227: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   4228: if test "${lt_cv_path_SED+set}" = set; then
                   4229:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      4230: else
1.128     moko     4231:   # Loop through the user's path and test for sed and gsed.
                   4232: # Then use that list of sed's as ones to test for truncation.
                   4233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4234: for as_dir in $PATH
                   4235: do
                   4236:   IFS=$as_save_IFS
                   4237:   test -z "$as_dir" && as_dir=.
                   4238:   for lt_ac_prog in sed gsed; do
                   4239:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4240:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   4241:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   4242:       fi
                   4243:     done
                   4244:   done
                   4245: done
                   4246: IFS=$as_save_IFS
                   4247: lt_ac_max=0
                   4248: lt_ac_count=0
                   4249: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4250: # along with /bin/sed that truncates output.
                   4251: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   4252:   test ! -f $lt_ac_sed && continue
                   4253:   cat /dev/null > conftest.in
                   4254:   lt_ac_count=0
                   4255:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   4256:   # Check for GNU sed and select it if it is found.
                   4257:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   4258:     lt_cv_path_SED=$lt_ac_sed
                   4259:     break
                   4260:   fi
                   4261:   while true; do
                   4262:     cat conftest.in conftest.in >conftest.tmp
                   4263:     mv conftest.tmp conftest.in
                   4264:     cp conftest.in conftest.nl
                   4265:     echo >>conftest.nl
                   4266:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   4267:     cmp -s conftest.out conftest.nl || break
                   4268:     # 10000 chars as input seems more than enough
                   4269:     test $lt_ac_count -gt 10 && break
                   4270:     lt_ac_count=`expr $lt_ac_count + 1`
                   4271:     if test $lt_ac_count -gt $lt_ac_max; then
                   4272:       lt_ac_max=$lt_ac_count
                   4273:       lt_cv_path_SED=$lt_ac_sed
                   4274:     fi
                   4275:   done
                   4276: done
1.10      paf      4277: 
1.66      paf      4278: fi
1.10      paf      4279: 
1.128     moko     4280: SED=$lt_cv_path_SED
                   4281: 
                   4282: echo "$as_me:$LINENO: result: $SED" >&5
                   4283: echo "${ECHO_T}$SED" >&6
                   4284: 
                   4285: test -z "$SED" && SED=sed
                   4286: Xsed="$SED -e 1s/^X//"
1.10      paf      4287: 
1.128     moko     4288: 
                   4289: 
                   4290: 
                   4291: 
                   4292: 
                   4293: 
                   4294: 
                   4295: 
                   4296: 
                   4297: 
                   4298: echo "$as_me:$LINENO: checking for egrep" >&5
                   4299: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4300: if test "${ac_cv_prog_egrep+set}" = set; then
                   4301:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4302: else
                   4303:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4304:     then ac_cv_prog_egrep='grep -E'
                   4305:     else ac_cv_prog_egrep='egrep'
                   4306:     fi
                   4307: fi
                   4308: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4309: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4310:  EGREP=$ac_cv_prog_egrep
                   4311: 
                   4312: 
                   4313: echo "$as_me:$LINENO: checking for fgrep" >&5
                   4314: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   4315: if test "${ac_cv_prog_fgrep+set}" = set; then
                   4316:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4317: else
                   4318:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   4319:     then ac_cv_prog_fgrep='grep -F'
                   4320:     else ac_cv_prog_fgrep='fgrep'
                   4321:     fi
                   4322: fi
                   4323: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   4324: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   4325:  FGREP=$ac_cv_prog_fgrep
                   4326: 
                   4327: 
                   4328: test -z "$GREP" && GREP=grep
                   4329: 
                   4330: 
                   4331: 
                   4332: 
                   4333: 
                   4334: 
                   4335: 
                   4336: 
                   4337: 
                   4338: 
                   4339: 
                   4340: 
                   4341: 
                   4342: 
                   4343: 
                   4344: 
                   4345: 
                   4346: 
                   4347: 
                   4348: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   4349: if test "${with_gnu_ld+set}" = set; then
                   4350:   withval="$with_gnu_ld"
                   4351:   test "$withval" = no || with_gnu_ld=yes
                   4352: else
                   4353:   with_gnu_ld=no
                   4354: fi;
                   4355: ac_prog=ld
                   4356: if test "$GCC" = yes; then
                   4357:   # Check if gcc -print-prog-name=ld gives a path.
                   4358:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   4359: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   4360:   case $host in
                   4361:   *-*-mingw*)
                   4362:     # gcc leaves a trailing carriage return which upsets mingw
                   4363:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4364:   *)
                   4365:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4366:   esac
                   4367:   case $ac_prog in
                   4368:     # Accept absolute paths.
                   4369:     [\\/]* | ?:[\\/]*)
                   4370:       re_direlt='/[^/][^/]*/\.\./'
                   4371:       # Canonicalize the pathname of ld
                   4372:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4373:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4374:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4375:       done
                   4376:       test -z "$LD" && LD="$ac_prog"
                   4377:       ;;
                   4378:   "")
                   4379:     # If it fails, then pretend we aren't using GCC.
                   4380:     ac_prog=ld
                   4381:     ;;
                   4382:   *)
                   4383:     # If it is relative, then search for the first ld in PATH.
                   4384:     with_gnu_ld=unknown
                   4385:     ;;
                   4386:   esac
                   4387: elif test "$with_gnu_ld" = yes; then
                   4388:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   4389: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   4390: else
                   4391:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   4392: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   4393: fi
                   4394: if test "${lt_cv_path_LD+set}" = set; then
                   4395:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4396: else
                   4397:   if test -z "$LD"; then
                   4398:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4399:   for ac_dir in $PATH; do
                   4400:     IFS="$lt_save_ifs"
                   4401:     test -z "$ac_dir" && ac_dir=.
                   4402:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4403:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4404:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4405:       # but apparently some variants of GNU ld only accept -v.
                   4406:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4407:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4408:       *GNU* | *'with BFD'*)
                   4409:        test "$with_gnu_ld" != no && break
                   4410:        ;;
                   4411:       *)
                   4412:        test "$with_gnu_ld" != yes && break
                   4413:        ;;
                   4414:       esac
                   4415:     fi
                   4416:   done
                   4417:   IFS="$lt_save_ifs"
                   4418: else
                   4419:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4420: fi
                   4421: fi
                   4422: 
                   4423: LD="$lt_cv_path_LD"
                   4424: if test -n "$LD"; then
                   4425:   echo "$as_me:$LINENO: result: $LD" >&5
                   4426: echo "${ECHO_T}$LD" >&6
                   4427: else
                   4428:   echo "$as_me:$LINENO: result: no" >&5
                   4429: echo "${ECHO_T}no" >&6
                   4430: fi
                   4431: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   4432: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   4433:    { (exit 1); exit 1; }; }
                   4434: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   4435: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   4436: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   4437:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4438: else
                   4439:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4440: case `$LD -v 2>&1 </dev/null` in
                   4441: *GNU* | *'with BFD'*)
                   4442:   lt_cv_prog_gnu_ld=yes
                   4443:   ;;
                   4444: *)
                   4445:   lt_cv_prog_gnu_ld=no
                   4446:   ;;
                   4447: esac
                   4448: fi
                   4449: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   4450: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   4451: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4452: 
                   4453: 
                   4454: 
                   4455: 
                   4456: 
                   4457: 
                   4458: 
                   4459: 
                   4460: 
                   4461: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4462: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   4463: if test "${lt_cv_path_NM+set}" = set; then
                   4464:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4465: else
                   4466:   if test -n "$NM"; then
                   4467:   # Let the user override the test.
                   4468:   lt_cv_path_NM="$NM"
                   4469: else
                   4470:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4471:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4472:     lt_nm_to_check="$lt_nm_to_check nm"
                   4473:   fi
                   4474:   for lt_tmp_nm in $lt_nm_to_check; do
                   4475:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4476:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4477:       IFS="$lt_save_ifs"
                   4478:       test -z "$ac_dir" && ac_dir=.
                   4479:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4480:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4481:        # Check to see if the nm accepts a BSD-compat flag.
                   4482:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4483:        #   nm: unknown option "B" ignored
                   4484:        # Tru64's nm complains that /dev/null is an invalid object file
                   4485:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4486:        */dev/null* | *'Invalid file or object type'*)
                   4487:          lt_cv_path_NM="$tmp_nm -B"
                   4488:          break
                   4489:          ;;
                   4490:        *)
                   4491:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4492:          */dev/null*)
                   4493:            lt_cv_path_NM="$tmp_nm -p"
                   4494:            break
                   4495:            ;;
                   4496:          *)
                   4497:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4498:            continue # so that we can try to find one that supports BSD flags
                   4499:            ;;
                   4500:          esac
                   4501:          ;;
                   4502:        esac
                   4503:       fi
                   4504:     done
                   4505:     IFS="$lt_save_ifs"
                   4506:   done
                   4507:   : ${lt_cv_path_NM=no}
                   4508: fi
                   4509: fi
                   4510: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   4511: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   4512: if test "$lt_cv_path_NM" != "no"; then
                   4513:   NM="$lt_cv_path_NM"
                   4514: else
                   4515:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4516:   if test -n "$DUMPBIN"; then :
                   4517:     # Let the user override the test.
                   4518:   else
                   4519:     if test -n "$ac_tool_prefix"; then
                   4520:   for ac_prog in dumpbin "link -dump"
                   4521:   do
                   4522:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4523: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4524: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4525: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4526: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   4527:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4528: else
                   4529:   if test -n "$DUMPBIN"; then
                   4530:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4531: else
                   4532: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4533: for as_dir in $PATH
                   4534: do
                   4535:   IFS=$as_save_IFS
                   4536:   test -z "$as_dir" && as_dir=.
                   4537:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4538:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4539:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4540:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4541:     break 2
                   4542:   fi
                   4543: done
                   4544: done
                   4545: 
                   4546: fi
                   4547: fi
                   4548: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4549: if test -n "$DUMPBIN"; then
                   4550:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   4551: echo "${ECHO_T}$DUMPBIN" >&6
                   4552: else
                   4553:   echo "$as_me:$LINENO: result: no" >&5
                   4554: echo "${ECHO_T}no" >&6
                   4555: fi
                   4556: 
                   4557:     test -n "$DUMPBIN" && break
                   4558:   done
                   4559: fi
                   4560: if test -z "$DUMPBIN"; then
                   4561:   ac_ct_DUMPBIN=$DUMPBIN
                   4562:   for ac_prog in dumpbin "link -dump"
                   4563: do
                   4564:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4565: set dummy $ac_prog; ac_word=$2
                   4566: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4567: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4568: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   4569:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4570: else
                   4571:   if test -n "$ac_ct_DUMPBIN"; then
                   4572:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4573: else
                   4574: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4575: for as_dir in $PATH
                   4576: do
                   4577:   IFS=$as_save_IFS
                   4578:   test -z "$as_dir" && as_dir=.
                   4579:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4580:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4581:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4582:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4583:     break 2
                   4584:   fi
                   4585: done
                   4586: done
                   4587: 
                   4588: fi
                   4589: fi
                   4590: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4591: if test -n "$ac_ct_DUMPBIN"; then
                   4592:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4593: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4594: else
                   4595:   echo "$as_me:$LINENO: result: no" >&5
                   4596: echo "${ECHO_T}no" >&6
                   4597: fi
                   4598: 
                   4599:   test -n "$ac_ct_DUMPBIN" && break
                   4600: done
                   4601: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
                   4602: 
                   4603:   DUMPBIN=$ac_ct_DUMPBIN
                   4604: fi
                   4605: 
                   4606:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4607:     *COFF*)
                   4608:       DUMPBIN="$DUMPBIN -symbols"
                   4609:       ;;
                   4610:     *)
                   4611:       DUMPBIN=:
                   4612:       ;;
                   4613:     esac
                   4614:   fi
                   4615: 
                   4616:   if test "$DUMPBIN" != ":"; then
                   4617:     NM="$DUMPBIN"
                   4618:   fi
                   4619: fi
                   4620: test -z "$NM" && NM=nm
                   4621: 
                   4622: 
                   4623: 
                   4624: 
                   4625: 
                   4626: 
                   4627: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4628: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4629: if test "${lt_cv_nm_interface+set}" = set; then
                   4630:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4631: else
                   4632:   lt_cv_nm_interface="BSD nm"
                   4633:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4634:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4635:   (eval "$ac_compile" 2>conftest.err)
                   4636:   cat conftest.err >&5
                   4637:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4638:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4639:   cat conftest.err >&5
                   4640:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4641:   cat conftest.out >&5
                   4642:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4643:     lt_cv_nm_interface="MS dumpbin"
                   4644:   fi
                   4645:   rm -f conftest*
                   4646: fi
                   4647: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4648: echo "${ECHO_T}$lt_cv_nm_interface" >&6
                   4649: 
                   4650: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4651: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4652: LN_S=$as_ln_s
                   4653: if test "$LN_S" = "ln -s"; then
                   4654:   echo "$as_me:$LINENO: result: yes" >&5
                   4655: echo "${ECHO_T}yes" >&6
                   4656: else
                   4657:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4658: echo "${ECHO_T}no, using $LN_S" >&6
                   4659: fi
                   4660: 
                   4661: # find the maximum length of command line arguments
                   4662: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4663: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4664: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4665:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4666: else
                   4667:     i=0
                   4668:   teststring="ABCD"
                   4669: 
                   4670:   case $build_os in
                   4671:   msdosdjgpp*)
                   4672:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4673:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4674:     # during glob expansion).  Even if it were fixed, the result of this
                   4675:     # check would be larger than it should be.
                   4676:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4677:     ;;
                   4678: 
                   4679:   gnu*)
                   4680:     # Under GNU Hurd, this test is not required because there is
                   4681:     # no limit to the length of command line arguments.
                   4682:     # Libtool will interpret -1 as no limit whatsoever
                   4683:     lt_cv_sys_max_cmd_len=-1;
                   4684:     ;;
                   4685: 
                   4686:   cygwin* | mingw* | cegcc*)
                   4687:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4688:     # about 5 minutes as the teststring grows exponentially.
                   4689:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4690:     # you end up with a "frozen" computer, even though with patience
                   4691:     # the test eventually succeeds (with a max line length of 256k).
                   4692:     # Instead, let's just punt: use the minimum linelength reported by
                   4693:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4694:     lt_cv_sys_max_cmd_len=8192;
                   4695:     ;;
                   4696: 
                   4697:   mint*)
                   4698:     # On MiNT this can take a long time and run out of memory.
                   4699:     lt_cv_sys_max_cmd_len=8192;
                   4700:     ;;
                   4701: 
                   4702:   amigaos*)
                   4703:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4704:     # So we just punt and use a minimum line length of 8192.
                   4705:     lt_cv_sys_max_cmd_len=8192;
                   4706:     ;;
                   4707: 
                   4708:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4709:     # This has been around since 386BSD, at least.  Likely further.
                   4710:     if test -x /sbin/sysctl; then
                   4711:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4712:     elif test -x /usr/sbin/sysctl; then
                   4713:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4714:     else
                   4715:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4716:     fi
                   4717:     # And add a safety zone
                   4718:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4719:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4720:     ;;
                   4721: 
                   4722:   interix*)
                   4723:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4724:     lt_cv_sys_max_cmd_len=196608
                   4725:     ;;
                   4726: 
                   4727:   os2*)
                   4728:     # The test takes a long time on OS/2.
                   4729:     lt_cv_sys_max_cmd_len=8192
                   4730:     ;;
                   4731: 
                   4732:   osf*)
                   4733:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4734:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4735:     # nice to cause kernel panics so lets avoid the loop below.
                   4736:     # First set a reasonable default.
                   4737:     lt_cv_sys_max_cmd_len=16384
                   4738:     #
                   4739:     if test -x /sbin/sysconfig; then
                   4740:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4741:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4742:       esac
                   4743:     fi
                   4744:     ;;
                   4745:   sco3.2v5*)
                   4746:     lt_cv_sys_max_cmd_len=102400
                   4747:     ;;
                   4748:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4749:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4750:     if test -n "$kargmax"; then
                   4751:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4752:     else
                   4753:       lt_cv_sys_max_cmd_len=32768
                   4754:     fi
                   4755:     ;;
                   4756:   *)
                   4757:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4758:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4759:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4760:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4761:     else
                   4762:       # Make teststring a little bigger before we do anything with it.
                   4763:       # a 1K string should be a reasonable start.
                   4764:       for i in 1 2 3 4 5 6 7 8 ; do
                   4765:         teststring=$teststring$teststring
                   4766:       done
                   4767:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4768:       # If test is not a shell built-in, we'll probably end up computing a
                   4769:       # maximum length that is only half of the actual maximum length, but
                   4770:       # we can't tell.
                   4771:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4772:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4773:              test $i != 17 # 1/2 MB should be enough
                   4774:       do
                   4775:         i=`expr $i + 1`
                   4776:         teststring=$teststring$teststring
                   4777:       done
                   4778:       # Only check the string length outside the loop.
                   4779:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4780:       teststring=
                   4781:       # Add a significant safety factor because C++ compilers can tack on
                   4782:       # massive amounts of additional arguments before passing them to the
                   4783:       # linker.  It appears as though 1/2 is a usable value.
                   4784:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4785:     fi
                   4786:     ;;
                   4787:   esac
                   4788: 
                   4789: fi
                   4790: 
                   4791: if test -n $lt_cv_sys_max_cmd_len ; then
                   4792:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4793: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4794: else
                   4795:   echo "$as_me:$LINENO: result: none" >&5
                   4796: echo "${ECHO_T}none" >&6
                   4797: fi
                   4798: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4799: 
                   4800: 
                   4801: 
                   4802: 
                   4803: 
                   4804: 
                   4805: : ${CP="cp -f"}
                   4806: : ${MV="mv -f"}
                   4807: : ${RM="rm -f"}
                   4808: 
                   4809: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4810: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4811: # Try some XSI features
                   4812: xsi_shell=no
                   4813: ( _lt_dummy="a/b/c"
                   4814:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4815:       = c,a/b,b/c, \
                   4816:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4817:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4818:   && xsi_shell=yes
                   4819: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4820: echo "${ECHO_T}$xsi_shell" >&6
                   4821: 
                   4822: 
                   4823: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4824: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4825: lt_shell_append=no
                   4826: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4827:     >/dev/null 2>&1 \
                   4828:   && lt_shell_append=yes
                   4829: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4830: echo "${ECHO_T}$lt_shell_append" >&6
                   4831: 
                   4832: 
                   4833: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4834:   lt_unset=unset
                   4835: else
                   4836:   lt_unset=false
                   4837: fi
                   4838: 
                   4839: 
                   4840: 
                   4841: 
                   4842: 
                   4843: # test EBCDIC or ASCII
                   4844: case `echo X|tr X '\101'` in
                   4845:  A) # ASCII based system
                   4846:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4847:   lt_SP2NL='tr \040 \012'
                   4848:   lt_NL2SP='tr \015\012 \040\040'
                   4849:   ;;
                   4850:  *) # EBCDIC based system
                   4851:   lt_SP2NL='tr \100 \n'
                   4852:   lt_NL2SP='tr \r\n \100\100'
                   4853:   ;;
                   4854: esac
                   4855: 
                   4856: 
                   4857: 
                   4858: 
                   4859: 
                   4860: 
                   4861: 
                   4862: 
                   4863: 
                   4864: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4865: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4866: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4867:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4868: else
                   4869:   case $host in
                   4870:   *-*-mingw* )
                   4871:     case $build in
                   4872:       *-*-mingw* ) # actually msys
                   4873:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4874:         ;;
                   4875:       *-*-cygwin* )
                   4876:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4877:         ;;
                   4878:       * ) # otherwise, assume *nix
                   4879:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4880:         ;;
                   4881:     esac
                   4882:     ;;
                   4883:   *-*-cygwin* )
                   4884:     case $build in
                   4885:       *-*-mingw* ) # actually msys
                   4886:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4887:         ;;
                   4888:       *-*-cygwin* )
                   4889:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4890:         ;;
                   4891:       * ) # otherwise, assume *nix
                   4892:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4893:         ;;
                   4894:     esac
                   4895:     ;;
                   4896:   * ) # unhandled hosts (and "normal" native builds)
                   4897:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4898:     ;;
                   4899: esac
                   4900: 
                   4901: fi
                   4902: 
                   4903: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4904: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4905: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   4906: 
                   4907: 
                   4908: 
                   4909: 
                   4910: 
                   4911: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   4912: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   4913: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   4914:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4915: else
                   4916:   #assume ordinary cross tools, or native build.
                   4917: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4918: case $host in
                   4919:   *-*-mingw* )
                   4920:     case $build in
                   4921:       *-*-mingw* ) # actually msys
                   4922:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4923:         ;;
                   4924:     esac
                   4925:     ;;
                   4926: esac
                   4927: 
                   4928: fi
                   4929: 
                   4930: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   4931: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   4932: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   4933: 
                   4934: 
                   4935: 
                   4936: 
                   4937: 
                   4938: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   4939: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   4940: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   4941:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4942: else
                   4943:   lt_cv_ld_reload_flag='-r'
                   4944: fi
                   4945: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   4946: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   4947: reload_flag=$lt_cv_ld_reload_flag
                   4948: case $reload_flag in
                   4949: "" | " "*) ;;
                   4950: *) reload_flag=" $reload_flag" ;;
                   4951: esac
                   4952: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4953: case $host_os in
                   4954:   cygwin* | mingw* | pw32* | cegcc*)
                   4955:     if test "$GCC" != yes; then
                   4956:       reload_cmds=false
                   4957:     fi
                   4958:     ;;
                   4959:   darwin*)
                   4960:     if test "$GCC" = yes; then
                   4961:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4962:     else
                   4963:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4964:     fi
                   4965:     ;;
                   4966: esac
                   4967: 
                   4968: 
                   4969: 
                   4970: 
                   4971: 
                   4972: 
                   4973: 
                   4974: 
                   4975: 
                   4976: if test -n "$ac_tool_prefix"; then
                   4977:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4978: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   4979: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4980: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4981: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   4982:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4983: else
                   4984:   if test -n "$OBJDUMP"; then
                   4985:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4986: else
                   4987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4988: for as_dir in $PATH
                   4989: do
                   4990:   IFS=$as_save_IFS
                   4991:   test -z "$as_dir" && as_dir=.
                   4992:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4993:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4994:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   4995:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4996:     break 2
                   4997:   fi
                   4998: done
                   4999: done
                   5000: 
                   5001: fi
                   5002: fi
                   5003: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5004: if test -n "$OBJDUMP"; then
                   5005:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   5006: echo "${ECHO_T}$OBJDUMP" >&6
                   5007: else
                   5008:   echo "$as_me:$LINENO: result: no" >&5
                   5009: echo "${ECHO_T}no" >&6
                   5010: fi
                   5011: 
                   5012: fi
                   5013: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5014:   ac_ct_OBJDUMP=$OBJDUMP
                   5015:   # Extract the first word of "objdump", so it can be a program name with args.
                   5016: set dummy objdump; ac_word=$2
                   5017: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5018: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5019: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   5020:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5021: else
                   5022:   if test -n "$ac_ct_OBJDUMP"; then
                   5023:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5024: else
                   5025: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5026: for as_dir in $PATH
                   5027: do
                   5028:   IFS=$as_save_IFS
                   5029:   test -z "$as_dir" && as_dir=.
                   5030:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5031:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5032:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5033:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5034:     break 2
                   5035:   fi
                   5036: done
                   5037: done
                   5038: 
                   5039:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   5040: fi
                   5041: fi
                   5042: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5043: if test -n "$ac_ct_OBJDUMP"; then
                   5044:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   5045: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   5046: else
                   5047:   echo "$as_me:$LINENO: result: no" >&5
                   5048: echo "${ECHO_T}no" >&6
                   5049: fi
                   5050: 
                   5051:   OBJDUMP=$ac_ct_OBJDUMP
                   5052: else
                   5053:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5054: fi
                   5055: 
                   5056: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5057: 
                   5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: 
                   5063: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   5064: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   5065: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   5066:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5067: else
                   5068:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5069: lt_cv_file_magic_test_file=
                   5070: lt_cv_deplibs_check_method='unknown'
                   5071: # Need to set the preceding variable on all platforms that support
                   5072: # interlibrary dependencies.
                   5073: # 'none' -- dependencies not supported.
                   5074: # `unknown' -- same as none, but documents that we really don't know.
                   5075: # 'pass_all' -- all dependencies passed with no checks.
                   5076: # 'test_compile' -- check by making test program.
                   5077: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5078: # which responds to the $file_magic_cmd with a given extended regex.
                   5079: # If you have `file' or equivalent on your system and you're not sure
                   5080: # whether `pass_all' will *always* work, you probably want this one.
                   5081: 
                   5082: case $host_os in
                   5083: aix[4-9]*)
                   5084:   lt_cv_deplibs_check_method=pass_all
                   5085:   ;;
                   5086: 
                   5087: beos*)
                   5088:   lt_cv_deplibs_check_method=pass_all
                   5089:   ;;
                   5090: 
                   5091: bsdi[45]*)
                   5092:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5093:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5094:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5095:   ;;
                   5096: 
                   5097: cygwin*)
                   5098:   # func_win32_libid is a shell function defined in ltmain.sh
                   5099:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5100:   lt_cv_file_magic_cmd='func_win32_libid'
                   5101:   ;;
                   5102: 
                   5103: mingw* | pw32*)
                   5104:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5105:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5106:   # unless we find 'file', for example because we are cross-compiling.
                   5107:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5108:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5109:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5110:     lt_cv_file_magic_cmd='func_win32_libid'
                   5111:   else
                   5112:     # Keep this pattern in sync with the one in func_win32_libid.
                   5113:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5114:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5115:   fi
                   5116:   ;;
                   5117: 
                   5118: cegcc*)
                   5119:   # use the weaker test based on 'objdump'. See mingw*.
                   5120:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5121:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5122:   ;;
                   5123: 
                   5124: darwin* | rhapsody*)
                   5125:   lt_cv_deplibs_check_method=pass_all
                   5126:   ;;
                   5127: 
                   5128: freebsd* | dragonfly*)
                   5129:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5130:     case $host_cpu in
                   5131:     i*86 )
                   5132:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5133:       # Let's accept both of them until this is cleared up.
                   5134:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5135:       lt_cv_file_magic_cmd=/usr/bin/file
                   5136:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5137:       ;;
                   5138:     esac
                   5139:   else
                   5140:     lt_cv_deplibs_check_method=pass_all
                   5141:   fi
                   5142:   ;;
                   5143: 
                   5144: gnu*)
                   5145:   lt_cv_deplibs_check_method=pass_all
                   5146:   ;;
                   5147: 
                   5148: haiku*)
                   5149:   lt_cv_deplibs_check_method=pass_all
                   5150:   ;;
                   5151: 
                   5152: hpux10.20* | hpux11*)
                   5153:   lt_cv_file_magic_cmd=/usr/bin/file
                   5154:   case $host_cpu in
                   5155:   ia64*)
                   5156:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5157:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5158:     ;;
                   5159:   hppa*64*)
                   5160:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
                   5161:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5162:     ;;
                   5163:   *)
                   5164:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5165:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5166:     ;;
                   5167:   esac
                   5168:   ;;
                   5169: 
                   5170: interix[3-9]*)
                   5171:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5172:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5173:   ;;
                   5174: 
                   5175: irix5* | irix6* | nonstopux*)
                   5176:   case $LD in
                   5177:   *-32|*"-32 ") libmagic=32-bit;;
                   5178:   *-n32|*"-n32 ") libmagic=N32;;
                   5179:   *-64|*"-64 ") libmagic=64-bit;;
                   5180:   *) libmagic=never-match;;
                   5181:   esac
                   5182:   lt_cv_deplibs_check_method=pass_all
                   5183:   ;;
                   5184: 
                   5185: # This must be glibc/ELF.
                   5186: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5187:   lt_cv_deplibs_check_method=pass_all
                   5188:   ;;
                   5189: 
                   5190: netbsd*)
                   5191:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5192:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5193:   else
                   5194:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5195:   fi
                   5196:   ;;
                   5197: 
                   5198: newos6*)
                   5199:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5200:   lt_cv_file_magic_cmd=/usr/bin/file
                   5201:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5202:   ;;
                   5203: 
                   5204: *nto* | *qnx*)
                   5205:   lt_cv_deplibs_check_method=pass_all
                   5206:   ;;
                   5207: 
                   5208: openbsd*)
                   5209:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5210:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5211:   else
                   5212:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5213:   fi
                   5214:   ;;
                   5215: 
                   5216: osf3* | osf4* | osf5*)
                   5217:   lt_cv_deplibs_check_method=pass_all
                   5218:   ;;
                   5219: 
                   5220: rdos*)
                   5221:   lt_cv_deplibs_check_method=pass_all
                   5222:   ;;
                   5223: 
                   5224: solaris*)
                   5225:   lt_cv_deplibs_check_method=pass_all
                   5226:   ;;
                   5227: 
                   5228: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5229:   lt_cv_deplibs_check_method=pass_all
                   5230:   ;;
                   5231: 
                   5232: sysv4 | sysv4.3*)
                   5233:   case $host_vendor in
                   5234:   motorola)
                   5235:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
                   5236:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5237:     ;;
                   5238:   ncr)
                   5239:     lt_cv_deplibs_check_method=pass_all
                   5240:     ;;
                   5241:   sequent)
                   5242:     lt_cv_file_magic_cmd='/bin/file'
                   5243:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5244:     ;;
                   5245:   sni)
                   5246:     lt_cv_file_magic_cmd='/bin/file'
                   5247:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5248:     lt_cv_file_magic_test_file=/lib/libc.so
                   5249:     ;;
                   5250:   siemens)
                   5251:     lt_cv_deplibs_check_method=pass_all
                   5252:     ;;
                   5253:   pc)
                   5254:     lt_cv_deplibs_check_method=pass_all
                   5255:     ;;
                   5256:   esac
                   5257:   ;;
                   5258: 
                   5259: tpf*)
                   5260:   lt_cv_deplibs_check_method=pass_all
                   5261:   ;;
                   5262: esac
                   5263: 
                   5264: fi
                   5265: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   5266: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   5267: 
                   5268: file_magic_glob=
                   5269: want_nocaseglob=no
                   5270: if test "$build" = "$host"; then
                   5271:   case $host_os in
                   5272:   mingw* | pw32*)
                   5273:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5274:       want_nocaseglob=yes
                   5275:     else
                   5276:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5277:     fi
                   5278:     ;;
                   5279:   esac
                   5280: fi
                   5281: 
                   5282: file_magic_cmd=$lt_cv_file_magic_cmd
                   5283: deplibs_check_method=$lt_cv_deplibs_check_method
                   5284: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5285: 
                   5286: 
                   5287: 
                   5288: 
                   5289: 
                   5290: 
                   5291: 
                   5292: 
                   5293: 
                   5294: 
                   5295: 
                   5296: 
                   5297: 
                   5298: 
                   5299: 
                   5300: 
                   5301: 
                   5302: 
                   5303: 
                   5304: 
                   5305: 
                   5306: 
                   5307: if test -n "$ac_tool_prefix"; then
                   5308:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5309: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5310: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5311: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5312: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   5313:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5314: else
                   5315:   if test -n "$DLLTOOL"; then
                   5316:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5317: else
                   5318: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5319: for as_dir in $PATH
                   5320: do
                   5321:   IFS=$as_save_IFS
                   5322:   test -z "$as_dir" && as_dir=.
                   5323:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5324:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5325:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5326:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5327:     break 2
                   5328:   fi
                   5329: done
                   5330: done
                   5331: 
                   5332: fi
                   5333: fi
                   5334: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5335: if test -n "$DLLTOOL"; then
                   5336:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   5337: echo "${ECHO_T}$DLLTOOL" >&6
                   5338: else
                   5339:   echo "$as_me:$LINENO: result: no" >&5
                   5340: echo "${ECHO_T}no" >&6
                   5341: fi
                   5342: 
                   5343: fi
                   5344: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5345:   ac_ct_DLLTOOL=$DLLTOOL
                   5346:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5347: set dummy dlltool; ac_word=$2
                   5348: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5349: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5350: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   5351:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5352: else
                   5353:   if test -n "$ac_ct_DLLTOOL"; then
                   5354:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5355: else
                   5356: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5357: for as_dir in $PATH
                   5358: do
                   5359:   IFS=$as_save_IFS
                   5360:   test -z "$as_dir" && as_dir=.
                   5361:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5362:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5363:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5364:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5365:     break 2
                   5366:   fi
                   5367: done
                   5368: done
                   5369: 
                   5370:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   5371: fi
                   5372: fi
                   5373: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5374: if test -n "$ac_ct_DLLTOOL"; then
                   5375:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   5376: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   5377: else
                   5378:   echo "$as_me:$LINENO: result: no" >&5
                   5379: echo "${ECHO_T}no" >&6
                   5380: fi
                   5381: 
                   5382:   DLLTOOL=$ac_ct_DLLTOOL
                   5383: else
                   5384:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5385: fi
                   5386: 
                   5387: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   5396: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   5397: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   5398:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5399: else
                   5400:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5401: 
                   5402: case $host_os in
                   5403: cygwin* | mingw* | pw32* | cegcc*)
                   5404:   # two different shell functions defined in ltmain.sh
                   5405:   # decide which to use based on capabilities of $DLLTOOL
                   5406:   case `$DLLTOOL --help 2>&1` in
                   5407:   *--identify-strict*)
                   5408:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5409:     ;;
                   5410:   *)
                   5411:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5412:     ;;
                   5413:   esac
                   5414:   ;;
                   5415: *)
                   5416:   # fallback: assume linklib IS sharedlib
                   5417:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5418:   ;;
                   5419: esac
                   5420: 
                   5421: fi
                   5422: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5423: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   5424: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5425: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5426: 
                   5427: 
                   5428: 
                   5429: 
                   5430: 
                   5431: 
                   5432: 
                   5433: if test -n "$ac_tool_prefix"; then
                   5434:   for ac_prog in ar
                   5435:   do
                   5436:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5437: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5438: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5439: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5440: if test "${ac_cv_prog_AR+set}" = set; then
                   5441:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5442: else
                   5443:   if test -n "$AR"; then
                   5444:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5445: else
                   5446: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5447: for as_dir in $PATH
                   5448: do
                   5449:   IFS=$as_save_IFS
                   5450:   test -z "$as_dir" && as_dir=.
                   5451:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5452:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5453:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5454:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5455:     break 2
                   5456:   fi
                   5457: done
                   5458: done
                   5459: 
                   5460: fi
                   5461: fi
                   5462: AR=$ac_cv_prog_AR
                   5463: if test -n "$AR"; then
                   5464:   echo "$as_me:$LINENO: result: $AR" >&5
                   5465: echo "${ECHO_T}$AR" >&6
                   5466: else
                   5467:   echo "$as_me:$LINENO: result: no" >&5
                   5468: echo "${ECHO_T}no" >&6
                   5469: fi
                   5470: 
                   5471:     test -n "$AR" && break
                   5472:   done
                   5473: fi
                   5474: if test -z "$AR"; then
                   5475:   ac_ct_AR=$AR
                   5476:   for ac_prog in ar
                   5477: do
                   5478:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5479: set dummy $ac_prog; ac_word=$2
                   5480: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5481: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5482: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   5483:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5484: else
                   5485:   if test -n "$ac_ct_AR"; then
                   5486:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5487: else
                   5488: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5489: for as_dir in $PATH
                   5490: do
                   5491:   IFS=$as_save_IFS
                   5492:   test -z "$as_dir" && as_dir=.
                   5493:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5494:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5495:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5496:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5497:     break 2
                   5498:   fi
                   5499: done
                   5500: done
                   5501: 
                   5502: fi
                   5503: fi
                   5504: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5505: if test -n "$ac_ct_AR"; then
                   5506:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   5507: echo "${ECHO_T}$ac_ct_AR" >&6
                   5508: else
                   5509:   echo "$as_me:$LINENO: result: no" >&5
                   5510: echo "${ECHO_T}no" >&6
                   5511: fi
                   5512: 
                   5513:   test -n "$ac_ct_AR" && break
                   5514: done
                   5515: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   5516: 
                   5517:   AR=$ac_ct_AR
                   5518: fi
                   5519: 
                   5520: : ${AR=ar}
                   5521: : ${AR_FLAGS=cru}
                   5522: 
                   5523: 
                   5524: 
                   5525: 
                   5526: 
                   5527: 
                   5528: 
                   5529: 
                   5530: 
                   5531: 
                   5532: 
                   5533: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   5534: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   5535: if test "${lt_cv_ar_at_file+set}" = set; then
                   5536:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5537: else
                   5538:   lt_cv_ar_at_file=no
                   5539:    cat >conftest.$ac_ext <<_ACEOF
                   5540: /* confdefs.h.  */
                   5541: _ACEOF
                   5542: cat confdefs.h >>conftest.$ac_ext
                   5543: cat >>conftest.$ac_ext <<_ACEOF
                   5544: /* end confdefs.h.  */
                   5545: 
                   5546: int
                   5547: main ()
                   5548: {
                   5549: 
                   5550:   ;
                   5551:   return 0;
                   5552: }
                   5553: _ACEOF
                   5554: rm -f conftest.$ac_objext
                   5555: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5556:   (eval $ac_compile) 2>conftest.er1
                   5557:   ac_status=$?
                   5558:   grep -v '^ *+' conftest.er1 >conftest.err
                   5559:   rm -f conftest.er1
                   5560:   cat conftest.err >&5
                   5561:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5562:   (exit $ac_status); } &&
                   5563:         { ac_try='test -z "$ac_c_werror_flag"
                   5564:                         || test ! -s conftest.err'
                   5565:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5566:   (eval $ac_try) 2>&5
                   5567:   ac_status=$?
                   5568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5569:   (exit $ac_status); }; } &&
                   5570:         { ac_try='test -s conftest.$ac_objext'
                   5571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5572:   (eval $ac_try) 2>&5
                   5573:   ac_status=$?
                   5574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5575:   (exit $ac_status); }; }; then
                   5576:   echo conftest.$ac_objext > conftest.lst
                   5577:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5578:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5579:   (eval $lt_ar_try) 2>&5
                   5580:   ac_status=$?
                   5581:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5582:   (exit $ac_status); }
                   5583:       if test "$ac_status" -eq 0; then
                   5584:        # Ensure the archiver fails upon bogus file names.
                   5585:        rm -f conftest.$ac_objext libconftest.a
                   5586:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5587:   (eval $lt_ar_try) 2>&5
                   5588:   ac_status=$?
                   5589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5590:   (exit $ac_status); }
                   5591:        if test "$ac_status" -ne 0; then
                   5592:           lt_cv_ar_at_file=@
                   5593:         fi
                   5594:       fi
                   5595:       rm -f conftest.* libconftest.a
                   5596: 
                   5597: else
                   5598:   echo "$as_me: failed program was:" >&5
                   5599: sed 's/^/| /' conftest.$ac_ext >&5
                   5600: 
                   5601: fi
                   5602: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5603: 
                   5604: fi
                   5605: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5606: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
                   5607: 
                   5608: if test "x$lt_cv_ar_at_file" = xno; then
                   5609:   archiver_list_spec=
                   5610: else
                   5611:   archiver_list_spec=$lt_cv_ar_at_file
                   5612: fi
                   5613: 
                   5614: 
                   5615: 
                   5616: 
                   5617: 
                   5618: 
                   5619: 
                   5620: if test -n "$ac_tool_prefix"; then
                   5621:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5622: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5623: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5624: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5625: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5626:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5627: else
                   5628:   if test -n "$STRIP"; then
                   5629:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5630: else
                   5631: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5632: for as_dir in $PATH
                   5633: do
                   5634:   IFS=$as_save_IFS
                   5635:   test -z "$as_dir" && as_dir=.
                   5636:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5637:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5638:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5639:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5640:     break 2
                   5641:   fi
                   5642: done
                   5643: done
                   5644: 
                   5645: fi
                   5646: fi
                   5647: STRIP=$ac_cv_prog_STRIP
                   5648: if test -n "$STRIP"; then
                   5649:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5650: echo "${ECHO_T}$STRIP" >&6
                   5651: else
                   5652:   echo "$as_me:$LINENO: result: no" >&5
                   5653: echo "${ECHO_T}no" >&6
                   5654: fi
                   5655: 
                   5656: fi
                   5657: if test -z "$ac_cv_prog_STRIP"; then
                   5658:   ac_ct_STRIP=$STRIP
                   5659:   # Extract the first word of "strip", so it can be a program name with args.
                   5660: set dummy strip; ac_word=$2
                   5661: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5662: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5663: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5664:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5665: else
                   5666:   if test -n "$ac_ct_STRIP"; then
                   5667:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5668: else
                   5669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5670: for as_dir in $PATH
                   5671: do
                   5672:   IFS=$as_save_IFS
                   5673:   test -z "$as_dir" && as_dir=.
                   5674:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5675:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5676:     ac_cv_prog_ac_ct_STRIP="strip"
                   5677:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5678:     break 2
                   5679:   fi
                   5680: done
                   5681: done
                   5682: 
                   5683:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5684: fi
                   5685: fi
                   5686: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5687: if test -n "$ac_ct_STRIP"; then
                   5688:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5689: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5690: else
                   5691:   echo "$as_me:$LINENO: result: no" >&5
                   5692: echo "${ECHO_T}no" >&6
                   5693: fi
                   5694: 
                   5695:   STRIP=$ac_ct_STRIP
                   5696: else
                   5697:   STRIP="$ac_cv_prog_STRIP"
                   5698: fi
                   5699: 
                   5700: test -z "$STRIP" && STRIP=:
                   5701: 
                   5702: 
                   5703: 
                   5704: 
                   5705: 
                   5706: 
                   5707: if test -n "$ac_tool_prefix"; then
                   5708:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5709: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5710: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5711: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5712: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5713:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5714: else
                   5715:   if test -n "$RANLIB"; then
                   5716:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5717: else
                   5718: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5719: for as_dir in $PATH
                   5720: do
                   5721:   IFS=$as_save_IFS
                   5722:   test -z "$as_dir" && as_dir=.
                   5723:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5724:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5725:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5726:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5727:     break 2
                   5728:   fi
                   5729: done
                   5730: done
                   5731: 
                   5732: fi
                   5733: fi
                   5734: RANLIB=$ac_cv_prog_RANLIB
                   5735: if test -n "$RANLIB"; then
                   5736:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5737: echo "${ECHO_T}$RANLIB" >&6
                   5738: else
                   5739:   echo "$as_me:$LINENO: result: no" >&5
                   5740: echo "${ECHO_T}no" >&6
                   5741: fi
                   5742: 
                   5743: fi
                   5744: if test -z "$ac_cv_prog_RANLIB"; then
                   5745:   ac_ct_RANLIB=$RANLIB
                   5746:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5747: set dummy ranlib; ac_word=$2
                   5748: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5749: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5750: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5751:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5752: else
                   5753:   if test -n "$ac_ct_RANLIB"; then
                   5754:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5755: else
                   5756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5757: for as_dir in $PATH
                   5758: do
                   5759:   IFS=$as_save_IFS
                   5760:   test -z "$as_dir" && as_dir=.
                   5761:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5762:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5763:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5764:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5765:     break 2
                   5766:   fi
                   5767: done
                   5768: done
                   5769: 
                   5770:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5771: fi
                   5772: fi
                   5773: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5774: if test -n "$ac_ct_RANLIB"; then
                   5775:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5776: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5777: else
                   5778:   echo "$as_me:$LINENO: result: no" >&5
                   5779: echo "${ECHO_T}no" >&6
                   5780: fi
                   5781: 
                   5782:   RANLIB=$ac_ct_RANLIB
                   5783: else
                   5784:   RANLIB="$ac_cv_prog_RANLIB"
                   5785: fi
                   5786: 
                   5787: test -z "$RANLIB" && RANLIB=:
                   5788: 
                   5789: 
                   5790: 
                   5791: 
                   5792: 
                   5793: 
                   5794: # Determine commands to create old-style static archives.
                   5795: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5796: old_postinstall_cmds='chmod 644 $oldlib'
                   5797: old_postuninstall_cmds=
                   5798: 
                   5799: if test -n "$RANLIB"; then
                   5800:   case $host_os in
                   5801:   openbsd*)
                   5802:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5803:     ;;
                   5804:   *)
                   5805:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5806:     ;;
                   5807:   esac
                   5808:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5809: fi
                   5810: 
                   5811: case $host_os in
                   5812:   darwin*)
                   5813:     lock_old_archive_extraction=yes ;;
                   5814:   *)
                   5815:     lock_old_archive_extraction=no ;;
                   5816: esac
                   5817: 
                   5818: 
                   5819: 
                   5820: 
                   5821: 
                   5822: 
                   5823: 
                   5824: 
                   5825: 
                   5826: 
                   5827: 
                   5828: 
                   5829: 
                   5830: 
                   5831: 
                   5832: 
                   5833: 
                   5834: 
                   5835: 
                   5836: 
                   5837: 
                   5838: 
                   5839: 
                   5840: 
                   5841: 
                   5842: 
                   5843: 
                   5844: 
                   5845: 
                   5846: 
                   5847: 
                   5848: 
                   5849: 
                   5850: 
                   5851: 
                   5852: 
                   5853: 
                   5854: 
                   5855: 
                   5856: # If no C compiler was specified, use CC.
                   5857: LTCC=${LTCC-"$CC"}
                   5858: 
                   5859: # If no C compiler flags were specified, use CFLAGS.
                   5860: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5861: 
                   5862: # Allow CC to be a program name with arguments.
                   5863: compiler=$CC
                   5864: 
                   5865: 
                   5866: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5867: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5868: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5869: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5870:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5871: else
                   5872: 
                   5873: # These are sane defaults that work on at least a few old systems.
                   5874: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5875: 
                   5876: # Character class describing NM global symbol codes.
                   5877: symcode='[BCDEGRST]'
                   5878: 
                   5879: # Regexp to match symbols that can be accessed directly from C.
                   5880: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5881: 
                   5882: # Define system-specific variables.
                   5883: case $host_os in
                   5884: aix*)
                   5885:   symcode='[BCDT]'
                   5886:   ;;
                   5887: cygwin* | mingw* | pw32* | cegcc*)
                   5888:   symcode='[ABCDGISTW]'
                   5889:   ;;
                   5890: hpux*)
                   5891:   if test "$host_cpu" = ia64; then
                   5892:     symcode='[ABCDEGRST]'
                   5893:   fi
                   5894:   ;;
                   5895: irix* | nonstopux*)
                   5896:   symcode='[BCDEGRST]'
                   5897:   ;;
                   5898: osf*)
                   5899:   symcode='[BCDEGQRST]'
                   5900:   ;;
                   5901: solaris*)
                   5902:   symcode='[BDRT]'
                   5903:   ;;
                   5904: sco3.2v5*)
                   5905:   symcode='[DT]'
                   5906:   ;;
                   5907: sysv4.2uw2*)
                   5908:   symcode='[DT]'
                   5909:   ;;
                   5910: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5911:   symcode='[ABDT]'
                   5912:   ;;
                   5913: sysv4)
                   5914:   symcode='[DFNSTU]'
                   5915:   ;;
                   5916: esac
                   5917: 
                   5918: # If we're using GNU nm, then use its standard symbol codes.
                   5919: case `$NM -V 2>&1` in
                   5920: *GNU* | *'with BFD'*)
                   5921:   symcode='[ABCDGIRSTW]' ;;
                   5922: esac
                   5923: 
                   5924: # Transform an extracted symbol line into a proper C declaration.
                   5925: # Some systems (esp. on ia64) link data and code symbols differently,
                   5926: # so use this general approach.
                   5927: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   5928: 
                   5929: # Transform an extracted symbol line into symbol name and symbol address
                   5930: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5931: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   5932: 
                   5933: # Handle CRLF in mingw tool chain
                   5934: opt_cr=
                   5935: case $build_os in
                   5936: mingw*)
                   5937:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5938:   ;;
                   5939: esac
                   5940: 
                   5941: # Try without a prefix underscore, then with it.
                   5942: for ac_symprfx in "" "_"; do
                   5943: 
                   5944:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5945:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   5946: 
                   5947:   # Write the raw and C identifiers.
                   5948:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5949:     # Fake it for dumpbin and say T for any non-static function
                   5950:     # and D for any global variable.
                   5951:     # Also find C++ and __fastcall symbols from MSVC++,
                   5952:     # which start with @ or ?.
                   5953:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5954: "     {last_section=section; section=\$ 3};"\
                   5955: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5956: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5957: "     \$ 0!~/External *\|/{next};"\
                   5958: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5959: "     {if(hide[section]) next};"\
                   5960: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5961: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5962: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5963: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5964: "     ' prfx=^$ac_symprfx"
                   5965:   else
                   5966:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   5967:   fi
                   5968:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   5969: 
                   5970:   # Check to see that the pipe works correctly.
                   5971:   pipe_works=no
                   5972: 
                   5973:   rm -f conftest*
                   5974:   cat > conftest.$ac_ext <<_LT_EOF
                   5975: #ifdef __cplusplus
                   5976: extern "C" {
                   5977: #endif
                   5978: char nm_test_var;
                   5979: void nm_test_func(void);
                   5980: void nm_test_func(void){}
                   5981: #ifdef __cplusplus
                   5982: }
                   5983: #endif
                   5984: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5985: _LT_EOF
                   5986: 
                   5987:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5988:   (eval $ac_compile) 2>&5
                   5989:   ac_status=$?
                   5990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5991:   (exit $ac_status); }; then
                   5992:     # Now try to grab the symbols.
                   5993:     nlist=conftest.nm
                   5994:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   5995:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   5996:   ac_status=$?
                   5997:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5998:   (exit $ac_status); } && test -s "$nlist"; then
                   5999:       # Try sorting and uniquifying the output.
                   6000:       if sort "$nlist" | uniq > "$nlist"T; then
                   6001:        mv -f "$nlist"T "$nlist"
                   6002:       else
                   6003:        rm -f "$nlist"T
                   6004:       fi
                   6005: 
                   6006:       # Make sure that we snagged all the symbols we need.
                   6007:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6008:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6009:          cat <<_LT_EOF > conftest.$ac_ext
                   6010: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6011: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6012: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6013:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6014: # define LT_DLSYM_CONST
                   6015: #elif defined(__osf__)
                   6016: /* This system does not cope well with relocations in const data.  */
                   6017: # define LT_DLSYM_CONST
                   6018: #else
                   6019: # define LT_DLSYM_CONST const
                   6020: #endif
                   6021: 
                   6022: #ifdef __cplusplus
                   6023: extern "C" {
                   6024: #endif
                   6025: 
                   6026: _LT_EOF
                   6027:          # Now generate the symbol file.
                   6028:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6029: 
                   6030:          cat <<_LT_EOF >> conftest.$ac_ext
                   6031: 
                   6032: /* The mapping between symbol names and symbols.  */
                   6033: LT_DLSYM_CONST struct {
                   6034:   const char *name;
                   6035:   void       *address;
                   6036: }
                   6037: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6038: {
                   6039:   { "@PROGRAM@", (void *) 0 },
                   6040: _LT_EOF
                   6041:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6042:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6043:   {0, (void *) 0}
                   6044: };
                   6045: 
                   6046: /* This works around a problem in FreeBSD linker */
                   6047: #ifdef FREEBSD_WORKAROUND
                   6048: static const void *lt_preloaded_setup() {
                   6049:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6050: }
                   6051: #endif
                   6052: 
                   6053: #ifdef __cplusplus
                   6054: }
                   6055: #endif
                   6056: _LT_EOF
                   6057:          # Now try linking the two files.
                   6058:          mv conftest.$ac_objext conftstm.$ac_objext
                   6059:          lt_globsym_save_LIBS=$LIBS
                   6060:          lt_globsym_save_CFLAGS=$CFLAGS
                   6061:          LIBS="conftstm.$ac_objext"
                   6062:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6063:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6064:   (eval $ac_link) 2>&5
                   6065:   ac_status=$?
                   6066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6067:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   6068:            pipe_works=yes
                   6069:          fi
                   6070:          LIBS=$lt_globsym_save_LIBS
                   6071:          CFLAGS=$lt_globsym_save_CFLAGS
                   6072:        else
                   6073:          echo "cannot find nm_test_func in $nlist" >&5
                   6074:        fi
                   6075:       else
                   6076:        echo "cannot find nm_test_var in $nlist" >&5
                   6077:       fi
                   6078:     else
                   6079:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6080:     fi
                   6081:   else
                   6082:     echo "$progname: failed program was:" >&5
                   6083:     cat conftest.$ac_ext >&5
                   6084:   fi
                   6085:   rm -rf conftest* conftst*
                   6086: 
                   6087:   # Do not use the global_symbol_pipe unless it works.
                   6088:   if test "$pipe_works" = yes; then
                   6089:     break
                   6090:   else
                   6091:     lt_cv_sys_global_symbol_pipe=
                   6092:   fi
                   6093: done
                   6094: 
                   6095: fi
                   6096: 
                   6097: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6098:   lt_cv_sys_global_symbol_to_cdecl=
                   6099: fi
                   6100: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6101:   echo "$as_me:$LINENO: result: failed" >&5
                   6102: echo "${ECHO_T}failed" >&6
                   6103: else
                   6104:   echo "$as_me:$LINENO: result: ok" >&5
                   6105: echo "${ECHO_T}ok" >&6
                   6106: fi
                   6107: 
                   6108: # Response file support.
                   6109: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6110:   nm_file_list_spec='@'
                   6111: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6112:   nm_file_list_spec='@'
                   6113: fi
                   6114: 
                   6115: 
                   6116: 
                   6117: 
                   6118: 
                   6119: 
                   6120: 
                   6121: 
                   6122: 
                   6123: 
                   6124: 
                   6125: 
                   6126: 
                   6127: 
                   6128: 
                   6129: 
                   6130: 
                   6131: 
                   6132: 
                   6133: 
                   6134: 
                   6135: 
                   6136: 
                   6137: 
                   6138: 
                   6139: 
                   6140: 
                   6141: echo "$as_me:$LINENO: checking for sysroot" >&5
                   6142: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   6143: 
                   6144: # Check whether --with-sysroot or --without-sysroot was given.
                   6145: if test "${with_sysroot+set}" = set; then
                   6146:   withval="$with_sysroot"
                   6147: 
                   6148: else
                   6149:   with_sysroot=no
                   6150: fi;
                   6151: 
                   6152: lt_sysroot=
                   6153: case ${with_sysroot} in #(
                   6154:  yes)
                   6155:    if test "$GCC" = yes; then
                   6156:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6157:    fi
                   6158:    ;; #(
                   6159:  /*)
                   6160:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6161:    ;; #(
                   6162:  no|'')
                   6163:    ;; #(
                   6164:  *)
                   6165:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   6166: echo "${ECHO_T}${with_sysroot}" >&6
                   6167:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   6168: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   6169:    { (exit 1); exit 1; }; }
                   6170:    ;;
                   6171: esac
                   6172: 
                   6173:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   6174: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   6175: 
                   6176: 
                   6177: 
                   6178: 
                   6179: 
                   6180: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   6181: if test "${enable_libtool_lock+set}" = set; then
                   6182:   enableval="$enable_libtool_lock"
                   6183: 
                   6184: fi;
                   6185: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6186: 
                   6187: # Some flags need to be propagated to the compiler or linker for good
                   6188: # libtool support.
                   6189: case $host in
                   6190: ia64-*-hpux*)
                   6191:   # Find out which ABI we are using.
                   6192:   echo 'int i;' > conftest.$ac_ext
                   6193:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6194:   (eval $ac_compile) 2>&5
                   6195:   ac_status=$?
                   6196:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6197:   (exit $ac_status); }; then
                   6198:     case `/usr/bin/file conftest.$ac_objext` in
                   6199:       *ELF-32*)
                   6200:        HPUX_IA64_MODE="32"
                   6201:        ;;
                   6202:       *ELF-64*)
                   6203:        HPUX_IA64_MODE="64"
                   6204:        ;;
                   6205:     esac
                   6206:   fi
                   6207:   rm -rf conftest*
                   6208:   ;;
                   6209: *-*-irix6*)
                   6210:   # Find out which ABI we are using.
                   6211:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6212:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6213:   (eval $ac_compile) 2>&5
                   6214:   ac_status=$?
                   6215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6216:   (exit $ac_status); }; then
                   6217:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6218:       case `/usr/bin/file conftest.$ac_objext` in
                   6219:        *32-bit*)
                   6220:          LD="${LD-ld} -melf32bsmip"
                   6221:          ;;
                   6222:        *N32*)
                   6223:          LD="${LD-ld} -melf32bmipn32"
                   6224:          ;;
                   6225:        *64-bit*)
                   6226:          LD="${LD-ld} -melf64bmip"
                   6227:        ;;
                   6228:       esac
                   6229:     else
                   6230:       case `/usr/bin/file conftest.$ac_objext` in
                   6231:        *32-bit*)
                   6232:          LD="${LD-ld} -32"
                   6233:          ;;
                   6234:        *N32*)
                   6235:          LD="${LD-ld} -n32"
                   6236:          ;;
                   6237:        *64-bit*)
                   6238:          LD="${LD-ld} -64"
                   6239:          ;;
                   6240:       esac
                   6241:     fi
                   6242:   fi
                   6243:   rm -rf conftest*
                   6244:   ;;
                   6245: 
                   6246: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6247: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6248:   # Find out which ABI we are using.
                   6249:   echo 'int i;' > conftest.$ac_ext
                   6250:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6251:   (eval $ac_compile) 2>&5
                   6252:   ac_status=$?
                   6253:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6254:   (exit $ac_status); }; then
                   6255:     case `/usr/bin/file conftest.o` in
                   6256:       *32-bit*)
                   6257:        case $host in
                   6258:          x86_64-*kfreebsd*-gnu)
                   6259:            LD="${LD-ld} -m elf_i386_fbsd"
                   6260:            ;;
                   6261:          x86_64-*linux*)
                   6262:            LD="${LD-ld} -m elf_i386"
                   6263:            ;;
                   6264:          ppc64-*linux*|powerpc64-*linux*)
                   6265:            LD="${LD-ld} -m elf32ppclinux"
                   6266:            ;;
                   6267:          s390x-*linux*)
                   6268:            LD="${LD-ld} -m elf_s390"
                   6269:            ;;
                   6270:          sparc64-*linux*)
                   6271:            LD="${LD-ld} -m elf32_sparc"
                   6272:            ;;
                   6273:        esac
                   6274:        ;;
                   6275:       *64-bit*)
                   6276:        case $host in
                   6277:          x86_64-*kfreebsd*-gnu)
                   6278:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6279:            ;;
                   6280:          x86_64-*linux*)
                   6281:            LD="${LD-ld} -m elf_x86_64"
                   6282:            ;;
                   6283:          ppc*-*linux*|powerpc*-*linux*)
                   6284:            LD="${LD-ld} -m elf64ppc"
                   6285:            ;;
                   6286:          s390*-*linux*|s390*-*tpf*)
                   6287:            LD="${LD-ld} -m elf64_s390"
                   6288:            ;;
                   6289:          sparc*-*linux*)
                   6290:            LD="${LD-ld} -m elf64_sparc"
                   6291:            ;;
                   6292:        esac
                   6293:        ;;
                   6294:     esac
                   6295:   fi
                   6296:   rm -rf conftest*
                   6297:   ;;
                   6298: 
                   6299: *-*-sco3.2v5*)
                   6300:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6301:   SAVE_CFLAGS="$CFLAGS"
                   6302:   CFLAGS="$CFLAGS -belf"
                   6303:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   6304: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   6305: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   6306:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6307: else
                   6308:   ac_ext=c
                   6309: ac_cpp='$CPP $CPPFLAGS'
                   6310: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6311: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6312: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6313: 
                   6314:      cat >conftest.$ac_ext <<_ACEOF
                   6315: /* confdefs.h.  */
                   6316: _ACEOF
                   6317: cat confdefs.h >>conftest.$ac_ext
                   6318: cat >>conftest.$ac_ext <<_ACEOF
                   6319: /* end confdefs.h.  */
                   6320: 
                   6321: int
                   6322: main ()
                   6323: {
                   6324: 
                   6325:   ;
                   6326:   return 0;
                   6327: }
                   6328: _ACEOF
                   6329: rm -f conftest.$ac_objext conftest$ac_exeext
                   6330: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6331:   (eval $ac_link) 2>conftest.er1
                   6332:   ac_status=$?
                   6333:   grep -v '^ *+' conftest.er1 >conftest.err
                   6334:   rm -f conftest.er1
                   6335:   cat conftest.err >&5
                   6336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6337:   (exit $ac_status); } &&
                   6338:         { ac_try='test -z "$ac_c_werror_flag"
                   6339:                         || test ! -s conftest.err'
                   6340:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6341:   (eval $ac_try) 2>&5
                   6342:   ac_status=$?
                   6343:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6344:   (exit $ac_status); }; } &&
                   6345:         { ac_try='test -s conftest$ac_exeext'
                   6346:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6347:   (eval $ac_try) 2>&5
                   6348:   ac_status=$?
                   6349:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6350:   (exit $ac_status); }; }; then
                   6351:   lt_cv_cc_needs_belf=yes
                   6352: else
                   6353:   echo "$as_me: failed program was:" >&5
                   6354: sed 's/^/| /' conftest.$ac_ext >&5
                   6355: 
                   6356: lt_cv_cc_needs_belf=no
                   6357: fi
                   6358: rm -f conftest.err conftest.$ac_objext \
                   6359:       conftest$ac_exeext conftest.$ac_ext
                   6360:      ac_ext=c
                   6361: ac_cpp='$CPP $CPPFLAGS'
                   6362: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6363: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6364: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6365: 
                   6366: fi
                   6367: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   6368: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   6369:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6370:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6371:     CFLAGS="$SAVE_CFLAGS"
                   6372:   fi
                   6373:   ;;
                   6374: *-*solaris*)
                   6375:   # Find out which ABI we are using.
                   6376:   echo 'int i;' > conftest.$ac_ext
                   6377:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6378:   (eval $ac_compile) 2>&5
                   6379:   ac_status=$?
                   6380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6381:   (exit $ac_status); }; then
                   6382:     case `/usr/bin/file conftest.o` in
                   6383:     *64-bit*)
                   6384:       case $lt_cv_prog_gnu_ld in
                   6385:       yes*)
                   6386:         case $host in
                   6387:         i?86-*-solaris*)
                   6388:           LD="${LD-ld} -m elf_x86_64"
                   6389:           ;;
                   6390:         sparc*-*-solaris*)
                   6391:           LD="${LD-ld} -m elf64_sparc"
                   6392:           ;;
                   6393:         esac
                   6394:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6395:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6396:           LD="${LD-ld}_sol2"
                   6397:         fi
                   6398:         ;;
                   6399:       *)
                   6400:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6401:          LD="${LD-ld} -64"
                   6402:        fi
                   6403:        ;;
                   6404:       esac
                   6405:       ;;
                   6406:     esac
                   6407:   fi
                   6408:   rm -rf conftest*
                   6409:   ;;
                   6410: esac
                   6411: 
                   6412: need_locks="$enable_libtool_lock"
                   6413: 
                   6414: if test -n "$ac_tool_prefix"; then
                   6415:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6416: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6417: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6418: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6419: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   6420:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6421: else
                   6422:   if test -n "$MANIFEST_TOOL"; then
                   6423:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6424: else
                   6425: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6426: for as_dir in $PATH
                   6427: do
                   6428:   IFS=$as_save_IFS
                   6429:   test -z "$as_dir" && as_dir=.
                   6430:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6431:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6432:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6433:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6434:     break 2
                   6435:   fi
                   6436: done
                   6437: done
                   6438: 
                   6439: fi
                   6440: fi
                   6441: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6442: if test -n "$MANIFEST_TOOL"; then
                   6443:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   6444: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   6445: else
                   6446:   echo "$as_me:$LINENO: result: no" >&5
                   6447: echo "${ECHO_T}no" >&6
                   6448: fi
                   6449: 
                   6450: fi
                   6451: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6452:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6453:   # Extract the first word of "mt", so it can be a program name with args.
                   6454: set dummy mt; ac_word=$2
                   6455: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6456: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6457: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   6458:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6459: else
                   6460:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6461:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6462: else
                   6463: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6464: for as_dir in $PATH
                   6465: do
                   6466:   IFS=$as_save_IFS
                   6467:   test -z "$as_dir" && as_dir=.
                   6468:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6469:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6470:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6471:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6472:     break 2
                   6473:   fi
                   6474: done
                   6475: done
                   6476: 
                   6477:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   6478: fi
                   6479: fi
                   6480: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6481: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6482:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   6483: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
                   6484: else
                   6485:   echo "$as_me:$LINENO: result: no" >&5
                   6486: echo "${ECHO_T}no" >&6
                   6487: fi
                   6488: 
                   6489:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6490: else
                   6491:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6492: fi
                   6493: 
                   6494: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6495: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6496: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   6497: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   6498:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6499: else
                   6500:   lt_cv_path_mainfest_tool=no
                   6501:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6502:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6503:   cat conftest.err >&5
                   6504:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6505:     lt_cv_path_mainfest_tool=yes
                   6506:   fi
                   6507:   rm -f conftest*
                   6508: fi
                   6509: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   6510: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   6511: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6512:   MANIFEST_TOOL=:
                   6513: fi
                   6514: 
                   6515: 
                   6516: 
                   6517: 
                   6518: 
                   6519: 
                   6520:   case $host_os in
                   6521:     rhapsody* | darwin*)
                   6522:     if test -n "$ac_tool_prefix"; then
                   6523:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6524: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6525: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6526: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6527: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   6528:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6529: else
                   6530:   if test -n "$DSYMUTIL"; then
                   6531:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6532: else
                   6533: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6534: for as_dir in $PATH
                   6535: do
                   6536:   IFS=$as_save_IFS
                   6537:   test -z "$as_dir" && as_dir=.
                   6538:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6539:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6540:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6541:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6542:     break 2
                   6543:   fi
                   6544: done
                   6545: done
                   6546: 
                   6547: fi
                   6548: fi
                   6549: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6550: if test -n "$DSYMUTIL"; then
                   6551:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   6552: echo "${ECHO_T}$DSYMUTIL" >&6
                   6553: else
                   6554:   echo "$as_me:$LINENO: result: no" >&5
                   6555: echo "${ECHO_T}no" >&6
                   6556: fi
                   6557: 
                   6558: fi
                   6559: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6560:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6561:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6562: set dummy dsymutil; ac_word=$2
                   6563: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6564: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6565: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   6566:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6567: else
                   6568:   if test -n "$ac_ct_DSYMUTIL"; then
                   6569:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6570: else
                   6571: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6572: for as_dir in $PATH
                   6573: do
                   6574:   IFS=$as_save_IFS
                   6575:   test -z "$as_dir" && as_dir=.
                   6576:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6577:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6578:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6579:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6580:     break 2
                   6581:   fi
                   6582: done
                   6583: done
                   6584: 
                   6585:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6586: fi
                   6587: fi
                   6588: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6589: if test -n "$ac_ct_DSYMUTIL"; then
                   6590:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6591: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6592: else
                   6593:   echo "$as_me:$LINENO: result: no" >&5
                   6594: echo "${ECHO_T}no" >&6
                   6595: fi
                   6596: 
                   6597:   DSYMUTIL=$ac_ct_DSYMUTIL
                   6598: else
                   6599:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6600: fi
                   6601: 
                   6602:     if test -n "$ac_tool_prefix"; then
                   6603:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6604: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6605: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6606: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6607: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6608:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6609: else
                   6610:   if test -n "$NMEDIT"; then
                   6611:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6612: else
                   6613: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6614: for as_dir in $PATH
                   6615: do
                   6616:   IFS=$as_save_IFS
                   6617:   test -z "$as_dir" && as_dir=.
                   6618:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6619:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6620:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6621:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6622:     break 2
                   6623:   fi
                   6624: done
                   6625: done
                   6626: 
                   6627: fi
                   6628: fi
                   6629: NMEDIT=$ac_cv_prog_NMEDIT
                   6630: if test -n "$NMEDIT"; then
                   6631:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6632: echo "${ECHO_T}$NMEDIT" >&6
                   6633: else
                   6634:   echo "$as_me:$LINENO: result: no" >&5
                   6635: echo "${ECHO_T}no" >&6
                   6636: fi
                   6637: 
                   6638: fi
                   6639: if test -z "$ac_cv_prog_NMEDIT"; then
                   6640:   ac_ct_NMEDIT=$NMEDIT
                   6641:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6642: set dummy nmedit; ac_word=$2
                   6643: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6644: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6645: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6646:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6647: else
                   6648:   if test -n "$ac_ct_NMEDIT"; then
                   6649:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6650: else
                   6651: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6652: for as_dir in $PATH
                   6653: do
                   6654:   IFS=$as_save_IFS
                   6655:   test -z "$as_dir" && as_dir=.
                   6656:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6657:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6658:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6659:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6660:     break 2
                   6661:   fi
                   6662: done
                   6663: done
                   6664: 
                   6665:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6666: fi
                   6667: fi
                   6668: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6669: if test -n "$ac_ct_NMEDIT"; then
                   6670:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6671: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6672: else
                   6673:   echo "$as_me:$LINENO: result: no" >&5
                   6674: echo "${ECHO_T}no" >&6
                   6675: fi
                   6676: 
                   6677:   NMEDIT=$ac_ct_NMEDIT
                   6678: else
                   6679:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6680: fi
                   6681: 
                   6682:     if test -n "$ac_tool_prefix"; then
                   6683:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6684: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6685: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6686: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6687: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6688:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6689: else
                   6690:   if test -n "$LIPO"; then
                   6691:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6692: else
                   6693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6694: for as_dir in $PATH
                   6695: do
                   6696:   IFS=$as_save_IFS
                   6697:   test -z "$as_dir" && as_dir=.
                   6698:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6699:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6700:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6701:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6702:     break 2
                   6703:   fi
                   6704: done
                   6705: done
                   6706: 
                   6707: fi
                   6708: fi
                   6709: LIPO=$ac_cv_prog_LIPO
                   6710: if test -n "$LIPO"; then
                   6711:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6712: echo "${ECHO_T}$LIPO" >&6
                   6713: else
                   6714:   echo "$as_me:$LINENO: result: no" >&5
                   6715: echo "${ECHO_T}no" >&6
                   6716: fi
                   6717: 
                   6718: fi
                   6719: if test -z "$ac_cv_prog_LIPO"; then
                   6720:   ac_ct_LIPO=$LIPO
                   6721:   # Extract the first word of "lipo", so it can be a program name with args.
                   6722: set dummy lipo; ac_word=$2
                   6723: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6724: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6725: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6726:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6727: else
                   6728:   if test -n "$ac_ct_LIPO"; then
                   6729:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6730: else
                   6731: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6732: for as_dir in $PATH
                   6733: do
                   6734:   IFS=$as_save_IFS
                   6735:   test -z "$as_dir" && as_dir=.
                   6736:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6737:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6738:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6739:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6740:     break 2
                   6741:   fi
                   6742: done
                   6743: done
                   6744: 
                   6745:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6746: fi
                   6747: fi
                   6748: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6749: if test -n "$ac_ct_LIPO"; then
                   6750:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6751: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6752: else
                   6753:   echo "$as_me:$LINENO: result: no" >&5
                   6754: echo "${ECHO_T}no" >&6
                   6755: fi
                   6756: 
                   6757:   LIPO=$ac_ct_LIPO
                   6758: else
                   6759:   LIPO="$ac_cv_prog_LIPO"
                   6760: fi
                   6761: 
                   6762:     if test -n "$ac_tool_prefix"; then
                   6763:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6764: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6765: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6766: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6767: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6768:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6769: else
                   6770:   if test -n "$OTOOL"; then
                   6771:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6772: else
                   6773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6774: for as_dir in $PATH
                   6775: do
                   6776:   IFS=$as_save_IFS
                   6777:   test -z "$as_dir" && as_dir=.
                   6778:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6779:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6780:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6781:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6782:     break 2
                   6783:   fi
                   6784: done
                   6785: done
                   6786: 
                   6787: fi
                   6788: fi
                   6789: OTOOL=$ac_cv_prog_OTOOL
                   6790: if test -n "$OTOOL"; then
                   6791:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6792: echo "${ECHO_T}$OTOOL" >&6
                   6793: else
                   6794:   echo "$as_me:$LINENO: result: no" >&5
                   6795: echo "${ECHO_T}no" >&6
                   6796: fi
                   6797: 
                   6798: fi
                   6799: if test -z "$ac_cv_prog_OTOOL"; then
                   6800:   ac_ct_OTOOL=$OTOOL
                   6801:   # Extract the first word of "otool", so it can be a program name with args.
                   6802: set dummy otool; ac_word=$2
                   6803: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6804: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6805: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6806:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6807: else
                   6808:   if test -n "$ac_ct_OTOOL"; then
                   6809:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6810: else
                   6811: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6812: for as_dir in $PATH
                   6813: do
                   6814:   IFS=$as_save_IFS
                   6815:   test -z "$as_dir" && as_dir=.
                   6816:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6817:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6818:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6819:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6820:     break 2
                   6821:   fi
                   6822: done
                   6823: done
                   6824: 
                   6825:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6826: fi
                   6827: fi
                   6828: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6829: if test -n "$ac_ct_OTOOL"; then
                   6830:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6831: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6832: else
                   6833:   echo "$as_me:$LINENO: result: no" >&5
                   6834: echo "${ECHO_T}no" >&6
                   6835: fi
                   6836: 
                   6837:   OTOOL=$ac_ct_OTOOL
                   6838: else
                   6839:   OTOOL="$ac_cv_prog_OTOOL"
                   6840: fi
                   6841: 
                   6842:     if test -n "$ac_tool_prefix"; then
                   6843:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6844: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6845: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6846: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6847: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6848:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6849: else
                   6850:   if test -n "$OTOOL64"; then
                   6851:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6852: else
                   6853: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6854: for as_dir in $PATH
                   6855: do
                   6856:   IFS=$as_save_IFS
                   6857:   test -z "$as_dir" && as_dir=.
                   6858:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6859:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6860:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6861:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6862:     break 2
                   6863:   fi
                   6864: done
                   6865: done
                   6866: 
                   6867: fi
                   6868: fi
                   6869: OTOOL64=$ac_cv_prog_OTOOL64
                   6870: if test -n "$OTOOL64"; then
                   6871:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6872: echo "${ECHO_T}$OTOOL64" >&6
                   6873: else
                   6874:   echo "$as_me:$LINENO: result: no" >&5
                   6875: echo "${ECHO_T}no" >&6
                   6876: fi
                   6877: 
                   6878: fi
                   6879: if test -z "$ac_cv_prog_OTOOL64"; then
                   6880:   ac_ct_OTOOL64=$OTOOL64
                   6881:   # Extract the first word of "otool64", so it can be a program name with args.
                   6882: set dummy otool64; ac_word=$2
                   6883: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6884: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6885: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6886:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6887: else
                   6888:   if test -n "$ac_ct_OTOOL64"; then
                   6889:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6890: else
                   6891: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6892: for as_dir in $PATH
                   6893: do
                   6894:   IFS=$as_save_IFS
                   6895:   test -z "$as_dir" && as_dir=.
                   6896:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6897:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6898:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6899:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6900:     break 2
                   6901:   fi
                   6902: done
                   6903: done
                   6904: 
                   6905:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   6906: fi
                   6907: fi
                   6908: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6909: if test -n "$ac_ct_OTOOL64"; then
                   6910:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   6911: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   6912: else
                   6913:   echo "$as_me:$LINENO: result: no" >&5
                   6914: echo "${ECHO_T}no" >&6
                   6915: fi
                   6916: 
                   6917:   OTOOL64=$ac_ct_OTOOL64
                   6918: else
                   6919:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6920: fi
                   6921: 
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: 
                   6927: 
                   6928: 
                   6929: 
                   6930: 
                   6931: 
                   6932: 
                   6933: 
                   6934: 
                   6935: 
                   6936: 
                   6937: 
                   6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
                   6943: 
                   6944: 
                   6945: 
                   6946: 
                   6947: 
                   6948:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   6949: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   6950: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   6951:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6952: else
                   6953:   lt_cv_apple_cc_single_mod=no
                   6954:       if test -z "${LT_MULTI_MODULE}"; then
                   6955:        # By default we will add the -single_module flag. You can override
                   6956:        # by either setting the environment variable LT_MULTI_MODULE
                   6957:        # non-empty at configure time, or by adding -multi_module to the
                   6958:        # link flags.
                   6959:        rm -rf libconftest.dylib*
                   6960:        echo "int foo(void){return 1;}" > conftest.c
                   6961:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6962: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6963:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6964:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6965:         _lt_result=$?
                   6966:        # If there is a non-empty error log, and "single_module"
                   6967:        # appears in it, assume the flag caused a linker warning
                   6968:         if test -s conftest.err && $GREP single_module conftest.err; then
                   6969:          cat conftest.err >&5
                   6970:        # Otherwise, if the output was created with a 0 exit code from
                   6971:        # the compiler, it worked.
                   6972:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   6973:          lt_cv_apple_cc_single_mod=yes
                   6974:        else
                   6975:          cat conftest.err >&5
                   6976:        fi
                   6977:        rm -rf libconftest.dylib*
                   6978:        rm -f conftest.*
                   6979:       fi
                   6980: fi
                   6981: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   6982: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
                   6983: 
                   6984:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   6985: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   6986: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   6987:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6988: else
                   6989:   lt_cv_ld_exported_symbols_list=no
                   6990:       save_LDFLAGS=$LDFLAGS
                   6991:       echo "_main" > conftest.sym
                   6992:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   6993:       cat >conftest.$ac_ext <<_ACEOF
                   6994: /* confdefs.h.  */
                   6995: _ACEOF
                   6996: cat confdefs.h >>conftest.$ac_ext
                   6997: cat >>conftest.$ac_ext <<_ACEOF
                   6998: /* end confdefs.h.  */
                   6999: 
                   7000: int
                   7001: main ()
                   7002: {
                   7003: 
                   7004:   ;
                   7005:   return 0;
                   7006: }
                   7007: _ACEOF
                   7008: rm -f conftest.$ac_objext conftest$ac_exeext
                   7009: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7010:   (eval $ac_link) 2>conftest.er1
                   7011:   ac_status=$?
                   7012:   grep -v '^ *+' conftest.er1 >conftest.err
                   7013:   rm -f conftest.er1
                   7014:   cat conftest.err >&5
                   7015:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7016:   (exit $ac_status); } &&
                   7017:         { ac_try='test -z "$ac_c_werror_flag"
                   7018:                         || test ! -s conftest.err'
                   7019:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7020:   (eval $ac_try) 2>&5
                   7021:   ac_status=$?
                   7022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7023:   (exit $ac_status); }; } &&
                   7024:         { ac_try='test -s conftest$ac_exeext'
                   7025:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7026:   (eval $ac_try) 2>&5
                   7027:   ac_status=$?
                   7028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7029:   (exit $ac_status); }; }; then
                   7030:   lt_cv_ld_exported_symbols_list=yes
                   7031: else
                   7032:   echo "$as_me: failed program was:" >&5
                   7033: sed 's/^/| /' conftest.$ac_ext >&5
                   7034: 
                   7035: lt_cv_ld_exported_symbols_list=no
                   7036: fi
                   7037: rm -f conftest.err conftest.$ac_objext \
                   7038:       conftest$ac_exeext conftest.$ac_ext
                   7039:        LDFLAGS="$save_LDFLAGS"
                   7040: 
                   7041: fi
                   7042: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   7043: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
                   7044: 
                   7045:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   7046: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   7047: if test "${lt_cv_ld_force_load+set}" = set; then
                   7048:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7049: else
                   7050:   lt_cv_ld_force_load=no
                   7051:       cat > conftest.c << _LT_EOF
                   7052: int forced_loaded() { return 2;}
                   7053: _LT_EOF
                   7054:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7055:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7056:       echo "$AR cru libconftest.a conftest.o" >&5
                   7057:       $AR cru libconftest.a conftest.o 2>&5
                   7058:       echo "$RANLIB libconftest.a" >&5
                   7059:       $RANLIB libconftest.a 2>&5
                   7060:       cat > conftest.c << _LT_EOF
                   7061: int main() { return 0;}
                   7062: _LT_EOF
                   7063:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7064:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7065:       _lt_result=$?
                   7066:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7067:        cat conftest.err >&5
                   7068:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7069:        lt_cv_ld_force_load=yes
                   7070:       else
                   7071:        cat conftest.err >&5
                   7072:       fi
                   7073:         rm -f conftest.err libconftest.a conftest conftest.c
                   7074:         rm -rf conftest.dSYM
                   7075: 
                   7076: fi
                   7077: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   7078: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   7079:     case $host_os in
                   7080:     rhapsody* | darwin1.[012])
                   7081:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7082:     darwin1.*)
                   7083:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7084:     darwin*) # darwin 5.x on
                   7085:       # if running on 10.5 or later, the deployment target defaults
                   7086:       # to the OS version, if on x86, and 10.4, the deployment
                   7087:       # target defaults to 10.4. Don't you love it?
                   7088:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7089:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7090:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7091:        10.[012]*)
                   7092:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7093:        10.*)
                   7094:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7095:       esac
                   7096:     ;;
                   7097:   esac
                   7098:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7099:       _lt_dar_single_mod='$single_module'
                   7100:     fi
                   7101:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7102:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7103:     else
                   7104:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7105:     fi
                   7106:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7107:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7108:     else
                   7109:       _lt_dsymutil=
                   7110:     fi
                   7111:     ;;
                   7112:   esac
                   7113: 
                   7114: ac_ext=c
                   7115: ac_cpp='$CPP $CPPFLAGS'
                   7116: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7117: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7118: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7119: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   7120: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   7121: # On Suns, sometimes $CPP names a directory.
                   7122: if test -n "$CPP" && test -d "$CPP"; then
                   7123:   CPP=
                   7124: fi
                   7125: if test -z "$CPP"; then
                   7126:   if test "${ac_cv_prog_CPP+set}" = set; then
                   7127:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7128: else
                   7129:       # Double quotes because CPP needs to be expanded
                   7130:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7131:     do
                   7132:       ac_preproc_ok=false
                   7133: for ac_c_preproc_warn_flag in '' yes
                   7134: do
                   7135:   # Use a header file that comes with gcc, so configuring glibc
                   7136:   # with a fresh cross-compiler works.
                   7137:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7138:   # <limits.h> exists even on freestanding compilers.
                   7139:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7140:   # not just through cpp. "Syntax error" is here to catch this case.
                   7141:   cat >conftest.$ac_ext <<_ACEOF
                   7142: /* confdefs.h.  */
                   7143: _ACEOF
                   7144: cat confdefs.h >>conftest.$ac_ext
                   7145: cat >>conftest.$ac_ext <<_ACEOF
                   7146: /* end confdefs.h.  */
                   7147: #ifdef __STDC__
                   7148: # include <limits.h>
                   7149: #else
                   7150: # include <assert.h>
                   7151: #endif
                   7152:                     Syntax error
                   7153: _ACEOF
                   7154: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7155:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7156:   ac_status=$?
                   7157:   grep -v '^ *+' conftest.er1 >conftest.err
                   7158:   rm -f conftest.er1
                   7159:   cat conftest.err >&5
                   7160:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7161:   (exit $ac_status); } >/dev/null; then
                   7162:   if test -s conftest.err; then
                   7163:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7164:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7165:   else
                   7166:     ac_cpp_err=
                   7167:   fi
                   7168: else
                   7169:   ac_cpp_err=yes
                   7170: fi
                   7171: if test -z "$ac_cpp_err"; then
                   7172:   :
                   7173: else
                   7174:   echo "$as_me: failed program was:" >&5
                   7175: sed 's/^/| /' conftest.$ac_ext >&5
                   7176: 
                   7177:   # Broken: fails on valid input.
                   7178: continue
                   7179: fi
                   7180: rm -f conftest.err conftest.$ac_ext
                   7181: 
                   7182:   # OK, works on sane cases.  Now check whether non-existent headers
                   7183:   # can be detected and how.
                   7184:   cat >conftest.$ac_ext <<_ACEOF
                   7185: /* confdefs.h.  */
                   7186: _ACEOF
                   7187: cat confdefs.h >>conftest.$ac_ext
                   7188: cat >>conftest.$ac_ext <<_ACEOF
                   7189: /* end confdefs.h.  */
                   7190: #include <ac_nonexistent.h>
                   7191: _ACEOF
                   7192: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7193:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7194:   ac_status=$?
                   7195:   grep -v '^ *+' conftest.er1 >conftest.err
                   7196:   rm -f conftest.er1
                   7197:   cat conftest.err >&5
                   7198:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7199:   (exit $ac_status); } >/dev/null; then
                   7200:   if test -s conftest.err; then
                   7201:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7202:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7203:   else
                   7204:     ac_cpp_err=
                   7205:   fi
                   7206: else
                   7207:   ac_cpp_err=yes
                   7208: fi
                   7209: if test -z "$ac_cpp_err"; then
                   7210:   # Broken: success on invalid input.
                   7211: continue
                   7212: else
                   7213:   echo "$as_me: failed program was:" >&5
                   7214: sed 's/^/| /' conftest.$ac_ext >&5
                   7215: 
                   7216:   # Passes both tests.
                   7217: ac_preproc_ok=:
                   7218: break
                   7219: fi
                   7220: rm -f conftest.err conftest.$ac_ext
                   7221: 
                   7222: done
                   7223: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7224: rm -f conftest.err conftest.$ac_ext
                   7225: if $ac_preproc_ok; then
                   7226:   break
                   7227: fi
                   7228: 
                   7229:     done
                   7230:     ac_cv_prog_CPP=$CPP
                   7231: 
                   7232: fi
                   7233:   CPP=$ac_cv_prog_CPP
                   7234: else
                   7235:   ac_cv_prog_CPP=$CPP
                   7236: fi
                   7237: echo "$as_me:$LINENO: result: $CPP" >&5
                   7238: echo "${ECHO_T}$CPP" >&6
                   7239: ac_preproc_ok=false
                   7240: for ac_c_preproc_warn_flag in '' yes
                   7241: do
                   7242:   # Use a header file that comes with gcc, so configuring glibc
                   7243:   # with a fresh cross-compiler works.
                   7244:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7245:   # <limits.h> exists even on freestanding compilers.
                   7246:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7247:   # not just through cpp. "Syntax error" is here to catch this case.
                   7248:   cat >conftest.$ac_ext <<_ACEOF
                   7249: /* confdefs.h.  */
                   7250: _ACEOF
                   7251: cat confdefs.h >>conftest.$ac_ext
                   7252: cat >>conftest.$ac_ext <<_ACEOF
                   7253: /* end confdefs.h.  */
                   7254: #ifdef __STDC__
                   7255: # include <limits.h>
                   7256: #else
                   7257: # include <assert.h>
                   7258: #endif
                   7259:                     Syntax error
                   7260: _ACEOF
                   7261: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7262:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7263:   ac_status=$?
                   7264:   grep -v '^ *+' conftest.er1 >conftest.err
                   7265:   rm -f conftest.er1
                   7266:   cat conftest.err >&5
                   7267:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7268:   (exit $ac_status); } >/dev/null; then
                   7269:   if test -s conftest.err; then
                   7270:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7271:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7272:   else
                   7273:     ac_cpp_err=
                   7274:   fi
                   7275: else
                   7276:   ac_cpp_err=yes
                   7277: fi
                   7278: if test -z "$ac_cpp_err"; then
                   7279:   :
                   7280: else
                   7281:   echo "$as_me: failed program was:" >&5
                   7282: sed 's/^/| /' conftest.$ac_ext >&5
                   7283: 
                   7284:   # Broken: fails on valid input.
                   7285: continue
                   7286: fi
                   7287: rm -f conftest.err conftest.$ac_ext
                   7288: 
                   7289:   # OK, works on sane cases.  Now check whether non-existent headers
                   7290:   # can be detected and how.
                   7291:   cat >conftest.$ac_ext <<_ACEOF
                   7292: /* confdefs.h.  */
                   7293: _ACEOF
                   7294: cat confdefs.h >>conftest.$ac_ext
                   7295: cat >>conftest.$ac_ext <<_ACEOF
                   7296: /* end confdefs.h.  */
                   7297: #include <ac_nonexistent.h>
                   7298: _ACEOF
                   7299: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7300:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7301:   ac_status=$?
                   7302:   grep -v '^ *+' conftest.er1 >conftest.err
                   7303:   rm -f conftest.er1
                   7304:   cat conftest.err >&5
                   7305:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7306:   (exit $ac_status); } >/dev/null; then
                   7307:   if test -s conftest.err; then
                   7308:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7309:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7310:   else
                   7311:     ac_cpp_err=
                   7312:   fi
                   7313: else
                   7314:   ac_cpp_err=yes
                   7315: fi
                   7316: if test -z "$ac_cpp_err"; then
                   7317:   # Broken: success on invalid input.
                   7318: continue
                   7319: else
                   7320:   echo "$as_me: failed program was:" >&5
                   7321: sed 's/^/| /' conftest.$ac_ext >&5
                   7322: 
                   7323:   # Passes both tests.
                   7324: ac_preproc_ok=:
                   7325: break
                   7326: fi
                   7327: rm -f conftest.err conftest.$ac_ext
                   7328: 
                   7329: done
                   7330: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7331: rm -f conftest.err conftest.$ac_ext
                   7332: if $ac_preproc_ok; then
                   7333:   :
                   7334: else
                   7335:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   7336: See \`config.log' for more details." >&5
                   7337: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   7338: See \`config.log' for more details." >&2;}
                   7339:    { (exit 1); exit 1; }; }
                   7340: fi
                   7341: 
                   7342: ac_ext=c
                   7343: ac_cpp='$CPP $CPPFLAGS'
                   7344: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7345: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7346: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7347: 
                   7348: 
                   7349: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   7350: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   7351: if test "${ac_cv_header_stdc+set}" = set; then
                   7352:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7353: else
                   7354:   cat >conftest.$ac_ext <<_ACEOF
                   7355: /* confdefs.h.  */
                   7356: _ACEOF
                   7357: cat confdefs.h >>conftest.$ac_ext
                   7358: cat >>conftest.$ac_ext <<_ACEOF
                   7359: /* end confdefs.h.  */
                   7360: #include <stdlib.h>
                   7361: #include <stdarg.h>
                   7362: #include <string.h>
                   7363: #include <float.h>
                   7364: 
                   7365: int
                   7366: main ()
                   7367: {
                   7368: 
                   7369:   ;
                   7370:   return 0;
                   7371: }
                   7372: _ACEOF
                   7373: rm -f conftest.$ac_objext
                   7374: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7375:   (eval $ac_compile) 2>conftest.er1
                   7376:   ac_status=$?
                   7377:   grep -v '^ *+' conftest.er1 >conftest.err
                   7378:   rm -f conftest.er1
                   7379:   cat conftest.err >&5
                   7380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7381:   (exit $ac_status); } &&
                   7382:         { ac_try='test -z "$ac_c_werror_flag"
                   7383:                         || test ! -s conftest.err'
                   7384:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7385:   (eval $ac_try) 2>&5
                   7386:   ac_status=$?
                   7387:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7388:   (exit $ac_status); }; } &&
                   7389:         { ac_try='test -s conftest.$ac_objext'
                   7390:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7391:   (eval $ac_try) 2>&5
                   7392:   ac_status=$?
                   7393:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7394:   (exit $ac_status); }; }; then
                   7395:   ac_cv_header_stdc=yes
                   7396: else
                   7397:   echo "$as_me: failed program was:" >&5
                   7398: sed 's/^/| /' conftest.$ac_ext >&5
                   7399: 
                   7400: ac_cv_header_stdc=no
                   7401: fi
                   7402: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7403: 
                   7404: if test $ac_cv_header_stdc = yes; then
                   7405:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7406:   cat >conftest.$ac_ext <<_ACEOF
                   7407: /* confdefs.h.  */
                   7408: _ACEOF
                   7409: cat confdefs.h >>conftest.$ac_ext
                   7410: cat >>conftest.$ac_ext <<_ACEOF
                   7411: /* end confdefs.h.  */
                   7412: #include <string.h>
                   7413: 
                   7414: _ACEOF
                   7415: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7416:   $EGREP "memchr" >/dev/null 2>&1; then
                   7417:   :
                   7418: else
                   7419:   ac_cv_header_stdc=no
                   7420: fi
                   7421: rm -f conftest*
                   7422: 
                   7423: fi
                   7424: 
                   7425: if test $ac_cv_header_stdc = yes; then
                   7426:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7427:   cat >conftest.$ac_ext <<_ACEOF
                   7428: /* confdefs.h.  */
                   7429: _ACEOF
                   7430: cat confdefs.h >>conftest.$ac_ext
                   7431: cat >>conftest.$ac_ext <<_ACEOF
                   7432: /* end confdefs.h.  */
                   7433: #include <stdlib.h>
                   7434: 
                   7435: _ACEOF
                   7436: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7437:   $EGREP "free" >/dev/null 2>&1; then
                   7438:   :
                   7439: else
                   7440:   ac_cv_header_stdc=no
                   7441: fi
                   7442: rm -f conftest*
                   7443: 
                   7444: fi
                   7445: 
                   7446: if test $ac_cv_header_stdc = yes; then
                   7447:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7448:   if test "$cross_compiling" = yes; then
                   7449:   :
                   7450: else
                   7451:   cat >conftest.$ac_ext <<_ACEOF
                   7452: /* confdefs.h.  */
                   7453: _ACEOF
                   7454: cat confdefs.h >>conftest.$ac_ext
                   7455: cat >>conftest.$ac_ext <<_ACEOF
                   7456: /* end confdefs.h.  */
                   7457: #include <ctype.h>
                   7458: #if ((' ' & 0x0FF) == 0x020)
                   7459: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7460: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7461: #else
                   7462: # define ISLOWER(c) \
                   7463:                   (('a' <= (c) && (c) <= 'i') \
                   7464:                     || ('j' <= (c) && (c) <= 'r') \
                   7465:                     || ('s' <= (c) && (c) <= 'z'))
                   7466: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7467: #endif
                   7468: 
                   7469: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7470: int
                   7471: main ()
                   7472: {
                   7473:   int i;
                   7474:   for (i = 0; i < 256; i++)
                   7475:     if (XOR (islower (i), ISLOWER (i))
                   7476:        || toupper (i) != TOUPPER (i))
                   7477:       exit(2);
                   7478:   exit (0);
                   7479: }
                   7480: _ACEOF
                   7481: rm -f conftest$ac_exeext
                   7482: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7483:   (eval $ac_link) 2>&5
                   7484:   ac_status=$?
                   7485:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7486:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7487:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7488:   (eval $ac_try) 2>&5
                   7489:   ac_status=$?
                   7490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7491:   (exit $ac_status); }; }; then
                   7492:   :
                   7493: else
                   7494:   echo "$as_me: program exited with status $ac_status" >&5
                   7495: echo "$as_me: failed program was:" >&5
                   7496: sed 's/^/| /' conftest.$ac_ext >&5
                   7497: 
                   7498: ( exit $ac_status )
                   7499: ac_cv_header_stdc=no
                   7500: fi
                   7501: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7502: fi
                   7503: fi
                   7504: fi
                   7505: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   7506: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   7507: if test $ac_cv_header_stdc = yes; then
                   7508: 
                   7509: cat >>confdefs.h <<\_ACEOF
                   7510: #define STDC_HEADERS 1
                   7511: _ACEOF
                   7512: 
                   7513: fi
                   7514: 
                   7515: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7516: 
                   7517: 
                   7518: 
                   7519: 
                   7520: 
                   7521: 
                   7522: 
                   7523: 
                   7524: 
                   7525: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7526:                  inttypes.h stdint.h unistd.h
                   7527: do
                   7528: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7529: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7530: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7531: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7532:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7533: else
                   7534:   cat >conftest.$ac_ext <<_ACEOF
                   7535: /* confdefs.h.  */
                   7536: _ACEOF
                   7537: cat confdefs.h >>conftest.$ac_ext
                   7538: cat >>conftest.$ac_ext <<_ACEOF
                   7539: /* end confdefs.h.  */
                   7540: $ac_includes_default
                   7541: 
                   7542: #include <$ac_header>
                   7543: _ACEOF
                   7544: rm -f conftest.$ac_objext
                   7545: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7546:   (eval $ac_compile) 2>conftest.er1
                   7547:   ac_status=$?
                   7548:   grep -v '^ *+' conftest.er1 >conftest.err
                   7549:   rm -f conftest.er1
                   7550:   cat conftest.err >&5
                   7551:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7552:   (exit $ac_status); } &&
                   7553:         { ac_try='test -z "$ac_c_werror_flag"
                   7554:                         || test ! -s conftest.err'
                   7555:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7556:   (eval $ac_try) 2>&5
                   7557:   ac_status=$?
                   7558:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7559:   (exit $ac_status); }; } &&
                   7560:         { ac_try='test -s conftest.$ac_objext'
                   7561:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7562:   (eval $ac_try) 2>&5
                   7563:   ac_status=$?
                   7564:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7565:   (exit $ac_status); }; }; then
                   7566:   eval "$as_ac_Header=yes"
                   7567: else
                   7568:   echo "$as_me: failed program was:" >&5
                   7569: sed 's/^/| /' conftest.$ac_ext >&5
                   7570: 
                   7571: eval "$as_ac_Header=no"
                   7572: fi
                   7573: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7574: fi
                   7575: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7576: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7577: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7578:   cat >>confdefs.h <<_ACEOF
                   7579: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7580: _ACEOF
                   7581: 
                   7582: fi
                   7583: 
                   7584: done
                   7585: 
                   7586: 
                   7587: 
                   7588: for ac_header in dlfcn.h
                   7589: do
                   7590: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7591: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7592: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7593: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7594:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7595: else
                   7596:   cat >conftest.$ac_ext <<_ACEOF
                   7597: /* confdefs.h.  */
                   7598: _ACEOF
                   7599: cat confdefs.h >>conftest.$ac_ext
                   7600: cat >>conftest.$ac_ext <<_ACEOF
                   7601: /* end confdefs.h.  */
                   7602: $ac_includes_default
                   7603: 
                   7604: #include <$ac_header>
                   7605: _ACEOF
                   7606: rm -f conftest.$ac_objext
                   7607: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7608:   (eval $ac_compile) 2>conftest.er1
                   7609:   ac_status=$?
                   7610:   grep -v '^ *+' conftest.er1 >conftest.err
                   7611:   rm -f conftest.er1
                   7612:   cat conftest.err >&5
                   7613:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7614:   (exit $ac_status); } &&
                   7615:         { ac_try='test -z "$ac_c_werror_flag"
                   7616:                         || test ! -s conftest.err'
                   7617:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7618:   (eval $ac_try) 2>&5
                   7619:   ac_status=$?
                   7620:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7621:   (exit $ac_status); }; } &&
                   7622:         { ac_try='test -s conftest.$ac_objext'
                   7623:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7624:   (eval $ac_try) 2>&5
                   7625:   ac_status=$?
                   7626:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7627:   (exit $ac_status); }; }; then
                   7628:   eval "$as_ac_Header=yes"
                   7629: else
                   7630:   echo "$as_me: failed program was:" >&5
                   7631: sed 's/^/| /' conftest.$ac_ext >&5
                   7632: 
                   7633: eval "$as_ac_Header=no"
                   7634: fi
                   7635: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7636: fi
                   7637: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7638: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7639: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7640:   cat >>confdefs.h <<_ACEOF
                   7641: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7642: _ACEOF
                   7643: 
                   7644: fi
                   7645: 
                   7646: done
                   7647: 
                   7648: 
                   7649: 
                   7650: 
                   7651: func_stripname_cnf ()
                   7652: {
                   7653:   case ${2} in
                   7654:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7655:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7656:   esac
                   7657: } # func_stripname_cnf
                   7658: 
                   7659: 
                   7660: 
                   7661: 
                   7662: 
                   7663: # Set options
                   7664: enable_dlopen=yes
                   7665: enable_win32_dll=yes
                   7666: 
                   7667: case $host in
                   7668: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7669:   if test -n "$ac_tool_prefix"; then
                   7670:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7671: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7672: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7673: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7674: if test "${ac_cv_prog_AS+set}" = set; then
                   7675:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7676: else
                   7677:   if test -n "$AS"; then
                   7678:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7679: else
                   7680: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7681: for as_dir in $PATH
                   7682: do
                   7683:   IFS=$as_save_IFS
                   7684:   test -z "$as_dir" && as_dir=.
                   7685:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7686:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7687:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7688:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7689:     break 2
                   7690:   fi
                   7691: done
                   7692: done
                   7693: 
                   7694: fi
                   7695: fi
                   7696: AS=$ac_cv_prog_AS
                   7697: if test -n "$AS"; then
                   7698:   echo "$as_me:$LINENO: result: $AS" >&5
                   7699: echo "${ECHO_T}$AS" >&6
                   7700: else
                   7701:   echo "$as_me:$LINENO: result: no" >&5
                   7702: echo "${ECHO_T}no" >&6
                   7703: fi
                   7704: 
                   7705: fi
                   7706: if test -z "$ac_cv_prog_AS"; then
                   7707:   ac_ct_AS=$AS
                   7708:   # Extract the first word of "as", so it can be a program name with args.
                   7709: set dummy as; ac_word=$2
                   7710: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7711: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7712: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7713:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7714: else
                   7715:   if test -n "$ac_ct_AS"; then
                   7716:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7717: else
                   7718: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7719: for as_dir in $PATH
                   7720: do
                   7721:   IFS=$as_save_IFS
                   7722:   test -z "$as_dir" && as_dir=.
                   7723:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7724:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7725:     ac_cv_prog_ac_ct_AS="as"
                   7726:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7727:     break 2
                   7728:   fi
                   7729: done
                   7730: done
                   7731: 
                   7732:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7733: fi
                   7734: fi
                   7735: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7736: if test -n "$ac_ct_AS"; then
                   7737:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7738: echo "${ECHO_T}$ac_ct_AS" >&6
                   7739: else
                   7740:   echo "$as_me:$LINENO: result: no" >&5
                   7741: echo "${ECHO_T}no" >&6
                   7742: fi
                   7743: 
                   7744:   AS=$ac_ct_AS
                   7745: else
                   7746:   AS="$ac_cv_prog_AS"
                   7747: fi
                   7748: 
                   7749:   if test -n "$ac_tool_prefix"; then
                   7750:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7751: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7752: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7753: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7754: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   7755:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7756: else
                   7757:   if test -n "$DLLTOOL"; then
                   7758:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7759: else
                   7760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7761: for as_dir in $PATH
                   7762: do
                   7763:   IFS=$as_save_IFS
                   7764:   test -z "$as_dir" && as_dir=.
                   7765:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7766:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7767:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7768:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7769:     break 2
                   7770:   fi
                   7771: done
                   7772: done
                   7773: 
                   7774: fi
                   7775: fi
                   7776: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7777: if test -n "$DLLTOOL"; then
                   7778:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7779: echo "${ECHO_T}$DLLTOOL" >&6
                   7780: else
                   7781:   echo "$as_me:$LINENO: result: no" >&5
                   7782: echo "${ECHO_T}no" >&6
                   7783: fi
                   7784: 
                   7785: fi
                   7786: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7787:   ac_ct_DLLTOOL=$DLLTOOL
                   7788:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7789: set dummy dlltool; ac_word=$2
                   7790: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7791: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7792: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   7793:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7794: else
                   7795:   if test -n "$ac_ct_DLLTOOL"; then
                   7796:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7797: else
                   7798: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7799: for as_dir in $PATH
                   7800: do
                   7801:   IFS=$as_save_IFS
                   7802:   test -z "$as_dir" && as_dir=.
                   7803:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7804:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7805:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7806:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7807:     break 2
                   7808:   fi
                   7809: done
                   7810: done
                   7811: 
                   7812:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7813: fi
                   7814: fi
                   7815: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7816: if test -n "$ac_ct_DLLTOOL"; then
                   7817:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7818: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7819: else
                   7820:   echo "$as_me:$LINENO: result: no" >&5
                   7821: echo "${ECHO_T}no" >&6
                   7822: fi
                   7823: 
                   7824:   DLLTOOL=$ac_ct_DLLTOOL
                   7825: else
                   7826:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7827: fi
                   7828: 
                   7829:   if test -n "$ac_tool_prefix"; then
                   7830:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7831: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7832: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7833: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7834: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   7835:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7836: else
                   7837:   if test -n "$OBJDUMP"; then
                   7838:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7839: else
                   7840: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7841: for as_dir in $PATH
                   7842: do
                   7843:   IFS=$as_save_IFS
                   7844:   test -z "$as_dir" && as_dir=.
                   7845:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7846:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7847:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7848:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7849:     break 2
                   7850:   fi
                   7851: done
                   7852: done
                   7853: 
                   7854: fi
                   7855: fi
                   7856: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7857: if test -n "$OBJDUMP"; then
                   7858:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7859: echo "${ECHO_T}$OBJDUMP" >&6
                   7860: else
                   7861:   echo "$as_me:$LINENO: result: no" >&5
                   7862: echo "${ECHO_T}no" >&6
                   7863: fi
                   7864: 
                   7865: fi
                   7866: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7867:   ac_ct_OBJDUMP=$OBJDUMP
                   7868:   # Extract the first word of "objdump", so it can be a program name with args.
                   7869: set dummy objdump; ac_word=$2
                   7870: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7871: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7872: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7873:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7874: else
                   7875:   if test -n "$ac_ct_OBJDUMP"; then
                   7876:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7877: else
                   7878: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7879: for as_dir in $PATH
                   7880: do
                   7881:   IFS=$as_save_IFS
                   7882:   test -z "$as_dir" && as_dir=.
                   7883:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7884:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7885:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7886:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7887:     break 2
                   7888:   fi
                   7889: done
                   7890: done
                   7891: 
                   7892:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7893: fi
                   7894: fi
                   7895: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7896: if test -n "$ac_ct_OBJDUMP"; then
                   7897:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7898: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7899: else
                   7900:   echo "$as_me:$LINENO: result: no" >&5
                   7901: echo "${ECHO_T}no" >&6
                   7902: fi
                   7903: 
                   7904:   OBJDUMP=$ac_ct_OBJDUMP
                   7905: else
                   7906:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7907: fi
                   7908: 
                   7909:   ;;
                   7910: esac
                   7911: 
                   7912: test -z "$AS" && AS=as
                   7913: 
                   7914: 
                   7915: 
                   7916: 
                   7917: 
                   7918: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   7919: 
                   7920: 
                   7921: 
                   7922: 
                   7923: 
                   7924: test -z "$OBJDUMP" && OBJDUMP=objdump
                   7925: 
                   7926: 
                   7927: 
                   7928: 
                   7929: 
                   7930: 
                   7931: 
                   7932: 
                   7933: 
                   7934:             # Check whether --enable-shared or --disable-shared was given.
                   7935: if test "${enable_shared+set}" = set; then
                   7936:   enableval="$enable_shared"
                   7937:   p=${PACKAGE-default}
                   7938:     case $enableval in
                   7939:     yes) enable_shared=yes ;;
                   7940:     no) enable_shared=no ;;
                   7941:     *)
                   7942:       enable_shared=no
                   7943:       # Look at the argument we got.  We use all the common list separators.
                   7944:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7945:       for pkg in $enableval; do
                   7946:        IFS="$lt_save_ifs"
                   7947:        if test "X$pkg" = "X$p"; then
                   7948:          enable_shared=yes
                   7949:        fi
                   7950:       done
                   7951:       IFS="$lt_save_ifs"
                   7952:       ;;
                   7953:     esac
                   7954: else
                   7955:   enable_shared=yes
                   7956: fi;
                   7957: 
                   7958: 
                   7959: 
                   7960: 
                   7961: 
                   7962: 
                   7963: 
                   7964: 
                   7965:   # Check whether --enable-static or --disable-static was given.
                   7966: if test "${enable_static+set}" = set; then
                   7967:   enableval="$enable_static"
                   7968:   p=${PACKAGE-default}
                   7969:     case $enableval in
                   7970:     yes) enable_static=yes ;;
                   7971:     no) enable_static=no ;;
                   7972:     *)
                   7973:      enable_static=no
                   7974:       # Look at the argument we got.  We use all the common list separators.
                   7975:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7976:       for pkg in $enableval; do
                   7977:        IFS="$lt_save_ifs"
                   7978:        if test "X$pkg" = "X$p"; then
                   7979:          enable_static=yes
                   7980:        fi
                   7981:       done
                   7982:       IFS="$lt_save_ifs"
                   7983:       ;;
                   7984:     esac
                   7985: else
                   7986:   enable_static=yes
                   7987: fi;
                   7988: 
                   7989: 
                   7990: 
                   7991: 
                   7992: 
                   7993: 
                   7994: 
                   7995: 
                   7996: 
                   7997: # Check whether --with-pic or --without-pic was given.
                   7998: if test "${with_pic+set}" = set; then
                   7999:   withval="$with_pic"
                   8000:   lt_p=${PACKAGE-default}
                   8001:     case $withval in
                   8002:     yes|no) pic_mode=$withval ;;
                   8003:     *)
                   8004:       pic_mode=default
                   8005:       # Look at the argument we got.  We use all the common list separators.
                   8006:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8007:       for lt_pkg in $withval; do
                   8008:        IFS="$lt_save_ifs"
                   8009:        if test "X$lt_pkg" = "X$lt_p"; then
                   8010:          pic_mode=yes
                   8011:        fi
                   8012:       done
                   8013:       IFS="$lt_save_ifs"
                   8014:       ;;
                   8015:     esac
                   8016: else
                   8017:   pic_mode=default
                   8018: fi;
                   8019: 
                   8020: test -z "$pic_mode" && pic_mode=default
                   8021: 
                   8022: 
                   8023: 
                   8024: 
                   8025: 
                   8026: 
                   8027: 
                   8028:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   8029: if test "${enable_fast_install+set}" = set; then
                   8030:   enableval="$enable_fast_install"
                   8031:   p=${PACKAGE-default}
                   8032:     case $enableval in
                   8033:     yes) enable_fast_install=yes ;;
                   8034:     no) enable_fast_install=no ;;
                   8035:     *)
                   8036:       enable_fast_install=no
                   8037:       # Look at the argument we got.  We use all the common list separators.
                   8038:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8039:       for pkg in $enableval; do
                   8040:        IFS="$lt_save_ifs"
                   8041:        if test "X$pkg" = "X$p"; then
                   8042:          enable_fast_install=yes
                   8043:        fi
                   8044:       done
                   8045:       IFS="$lt_save_ifs"
                   8046:       ;;
                   8047:     esac
                   8048: else
                   8049:   enable_fast_install=yes
                   8050: fi;
                   8051: 
                   8052: 
                   8053: 
                   8054: 
                   8055: 
                   8056: 
                   8057: 
                   8058: 
                   8059: 
                   8060: 
                   8061: # This can be used to rebuild libtool when needed
                   8062: LIBTOOL_DEPS="$ltmain"
                   8063: 
                   8064: # Always use our own libtool.
                   8065: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8066: 
                   8067: 
                   8068: 
                   8069: 
                   8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074: 
                   8075: 
                   8076: 
                   8077: 
                   8078: 
                   8079: 
                   8080: 
                   8081: 
                   8082: 
                   8083: 
                   8084: 
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: 
                   8091: 
                   8092: 
                   8093: 
                   8094: 
                   8095: 
                   8096: test -z "$LN_S" && LN_S="ln -s"
                   8097: 
                   8098: 
                   8099: 
                   8100: 
                   8101: 
                   8102: 
                   8103: 
                   8104: 
                   8105: 
                   8106: 
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: if test -n "${ZSH_VERSION+set}" ; then
                   8112:    setopt NO_GLOB_SUBST
                   8113: fi
                   8114: 
                   8115: echo "$as_me:$LINENO: checking for objdir" >&5
                   8116: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8117: if test "${lt_cv_objdir+set}" = set; then
                   8118:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8119: else
                   8120:   rm -f .libs 2>/dev/null
                   8121: mkdir .libs 2>/dev/null
                   8122: if test -d .libs; then
                   8123:   lt_cv_objdir=.libs
                   8124: else
                   8125:   # MS-DOS does not allow filenames that begin with a dot.
                   8126:   lt_cv_objdir=_libs
                   8127: fi
                   8128: rmdir .libs 2>/dev/null
                   8129: fi
                   8130: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   8131: echo "${ECHO_T}$lt_cv_objdir" >&6
                   8132: objdir=$lt_cv_objdir
                   8133: 
                   8134: 
                   8135: 
                   8136: 
                   8137: 
                   8138: cat >>confdefs.h <<_ACEOF
                   8139: #define LT_OBJDIR "$lt_cv_objdir/"
                   8140: _ACEOF
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: case $host_os in
                   8146: aix3*)
                   8147:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8148:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8149:   # vanish in a puff of smoke.
                   8150:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8151:     COLLECT_NAMES=
                   8152:     export COLLECT_NAMES
                   8153:   fi
                   8154:   ;;
                   8155: esac
                   8156: 
                   8157: # Global variables:
                   8158: ofile=libtool
                   8159: can_build_shared=yes
                   8160: 
                   8161: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8162: # which needs '.lib').
                   8163: libext=a
                   8164: 
                   8165: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8166: 
                   8167: old_CC="$CC"
                   8168: old_CFLAGS="$CFLAGS"
                   8169: 
                   8170: # Set sane defaults for various variables
                   8171: test -z "$CC" && CC=cc
                   8172: test -z "$LTCC" && LTCC=$CC
                   8173: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8174: test -z "$LD" && LD=ld
                   8175: test -z "$ac_objext" && ac_objext=o
                   8176: 
                   8177: for cc_temp in $compiler""; do
                   8178:   case $cc_temp in
                   8179:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8180:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8181:     \-*) ;;
                   8182:     *) break;;
                   8183:   esac
                   8184: done
                   8185: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8186: 
                   8187: 
                   8188: # Only perform the check for file, if the check method requires it
                   8189: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8190: case $deplibs_check_method in
                   8191: file_magic*)
                   8192:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8193:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   8194: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   8195: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8196:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8197: else
                   8198:   case $MAGIC_CMD in
                   8199: [\\/*] |  ?:[\\/]*)
                   8200:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8201:   ;;
                   8202: *)
                   8203:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8204:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8205:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8206:   for ac_dir in $ac_dummy; do
                   8207:     IFS="$lt_save_ifs"
                   8208:     test -z "$ac_dir" && ac_dir=.
                   8209:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8210:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8211:       if test -n "$file_magic_test_file"; then
                   8212:        case $deplibs_check_method in
                   8213:        "file_magic "*)
                   8214:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8215:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8216:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8217:            $EGREP "$file_magic_regex" > /dev/null; then
                   8218:            :
                   8219:          else
                   8220:            cat <<_LT_EOF 1>&2
                   8221: 
                   8222: *** Warning: the command libtool uses to detect shared libraries,
                   8223: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8224: *** The result is that libtool may fail to recognize shared libraries
                   8225: *** as such.  This will affect the creation of libtool libraries that
                   8226: *** depend on shared libraries, but programs linked with such libtool
                   8227: *** libraries will work regardless of this problem.  Nevertheless, you
                   8228: *** may want to report the problem to your system manager and/or to
                   8229: *** bug-libtool@gnu.org
                   8230: 
                   8231: _LT_EOF
                   8232:          fi ;;
                   8233:        esac
                   8234:       fi
                   8235:       break
                   8236:     fi
                   8237:   done
                   8238:   IFS="$lt_save_ifs"
                   8239:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8240:   ;;
                   8241: esac
                   8242: fi
                   8243: 
                   8244: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8245: if test -n "$MAGIC_CMD"; then
                   8246:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8247: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8248: else
                   8249:   echo "$as_me:$LINENO: result: no" >&5
                   8250: echo "${ECHO_T}no" >&6
                   8251: fi
                   8252: 
                   8253: 
                   8254: 
                   8255: 
                   8256: 
                   8257: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8258:   if test -n "$ac_tool_prefix"; then
                   8259:     echo "$as_me:$LINENO: checking for file" >&5
                   8260: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   8261: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8262:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8263: else
                   8264:   case $MAGIC_CMD in
                   8265: [\\/*] |  ?:[\\/]*)
                   8266:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8267:   ;;
                   8268: *)
                   8269:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8270:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8271:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8272:   for ac_dir in $ac_dummy; do
                   8273:     IFS="$lt_save_ifs"
                   8274:     test -z "$ac_dir" && ac_dir=.
                   8275:     if test -f $ac_dir/file; then
                   8276:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8277:       if test -n "$file_magic_test_file"; then
                   8278:        case $deplibs_check_method in
                   8279:        "file_magic "*)
                   8280:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8281:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8282:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8283:            $EGREP "$file_magic_regex" > /dev/null; then
                   8284:            :
                   8285:          else
                   8286:            cat <<_LT_EOF 1>&2
                   8287: 
                   8288: *** Warning: the command libtool uses to detect shared libraries,
                   8289: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8290: *** The result is that libtool may fail to recognize shared libraries
                   8291: *** as such.  This will affect the creation of libtool libraries that
                   8292: *** depend on shared libraries, but programs linked with such libtool
                   8293: *** libraries will work regardless of this problem.  Nevertheless, you
                   8294: *** may want to report the problem to your system manager and/or to
                   8295: *** bug-libtool@gnu.org
                   8296: 
                   8297: _LT_EOF
                   8298:          fi ;;
                   8299:        esac
                   8300:       fi
                   8301:       break
                   8302:     fi
                   8303:   done
                   8304:   IFS="$lt_save_ifs"
                   8305:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8306:   ;;
                   8307: esac
                   8308: fi
                   8309: 
                   8310: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8311: if test -n "$MAGIC_CMD"; then
                   8312:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8313: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8314: else
                   8315:   echo "$as_me:$LINENO: result: no" >&5
                   8316: echo "${ECHO_T}no" >&6
                   8317: fi
                   8318: 
                   8319: 
                   8320:   else
                   8321:     MAGIC_CMD=:
                   8322:   fi
                   8323: fi
                   8324: 
                   8325:   fi
                   8326:   ;;
                   8327: esac
                   8328: 
                   8329: # Use C for the default configuration in the libtool script
                   8330: 
                   8331: lt_save_CC="$CC"
                   8332: ac_ext=c
                   8333: ac_cpp='$CPP $CPPFLAGS'
                   8334: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8335: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8336: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8337: 
                   8338: 
                   8339: # Source file extension for C test sources.
                   8340: ac_ext=c
                   8341: 
                   8342: # Object file extension for compiled C test sources.
                   8343: objext=o
                   8344: objext=$objext
                   8345: 
                   8346: # Code to be used in simple compile tests
                   8347: lt_simple_compile_test_code="int some_variable = 0;"
                   8348: 
                   8349: # Code to be used in simple link tests
                   8350: lt_simple_link_test_code='int main(){return(0);}'
                   8351: 
                   8352: 
                   8353: 
                   8354: 
                   8355: 
                   8356: 
                   8357: 
                   8358: # If no C compiler was specified, use CC.
                   8359: LTCC=${LTCC-"$CC"}
                   8360: 
                   8361: # If no C compiler flags were specified, use CFLAGS.
                   8362: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8363: 
                   8364: # Allow CC to be a program name with arguments.
                   8365: compiler=$CC
                   8366: 
                   8367: # Save the default compiler, since it gets overwritten when the other
                   8368: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8369: compiler_DEFAULT=$CC
                   8370: 
                   8371: # save warnings/boilerplate of simple test code
                   8372: ac_outfile=conftest.$ac_objext
                   8373: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8374: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8375: _lt_compiler_boilerplate=`cat conftest.err`
                   8376: $RM conftest*
                   8377: 
                   8378: ac_outfile=conftest.$ac_objext
                   8379: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8380: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8381: _lt_linker_boilerplate=`cat conftest.err`
                   8382: $RM -r conftest*
                   8383: 
                   8384: 
                   8385: ## CAVEAT EMPTOR:
                   8386: ## There is no encapsulation within the following macros, do not change
                   8387: ## the running order or otherwise move them around unless you know exactly
                   8388: ## what you are doing...
                   8389: if test -n "$compiler"; then
                   8390: 
                   8391: lt_prog_compiler_no_builtin_flag=
                   8392: 
                   8393: if test "$GCC" = yes; then
                   8394:   case $cc_basename in
                   8395:   nvcc*)
                   8396:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8397:   *)
                   8398:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8399:   esac
                   8400: 
                   8401:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8402: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   8403: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   8404:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8405: else
                   8406:   lt_cv_prog_compiler_rtti_exceptions=no
                   8407:    ac_outfile=conftest.$ac_objext
                   8408:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8409:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8410:    # Insert the option either (1) after the last *FLAGS variable, or
                   8411:    # (2) before a word containing "conftest.", or (3) at the end.
                   8412:    # Note that $ac_compile itself does not contain backslashes and begins
                   8413:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8414:    # The option is referenced via a variable to avoid confusing sed.
                   8415:    lt_compile=`echo "$ac_compile" | $SED \
                   8416:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8417:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8418:    -e 's:$: $lt_compiler_flag:'`
                   8419:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8420:    (eval "$lt_compile" 2>conftest.err)
                   8421:    ac_status=$?
                   8422:    cat conftest.err >&5
                   8423:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8424:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8425:      # The compiler can only warn and ignore the option if not recognized
                   8426:      # So say no if there are warnings other than the usual output.
                   8427:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8428:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8429:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8430:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8431:      fi
                   8432:    fi
                   8433:    $RM conftest*
                   8434: 
                   8435: fi
                   8436: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8437: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
                   8438: 
                   8439: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8440:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8441: else
                   8442:     :
                   8443: fi
                   8444: 
                   8445: fi
                   8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
                   8451: 
                   8452:   lt_prog_compiler_wl=
                   8453: lt_prog_compiler_pic=
                   8454: lt_prog_compiler_static=
                   8455: 
                   8456: 
                   8457:   if test "$GCC" = yes; then
                   8458:     lt_prog_compiler_wl='-Wl,'
                   8459:     lt_prog_compiler_static='-static'
                   8460: 
                   8461:     case $host_os in
                   8462:       aix*)
                   8463:       # All AIX code is PIC.
                   8464:       if test "$host_cpu" = ia64; then
                   8465:        # AIX 5 now supports IA64 processor
                   8466:        lt_prog_compiler_static='-Bstatic'
                   8467:       fi
                   8468:       ;;
                   8469: 
                   8470:     amigaos*)
                   8471:       case $host_cpu in
                   8472:       powerpc)
                   8473:             # see comment about AmigaOS4 .so support
                   8474:             lt_prog_compiler_pic='-fPIC'
                   8475:         ;;
                   8476:       m68k)
                   8477:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8478:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8479:             # like `-m68040'.
                   8480:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8481:         ;;
                   8482:       esac
                   8483:       ;;
                   8484: 
                   8485:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8486:       # PIC is the default for these OSes.
                   8487:       ;;
                   8488: 
                   8489:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8490:       # This hack is so that the source file can tell whether it is being
                   8491:       # built for inclusion in a dll (and should export symbols for example).
                   8492:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8493:       # (--disable-auto-import) libraries
                   8494:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8495:       ;;
                   8496: 
                   8497:     darwin* | rhapsody*)
                   8498:       # PIC is the default on this platform
                   8499:       # Common symbols not allowed in MH_DYLIB files
                   8500:       lt_prog_compiler_pic='-fno-common'
                   8501:       ;;
                   8502: 
                   8503:     haiku*)
                   8504:       # PIC is the default for Haiku.
                   8505:       # The "-static" flag exists, but is broken.
                   8506:       lt_prog_compiler_static=
                   8507:       ;;
                   8508: 
                   8509:     hpux*)
                   8510:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8511:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8512:       # sets the default TLS model and affects inlining.
                   8513:       case $host_cpu in
                   8514:       hppa*64*)
                   8515:        # +Z the default
                   8516:        ;;
                   8517:       *)
                   8518:        lt_prog_compiler_pic='-fPIC'
                   8519:        ;;
                   8520:       esac
                   8521:       ;;
                   8522: 
                   8523:     interix[3-9]*)
                   8524:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8525:       # Instead, we relocate shared libraries at runtime.
                   8526:       ;;
                   8527: 
                   8528:     msdosdjgpp*)
                   8529:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8530:       # on systems that don't support them.
                   8531:       lt_prog_compiler_can_build_shared=no
                   8532:       enable_shared=no
                   8533:       ;;
                   8534: 
                   8535:     *nto* | *qnx*)
                   8536:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8537:       # it will coredump.
                   8538:       lt_prog_compiler_pic='-fPIC -shared'
                   8539:       ;;
                   8540: 
                   8541:     sysv4*MP*)
                   8542:       if test -d /usr/nec; then
                   8543:        lt_prog_compiler_pic=-Kconform_pic
                   8544:       fi
                   8545:       ;;
                   8546: 
                   8547:     *)
                   8548:       lt_prog_compiler_pic='-fPIC'
                   8549:       ;;
                   8550:     esac
                   8551: 
                   8552:     case $cc_basename in
                   8553:     nvcc*) # Cuda Compiler Driver 2.2
                   8554:       lt_prog_compiler_wl='-Xlinker '
                   8555:       if test -n "$lt_prog_compiler_pic"; then
                   8556:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8557:       fi
                   8558:       ;;
                   8559:     esac
                   8560:   else
                   8561:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8562:     case $host_os in
                   8563:     aix*)
                   8564:       lt_prog_compiler_wl='-Wl,'
                   8565:       if test "$host_cpu" = ia64; then
                   8566:        # AIX 5 now supports IA64 processor
                   8567:        lt_prog_compiler_static='-Bstatic'
                   8568:       else
                   8569:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8570:       fi
                   8571:       ;;
                   8572: 
                   8573:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8574:       # This hack is so that the source file can tell whether it is being
                   8575:       # built for inclusion in a dll (and should export symbols for example).
                   8576:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8577:       ;;
                   8578: 
                   8579:     hpux9* | hpux10* | hpux11*)
                   8580:       lt_prog_compiler_wl='-Wl,'
                   8581:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8582:       # not for PA HP-UX.
                   8583:       case $host_cpu in
                   8584:       hppa*64*|ia64*)
                   8585:        # +Z the default
                   8586:        ;;
                   8587:       *)
                   8588:        lt_prog_compiler_pic='+Z'
                   8589:        ;;
                   8590:       esac
                   8591:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8592:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8593:       ;;
                   8594: 
                   8595:     irix5* | irix6* | nonstopux*)
                   8596:       lt_prog_compiler_wl='-Wl,'
                   8597:       # PIC (with -KPIC) is the default.
                   8598:       lt_prog_compiler_static='-non_shared'
                   8599:       ;;
                   8600: 
                   8601:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8602:       case $cc_basename in
                   8603:       # old Intel for x86_64 which still supported -KPIC.
                   8604:       ecc*)
                   8605:        lt_prog_compiler_wl='-Wl,'
                   8606:        lt_prog_compiler_pic='-KPIC'
                   8607:        lt_prog_compiler_static='-static'
                   8608:         ;;
                   8609:       # icc used to be incompatible with GCC.
                   8610:       # ICC 10 doesn't accept -KPIC any more.
                   8611:       icc* | ifort*)
                   8612:        lt_prog_compiler_wl='-Wl,'
                   8613:        lt_prog_compiler_pic='-fPIC'
                   8614:        lt_prog_compiler_static='-static'
                   8615:         ;;
                   8616:       # Lahey Fortran 8.1.
                   8617:       lf95*)
                   8618:        lt_prog_compiler_wl='-Wl,'
                   8619:        lt_prog_compiler_pic='--shared'
                   8620:        lt_prog_compiler_static='--static'
                   8621:        ;;
                   8622:       nagfor*)
                   8623:        # NAG Fortran compiler
                   8624:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8625:        lt_prog_compiler_pic='-PIC'
                   8626:        lt_prog_compiler_static='-Bstatic'
                   8627:        ;;
                   8628:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8629:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8630:        # which looks to be a dead project)
                   8631:        lt_prog_compiler_wl='-Wl,'
                   8632:        lt_prog_compiler_pic='-fpic'
                   8633:        lt_prog_compiler_static='-Bstatic'
                   8634:         ;;
                   8635:       ccc*)
                   8636:         lt_prog_compiler_wl='-Wl,'
                   8637:         # All Alpha code is PIC.
                   8638:         lt_prog_compiler_static='-non_shared'
                   8639:         ;;
                   8640:       xl* | bgxl* | bgf* | mpixl*)
                   8641:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8642:        lt_prog_compiler_wl='-Wl,'
                   8643:        lt_prog_compiler_pic='-qpic'
                   8644:        lt_prog_compiler_static='-qstaticlink'
                   8645:        ;;
                   8646:       *)
                   8647:        case `$CC -V 2>&1 | sed 5q` in
                   8648:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8649:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8650:          lt_prog_compiler_pic='-KPIC'
                   8651:          lt_prog_compiler_static='-Bstatic'
                   8652:          lt_prog_compiler_wl=''
                   8653:          ;;
                   8654:        *Sun\ F* | *Sun*Fortran*)
                   8655:          lt_prog_compiler_pic='-KPIC'
                   8656:          lt_prog_compiler_static='-Bstatic'
                   8657:          lt_prog_compiler_wl='-Qoption ld '
                   8658:          ;;
                   8659:        *Sun\ C*)
                   8660:          # Sun C 5.9
                   8661:          lt_prog_compiler_pic='-KPIC'
                   8662:          lt_prog_compiler_static='-Bstatic'
                   8663:          lt_prog_compiler_wl='-Wl,'
                   8664:          ;;
                   8665:         *Intel*\ [CF]*Compiler*)
                   8666:          lt_prog_compiler_wl='-Wl,'
                   8667:          lt_prog_compiler_pic='-fPIC'
                   8668:          lt_prog_compiler_static='-static'
                   8669:          ;;
                   8670:        *Portland\ Group*)
                   8671:          lt_prog_compiler_wl='-Wl,'
                   8672:          lt_prog_compiler_pic='-fpic'
                   8673:          lt_prog_compiler_static='-Bstatic'
                   8674:          ;;
                   8675:        esac
                   8676:        ;;
                   8677:       esac
                   8678:       ;;
                   8679: 
                   8680:     newsos6)
                   8681:       lt_prog_compiler_pic='-KPIC'
                   8682:       lt_prog_compiler_static='-Bstatic'
                   8683:       ;;
                   8684: 
                   8685:     *nto* | *qnx*)
                   8686:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8687:       # it will coredump.
                   8688:       lt_prog_compiler_pic='-fPIC -shared'
                   8689:       ;;
                   8690: 
                   8691:     osf3* | osf4* | osf5*)
                   8692:       lt_prog_compiler_wl='-Wl,'
                   8693:       # All OSF/1 code is PIC.
                   8694:       lt_prog_compiler_static='-non_shared'
                   8695:       ;;
                   8696: 
                   8697:     rdos*)
                   8698:       lt_prog_compiler_static='-non_shared'
                   8699:       ;;
                   8700: 
                   8701:     solaris*)
                   8702:       lt_prog_compiler_pic='-KPIC'
                   8703:       lt_prog_compiler_static='-Bstatic'
                   8704:       case $cc_basename in
                   8705:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8706:        lt_prog_compiler_wl='-Qoption ld ';;
                   8707:       *)
                   8708:        lt_prog_compiler_wl='-Wl,';;
                   8709:       esac
                   8710:       ;;
                   8711: 
                   8712:     sunos4*)
                   8713:       lt_prog_compiler_wl='-Qoption ld '
                   8714:       lt_prog_compiler_pic='-PIC'
                   8715:       lt_prog_compiler_static='-Bstatic'
                   8716:       ;;
                   8717: 
                   8718:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8719:       lt_prog_compiler_wl='-Wl,'
                   8720:       lt_prog_compiler_pic='-KPIC'
                   8721:       lt_prog_compiler_static='-Bstatic'
                   8722:       ;;
                   8723: 
                   8724:     sysv4*MP*)
                   8725:       if test -d /usr/nec ;then
                   8726:        lt_prog_compiler_pic='-Kconform_pic'
                   8727:        lt_prog_compiler_static='-Bstatic'
                   8728:       fi
                   8729:       ;;
                   8730: 
                   8731:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8732:       lt_prog_compiler_wl='-Wl,'
                   8733:       lt_prog_compiler_pic='-KPIC'
                   8734:       lt_prog_compiler_static='-Bstatic'
                   8735:       ;;
                   8736: 
                   8737:     unicos*)
                   8738:       lt_prog_compiler_wl='-Wl,'
                   8739:       lt_prog_compiler_can_build_shared=no
                   8740:       ;;
                   8741: 
                   8742:     uts4*)
                   8743:       lt_prog_compiler_pic='-pic'
                   8744:       lt_prog_compiler_static='-Bstatic'
                   8745:       ;;
                   8746: 
                   8747:     *)
                   8748:       lt_prog_compiler_can_build_shared=no
                   8749:       ;;
                   8750:     esac
                   8751:   fi
                   8752: 
                   8753: case $host_os in
                   8754:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8755:   *djgpp*)
                   8756:     lt_prog_compiler_pic=
                   8757:     ;;
                   8758:   *)
                   8759:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8760:     ;;
                   8761: esac
                   8762: 
                   8763: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8764: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8765: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8766:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8767: else
                   8768:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8769: fi
                   8770: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8771: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8772: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8773: 
                   8774: #
                   8775: # Check to make sure the PIC flag actually works.
                   8776: #
                   8777: if test -n "$lt_prog_compiler_pic"; then
                   8778:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8779: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8780: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   8781:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8782: else
                   8783:   lt_cv_prog_compiler_pic_works=no
                   8784:    ac_outfile=conftest.$ac_objext
                   8785:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8786:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8787:    # Insert the option either (1) after the last *FLAGS variable, or
                   8788:    # (2) before a word containing "conftest.", or (3) at the end.
                   8789:    # Note that $ac_compile itself does not contain backslashes and begins
                   8790:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8791:    # The option is referenced via a variable to avoid confusing sed.
                   8792:    lt_compile=`echo "$ac_compile" | $SED \
                   8793:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8794:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8795:    -e 's:$: $lt_compiler_flag:'`
                   8796:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8797:    (eval "$lt_compile" 2>conftest.err)
                   8798:    ac_status=$?
                   8799:    cat conftest.err >&5
                   8800:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8801:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8802:      # The compiler can only warn and ignore the option if not recognized
                   8803:      # So say no if there are warnings other than the usual output.
                   8804:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8805:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8806:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8807:        lt_cv_prog_compiler_pic_works=yes
                   8808:      fi
                   8809:    fi
                   8810:    $RM conftest*
                   8811: 
                   8812: fi
                   8813: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8814: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
                   8815: 
                   8816: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8817:     case $lt_prog_compiler_pic in
                   8818:      "" | " "*) ;;
                   8819:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8820:      esac
                   8821: else
                   8822:     lt_prog_compiler_pic=
                   8823:      lt_prog_compiler_can_build_shared=no
                   8824: fi
                   8825: 
                   8826: fi
                   8827: 
                   8828: 
                   8829: 
                   8830: 
                   8831: 
                   8832: 
                   8833: 
                   8834: 
                   8835: 
                   8836: 
                   8837: 
                   8838: #
                   8839: # Check to make sure the static flag actually works.
                   8840: #
                   8841: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8842: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8843: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8844: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8845:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8846: else
                   8847:   lt_cv_prog_compiler_static_works=no
                   8848:    save_LDFLAGS="$LDFLAGS"
                   8849:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8850:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8851:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8852:      # The linker can only warn and ignore the option if not recognized
                   8853:      # So say no if there are warnings
                   8854:      if test -s conftest.err; then
                   8855:        # Append any errors to the config.log.
                   8856:        cat conftest.err 1>&5
                   8857:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8858:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8859:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8860:          lt_cv_prog_compiler_static_works=yes
                   8861:        fi
                   8862:      else
                   8863:        lt_cv_prog_compiler_static_works=yes
                   8864:      fi
                   8865:    fi
                   8866:    $RM -r conftest*
                   8867:    LDFLAGS="$save_LDFLAGS"
                   8868: 
                   8869: fi
                   8870: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8871: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8872: 
                   8873: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8874:     :
                   8875: else
                   8876:     lt_prog_compiler_static=
                   8877: fi
                   8878: 
                   8879: 
                   8880: 
                   8881: 
                   8882: 
                   8883: 
                   8884: 
                   8885:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8886: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8887: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8888:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8889: else
                   8890:   lt_cv_prog_compiler_c_o=no
                   8891:    $RM -r conftest 2>/dev/null
                   8892:    mkdir conftest
                   8893:    cd conftest
                   8894:    mkdir out
                   8895:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8896: 
                   8897:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8898:    # Insert the option either (1) after the last *FLAGS variable, or
                   8899:    # (2) before a word containing "conftest.", or (3) at the end.
                   8900:    # Note that $ac_compile itself does not contain backslashes and begins
                   8901:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8902:    lt_compile=`echo "$ac_compile" | $SED \
                   8903:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8904:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8905:    -e 's:$: $lt_compiler_flag:'`
                   8906:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8907:    (eval "$lt_compile" 2>out/conftest.err)
                   8908:    ac_status=$?
                   8909:    cat out/conftest.err >&5
                   8910:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8911:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8912:    then
                   8913:      # The compiler can only warn and ignore the option if not recognized
                   8914:      # So say no if there are warnings
                   8915:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8916:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8917:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8918:        lt_cv_prog_compiler_c_o=yes
                   8919:      fi
                   8920:    fi
                   8921:    chmod u+w . 2>&5
                   8922:    $RM conftest*
                   8923:    # SGI C++ compiler will create directory out/ii_files/ for
                   8924:    # template instantiation
                   8925:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8926:    $RM out/* && rmdir out
                   8927:    cd ..
                   8928:    $RM -r conftest
                   8929:    $RM conftest*
                   8930: 
                   8931: fi
                   8932: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8933: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8934: 
                   8935: 
                   8936: 
                   8937: 
                   8938: 
                   8939: 
                   8940:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8941: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8942: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8943:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8944: else
                   8945:   lt_cv_prog_compiler_c_o=no
                   8946:    $RM -r conftest 2>/dev/null
                   8947:    mkdir conftest
                   8948:    cd conftest
                   8949:    mkdir out
                   8950:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8951: 
                   8952:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8953:    # Insert the option either (1) after the last *FLAGS variable, or
                   8954:    # (2) before a word containing "conftest.", or (3) at the end.
                   8955:    # Note that $ac_compile itself does not contain backslashes and begins
                   8956:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8957:    lt_compile=`echo "$ac_compile" | $SED \
                   8958:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8959:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8960:    -e 's:$: $lt_compiler_flag:'`
                   8961:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8962:    (eval "$lt_compile" 2>out/conftest.err)
                   8963:    ac_status=$?
                   8964:    cat out/conftest.err >&5
                   8965:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8966:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8967:    then
                   8968:      # The compiler can only warn and ignore the option if not recognized
                   8969:      # So say no if there are warnings
                   8970:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8971:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8972:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8973:        lt_cv_prog_compiler_c_o=yes
                   8974:      fi
                   8975:    fi
                   8976:    chmod u+w . 2>&5
                   8977:    $RM conftest*
                   8978:    # SGI C++ compiler will create directory out/ii_files/ for
                   8979:    # template instantiation
                   8980:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8981:    $RM out/* && rmdir out
                   8982:    cd ..
                   8983:    $RM -r conftest
                   8984:    $RM conftest*
                   8985: 
                   8986: fi
                   8987: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8988: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: hard_links="nottested"
                   8994: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8995:   # do not overwrite the value of need_locks provided by the user
                   8996:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   8997: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   8998:   hard_links=yes
                   8999:   $RM conftest*
                   9000:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9001:   touch conftest.a
                   9002:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9003:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9004:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   9005: echo "${ECHO_T}$hard_links" >&6
                   9006:   if test "$hard_links" = no; then
                   9007:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9008: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9009:     need_locks=warn
                   9010:   fi
                   9011: else
                   9012:   need_locks=no
                   9013: fi
                   9014: 
                   9015: 
                   9016: 
                   9017: 
                   9018: 
                   9019: 
                   9020:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9021: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   9022: 
                   9023:   runpath_var=
                   9024:   allow_undefined_flag=
                   9025:   always_export_symbols=no
                   9026:   archive_cmds=
                   9027:   archive_expsym_cmds=
                   9028:   compiler_needs_object=no
                   9029:   enable_shared_with_static_runtimes=no
                   9030:   export_dynamic_flag_spec=
                   9031:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9032:   hardcode_automatic=no
                   9033:   hardcode_direct=no
                   9034:   hardcode_direct_absolute=no
                   9035:   hardcode_libdir_flag_spec=
                   9036:   hardcode_libdir_separator=
                   9037:   hardcode_minus_L=no
                   9038:   hardcode_shlibpath_var=unsupported
                   9039:   inherit_rpath=no
                   9040:   link_all_deplibs=unknown
                   9041:   module_cmds=
                   9042:   module_expsym_cmds=
                   9043:   old_archive_from_new_cmds=
                   9044:   old_archive_from_expsyms_cmds=
                   9045:   thread_safe_flag_spec=
                   9046:   whole_archive_flag_spec=
                   9047:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9048:   # included in the symbol list
                   9049:   include_expsyms=
                   9050:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9051:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9052:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9053:   # as well as any symbol that contains `d'.
                   9054:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9055:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9056:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9057:   # the symbol is explicitly referenced.  Since portable code cannot
                   9058:   # rely on this symbol name, it's probably fine to never include it in
                   9059:   # preloaded symbol tables.
                   9060:   # Exclude shared library initialization/finalization symbols.
                   9061:   extract_expsyms_cmds=
                   9062: 
                   9063:   case $host_os in
                   9064:   cygwin* | mingw* | pw32* | cegcc*)
                   9065:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9066:     # When not using gcc, we currently assume that we are using
                   9067:     # Microsoft Visual C++.
                   9068:     if test "$GCC" != yes; then
                   9069:       with_gnu_ld=no
                   9070:     fi
                   9071:     ;;
                   9072:   interix*)
                   9073:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9074:     with_gnu_ld=yes
                   9075:     ;;
                   9076:   openbsd*)
                   9077:     with_gnu_ld=no
                   9078:     ;;
                   9079:   esac
                   9080: 
                   9081:   ld_shlibs=yes
                   9082: 
                   9083:   # On some targets, GNU ld is compatible enough with the native linker
                   9084:   # that we're better off using the native interface for both.
                   9085:   lt_use_gnu_ld_interface=no
                   9086:   if test "$with_gnu_ld" = yes; then
                   9087:     case $host_os in
                   9088:       aix*)
                   9089:        # The AIX port of GNU ld has always aspired to compatibility
                   9090:        # with the native linker.  However, as the warning in the GNU ld
                   9091:        # block says, versions before 2.19.5* couldn't really create working
                   9092:        # shared libraries, regardless of the interface used.
                   9093:        case `$LD -v 2>&1` in
                   9094:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9095:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9096:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9097:          *)
                   9098:            lt_use_gnu_ld_interface=yes
                   9099:            ;;
                   9100:        esac
                   9101:        ;;
                   9102:       *)
                   9103:        lt_use_gnu_ld_interface=yes
                   9104:        ;;
                   9105:     esac
                   9106:   fi
                   9107: 
                   9108:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9109:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9110:     wlarc='${wl}'
                   9111: 
                   9112:     # Set some defaults for GNU ld with shared library support. These
                   9113:     # are reset later if shared libraries are not supported. Putting them
                   9114:     # here allows them to be overridden if necessary.
                   9115:     runpath_var=LD_RUN_PATH
                   9116:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9117:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9118:     # ancient GNU ld didn't support --whole-archive et. al.
                   9119:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9120:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9121:     else
                   9122:       whole_archive_flag_spec=
                   9123:     fi
                   9124:     supports_anon_versioning=no
                   9125:     case `$LD -v 2>&1` in
                   9126:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9127:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9128:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9129:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9130:       *\ 2.11.*) ;; # other 2.11 versions
                   9131:       *) supports_anon_versioning=yes ;;
                   9132:     esac
                   9133: 
                   9134:     # See if GNU ld supports shared libraries.
                   9135:     case $host_os in
                   9136:     aix[3-9]*)
                   9137:       # On AIX/PPC, the GNU linker is very broken
                   9138:       if test "$host_cpu" != ia64; then
                   9139:        ld_shlibs=no
                   9140:        cat <<_LT_EOF 1>&2
                   9141: 
                   9142: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9143: *** to be unable to reliably create shared libraries on AIX.
                   9144: *** Therefore, libtool is disabling shared libraries support.  If you
                   9145: *** really care for shared libraries, you may want to install binutils
                   9146: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9147: *** You will then need to restart the configuration process.
                   9148: 
                   9149: _LT_EOF
                   9150:       fi
                   9151:       ;;
                   9152: 
                   9153:     amigaos*)
                   9154:       case $host_cpu in
                   9155:       powerpc)
                   9156:             # see comment about AmigaOS4 .so support
                   9157:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9158:             archive_expsym_cmds=''
                   9159:         ;;
                   9160:       m68k)
                   9161:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
                   9162:             hardcode_libdir_flag_spec='-L$libdir'
                   9163:             hardcode_minus_L=yes
                   9164:         ;;
                   9165:       esac
                   9166:       ;;
                   9167: 
                   9168:     beos*)
                   9169:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9170:        allow_undefined_flag=unsupported
                   9171:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9172:        # support --undefined.  This deserves some investigation.  FIXME
                   9173:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9174:       else
                   9175:        ld_shlibs=no
                   9176:       fi
                   9177:       ;;
                   9178: 
                   9179:     cygwin* | mingw* | pw32* | cegcc*)
                   9180:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9181:       # as there is no search path for DLLs.
                   9182:       hardcode_libdir_flag_spec='-L$libdir'
                   9183:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9184:       allow_undefined_flag=unsupported
                   9185:       always_export_symbols=no
                   9186:       enable_shared_with_static_runtimes=yes
                   9187:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   9188:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9189: 
                   9190:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9191:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9192:        # If the export-symbols file already is a .def file (1st line
                   9193:        # is EXPORTS), use it as is; otherwise, prepend...
                   9194:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9195:          cp $export_symbols $output_objdir/$soname.def;
                   9196:        else
                   9197:          echo EXPORTS > $output_objdir/$soname.def;
                   9198:          cat $export_symbols >> $output_objdir/$soname.def;
                   9199:        fi~
                   9200:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9201:       else
                   9202:        ld_shlibs=no
                   9203:       fi
                   9204:       ;;
                   9205: 
                   9206:     haiku*)
                   9207:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9208:       link_all_deplibs=yes
                   9209:       ;;
                   9210: 
                   9211:     interix[3-9]*)
                   9212:       hardcode_direct=no
                   9213:       hardcode_shlibpath_var=no
                   9214:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9215:       export_dynamic_flag_spec='${wl}-E'
                   9216:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9217:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9218:       # default) and relocated if they conflict, which is a slow very memory
                   9219:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9220:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9221:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9222:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9223:       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9224:       ;;
                   9225: 
                   9226:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9227:       tmp_diet=no
                   9228:       if test "$host_os" = linux-dietlibc; then
                   9229:        case $cc_basename in
                   9230:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9231:        esac
                   9232:       fi
                   9233:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9234:         && test "$tmp_diet" = no
                   9235:       then
                   9236:        tmp_addflag=' $pic_flag'
                   9237:        tmp_sharedflag='-shared'
                   9238:        case $cc_basename,$host_cpu in
                   9239:         pgcc*)                         # Portland Group C compiler
                   9240:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   9241:          tmp_addflag=' $pic_flag'
                   9242:          ;;
                   9243:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9244:                                        # Portland Group f77 and f90 compilers
                   9245:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   9246:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9247:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9248:          tmp_addflag=' -i_dynamic' ;;
                   9249:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9250:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9251:        ifc* | ifort*)                  # Intel Fortran compiler
                   9252:          tmp_addflag=' -nofor_main' ;;
                   9253:        lf95*)                          # Lahey Fortran 8.1
                   9254:          whole_archive_flag_spec=
                   9255:          tmp_sharedflag='--shared' ;;
                   9256:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9257:          tmp_sharedflag='-qmkshrobj'
                   9258:          tmp_addflag= ;;
                   9259:        nvcc*)  # Cuda Compiler Driver 2.2
                   9260:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   9261:          compiler_needs_object=yes
                   9262:          ;;
                   9263:        esac
                   9264:        case `$CC -V 2>&1 | sed 5q` in
                   9265:        *Sun\ C*)                       # Sun C 5.9
                   9266:          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   9267:          compiler_needs_object=yes
                   9268:          tmp_sharedflag='-G' ;;
                   9269:        *Sun\ F*)                       # Sun Fortran 8.3
                   9270:          tmp_sharedflag='-G' ;;
                   9271:        esac
                   9272:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9273: 
                   9274:         if test "x$supports_anon_versioning" = xyes; then
                   9275:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9276:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9277:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9278:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9279:         fi
                   9280: 
                   9281:        case $cc_basename in
                   9282:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9283:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9284:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9285:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9286:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9287:          if test "x$supports_anon_versioning" = xyes; then
                   9288:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9289:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9290:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9291:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9292:          fi
                   9293:          ;;
                   9294:        esac
                   9295:       else
                   9296:         ld_shlibs=no
                   9297:       fi
                   9298:       ;;
                   9299: 
                   9300:     netbsd*)
                   9301:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9302:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9303:        wlarc=
                   9304:       else
                   9305:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9306:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9307:       fi
                   9308:       ;;
                   9309: 
                   9310:     solaris*)
                   9311:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9312:        ld_shlibs=no
                   9313:        cat <<_LT_EOF 1>&2
                   9314: 
                   9315: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9316: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9317: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9318: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9319: *** your PATH or compiler configuration so that the native linker is
                   9320: *** used, and then restart.
                   9321: 
                   9322: _LT_EOF
                   9323:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9324:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9325:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9326:       else
                   9327:        ld_shlibs=no
                   9328:       fi
                   9329:       ;;
                   9330: 
                   9331:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9332:       case `$LD -v 2>&1` in
                   9333:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9334:        ld_shlibs=no
                   9335:        cat <<_LT_EOF 1>&2
                   9336: 
                   9337: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9338: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9339: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9340: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9341: *** your PATH or compiler configuration so that the native linker is
                   9342: *** used, and then restart.
                   9343: 
                   9344: _LT_EOF
                   9345:        ;;
                   9346:        *)
                   9347:          # For security reasons, it is highly recommended that you always
                   9348:          # use absolute paths for naming shared libraries, and exclude the
                   9349:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9350:          # requires that you compile everything twice, which is a pain.
                   9351:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9352:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9353:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9354:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9355:          else
                   9356:            ld_shlibs=no
                   9357:          fi
                   9358:        ;;
                   9359:       esac
                   9360:       ;;
                   9361: 
                   9362:     sunos4*)
                   9363:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9364:       wlarc=
                   9365:       hardcode_direct=yes
                   9366:       hardcode_shlibpath_var=no
                   9367:       ;;
                   9368: 
                   9369:     *)
                   9370:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9371:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9372:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9373:       else
                   9374:        ld_shlibs=no
                   9375:       fi
                   9376:       ;;
                   9377:     esac
                   9378: 
                   9379:     if test "$ld_shlibs" = no; then
                   9380:       runpath_var=
                   9381:       hardcode_libdir_flag_spec=
                   9382:       export_dynamic_flag_spec=
                   9383:       whole_archive_flag_spec=
                   9384:     fi
                   9385:   else
                   9386:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9387:     case $host_os in
                   9388:     aix3*)
                   9389:       allow_undefined_flag=unsupported
                   9390:       always_export_symbols=yes
                   9391:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
                   9392:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9393:       # are no directories specified by -L.
                   9394:       hardcode_minus_L=yes
                   9395:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9396:        # Neither direct hardcoding nor static linking is supported with a
                   9397:        # broken collect2.
                   9398:        hardcode_direct=unsupported
                   9399:       fi
                   9400:       ;;
                   9401: 
                   9402:     aix[4-9]*)
                   9403:       if test "$host_cpu" = ia64; then
                   9404:        # On IA64, the linker does run time linking by default, so we don't
                   9405:        # have to do anything special.
                   9406:        aix_use_runtimelinking=no
                   9407:        exp_sym_flag='-Bexport'
                   9408:        no_entry_flag=""
                   9409:       else
                   9410:        # If we're using GNU nm, then we don't want the "-C" option.
                   9411:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9412:        # Also, AIX nm treats weak defined symbols like other global
                   9413:        # defined symbols, whereas GNU nm marks them as "W".
                   9414:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9415:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   9416:        else
                   9417:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   9418:        fi
                   9419:        aix_use_runtimelinking=no
                   9420: 
                   9421:        # Test if we are trying to use run time linking or normal
                   9422:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9423:        # need to do runtime linking.
                   9424:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9425:          for ld_flag in $LDFLAGS; do
                   9426:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9427:            aix_use_runtimelinking=yes
                   9428:            break
                   9429:          fi
                   9430:          done
                   9431:          ;;
                   9432:        esac
                   9433: 
                   9434:        exp_sym_flag='-bexport'
                   9435:        no_entry_flag='-bnoentry'
                   9436:       fi
                   9437: 
                   9438:       # When large executables or shared objects are built, AIX ld can
                   9439:       # have problems creating the table of contents.  If linking a library
                   9440:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9441:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9442:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9443: 
                   9444:       archive_cmds=''
                   9445:       hardcode_direct=yes
                   9446:       hardcode_direct_absolute=yes
                   9447:       hardcode_libdir_separator=':'
                   9448:       link_all_deplibs=yes
                   9449:       file_list_spec='${wl}-f,'
                   9450: 
                   9451:       if test "$GCC" = yes; then
                   9452:        case $host_os in aix4.[012]|aix4.[012].*)
                   9453:        # We only want to do this on AIX 4.2 and lower, the check
                   9454:        # below for broken collect2 doesn't work under 4.3+
                   9455:          collect2name=`${CC} -print-prog-name=collect2`
                   9456:          if test -f "$collect2name" &&
                   9457:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9458:          then
                   9459:          # We have reworked collect2
                   9460:          :
                   9461:          else
                   9462:          # We have old collect2
                   9463:          hardcode_direct=unsupported
                   9464:          # It fails to find uninstalled libraries when the uninstalled
                   9465:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9466:          # to unsupported forces relinking
                   9467:          hardcode_minus_L=yes
                   9468:          hardcode_libdir_flag_spec='-L$libdir'
                   9469:          hardcode_libdir_separator=
                   9470:          fi
                   9471:          ;;
                   9472:        esac
                   9473:        shared_flag='-shared'
                   9474:        if test "$aix_use_runtimelinking" = yes; then
                   9475:          shared_flag="$shared_flag "'${wl}-G'
                   9476:        fi
                   9477:       else
                   9478:        # not using gcc
                   9479:        if test "$host_cpu" = ia64; then
                   9480:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9481:        # chokes on -Wl,-G. The following line is correct:
                   9482:          shared_flag='-G'
                   9483:        else
                   9484:          if test "$aix_use_runtimelinking" = yes; then
                   9485:            shared_flag='${wl}-G'
                   9486:          else
                   9487:            shared_flag='${wl}-bM:SRE'
                   9488:          fi
                   9489:        fi
                   9490:       fi
                   9491: 
                   9492:       export_dynamic_flag_spec='${wl}-bexpall'
                   9493:       # It seems that -bexpall does not export symbols beginning with
                   9494:       # underscore (_), so it is better to generate a list of symbols to export.
                   9495:       always_export_symbols=yes
                   9496:       if test "$aix_use_runtimelinking" = yes; then
                   9497:        # Warning - without using the other runtime loading flags (-brtl),
                   9498:        # -berok will link without error, but may produce a broken library.
                   9499:        allow_undefined_flag='-berok'
                   9500:         # Determine the default libpath from the value encoded in an
                   9501:         # empty executable.
                   9502:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9503:   aix_libpath=$lt_cv_aix_libpath
                   9504: else
                   9505:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9506:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9507: else
                   9508:   cat >conftest.$ac_ext <<_ACEOF
                   9509: /* confdefs.h.  */
                   9510: _ACEOF
                   9511: cat confdefs.h >>conftest.$ac_ext
                   9512: cat >>conftest.$ac_ext <<_ACEOF
                   9513: /* end confdefs.h.  */
                   9514: 
                   9515: int
                   9516: main ()
                   9517: {
                   9518: 
                   9519:   ;
                   9520:   return 0;
                   9521: }
                   9522: _ACEOF
                   9523: rm -f conftest.$ac_objext conftest$ac_exeext
                   9524: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9525:   (eval $ac_link) 2>conftest.er1
                   9526:   ac_status=$?
                   9527:   grep -v '^ *+' conftest.er1 >conftest.err
                   9528:   rm -f conftest.er1
                   9529:   cat conftest.err >&5
                   9530:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9531:   (exit $ac_status); } &&
                   9532:         { ac_try='test -z "$ac_c_werror_flag"
                   9533:                         || test ! -s conftest.err'
                   9534:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9535:   (eval $ac_try) 2>&5
                   9536:   ac_status=$?
                   9537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9538:   (exit $ac_status); }; } &&
                   9539:         { ac_try='test -s conftest$ac_exeext'
                   9540:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9541:   (eval $ac_try) 2>&5
                   9542:   ac_status=$?
                   9543:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9544:   (exit $ac_status); }; }; then
                   9545: 
                   9546:   lt_aix_libpath_sed='
                   9547:       /Import File Strings/,/^$/ {
                   9548:          /^0/ {
                   9549:              s/^0  *\([^ ]*\) *$/\1/
                   9550:              p
                   9551:          }
                   9552:       }'
                   9553:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9554:   # Check for a 64-bit object if we didn't find anything.
                   9555:   if test -z "$lt_cv_aix_libpath_"; then
                   9556:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9557:   fi
                   9558: else
                   9559:   echo "$as_me: failed program was:" >&5
                   9560: sed 's/^/| /' conftest.$ac_ext >&5
                   9561: 
                   9562: fi
                   9563: rm -f conftest.err conftest.$ac_objext \
                   9564:       conftest$ac_exeext conftest.$ac_ext
                   9565:   if test -z "$lt_cv_aix_libpath_"; then
                   9566:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9567:   fi
                   9568: 
                   9569: fi
                   9570: 
                   9571:   aix_libpath=$lt_cv_aix_libpath_
                   9572: fi
                   9573: 
                   9574:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9575:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   9576:       else
                   9577:        if test "$host_cpu" = ia64; then
                   9578:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9579:          allow_undefined_flag="-z nodefs"
                   9580:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   9581:        else
                   9582:         # Determine the default libpath from the value encoded in an
                   9583:         # empty executable.
                   9584:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9585:   aix_libpath=$lt_cv_aix_libpath
                   9586: else
                   9587:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9588:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9589: else
                   9590:   cat >conftest.$ac_ext <<_ACEOF
                   9591: /* confdefs.h.  */
                   9592: _ACEOF
                   9593: cat confdefs.h >>conftest.$ac_ext
                   9594: cat >>conftest.$ac_ext <<_ACEOF
                   9595: /* end confdefs.h.  */
                   9596: 
                   9597: int
                   9598: main ()
                   9599: {
                   9600: 
                   9601:   ;
                   9602:   return 0;
                   9603: }
                   9604: _ACEOF
                   9605: rm -f conftest.$ac_objext conftest$ac_exeext
                   9606: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9607:   (eval $ac_link) 2>conftest.er1
                   9608:   ac_status=$?
                   9609:   grep -v '^ *+' conftest.er1 >conftest.err
                   9610:   rm -f conftest.er1
                   9611:   cat conftest.err >&5
                   9612:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9613:   (exit $ac_status); } &&
                   9614:         { ac_try='test -z "$ac_c_werror_flag"
                   9615:                         || test ! -s conftest.err'
                   9616:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9617:   (eval $ac_try) 2>&5
                   9618:   ac_status=$?
                   9619:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9620:   (exit $ac_status); }; } &&
                   9621:         { ac_try='test -s conftest$ac_exeext'
                   9622:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9623:   (eval $ac_try) 2>&5
                   9624:   ac_status=$?
                   9625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9626:   (exit $ac_status); }; }; then
                   9627: 
                   9628:   lt_aix_libpath_sed='
                   9629:       /Import File Strings/,/^$/ {
                   9630:          /^0/ {
                   9631:              s/^0  *\([^ ]*\) *$/\1/
                   9632:              p
                   9633:          }
                   9634:       }'
                   9635:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9636:   # Check for a 64-bit object if we didn't find anything.
                   9637:   if test -z "$lt_cv_aix_libpath_"; then
                   9638:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9639:   fi
                   9640: else
                   9641:   echo "$as_me: failed program was:" >&5
                   9642: sed 's/^/| /' conftest.$ac_ext >&5
                   9643: 
                   9644: fi
                   9645: rm -f conftest.err conftest.$ac_objext \
                   9646:       conftest$ac_exeext conftest.$ac_ext
                   9647:   if test -z "$lt_cv_aix_libpath_"; then
                   9648:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9649:   fi
                   9650: 
                   9651: fi
                   9652: 
                   9653:   aix_libpath=$lt_cv_aix_libpath_
                   9654: fi
                   9655: 
                   9656:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9657:          # Warning - without using the other run time loading flags,
                   9658:          # -berok will link without error, but may produce a broken library.
                   9659:          no_undefined_flag=' ${wl}-bernotok'
                   9660:          allow_undefined_flag=' ${wl}-berok'
                   9661:          if test "$with_gnu_ld" = yes; then
                   9662:            # We only use this code for GNU lds that support --whole-archive.
                   9663:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9664:          else
                   9665:            # Exported symbols can be pulled into shared objects from archives
                   9666:            whole_archive_flag_spec='$convenience'
                   9667:          fi
                   9668:          archive_cmds_need_lc=yes
                   9669:          # This is similar to how AIX traditionally builds its shared libraries.
                   9670:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   9671:        fi
                   9672:       fi
                   9673:       ;;
                   9674: 
                   9675:     amigaos*)
                   9676:       case $host_cpu in
                   9677:       powerpc)
                   9678:             # see comment about AmigaOS4 .so support
                   9679:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9680:             archive_expsym_cmds=''
                   9681:         ;;
                   9682:       m68k)
                   9683:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
                   9684:             hardcode_libdir_flag_spec='-L$libdir'
                   9685:             hardcode_minus_L=yes
                   9686:         ;;
                   9687:       esac
                   9688:       ;;
                   9689: 
                   9690:     bsdi[45]*)
                   9691:       export_dynamic_flag_spec=-rdynamic
                   9692:       ;;
                   9693: 
                   9694:     cygwin* | mingw* | pw32* | cegcc*)
                   9695:       # When not using gcc, we currently assume that we are using
                   9696:       # Microsoft Visual C++.
                   9697:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9698:       # no search path for DLLs.
                   9699:       case $cc_basename in
                   9700:       cl*)
                   9701:        # Native MSVC
                   9702:        hardcode_libdir_flag_spec=' '
                   9703:        allow_undefined_flag=unsupported
                   9704:        always_export_symbols=yes
                   9705:        file_list_spec='@'
                   9706:        # Tell ltmain to make .lib files, not .a files.
                   9707:        libext=lib
                   9708:        # Tell ltmain to make .dll files, not .so files.
                   9709:        shrext_cmds=".dll"
                   9710:        # FIXME: Setting linknames here is a bad hack.
                   9711:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9712:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9713:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9714:          else
                   9715:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9716:          fi~
                   9717:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9718:          linknames='
                   9719:        # The linker will not automatically build a static lib if we build a DLL.
                   9720:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9721:        enable_shared_with_static_runtimes=yes
                   9722:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9723:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9724:        # Don't use ranlib
                   9725:        old_postinstall_cmds='chmod 644 $oldlib'
                   9726:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9727:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9728:          case $lt_outputfile in
                   9729:            *.exe|*.EXE) ;;
                   9730:            *)
                   9731:              lt_outputfile="$lt_outputfile.exe"
                   9732:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9733:              ;;
                   9734:          esac~
                   9735:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9736:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9737:            $RM "$lt_outputfile.manifest";
                   9738:          fi'
                   9739:        ;;
                   9740:       *)
                   9741:        # Assume MSVC wrapper
                   9742:        hardcode_libdir_flag_spec=' '
                   9743:        allow_undefined_flag=unsupported
                   9744:        # Tell ltmain to make .lib files, not .a files.
                   9745:        libext=lib
                   9746:        # Tell ltmain to make .dll files, not .so files.
                   9747:        shrext_cmds=".dll"
                   9748:        # FIXME: Setting linknames here is a bad hack.
                   9749:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9750:        # The linker will automatically build a .lib file if we build a DLL.
                   9751:        old_archive_from_new_cmds='true'
                   9752:        # FIXME: Should let the user specify the lib program.
                   9753:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9754:        enable_shared_with_static_runtimes=yes
                   9755:        ;;
                   9756:       esac
                   9757:       ;;
                   9758: 
                   9759:     darwin* | rhapsody*)
                   9760: 
                   9761: 
                   9762:   archive_cmds_need_lc=no
                   9763:   hardcode_direct=no
                   9764:   hardcode_automatic=yes
                   9765:   hardcode_shlibpath_var=unsupported
                   9766:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9767:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   9768: 
                   9769:   else
                   9770:     whole_archive_flag_spec=''
                   9771:   fi
                   9772:   link_all_deplibs=yes
                   9773:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9774:   case $cc_basename in
                   9775:      ifort*) _lt_dar_can_shared=yes ;;
                   9776:      *) _lt_dar_can_shared=$GCC ;;
                   9777:   esac
                   9778:   if test "$_lt_dar_can_shared" = "yes"; then
                   9779:     output_verbose_link_cmd=func_echo_all
                   9780:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9781:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9782:     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   9783:     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
                   9784: 
                   9785:   else
                   9786:   ld_shlibs=no
                   9787:   fi
                   9788: 
                   9789:       ;;
                   9790: 
                   9791:     dgux*)
                   9792:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9793:       hardcode_libdir_flag_spec='-L$libdir'
                   9794:       hardcode_shlibpath_var=no
                   9795:       ;;
                   9796: 
                   9797:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9798:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9799:     # does not break anything, and helps significantly (at the cost of a little
                   9800:     # extra space).
                   9801:     freebsd2.2*)
                   9802:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9803:       hardcode_libdir_flag_spec='-R$libdir'
                   9804:       hardcode_direct=yes
                   9805:       hardcode_shlibpath_var=no
                   9806:       ;;
                   9807: 
                   9808:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9809:     freebsd2.*)
                   9810:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9811:       hardcode_direct=yes
                   9812:       hardcode_minus_L=yes
                   9813:       hardcode_shlibpath_var=no
                   9814:       ;;
                   9815: 
                   9816:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9817:     freebsd* | dragonfly*)
                   9818:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9819:       hardcode_libdir_flag_spec='-R$libdir'
                   9820:       hardcode_direct=yes
                   9821:       hardcode_shlibpath_var=no
                   9822:       ;;
                   9823: 
                   9824:     hpux9*)
                   9825:       if test "$GCC" = yes; then
                   9826:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   9827:       else
                   9828:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   9829:       fi
                   9830:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9831:       hardcode_libdir_separator=:
                   9832:       hardcode_direct=yes
                   9833: 
                   9834:       # hardcode_minus_L: Not really in the search PATH,
                   9835:       # but as the default location of the library.
                   9836:       hardcode_minus_L=yes
                   9837:       export_dynamic_flag_spec='${wl}-E'
                   9838:       ;;
                   9839: 
                   9840:     hpux10*)
                   9841:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9842:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9843:       else
                   9844:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9845:       fi
                   9846:       if test "$with_gnu_ld" = no; then
                   9847:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9848:        hardcode_libdir_separator=:
                   9849:        hardcode_direct=yes
                   9850:        hardcode_direct_absolute=yes
                   9851:        export_dynamic_flag_spec='${wl}-E'
                   9852:        # hardcode_minus_L: Not really in the search PATH,
                   9853:        # but as the default location of the library.
                   9854:        hardcode_minus_L=yes
                   9855:       fi
                   9856:       ;;
                   9857: 
                   9858:     hpux11*)
                   9859:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9860:        case $host_cpu in
                   9861:        hppa*64*)
                   9862:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9863:          ;;
                   9864:        ia64*)
                   9865:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9866:          ;;
                   9867:        *)
                   9868:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9869:          ;;
                   9870:        esac
                   9871:       else
                   9872:        case $host_cpu in
                   9873:        hppa*64*)
                   9874:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9875:          ;;
                   9876:        ia64*)
                   9877:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9878:          ;;
                   9879:        *)
                   9880: 
                   9881:          # Older versions of the 11.00 compiler do not understand -b yet
                   9882:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9883:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9884: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9885: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9886:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9887: else
                   9888:   lt_cv_prog_compiler__b=no
                   9889:    save_LDFLAGS="$LDFLAGS"
                   9890:    LDFLAGS="$LDFLAGS -b"
                   9891:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9892:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9893:      # The linker can only warn and ignore the option if not recognized
                   9894:      # So say no if there are warnings
                   9895:      if test -s conftest.err; then
                   9896:        # Append any errors to the config.log.
                   9897:        cat conftest.err 1>&5
                   9898:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9899:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9900:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9901:          lt_cv_prog_compiler__b=yes
                   9902:        fi
                   9903:      else
                   9904:        lt_cv_prog_compiler__b=yes
                   9905:      fi
                   9906:    fi
                   9907:    $RM -r conftest*
                   9908:    LDFLAGS="$save_LDFLAGS"
                   9909: 
                   9910: fi
                   9911: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9912: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
                   9913: 
                   9914: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9915:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9916: else
                   9917:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9918: fi
                   9919: 
                   9920:          ;;
                   9921:        esac
                   9922:       fi
                   9923:       if test "$with_gnu_ld" = no; then
                   9924:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9925:        hardcode_libdir_separator=:
                   9926: 
                   9927:        case $host_cpu in
                   9928:        hppa*64*|ia64*)
                   9929:          hardcode_direct=no
                   9930:          hardcode_shlibpath_var=no
                   9931:          ;;
                   9932:        *)
                   9933:          hardcode_direct=yes
                   9934:          hardcode_direct_absolute=yes
                   9935:          export_dynamic_flag_spec='${wl}-E'
                   9936: 
                   9937:          # hardcode_minus_L: Not really in the search PATH,
                   9938:          # but as the default location of the library.
                   9939:          hardcode_minus_L=yes
                   9940:          ;;
                   9941:        esac
                   9942:       fi
                   9943:       ;;
                   9944: 
                   9945:     irix5* | irix6* | nonstopux*)
                   9946:       if test "$GCC" = yes; then
                   9947:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9948:        # Try to use the -exported_symbol ld option, if it does not
                   9949:        # work, assume that -exports_file does not work either and
                   9950:        # implicitly export all symbols.
                   9951:        # This should be the same for all languages, so no per-tag cache variable.
                   9952:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9953: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   9954: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   9955:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9956: else
                   9957:   save_LDFLAGS="$LDFLAGS"
                   9958:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9959:           cat >conftest.$ac_ext <<_ACEOF
                   9960: /* confdefs.h.  */
                   9961: _ACEOF
                   9962: cat confdefs.h >>conftest.$ac_ext
                   9963: cat >>conftest.$ac_ext <<_ACEOF
                   9964: /* end confdefs.h.  */
                   9965: int foo (void) { return 0; }
                   9966: _ACEOF
                   9967: rm -f conftest.$ac_objext conftest$ac_exeext
                   9968: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9969:   (eval $ac_link) 2>conftest.er1
                   9970:   ac_status=$?
                   9971:   grep -v '^ *+' conftest.er1 >conftest.err
                   9972:   rm -f conftest.er1
                   9973:   cat conftest.err >&5
                   9974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9975:   (exit $ac_status); } &&
                   9976:         { ac_try='test -z "$ac_c_werror_flag"
                   9977:                         || test ! -s conftest.err'
                   9978:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9979:   (eval $ac_try) 2>&5
                   9980:   ac_status=$?
                   9981:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9982:   (exit $ac_status); }; } &&
                   9983:         { ac_try='test -s conftest$ac_exeext'
                   9984:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9985:   (eval $ac_try) 2>&5
                   9986:   ac_status=$?
                   9987:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9988:   (exit $ac_status); }; }; then
                   9989:   lt_cv_irix_exported_symbol=yes
                   9990: else
                   9991:   echo "$as_me: failed program was:" >&5
                   9992: sed 's/^/| /' conftest.$ac_ext >&5
                   9993: 
                   9994: lt_cv_irix_exported_symbol=no
                   9995: fi
                   9996: rm -f conftest.err conftest.$ac_objext \
                   9997:       conftest$ac_exeext conftest.$ac_ext
                   9998:            LDFLAGS="$save_LDFLAGS"
                   9999: fi
                   10000: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   10001: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   10002:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10003:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
                   10004:        fi
                   10005:       else
                   10006:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   10007:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
                   10008:       fi
                   10009:       archive_cmds_need_lc='no'
                   10010:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10011:       hardcode_libdir_separator=:
                   10012:       inherit_rpath=yes
                   10013:       link_all_deplibs=yes
                   10014:       ;;
                   10015: 
                   10016:     netbsd*)
                   10017:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10018:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10019:       else
                   10020:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10021:       fi
                   10022:       hardcode_libdir_flag_spec='-R$libdir'
                   10023:       hardcode_direct=yes
                   10024:       hardcode_shlibpath_var=no
                   10025:       ;;
                   10026: 
                   10027:     newsos6)
                   10028:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10029:       hardcode_direct=yes
                   10030:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10031:       hardcode_libdir_separator=:
                   10032:       hardcode_shlibpath_var=no
                   10033:       ;;
                   10034: 
                   10035:     *nto* | *qnx*)
                   10036:       ;;
                   10037: 
                   10038:     openbsd*)
                   10039:       if test -f /usr/libexec/ld.so; then
                   10040:        hardcode_direct=yes
                   10041:        hardcode_shlibpath_var=no
                   10042:        hardcode_direct_absolute=yes
                   10043:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10044:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10045:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10046:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10047:          export_dynamic_flag_spec='${wl}-E'
                   10048:        else
                   10049:          case $host_os in
                   10050:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10051:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10052:             hardcode_libdir_flag_spec='-R$libdir'
                   10053:             ;;
                   10054:           *)
                   10055:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10056:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10057:             ;;
                   10058:          esac
                   10059:        fi
                   10060:       else
                   10061:        ld_shlibs=no
                   10062:       fi
                   10063:       ;;
                   10064: 
                   10065:     os2*)
                   10066:       hardcode_libdir_flag_spec='-L$libdir'
                   10067:       hardcode_minus_L=yes
                   10068:       allow_undefined_flag=unsupported
                   10069:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   10070:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10071:       ;;
                   10072: 
                   10073:     osf3*)
                   10074:       if test "$GCC" = yes; then
                   10075:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10076:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   10077:       else
                   10078:        allow_undefined_flag=' -expect_unresolved \*'
                   10079:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   10080:       fi
                   10081:       archive_cmds_need_lc='no'
                   10082:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10083:       hardcode_libdir_separator=:
                   10084:       ;;
                   10085: 
                   10086:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10087:       if test "$GCC" = yes; then
                   10088:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10089:        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   10090:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10091:       else
                   10092:        allow_undefined_flag=' -expect_unresolved \*'
                   10093:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   10094:        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
                   10095:        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
                   10096: 
                   10097:        # Both c and cxx compiler support -rpath directly
                   10098:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10099:       fi
                   10100:       archive_cmds_need_lc='no'
                   10101:       hardcode_libdir_separator=:
                   10102:       ;;
                   10103: 
                   10104:     solaris*)
                   10105:       no_undefined_flag=' -z defs'
                   10106:       if test "$GCC" = yes; then
                   10107:        wlarc='${wl}'
                   10108:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10109:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10110:          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10111:       else
                   10112:        case `$CC -V 2>&1` in
                   10113:        *"Compilers 5.0"*)
                   10114:          wlarc=''
                   10115:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10116:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10117:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10118:          ;;
                   10119:        *)
                   10120:          wlarc='${wl}'
                   10121:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10122:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10123:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10124:          ;;
                   10125:        esac
                   10126:       fi
                   10127:       hardcode_libdir_flag_spec='-R$libdir'
                   10128:       hardcode_shlibpath_var=no
                   10129:       case $host_os in
                   10130:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10131:       *)
                   10132:        # The compiler driver will combine and reorder linker options,
                   10133:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10134:        # but is careful enough not to reorder.
                   10135:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10136:        if test "$GCC" = yes; then
                   10137:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10138:        else
                   10139:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10140:        fi
                   10141:        ;;
                   10142:       esac
                   10143:       link_all_deplibs=yes
                   10144:       ;;
                   10145: 
                   10146:     sunos4*)
                   10147:       if test "x$host_vendor" = xsequent; then
                   10148:        # Use $CC to link under sequent, because it throws in some extra .o
                   10149:        # files that make .init and .fini sections work.
                   10150:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10151:       else
                   10152:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10153:       fi
                   10154:       hardcode_libdir_flag_spec='-L$libdir'
                   10155:       hardcode_direct=yes
                   10156:       hardcode_minus_L=yes
                   10157:       hardcode_shlibpath_var=no
                   10158:       ;;
                   10159: 
                   10160:     sysv4)
                   10161:       case $host_vendor in
                   10162:        sni)
                   10163:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10164:          hardcode_direct=yes # is this really true???
                   10165:        ;;
                   10166:        siemens)
                   10167:          ## LD is ld it makes a PLAMLIB
                   10168:          ## CC just makes a GrossModule.
                   10169:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10170:          reload_cmds='$CC -r -o $output$reload_objs'
                   10171:          hardcode_direct=no
                   10172:         ;;
                   10173:        motorola)
                   10174:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10175:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10176:        ;;
                   10177:       esac
                   10178:       runpath_var='LD_RUN_PATH'
                   10179:       hardcode_shlibpath_var=no
                   10180:       ;;
                   10181: 
                   10182:     sysv4.3*)
                   10183:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10184:       hardcode_shlibpath_var=no
                   10185:       export_dynamic_flag_spec='-Bexport'
                   10186:       ;;
                   10187: 
                   10188:     sysv4*MP*)
                   10189:       if test -d /usr/nec; then
                   10190:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10191:        hardcode_shlibpath_var=no
                   10192:        runpath_var=LD_RUN_PATH
                   10193:        hardcode_runpath_var=yes
                   10194:        ld_shlibs=yes
                   10195:       fi
                   10196:       ;;
                   10197: 
                   10198:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10199:       no_undefined_flag='${wl}-z,text'
                   10200:       archive_cmds_need_lc=no
                   10201:       hardcode_shlibpath_var=no
                   10202:       runpath_var='LD_RUN_PATH'
                   10203: 
                   10204:       if test "$GCC" = yes; then
                   10205:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10206:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10207:       else
                   10208:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10209:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10210:       fi
                   10211:       ;;
                   10212: 
                   10213:     sysv5* | sco3.2v5* | sco5v6*)
                   10214:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10215:       # link with -lc, and that would cause any symbols used from libc to
                   10216:       # always be unresolved, which means just about no library would
                   10217:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10218:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10219:       # as -z defs.
                   10220:       no_undefined_flag='${wl}-z,text'
                   10221:       allow_undefined_flag='${wl}-z,nodefs'
                   10222:       archive_cmds_need_lc=no
                   10223:       hardcode_shlibpath_var=no
                   10224:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10225:       hardcode_libdir_separator=':'
                   10226:       link_all_deplibs=yes
                   10227:       export_dynamic_flag_spec='${wl}-Bexport'
                   10228:       runpath_var='LD_RUN_PATH'
                   10229: 
                   10230:       if test "$GCC" = yes; then
                   10231:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10232:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10233:       else
                   10234:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10235:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10236:       fi
                   10237:       ;;
                   10238: 
                   10239:     uts4*)
                   10240:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10241:       hardcode_libdir_flag_spec='-L$libdir'
                   10242:       hardcode_shlibpath_var=no
                   10243:       ;;
                   10244: 
                   10245:     *)
                   10246:       ld_shlibs=no
                   10247:       ;;
                   10248:     esac
                   10249: 
                   10250:     if test x$host_vendor = xsni; then
                   10251:       case $host in
                   10252:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10253:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10254:        ;;
                   10255:       esac
                   10256:     fi
                   10257:   fi
                   10258: 
                   10259: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   10260: echo "${ECHO_T}$ld_shlibs" >&6
                   10261: test "$ld_shlibs" = no && can_build_shared=no
                   10262: 
                   10263: with_gnu_ld=$with_gnu_ld
                   10264: 
                   10265: 
                   10266: 
                   10267: 
                   10268: 
                   10269: 
                   10270: 
                   10271: 
                   10272: 
                   10273: 
                   10274: 
                   10275: 
                   10276: 
                   10277: 
                   10278: 
                   10279: #
                   10280: # Do we need to explicitly link libc?
                   10281: #
                   10282: case "x$archive_cmds_need_lc" in
                   10283: x|xyes)
                   10284:   # Assume -lc should be added
                   10285:   archive_cmds_need_lc=yes
                   10286: 
                   10287:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10288:     case $archive_cmds in
                   10289:     *'~'*)
                   10290:       # FIXME: we may have to deal with multi-command sequences.
                   10291:       ;;
                   10292:     '$CC '*)
                   10293:       # Test whether the compiler implicitly links with -lc since on some
                   10294:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10295:       # to ld, don't add -lc before -lgcc.
                   10296:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   10297: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   10298: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   10299:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10300: else
                   10301:   $RM conftest*
                   10302:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10303: 
                   10304:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10305:   (eval $ac_compile) 2>&5
                   10306:   ac_status=$?
                   10307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10308:   (exit $ac_status); } 2>conftest.err; then
                   10309:          soname=conftest
                   10310:          lib=conftest
                   10311:          libobjs=conftest.$ac_objext
                   10312:          deplibs=
                   10313:          wl=$lt_prog_compiler_wl
                   10314:          pic_flag=$lt_prog_compiler_pic
                   10315:          compiler_flags=-v
                   10316:          linker_flags=-v
                   10317:          verstring=
                   10318:          output_objdir=.
                   10319:          libname=conftest
                   10320:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10321:          allow_undefined_flag=
                   10322:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   10323:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10324:   ac_status=$?
                   10325:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10326:   (exit $ac_status); }
                   10327:          then
                   10328:            lt_cv_archive_cmds_need_lc=no
                   10329:          else
                   10330:            lt_cv_archive_cmds_need_lc=yes
                   10331:          fi
                   10332:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10333:        else
                   10334:          cat conftest.err 1>&5
                   10335:        fi
                   10336:        $RM conftest*
                   10337: 
                   10338: fi
                   10339: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   10340: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   10341:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10342:       ;;
                   10343:     esac
                   10344:   fi
                   10345:   ;;
                   10346: esac
                   10347: 
                   10348: 
                   10349: 
                   10350: 
                   10351: 
                   10352: 
                   10353: 
                   10354: 
                   10355: 
                   10356: 
                   10357: 
                   10358: 
                   10359: 
                   10360: 
                   10361: 
                   10362: 
                   10363: 
                   10364: 
                   10365: 
                   10366: 
                   10367: 
                   10368: 
                   10369: 
                   10370: 
                   10371: 
                   10372: 
                   10373: 
                   10374: 
                   10375: 
                   10376: 
                   10377: 
                   10378: 
                   10379: 
                   10380: 
                   10381: 
                   10382: 
                   10383: 
                   10384: 
                   10385: 
                   10386: 
                   10387: 
                   10388: 
                   10389: 
                   10390: 
                   10391: 
                   10392: 
                   10393: 
                   10394: 
                   10395: 
                   10396: 
                   10397: 
                   10398: 
                   10399: 
                   10400: 
                   10401: 
                   10402: 
                   10403: 
                   10404: 
                   10405: 
                   10406: 
                   10407: 
                   10408: 
                   10409: 
                   10410: 
                   10411: 
                   10412: 
                   10413: 
                   10414: 
                   10415: 
                   10416: 
                   10417: 
                   10418: 
                   10419: 
                   10420: 
                   10421: 
                   10422: 
                   10423: 
                   10424: 
                   10425: 
                   10426: 
                   10427: 
                   10428: 
                   10429: 
                   10430: 
                   10431: 
                   10432: 
                   10433: 
                   10434: 
                   10435: 
                   10436: 
                   10437: 
                   10438: 
                   10439: 
                   10440: 
                   10441: 
                   10442: 
                   10443: 
                   10444: 
                   10445: 
                   10446: 
                   10447: 
                   10448: 
                   10449: 
                   10450: 
                   10451: 
                   10452: 
                   10453: 
                   10454: 
                   10455: 
                   10456: 
                   10457: 
                   10458: 
                   10459: 
                   10460: 
                   10461: 
                   10462: 
                   10463: 
                   10464: 
                   10465: 
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   10500: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   10501: 
                   10502: if test "$GCC" = yes; then
                   10503:   case $host_os in
                   10504:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10505:     *) lt_awk_arg="/^libraries:/" ;;
                   10506:   esac
                   10507:   case $host_os in
                   10508:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10509:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10510:   esac
                   10511:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10512:   case $lt_search_path_spec in
                   10513:   *\;*)
                   10514:     # if the path contains ";" then we assume it to be the separator
                   10515:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10516:     # assumed that no part of a normal pathname contains ";" but that should
                   10517:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10518:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10519:     ;;
                   10520:   *)
                   10521:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10522:     ;;
                   10523:   esac
                   10524:   # Ok, now we have the path, separated by spaces, we can step through it
                   10525:   # and add multilib dir if necessary.
                   10526:   lt_tmp_lt_search_path_spec=
                   10527:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10528:   for lt_sys_path in $lt_search_path_spec; do
                   10529:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10530:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10531:     else
                   10532:       test -d "$lt_sys_path" && \
                   10533:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10534:     fi
                   10535:   done
                   10536:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10537: BEGIN {RS=" "; FS="/|\n";} {
                   10538:   lt_foo="";
                   10539:   lt_count=0;
                   10540:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10541:     if ($lt_i != "" && $lt_i != ".") {
                   10542:       if ($lt_i == "..") {
                   10543:         lt_count++;
                   10544:       } else {
                   10545:         if (lt_count == 0) {
                   10546:           lt_foo="/" $lt_i lt_foo;
                   10547:         } else {
                   10548:           lt_count--;
                   10549:         }
                   10550:       }
                   10551:     }
                   10552:   }
                   10553:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10554:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10555: }'`
                   10556:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10557:   # for these hosts.
                   10558:   case $host_os in
                   10559:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10560:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10561:   esac
                   10562:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10563: else
                   10564:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10565: fi
                   10566: library_names_spec=
                   10567: libname_spec='lib$name'
                   10568: soname_spec=
                   10569: shrext_cmds=".so"
                   10570: postinstall_cmds=
                   10571: postuninstall_cmds=
                   10572: finish_cmds=
                   10573: finish_eval=
                   10574: shlibpath_var=
                   10575: shlibpath_overrides_runpath=unknown
                   10576: version_type=none
                   10577: dynamic_linker="$host_os ld.so"
                   10578: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10579: need_lib_prefix=unknown
                   10580: hardcode_into_libs=no
                   10581: 
                   10582: # when you set need_version to no, make sure it does not cause -set_version
                   10583: # flags to be left without arguments
                   10584: need_version=unknown
                   10585: 
                   10586: case $host_os in
                   10587: aix3*)
                   10588:   version_type=linux # correct to gnu/linux during the next big refactor
                   10589:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10590:   shlibpath_var=LIBPATH
                   10591: 
                   10592:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10593:   soname_spec='${libname}${release}${shared_ext}$major'
                   10594:   ;;
                   10595: 
                   10596: aix[4-9]*)
                   10597:   version_type=linux # correct to gnu/linux during the next big refactor
                   10598:   need_lib_prefix=no
                   10599:   need_version=no
                   10600:   hardcode_into_libs=yes
                   10601:   if test "$host_cpu" = ia64; then
                   10602:     # AIX 5 supports IA64
                   10603:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10604:     shlibpath_var=LD_LIBRARY_PATH
                   10605:   else
                   10606:     # With GCC up to 2.95.x, collect2 would create an import file
                   10607:     # for dependence libraries.  The import file would start with
                   10608:     # the line `#! .'.  This would cause the generated library to
                   10609:     # depend on `.', always an invalid library.  This was fixed in
                   10610:     # development snapshots of GCC prior to 3.0.
                   10611:     case $host_os in
                   10612:       aix4 | aix4.[01] | aix4.[01].*)
                   10613:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10614:           echo ' yes '
                   10615:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10616:        :
                   10617:       else
                   10618:        can_build_shared=no
                   10619:       fi
                   10620:       ;;
                   10621:     esac
                   10622:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10623:     # soname into executable. Probably we can add versioning support to
                   10624:     # collect2, so additional links can be useful in future.
                   10625:     if test "$aix_use_runtimelinking" = yes; then
                   10626:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10627:       # instead of lib<name>.a to let people know that these are not
                   10628:       # typical AIX shared libraries.
                   10629:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10630:     else
                   10631:       # We preserve .a as extension for shared libraries through AIX4.2
                   10632:       # and later when we are not doing run time linking.
                   10633:       library_names_spec='${libname}${release}.a $libname.a'
                   10634:       soname_spec='${libname}${release}${shared_ext}$major'
                   10635:     fi
                   10636:     shlibpath_var=LIBPATH
                   10637:   fi
                   10638:   ;;
                   10639: 
                   10640: amigaos*)
                   10641:   case $host_cpu in
                   10642:   powerpc)
                   10643:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10644:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10645:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10646:     ;;
                   10647:   m68k)
                   10648:     library_names_spec='$libname.ixlibrary $libname.a'
                   10649:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10650:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   10651:     ;;
                   10652:   esac
                   10653:   ;;
                   10654: 
                   10655: beos*)
                   10656:   library_names_spec='${libname}${shared_ext}'
                   10657:   dynamic_linker="$host_os ld.so"
                   10658:   shlibpath_var=LIBRARY_PATH
                   10659:   ;;
                   10660: 
                   10661: bsdi[45]*)
                   10662:   version_type=linux # correct to gnu/linux during the next big refactor
                   10663:   need_version=no
                   10664:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10665:   soname_spec='${libname}${release}${shared_ext}$major'
                   10666:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10667:   shlibpath_var=LD_LIBRARY_PATH
                   10668:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10669:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10670:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10671:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10672:   # libtool to hard-code these into programs
                   10673:   ;;
                   10674: 
                   10675: cygwin* | mingw* | pw32* | cegcc*)
                   10676:   version_type=windows
                   10677:   shrext_cmds=".dll"
                   10678:   need_version=no
                   10679:   need_lib_prefix=no
                   10680: 
                   10681:   case $GCC,$cc_basename in
                   10682:   yes,*)
                   10683:     # gcc
                   10684:     library_names_spec='$libname.dll.a'
                   10685:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10686:     postinstall_cmds='base_file=`basename \${file}`~
                   10687:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10688:       dldir=$destdir/`dirname \$dlpath`~
                   10689:       test -d \$dldir || mkdir -p \$dldir~
                   10690:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10691:       chmod a+x \$dldir/$dlname~
                   10692:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10693:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10694:       fi'
                   10695:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10696:       dlpath=$dir/\$dldll~
                   10697:        $RM \$dlpath'
                   10698:     shlibpath_overrides_runpath=yes
                   10699: 
                   10700:     case $host_os in
                   10701:     cygwin*)
                   10702:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10703:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10704: 
                   10705:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10706:       ;;
                   10707:     mingw* | cegcc*)
                   10708:       # MinGW DLLs use traditional 'lib' prefix
                   10709:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10710:       ;;
                   10711:     pw32*)
                   10712:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10713:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10714:       ;;
                   10715:     esac
                   10716:     dynamic_linker='Win32 ld.exe'
                   10717:     ;;
                   10718: 
                   10719:   *,cl*)
                   10720:     # Native MSVC
                   10721:     libname_spec='$name'
                   10722:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10723:     library_names_spec='${libname}.dll.lib'
                   10724: 
                   10725:     case $build_os in
                   10726:     mingw*)
                   10727:       sys_lib_search_path_spec=
                   10728:       lt_save_ifs=$IFS
                   10729:       IFS=';'
                   10730:       for lt_path in $LIB
                   10731:       do
                   10732:         IFS=$lt_save_ifs
                   10733:         # Let DOS variable expansion print the short 8.3 style file name.
                   10734:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10735:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10736:       done
                   10737:       IFS=$lt_save_ifs
                   10738:       # Convert to MSYS style.
                   10739:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10740:       ;;
                   10741:     cygwin*)
                   10742:       # Convert to unix form, then to dos form, then back to unix form
                   10743:       # but this time dos style (no spaces!) so that the unix form looks
                   10744:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10745:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10746:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10747:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10748:       ;;
                   10749:     *)
                   10750:       sys_lib_search_path_spec="$LIB"
                   10751:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10752:         # It is most probably a Windows format PATH.
                   10753:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10754:       else
                   10755:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10756:       fi
                   10757:       # FIXME: find the short name or the path components, as spaces are
                   10758:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10759:       ;;
                   10760:     esac
                   10761: 
                   10762:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10763:     postinstall_cmds='base_file=`basename \${file}`~
                   10764:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10765:       dldir=$destdir/`dirname \$dlpath`~
                   10766:       test -d \$dldir || mkdir -p \$dldir~
                   10767:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10768:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10769:       dlpath=$dir/\$dldll~
                   10770:        $RM \$dlpath'
                   10771:     shlibpath_overrides_runpath=yes
                   10772:     dynamic_linker='Win32 link.exe'
                   10773:     ;;
                   10774: 
                   10775:   *)
                   10776:     # Assume MSVC wrapper
                   10777:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10778:     dynamic_linker='Win32 ld.exe'
                   10779:     ;;
                   10780:   esac
                   10781:   # FIXME: first we should search . and the directory the executable is in
                   10782:   shlibpath_var=PATH
                   10783:   ;;
                   10784: 
                   10785: darwin* | rhapsody*)
                   10786:   dynamic_linker="$host_os dyld"
                   10787:   version_type=darwin
                   10788:   need_lib_prefix=no
                   10789:   need_version=no
                   10790:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10791:   soname_spec='${libname}${release}${major}$shared_ext'
                   10792:   shlibpath_overrides_runpath=yes
                   10793:   shlibpath_var=DYLD_LIBRARY_PATH
                   10794:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10795: 
                   10796:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10797:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10798:   ;;
                   10799: 
                   10800: dgux*)
                   10801:   version_type=linux # correct to gnu/linux during the next big refactor
                   10802:   need_lib_prefix=no
                   10803:   need_version=no
                   10804:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10805:   soname_spec='${libname}${release}${shared_ext}$major'
                   10806:   shlibpath_var=LD_LIBRARY_PATH
                   10807:   ;;
                   10808: 
                   10809: freebsd* | dragonfly*)
                   10810:   # DragonFly does not have aout.  When/if they implement a new
                   10811:   # versioning mechanism, adjust this.
                   10812:   if test -x /usr/bin/objformat; then
                   10813:     objformat=`/usr/bin/objformat`
                   10814:   else
                   10815:     case $host_os in
                   10816:     freebsd[23].*) objformat=aout ;;
                   10817:     *) objformat=elf ;;
                   10818:     esac
                   10819:   fi
                   10820:   version_type=freebsd-$objformat
                   10821:   case $version_type in
                   10822:     freebsd-elf*)
                   10823:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10824:       need_version=no
                   10825:       need_lib_prefix=no
                   10826:       ;;
                   10827:     freebsd-*)
                   10828:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10829:       need_version=yes
                   10830:       ;;
                   10831:   esac
                   10832:   shlibpath_var=LD_LIBRARY_PATH
                   10833:   case $host_os in
                   10834:   freebsd2.*)
                   10835:     shlibpath_overrides_runpath=yes
                   10836:     ;;
                   10837:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10838:     shlibpath_overrides_runpath=yes
                   10839:     hardcode_into_libs=yes
                   10840:     ;;
                   10841:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10842:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10843:     shlibpath_overrides_runpath=no
                   10844:     hardcode_into_libs=yes
                   10845:     ;;
                   10846:   *) # from 4.6 on, and DragonFly
                   10847:     shlibpath_overrides_runpath=yes
                   10848:     hardcode_into_libs=yes
                   10849:     ;;
                   10850:   esac
                   10851:   ;;
                   10852: 
                   10853: gnu*)
                   10854:   version_type=linux # correct to gnu/linux during the next big refactor
                   10855:   need_lib_prefix=no
                   10856:   need_version=no
                   10857:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10858:   soname_spec='${libname}${release}${shared_ext}$major'
                   10859:   shlibpath_var=LD_LIBRARY_PATH
                   10860:   shlibpath_overrides_runpath=no
                   10861:   hardcode_into_libs=yes
                   10862:   ;;
                   10863: 
                   10864: haiku*)
                   10865:   version_type=linux # correct to gnu/linux during the next big refactor
                   10866:   need_lib_prefix=no
                   10867:   need_version=no
                   10868:   dynamic_linker="$host_os runtime_loader"
                   10869:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10870:   soname_spec='${libname}${release}${shared_ext}$major'
                   10871:   shlibpath_var=LIBRARY_PATH
                   10872:   shlibpath_overrides_runpath=yes
                   10873:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10874:   hardcode_into_libs=yes
                   10875:   ;;
                   10876: 
                   10877: hpux9* | hpux10* | hpux11*)
                   10878:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10879:   # link against other versions.
                   10880:   version_type=sunos
                   10881:   need_lib_prefix=no
                   10882:   need_version=no
                   10883:   case $host_cpu in
                   10884:   ia64*)
                   10885:     shrext_cmds='.so'
                   10886:     hardcode_into_libs=yes
                   10887:     dynamic_linker="$host_os dld.so"
                   10888:     shlibpath_var=LD_LIBRARY_PATH
                   10889:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10890:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10891:     soname_spec='${libname}${release}${shared_ext}$major'
                   10892:     if test "X$HPUX_IA64_MODE" = X32; then
                   10893:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10894:     else
                   10895:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10896:     fi
                   10897:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10898:     ;;
                   10899:   hppa*64*)
                   10900:     shrext_cmds='.sl'
                   10901:     hardcode_into_libs=yes
                   10902:     dynamic_linker="$host_os dld.sl"
                   10903:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10904:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10905:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10906:     soname_spec='${libname}${release}${shared_ext}$major'
                   10907:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10908:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10909:     ;;
                   10910:   *)
                   10911:     shrext_cmds='.sl'
                   10912:     dynamic_linker="$host_os dld.sl"
                   10913:     shlibpath_var=SHLIB_PATH
                   10914:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10915:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10916:     soname_spec='${libname}${release}${shared_ext}$major'
                   10917:     ;;
                   10918:   esac
                   10919:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10920:   postinstall_cmds='chmod 555 $lib'
                   10921:   # or fails outright, so override atomically:
                   10922:   install_override_mode=555
                   10923:   ;;
                   10924: 
                   10925: interix[3-9]*)
                   10926:   version_type=linux # correct to gnu/linux during the next big refactor
                   10927:   need_lib_prefix=no
                   10928:   need_version=no
                   10929:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10930:   soname_spec='${libname}${release}${shared_ext}$major'
                   10931:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10932:   shlibpath_var=LD_LIBRARY_PATH
                   10933:   shlibpath_overrides_runpath=no
                   10934:   hardcode_into_libs=yes
                   10935:   ;;
                   10936: 
                   10937: irix5* | irix6* | nonstopux*)
                   10938:   case $host_os in
                   10939:     nonstopux*) version_type=nonstopux ;;
                   10940:     *)
                   10941:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10942:                version_type=linux # correct to gnu/linux during the next big refactor
                   10943:        else
                   10944:                version_type=irix
                   10945:        fi ;;
                   10946:   esac
                   10947:   need_lib_prefix=no
                   10948:   need_version=no
                   10949:   soname_spec='${libname}${release}${shared_ext}$major'
                   10950:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10951:   case $host_os in
                   10952:   irix5* | nonstopux*)
                   10953:     libsuff= shlibsuff=
                   10954:     ;;
                   10955:   *)
                   10956:     case $LD in # libtool.m4 will add one of these switches to LD
                   10957:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10958:       libsuff= shlibsuff= libmagic=32-bit;;
                   10959:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10960:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10961:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10962:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10963:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10964:     esac
                   10965:     ;;
                   10966:   esac
                   10967:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10968:   shlibpath_overrides_runpath=no
                   10969:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10970:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10971:   hardcode_into_libs=yes
                   10972:   ;;
                   10973: 
                   10974: # No shared lib support for Linux oldld, aout, or coff.
                   10975: linux*oldld* | linux*aout* | linux*coff*)
                   10976:   dynamic_linker=no
                   10977:   ;;
                   10978: 
                   10979: # This must be glibc/ELF.
                   10980: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10981:   version_type=linux # correct to gnu/linux during the next big refactor
                   10982:   need_lib_prefix=no
                   10983:   need_version=no
                   10984:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10985:   soname_spec='${libname}${release}${shared_ext}$major'
                   10986:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10987:   shlibpath_var=LD_LIBRARY_PATH
                   10988:   shlibpath_overrides_runpath=no
                   10989: 
                   10990:   # Some binutils ld are patched to set DT_RUNPATH
                   10991:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   10992:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10993: else
                   10994:   lt_cv_shlibpath_overrides_runpath=no
                   10995:     save_LDFLAGS=$LDFLAGS
                   10996:     save_libdir=$libdir
                   10997:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10998:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10999:     cat >conftest.$ac_ext <<_ACEOF
                   11000: /* confdefs.h.  */
                   11001: _ACEOF
                   11002: cat confdefs.h >>conftest.$ac_ext
                   11003: cat >>conftest.$ac_ext <<_ACEOF
                   11004: /* end confdefs.h.  */
                   11005: 
                   11006: int
                   11007: main ()
                   11008: {
                   11009: 
                   11010:   ;
                   11011:   return 0;
                   11012: }
                   11013: _ACEOF
                   11014: rm -f conftest.$ac_objext conftest$ac_exeext
                   11015: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11016:   (eval $ac_link) 2>conftest.er1
                   11017:   ac_status=$?
                   11018:   grep -v '^ *+' conftest.er1 >conftest.err
                   11019:   rm -f conftest.er1
                   11020:   cat conftest.err >&5
                   11021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11022:   (exit $ac_status); } &&
                   11023:         { ac_try='test -z "$ac_c_werror_flag"
                   11024:                         || test ! -s conftest.err'
                   11025:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11026:   (eval $ac_try) 2>&5
                   11027:   ac_status=$?
                   11028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11029:   (exit $ac_status); }; } &&
                   11030:         { ac_try='test -s conftest$ac_exeext'
                   11031:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11032:   (eval $ac_try) 2>&5
                   11033:   ac_status=$?
                   11034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11035:   (exit $ac_status); }; }; then
                   11036:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   11037:   lt_cv_shlibpath_overrides_runpath=yes
                   11038: fi
                   11039: 
                   11040: else
                   11041:   echo "$as_me: failed program was:" >&5
                   11042: sed 's/^/| /' conftest.$ac_ext >&5
                   11043: 
                   11044: fi
                   11045: rm -f conftest.err conftest.$ac_objext \
                   11046:       conftest$ac_exeext conftest.$ac_ext
                   11047:     LDFLAGS=$save_LDFLAGS
                   11048:     libdir=$save_libdir
                   11049: 
                   11050: fi
                   11051: 
                   11052:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11053: 
                   11054:   # This implies no fast_install, which is unacceptable.
                   11055:   # Some rework will be needed to allow for fast_install
                   11056:   # before this can be enabled.
                   11057:   hardcode_into_libs=yes
                   11058: 
                   11059:   # Append ld.so.conf contents to the search path
                   11060:   if test -f /etc/ld.so.conf; then
                   11061:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
                   11062:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11063:   fi
                   11064: 
                   11065:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11066:   # powerpc, because MkLinux only supported shared libraries with the
                   11067:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11068:   # most powerpc-linux boxes support dynamic linking these days and
                   11069:   # people can always --disable-shared, the test was removed, and we
                   11070:   # assume the GNU/Linux dynamic linker is in use.
                   11071:   dynamic_linker='GNU/Linux ld.so'
                   11072:   ;;
                   11073: 
                   11074: netbsd*)
                   11075:   version_type=sunos
                   11076:   need_lib_prefix=no
                   11077:   need_version=no
                   11078:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11079:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11080:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11081:     dynamic_linker='NetBSD (a.out) ld.so'
                   11082:   else
                   11083:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11084:     soname_spec='${libname}${release}${shared_ext}$major'
                   11085:     dynamic_linker='NetBSD ld.elf_so'
                   11086:   fi
                   11087:   shlibpath_var=LD_LIBRARY_PATH
                   11088:   shlibpath_overrides_runpath=yes
                   11089:   hardcode_into_libs=yes
                   11090:   ;;
                   11091: 
                   11092: newsos6)
                   11093:   version_type=linux # correct to gnu/linux during the next big refactor
                   11094:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11095:   shlibpath_var=LD_LIBRARY_PATH
                   11096:   shlibpath_overrides_runpath=yes
                   11097:   ;;
                   11098: 
                   11099: *nto* | *qnx*)
                   11100:   version_type=qnx
                   11101:   need_lib_prefix=no
                   11102:   need_version=no
                   11103:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11104:   soname_spec='${libname}${release}${shared_ext}$major'
                   11105:   shlibpath_var=LD_LIBRARY_PATH
                   11106:   shlibpath_overrides_runpath=no
                   11107:   hardcode_into_libs=yes
                   11108:   dynamic_linker='ldqnx.so'
                   11109:   ;;
                   11110: 
                   11111: openbsd*)
                   11112:   version_type=sunos
                   11113:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11114:   need_lib_prefix=no
                   11115:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11116:   case $host_os in
                   11117:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11118:     *)                         need_version=no  ;;
                   11119:   esac
                   11120:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11121:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11122:   shlibpath_var=LD_LIBRARY_PATH
                   11123:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11124:     case $host_os in
                   11125:       openbsd2.[89] | openbsd2.[89].*)
                   11126:        shlibpath_overrides_runpath=no
                   11127:        ;;
                   11128:       *)
                   11129:        shlibpath_overrides_runpath=yes
                   11130:        ;;
                   11131:       esac
                   11132:   else
                   11133:     shlibpath_overrides_runpath=yes
                   11134:   fi
                   11135:   ;;
                   11136: 
                   11137: os2*)
                   11138:   libname_spec='$name'
                   11139:   shrext_cmds=".dll"
                   11140:   need_lib_prefix=no
                   11141:   library_names_spec='$libname${shared_ext} $libname.a'
                   11142:   dynamic_linker='OS/2 ld.exe'
                   11143:   shlibpath_var=LIBPATH
                   11144:   ;;
                   11145: 
                   11146: osf3* | osf4* | osf5*)
                   11147:   version_type=osf
                   11148:   need_lib_prefix=no
                   11149:   need_version=no
                   11150:   soname_spec='${libname}${release}${shared_ext}$major'
                   11151:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11152:   shlibpath_var=LD_LIBRARY_PATH
                   11153:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11154:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11155:   ;;
                   11156: 
                   11157: rdos*)
                   11158:   dynamic_linker=no
                   11159:   ;;
                   11160: 
                   11161: solaris*)
                   11162:   version_type=linux # correct to gnu/linux during the next big refactor
                   11163:   need_lib_prefix=no
                   11164:   need_version=no
                   11165:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11166:   soname_spec='${libname}${release}${shared_ext}$major'
                   11167:   shlibpath_var=LD_LIBRARY_PATH
                   11168:   shlibpath_overrides_runpath=yes
                   11169:   hardcode_into_libs=yes
                   11170:   # ldd complains unless libraries are executable
                   11171:   postinstall_cmds='chmod +x $lib'
                   11172:   ;;
                   11173: 
                   11174: sunos4*)
                   11175:   version_type=sunos
                   11176:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11177:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11178:   shlibpath_var=LD_LIBRARY_PATH
                   11179:   shlibpath_overrides_runpath=yes
                   11180:   if test "$with_gnu_ld" = yes; then
                   11181:     need_lib_prefix=no
                   11182:   fi
                   11183:   need_version=yes
                   11184:   ;;
                   11185: 
                   11186: sysv4 | sysv4.3*)
                   11187:   version_type=linux # correct to gnu/linux during the next big refactor
                   11188:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11189:   soname_spec='${libname}${release}${shared_ext}$major'
                   11190:   shlibpath_var=LD_LIBRARY_PATH
                   11191:   case $host_vendor in
                   11192:     sni)
                   11193:       shlibpath_overrides_runpath=no
                   11194:       need_lib_prefix=no
                   11195:       runpath_var=LD_RUN_PATH
                   11196:       ;;
                   11197:     siemens)
                   11198:       need_lib_prefix=no
                   11199:       ;;
                   11200:     motorola)
                   11201:       need_lib_prefix=no
                   11202:       need_version=no
                   11203:       shlibpath_overrides_runpath=no
                   11204:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11205:       ;;
                   11206:   esac
                   11207:   ;;
                   11208: 
                   11209: sysv4*MP*)
                   11210:   if test -d /usr/nec ;then
                   11211:     version_type=linux # correct to gnu/linux during the next big refactor
                   11212:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11213:     soname_spec='$libname${shared_ext}.$major'
                   11214:     shlibpath_var=LD_LIBRARY_PATH
                   11215:   fi
                   11216:   ;;
                   11217: 
                   11218: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11219:   version_type=freebsd-elf
                   11220:   need_lib_prefix=no
                   11221:   need_version=no
                   11222:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11223:   soname_spec='${libname}${release}${shared_ext}$major'
                   11224:   shlibpath_var=LD_LIBRARY_PATH
                   11225:   shlibpath_overrides_runpath=yes
                   11226:   hardcode_into_libs=yes
                   11227:   if test "$with_gnu_ld" = yes; then
                   11228:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11229:   else
                   11230:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11231:     case $host_os in
                   11232:       sco3.2v5*)
                   11233:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11234:        ;;
                   11235:     esac
                   11236:   fi
                   11237:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11238:   ;;
                   11239: 
                   11240: tpf*)
                   11241:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11242:   version_type=linux # correct to gnu/linux during the next big refactor
                   11243:   need_lib_prefix=no
                   11244:   need_version=no
                   11245:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11246:   shlibpath_var=LD_LIBRARY_PATH
                   11247:   shlibpath_overrides_runpath=no
                   11248:   hardcode_into_libs=yes
                   11249:   ;;
                   11250: 
                   11251: uts4*)
                   11252:   version_type=linux # correct to gnu/linux during the next big refactor
                   11253:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11254:   soname_spec='${libname}${release}${shared_ext}$major'
                   11255:   shlibpath_var=LD_LIBRARY_PATH
                   11256:   ;;
                   11257: 
                   11258: *)
                   11259:   dynamic_linker=no
                   11260:   ;;
                   11261: esac
                   11262: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   11263: echo "${ECHO_T}$dynamic_linker" >&6
                   11264: test "$dynamic_linker" = no && can_build_shared=no
                   11265: 
                   11266: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11267: if test "$GCC" = yes; then
                   11268:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11269: fi
                   11270: 
                   11271: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11272:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11273: fi
                   11274: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11275:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11276: fi
                   11277: 
                   11278: 
                   11279: 
                   11280: 
                   11281: 
                   11282: 
                   11283: 
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
                   11298: 
                   11299: 
                   11300: 
                   11301: 
                   11302: 
                   11303: 
                   11304: 
                   11305: 
                   11306: 
                   11307: 
                   11308: 
                   11309: 
                   11310: 
                   11311: 
                   11312: 
                   11313: 
                   11314: 
                   11315: 
                   11316: 
                   11317: 
                   11318: 
                   11319: 
                   11320: 
                   11321: 
                   11322: 
                   11323: 
                   11324: 
                   11325: 
                   11326: 
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: 
                   11334: 
                   11335: 
                   11336: 
                   11337: 
                   11338: 
                   11339: 
                   11340: 
                   11341: 
                   11342: 
                   11343: 
                   11344: 
                   11345: 
                   11346: 
                   11347: 
                   11348: 
                   11349: 
                   11350: 
                   11351: 
                   11352: 
                   11353: 
                   11354: 
                   11355: 
                   11356: 
                   11357: 
                   11358: 
                   11359: 
                   11360: 
                   11361: 
                   11362: 
                   11363: 
                   11364: 
                   11365: 
                   11366: 
                   11367: 
                   11368: 
                   11369:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   11370: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   11371: hardcode_action=
                   11372: if test -n "$hardcode_libdir_flag_spec" ||
                   11373:    test -n "$runpath_var" ||
                   11374:    test "X$hardcode_automatic" = "Xyes" ; then
                   11375: 
                   11376:   # We can hardcode non-existent directories.
                   11377:   if test "$hardcode_direct" != no &&
                   11378:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11379:      # have to relink, otherwise we might link with an installed library
                   11380:      # when we should be linking with a yet-to-be-installed one
                   11381:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11382:      test "$hardcode_minus_L" != no; then
                   11383:     # Linking always hardcodes the temporary library directory.
                   11384:     hardcode_action=relink
                   11385:   else
                   11386:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11387:     hardcode_action=immediate
                   11388:   fi
                   11389: else
                   11390:   # We cannot hardcode anything, or else we can only hardcode existing
                   11391:   # directories.
                   11392:   hardcode_action=unsupported
                   11393: fi
                   11394: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   11395: echo "${ECHO_T}$hardcode_action" >&6
                   11396: 
                   11397: if test "$hardcode_action" = relink ||
                   11398:    test "$inherit_rpath" = yes; then
                   11399:   # Fast installation is not supported
                   11400:   enable_fast_install=no
                   11401: elif test "$shlibpath_overrides_runpath" = yes ||
                   11402:      test "$enable_shared" = no; then
                   11403:   # Fast installation is not necessary
                   11404:   enable_fast_install=needless
                   11405: fi
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412:   if test "x$enable_dlopen" != xyes; then
                   11413:   enable_dlopen=unknown
                   11414:   enable_dlopen_self=unknown
                   11415:   enable_dlopen_self_static=unknown
                   11416: else
                   11417:   lt_cv_dlopen=no
                   11418:   lt_cv_dlopen_libs=
                   11419: 
                   11420:   case $host_os in
                   11421:   beos*)
                   11422:     lt_cv_dlopen="load_add_on"
                   11423:     lt_cv_dlopen_libs=
                   11424:     lt_cv_dlopen_self=yes
                   11425:     ;;
                   11426: 
                   11427:   mingw* | pw32* | cegcc*)
                   11428:     lt_cv_dlopen="LoadLibrary"
                   11429:     lt_cv_dlopen_libs=
                   11430:     ;;
                   11431: 
                   11432:   cygwin*)
                   11433:     lt_cv_dlopen="dlopen"
                   11434:     lt_cv_dlopen_libs=
                   11435:     ;;
                   11436: 
                   11437:   darwin*)
                   11438:   # if libdl is installed we need to link against it
                   11439:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11440: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11441: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11442:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11443: else
                   11444:   ac_check_lib_save_LIBS=$LIBS
                   11445: LIBS="-ldl  $LIBS"
                   11446: cat >conftest.$ac_ext <<_ACEOF
                   11447: /* confdefs.h.  */
                   11448: _ACEOF
                   11449: cat confdefs.h >>conftest.$ac_ext
                   11450: cat >>conftest.$ac_ext <<_ACEOF
                   11451: /* end confdefs.h.  */
                   11452: 
                   11453: /* Override any gcc2 internal prototype to avoid an error.  */
                   11454: #ifdef __cplusplus
                   11455: extern "C"
                   11456: #endif
                   11457: /* We use char because int might match the return type of a gcc2
                   11458:    builtin and then its argument prototype would still apply.  */
                   11459: char dlopen ();
                   11460: int
                   11461: main ()
                   11462: {
                   11463: dlopen ();
                   11464:   ;
                   11465:   return 0;
                   11466: }
                   11467: _ACEOF
                   11468: rm -f conftest.$ac_objext conftest$ac_exeext
                   11469: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11470:   (eval $ac_link) 2>conftest.er1
                   11471:   ac_status=$?
                   11472:   grep -v '^ *+' conftest.er1 >conftest.err
                   11473:   rm -f conftest.er1
                   11474:   cat conftest.err >&5
                   11475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11476:   (exit $ac_status); } &&
                   11477:         { ac_try='test -z "$ac_c_werror_flag"
                   11478:                         || test ! -s conftest.err'
                   11479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11480:   (eval $ac_try) 2>&5
                   11481:   ac_status=$?
                   11482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11483:   (exit $ac_status); }; } &&
                   11484:         { ac_try='test -s conftest$ac_exeext'
                   11485:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11486:   (eval $ac_try) 2>&5
                   11487:   ac_status=$?
                   11488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11489:   (exit $ac_status); }; }; then
                   11490:   ac_cv_lib_dl_dlopen=yes
                   11491: else
                   11492:   echo "$as_me: failed program was:" >&5
                   11493: sed 's/^/| /' conftest.$ac_ext >&5
                   11494: 
                   11495: ac_cv_lib_dl_dlopen=no
                   11496: fi
                   11497: rm -f conftest.err conftest.$ac_objext \
                   11498:       conftest$ac_exeext conftest.$ac_ext
                   11499: LIBS=$ac_check_lib_save_LIBS
                   11500: fi
                   11501: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11502: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11503: if test $ac_cv_lib_dl_dlopen = yes; then
                   11504:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11505: else
                   11506: 
                   11507:     lt_cv_dlopen="dyld"
                   11508:     lt_cv_dlopen_libs=
                   11509:     lt_cv_dlopen_self=yes
                   11510: 
                   11511: fi
                   11512: 
                   11513:     ;;
                   11514: 
                   11515:   *)
                   11516:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   11517: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   11518: if test "${ac_cv_func_shl_load+set}" = set; then
                   11519:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11520: else
                   11521:   cat >conftest.$ac_ext <<_ACEOF
                   11522: /* confdefs.h.  */
                   11523: _ACEOF
                   11524: cat confdefs.h >>conftest.$ac_ext
                   11525: cat >>conftest.$ac_ext <<_ACEOF
                   11526: /* end confdefs.h.  */
                   11527: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   11528:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11529: #define shl_load innocuous_shl_load
                   11530: 
                   11531: /* System header to define __stub macros and hopefully few prototypes,
                   11532:     which can conflict with char shl_load (); below.
                   11533:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11534:     <limits.h> exists even on freestanding compilers.  */
                   11535: 
                   11536: #ifdef __STDC__
                   11537: # include <limits.h>
                   11538: #else
                   11539: # include <assert.h>
                   11540: #endif
                   11541: 
                   11542: #undef shl_load
                   11543: 
                   11544: /* Override any gcc2 internal prototype to avoid an error.  */
                   11545: #ifdef __cplusplus
                   11546: extern "C"
                   11547: {
                   11548: #endif
                   11549: /* We use char because int might match the return type of a gcc2
                   11550:    builtin and then its argument prototype would still apply.  */
                   11551: char shl_load ();
                   11552: /* The GNU C library defines this for functions which it implements
                   11553:     to always fail with ENOSYS.  Some functions are actually named
                   11554:     something starting with __ and the normal name is an alias.  */
                   11555: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   11556: choke me
                   11557: #else
                   11558: char (*f) () = shl_load;
                   11559: #endif
                   11560: #ifdef __cplusplus
                   11561: }
                   11562: #endif
                   11563: 
                   11564: int
                   11565: main ()
                   11566: {
                   11567: return f != shl_load;
                   11568:   ;
                   11569:   return 0;
                   11570: }
                   11571: _ACEOF
                   11572: rm -f conftest.$ac_objext conftest$ac_exeext
                   11573: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11574:   (eval $ac_link) 2>conftest.er1
                   11575:   ac_status=$?
                   11576:   grep -v '^ *+' conftest.er1 >conftest.err
                   11577:   rm -f conftest.er1
                   11578:   cat conftest.err >&5
                   11579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11580:   (exit $ac_status); } &&
                   11581:         { ac_try='test -z "$ac_c_werror_flag"
                   11582:                         || test ! -s conftest.err'
                   11583:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11584:   (eval $ac_try) 2>&5
                   11585:   ac_status=$?
                   11586:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11587:   (exit $ac_status); }; } &&
                   11588:         { ac_try='test -s conftest$ac_exeext'
                   11589:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11590:   (eval $ac_try) 2>&5
                   11591:   ac_status=$?
                   11592:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11593:   (exit $ac_status); }; }; then
                   11594:   ac_cv_func_shl_load=yes
                   11595: else
                   11596:   echo "$as_me: failed program was:" >&5
                   11597: sed 's/^/| /' conftest.$ac_ext >&5
                   11598: 
                   11599: ac_cv_func_shl_load=no
                   11600: fi
                   11601: rm -f conftest.err conftest.$ac_objext \
                   11602:       conftest$ac_exeext conftest.$ac_ext
                   11603: fi
                   11604: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11605: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11606: if test $ac_cv_func_shl_load = yes; then
                   11607:   lt_cv_dlopen="shl_load"
                   11608: else
                   11609:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11610: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11611: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11612:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11613: else
                   11614:   ac_check_lib_save_LIBS=$LIBS
                   11615: LIBS="-ldld  $LIBS"
                   11616: cat >conftest.$ac_ext <<_ACEOF
                   11617: /* confdefs.h.  */
                   11618: _ACEOF
                   11619: cat confdefs.h >>conftest.$ac_ext
                   11620: cat >>conftest.$ac_ext <<_ACEOF
                   11621: /* end confdefs.h.  */
                   11622: 
                   11623: /* Override any gcc2 internal prototype to avoid an error.  */
                   11624: #ifdef __cplusplus
                   11625: extern "C"
                   11626: #endif
                   11627: /* We use char because int might match the return type of a gcc2
                   11628:    builtin and then its argument prototype would still apply.  */
                   11629: char shl_load ();
                   11630: int
                   11631: main ()
                   11632: {
                   11633: shl_load ();
                   11634:   ;
                   11635:   return 0;
                   11636: }
                   11637: _ACEOF
                   11638: rm -f conftest.$ac_objext conftest$ac_exeext
                   11639: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11640:   (eval $ac_link) 2>conftest.er1
                   11641:   ac_status=$?
                   11642:   grep -v '^ *+' conftest.er1 >conftest.err
                   11643:   rm -f conftest.er1
                   11644:   cat conftest.err >&5
                   11645:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11646:   (exit $ac_status); } &&
                   11647:         { ac_try='test -z "$ac_c_werror_flag"
                   11648:                         || test ! -s conftest.err'
                   11649:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11650:   (eval $ac_try) 2>&5
                   11651:   ac_status=$?
                   11652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11653:   (exit $ac_status); }; } &&
                   11654:         { ac_try='test -s conftest$ac_exeext'
                   11655:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11656:   (eval $ac_try) 2>&5
                   11657:   ac_status=$?
                   11658:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11659:   (exit $ac_status); }; }; then
                   11660:   ac_cv_lib_dld_shl_load=yes
                   11661: else
                   11662:   echo "$as_me: failed program was:" >&5
                   11663: sed 's/^/| /' conftest.$ac_ext >&5
                   11664: 
                   11665: ac_cv_lib_dld_shl_load=no
                   11666: fi
                   11667: rm -f conftest.err conftest.$ac_objext \
                   11668:       conftest$ac_exeext conftest.$ac_ext
                   11669: LIBS=$ac_check_lib_save_LIBS
                   11670: fi
                   11671: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11672: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11673: if test $ac_cv_lib_dld_shl_load = yes; then
                   11674:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11675: else
                   11676:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11677: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11678: if test "${ac_cv_func_dlopen+set}" = set; then
                   11679:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11680: else
                   11681:   cat >conftest.$ac_ext <<_ACEOF
                   11682: /* confdefs.h.  */
                   11683: _ACEOF
                   11684: cat confdefs.h >>conftest.$ac_ext
                   11685: cat >>conftest.$ac_ext <<_ACEOF
                   11686: /* end confdefs.h.  */
                   11687: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11688:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11689: #define dlopen innocuous_dlopen
                   11690: 
                   11691: /* System header to define __stub macros and hopefully few prototypes,
                   11692:     which can conflict with char dlopen (); below.
                   11693:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11694:     <limits.h> exists even on freestanding compilers.  */
                   11695: 
                   11696: #ifdef __STDC__
                   11697: # include <limits.h>
                   11698: #else
                   11699: # include <assert.h>
                   11700: #endif
                   11701: 
                   11702: #undef dlopen
                   11703: 
                   11704: /* Override any gcc2 internal prototype to avoid an error.  */
                   11705: #ifdef __cplusplus
                   11706: extern "C"
                   11707: {
                   11708: #endif
                   11709: /* We use char because int might match the return type of a gcc2
                   11710:    builtin and then its argument prototype would still apply.  */
                   11711: char dlopen ();
                   11712: /* The GNU C library defines this for functions which it implements
                   11713:     to always fail with ENOSYS.  Some functions are actually named
                   11714:     something starting with __ and the normal name is an alias.  */
                   11715: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11716: choke me
                   11717: #else
                   11718: char (*f) () = dlopen;
                   11719: #endif
                   11720: #ifdef __cplusplus
                   11721: }
                   11722: #endif
                   11723: 
                   11724: int
                   11725: main ()
                   11726: {
                   11727: return f != dlopen;
                   11728:   ;
                   11729:   return 0;
                   11730: }
                   11731: _ACEOF
                   11732: rm -f conftest.$ac_objext conftest$ac_exeext
                   11733: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11734:   (eval $ac_link) 2>conftest.er1
                   11735:   ac_status=$?
                   11736:   grep -v '^ *+' conftest.er1 >conftest.err
                   11737:   rm -f conftest.er1
                   11738:   cat conftest.err >&5
                   11739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11740:   (exit $ac_status); } &&
                   11741:         { ac_try='test -z "$ac_c_werror_flag"
                   11742:                         || test ! -s conftest.err'
                   11743:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11744:   (eval $ac_try) 2>&5
                   11745:   ac_status=$?
                   11746:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11747:   (exit $ac_status); }; } &&
                   11748:         { ac_try='test -s conftest$ac_exeext'
                   11749:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11750:   (eval $ac_try) 2>&5
                   11751:   ac_status=$?
                   11752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11753:   (exit $ac_status); }; }; then
                   11754:   ac_cv_func_dlopen=yes
                   11755: else
                   11756:   echo "$as_me: failed program was:" >&5
                   11757: sed 's/^/| /' conftest.$ac_ext >&5
                   11758: 
                   11759: ac_cv_func_dlopen=no
                   11760: fi
                   11761: rm -f conftest.err conftest.$ac_objext \
                   11762:       conftest$ac_exeext conftest.$ac_ext
                   11763: fi
                   11764: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11765: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11766: if test $ac_cv_func_dlopen = yes; then
                   11767:   lt_cv_dlopen="dlopen"
                   11768: else
                   11769:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11770: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11771: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11772:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11773: else
                   11774:   ac_check_lib_save_LIBS=$LIBS
                   11775: LIBS="-ldl  $LIBS"
                   11776: cat >conftest.$ac_ext <<_ACEOF
                   11777: /* confdefs.h.  */
                   11778: _ACEOF
                   11779: cat confdefs.h >>conftest.$ac_ext
                   11780: cat >>conftest.$ac_ext <<_ACEOF
                   11781: /* end confdefs.h.  */
                   11782: 
                   11783: /* Override any gcc2 internal prototype to avoid an error.  */
                   11784: #ifdef __cplusplus
                   11785: extern "C"
                   11786: #endif
                   11787: /* We use char because int might match the return type of a gcc2
                   11788:    builtin and then its argument prototype would still apply.  */
                   11789: char dlopen ();
                   11790: int
                   11791: main ()
                   11792: {
                   11793: dlopen ();
                   11794:   ;
                   11795:   return 0;
                   11796: }
                   11797: _ACEOF
                   11798: rm -f conftest.$ac_objext conftest$ac_exeext
                   11799: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11800:   (eval $ac_link) 2>conftest.er1
                   11801:   ac_status=$?
                   11802:   grep -v '^ *+' conftest.er1 >conftest.err
                   11803:   rm -f conftest.er1
                   11804:   cat conftest.err >&5
                   11805:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11806:   (exit $ac_status); } &&
                   11807:         { ac_try='test -z "$ac_c_werror_flag"
                   11808:                         || test ! -s conftest.err'
                   11809:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11810:   (eval $ac_try) 2>&5
                   11811:   ac_status=$?
                   11812:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11813:   (exit $ac_status); }; } &&
                   11814:         { ac_try='test -s conftest$ac_exeext'
                   11815:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11816:   (eval $ac_try) 2>&5
                   11817:   ac_status=$?
                   11818:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11819:   (exit $ac_status); }; }; then
                   11820:   ac_cv_lib_dl_dlopen=yes
                   11821: else
                   11822:   echo "$as_me: failed program was:" >&5
                   11823: sed 's/^/| /' conftest.$ac_ext >&5
                   11824: 
                   11825: ac_cv_lib_dl_dlopen=no
                   11826: fi
                   11827: rm -f conftest.err conftest.$ac_objext \
                   11828:       conftest$ac_exeext conftest.$ac_ext
                   11829: LIBS=$ac_check_lib_save_LIBS
                   11830: fi
                   11831: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11832: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11833: if test $ac_cv_lib_dl_dlopen = yes; then
                   11834:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11835: else
                   11836:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11837: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11838: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11839:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11840: else
                   11841:   ac_check_lib_save_LIBS=$LIBS
                   11842: LIBS="-lsvld  $LIBS"
                   11843: cat >conftest.$ac_ext <<_ACEOF
                   11844: /* confdefs.h.  */
                   11845: _ACEOF
                   11846: cat confdefs.h >>conftest.$ac_ext
                   11847: cat >>conftest.$ac_ext <<_ACEOF
                   11848: /* end confdefs.h.  */
                   11849: 
                   11850: /* Override any gcc2 internal prototype to avoid an error.  */
                   11851: #ifdef __cplusplus
                   11852: extern "C"
                   11853: #endif
                   11854: /* We use char because int might match the return type of a gcc2
                   11855:    builtin and then its argument prototype would still apply.  */
                   11856: char dlopen ();
                   11857: int
                   11858: main ()
                   11859: {
                   11860: dlopen ();
                   11861:   ;
                   11862:   return 0;
                   11863: }
                   11864: _ACEOF
                   11865: rm -f conftest.$ac_objext conftest$ac_exeext
                   11866: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11867:   (eval $ac_link) 2>conftest.er1
                   11868:   ac_status=$?
                   11869:   grep -v '^ *+' conftest.er1 >conftest.err
                   11870:   rm -f conftest.er1
                   11871:   cat conftest.err >&5
                   11872:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11873:   (exit $ac_status); } &&
                   11874:         { ac_try='test -z "$ac_c_werror_flag"
                   11875:                         || test ! -s conftest.err'
                   11876:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11877:   (eval $ac_try) 2>&5
                   11878:   ac_status=$?
                   11879:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11880:   (exit $ac_status); }; } &&
                   11881:         { ac_try='test -s conftest$ac_exeext'
                   11882:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11883:   (eval $ac_try) 2>&5
                   11884:   ac_status=$?
                   11885:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11886:   (exit $ac_status); }; }; then
                   11887:   ac_cv_lib_svld_dlopen=yes
                   11888: else
                   11889:   echo "$as_me: failed program was:" >&5
                   11890: sed 's/^/| /' conftest.$ac_ext >&5
                   11891: 
                   11892: ac_cv_lib_svld_dlopen=no
                   11893: fi
                   11894: rm -f conftest.err conftest.$ac_objext \
                   11895:       conftest$ac_exeext conftest.$ac_ext
                   11896: LIBS=$ac_check_lib_save_LIBS
                   11897: fi
                   11898: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11899: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11900: if test $ac_cv_lib_svld_dlopen = yes; then
                   11901:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11902: else
                   11903:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11904: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11905: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11906:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11907: else
                   11908:   ac_check_lib_save_LIBS=$LIBS
                   11909: LIBS="-ldld  $LIBS"
                   11910: cat >conftest.$ac_ext <<_ACEOF
                   11911: /* confdefs.h.  */
                   11912: _ACEOF
                   11913: cat confdefs.h >>conftest.$ac_ext
                   11914: cat >>conftest.$ac_ext <<_ACEOF
                   11915: /* end confdefs.h.  */
                   11916: 
                   11917: /* Override any gcc2 internal prototype to avoid an error.  */
                   11918: #ifdef __cplusplus
                   11919: extern "C"
                   11920: #endif
                   11921: /* We use char because int might match the return type of a gcc2
                   11922:    builtin and then its argument prototype would still apply.  */
                   11923: char dld_link ();
                   11924: int
                   11925: main ()
                   11926: {
                   11927: dld_link ();
                   11928:   ;
                   11929:   return 0;
                   11930: }
                   11931: _ACEOF
                   11932: rm -f conftest.$ac_objext conftest$ac_exeext
                   11933: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11934:   (eval $ac_link) 2>conftest.er1
                   11935:   ac_status=$?
                   11936:   grep -v '^ *+' conftest.er1 >conftest.err
                   11937:   rm -f conftest.er1
                   11938:   cat conftest.err >&5
                   11939:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11940:   (exit $ac_status); } &&
                   11941:         { ac_try='test -z "$ac_c_werror_flag"
                   11942:                         || test ! -s conftest.err'
                   11943:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11944:   (eval $ac_try) 2>&5
                   11945:   ac_status=$?
                   11946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11947:   (exit $ac_status); }; } &&
                   11948:         { ac_try='test -s conftest$ac_exeext'
                   11949:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11950:   (eval $ac_try) 2>&5
                   11951:   ac_status=$?
                   11952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11953:   (exit $ac_status); }; }; then
                   11954:   ac_cv_lib_dld_dld_link=yes
                   11955: else
                   11956:   echo "$as_me: failed program was:" >&5
                   11957: sed 's/^/| /' conftest.$ac_ext >&5
                   11958: 
                   11959: ac_cv_lib_dld_dld_link=no
                   11960: fi
                   11961: rm -f conftest.err conftest.$ac_objext \
                   11962:       conftest$ac_exeext conftest.$ac_ext
                   11963: LIBS=$ac_check_lib_save_LIBS
                   11964: fi
                   11965: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   11966: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   11967: if test $ac_cv_lib_dld_dld_link = yes; then
                   11968:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11969: fi
                   11970: 
                   11971: 
                   11972: fi
                   11973: 
                   11974: 
                   11975: fi
                   11976: 
                   11977: 
                   11978: fi
                   11979: 
                   11980: 
                   11981: fi
                   11982: 
                   11983: 
                   11984: fi
                   11985: 
                   11986:     ;;
                   11987:   esac
                   11988: 
                   11989:   if test "x$lt_cv_dlopen" != xno; then
                   11990:     enable_dlopen=yes
                   11991:   else
                   11992:     enable_dlopen=no
                   11993:   fi
                   11994: 
                   11995:   case $lt_cv_dlopen in
                   11996:   dlopen)
                   11997:     save_CPPFLAGS="$CPPFLAGS"
                   11998:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11999: 
                   12000:     save_LDFLAGS="$LDFLAGS"
                   12001:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12002: 
                   12003:     save_LIBS="$LIBS"
                   12004:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12005: 
                   12006:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   12007: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   12008: if test "${lt_cv_dlopen_self+set}" = set; then
                   12009:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12010: else
                   12011:          if test "$cross_compiling" = yes; then :
                   12012:   lt_cv_dlopen_self=cross
                   12013: else
                   12014:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12015:   lt_status=$lt_dlunknown
                   12016:   cat > conftest.$ac_ext <<_LT_EOF
                   12017: #line $LINENO "configure"
                   12018: #include "confdefs.h"
                   12019: 
                   12020: #if HAVE_DLFCN_H
                   12021: #include <dlfcn.h>
                   12022: #endif
                   12023: 
                   12024: #include <stdio.h>
                   12025: 
                   12026: #ifdef RTLD_GLOBAL
                   12027: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12028: #else
                   12029: #  ifdef DL_GLOBAL
                   12030: #    define LT_DLGLOBAL                DL_GLOBAL
                   12031: #  else
                   12032: #    define LT_DLGLOBAL                0
                   12033: #  endif
                   12034: #endif
                   12035: 
                   12036: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12037:    find out it does not work in some platform. */
                   12038: #ifndef LT_DLLAZY_OR_NOW
                   12039: #  ifdef RTLD_LAZY
                   12040: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12041: #  else
                   12042: #    ifdef DL_LAZY
                   12043: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12044: #    else
                   12045: #      ifdef RTLD_NOW
                   12046: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12047: #      else
                   12048: #        ifdef DL_NOW
                   12049: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12050: #        else
                   12051: #          define LT_DLLAZY_OR_NOW     0
                   12052: #        endif
                   12053: #      endif
                   12054: #    endif
                   12055: #  endif
                   12056: #endif
                   12057: 
                   12058: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12059:    correspondingly for the symbols needed.  */
                   12060: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12061: int fnord () __attribute__((visibility("default")));
                   12062: #endif
                   12063: 
                   12064: int fnord () { return 42; }
                   12065: int main ()
                   12066: {
                   12067:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12068:   int status = $lt_dlunknown;
                   12069: 
                   12070:   if (self)
                   12071:     {
                   12072:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12073:       else
                   12074:         {
                   12075:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12076:           else puts (dlerror ());
                   12077:        }
                   12078:       /* dlclose (self); */
                   12079:     }
                   12080:   else
                   12081:     puts (dlerror ());
                   12082: 
                   12083:   return status;
                   12084: }
                   12085: _LT_EOF
                   12086:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12087:   (eval $ac_link) 2>&5
                   12088:   ac_status=$?
                   12089:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12090:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12091:     (./conftest; exit; ) >&5 2>/dev/null
                   12092:     lt_status=$?
                   12093:     case x$lt_status in
                   12094:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12095:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12096:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12097:     esac
                   12098:   else :
                   12099:     # compilation failed
                   12100:     lt_cv_dlopen_self=no
                   12101:   fi
                   12102: fi
                   12103: rm -fr conftest*
                   12104: 
                   12105: 
                   12106: fi
                   12107: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   12108: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   12109: 
                   12110:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12111:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12112:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   12113: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   12114: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   12115:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12116: else
                   12117:          if test "$cross_compiling" = yes; then :
                   12118:   lt_cv_dlopen_self_static=cross
                   12119: else
                   12120:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12121:   lt_status=$lt_dlunknown
                   12122:   cat > conftest.$ac_ext <<_LT_EOF
                   12123: #line $LINENO "configure"
                   12124: #include "confdefs.h"
                   12125: 
                   12126: #if HAVE_DLFCN_H
                   12127: #include <dlfcn.h>
                   12128: #endif
                   12129: 
                   12130: #include <stdio.h>
                   12131: 
                   12132: #ifdef RTLD_GLOBAL
                   12133: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12134: #else
                   12135: #  ifdef DL_GLOBAL
                   12136: #    define LT_DLGLOBAL                DL_GLOBAL
                   12137: #  else
                   12138: #    define LT_DLGLOBAL                0
                   12139: #  endif
                   12140: #endif
                   12141: 
                   12142: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12143:    find out it does not work in some platform. */
                   12144: #ifndef LT_DLLAZY_OR_NOW
                   12145: #  ifdef RTLD_LAZY
                   12146: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12147: #  else
                   12148: #    ifdef DL_LAZY
                   12149: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12150: #    else
                   12151: #      ifdef RTLD_NOW
                   12152: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12153: #      else
                   12154: #        ifdef DL_NOW
                   12155: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12156: #        else
                   12157: #          define LT_DLLAZY_OR_NOW     0
                   12158: #        endif
                   12159: #      endif
                   12160: #    endif
                   12161: #  endif
                   12162: #endif
                   12163: 
                   12164: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12165:    correspondingly for the symbols needed.  */
                   12166: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12167: int fnord () __attribute__((visibility("default")));
                   12168: #endif
                   12169: 
                   12170: int fnord () { return 42; }
                   12171: int main ()
                   12172: {
                   12173:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12174:   int status = $lt_dlunknown;
                   12175: 
                   12176:   if (self)
                   12177:     {
                   12178:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12179:       else
                   12180:         {
                   12181:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12182:           else puts (dlerror ());
                   12183:        }
                   12184:       /* dlclose (self); */
                   12185:     }
                   12186:   else
                   12187:     puts (dlerror ());
                   12188: 
                   12189:   return status;
                   12190: }
                   12191: _LT_EOF
                   12192:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12193:   (eval $ac_link) 2>&5
                   12194:   ac_status=$?
                   12195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12196:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12197:     (./conftest; exit; ) >&5 2>/dev/null
                   12198:     lt_status=$?
                   12199:     case x$lt_status in
                   12200:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12201:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12202:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12203:     esac
                   12204:   else :
                   12205:     # compilation failed
                   12206:     lt_cv_dlopen_self_static=no
                   12207:   fi
                   12208: fi
                   12209: rm -fr conftest*
                   12210: 
                   12211: 
                   12212: fi
                   12213: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   12214: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   12215:     fi
                   12216: 
                   12217:     CPPFLAGS="$save_CPPFLAGS"
                   12218:     LDFLAGS="$save_LDFLAGS"
                   12219:     LIBS="$save_LIBS"
                   12220:     ;;
                   12221:   esac
                   12222: 
                   12223:   case $lt_cv_dlopen_self in
                   12224:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12225:   *) enable_dlopen_self=unknown ;;
                   12226:   esac
                   12227: 
                   12228:   case $lt_cv_dlopen_self_static in
                   12229:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12230:   *) enable_dlopen_self_static=unknown ;;
                   12231:   esac
                   12232: fi
                   12233: 
                   12234: 
                   12235: 
                   12236: 
                   12237: 
                   12238: 
                   12239: 
                   12240: 
                   12241: 
                   12242: 
                   12243: 
                   12244: 
                   12245: 
                   12246: 
                   12247: 
                   12248: 
                   12249: 
                   12250: striplib=
                   12251: old_striplib=
                   12252: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   12253: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   12254: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12255:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12256:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12257:   echo "$as_me:$LINENO: result: yes" >&5
                   12258: echo "${ECHO_T}yes" >&6
                   12259: else
                   12260: # FIXME - insert some real tests, host_os isn't really good enough
                   12261:   case $host_os in
                   12262:   darwin*)
                   12263:     if test -n "$STRIP" ; then
                   12264:       striplib="$STRIP -x"
                   12265:       old_striplib="$STRIP -S"
                   12266:       echo "$as_me:$LINENO: result: yes" >&5
                   12267: echo "${ECHO_T}yes" >&6
                   12268:     else
                   12269:       echo "$as_me:$LINENO: result: no" >&5
                   12270: echo "${ECHO_T}no" >&6
                   12271:     fi
                   12272:     ;;
                   12273:   *)
                   12274:     echo "$as_me:$LINENO: result: no" >&5
                   12275: echo "${ECHO_T}no" >&6
                   12276:     ;;
                   12277:   esac
                   12278: fi
                   12279: 
                   12280: 
                   12281: 
                   12282: 
                   12283: 
                   12284: 
                   12285: 
                   12286: 
                   12287: 
                   12288: 
                   12289: 
                   12290: 
                   12291:   # Report which library types will actually be built
                   12292:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   12293: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   12294:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   12295: echo "${ECHO_T}$can_build_shared" >&6
                   12296: 
                   12297:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   12298: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   12299:   test "$can_build_shared" = "no" && enable_shared=no
                   12300: 
                   12301:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12302:   # are all built from PIC.
                   12303:   case $host_os in
                   12304:   aix3*)
                   12305:     test "$enable_shared" = yes && enable_static=no
                   12306:     if test -n "$RANLIB"; then
                   12307:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12308:       postinstall_cmds='$RANLIB $lib'
                   12309:     fi
                   12310:     ;;
                   12311: 
                   12312:   aix[4-9]*)
                   12313:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12314:       test "$enable_shared" = yes && enable_static=no
                   12315:     fi
                   12316:     ;;
                   12317:   esac
                   12318:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   12319: echo "${ECHO_T}$enable_shared" >&6
                   12320: 
                   12321:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   12322: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   12323:   # Make sure either enable_shared or enable_static is yes.
                   12324:   test "$enable_shared" = yes || enable_static=yes
                   12325:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   12326: echo "${ECHO_T}$enable_static" >&6
                   12327: 
                   12328: 
                   12329: 
                   12330: 
                   12331: fi
                   12332: ac_ext=c
                   12333: ac_cpp='$CPP $CPPFLAGS'
                   12334: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12335: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12336: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12337: 
                   12338: CC="$lt_save_CC"
                   12339: 
                   12340:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12341:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12342:     (test "X$CXX" != "Xg++"))) ; then
                   12343:   ac_ext=cc
                   12344: ac_cpp='$CXXCPP $CPPFLAGS'
                   12345: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12346: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12347: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12348: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   12349: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   12350: if test -z "$CXXCPP"; then
                   12351:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   12352:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12353: else
                   12354:       # Double quotes because CXXCPP needs to be expanded
                   12355:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12356:     do
                   12357:       ac_preproc_ok=false
                   12358: for ac_cxx_preproc_warn_flag in '' yes
                   12359: do
                   12360:   # Use a header file that comes with gcc, so configuring glibc
                   12361:   # with a fresh cross-compiler works.
                   12362:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12363:   # <limits.h> exists even on freestanding compilers.
                   12364:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12365:   # not just through cpp. "Syntax error" is here to catch this case.
                   12366:   cat >conftest.$ac_ext <<_ACEOF
                   12367: /* confdefs.h.  */
                   12368: _ACEOF
                   12369: cat confdefs.h >>conftest.$ac_ext
                   12370: cat >>conftest.$ac_ext <<_ACEOF
                   12371: /* end confdefs.h.  */
                   12372: #ifdef __STDC__
                   12373: # include <limits.h>
                   12374: #else
                   12375: # include <assert.h>
                   12376: #endif
                   12377:                     Syntax error
                   12378: _ACEOF
                   12379: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12380:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12381:   ac_status=$?
                   12382:   grep -v '^ *+' conftest.er1 >conftest.err
                   12383:   rm -f conftest.er1
                   12384:   cat conftest.err >&5
                   12385:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12386:   (exit $ac_status); } >/dev/null; then
                   12387:   if test -s conftest.err; then
                   12388:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12389:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12390:   else
                   12391:     ac_cpp_err=
                   12392:   fi
                   12393: else
                   12394:   ac_cpp_err=yes
                   12395: fi
                   12396: if test -z "$ac_cpp_err"; then
                   12397:   :
                   12398: else
                   12399:   echo "$as_me: failed program was:" >&5
                   12400: sed 's/^/| /' conftest.$ac_ext >&5
                   12401: 
                   12402:   # Broken: fails on valid input.
                   12403: continue
                   12404: fi
                   12405: rm -f conftest.err conftest.$ac_ext
                   12406: 
                   12407:   # OK, works on sane cases.  Now check whether non-existent headers
                   12408:   # can be detected and how.
                   12409:   cat >conftest.$ac_ext <<_ACEOF
                   12410: /* confdefs.h.  */
                   12411: _ACEOF
                   12412: cat confdefs.h >>conftest.$ac_ext
                   12413: cat >>conftest.$ac_ext <<_ACEOF
                   12414: /* end confdefs.h.  */
                   12415: #include <ac_nonexistent.h>
                   12416: _ACEOF
                   12417: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12418:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12419:   ac_status=$?
                   12420:   grep -v '^ *+' conftest.er1 >conftest.err
                   12421:   rm -f conftest.er1
                   12422:   cat conftest.err >&5
                   12423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12424:   (exit $ac_status); } >/dev/null; then
                   12425:   if test -s conftest.err; then
                   12426:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12427:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12428:   else
                   12429:     ac_cpp_err=
                   12430:   fi
                   12431: else
                   12432:   ac_cpp_err=yes
                   12433: fi
                   12434: if test -z "$ac_cpp_err"; then
                   12435:   # Broken: success on invalid input.
                   12436: continue
                   12437: else
                   12438:   echo "$as_me: failed program was:" >&5
                   12439: sed 's/^/| /' conftest.$ac_ext >&5
                   12440: 
                   12441:   # Passes both tests.
                   12442: ac_preproc_ok=:
                   12443: break
                   12444: fi
                   12445: rm -f conftest.err conftest.$ac_ext
                   12446: 
                   12447: done
                   12448: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12449: rm -f conftest.err conftest.$ac_ext
                   12450: if $ac_preproc_ok; then
                   12451:   break
                   12452: fi
                   12453: 
                   12454:     done
                   12455:     ac_cv_prog_CXXCPP=$CXXCPP
                   12456: 
                   12457: fi
                   12458:   CXXCPP=$ac_cv_prog_CXXCPP
                   12459: else
                   12460:   ac_cv_prog_CXXCPP=$CXXCPP
                   12461: fi
                   12462: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   12463: echo "${ECHO_T}$CXXCPP" >&6
                   12464: ac_preproc_ok=false
                   12465: for ac_cxx_preproc_warn_flag in '' yes
                   12466: do
                   12467:   # Use a header file that comes with gcc, so configuring glibc
                   12468:   # with a fresh cross-compiler works.
                   12469:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12470:   # <limits.h> exists even on freestanding compilers.
                   12471:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12472:   # not just through cpp. "Syntax error" is here to catch this case.
                   12473:   cat >conftest.$ac_ext <<_ACEOF
                   12474: /* confdefs.h.  */
                   12475: _ACEOF
                   12476: cat confdefs.h >>conftest.$ac_ext
                   12477: cat >>conftest.$ac_ext <<_ACEOF
                   12478: /* end confdefs.h.  */
                   12479: #ifdef __STDC__
                   12480: # include <limits.h>
                   12481: #else
                   12482: # include <assert.h>
                   12483: #endif
                   12484:                     Syntax error
                   12485: _ACEOF
                   12486: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12487:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12488:   ac_status=$?
                   12489:   grep -v '^ *+' conftest.er1 >conftest.err
                   12490:   rm -f conftest.er1
                   12491:   cat conftest.err >&5
                   12492:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12493:   (exit $ac_status); } >/dev/null; then
                   12494:   if test -s conftest.err; then
                   12495:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12496:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12497:   else
                   12498:     ac_cpp_err=
                   12499:   fi
                   12500: else
                   12501:   ac_cpp_err=yes
                   12502: fi
                   12503: if test -z "$ac_cpp_err"; then
                   12504:   :
                   12505: else
                   12506:   echo "$as_me: failed program was:" >&5
                   12507: sed 's/^/| /' conftest.$ac_ext >&5
                   12508: 
                   12509:   # Broken: fails on valid input.
                   12510: continue
                   12511: fi
                   12512: rm -f conftest.err conftest.$ac_ext
                   12513: 
                   12514:   # OK, works on sane cases.  Now check whether non-existent headers
                   12515:   # can be detected and how.
                   12516:   cat >conftest.$ac_ext <<_ACEOF
                   12517: /* confdefs.h.  */
                   12518: _ACEOF
                   12519: cat confdefs.h >>conftest.$ac_ext
                   12520: cat >>conftest.$ac_ext <<_ACEOF
                   12521: /* end confdefs.h.  */
                   12522: #include <ac_nonexistent.h>
                   12523: _ACEOF
                   12524: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12525:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12526:   ac_status=$?
                   12527:   grep -v '^ *+' conftest.er1 >conftest.err
                   12528:   rm -f conftest.er1
                   12529:   cat conftest.err >&5
                   12530:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12531:   (exit $ac_status); } >/dev/null; then
                   12532:   if test -s conftest.err; then
                   12533:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12534:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12535:   else
                   12536:     ac_cpp_err=
                   12537:   fi
                   12538: else
                   12539:   ac_cpp_err=yes
                   12540: fi
                   12541: if test -z "$ac_cpp_err"; then
                   12542:   # Broken: success on invalid input.
                   12543: continue
                   12544: else
                   12545:   echo "$as_me: failed program was:" >&5
                   12546: sed 's/^/| /' conftest.$ac_ext >&5
                   12547: 
                   12548:   # Passes both tests.
                   12549: ac_preproc_ok=:
                   12550: break
                   12551: fi
                   12552: rm -f conftest.err conftest.$ac_ext
                   12553: 
                   12554: done
                   12555: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12556: rm -f conftest.err conftest.$ac_ext
                   12557: if $ac_preproc_ok; then
                   12558:   :
                   12559: else
                   12560:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12561: See \`config.log' for more details." >&5
                   12562: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12563: See \`config.log' for more details." >&2;}
                   12564:    { (exit 1); exit 1; }; }
                   12565: fi
                   12566: 
                   12567: ac_ext=c
                   12568: ac_cpp='$CPP $CPPFLAGS'
                   12569: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12570: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12571: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12572: 
                   12573: else
                   12574:   _lt_caught_CXX_error=yes
                   12575: fi
                   12576: 
                   12577: ac_ext=cc
                   12578: ac_cpp='$CXXCPP $CPPFLAGS'
                   12579: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12580: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12581: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12582: 
                   12583: archive_cmds_need_lc_CXX=no
                   12584: allow_undefined_flag_CXX=
                   12585: always_export_symbols_CXX=no
                   12586: archive_expsym_cmds_CXX=
                   12587: compiler_needs_object_CXX=no
                   12588: export_dynamic_flag_spec_CXX=
                   12589: hardcode_direct_CXX=no
                   12590: hardcode_direct_absolute_CXX=no
                   12591: hardcode_libdir_flag_spec_CXX=
                   12592: hardcode_libdir_separator_CXX=
                   12593: hardcode_minus_L_CXX=no
                   12594: hardcode_shlibpath_var_CXX=unsupported
                   12595: hardcode_automatic_CXX=no
                   12596: inherit_rpath_CXX=no
                   12597: module_cmds_CXX=
                   12598: module_expsym_cmds_CXX=
                   12599: link_all_deplibs_CXX=unknown
                   12600: old_archive_cmds_CXX=$old_archive_cmds
                   12601: reload_flag_CXX=$reload_flag
                   12602: reload_cmds_CXX=$reload_cmds
                   12603: no_undefined_flag_CXX=
                   12604: whole_archive_flag_spec_CXX=
                   12605: enable_shared_with_static_runtimes_CXX=no
                   12606: 
                   12607: # Source file extension for C++ test sources.
                   12608: ac_ext=cpp
                   12609: 
                   12610: # Object file extension for compiled C++ test sources.
                   12611: objext=o
                   12612: objext_CXX=$objext
                   12613: 
                   12614: # No sense in running all these tests if we already determined that
                   12615: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12616: # are currently assumed to apply to all compilers on this platform,
                   12617: # and will be corrupted by setting them based on a non-working compiler.
                   12618: if test "$_lt_caught_CXX_error" != yes; then
                   12619:   # Code to be used in simple compile tests
                   12620:   lt_simple_compile_test_code="int some_variable = 0;"
                   12621: 
                   12622:   # Code to be used in simple link tests
                   12623:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12624: 
                   12625:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12626: 
                   12627: 
                   12628: 
                   12629: 
                   12630: 
                   12631: 
                   12632: # If no C compiler was specified, use CC.
                   12633: LTCC=${LTCC-"$CC"}
                   12634: 
                   12635: # If no C compiler flags were specified, use CFLAGS.
                   12636: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12637: 
                   12638: # Allow CC to be a program name with arguments.
                   12639: compiler=$CC
                   12640: 
                   12641: 
                   12642:   # save warnings/boilerplate of simple test code
                   12643:   ac_outfile=conftest.$ac_objext
                   12644: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12645: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12646: _lt_compiler_boilerplate=`cat conftest.err`
                   12647: $RM conftest*
                   12648: 
                   12649:   ac_outfile=conftest.$ac_objext
                   12650: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12651: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12652: _lt_linker_boilerplate=`cat conftest.err`
                   12653: $RM -r conftest*
                   12654: 
                   12655: 
                   12656:   # Allow CC to be a program name with arguments.
                   12657:   lt_save_CC=$CC
                   12658:   lt_save_CFLAGS=$CFLAGS
                   12659:   lt_save_LD=$LD
                   12660:   lt_save_GCC=$GCC
                   12661:   GCC=$GXX
                   12662:   lt_save_with_gnu_ld=$with_gnu_ld
                   12663:   lt_save_path_LD=$lt_cv_path_LD
                   12664:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12665:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12666:   else
                   12667:     $as_unset lt_cv_prog_gnu_ld
                   12668:   fi
                   12669:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12670:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12671:   else
                   12672:     $as_unset lt_cv_path_LD
                   12673:   fi
                   12674:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12675:   CC=${CXX-"c++"}
                   12676:   CFLAGS=$CXXFLAGS
                   12677:   compiler=$CC
                   12678:   compiler_CXX=$CC
                   12679:   for cc_temp in $compiler""; do
                   12680:   case $cc_temp in
                   12681:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12682:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12683:     \-*) ;;
                   12684:     *) break;;
                   12685:   esac
                   12686: done
                   12687: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12688: 
                   12689: 
                   12690:   if test -n "$compiler"; then
                   12691:     # We don't want -fno-exception when compiling C++ code, so set the
                   12692:     # no_builtin_flag separately
                   12693:     if test "$GXX" = yes; then
                   12694:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12695:     else
                   12696:       lt_prog_compiler_no_builtin_flag_CXX=
                   12697:     fi
                   12698: 
                   12699:     if test "$GXX" = yes; then
                   12700:       # Set up default GNU C++ configuration
                   12701: 
                   12702: 
                   12703: 
                   12704: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12705: if test "${with_gnu_ld+set}" = set; then
                   12706:   withval="$with_gnu_ld"
                   12707:   test "$withval" = no || with_gnu_ld=yes
                   12708: else
                   12709:   with_gnu_ld=no
                   12710: fi;
                   12711: ac_prog=ld
                   12712: if test "$GCC" = yes; then
                   12713:   # Check if gcc -print-prog-name=ld gives a path.
                   12714:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12715: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12716:   case $host in
                   12717:   *-*-mingw*)
                   12718:     # gcc leaves a trailing carriage return which upsets mingw
                   12719:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12720:   *)
                   12721:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12722:   esac
                   12723:   case $ac_prog in
                   12724:     # Accept absolute paths.
                   12725:     [\\/]* | ?:[\\/]*)
                   12726:       re_direlt='/[^/][^/]*/\.\./'
                   12727:       # Canonicalize the pathname of ld
                   12728:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12729:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12730:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12731:       done
                   12732:       test -z "$LD" && LD="$ac_prog"
                   12733:       ;;
                   12734:   "")
                   12735:     # If it fails, then pretend we aren't using GCC.
                   12736:     ac_prog=ld
                   12737:     ;;
                   12738:   *)
                   12739:     # If it is relative, then search for the first ld in PATH.
                   12740:     with_gnu_ld=unknown
                   12741:     ;;
                   12742:   esac
                   12743: elif test "$with_gnu_ld" = yes; then
                   12744:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12745: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12746: else
                   12747:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12748: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12749: fi
                   12750: if test "${lt_cv_path_LD+set}" = set; then
                   12751:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12752: else
                   12753:   if test -z "$LD"; then
                   12754:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12755:   for ac_dir in $PATH; do
                   12756:     IFS="$lt_save_ifs"
                   12757:     test -z "$ac_dir" && ac_dir=.
                   12758:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12759:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12760:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12761:       # but apparently some variants of GNU ld only accept -v.
                   12762:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12763:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12764:       *GNU* | *'with BFD'*)
                   12765:        test "$with_gnu_ld" != no && break
                   12766:        ;;
                   12767:       *)
                   12768:        test "$with_gnu_ld" != yes && break
                   12769:        ;;
                   12770:       esac
                   12771:     fi
                   12772:   done
                   12773:   IFS="$lt_save_ifs"
                   12774: else
                   12775:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12776: fi
                   12777: fi
                   12778: 
                   12779: LD="$lt_cv_path_LD"
                   12780: if test -n "$LD"; then
                   12781:   echo "$as_me:$LINENO: result: $LD" >&5
                   12782: echo "${ECHO_T}$LD" >&6
                   12783: else
                   12784:   echo "$as_me:$LINENO: result: no" >&5
                   12785: echo "${ECHO_T}no" >&6
                   12786: fi
                   12787: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12788: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12789:    { (exit 1); exit 1; }; }
                   12790: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12791: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12792: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12793:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12794: else
                   12795:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12796: case `$LD -v 2>&1 </dev/null` in
                   12797: *GNU* | *'with BFD'*)
                   12798:   lt_cv_prog_gnu_ld=yes
                   12799:   ;;
                   12800: *)
                   12801:   lt_cv_prog_gnu_ld=no
                   12802:   ;;
                   12803: esac
                   12804: fi
                   12805: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12806: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12807: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12808: 
                   12809: 
                   12810: 
                   12811: 
                   12812: 
                   12813: 
                   12814: 
                   12815:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12816:       # archiving commands below assume that GNU ld is being used.
                   12817:       if test "$with_gnu_ld" = yes; then
                   12818:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12819:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12820: 
                   12821:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12822:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12823: 
                   12824:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12825:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12826:         #     investigate it a little bit more. (MM)
                   12827:         wlarc='${wl}'
                   12828: 
                   12829:         # ancient GNU ld didn't support --whole-archive et. al.
                   12830:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12831:          $GREP 'no-whole-archive' > /dev/null; then
                   12832:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12833:         else
                   12834:           whole_archive_flag_spec_CXX=
                   12835:         fi
                   12836:       else
                   12837:         with_gnu_ld=no
                   12838:         wlarc=
                   12839: 
                   12840:         # A generic and very simple default shared library creation
                   12841:         # command for GNU C++ for the case where it uses the native
                   12842:         # linker, instead of GNU ld.  If possible, this setting should
                   12843:         # overridden to take advantage of the native linker features on
                   12844:         # the platform it is being used on.
                   12845:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12846:       fi
                   12847: 
                   12848:       # Commands to make compiler produce verbose output that lists
                   12849:       # what "hidden" libraries, object files and flags are used when
                   12850:       # linking a shared library.
                   12851:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12852: 
                   12853:     else
                   12854:       GXX=no
                   12855:       with_gnu_ld=no
                   12856:       wlarc=
                   12857:     fi
                   12858: 
                   12859:     # PORTME: fill in a description of your system's C++ link characteristics
                   12860:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12861: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12862:     ld_shlibs_CXX=yes
                   12863:     case $host_os in
                   12864:       aix3*)
                   12865:         # FIXME: insert proper C++ library support
                   12866:         ld_shlibs_CXX=no
                   12867:         ;;
                   12868:       aix[4-9]*)
                   12869:         if test "$host_cpu" = ia64; then
                   12870:           # On IA64, the linker does run time linking by default, so we don't
                   12871:           # have to do anything special.
                   12872:           aix_use_runtimelinking=no
                   12873:           exp_sym_flag='-Bexport'
                   12874:           no_entry_flag=""
                   12875:         else
                   12876:           aix_use_runtimelinking=no
                   12877: 
                   12878:           # Test if we are trying to use run time linking or normal
                   12879:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12880:           # need to do runtime linking.
                   12881:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12882:            for ld_flag in $LDFLAGS; do
                   12883:              case $ld_flag in
                   12884:              *-brtl*)
                   12885:                aix_use_runtimelinking=yes
                   12886:                break
                   12887:                ;;
                   12888:              esac
                   12889:            done
                   12890:            ;;
                   12891:           esac
                   12892: 
                   12893:           exp_sym_flag='-bexport'
                   12894:           no_entry_flag='-bnoentry'
                   12895:         fi
                   12896: 
                   12897:         # When large executables or shared objects are built, AIX ld can
                   12898:         # have problems creating the table of contents.  If linking a library
                   12899:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12900:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12901:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12902: 
                   12903:         archive_cmds_CXX=''
                   12904:         hardcode_direct_CXX=yes
                   12905:         hardcode_direct_absolute_CXX=yes
                   12906:         hardcode_libdir_separator_CXX=':'
                   12907:         link_all_deplibs_CXX=yes
                   12908:         file_list_spec_CXX='${wl}-f,'
                   12909: 
                   12910:         if test "$GXX" = yes; then
                   12911:           case $host_os in aix4.[012]|aix4.[012].*)
                   12912:           # We only want to do this on AIX 4.2 and lower, the check
                   12913:           # below for broken collect2 doesn't work under 4.3+
                   12914:          collect2name=`${CC} -print-prog-name=collect2`
                   12915:          if test -f "$collect2name" &&
                   12916:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12917:          then
                   12918:            # We have reworked collect2
                   12919:            :
                   12920:          else
                   12921:            # We have old collect2
                   12922:            hardcode_direct_CXX=unsupported
                   12923:            # It fails to find uninstalled libraries when the uninstalled
                   12924:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12925:            # to unsupported forces relinking
                   12926:            hardcode_minus_L_CXX=yes
                   12927:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12928:            hardcode_libdir_separator_CXX=
                   12929:          fi
                   12930:           esac
                   12931:           shared_flag='-shared'
                   12932:          if test "$aix_use_runtimelinking" = yes; then
                   12933:            shared_flag="$shared_flag "'${wl}-G'
                   12934:          fi
                   12935:         else
                   12936:           # not using gcc
                   12937:           if test "$host_cpu" = ia64; then
                   12938:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12939:          # chokes on -Wl,-G. The following line is correct:
                   12940:          shared_flag='-G'
                   12941:           else
                   12942:            if test "$aix_use_runtimelinking" = yes; then
                   12943:              shared_flag='${wl}-G'
                   12944:            else
                   12945:              shared_flag='${wl}-bM:SRE'
                   12946:            fi
                   12947:           fi
                   12948:         fi
                   12949: 
                   12950:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12951:         # It seems that -bexpall does not export symbols beginning with
                   12952:         # underscore (_), so it is better to generate a list of symbols to
                   12953:        # export.
                   12954:         always_export_symbols_CXX=yes
                   12955:         if test "$aix_use_runtimelinking" = yes; then
                   12956:           # Warning - without using the other runtime loading flags (-brtl),
                   12957:           # -berok will link without error, but may produce a broken library.
                   12958:           allow_undefined_flag_CXX='-berok'
                   12959:           # Determine the default libpath from the value encoded in an empty
                   12960:           # executable.
                   12961:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12962:   aix_libpath=$lt_cv_aix_libpath
                   12963: else
                   12964:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12965:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12966: else
                   12967:   cat >conftest.$ac_ext <<_ACEOF
                   12968: /* confdefs.h.  */
                   12969: _ACEOF
                   12970: cat confdefs.h >>conftest.$ac_ext
                   12971: cat >>conftest.$ac_ext <<_ACEOF
                   12972: /* end confdefs.h.  */
                   12973: 
                   12974: int
                   12975: main ()
                   12976: {
                   12977: 
                   12978:   ;
                   12979:   return 0;
                   12980: }
                   12981: _ACEOF
                   12982: rm -f conftest.$ac_objext conftest$ac_exeext
                   12983: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12984:   (eval $ac_link) 2>conftest.er1
                   12985:   ac_status=$?
                   12986:   grep -v '^ *+' conftest.er1 >conftest.err
                   12987:   rm -f conftest.er1
                   12988:   cat conftest.err >&5
                   12989:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12990:   (exit $ac_status); } &&
                   12991:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12992:                         || test ! -s conftest.err'
                   12993:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12994:   (eval $ac_try) 2>&5
                   12995:   ac_status=$?
                   12996:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12997:   (exit $ac_status); }; } &&
                   12998:         { ac_try='test -s conftest$ac_exeext'
                   12999:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13000:   (eval $ac_try) 2>&5
                   13001:   ac_status=$?
                   13002:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13003:   (exit $ac_status); }; }; then
                   13004: 
                   13005:   lt_aix_libpath_sed='
                   13006:       /Import File Strings/,/^$/ {
                   13007:          /^0/ {
                   13008:              s/^0  *\([^ ]*\) *$/\1/
                   13009:              p
                   13010:          }
                   13011:       }'
                   13012:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13013:   # Check for a 64-bit object if we didn't find anything.
                   13014:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13015:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13016:   fi
                   13017: else
                   13018:   echo "$as_me: failed program was:" >&5
                   13019: sed 's/^/| /' conftest.$ac_ext >&5
                   13020: 
                   13021: fi
                   13022: rm -f conftest.err conftest.$ac_objext \
                   13023:       conftest$ac_exeext conftest.$ac_ext
                   13024:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13025:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13026:   fi
                   13027: 
                   13028: fi
                   13029: 
                   13030:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13031: fi
                   13032: 
                   13033:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13034: 
                   13035:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   13036:         else
                   13037:           if test "$host_cpu" = ia64; then
                   13038:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13039:            allow_undefined_flag_CXX="-z nodefs"
                   13040:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   13041:           else
                   13042:            # Determine the default libpath from the value encoded in an
                   13043:            # empty executable.
                   13044:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13045:   aix_libpath=$lt_cv_aix_libpath
                   13046: else
                   13047:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13048:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13049: else
                   13050:   cat >conftest.$ac_ext <<_ACEOF
                   13051: /* confdefs.h.  */
                   13052: _ACEOF
                   13053: cat confdefs.h >>conftest.$ac_ext
                   13054: cat >>conftest.$ac_ext <<_ACEOF
                   13055: /* end confdefs.h.  */
                   13056: 
                   13057: int
                   13058: main ()
                   13059: {
                   13060: 
                   13061:   ;
                   13062:   return 0;
                   13063: }
                   13064: _ACEOF
                   13065: rm -f conftest.$ac_objext conftest$ac_exeext
                   13066: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13067:   (eval $ac_link) 2>conftest.er1
                   13068:   ac_status=$?
                   13069:   grep -v '^ *+' conftest.er1 >conftest.err
                   13070:   rm -f conftest.er1
                   13071:   cat conftest.err >&5
                   13072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13073:   (exit $ac_status); } &&
                   13074:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13075:                         || test ! -s conftest.err'
                   13076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13077:   (eval $ac_try) 2>&5
                   13078:   ac_status=$?
                   13079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13080:   (exit $ac_status); }; } &&
                   13081:         { ac_try='test -s conftest$ac_exeext'
                   13082:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13083:   (eval $ac_try) 2>&5
                   13084:   ac_status=$?
                   13085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13086:   (exit $ac_status); }; }; then
                   13087: 
                   13088:   lt_aix_libpath_sed='
                   13089:       /Import File Strings/,/^$/ {
                   13090:          /^0/ {
                   13091:              s/^0  *\([^ ]*\) *$/\1/
                   13092:              p
                   13093:          }
                   13094:       }'
                   13095:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13096:   # Check for a 64-bit object if we didn't find anything.
                   13097:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13098:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13099:   fi
                   13100: else
                   13101:   echo "$as_me: failed program was:" >&5
                   13102: sed 's/^/| /' conftest.$ac_ext >&5
                   13103: 
                   13104: fi
                   13105: rm -f conftest.err conftest.$ac_objext \
                   13106:       conftest$ac_exeext conftest.$ac_ext
                   13107:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13108:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13109:   fi
                   13110: 
                   13111: fi
                   13112: 
                   13113:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13114: fi
                   13115: 
                   13116:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13117:            # Warning - without using the other run time loading flags,
                   13118:            # -berok will link without error, but may produce a broken library.
                   13119:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13120:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13121:            if test "$with_gnu_ld" = yes; then
                   13122:              # We only use this code for GNU lds that support --whole-archive.
                   13123:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13124:            else
                   13125:              # Exported symbols can be pulled into shared objects from archives
                   13126:              whole_archive_flag_spec_CXX='$convenience'
                   13127:            fi
                   13128:            archive_cmds_need_lc_CXX=yes
                   13129:            # This is similar to how AIX traditionally builds its shared
                   13130:            # libraries.
                   13131:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   13132:           fi
                   13133:         fi
                   13134:         ;;
                   13135: 
                   13136:       beos*)
                   13137:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13138:          allow_undefined_flag_CXX=unsupported
                   13139:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13140:          # support --undefined.  This deserves some investigation.  FIXME
                   13141:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13142:        else
                   13143:          ld_shlibs_CXX=no
                   13144:        fi
                   13145:        ;;
                   13146: 
                   13147:       chorus*)
                   13148:         case $cc_basename in
                   13149:           *)
                   13150:          # FIXME: insert proper C++ library support
                   13151:          ld_shlibs_CXX=no
                   13152:          ;;
                   13153:         esac
                   13154:         ;;
                   13155: 
                   13156:       cygwin* | mingw* | pw32* | cegcc*)
                   13157:        case $GXX,$cc_basename in
                   13158:        ,cl* | no,cl*)
                   13159:          # Native MSVC
                   13160:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13161:          # no search path for DLLs.
                   13162:          hardcode_libdir_flag_spec_CXX=' '
                   13163:          allow_undefined_flag_CXX=unsupported
                   13164:          always_export_symbols_CXX=yes
                   13165:          file_list_spec_CXX='@'
                   13166:          # Tell ltmain to make .lib files, not .a files.
                   13167:          libext=lib
                   13168:          # Tell ltmain to make .dll files, not .so files.
                   13169:          shrext_cmds=".dll"
                   13170:          # FIXME: Setting linknames here is a bad hack.
                   13171:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13172:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13173:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13174:            else
                   13175:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13176:            fi~
                   13177:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13178:            linknames='
                   13179:          # The linker will not automatically build a static lib if we build a DLL.
                   13180:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13181:          enable_shared_with_static_runtimes_CXX=yes
                   13182:          # Don't use ranlib
                   13183:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13184:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13185:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13186:            case $lt_outputfile in
                   13187:              *.exe|*.EXE) ;;
                   13188:              *)
                   13189:                lt_outputfile="$lt_outputfile.exe"
                   13190:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13191:                ;;
                   13192:            esac~
                   13193:            func_to_tool_file "$lt_outputfile"~
                   13194:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13195:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13196:              $RM "$lt_outputfile.manifest";
                   13197:            fi'
                   13198:          ;;
                   13199:        *)
                   13200:          # g++
                   13201:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13202:          # as there is no search path for DLLs.
                   13203:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13204:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13205:          allow_undefined_flag_CXX=unsupported
                   13206:          always_export_symbols_CXX=no
                   13207:          enable_shared_with_static_runtimes_CXX=yes
                   13208: 
                   13209:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13210:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13211:            # If the export-symbols file already is a .def file (1st line
                   13212:            # is EXPORTS), use it as is; otherwise, prepend...
                   13213:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13214:              cp $export_symbols $output_objdir/$soname.def;
                   13215:            else
                   13216:              echo EXPORTS > $output_objdir/$soname.def;
                   13217:              cat $export_symbols >> $output_objdir/$soname.def;
                   13218:            fi~
                   13219:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13220:          else
                   13221:            ld_shlibs_CXX=no
                   13222:          fi
                   13223:          ;;
                   13224:        esac
                   13225:        ;;
                   13226:       darwin* | rhapsody*)
                   13227: 
                   13228: 
                   13229:   archive_cmds_need_lc_CXX=no
                   13230:   hardcode_direct_CXX=no
                   13231:   hardcode_automatic_CXX=yes
                   13232:   hardcode_shlibpath_var_CXX=unsupported
                   13233:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13234:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   13235: 
                   13236:   else
                   13237:     whole_archive_flag_spec_CXX=''
                   13238:   fi
                   13239:   link_all_deplibs_CXX=yes
                   13240:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13241:   case $cc_basename in
                   13242:      ifort*) _lt_dar_can_shared=yes ;;
                   13243:      *) _lt_dar_can_shared=$GCC ;;
                   13244:   esac
                   13245:   if test "$_lt_dar_can_shared" = "yes"; then
                   13246:     output_verbose_link_cmd=func_echo_all
                   13247:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   13248:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13249:     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   13250:     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
                   13251:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13252:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   13253:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   13254:     fi
                   13255: 
                   13256:   else
                   13257:   ld_shlibs_CXX=no
                   13258:   fi
                   13259: 
                   13260:        ;;
                   13261: 
                   13262:       dgux*)
                   13263:         case $cc_basename in
                   13264:           ec++*)
                   13265:            # FIXME: insert proper C++ library support
                   13266:            ld_shlibs_CXX=no
                   13267:            ;;
                   13268:           ghcx*)
                   13269:            # Green Hills C++ Compiler
                   13270:            # FIXME: insert proper C++ library support
                   13271:            ld_shlibs_CXX=no
                   13272:            ;;
                   13273:           *)
                   13274:            # FIXME: insert proper C++ library support
                   13275:            ld_shlibs_CXX=no
                   13276:            ;;
                   13277:         esac
                   13278:         ;;
                   13279: 
                   13280:       freebsd2.*)
                   13281:         # C++ shared libraries reported to be fairly broken before
                   13282:        # switch to ELF
                   13283:         ld_shlibs_CXX=no
                   13284:         ;;
                   13285: 
                   13286:       freebsd-elf*)
                   13287:         archive_cmds_need_lc_CXX=no
                   13288:         ;;
                   13289: 
                   13290:       freebsd* | dragonfly*)
                   13291:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13292:         # conventions
                   13293:         ld_shlibs_CXX=yes
                   13294:         ;;
                   13295: 
                   13296:       gnu*)
                   13297:         ;;
                   13298: 
                   13299:       haiku*)
                   13300:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13301:         link_all_deplibs_CXX=yes
                   13302:         ;;
                   13303: 
                   13304:       hpux9*)
                   13305:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13306:         hardcode_libdir_separator_CXX=:
                   13307:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13308:         hardcode_direct_CXX=yes
                   13309:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13310:                                             # but as the default
                   13311:                                             # location of the library.
                   13312: 
                   13313:         case $cc_basename in
                   13314:           CC*)
                   13315:             # FIXME: insert proper C++ library support
                   13316:             ld_shlibs_CXX=no
                   13317:             ;;
                   13318:           aCC*)
                   13319:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13320:             # Commands to make compiler produce verbose output that lists
                   13321:             # what "hidden" libraries, object files and flags are used when
                   13322:             # linking a shared library.
                   13323:             #
                   13324:             # There doesn't appear to be a way to prevent this compiler from
                   13325:             # explicitly linking system object files so we need to strip them
                   13326:             # from the output so that they don't get included in the library
                   13327:             # dependencies.
                   13328:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13329:             ;;
                   13330:           *)
                   13331:             if test "$GXX" = yes; then
                   13332:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   13333:             else
                   13334:               # FIXME: insert proper C++ library support
                   13335:               ld_shlibs_CXX=no
                   13336:             fi
                   13337:             ;;
                   13338:         esac
                   13339:         ;;
                   13340: 
                   13341:       hpux10*|hpux11*)
                   13342:         if test $with_gnu_ld = no; then
                   13343:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13344:          hardcode_libdir_separator_CXX=:
                   13345: 
                   13346:           case $host_cpu in
                   13347:             hppa*64*|ia64*)
                   13348:               ;;
                   13349:             *)
                   13350:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13351:               ;;
                   13352:           esac
                   13353:         fi
                   13354:         case $host_cpu in
                   13355:           hppa*64*|ia64*)
                   13356:             hardcode_direct_CXX=no
                   13357:             hardcode_shlibpath_var_CXX=no
                   13358:             ;;
                   13359:           *)
                   13360:             hardcode_direct_CXX=yes
                   13361:             hardcode_direct_absolute_CXX=yes
                   13362:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13363:                                                 # but as the default
                   13364:                                                 # location of the library.
                   13365:             ;;
                   13366:         esac
                   13367: 
                   13368:         case $cc_basename in
                   13369:           CC*)
                   13370:            # FIXME: insert proper C++ library support
                   13371:            ld_shlibs_CXX=no
                   13372:            ;;
                   13373:           aCC*)
                   13374:            case $host_cpu in
                   13375:              hppa*64*)
                   13376:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13377:                ;;
                   13378:              ia64*)
                   13379:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13380:                ;;
                   13381:              *)
                   13382:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13383:                ;;
                   13384:            esac
                   13385:            # Commands to make compiler produce verbose output that lists
                   13386:            # what "hidden" libraries, object files and flags are used when
                   13387:            # linking a shared library.
                   13388:            #
                   13389:            # There doesn't appear to be a way to prevent this compiler from
                   13390:            # explicitly linking system object files so we need to strip them
                   13391:            # from the output so that they don't get included in the library
                   13392:            # dependencies.
                   13393:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13394:            ;;
                   13395:           *)
                   13396:            if test "$GXX" = yes; then
                   13397:              if test $with_gnu_ld = no; then
                   13398:                case $host_cpu in
                   13399:                  hppa*64*)
                   13400:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13401:                    ;;
                   13402:                  ia64*)
                   13403:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13404:                    ;;
                   13405:                  *)
                   13406:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13407:                    ;;
                   13408:                esac
                   13409:              fi
                   13410:            else
                   13411:              # FIXME: insert proper C++ library support
                   13412:              ld_shlibs_CXX=no
                   13413:            fi
                   13414:            ;;
                   13415:         esac
                   13416:         ;;
                   13417: 
                   13418:       interix[3-9]*)
                   13419:        hardcode_direct_CXX=no
                   13420:        hardcode_shlibpath_var_CXX=no
                   13421:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13422:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13423:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13424:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13425:        # default) and relocated if they conflict, which is a slow very memory
                   13426:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13427:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13428:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13429:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13430:        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   13431:        ;;
                   13432:       irix5* | irix6*)
                   13433:         case $cc_basename in
                   13434:           CC*)
                   13435:            # SGI C++
                   13436:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13437: 
                   13438:            # Archives containing C++ object files must be created using
                   13439:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13440:            # necessary to make sure instantiated templates are included
                   13441:            # in the archive.
                   13442:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13443:            ;;
                   13444:           *)
                   13445:            if test "$GXX" = yes; then
                   13446:              if test "$with_gnu_ld" = no; then
                   13447:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13448:              else
                   13449:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   13450:              fi
                   13451:            fi
                   13452:            link_all_deplibs_CXX=yes
                   13453:            ;;
                   13454:         esac
                   13455:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13456:         hardcode_libdir_separator_CXX=:
                   13457:         inherit_rpath_CXX=yes
                   13458:         ;;
                   13459: 
                   13460:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13461:         case $cc_basename in
                   13462:           KCC*)
                   13463:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13464: 
                   13465:            # KCC will only create a shared library if the output file
                   13466:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13467:            # to its proper name (with version) after linking.
                   13468:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13469:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   13470:            # Commands to make compiler produce verbose output that lists
                   13471:            # what "hidden" libraries, object files and flags are used when
                   13472:            # linking a shared library.
                   13473:            #
                   13474:            # There doesn't appear to be a way to prevent this compiler from
                   13475:            # explicitly linking system object files so we need to strip them
                   13476:            # from the output so that they don't get included in the library
                   13477:            # dependencies.
                   13478:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13479: 
                   13480:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13481:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13482: 
                   13483:            # Archives containing C++ object files must be created using
                   13484:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13485:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13486:            ;;
                   13487:          icpc* | ecpc* )
                   13488:            # Intel C++
                   13489:            with_gnu_ld=yes
                   13490:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13491:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13492:            # earlier do not add the objects themselves.
                   13493:            case `$CC -V 2>&1` in
                   13494:              *"Version 7."*)
                   13495:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13496:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13497:                ;;
                   13498:              *)  # Version 8.0 or newer
                   13499:                tmp_idyn=
                   13500:                case $host_cpu in
                   13501:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13502:                esac
                   13503:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13504:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13505:                ;;
                   13506:            esac
                   13507:            archive_cmds_need_lc_CXX=no
                   13508:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13509:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13510:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13511:            ;;
                   13512:           pgCC* | pgcpp*)
                   13513:             # Portland Group C++ compiler
                   13514:            case `$CC -V` in
                   13515:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13516:              prelink_cmds_CXX='tpldir=Template.dir~
                   13517:                rm -rf $tpldir~
                   13518:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13519:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13520:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13521:                rm -rf $tpldir~
                   13522:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13523:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13524:                $RANLIB $oldlib'
                   13525:              archive_cmds_CXX='tpldir=Template.dir~
                   13526:                rm -rf $tpldir~
                   13527:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13528:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13529:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13530:                rm -rf $tpldir~
                   13531:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13532:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13533:              ;;
                   13534:            *) # Version 6 and above use weak symbols
                   13535:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13536:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   13537:              ;;
                   13538:            esac
                   13539: 
                   13540:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13541:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13542:            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13543:             ;;
                   13544:          cxx*)
                   13545:            # Compaq C++
                   13546:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13547:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   13548: 
                   13549:            runpath_var=LD_RUN_PATH
                   13550:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13551:            hardcode_libdir_separator_CXX=:
                   13552: 
                   13553:            # Commands to make compiler produce verbose output that lists
                   13554:            # what "hidden" libraries, object files and flags are used when
                   13555:            # linking a shared library.
                   13556:            #
                   13557:            # There doesn't appear to be a way to prevent this compiler from
                   13558:            # explicitly linking system object files so we need to strip them
                   13559:            # from the output so that they don't get included in the library
                   13560:            # dependencies.
                   13561:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   13562:            ;;
                   13563:          xl* | mpixl* | bgxl*)
                   13564:            # IBM XL 8.0 on PPC, with GNU ld
                   13565:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13566:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13567:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13568:            if test "x$supports_anon_versioning" = xyes; then
                   13569:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13570:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13571:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13572:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13573:            fi
                   13574:            ;;
                   13575:          *)
                   13576:            case `$CC -V 2>&1 | sed 5q` in
                   13577:            *Sun\ C*)
                   13578:              # Sun C++ 5.9
                   13579:              no_undefined_flag_CXX=' -zdefs'
                   13580:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13581:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   13582:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13583:              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   13584:              compiler_needs_object_CXX=yes
                   13585: 
                   13586:              # Not sure whether something based on
                   13587:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13588:              # would be better.
                   13589:              output_verbose_link_cmd='func_echo_all'
                   13590: 
                   13591:              # Archives containing C++ object files must be created using
                   13592:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13593:              # necessary to make sure instantiated templates are included
                   13594:              # in the archive.
                   13595:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13596:              ;;
                   13597:            esac
                   13598:            ;;
                   13599:        esac
                   13600:        ;;
                   13601: 
                   13602:       lynxos*)
                   13603:         # FIXME: insert proper C++ library support
                   13604:        ld_shlibs_CXX=no
                   13605:        ;;
                   13606: 
                   13607:       m88k*)
                   13608:         # FIXME: insert proper C++ library support
                   13609:         ld_shlibs_CXX=no
                   13610:        ;;
                   13611: 
                   13612:       mvs*)
                   13613:         case $cc_basename in
                   13614:           cxx*)
                   13615:            # FIXME: insert proper C++ library support
                   13616:            ld_shlibs_CXX=no
                   13617:            ;;
                   13618:          *)
                   13619:            # FIXME: insert proper C++ library support
                   13620:            ld_shlibs_CXX=no
                   13621:            ;;
                   13622:        esac
                   13623:        ;;
                   13624: 
                   13625:       netbsd*)
                   13626:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13627:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13628:          wlarc=
                   13629:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13630:          hardcode_direct_CXX=yes
                   13631:          hardcode_shlibpath_var_CXX=no
                   13632:        fi
                   13633:        # Workaround some broken pre-1.5 toolchains
                   13634:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13635:        ;;
                   13636: 
                   13637:       *nto* | *qnx*)
                   13638:         ld_shlibs_CXX=yes
                   13639:        ;;
                   13640: 
                   13641:       openbsd2*)
                   13642:         # C++ shared libraries are fairly broken
                   13643:        ld_shlibs_CXX=no
                   13644:        ;;
                   13645: 
                   13646:       openbsd*)
                   13647:        if test -f /usr/libexec/ld.so; then
                   13648:          hardcode_direct_CXX=yes
                   13649:          hardcode_shlibpath_var_CXX=no
                   13650:          hardcode_direct_absolute_CXX=yes
                   13651:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13652:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13653:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13654:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13655:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13656:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13657:          fi
                   13658:          output_verbose_link_cmd=func_echo_all
                   13659:        else
                   13660:          ld_shlibs_CXX=no
                   13661:        fi
                   13662:        ;;
                   13663: 
                   13664:       osf3* | osf4* | osf5*)
                   13665:         case $cc_basename in
                   13666:           KCC*)
                   13667:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13668: 
                   13669:            # KCC will only create a shared library if the output file
                   13670:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13671:            # to its proper name (with version) after linking.
                   13672:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13673: 
                   13674:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13675:            hardcode_libdir_separator_CXX=:
                   13676: 
                   13677:            # Archives containing C++ object files must be created using
                   13678:            # the KAI C++ compiler.
                   13679:            case $host in
                   13680:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13681:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13682:            esac
                   13683:            ;;
                   13684:           RCC*)
                   13685:            # Rational C++ 2.4.1
                   13686:            # FIXME: insert proper C++ library support
                   13687:            ld_shlibs_CXX=no
                   13688:            ;;
                   13689:           cxx*)
                   13690:            case $host in
                   13691:              osf3*)
                   13692:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13693:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13694:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13695:                ;;
                   13696:              *)
                   13697:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13698:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13699:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13700:                  echo "-hidden">> $lib.exp~
                   13701:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   13702:                  $RM $lib.exp'
                   13703:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13704:                ;;
                   13705:            esac
                   13706: 
                   13707:            hardcode_libdir_separator_CXX=:
                   13708: 
                   13709:            # Commands to make compiler produce verbose output that lists
                   13710:            # what "hidden" libraries, object files and flags are used when
                   13711:            # linking a shared library.
                   13712:            #
                   13713:            # There doesn't appear to be a way to prevent this compiler from
                   13714:            # explicitly linking system object files so we need to strip them
                   13715:            # from the output so that they don't get included in the library
                   13716:            # dependencies.
                   13717:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13718:            ;;
                   13719:          *)
                   13720:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13721:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13722:              case $host in
                   13723:                osf3*)
                   13724:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13725:                  ;;
                   13726:                *)
                   13727:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13728:                  ;;
                   13729:              esac
                   13730: 
                   13731:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13732:              hardcode_libdir_separator_CXX=:
                   13733: 
                   13734:              # Commands to make compiler produce verbose output that lists
                   13735:              # what "hidden" libraries, object files and flags are used when
                   13736:              # linking a shared library.
                   13737:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13738: 
                   13739:            else
                   13740:              # FIXME: insert proper C++ library support
                   13741:              ld_shlibs_CXX=no
                   13742:            fi
                   13743:            ;;
                   13744:         esac
                   13745:         ;;
                   13746: 
                   13747:       psos*)
                   13748:         # FIXME: insert proper C++ library support
                   13749:         ld_shlibs_CXX=no
                   13750:         ;;
                   13751: 
                   13752:       sunos4*)
                   13753:         case $cc_basename in
                   13754:           CC*)
                   13755:            # Sun C++ 4.x
                   13756:            # FIXME: insert proper C++ library support
                   13757:            ld_shlibs_CXX=no
                   13758:            ;;
                   13759:           lcc*)
                   13760:            # Lucid
                   13761:            # FIXME: insert proper C++ library support
                   13762:            ld_shlibs_CXX=no
                   13763:            ;;
                   13764:           *)
                   13765:            # FIXME: insert proper C++ library support
                   13766:            ld_shlibs_CXX=no
                   13767:            ;;
                   13768:         esac
                   13769:         ;;
                   13770: 
                   13771:       solaris*)
                   13772:         case $cc_basename in
                   13773:           CC* | sunCC*)
                   13774:            # Sun C++ 4.2, 5.x and Centerline C++
                   13775:             archive_cmds_need_lc_CXX=yes
                   13776:            no_undefined_flag_CXX=' -zdefs'
                   13777:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13778:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13779:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13780: 
                   13781:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13782:            hardcode_shlibpath_var_CXX=no
                   13783:            case $host_os in
                   13784:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13785:              *)
                   13786:                # The compiler driver will combine and reorder linker options,
                   13787:                # but understands `-z linker_flag'.
                   13788:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13789:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13790:                ;;
                   13791:            esac
                   13792:            link_all_deplibs_CXX=yes
                   13793: 
                   13794:            output_verbose_link_cmd='func_echo_all'
                   13795: 
                   13796:            # Archives containing C++ object files must be created using
                   13797:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13798:            # necessary to make sure instantiated templates are included
                   13799:            # in the archive.
                   13800:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13801:            ;;
                   13802:           gcx*)
                   13803:            # Green Hills C++ Compiler
                   13804:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13805: 
                   13806:            # The C++ compiler must be used to create the archive.
                   13807:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13808:            ;;
                   13809:           *)
                   13810:            # GNU C++ compiler with Solaris linker
                   13811:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13812:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13813:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13814:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13815:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13816:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13817: 
                   13818:                # Commands to make compiler produce verbose output that lists
                   13819:                # what "hidden" libraries, object files and flags are used when
                   13820:                # linking a shared library.
                   13821:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13822:              else
                   13823:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13824:                # platform.
                   13825:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13826:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13827:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13828: 
                   13829:                # Commands to make compiler produce verbose output that lists
                   13830:                # what "hidden" libraries, object files and flags are used when
                   13831:                # linking a shared library.
                   13832:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13833:              fi
                   13834: 
                   13835:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13836:              case $host_os in
                   13837:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13838:                *)
                   13839:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13840:                  ;;
                   13841:              esac
                   13842:            fi
                   13843:            ;;
                   13844:         esac
                   13845:         ;;
                   13846: 
                   13847:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13848:       no_undefined_flag_CXX='${wl}-z,text'
                   13849:       archive_cmds_need_lc_CXX=no
                   13850:       hardcode_shlibpath_var_CXX=no
                   13851:       runpath_var='LD_RUN_PATH'
                   13852: 
                   13853:       case $cc_basename in
                   13854:         CC*)
                   13855:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13856:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13857:          ;;
                   13858:        *)
                   13859:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13860:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13861:          ;;
                   13862:       esac
                   13863:       ;;
                   13864: 
                   13865:       sysv5* | sco3.2v5* | sco5v6*)
                   13866:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13867:        # link with -lc, and that would cause any symbols used from libc to
                   13868:        # always be unresolved, which means just about no library would
                   13869:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13870:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13871:        # as -z defs.
                   13872:        no_undefined_flag_CXX='${wl}-z,text'
                   13873:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13874:        archive_cmds_need_lc_CXX=no
                   13875:        hardcode_shlibpath_var_CXX=no
                   13876:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13877:        hardcode_libdir_separator_CXX=':'
                   13878:        link_all_deplibs_CXX=yes
                   13879:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13880:        runpath_var='LD_RUN_PATH'
                   13881: 
                   13882:        case $cc_basename in
                   13883:           CC*)
                   13884:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13885:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13886:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13887:              '"$old_archive_cmds_CXX"
                   13888:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13889:              '"$reload_cmds_CXX"
                   13890:            ;;
                   13891:          *)
                   13892:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13893:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13894:            ;;
                   13895:        esac
                   13896:       ;;
                   13897: 
                   13898:       tandem*)
                   13899:         case $cc_basename in
                   13900:           NCC*)
                   13901:            # NonStop-UX NCC 3.20
                   13902:            # FIXME: insert proper C++ library support
                   13903:            ld_shlibs_CXX=no
                   13904:            ;;
                   13905:           *)
                   13906:            # FIXME: insert proper C++ library support
                   13907:            ld_shlibs_CXX=no
                   13908:            ;;
                   13909:         esac
                   13910:         ;;
                   13911: 
                   13912:       vxworks*)
                   13913:         # FIXME: insert proper C++ library support
                   13914:         ld_shlibs_CXX=no
                   13915:         ;;
                   13916: 
                   13917:       *)
                   13918:         # FIXME: insert proper C++ library support
                   13919:         ld_shlibs_CXX=no
                   13920:         ;;
                   13921:     esac
                   13922: 
                   13923:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13924: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   13925:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13926: 
                   13927:     GCC_CXX="$GXX"
                   13928:     LD_CXX="$LD"
                   13929: 
                   13930:     ## CAVEAT EMPTOR:
                   13931:     ## There is no encapsulation within the following macros, do not change
                   13932:     ## the running order or otherwise move them around unless you know exactly
                   13933:     ## what you are doing...
                   13934:     # Dependencies to place before and after the object being linked:
                   13935: predep_objects_CXX=
                   13936: postdep_objects_CXX=
                   13937: predeps_CXX=
                   13938: postdeps_CXX=
                   13939: compiler_lib_search_path_CXX=
                   13940: 
                   13941: cat > conftest.$ac_ext <<_LT_EOF
                   13942: class Foo
                   13943: {
                   13944: public:
                   13945:   Foo (void) { a = 0; }
                   13946: private:
                   13947:   int a;
                   13948: };
                   13949: _LT_EOF
                   13950: 
                   13951: 
                   13952: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13953: case "$CC $CFLAGS " in #(
                   13954: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13955: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13956: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13957: esac
                   13958: 
                   13959: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   13960:   (eval $ac_compile) 2>&5
                   13961:   ac_status=$?
                   13962:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13963:   (exit $ac_status); }; then
                   13964:   # Parse the compiler output and extract the necessary
                   13965:   # objects, libraries and library flags.
                   13966: 
                   13967:   # Sentinel used to keep track of whether or not we are before
                   13968:   # the conftest object file.
                   13969:   pre_test_object_deps_done=no
                   13970: 
                   13971:   for p in `eval "$output_verbose_link_cmd"`; do
                   13972:     case ${prev}${p} in
                   13973: 
                   13974:     -L* | -R* | -l*)
                   13975:        # Some compilers place space between "-{L,R}" and the path.
                   13976:        # Remove the space.
                   13977:        if test $p = "-L" ||
                   13978:           test $p = "-R"; then
                   13979:         prev=$p
                   13980:         continue
                   13981:        fi
                   13982: 
                   13983:        # Expand the sysroot to ease extracting the directories later.
                   13984:        if test -z "$prev"; then
                   13985:          case $p in
                   13986:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13987:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13988:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13989:          esac
                   13990:        fi
                   13991:        case $p in
                   13992:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13993:        esac
                   13994:        if test "$pre_test_object_deps_done" = no; then
                   13995:         case ${prev} in
                   13996:         -L | -R)
                   13997:           # Internal compiler library paths should come after those
                   13998:           # provided the user.  The postdeps already come after the
                   13999:           # user supplied libs so there is no need to process them.
                   14000:           if test -z "$compiler_lib_search_path_CXX"; then
                   14001:             compiler_lib_search_path_CXX="${prev}${p}"
                   14002:           else
                   14003:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14004:           fi
                   14005:           ;;
                   14006:         # The "-l" case would never come before the object being
                   14007:         # linked, so don't bother handling this case.
                   14008:         esac
                   14009:        else
                   14010:         if test -z "$postdeps_CXX"; then
                   14011:           postdeps_CXX="${prev}${p}"
                   14012:         else
                   14013:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14014:         fi
                   14015:        fi
                   14016:        prev=
                   14017:        ;;
                   14018: 
                   14019:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14020:     *.$objext)
                   14021:        # This assumes that the test object file only shows up
                   14022:        # once in the compiler output.
                   14023:        if test "$p" = "conftest.$objext"; then
                   14024:         pre_test_object_deps_done=yes
                   14025:         continue
                   14026:        fi
                   14027: 
                   14028:        if test "$pre_test_object_deps_done" = no; then
                   14029:         if test -z "$predep_objects_CXX"; then
                   14030:           predep_objects_CXX="$p"
                   14031:         else
                   14032:           predep_objects_CXX="$predep_objects_CXX $p"
                   14033:         fi
                   14034:        else
                   14035:         if test -z "$postdep_objects_CXX"; then
                   14036:           postdep_objects_CXX="$p"
                   14037:         else
                   14038:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14039:         fi
                   14040:        fi
                   14041:        ;;
                   14042: 
                   14043:     *) ;; # Ignore the rest.
                   14044: 
                   14045:     esac
                   14046:   done
                   14047: 
                   14048:   # Clean up.
                   14049:   rm -f a.out a.exe
                   14050: else
                   14051:   echo "libtool.m4: error: problem compiling CXX test program"
                   14052: fi
                   14053: 
                   14054: $RM -f confest.$objext
                   14055: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14056: 
                   14057: # PORTME: override above test on systems where it is broken
                   14058: case $host_os in
                   14059: interix[3-9]*)
                   14060:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14061:   # hack all around it, let's just trust "g++" to DTRT.
                   14062:   predep_objects_CXX=
                   14063:   postdep_objects_CXX=
                   14064:   postdeps_CXX=
                   14065:   ;;
                   14066: 
                   14067: linux*)
                   14068:   case `$CC -V 2>&1 | sed 5q` in
                   14069:   *Sun\ C*)
                   14070:     # Sun C++ 5.9
                   14071: 
                   14072:     # The more standards-conforming stlport4 library is
                   14073:     # incompatible with the Cstd library. Avoid specifying
                   14074:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14075:     # -library=stlport4 depends on it.
                   14076:     case " $CXX $CXXFLAGS " in
                   14077:     *" -library=stlport4 "*)
                   14078:       solaris_use_stlport4=yes
                   14079:       ;;
                   14080:     esac
                   14081: 
                   14082:     if test "$solaris_use_stlport4" != yes; then
                   14083:       postdeps_CXX='-library=Cstd -library=Crun'
                   14084:     fi
                   14085:     ;;
                   14086:   esac
                   14087:   ;;
                   14088: 
                   14089: solaris*)
                   14090:   case $cc_basename in
                   14091:   CC* | sunCC*)
                   14092:     # The more standards-conforming stlport4 library is
                   14093:     # incompatible with the Cstd library. Avoid specifying
                   14094:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14095:     # -library=stlport4 depends on it.
                   14096:     case " $CXX $CXXFLAGS " in
                   14097:     *" -library=stlport4 "*)
                   14098:       solaris_use_stlport4=yes
                   14099:       ;;
                   14100:     esac
                   14101: 
                   14102:     # Adding this requires a known-good setup of shared libraries for
                   14103:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14104:     # archive will be linked into the output, leading to subtle bugs.
                   14105:     if test "$solaris_use_stlport4" != yes; then
                   14106:       postdeps_CXX='-library=Cstd -library=Crun'
                   14107:     fi
                   14108:     ;;
                   14109:   esac
                   14110:   ;;
                   14111: esac
                   14112: 
                   14113: 
                   14114: case " $postdeps_CXX " in
                   14115: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14116: esac
                   14117:  compiler_lib_search_dirs_CXX=
                   14118: if test -n "${compiler_lib_search_path_CXX}"; then
                   14119:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14120: fi
                   14121: 
                   14122: 
                   14123: 
                   14124: 
                   14125: 
                   14126: 
                   14127: 
                   14128: 
                   14129: 
                   14130: 
                   14131: 
                   14132: 
                   14133: 
                   14134: 
                   14135: 
                   14136: 
                   14137: 
                   14138: 
                   14139: 
                   14140: 
                   14141: 
                   14142: 
                   14143: 
                   14144: 
                   14145: 
                   14146: 
                   14147: 
                   14148: 
                   14149: 
                   14150: 
                   14151: 
                   14152:     lt_prog_compiler_wl_CXX=
                   14153: lt_prog_compiler_pic_CXX=
                   14154: lt_prog_compiler_static_CXX=
                   14155: 
                   14156: 
                   14157:   # C++ specific cases for pic, static, wl, etc.
                   14158:   if test "$GXX" = yes; then
                   14159:     lt_prog_compiler_wl_CXX='-Wl,'
                   14160:     lt_prog_compiler_static_CXX='-static'
                   14161: 
                   14162:     case $host_os in
                   14163:     aix*)
                   14164:       # All AIX code is PIC.
                   14165:       if test "$host_cpu" = ia64; then
                   14166:        # AIX 5 now supports IA64 processor
                   14167:        lt_prog_compiler_static_CXX='-Bstatic'
                   14168:       fi
                   14169:       ;;
                   14170: 
                   14171:     amigaos*)
                   14172:       case $host_cpu in
                   14173:       powerpc)
                   14174:             # see comment about AmigaOS4 .so support
                   14175:             lt_prog_compiler_pic_CXX='-fPIC'
                   14176:         ;;
                   14177:       m68k)
                   14178:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14179:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14180:             # like `-m68040'.
                   14181:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14182:         ;;
                   14183:       esac
                   14184:       ;;
                   14185: 
                   14186:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14187:       # PIC is the default for these OSes.
                   14188:       ;;
                   14189:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14190:       # This hack is so that the source file can tell whether it is being
                   14191:       # built for inclusion in a dll (and should export symbols for example).
                   14192:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14193:       # (--disable-auto-import) libraries
                   14194:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14195:       ;;
                   14196:     darwin* | rhapsody*)
                   14197:       # PIC is the default on this platform
                   14198:       # Common symbols not allowed in MH_DYLIB files
                   14199:       lt_prog_compiler_pic_CXX='-fno-common'
                   14200:       ;;
                   14201:     *djgpp*)
                   14202:       # DJGPP does not support shared libraries at all
                   14203:       lt_prog_compiler_pic_CXX=
                   14204:       ;;
                   14205:     haiku*)
                   14206:       # PIC is the default for Haiku.
                   14207:       # The "-static" flag exists, but is broken.
                   14208:       lt_prog_compiler_static_CXX=
                   14209:       ;;
                   14210:     interix[3-9]*)
                   14211:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14212:       # Instead, we relocate shared libraries at runtime.
                   14213:       ;;
                   14214:     sysv4*MP*)
                   14215:       if test -d /usr/nec; then
                   14216:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14217:       fi
                   14218:       ;;
                   14219:     hpux*)
                   14220:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14221:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14222:       # sets the default TLS model and affects inlining.
                   14223:       case $host_cpu in
                   14224:       hppa*64*)
                   14225:        ;;
                   14226:       *)
                   14227:        lt_prog_compiler_pic_CXX='-fPIC'
                   14228:        ;;
                   14229:       esac
                   14230:       ;;
                   14231:     *qnx* | *nto*)
                   14232:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14233:       # it will coredump.
                   14234:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14235:       ;;
                   14236:     *)
                   14237:       lt_prog_compiler_pic_CXX='-fPIC'
                   14238:       ;;
                   14239:     esac
                   14240:   else
                   14241:     case $host_os in
                   14242:       aix[4-9]*)
                   14243:        # All AIX code is PIC.
                   14244:        if test "$host_cpu" = ia64; then
                   14245:          # AIX 5 now supports IA64 processor
                   14246:          lt_prog_compiler_static_CXX='-Bstatic'
                   14247:        else
                   14248:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14249:        fi
                   14250:        ;;
                   14251:       chorus*)
                   14252:        case $cc_basename in
                   14253:        cxch68*)
                   14254:          # Green Hills C++ Compiler
                   14255:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   14256:          ;;
                   14257:        esac
                   14258:        ;;
                   14259:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14260:        # This hack is so that the source file can tell whether it is being
                   14261:        # built for inclusion in a dll (and should export symbols for example).
                   14262:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14263:        ;;
                   14264:       dgux*)
                   14265:        case $cc_basename in
                   14266:          ec++*)
                   14267:            lt_prog_compiler_pic_CXX='-KPIC'
                   14268:            ;;
                   14269:          ghcx*)
                   14270:            # Green Hills C++ Compiler
                   14271:            lt_prog_compiler_pic_CXX='-pic'
                   14272:            ;;
                   14273:          *)
                   14274:            ;;
                   14275:        esac
                   14276:        ;;
                   14277:       freebsd* | dragonfly*)
                   14278:        # FreeBSD uses GNU C++
                   14279:        ;;
                   14280:       hpux9* | hpux10* | hpux11*)
                   14281:        case $cc_basename in
                   14282:          CC*)
                   14283:            lt_prog_compiler_wl_CXX='-Wl,'
                   14284:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14285:            if test "$host_cpu" != ia64; then
                   14286:              lt_prog_compiler_pic_CXX='+Z'
                   14287:            fi
                   14288:            ;;
                   14289:          aCC*)
                   14290:            lt_prog_compiler_wl_CXX='-Wl,'
                   14291:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14292:            case $host_cpu in
                   14293:            hppa*64*|ia64*)
                   14294:              # +Z the default
                   14295:              ;;
                   14296:            *)
                   14297:              lt_prog_compiler_pic_CXX='+Z'
                   14298:              ;;
                   14299:            esac
                   14300:            ;;
                   14301:          *)
                   14302:            ;;
                   14303:        esac
                   14304:        ;;
                   14305:       interix*)
                   14306:        # This is c89, which is MS Visual C++ (no shared libs)
                   14307:        # Anyone wants to do a port?
                   14308:        ;;
                   14309:       irix5* | irix6* | nonstopux*)
                   14310:        case $cc_basename in
                   14311:          CC*)
                   14312:            lt_prog_compiler_wl_CXX='-Wl,'
                   14313:            lt_prog_compiler_static_CXX='-non_shared'
                   14314:            # CC pic flag -KPIC is the default.
                   14315:            ;;
                   14316:          *)
                   14317:            ;;
                   14318:        esac
                   14319:        ;;
                   14320:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14321:        case $cc_basename in
                   14322:          KCC*)
                   14323:            # KAI C++ Compiler
                   14324:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14325:            lt_prog_compiler_pic_CXX='-fPIC'
                   14326:            ;;
                   14327:          ecpc* )
                   14328:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14329:            lt_prog_compiler_wl_CXX='-Wl,'
                   14330:            lt_prog_compiler_pic_CXX='-KPIC'
                   14331:            lt_prog_compiler_static_CXX='-static'
                   14332:            ;;
                   14333:          icpc* )
                   14334:            # Intel C++, used to be incompatible with GCC.
                   14335:            # ICC 10 doesn't accept -KPIC any more.
                   14336:            lt_prog_compiler_wl_CXX='-Wl,'
                   14337:            lt_prog_compiler_pic_CXX='-fPIC'
                   14338:            lt_prog_compiler_static_CXX='-static'
                   14339:            ;;
                   14340:          pgCC* | pgcpp*)
                   14341:            # Portland Group C++ compiler
                   14342:            lt_prog_compiler_wl_CXX='-Wl,'
                   14343:            lt_prog_compiler_pic_CXX='-fpic'
                   14344:            lt_prog_compiler_static_CXX='-Bstatic'
                   14345:            ;;
                   14346:          cxx*)
                   14347:            # Compaq C++
                   14348:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14349:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14350:            lt_prog_compiler_pic_CXX=
                   14351:            lt_prog_compiler_static_CXX='-non_shared'
                   14352:            ;;
                   14353:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14354:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14355:            lt_prog_compiler_wl_CXX='-Wl,'
                   14356:            lt_prog_compiler_pic_CXX='-qpic'
                   14357:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14358:            ;;
                   14359:          *)
                   14360:            case `$CC -V 2>&1 | sed 5q` in
                   14361:            *Sun\ C*)
                   14362:              # Sun C++ 5.9
                   14363:              lt_prog_compiler_pic_CXX='-KPIC'
                   14364:              lt_prog_compiler_static_CXX='-Bstatic'
                   14365:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14366:              ;;
                   14367:            esac
                   14368:            ;;
                   14369:        esac
                   14370:        ;;
                   14371:       lynxos*)
                   14372:        ;;
                   14373:       m88k*)
                   14374:        ;;
                   14375:       mvs*)
                   14376:        case $cc_basename in
                   14377:          cxx*)
                   14378:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14379:            ;;
                   14380:          *)
                   14381:            ;;
                   14382:        esac
                   14383:        ;;
                   14384:       netbsd*)
                   14385:        ;;
                   14386:       *qnx* | *nto*)
                   14387:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14388:         # it will coredump.
                   14389:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14390:         ;;
                   14391:       osf3* | osf4* | osf5*)
                   14392:        case $cc_basename in
                   14393:          KCC*)
                   14394:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14395:            ;;
                   14396:          RCC*)
                   14397:            # Rational C++ 2.4.1
                   14398:            lt_prog_compiler_pic_CXX='-pic'
                   14399:            ;;
                   14400:          cxx*)
                   14401:            # Digital/Compaq C++
                   14402:            lt_prog_compiler_wl_CXX='-Wl,'
                   14403:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14404:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14405:            lt_prog_compiler_pic_CXX=
                   14406:            lt_prog_compiler_static_CXX='-non_shared'
                   14407:            ;;
                   14408:          *)
                   14409:            ;;
                   14410:        esac
                   14411:        ;;
                   14412:       psos*)
                   14413:        ;;
                   14414:       solaris*)
                   14415:        case $cc_basename in
                   14416:          CC* | sunCC*)
                   14417:            # Sun C++ 4.2, 5.x and Centerline C++
                   14418:            lt_prog_compiler_pic_CXX='-KPIC'
                   14419:            lt_prog_compiler_static_CXX='-Bstatic'
                   14420:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14421:            ;;
                   14422:          gcx*)
                   14423:            # Green Hills C++ Compiler
                   14424:            lt_prog_compiler_pic_CXX='-PIC'
                   14425:            ;;
                   14426:          *)
                   14427:            ;;
                   14428:        esac
                   14429:        ;;
                   14430:       sunos4*)
                   14431:        case $cc_basename in
                   14432:          CC*)
                   14433:            # Sun C++ 4.x
                   14434:            lt_prog_compiler_pic_CXX='-pic'
                   14435:            lt_prog_compiler_static_CXX='-Bstatic'
                   14436:            ;;
                   14437:          lcc*)
                   14438:            # Lucid
                   14439:            lt_prog_compiler_pic_CXX='-pic'
                   14440:            ;;
                   14441:          *)
                   14442:            ;;
                   14443:        esac
                   14444:        ;;
                   14445:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14446:        case $cc_basename in
                   14447:          CC*)
                   14448:            lt_prog_compiler_wl_CXX='-Wl,'
                   14449:            lt_prog_compiler_pic_CXX='-KPIC'
                   14450:            lt_prog_compiler_static_CXX='-Bstatic'
                   14451:            ;;
                   14452:        esac
                   14453:        ;;
                   14454:       tandem*)
                   14455:        case $cc_basename in
                   14456:          NCC*)
                   14457:            # NonStop-UX NCC 3.20
                   14458:            lt_prog_compiler_pic_CXX='-KPIC'
                   14459:            ;;
                   14460:          *)
                   14461:            ;;
                   14462:        esac
                   14463:        ;;
                   14464:       vxworks*)
                   14465:        ;;
                   14466:       *)
                   14467:        lt_prog_compiler_can_build_shared_CXX=no
                   14468:        ;;
                   14469:     esac
                   14470:   fi
                   14471: 
                   14472: case $host_os in
                   14473:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14474:   *djgpp*)
                   14475:     lt_prog_compiler_pic_CXX=
                   14476:     ;;
                   14477:   *)
                   14478:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14479:     ;;
                   14480: esac
                   14481: 
                   14482: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   14483: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   14484: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   14485:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14486: else
                   14487:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14488: fi
                   14489: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14490: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   14491: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14492: 
                   14493: #
                   14494: # Check to make sure the PIC flag actually works.
                   14495: #
                   14496: if test -n "$lt_prog_compiler_pic_CXX"; then
                   14497:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14498: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   14499: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   14500:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14501: else
                   14502:   lt_cv_prog_compiler_pic_works_CXX=no
                   14503:    ac_outfile=conftest.$ac_objext
                   14504:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14505:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14506:    # Insert the option either (1) after the last *FLAGS variable, or
                   14507:    # (2) before a word containing "conftest.", or (3) at the end.
                   14508:    # Note that $ac_compile itself does not contain backslashes and begins
                   14509:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14510:    # The option is referenced via a variable to avoid confusing sed.
                   14511:    lt_compile=`echo "$ac_compile" | $SED \
                   14512:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14513:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14514:    -e 's:$: $lt_compiler_flag:'`
                   14515:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14516:    (eval "$lt_compile" 2>conftest.err)
                   14517:    ac_status=$?
                   14518:    cat conftest.err >&5
                   14519:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14520:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14521:      # The compiler can only warn and ignore the option if not recognized
                   14522:      # So say no if there are warnings other than the usual output.
                   14523:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14524:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14525:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14526:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14527:      fi
                   14528:    fi
                   14529:    $RM conftest*
                   14530: 
                   14531: fi
                   14532: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14533: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   14534: 
                   14535: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14536:     case $lt_prog_compiler_pic_CXX in
                   14537:      "" | " "*) ;;
                   14538:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14539:      esac
                   14540: else
                   14541:     lt_prog_compiler_pic_CXX=
                   14542:      lt_prog_compiler_can_build_shared_CXX=no
                   14543: fi
                   14544: 
                   14545: fi
                   14546: 
                   14547: 
                   14548: 
                   14549: 
                   14550: 
                   14551: #
                   14552: # Check to make sure the static flag actually works.
                   14553: #
                   14554: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   14555: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14556: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   14557: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   14558:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14559: else
                   14560:   lt_cv_prog_compiler_static_works_CXX=no
                   14561:    save_LDFLAGS="$LDFLAGS"
                   14562:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14563:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14564:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14565:      # The linker can only warn and ignore the option if not recognized
                   14566:      # So say no if there are warnings
                   14567:      if test -s conftest.err; then
                   14568:        # Append any errors to the config.log.
                   14569:        cat conftest.err 1>&5
                   14570:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14571:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14572:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14573:          lt_cv_prog_compiler_static_works_CXX=yes
                   14574:        fi
                   14575:      else
                   14576:        lt_cv_prog_compiler_static_works_CXX=yes
                   14577:      fi
                   14578:    fi
                   14579:    $RM -r conftest*
                   14580:    LDFLAGS="$save_LDFLAGS"
                   14581: 
                   14582: fi
                   14583: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14584: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14585: 
                   14586: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14587:     :
                   14588: else
                   14589:     lt_prog_compiler_static_CXX=
                   14590: fi
                   14591: 
                   14592: 
                   14593: 
                   14594: 
                   14595:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14596: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14597: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14598:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14599: else
                   14600:   lt_cv_prog_compiler_c_o_CXX=no
                   14601:    $RM -r conftest 2>/dev/null
                   14602:    mkdir conftest
                   14603:    cd conftest
                   14604:    mkdir out
                   14605:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14606: 
                   14607:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14608:    # Insert the option either (1) after the last *FLAGS variable, or
                   14609:    # (2) before a word containing "conftest.", or (3) at the end.
                   14610:    # Note that $ac_compile itself does not contain backslashes and begins
                   14611:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14612:    lt_compile=`echo "$ac_compile" | $SED \
                   14613:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14614:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14615:    -e 's:$: $lt_compiler_flag:'`
                   14616:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14617:    (eval "$lt_compile" 2>out/conftest.err)
                   14618:    ac_status=$?
                   14619:    cat out/conftest.err >&5
                   14620:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14621:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14622:    then
                   14623:      # The compiler can only warn and ignore the option if not recognized
                   14624:      # So say no if there are warnings
                   14625:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14626:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14627:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14628:        lt_cv_prog_compiler_c_o_CXX=yes
                   14629:      fi
                   14630:    fi
                   14631:    chmod u+w . 2>&5
                   14632:    $RM conftest*
                   14633:    # SGI C++ compiler will create directory out/ii_files/ for
                   14634:    # template instantiation
                   14635:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14636:    $RM out/* && rmdir out
                   14637:    cd ..
                   14638:    $RM -r conftest
                   14639:    $RM conftest*
                   14640: 
                   14641: fi
                   14642: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14643: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14644: 
                   14645: 
                   14646: 
                   14647:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14648: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14649: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14650:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14651: else
                   14652:   lt_cv_prog_compiler_c_o_CXX=no
                   14653:    $RM -r conftest 2>/dev/null
                   14654:    mkdir conftest
                   14655:    cd conftest
                   14656:    mkdir out
                   14657:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14658: 
                   14659:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14660:    # Insert the option either (1) after the last *FLAGS variable, or
                   14661:    # (2) before a word containing "conftest.", or (3) at the end.
                   14662:    # Note that $ac_compile itself does not contain backslashes and begins
                   14663:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14664:    lt_compile=`echo "$ac_compile" | $SED \
                   14665:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14666:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14667:    -e 's:$: $lt_compiler_flag:'`
                   14668:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14669:    (eval "$lt_compile" 2>out/conftest.err)
                   14670:    ac_status=$?
                   14671:    cat out/conftest.err >&5
                   14672:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14673:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14674:    then
                   14675:      # The compiler can only warn and ignore the option if not recognized
                   14676:      # So say no if there are warnings
                   14677:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14678:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14679:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14680:        lt_cv_prog_compiler_c_o_CXX=yes
                   14681:      fi
                   14682:    fi
                   14683:    chmod u+w . 2>&5
                   14684:    $RM conftest*
                   14685:    # SGI C++ compiler will create directory out/ii_files/ for
                   14686:    # template instantiation
                   14687:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14688:    $RM out/* && rmdir out
                   14689:    cd ..
                   14690:    $RM -r conftest
                   14691:    $RM conftest*
                   14692: 
                   14693: fi
                   14694: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14695: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14696: 
                   14697: 
                   14698: 
                   14699: 
                   14700: hard_links="nottested"
                   14701: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14702:   # do not overwrite the value of need_locks provided by the user
                   14703:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14704: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14705:   hard_links=yes
                   14706:   $RM conftest*
                   14707:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14708:   touch conftest.a
                   14709:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14710:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14711:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14712: echo "${ECHO_T}$hard_links" >&6
                   14713:   if test "$hard_links" = no; then
                   14714:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14715: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14716:     need_locks=warn
                   14717:   fi
                   14718: else
                   14719:   need_locks=no
                   14720: fi
                   14721: 
                   14722: 
                   14723: 
                   14724:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14725: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14726: 
                   14727:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14728:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14729:   case $host_os in
                   14730:   aix[4-9]*)
                   14731:     # If we're using GNU nm, then we don't want the "-C" option.
                   14732:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14733:     # Also, AIX nm treats weak defined symbols like other global defined
                   14734:     # symbols, whereas GNU nm marks them as "W".
                   14735:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14736:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14737:     else
                   14738:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14739:     fi
                   14740:     ;;
                   14741:   pw32*)
                   14742:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14743:     ;;
                   14744:   cygwin* | mingw* | cegcc*)
                   14745:     case $cc_basename in
                   14746:     cl*)
                   14747:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14748:       ;;
                   14749:     *)
                   14750:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   14751:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14752:       ;;
                   14753:     esac
                   14754:     ;;
                   14755:   *)
                   14756:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14757:     ;;
                   14758:   esac
                   14759: 
                   14760: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14761: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14762: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14763: 
                   14764: with_gnu_ld_CXX=$with_gnu_ld
                   14765: 
                   14766: 
                   14767: 
                   14768: 
                   14769: 
                   14770: 
                   14771: #
                   14772: # Do we need to explicitly link libc?
                   14773: #
                   14774: case "x$archive_cmds_need_lc_CXX" in
                   14775: x|xyes)
                   14776:   # Assume -lc should be added
                   14777:   archive_cmds_need_lc_CXX=yes
                   14778: 
                   14779:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14780:     case $archive_cmds_CXX in
                   14781:     *'~'*)
                   14782:       # FIXME: we may have to deal with multi-command sequences.
                   14783:       ;;
                   14784:     '$CC '*)
                   14785:       # Test whether the compiler implicitly links with -lc since on some
                   14786:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14787:       # to ld, don't add -lc before -lgcc.
                   14788:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14789: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14790: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14791:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14792: else
                   14793:   $RM conftest*
                   14794:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14795: 
                   14796:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14797:   (eval $ac_compile) 2>&5
                   14798:   ac_status=$?
                   14799:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14800:   (exit $ac_status); } 2>conftest.err; then
                   14801:          soname=conftest
                   14802:          lib=conftest
                   14803:          libobjs=conftest.$ac_objext
                   14804:          deplibs=
                   14805:          wl=$lt_prog_compiler_wl_CXX
                   14806:          pic_flag=$lt_prog_compiler_pic_CXX
                   14807:          compiler_flags=-v
                   14808:          linker_flags=-v
                   14809:          verstring=
                   14810:          output_objdir=.
                   14811:          libname=conftest
                   14812:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14813:          allow_undefined_flag_CXX=
                   14814:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14815:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14816:   ac_status=$?
                   14817:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14818:   (exit $ac_status); }
                   14819:          then
                   14820:            lt_cv_archive_cmds_need_lc_CXX=no
                   14821:          else
                   14822:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14823:          fi
                   14824:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14825:        else
                   14826:          cat conftest.err 1>&5
                   14827:        fi
                   14828:        $RM conftest*
                   14829: 
                   14830: fi
                   14831: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14832: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14833:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14834:       ;;
                   14835:     esac
                   14836:   fi
                   14837:   ;;
                   14838: esac
                   14839: 
                   14840: 
                   14841: 
                   14842: 
                   14843: 
                   14844: 
                   14845: 
                   14846: 
                   14847: 
                   14848: 
                   14849: 
                   14850: 
                   14851: 
                   14852: 
                   14853: 
                   14854: 
                   14855: 
                   14856: 
                   14857: 
                   14858: 
                   14859: 
                   14860: 
                   14861: 
                   14862: 
                   14863: 
                   14864: 
                   14865: 
                   14866: 
                   14867: 
                   14868: 
                   14869: 
                   14870: 
                   14871: 
                   14872: 
                   14873: 
                   14874: 
                   14875: 
                   14876: 
                   14877: 
                   14878: 
                   14879: 
                   14880: 
                   14881: 
                   14882: 
                   14883: 
                   14884: 
                   14885: 
                   14886: 
                   14887: 
                   14888: 
                   14889: 
                   14890: 
                   14891: 
                   14892: 
                   14893: 
                   14894: 
                   14895: 
                   14896: 
                   14897: 
                   14898: 
                   14899: 
                   14900: 
                   14901:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14902: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14903: 
                   14904: library_names_spec=
                   14905: libname_spec='lib$name'
                   14906: soname_spec=
                   14907: shrext_cmds=".so"
                   14908: postinstall_cmds=
                   14909: postuninstall_cmds=
                   14910: finish_cmds=
                   14911: finish_eval=
                   14912: shlibpath_var=
                   14913: shlibpath_overrides_runpath=unknown
                   14914: version_type=none
                   14915: dynamic_linker="$host_os ld.so"
                   14916: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14917: need_lib_prefix=unknown
                   14918: hardcode_into_libs=no
                   14919: 
                   14920: # when you set need_version to no, make sure it does not cause -set_version
                   14921: # flags to be left without arguments
                   14922: need_version=unknown
                   14923: 
                   14924: case $host_os in
                   14925: aix3*)
                   14926:   version_type=linux # correct to gnu/linux during the next big refactor
                   14927:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14928:   shlibpath_var=LIBPATH
                   14929: 
                   14930:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14931:   soname_spec='${libname}${release}${shared_ext}$major'
                   14932:   ;;
                   14933: 
                   14934: aix[4-9]*)
                   14935:   version_type=linux # correct to gnu/linux during the next big refactor
                   14936:   need_lib_prefix=no
                   14937:   need_version=no
                   14938:   hardcode_into_libs=yes
                   14939:   if test "$host_cpu" = ia64; then
                   14940:     # AIX 5 supports IA64
                   14941:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14942:     shlibpath_var=LD_LIBRARY_PATH
                   14943:   else
                   14944:     # With GCC up to 2.95.x, collect2 would create an import file
                   14945:     # for dependence libraries.  The import file would start with
                   14946:     # the line `#! .'.  This would cause the generated library to
                   14947:     # depend on `.', always an invalid library.  This was fixed in
                   14948:     # development snapshots of GCC prior to 3.0.
                   14949:     case $host_os in
                   14950:       aix4 | aix4.[01] | aix4.[01].*)
                   14951:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14952:           echo ' yes '
                   14953:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14954:        :
                   14955:       else
                   14956:        can_build_shared=no
                   14957:       fi
                   14958:       ;;
                   14959:     esac
                   14960:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14961:     # soname into executable. Probably we can add versioning support to
                   14962:     # collect2, so additional links can be useful in future.
                   14963:     if test "$aix_use_runtimelinking" = yes; then
                   14964:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14965:       # instead of lib<name>.a to let people know that these are not
                   14966:       # typical AIX shared libraries.
                   14967:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14968:     else
                   14969:       # We preserve .a as extension for shared libraries through AIX4.2
                   14970:       # and later when we are not doing run time linking.
                   14971:       library_names_spec='${libname}${release}.a $libname.a'
                   14972:       soname_spec='${libname}${release}${shared_ext}$major'
                   14973:     fi
                   14974:     shlibpath_var=LIBPATH
                   14975:   fi
                   14976:   ;;
                   14977: 
                   14978: amigaos*)
                   14979:   case $host_cpu in
                   14980:   powerpc)
                   14981:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14982:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14983:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14984:     ;;
                   14985:   m68k)
                   14986:     library_names_spec='$libname.ixlibrary $libname.a'
                   14987:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14988:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   14989:     ;;
                   14990:   esac
                   14991:   ;;
                   14992: 
                   14993: beos*)
                   14994:   library_names_spec='${libname}${shared_ext}'
                   14995:   dynamic_linker="$host_os ld.so"
                   14996:   shlibpath_var=LIBRARY_PATH
                   14997:   ;;
                   14998: 
                   14999: bsdi[45]*)
                   15000:   version_type=linux # correct to gnu/linux during the next big refactor
                   15001:   need_version=no
                   15002:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15003:   soname_spec='${libname}${release}${shared_ext}$major'
                   15004:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15005:   shlibpath_var=LD_LIBRARY_PATH
                   15006:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15007:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15008:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15009:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15010:   # libtool to hard-code these into programs
                   15011:   ;;
                   15012: 
                   15013: cygwin* | mingw* | pw32* | cegcc*)
                   15014:   version_type=windows
                   15015:   shrext_cmds=".dll"
                   15016:   need_version=no
                   15017:   need_lib_prefix=no
                   15018: 
                   15019:   case $GCC,$cc_basename in
                   15020:   yes,*)
                   15021:     # gcc
                   15022:     library_names_spec='$libname.dll.a'
                   15023:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15024:     postinstall_cmds='base_file=`basename \${file}`~
                   15025:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15026:       dldir=$destdir/`dirname \$dlpath`~
                   15027:       test -d \$dldir || mkdir -p \$dldir~
                   15028:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15029:       chmod a+x \$dldir/$dlname~
                   15030:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15031:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15032:       fi'
                   15033:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15034:       dlpath=$dir/\$dldll~
                   15035:        $RM \$dlpath'
                   15036:     shlibpath_overrides_runpath=yes
                   15037: 
                   15038:     case $host_os in
                   15039:     cygwin*)
                   15040:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15041:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15042: 
                   15043:       ;;
                   15044:     mingw* | cegcc*)
                   15045:       # MinGW DLLs use traditional 'lib' prefix
                   15046:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15047:       ;;
                   15048:     pw32*)
                   15049:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15050:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15051:       ;;
                   15052:     esac
                   15053:     dynamic_linker='Win32 ld.exe'
                   15054:     ;;
                   15055: 
                   15056:   *,cl*)
                   15057:     # Native MSVC
                   15058:     libname_spec='$name'
                   15059:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15060:     library_names_spec='${libname}.dll.lib'
                   15061: 
                   15062:     case $build_os in
                   15063:     mingw*)
                   15064:       sys_lib_search_path_spec=
                   15065:       lt_save_ifs=$IFS
                   15066:       IFS=';'
                   15067:       for lt_path in $LIB
                   15068:       do
                   15069:         IFS=$lt_save_ifs
                   15070:         # Let DOS variable expansion print the short 8.3 style file name.
                   15071:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15072:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15073:       done
                   15074:       IFS=$lt_save_ifs
                   15075:       # Convert to MSYS style.
                   15076:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15077:       ;;
                   15078:     cygwin*)
                   15079:       # Convert to unix form, then to dos form, then back to unix form
                   15080:       # but this time dos style (no spaces!) so that the unix form looks
                   15081:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15082:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15083:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15084:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15085:       ;;
                   15086:     *)
                   15087:       sys_lib_search_path_spec="$LIB"
                   15088:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15089:         # It is most probably a Windows format PATH.
                   15090:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15091:       else
                   15092:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15093:       fi
                   15094:       # FIXME: find the short name or the path components, as spaces are
                   15095:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15096:       ;;
                   15097:     esac
                   15098: 
                   15099:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15100:     postinstall_cmds='base_file=`basename \${file}`~
                   15101:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15102:       dldir=$destdir/`dirname \$dlpath`~
                   15103:       test -d \$dldir || mkdir -p \$dldir~
                   15104:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15105:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15106:       dlpath=$dir/\$dldll~
                   15107:        $RM \$dlpath'
                   15108:     shlibpath_overrides_runpath=yes
                   15109:     dynamic_linker='Win32 link.exe'
                   15110:     ;;
                   15111: 
                   15112:   *)
                   15113:     # Assume MSVC wrapper
                   15114:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15115:     dynamic_linker='Win32 ld.exe'
                   15116:     ;;
                   15117:   esac
                   15118:   # FIXME: first we should search . and the directory the executable is in
                   15119:   shlibpath_var=PATH
                   15120:   ;;
                   15121: 
                   15122: darwin* | rhapsody*)
                   15123:   dynamic_linker="$host_os dyld"
                   15124:   version_type=darwin
                   15125:   need_lib_prefix=no
                   15126:   need_version=no
                   15127:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15128:   soname_spec='${libname}${release}${major}$shared_ext'
                   15129:   shlibpath_overrides_runpath=yes
                   15130:   shlibpath_var=DYLD_LIBRARY_PATH
                   15131:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15132: 
                   15133:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15134:   ;;
                   15135: 
                   15136: dgux*)
                   15137:   version_type=linux # correct to gnu/linux during the next big refactor
                   15138:   need_lib_prefix=no
                   15139:   need_version=no
                   15140:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15141:   soname_spec='${libname}${release}${shared_ext}$major'
                   15142:   shlibpath_var=LD_LIBRARY_PATH
                   15143:   ;;
                   15144: 
                   15145: freebsd* | dragonfly*)
                   15146:   # DragonFly does not have aout.  When/if they implement a new
                   15147:   # versioning mechanism, adjust this.
                   15148:   if test -x /usr/bin/objformat; then
                   15149:     objformat=`/usr/bin/objformat`
                   15150:   else
                   15151:     case $host_os in
                   15152:     freebsd[23].*) objformat=aout ;;
                   15153:     *) objformat=elf ;;
                   15154:     esac
                   15155:   fi
                   15156:   version_type=freebsd-$objformat
                   15157:   case $version_type in
                   15158:     freebsd-elf*)
                   15159:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15160:       need_version=no
                   15161:       need_lib_prefix=no
                   15162:       ;;
                   15163:     freebsd-*)
                   15164:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15165:       need_version=yes
                   15166:       ;;
                   15167:   esac
                   15168:   shlibpath_var=LD_LIBRARY_PATH
                   15169:   case $host_os in
                   15170:   freebsd2.*)
                   15171:     shlibpath_overrides_runpath=yes
                   15172:     ;;
                   15173:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15174:     shlibpath_overrides_runpath=yes
                   15175:     hardcode_into_libs=yes
                   15176:     ;;
                   15177:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15178:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15179:     shlibpath_overrides_runpath=no
                   15180:     hardcode_into_libs=yes
                   15181:     ;;
                   15182:   *) # from 4.6 on, and DragonFly
                   15183:     shlibpath_overrides_runpath=yes
                   15184:     hardcode_into_libs=yes
                   15185:     ;;
                   15186:   esac
                   15187:   ;;
                   15188: 
                   15189: gnu*)
                   15190:   version_type=linux # correct to gnu/linux during the next big refactor
                   15191:   need_lib_prefix=no
                   15192:   need_version=no
                   15193:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15194:   soname_spec='${libname}${release}${shared_ext}$major'
                   15195:   shlibpath_var=LD_LIBRARY_PATH
                   15196:   shlibpath_overrides_runpath=no
                   15197:   hardcode_into_libs=yes
                   15198:   ;;
                   15199: 
                   15200: haiku*)
                   15201:   version_type=linux # correct to gnu/linux during the next big refactor
                   15202:   need_lib_prefix=no
                   15203:   need_version=no
                   15204:   dynamic_linker="$host_os runtime_loader"
                   15205:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15206:   soname_spec='${libname}${release}${shared_ext}$major'
                   15207:   shlibpath_var=LIBRARY_PATH
                   15208:   shlibpath_overrides_runpath=yes
                   15209:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15210:   hardcode_into_libs=yes
                   15211:   ;;
                   15212: 
                   15213: hpux9* | hpux10* | hpux11*)
                   15214:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15215:   # link against other versions.
                   15216:   version_type=sunos
                   15217:   need_lib_prefix=no
                   15218:   need_version=no
                   15219:   case $host_cpu in
                   15220:   ia64*)
                   15221:     shrext_cmds='.so'
                   15222:     hardcode_into_libs=yes
                   15223:     dynamic_linker="$host_os dld.so"
                   15224:     shlibpath_var=LD_LIBRARY_PATH
                   15225:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15226:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15227:     soname_spec='${libname}${release}${shared_ext}$major'
                   15228:     if test "X$HPUX_IA64_MODE" = X32; then
                   15229:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15230:     else
                   15231:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15232:     fi
                   15233:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15234:     ;;
                   15235:   hppa*64*)
                   15236:     shrext_cmds='.sl'
                   15237:     hardcode_into_libs=yes
                   15238:     dynamic_linker="$host_os dld.sl"
                   15239:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15240:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15241:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15242:     soname_spec='${libname}${release}${shared_ext}$major'
                   15243:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15244:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15245:     ;;
                   15246:   *)
                   15247:     shrext_cmds='.sl'
                   15248:     dynamic_linker="$host_os dld.sl"
                   15249:     shlibpath_var=SHLIB_PATH
                   15250:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15251:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15252:     soname_spec='${libname}${release}${shared_ext}$major'
                   15253:     ;;
                   15254:   esac
                   15255:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15256:   postinstall_cmds='chmod 555 $lib'
                   15257:   # or fails outright, so override atomically:
                   15258:   install_override_mode=555
                   15259:   ;;
                   15260: 
                   15261: interix[3-9]*)
                   15262:   version_type=linux # correct to gnu/linux during the next big refactor
                   15263:   need_lib_prefix=no
                   15264:   need_version=no
                   15265:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15266:   soname_spec='${libname}${release}${shared_ext}$major'
                   15267:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15268:   shlibpath_var=LD_LIBRARY_PATH
                   15269:   shlibpath_overrides_runpath=no
                   15270:   hardcode_into_libs=yes
                   15271:   ;;
                   15272: 
                   15273: irix5* | irix6* | nonstopux*)
                   15274:   case $host_os in
                   15275:     nonstopux*) version_type=nonstopux ;;
                   15276:     *)
                   15277:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15278:                version_type=linux # correct to gnu/linux during the next big refactor
                   15279:        else
                   15280:                version_type=irix
                   15281:        fi ;;
                   15282:   esac
                   15283:   need_lib_prefix=no
                   15284:   need_version=no
                   15285:   soname_spec='${libname}${release}${shared_ext}$major'
                   15286:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15287:   case $host_os in
                   15288:   irix5* | nonstopux*)
                   15289:     libsuff= shlibsuff=
                   15290:     ;;
                   15291:   *)
                   15292:     case $LD in # libtool.m4 will add one of these switches to LD
                   15293:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15294:       libsuff= shlibsuff= libmagic=32-bit;;
                   15295:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15296:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15297:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15298:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15299:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15300:     esac
                   15301:     ;;
                   15302:   esac
                   15303:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15304:   shlibpath_overrides_runpath=no
                   15305:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15306:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15307:   hardcode_into_libs=yes
                   15308:   ;;
                   15309: 
                   15310: # No shared lib support for Linux oldld, aout, or coff.
                   15311: linux*oldld* | linux*aout* | linux*coff*)
                   15312:   dynamic_linker=no
                   15313:   ;;
                   15314: 
                   15315: # This must be glibc/ELF.
                   15316: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15317:   version_type=linux # correct to gnu/linux during the next big refactor
                   15318:   need_lib_prefix=no
                   15319:   need_version=no
                   15320:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15321:   soname_spec='${libname}${release}${shared_ext}$major'
                   15322:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15323:   shlibpath_var=LD_LIBRARY_PATH
                   15324:   shlibpath_overrides_runpath=no
                   15325: 
                   15326:   # Some binutils ld are patched to set DT_RUNPATH
                   15327:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   15328:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15329: else
                   15330:   lt_cv_shlibpath_overrides_runpath=no
                   15331:     save_LDFLAGS=$LDFLAGS
                   15332:     save_libdir=$libdir
                   15333:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15334:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   15335:     cat >conftest.$ac_ext <<_ACEOF
                   15336: /* confdefs.h.  */
                   15337: _ACEOF
                   15338: cat confdefs.h >>conftest.$ac_ext
                   15339: cat >>conftest.$ac_ext <<_ACEOF
                   15340: /* end confdefs.h.  */
                   15341: 
                   15342: int
                   15343: main ()
                   15344: {
                   15345: 
                   15346:   ;
                   15347:   return 0;
                   15348: }
                   15349: _ACEOF
                   15350: rm -f conftest.$ac_objext conftest$ac_exeext
                   15351: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15352:   (eval $ac_link) 2>conftest.er1
                   15353:   ac_status=$?
                   15354:   grep -v '^ *+' conftest.er1 >conftest.err
                   15355:   rm -f conftest.er1
                   15356:   cat conftest.err >&5
                   15357:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15358:   (exit $ac_status); } &&
                   15359:         { ac_try='test -z "$ac_cxx_werror_flag"
                   15360:                         || test ! -s conftest.err'
                   15361:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15362:   (eval $ac_try) 2>&5
                   15363:   ac_status=$?
                   15364:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15365:   (exit $ac_status); }; } &&
                   15366:         { ac_try='test -s conftest$ac_exeext'
                   15367:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15368:   (eval $ac_try) 2>&5
                   15369:   ac_status=$?
                   15370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15371:   (exit $ac_status); }; }; then
                   15372:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   15373:   lt_cv_shlibpath_overrides_runpath=yes
                   15374: fi
                   15375: 
                   15376: else
                   15377:   echo "$as_me: failed program was:" >&5
                   15378: sed 's/^/| /' conftest.$ac_ext >&5
                   15379: 
                   15380: fi
                   15381: rm -f conftest.err conftest.$ac_objext \
                   15382:       conftest$ac_exeext conftest.$ac_ext
                   15383:     LDFLAGS=$save_LDFLAGS
                   15384:     libdir=$save_libdir
                   15385: 
                   15386: fi
                   15387: 
                   15388:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15389: 
                   15390:   # This implies no fast_install, which is unacceptable.
                   15391:   # Some rework will be needed to allow for fast_install
                   15392:   # before this can be enabled.
                   15393:   hardcode_into_libs=yes
                   15394: 
                   15395:   # Append ld.so.conf contents to the search path
                   15396:   if test -f /etc/ld.so.conf; then
                   15397:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
                   15398:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15399:   fi
                   15400: 
                   15401:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15402:   # powerpc, because MkLinux only supported shared libraries with the
                   15403:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15404:   # most powerpc-linux boxes support dynamic linking these days and
                   15405:   # people can always --disable-shared, the test was removed, and we
                   15406:   # assume the GNU/Linux dynamic linker is in use.
                   15407:   dynamic_linker='GNU/Linux ld.so'
                   15408:   ;;
                   15409: 
                   15410: netbsd*)
                   15411:   version_type=sunos
                   15412:   need_lib_prefix=no
                   15413:   need_version=no
                   15414:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15415:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15416:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15417:     dynamic_linker='NetBSD (a.out) ld.so'
                   15418:   else
                   15419:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15420:     soname_spec='${libname}${release}${shared_ext}$major'
                   15421:     dynamic_linker='NetBSD ld.elf_so'
                   15422:   fi
                   15423:   shlibpath_var=LD_LIBRARY_PATH
                   15424:   shlibpath_overrides_runpath=yes
                   15425:   hardcode_into_libs=yes
                   15426:   ;;
                   15427: 
                   15428: newsos6)
                   15429:   version_type=linux # correct to gnu/linux during the next big refactor
                   15430:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15431:   shlibpath_var=LD_LIBRARY_PATH
                   15432:   shlibpath_overrides_runpath=yes
                   15433:   ;;
                   15434: 
                   15435: *nto* | *qnx*)
                   15436:   version_type=qnx
                   15437:   need_lib_prefix=no
                   15438:   need_version=no
                   15439:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15440:   soname_spec='${libname}${release}${shared_ext}$major'
                   15441:   shlibpath_var=LD_LIBRARY_PATH
                   15442:   shlibpath_overrides_runpath=no
                   15443:   hardcode_into_libs=yes
                   15444:   dynamic_linker='ldqnx.so'
                   15445:   ;;
                   15446: 
                   15447: openbsd*)
                   15448:   version_type=sunos
                   15449:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15450:   need_lib_prefix=no
                   15451:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15452:   case $host_os in
                   15453:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15454:     *)                         need_version=no  ;;
                   15455:   esac
                   15456:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15457:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15458:   shlibpath_var=LD_LIBRARY_PATH
                   15459:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15460:     case $host_os in
                   15461:       openbsd2.[89] | openbsd2.[89].*)
                   15462:        shlibpath_overrides_runpath=no
                   15463:        ;;
                   15464:       *)
                   15465:        shlibpath_overrides_runpath=yes
                   15466:        ;;
                   15467:       esac
                   15468:   else
                   15469:     shlibpath_overrides_runpath=yes
                   15470:   fi
                   15471:   ;;
                   15472: 
                   15473: os2*)
                   15474:   libname_spec='$name'
                   15475:   shrext_cmds=".dll"
                   15476:   need_lib_prefix=no
                   15477:   library_names_spec='$libname${shared_ext} $libname.a'
                   15478:   dynamic_linker='OS/2 ld.exe'
                   15479:   shlibpath_var=LIBPATH
                   15480:   ;;
                   15481: 
                   15482: osf3* | osf4* | osf5*)
                   15483:   version_type=osf
                   15484:   need_lib_prefix=no
                   15485:   need_version=no
                   15486:   soname_spec='${libname}${release}${shared_ext}$major'
                   15487:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15488:   shlibpath_var=LD_LIBRARY_PATH
                   15489:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15490:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15491:   ;;
                   15492: 
                   15493: rdos*)
                   15494:   dynamic_linker=no
                   15495:   ;;
                   15496: 
                   15497: solaris*)
                   15498:   version_type=linux # correct to gnu/linux during the next big refactor
                   15499:   need_lib_prefix=no
                   15500:   need_version=no
                   15501:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15502:   soname_spec='${libname}${release}${shared_ext}$major'
                   15503:   shlibpath_var=LD_LIBRARY_PATH
                   15504:   shlibpath_overrides_runpath=yes
                   15505:   hardcode_into_libs=yes
                   15506:   # ldd complains unless libraries are executable
                   15507:   postinstall_cmds='chmod +x $lib'
                   15508:   ;;
                   15509: 
                   15510: sunos4*)
                   15511:   version_type=sunos
                   15512:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15513:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15514:   shlibpath_var=LD_LIBRARY_PATH
                   15515:   shlibpath_overrides_runpath=yes
                   15516:   if test "$with_gnu_ld" = yes; then
                   15517:     need_lib_prefix=no
                   15518:   fi
                   15519:   need_version=yes
                   15520:   ;;
                   15521: 
                   15522: sysv4 | sysv4.3*)
                   15523:   version_type=linux # correct to gnu/linux during the next big refactor
                   15524:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15525:   soname_spec='${libname}${release}${shared_ext}$major'
                   15526:   shlibpath_var=LD_LIBRARY_PATH
                   15527:   case $host_vendor in
                   15528:     sni)
                   15529:       shlibpath_overrides_runpath=no
                   15530:       need_lib_prefix=no
                   15531:       runpath_var=LD_RUN_PATH
                   15532:       ;;
                   15533:     siemens)
                   15534:       need_lib_prefix=no
                   15535:       ;;
                   15536:     motorola)
                   15537:       need_lib_prefix=no
                   15538:       need_version=no
                   15539:       shlibpath_overrides_runpath=no
                   15540:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15541:       ;;
                   15542:   esac
                   15543:   ;;
                   15544: 
                   15545: sysv4*MP*)
                   15546:   if test -d /usr/nec ;then
                   15547:     version_type=linux # correct to gnu/linux during the next big refactor
                   15548:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15549:     soname_spec='$libname${shared_ext}.$major'
                   15550:     shlibpath_var=LD_LIBRARY_PATH
                   15551:   fi
                   15552:   ;;
                   15553: 
                   15554: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15555:   version_type=freebsd-elf
                   15556:   need_lib_prefix=no
                   15557:   need_version=no
                   15558:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15559:   soname_spec='${libname}${release}${shared_ext}$major'
                   15560:   shlibpath_var=LD_LIBRARY_PATH
                   15561:   shlibpath_overrides_runpath=yes
                   15562:   hardcode_into_libs=yes
                   15563:   if test "$with_gnu_ld" = yes; then
                   15564:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15565:   else
                   15566:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15567:     case $host_os in
                   15568:       sco3.2v5*)
                   15569:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15570:        ;;
                   15571:     esac
                   15572:   fi
                   15573:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15574:   ;;
                   15575: 
                   15576: tpf*)
                   15577:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15578:   version_type=linux # correct to gnu/linux during the next big refactor
                   15579:   need_lib_prefix=no
                   15580:   need_version=no
                   15581:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15582:   shlibpath_var=LD_LIBRARY_PATH
                   15583:   shlibpath_overrides_runpath=no
                   15584:   hardcode_into_libs=yes
                   15585:   ;;
                   15586: 
                   15587: uts4*)
                   15588:   version_type=linux # correct to gnu/linux during the next big refactor
                   15589:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15590:   soname_spec='${libname}${release}${shared_ext}$major'
                   15591:   shlibpath_var=LD_LIBRARY_PATH
                   15592:   ;;
                   15593: 
                   15594: *)
                   15595:   dynamic_linker=no
                   15596:   ;;
                   15597: esac
                   15598: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15599: echo "${ECHO_T}$dynamic_linker" >&6
                   15600: test "$dynamic_linker" = no && can_build_shared=no
                   15601: 
                   15602: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15603: if test "$GCC" = yes; then
                   15604:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15605: fi
                   15606: 
                   15607: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15608:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15609: fi
                   15610: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15611:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15612: fi
                   15613: 
                   15614: 
                   15615: 
                   15616: 
                   15617: 
                   15618: 
                   15619: 
                   15620: 
                   15621: 
                   15622: 
                   15623: 
                   15624: 
                   15625: 
                   15626: 
                   15627: 
                   15628: 
                   15629: 
                   15630: 
                   15631: 
                   15632: 
                   15633: 
                   15634: 
                   15635: 
                   15636: 
                   15637: 
                   15638: 
                   15639: 
                   15640: 
                   15641: 
                   15642: 
                   15643: 
                   15644: 
                   15645: 
                   15646: 
                   15647: 
                   15648: 
                   15649: 
                   15650: 
                   15651:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15652: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15653: hardcode_action_CXX=
                   15654: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15655:    test -n "$runpath_var_CXX" ||
                   15656:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15657: 
                   15658:   # We can hardcode non-existent directories.
                   15659:   if test "$hardcode_direct_CXX" != no &&
                   15660:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15661:      # have to relink, otherwise we might link with an installed library
                   15662:      # when we should be linking with a yet-to-be-installed one
                   15663:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15664:      test "$hardcode_minus_L_CXX" != no; then
                   15665:     # Linking always hardcodes the temporary library directory.
                   15666:     hardcode_action_CXX=relink
                   15667:   else
                   15668:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15669:     hardcode_action_CXX=immediate
                   15670:   fi
                   15671: else
                   15672:   # We cannot hardcode anything, or else we can only hardcode existing
                   15673:   # directories.
                   15674:   hardcode_action_CXX=unsupported
                   15675: fi
                   15676: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15677: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15678: 
                   15679: if test "$hardcode_action_CXX" = relink ||
                   15680:    test "$inherit_rpath_CXX" = yes; then
                   15681:   # Fast installation is not supported
                   15682:   enable_fast_install=no
                   15683: elif test "$shlibpath_overrides_runpath" = yes ||
                   15684:      test "$enable_shared" = no; then
                   15685:   # Fast installation is not necessary
                   15686:   enable_fast_install=needless
                   15687: fi
                   15688: 
                   15689: 
                   15690: 
                   15691: 
                   15692: 
                   15693: 
                   15694: 
                   15695:   fi # test -n "$compiler"
                   15696: 
                   15697:   CC=$lt_save_CC
                   15698:   CFLAGS=$lt_save_CFLAGS
                   15699:   LDCXX=$LD
                   15700:   LD=$lt_save_LD
                   15701:   GCC=$lt_save_GCC
                   15702:   with_gnu_ld=$lt_save_with_gnu_ld
                   15703:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15704:   lt_cv_path_LD=$lt_save_path_LD
                   15705:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15706:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15707: fi # test "$_lt_caught_CXX_error" != yes
                   15708: 
                   15709: ac_ext=c
                   15710: ac_cpp='$CPP $CPPFLAGS'
                   15711: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15712: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15713: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15714: 
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
                   15721: 
                   15722: 
                   15723: 
                   15724: 
                   15725: 
                   15726: 
                   15727: 
                   15728: 
                   15729:                   ac_config_commands="$ac_config_commands libtool"
                   15730: 
                   15731: 
                   15732: 
                   15733: 
                   15734: # Only expand once:
                   15735: 
                   15736: 
                   15737: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15738: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15739: if test "${libltdl_cv_shlibext+set}" = set; then
                   15740:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15741: else
                   15742: 
                   15743: module=yes
                   15744: eval libltdl_cv_shlibext=$shrext_cmds
                   15745: module=no
                   15746: eval libltdl_cv_shrext=$shrext_cmds
                   15747: 
                   15748: fi
                   15749: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15750: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15751: if test -n "$libltdl_cv_shlibext"; then
                   15752: 
                   15753: cat >>confdefs.h <<_ACEOF
                   15754: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15755: _ACEOF
                   15756: 
                   15757: fi
                   15758: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15759: 
                   15760: cat >>confdefs.h <<_ACEOF
                   15761: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15762: _ACEOF
                   15763: 
                   15764: fi
                   15765: 
                   15766: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15767: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15768: if test "${lt_cv_module_path_var+set}" = set; then
                   15769:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15770: else
                   15771:   lt_cv_module_path_var="$shlibpath_var"
                   15772: fi
                   15773: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15774: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15775: if test -n "$lt_cv_module_path_var"; then
                   15776: 
                   15777: cat >>confdefs.h <<_ACEOF
                   15778: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15779: _ACEOF
                   15780: 
                   15781: fi
                   15782: 
                   15783: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15784: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15785: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15786:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15787: else
                   15788:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15789: fi
                   15790: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15791: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15792: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15793:   sys_dlsearch_path=
                   15794:   for dir in $lt_cv_sys_dlsearch_path; do
                   15795:     if test -z "$sys_dlsearch_path"; then
                   15796:       sys_dlsearch_path="$dir"
                   15797:     else
                   15798:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15799:     fi
                   15800:   done
                   15801: 
                   15802: cat >>confdefs.h <<_ACEOF
                   15803: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15804: _ACEOF
                   15805: 
                   15806: fi
                   15807: 
                   15808: 
                   15809: LT_DLLOADERS=
                   15810: 
                   15811: 
                   15812: ac_ext=c
                   15813: ac_cpp='$CPP $CPPFLAGS'
                   15814: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15815: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15816: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15817: 
                   15818: 
                   15819: LIBADD_DLOPEN=
                   15820: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15821: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15822: if test "${ac_cv_search_dlopen+set}" = set; then
                   15823:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15824: else
                   15825:   ac_func_search_save_LIBS=$LIBS
                   15826: ac_cv_search_dlopen=no
                   15827: cat >conftest.$ac_ext <<_ACEOF
                   15828: /* confdefs.h.  */
                   15829: _ACEOF
                   15830: cat confdefs.h >>conftest.$ac_ext
                   15831: cat >>conftest.$ac_ext <<_ACEOF
                   15832: /* end confdefs.h.  */
                   15833: 
                   15834: /* Override any gcc2 internal prototype to avoid an error.  */
                   15835: #ifdef __cplusplus
                   15836: extern "C"
                   15837: #endif
                   15838: /* We use char because int might match the return type of a gcc2
                   15839:    builtin and then its argument prototype would still apply.  */
                   15840: char dlopen ();
                   15841: int
                   15842: main ()
                   15843: {
                   15844: dlopen ();
                   15845:   ;
                   15846:   return 0;
                   15847: }
                   15848: _ACEOF
                   15849: rm -f conftest.$ac_objext conftest$ac_exeext
                   15850: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15851:   (eval $ac_link) 2>conftest.er1
                   15852:   ac_status=$?
                   15853:   grep -v '^ *+' conftest.er1 >conftest.err
                   15854:   rm -f conftest.er1
                   15855:   cat conftest.err >&5
                   15856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15857:   (exit $ac_status); } &&
                   15858:         { ac_try='test -z "$ac_c_werror_flag"
                   15859:                         || test ! -s conftest.err'
                   15860:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15861:   (eval $ac_try) 2>&5
                   15862:   ac_status=$?
                   15863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15864:   (exit $ac_status); }; } &&
                   15865:         { ac_try='test -s conftest$ac_exeext'
                   15866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15867:   (eval $ac_try) 2>&5
                   15868:   ac_status=$?
                   15869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15870:   (exit $ac_status); }; }; then
                   15871:   ac_cv_search_dlopen="none required"
                   15872: else
                   15873:   echo "$as_me: failed program was:" >&5
                   15874: sed 's/^/| /' conftest.$ac_ext >&5
                   15875: 
                   15876: fi
                   15877: rm -f conftest.err conftest.$ac_objext \
                   15878:       conftest$ac_exeext conftest.$ac_ext
                   15879: if test "$ac_cv_search_dlopen" = no; then
                   15880:   for ac_lib in dl; do
                   15881:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15882:     cat >conftest.$ac_ext <<_ACEOF
                   15883: /* confdefs.h.  */
                   15884: _ACEOF
                   15885: cat confdefs.h >>conftest.$ac_ext
                   15886: cat >>conftest.$ac_ext <<_ACEOF
                   15887: /* end confdefs.h.  */
                   15888: 
                   15889: /* Override any gcc2 internal prototype to avoid an error.  */
                   15890: #ifdef __cplusplus
                   15891: extern "C"
                   15892: #endif
                   15893: /* We use char because int might match the return type of a gcc2
                   15894:    builtin and then its argument prototype would still apply.  */
                   15895: char dlopen ();
                   15896: int
                   15897: main ()
                   15898: {
                   15899: dlopen ();
                   15900:   ;
                   15901:   return 0;
                   15902: }
                   15903: _ACEOF
                   15904: rm -f conftest.$ac_objext conftest$ac_exeext
                   15905: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15906:   (eval $ac_link) 2>conftest.er1
                   15907:   ac_status=$?
                   15908:   grep -v '^ *+' conftest.er1 >conftest.err
                   15909:   rm -f conftest.er1
                   15910:   cat conftest.err >&5
                   15911:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15912:   (exit $ac_status); } &&
                   15913:         { ac_try='test -z "$ac_c_werror_flag"
                   15914:                         || test ! -s conftest.err'
                   15915:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15916:   (eval $ac_try) 2>&5
                   15917:   ac_status=$?
                   15918:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15919:   (exit $ac_status); }; } &&
                   15920:         { ac_try='test -s conftest$ac_exeext'
                   15921:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15922:   (eval $ac_try) 2>&5
                   15923:   ac_status=$?
                   15924:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15925:   (exit $ac_status); }; }; then
                   15926:   ac_cv_search_dlopen="-l$ac_lib"
                   15927: break
                   15928: else
                   15929:   echo "$as_me: failed program was:" >&5
                   15930: sed 's/^/| /' conftest.$ac_ext >&5
                   15931: 
                   15932: fi
                   15933: rm -f conftest.err conftest.$ac_objext \
                   15934:       conftest$ac_exeext conftest.$ac_ext
                   15935:   done
                   15936: fi
                   15937: LIBS=$ac_func_search_save_LIBS
                   15938: fi
                   15939: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   15940: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   15941: if test "$ac_cv_search_dlopen" != no; then
                   15942:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   15943: 
                   15944: cat >>confdefs.h <<\_ACEOF
                   15945: #define HAVE_LIBDL 1
                   15946: _ACEOF
                   15947: 
                   15948:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15949:          LIBADD_DLOPEN="-ldl"
                   15950:        fi
                   15951:        libltdl_cv_lib_dl_dlopen="yes"
                   15952:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15953: else
                   15954:   cat >conftest.$ac_ext <<_ACEOF
                   15955: /* confdefs.h.  */
                   15956: _ACEOF
                   15957: cat confdefs.h >>conftest.$ac_ext
                   15958: cat >>conftest.$ac_ext <<_ACEOF
                   15959: /* end confdefs.h.  */
                   15960: #if HAVE_DLFCN_H
                   15961: #  include <dlfcn.h>
                   15962: #endif
                   15963: 
                   15964: int
                   15965: main ()
                   15966: {
                   15967: dlopen(0, 0);
                   15968:   ;
                   15969:   return 0;
                   15970: }
                   15971: _ACEOF
                   15972: rm -f conftest.$ac_objext conftest$ac_exeext
                   15973: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15974:   (eval $ac_link) 2>conftest.er1
                   15975:   ac_status=$?
                   15976:   grep -v '^ *+' conftest.er1 >conftest.err
                   15977:   rm -f conftest.er1
                   15978:   cat conftest.err >&5
                   15979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15980:   (exit $ac_status); } &&
                   15981:         { ac_try='test -z "$ac_c_werror_flag"
                   15982:                         || test ! -s conftest.err'
                   15983:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15984:   (eval $ac_try) 2>&5
                   15985:   ac_status=$?
                   15986:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15987:   (exit $ac_status); }; } &&
                   15988:         { ac_try='test -s conftest$ac_exeext'
                   15989:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15990:   (eval $ac_try) 2>&5
                   15991:   ac_status=$?
                   15992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15993:   (exit $ac_status); }; }; then
                   15994: 
                   15995: cat >>confdefs.h <<\_ACEOF
                   15996: #define HAVE_LIBDL 1
                   15997: _ACEOF
                   15998: 
                   15999:            libltdl_cv_func_dlopen="yes"
                   16000:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16001: else
                   16002:   echo "$as_me: failed program was:" >&5
                   16003: sed 's/^/| /' conftest.$ac_ext >&5
                   16004: 
                   16005: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   16006: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   16007: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   16008:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16009: else
                   16010:   ac_check_lib_save_LIBS=$LIBS
                   16011: LIBS="-lsvld  $LIBS"
                   16012: cat >conftest.$ac_ext <<_ACEOF
                   16013: /* confdefs.h.  */
                   16014: _ACEOF
                   16015: cat confdefs.h >>conftest.$ac_ext
                   16016: cat >>conftest.$ac_ext <<_ACEOF
                   16017: /* end confdefs.h.  */
                   16018: 
                   16019: /* Override any gcc2 internal prototype to avoid an error.  */
                   16020: #ifdef __cplusplus
                   16021: extern "C"
                   16022: #endif
                   16023: /* We use char because int might match the return type of a gcc2
                   16024:    builtin and then its argument prototype would still apply.  */
                   16025: char dlopen ();
                   16026: int
                   16027: main ()
                   16028: {
                   16029: dlopen ();
                   16030:   ;
                   16031:   return 0;
                   16032: }
                   16033: _ACEOF
                   16034: rm -f conftest.$ac_objext conftest$ac_exeext
                   16035: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16036:   (eval $ac_link) 2>conftest.er1
                   16037:   ac_status=$?
                   16038:   grep -v '^ *+' conftest.er1 >conftest.err
                   16039:   rm -f conftest.er1
                   16040:   cat conftest.err >&5
                   16041:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16042:   (exit $ac_status); } &&
                   16043:         { ac_try='test -z "$ac_c_werror_flag"
                   16044:                         || test ! -s conftest.err'
                   16045:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16046:   (eval $ac_try) 2>&5
                   16047:   ac_status=$?
                   16048:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16049:   (exit $ac_status); }; } &&
                   16050:         { ac_try='test -s conftest$ac_exeext'
                   16051:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16052:   (eval $ac_try) 2>&5
                   16053:   ac_status=$?
                   16054:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16055:   (exit $ac_status); }; }; then
                   16056:   ac_cv_lib_svld_dlopen=yes
                   16057: else
                   16058:   echo "$as_me: failed program was:" >&5
                   16059: sed 's/^/| /' conftest.$ac_ext >&5
                   16060: 
                   16061: ac_cv_lib_svld_dlopen=no
                   16062: fi
                   16063: rm -f conftest.err conftest.$ac_objext \
                   16064:       conftest$ac_exeext conftest.$ac_ext
                   16065: LIBS=$ac_check_lib_save_LIBS
                   16066: fi
                   16067: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   16068: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   16069: if test $ac_cv_lib_svld_dlopen = yes; then
                   16070: 
                   16071: cat >>confdefs.h <<\_ACEOF
                   16072: #define HAVE_LIBDL 1
                   16073: _ACEOF
                   16074: 
                   16075:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16076:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16077: fi
                   16078: 
                   16079: fi
                   16080: rm -f conftest.err conftest.$ac_objext \
                   16081:       conftest$ac_exeext conftest.$ac_ext
                   16082: fi
                   16083: 
                   16084: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16085: then
                   16086:   lt_save_LIBS="$LIBS"
                   16087:   LIBS="$LIBS $LIBADD_DLOPEN"
                   16088: 
                   16089: for ac_func in dlerror
                   16090: do
                   16091: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16092: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16093: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16094: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16095:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16096: else
                   16097:   cat >conftest.$ac_ext <<_ACEOF
                   16098: /* confdefs.h.  */
                   16099: _ACEOF
                   16100: cat confdefs.h >>conftest.$ac_ext
                   16101: cat >>conftest.$ac_ext <<_ACEOF
                   16102: /* end confdefs.h.  */
                   16103: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16104:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16105: #define $ac_func innocuous_$ac_func
                   16106: 
                   16107: /* System header to define __stub macros and hopefully few prototypes,
                   16108:     which can conflict with char $ac_func (); below.
                   16109:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16110:     <limits.h> exists even on freestanding compilers.  */
                   16111: 
                   16112: #ifdef __STDC__
                   16113: # include <limits.h>
                   16114: #else
                   16115: # include <assert.h>
                   16116: #endif
                   16117: 
                   16118: #undef $ac_func
                   16119: 
                   16120: /* Override any gcc2 internal prototype to avoid an error.  */
                   16121: #ifdef __cplusplus
                   16122: extern "C"
                   16123: {
                   16124: #endif
                   16125: /* We use char because int might match the return type of a gcc2
                   16126:    builtin and then its argument prototype would still apply.  */
                   16127: char $ac_func ();
                   16128: /* The GNU C library defines this for functions which it implements
                   16129:     to always fail with ENOSYS.  Some functions are actually named
                   16130:     something starting with __ and the normal name is an alias.  */
                   16131: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16132: choke me
                   16133: #else
                   16134: char (*f) () = $ac_func;
                   16135: #endif
                   16136: #ifdef __cplusplus
                   16137: }
                   16138: #endif
                   16139: 
                   16140: int
                   16141: main ()
                   16142: {
                   16143: return f != $ac_func;
                   16144:   ;
                   16145:   return 0;
                   16146: }
                   16147: _ACEOF
                   16148: rm -f conftest.$ac_objext conftest$ac_exeext
                   16149: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16150:   (eval $ac_link) 2>conftest.er1
                   16151:   ac_status=$?
                   16152:   grep -v '^ *+' conftest.er1 >conftest.err
                   16153:   rm -f conftest.er1
                   16154:   cat conftest.err >&5
                   16155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16156:   (exit $ac_status); } &&
                   16157:         { ac_try='test -z "$ac_c_werror_flag"
                   16158:                         || test ! -s conftest.err'
                   16159:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16160:   (eval $ac_try) 2>&5
                   16161:   ac_status=$?
                   16162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16163:   (exit $ac_status); }; } &&
                   16164:         { ac_try='test -s conftest$ac_exeext'
                   16165:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16166:   (eval $ac_try) 2>&5
                   16167:   ac_status=$?
                   16168:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16169:   (exit $ac_status); }; }; then
                   16170:   eval "$as_ac_var=yes"
                   16171: else
                   16172:   echo "$as_me: failed program was:" >&5
                   16173: sed 's/^/| /' conftest.$ac_ext >&5
                   16174: 
                   16175: eval "$as_ac_var=no"
                   16176: fi
                   16177: rm -f conftest.err conftest.$ac_objext \
                   16178:       conftest$ac_exeext conftest.$ac_ext
                   16179: fi
                   16180: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16181: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16182: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16183:   cat >>confdefs.h <<_ACEOF
                   16184: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16185: _ACEOF
                   16186: 
                   16187: fi
                   16188: done
                   16189: 
                   16190:   LIBS="$lt_save_LIBS"
                   16191: fi
                   16192: 
                   16193: 
                   16194: LIBADD_SHL_LOAD=
                   16195: echo "$as_me:$LINENO: checking for shl_load" >&5
                   16196: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   16197: if test "${ac_cv_func_shl_load+set}" = set; then
                   16198:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16199: else
                   16200:   cat >conftest.$ac_ext <<_ACEOF
                   16201: /* confdefs.h.  */
                   16202: _ACEOF
                   16203: cat confdefs.h >>conftest.$ac_ext
                   16204: cat >>conftest.$ac_ext <<_ACEOF
                   16205: /* end confdefs.h.  */
                   16206: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   16207:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16208: #define shl_load innocuous_shl_load
                   16209: 
                   16210: /* System header to define __stub macros and hopefully few prototypes,
                   16211:     which can conflict with char shl_load (); below.
                   16212:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16213:     <limits.h> exists even on freestanding compilers.  */
                   16214: 
                   16215: #ifdef __STDC__
                   16216: # include <limits.h>
                   16217: #else
                   16218: # include <assert.h>
                   16219: #endif
                   16220: 
                   16221: #undef shl_load
                   16222: 
                   16223: /* Override any gcc2 internal prototype to avoid an error.  */
                   16224: #ifdef __cplusplus
                   16225: extern "C"
                   16226: {
                   16227: #endif
                   16228: /* We use char because int might match the return type of a gcc2
                   16229:    builtin and then its argument prototype would still apply.  */
                   16230: char shl_load ();
                   16231: /* The GNU C library defines this for functions which it implements
                   16232:     to always fail with ENOSYS.  Some functions are actually named
                   16233:     something starting with __ and the normal name is an alias.  */
                   16234: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   16235: choke me
                   16236: #else
                   16237: char (*f) () = shl_load;
                   16238: #endif
                   16239: #ifdef __cplusplus
                   16240: }
                   16241: #endif
                   16242: 
                   16243: int
                   16244: main ()
                   16245: {
                   16246: return f != shl_load;
                   16247:   ;
                   16248:   return 0;
                   16249: }
                   16250: _ACEOF
                   16251: rm -f conftest.$ac_objext conftest$ac_exeext
                   16252: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16253:   (eval $ac_link) 2>conftest.er1
                   16254:   ac_status=$?
                   16255:   grep -v '^ *+' conftest.er1 >conftest.err
                   16256:   rm -f conftest.er1
                   16257:   cat conftest.err >&5
                   16258:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16259:   (exit $ac_status); } &&
                   16260:         { ac_try='test -z "$ac_c_werror_flag"
                   16261:                         || test ! -s conftest.err'
                   16262:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16263:   (eval $ac_try) 2>&5
                   16264:   ac_status=$?
                   16265:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16266:   (exit $ac_status); }; } &&
                   16267:         { ac_try='test -s conftest$ac_exeext'
                   16268:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16269:   (eval $ac_try) 2>&5
                   16270:   ac_status=$?
                   16271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16272:   (exit $ac_status); }; }; then
                   16273:   ac_cv_func_shl_load=yes
                   16274: else
                   16275:   echo "$as_me: failed program was:" >&5
                   16276: sed 's/^/| /' conftest.$ac_ext >&5
                   16277: 
                   16278: ac_cv_func_shl_load=no
                   16279: fi
                   16280: rm -f conftest.err conftest.$ac_objext \
                   16281:       conftest$ac_exeext conftest.$ac_ext
                   16282: fi
                   16283: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   16284: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   16285: if test $ac_cv_func_shl_load = yes; then
                   16286: 
                   16287: cat >>confdefs.h <<\_ACEOF
                   16288: #define HAVE_SHL_LOAD 1
                   16289: _ACEOF
                   16290: 
                   16291:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16292: else
                   16293:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   16294: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   16295: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   16296:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16297: else
                   16298:   ac_check_lib_save_LIBS=$LIBS
                   16299: LIBS="-ldld  $LIBS"
                   16300: cat >conftest.$ac_ext <<_ACEOF
                   16301: /* confdefs.h.  */
                   16302: _ACEOF
                   16303: cat confdefs.h >>conftest.$ac_ext
                   16304: cat >>conftest.$ac_ext <<_ACEOF
                   16305: /* end confdefs.h.  */
1.10      paf      16306: 
1.66      paf      16307: /* Override any gcc2 internal prototype to avoid an error.  */
                   16308: #ifdef __cplusplus
                   16309: extern "C"
                   16310: #endif
                   16311: /* We use char because int might match the return type of a gcc2
                   16312:    builtin and then its argument prototype would still apply.  */
                   16313: char shl_load ();
                   16314: int
                   16315: main ()
                   16316: {
                   16317: shl_load ();
                   16318:   ;
                   16319:   return 0;
                   16320: }
                   16321: _ACEOF
                   16322: rm -f conftest.$ac_objext conftest$ac_exeext
                   16323: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16324:   (eval $ac_link) 2>conftest.er1
1.66      paf      16325:   ac_status=$?
1.86      paf      16326:   grep -v '^ *+' conftest.er1 >conftest.err
                   16327:   rm -f conftest.er1
                   16328:   cat conftest.err >&5
1.66      paf      16329:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16330:   (exit $ac_status); } &&
1.86      paf      16331:         { ac_try='test -z "$ac_c_werror_flag"
                   16332:                         || test ! -s conftest.err'
                   16333:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16334:   (eval $ac_try) 2>&5
                   16335:   ac_status=$?
                   16336:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16337:   (exit $ac_status); }; } &&
                   16338:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16339:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16340:   (eval $ac_try) 2>&5
                   16341:   ac_status=$?
                   16342:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16343:   (exit $ac_status); }; }; then
                   16344:   ac_cv_lib_dld_shl_load=yes
                   16345: else
                   16346:   echo "$as_me: failed program was:" >&5
                   16347: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      16348: 
1.66      paf      16349: ac_cv_lib_dld_shl_load=no
                   16350: fi
1.86      paf      16351: rm -f conftest.err conftest.$ac_objext \
                   16352:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      16353: LIBS=$ac_check_lib_save_LIBS
                   16354: fi
                   16355: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   16356: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   16357: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      16358: 
1.66      paf      16359: cat >>confdefs.h <<\_ACEOF
                   16360: #define HAVE_SHL_LOAD 1
                   16361: _ACEOF
1.1       paf      16362: 
1.128     moko     16363:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16364:            LIBADD_SHL_LOAD="-ldld"
                   16365: fi
                   16366: 
                   16367: fi
                   16368: 
                   16369: 
                   16370: 
                   16371: case $host_os in
                   16372: darwin[1567].*)
                   16373: # We only want this for pre-Mac OS X 10.4.
                   16374:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   16375: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   16376: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   16377:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16378: else
                   16379:   cat >conftest.$ac_ext <<_ACEOF
                   16380: /* confdefs.h.  */
                   16381: _ACEOF
                   16382: cat confdefs.h >>conftest.$ac_ext
                   16383: cat >>conftest.$ac_ext <<_ACEOF
                   16384: /* end confdefs.h.  */
                   16385: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   16386:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16387: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   16388: 
                   16389: /* System header to define __stub macros and hopefully few prototypes,
                   16390:     which can conflict with char _dyld_func_lookup (); below.
                   16391:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16392:     <limits.h> exists even on freestanding compilers.  */
                   16393: 
                   16394: #ifdef __STDC__
                   16395: # include <limits.h>
                   16396: #else
                   16397: # include <assert.h>
                   16398: #endif
                   16399: 
                   16400: #undef _dyld_func_lookup
                   16401: 
                   16402: /* Override any gcc2 internal prototype to avoid an error.  */
                   16403: #ifdef __cplusplus
                   16404: extern "C"
                   16405: {
                   16406: #endif
                   16407: /* We use char because int might match the return type of a gcc2
                   16408:    builtin and then its argument prototype would still apply.  */
                   16409: char _dyld_func_lookup ();
                   16410: /* The GNU C library defines this for functions which it implements
                   16411:     to always fail with ENOSYS.  Some functions are actually named
                   16412:     something starting with __ and the normal name is an alias.  */
                   16413: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   16414: choke me
                   16415: #else
                   16416: char (*f) () = _dyld_func_lookup;
                   16417: #endif
                   16418: #ifdef __cplusplus
                   16419: }
                   16420: #endif
                   16421: 
                   16422: int
                   16423: main ()
                   16424: {
                   16425: return f != _dyld_func_lookup;
                   16426:   ;
                   16427:   return 0;
                   16428: }
                   16429: _ACEOF
                   16430: rm -f conftest.$ac_objext conftest$ac_exeext
                   16431: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16432:   (eval $ac_link) 2>conftest.er1
                   16433:   ac_status=$?
                   16434:   grep -v '^ *+' conftest.er1 >conftest.err
                   16435:   rm -f conftest.er1
                   16436:   cat conftest.err >&5
                   16437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16438:   (exit $ac_status); } &&
                   16439:         { ac_try='test -z "$ac_c_werror_flag"
                   16440:                         || test ! -s conftest.err'
                   16441:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16442:   (eval $ac_try) 2>&5
                   16443:   ac_status=$?
                   16444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16445:   (exit $ac_status); }; } &&
                   16446:         { ac_try='test -s conftest$ac_exeext'
                   16447:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16448:   (eval $ac_try) 2>&5
                   16449:   ac_status=$?
                   16450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16451:   (exit $ac_status); }; }; then
                   16452:   ac_cv_func__dyld_func_lookup=yes
                   16453: else
                   16454:   echo "$as_me: failed program was:" >&5
                   16455: sed 's/^/| /' conftest.$ac_ext >&5
                   16456: 
                   16457: ac_cv_func__dyld_func_lookup=no
                   16458: fi
                   16459: rm -f conftest.err conftest.$ac_objext \
                   16460:       conftest$ac_exeext conftest.$ac_ext
                   16461: fi
                   16462: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   16463: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   16464: if test $ac_cv_func__dyld_func_lookup = yes; then
                   16465: 
                   16466: cat >>confdefs.h <<\_ACEOF
                   16467: #define HAVE_DYLD 1
                   16468: _ACEOF
                   16469: 
                   16470:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16471: fi
                   16472: 
                   16473:   ;;
                   16474: beos*)
                   16475:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16476:   ;;
                   16477: cygwin* | mingw* | os2* | pw32*)
                   16478:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   16479: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   16480: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   16481:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16482: else
                   16483:   cat >conftest.$ac_ext <<_ACEOF
                   16484: /* confdefs.h.  */
                   16485: _ACEOF
                   16486: cat confdefs.h >>conftest.$ac_ext
                   16487: cat >>conftest.$ac_ext <<_ACEOF
                   16488: /* end confdefs.h.  */
                   16489: #include <sys/cygwin.h>
                   16490: 
                   16491: int
                   16492: main ()
                   16493: {
                   16494: #ifndef cygwin_conv_path
                   16495:   char *p = (char *) cygwin_conv_path;
                   16496: #endif
                   16497: 
                   16498:   ;
                   16499:   return 0;
                   16500: }
                   16501: _ACEOF
                   16502: rm -f conftest.$ac_objext
                   16503: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16504:   (eval $ac_compile) 2>conftest.er1
                   16505:   ac_status=$?
                   16506:   grep -v '^ *+' conftest.er1 >conftest.err
                   16507:   rm -f conftest.er1
                   16508:   cat conftest.err >&5
                   16509:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16510:   (exit $ac_status); } &&
                   16511:         { ac_try='test -z "$ac_c_werror_flag"
                   16512:                         || test ! -s conftest.err'
                   16513:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16514:   (eval $ac_try) 2>&5
                   16515:   ac_status=$?
                   16516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16517:   (exit $ac_status); }; } &&
                   16518:         { ac_try='test -s conftest.$ac_objext'
                   16519:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16520:   (eval $ac_try) 2>&5
                   16521:   ac_status=$?
                   16522:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16523:   (exit $ac_status); }; }; then
                   16524:   ac_cv_have_decl_cygwin_conv_path=yes
                   16525: else
                   16526:   echo "$as_me: failed program was:" >&5
                   16527: sed 's/^/| /' conftest.$ac_ext >&5
                   16528: 
                   16529: ac_cv_have_decl_cygwin_conv_path=no
                   16530: fi
                   16531: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16532: fi
                   16533: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16534: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16535: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   16536: 
                   16537: cat >>confdefs.h <<_ACEOF
                   16538: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16539: _ACEOF
                   16540: 
                   16541: 
1.66      paf      16542: else
1.128     moko     16543:   cat >>confdefs.h <<_ACEOF
                   16544: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   16545: _ACEOF
                   16546: 
                   16547: 
                   16548: fi
                   16549: 
                   16550: 
                   16551:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16552:   ;;
                   16553: esac
                   16554: 
                   16555: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16556: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16557: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.66      paf      16558:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16559: else
                   16560:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16561: LIBS="-ldld  $LIBS"
1.66      paf      16562: cat >conftest.$ac_ext <<_ACEOF
                   16563: /* confdefs.h.  */
                   16564: _ACEOF
                   16565: cat confdefs.h >>conftest.$ac_ext
                   16566: cat >>conftest.$ac_ext <<_ACEOF
                   16567: /* end confdefs.h.  */
1.62      paf      16568: 
1.66      paf      16569: /* Override any gcc2 internal prototype to avoid an error.  */
                   16570: #ifdef __cplusplus
                   16571: extern "C"
                   16572: #endif
                   16573: /* We use char because int might match the return type of a gcc2
                   16574:    builtin and then its argument prototype would still apply.  */
1.128     moko     16575: char dld_link ();
1.66      paf      16576: int
                   16577: main ()
                   16578: {
1.128     moko     16579: dld_link ();
1.66      paf      16580:   ;
                   16581:   return 0;
                   16582: }
                   16583: _ACEOF
                   16584: rm -f conftest.$ac_objext conftest$ac_exeext
                   16585: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16586:   (eval $ac_link) 2>conftest.er1
1.66      paf      16587:   ac_status=$?
1.86      paf      16588:   grep -v '^ *+' conftest.er1 >conftest.err
                   16589:   rm -f conftest.er1
                   16590:   cat conftest.err >&5
1.66      paf      16591:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16592:   (exit $ac_status); } &&
1.86      paf      16593:         { ac_try='test -z "$ac_c_werror_flag"
                   16594:                         || test ! -s conftest.err'
                   16595:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16596:   (eval $ac_try) 2>&5
                   16597:   ac_status=$?
                   16598:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16599:   (exit $ac_status); }; } &&
                   16600:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16601:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16602:   (eval $ac_try) 2>&5
                   16603:   ac_status=$?
                   16604:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16605:   (exit $ac_status); }; }; then
1.128     moko     16606:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16607: else
                   16608:   echo "$as_me: failed program was:" >&5
1.128     moko     16609: sed 's/^/| /' conftest.$ac_ext >&5
                   16610: 
                   16611: ac_cv_lib_dld_dld_link=no
                   16612: fi
                   16613: rm -f conftest.err conftest.$ac_objext \
                   16614:       conftest$ac_exeext conftest.$ac_ext
                   16615: LIBS=$ac_check_lib_save_LIBS
                   16616: fi
                   16617: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16618: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16619: if test $ac_cv_lib_dld_dld_link = yes; then
                   16620: 
                   16621: cat >>confdefs.h <<\_ACEOF
                   16622: #define HAVE_DLD 1
                   16623: _ACEOF
                   16624: 
                   16625:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16626: fi
                   16627: 
                   16628: 
                   16629: 
                   16630: 
                   16631: LT_DLPREOPEN=
                   16632: if test -n "$LT_DLLOADERS"
                   16633: then
                   16634:   for lt_loader in $LT_DLLOADERS; do
                   16635:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16636:   done
                   16637: 
                   16638: cat >>confdefs.h <<\_ACEOF
                   16639: #define HAVE_LIBDLLOADER 1
                   16640: _ACEOF
                   16641: 
                   16642: fi
                   16643: 
                   16644: 
                   16645: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16646: 
                   16647: 
                   16648: ac_ext=c
                   16649: ac_cpp='$CPP $CPPFLAGS'
                   16650: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16651: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16652: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16653: 
                   16654: 
                   16655: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16656: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16657: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16658:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16659: else
                   16660:   lt_cv_sys_symbol_underscore=no
                   16661:   cat > conftest.$ac_ext <<_LT_EOF
                   16662: void nm_test_func(){}
                   16663: int main(){nm_test_func;return 0;}
                   16664: _LT_EOF
                   16665:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16666:   (eval $ac_compile) 2>&5
                   16667:   ac_status=$?
                   16668:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16669:   (exit $ac_status); }; then
                   16670:     # Now try to grab the symbols.
                   16671:     ac_nlist=conftest.nm
                   16672:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16673:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16674:   ac_status=$?
                   16675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16676:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16677:       # See whether the symbols have a leading underscore.
                   16678:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16679:         lt_cv_sys_symbol_underscore=yes
                   16680:       else
                   16681:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16682:          :
                   16683:         else
                   16684:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16685:         fi
                   16686:       fi
                   16687:     else
                   16688:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16689:     fi
                   16690:   else
                   16691:     echo "configure: failed program was:" >&5
                   16692:     cat conftest.c >&5
                   16693:   fi
                   16694:   rm -rf conftest*
1.29      paf      16695: 
1.66      paf      16696: fi
1.128     moko     16697: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16698: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16699:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16700: 
1.62      paf      16701: 
1.128     moko     16702: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16703:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16704:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16705:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16706: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16707: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16708:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16709: else
1.128     moko     16710:   libltdl_cv_need_uscore=unknown
                   16711:           save_LIBS="$LIBS"
                   16712:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16713:          if test "$cross_compiling" = yes; then :
                   16714:   libltdl_cv_need_uscore=cross
                   16715: else
                   16716:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16717:   lt_status=$lt_dlunknown
                   16718:   cat > conftest.$ac_ext <<_LT_EOF
                   16719: #line $LINENO "configure"
                   16720: #include "confdefs.h"
                   16721: 
1.66      paf      16722: #if HAVE_DLFCN_H
1.128     moko     16723: #include <dlfcn.h>
                   16724: #endif
                   16725: 
                   16726: #include <stdio.h>
                   16727: 
                   16728: #ifdef RTLD_GLOBAL
                   16729: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16730: #else
                   16731: #  ifdef DL_GLOBAL
                   16732: #    define LT_DLGLOBAL                DL_GLOBAL
                   16733: #  else
                   16734: #    define LT_DLGLOBAL                0
                   16735: #  endif
                   16736: #endif
                   16737: 
                   16738: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16739:    find out it does not work in some platform. */
                   16740: #ifndef LT_DLLAZY_OR_NOW
                   16741: #  ifdef RTLD_LAZY
                   16742: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16743: #  else
                   16744: #    ifdef DL_LAZY
                   16745: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16746: #    else
                   16747: #      ifdef RTLD_NOW
                   16748: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16749: #      else
                   16750: #        ifdef DL_NOW
                   16751: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16752: #        else
                   16753: #          define LT_DLLAZY_OR_NOW     0
                   16754: #        endif
                   16755: #      endif
                   16756: #    endif
                   16757: #  endif
                   16758: #endif
                   16759: 
                   16760: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16761:    correspondingly for the symbols needed.  */
                   16762: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16763: int fnord () __attribute__((visibility("default")));
1.66      paf      16764: #endif
1.62      paf      16765: 
1.128     moko     16766: int fnord () { return 42; }
                   16767: int main ()
1.66      paf      16768: {
1.128     moko     16769:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16770:   int status = $lt_dlunknown;
                   16771: 
                   16772:   if (self)
                   16773:     {
                   16774:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16775:       else
                   16776:         {
                   16777:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16778:           else puts (dlerror ());
                   16779:        }
                   16780:       /* dlclose (self); */
                   16781:     }
                   16782:   else
                   16783:     puts (dlerror ());
                   16784: 
                   16785:   return status;
1.66      paf      16786: }
1.128     moko     16787: _LT_EOF
                   16788:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16789:   (eval $ac_link) 2>&5
1.66      paf      16790:   ac_status=$?
                   16791:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     16792:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16793:     (./conftest; exit; ) >&5 2>/dev/null
                   16794:     lt_status=$?
                   16795:     case x$lt_status in
                   16796:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16797:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16798:       x$lt_dlunknown|x*)  ;;
                   16799:     esac
                   16800:   else :
                   16801:     # compilation failed
                   16802: 
                   16803:   fi
                   16804: fi
                   16805: rm -fr conftest*
                   16806: 
                   16807:          LIBS="$save_LIBS"
                   16808: 
                   16809: fi
                   16810: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16811: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16812:   fi
                   16813: fi
                   16814: 
                   16815: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16816: 
1.66      paf      16817: cat >>confdefs.h <<\_ACEOF
1.128     moko     16818: #define NEED_USCORE 1
1.66      paf      16819: _ACEOF
1.29      paf      16820: 
1.128     moko     16821: fi
                   16822: 
                   16823: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16824: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16825: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16826:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16827: else
1.128     moko     16828:   # PORTME does your system automatically load deplibs for dlopen?
                   16829:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16830:   # For now, we just catch OSes we know something about -- in the
                   16831:   # future, we'll try test this programmatically.
                   16832:   lt_cv_sys_dlopen_deplibs=unknown
                   16833:   case $host_os in
                   16834:   aix3*|aix4.1.*|aix4.2.*)
                   16835:     # Unknown whether this is true for these versions of AIX, but
                   16836:     # we want this `case' here to explicitly catch those versions.
                   16837:     lt_cv_sys_dlopen_deplibs=unknown
                   16838:     ;;
                   16839:   aix[4-9]*)
                   16840:     lt_cv_sys_dlopen_deplibs=yes
                   16841:     ;;
                   16842:   amigaos*)
                   16843:     case $host_cpu in
                   16844:     powerpc)
                   16845:       lt_cv_sys_dlopen_deplibs=no
                   16846:       ;;
                   16847:     esac
                   16848:     ;;
                   16849:   darwin*)
                   16850:     # Assuming the user has installed a libdl from somewhere, this is true
                   16851:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16852:     lt_cv_sys_dlopen_deplibs=yes
                   16853:     ;;
                   16854:   freebsd* | dragonfly*)
                   16855:     lt_cv_sys_dlopen_deplibs=yes
                   16856:     ;;
                   16857:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16858:     # GNU and its variants, using gnu ld.so (Glibc)
                   16859:     lt_cv_sys_dlopen_deplibs=yes
                   16860:     ;;
                   16861:   hpux10*|hpux11*)
                   16862:     lt_cv_sys_dlopen_deplibs=yes
                   16863:     ;;
                   16864:   interix*)
                   16865:     lt_cv_sys_dlopen_deplibs=yes
                   16866:     ;;
                   16867:   irix[12345]*|irix6.[01]*)
                   16868:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16869:     # know how it worked for any of those versions.
                   16870:     lt_cv_sys_dlopen_deplibs=unknown
                   16871:     ;;
                   16872:   irix*)
                   16873:     # The case above catches anything before 6.2, and it's known that
                   16874:     # at 6.2 and later dlopen does load deplibs.
                   16875:     lt_cv_sys_dlopen_deplibs=yes
                   16876:     ;;
                   16877:   netbsd*)
                   16878:     lt_cv_sys_dlopen_deplibs=yes
                   16879:     ;;
                   16880:   openbsd*)
                   16881:     lt_cv_sys_dlopen_deplibs=yes
                   16882:     ;;
                   16883:   osf[1234]*)
                   16884:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16885:     # it did *not* use an RPATH in a shared library to find objects the
                   16886:     # library depends on, so we explicitly say `no'.
                   16887:     lt_cv_sys_dlopen_deplibs=no
                   16888:     ;;
                   16889:   osf5.0|osf5.0a|osf5.1)
                   16890:     # dlopen *does* load deplibs and with the right loader patch applied
                   16891:     # it even uses RPATH in a shared library to search for shared objects
                   16892:     # that the library depends on, but there's no easy way to know if that
                   16893:     # patch is installed.  Since this is the case, all we can really
                   16894:     # say is unknown -- it depends on the patch being installed.  If
                   16895:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16896:     lt_cv_sys_dlopen_deplibs=unknown
                   16897:     ;;
                   16898:   osf*)
                   16899:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16900:     # the comments above for what we know about them.
                   16901:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16902:     # is used to find them so we can finally say `yes'.
                   16903:     lt_cv_sys_dlopen_deplibs=yes
                   16904:     ;;
                   16905:   qnx*)
                   16906:     lt_cv_sys_dlopen_deplibs=yes
                   16907:     ;;
                   16908:   solaris*)
                   16909:     lt_cv_sys_dlopen_deplibs=yes
                   16910:     ;;
                   16911:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16912:     libltdl_cv_sys_dlopen_deplibs=yes
                   16913:     ;;
                   16914:   esac
                   16915: 
                   16916: fi
                   16917: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16918: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   16919: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16920: 
                   16921: cat >>confdefs.h <<\_ACEOF
                   16922: #define LTDL_DLOPEN_DEPLIBS 1
                   16923: _ACEOF
                   16924: 
                   16925: fi
                   16926: 
                   16927: :
                   16928: 
1.29      paf      16929: 
1.128     moko     16930: for ac_header in argz.h
                   16931: do
                   16932: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16933: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   16934: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   16935: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.66      paf      16936:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16937: else
1.128     moko     16938:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      16939: /* confdefs.h.  */
                   16940: _ACEOF
                   16941: cat confdefs.h >>conftest.$ac_ext
                   16942: cat >>conftest.$ac_ext <<_ACEOF
                   16943: /* end confdefs.h.  */
1.128     moko     16944: $ac_includes_default
1.29      paf      16945: 
1.128     moko     16946: #include <$ac_header>
1.66      paf      16947: _ACEOF
1.128     moko     16948: rm -f conftest.$ac_objext
                   16949: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16950:   (eval $ac_compile) 2>conftest.er1
1.66      paf      16951:   ac_status=$?
1.86      paf      16952:   grep -v '^ *+' conftest.er1 >conftest.err
                   16953:   rm -f conftest.er1
                   16954:   cat conftest.err >&5
1.66      paf      16955:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16956:   (exit $ac_status); } &&
1.86      paf      16957:         { ac_try='test -z "$ac_c_werror_flag"
                   16958:                         || test ! -s conftest.err'
                   16959:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16960:   (eval $ac_try) 2>&5
                   16961:   ac_status=$?
                   16962:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16963:   (exit $ac_status); }; } &&
1.128     moko     16964:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      16965:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16966:   (eval $ac_try) 2>&5
                   16967:   ac_status=$?
                   16968:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16969:   (exit $ac_status); }; }; then
1.128     moko     16970:   eval "$as_ac_Header=yes"
1.66      paf      16971: else
                   16972:   echo "$as_me: failed program was:" >&5
                   16973: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      16974: 
1.128     moko     16975: eval "$as_ac_Header=no"
                   16976: fi
                   16977: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      16978: fi
1.128     moko     16979: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   16980: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   16981: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   16982:   cat >>confdefs.h <<_ACEOF
                   16983: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16984: _ACEOF
                   16985: 
1.66      paf      16986: fi
1.62      paf      16987: 
1.128     moko     16988: done
                   16989: 
1.29      paf      16990: 
1.128     moko     16991: echo "$as_me:$LINENO: checking for error_t" >&5
                   16992: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   16993: if test "${ac_cv_type_error_t+set}" = set; then
1.66      paf      16994:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16995: else
1.128     moko     16996:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      16997: /* confdefs.h.  */
                   16998: _ACEOF
                   16999: cat confdefs.h >>conftest.$ac_ext
                   17000: cat >>conftest.$ac_ext <<_ACEOF
                   17001: /* end confdefs.h.  */
1.128     moko     17002: #if defined(HAVE_ARGZ_H)
                   17003: #  include <argz.h>
                   17004: #endif
1.29      paf      17005: 
1.66      paf      17006: int
                   17007: main ()
                   17008: {
1.128     moko     17009: if ((error_t *) 0)
                   17010:   return 0;
                   17011: if (sizeof (error_t))
                   17012:   return 0;
1.66      paf      17013:   ;
                   17014:   return 0;
                   17015: }
                   17016: _ACEOF
1.128     moko     17017: rm -f conftest.$ac_objext
                   17018: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17019:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17020:   ac_status=$?
1.86      paf      17021:   grep -v '^ *+' conftest.er1 >conftest.err
                   17022:   rm -f conftest.er1
                   17023:   cat conftest.err >&5
1.66      paf      17024:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17025:   (exit $ac_status); } &&
1.86      paf      17026:         { ac_try='test -z "$ac_c_werror_flag"
                   17027:                         || test ! -s conftest.err'
                   17028:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17029:   (eval $ac_try) 2>&5
                   17030:   ac_status=$?
                   17031:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17032:   (exit $ac_status); }; } &&
1.128     moko     17033:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17034:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17035:   (eval $ac_try) 2>&5
                   17036:   ac_status=$?
                   17037:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17038:   (exit $ac_status); }; }; then
1.128     moko     17039:   ac_cv_type_error_t=yes
1.66      paf      17040: else
                   17041:   echo "$as_me: failed program was:" >&5
                   17042: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17043: 
1.128     moko     17044: ac_cv_type_error_t=no
1.66      paf      17045: fi
1.128     moko     17046: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17047: fi
1.128     moko     17048: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   17049: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   17050: if test $ac_cv_type_error_t = yes; then
1.29      paf      17051: 
1.128     moko     17052: cat >>confdefs.h <<_ACEOF
                   17053: #define HAVE_ERROR_T 1
1.62      paf      17054: _ACEOF
1.16      paf      17055: 
                   17056: 
1.128     moko     17057: else
1.16      paf      17058: 
1.128     moko     17059: cat >>confdefs.h <<\_ACEOF
                   17060: #define error_t int
                   17061: _ACEOF
1.16      paf      17062: 
1.12      paf      17063: 
1.128     moko     17064: cat >>confdefs.h <<\_ACEOF
                   17065: #define __error_t_defined 1
                   17066: _ACEOF
1.12      paf      17067: 
1.66      paf      17068: fi
1.12      paf      17069: 
1.128     moko     17070: 
                   17071: ARGZ_H=
1.12      paf      17072: 
                   17073: 
1.62      paf      17074: 
1.1       paf      17075: 
                   17076: 
                   17077: 
                   17078: 
1.128     moko     17079: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17080:        argz_next argz_stringify
1.66      paf      17081: do
                   17082: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17083: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17084: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17085: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17086:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      17087: else
1.64      paf      17088:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17089: /* confdefs.h.  */
                   17090: _ACEOF
                   17091: cat confdefs.h >>conftest.$ac_ext
                   17092: cat >>conftest.$ac_ext <<_ACEOF
                   17093: /* end confdefs.h.  */
1.86      paf      17094: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17095:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17096: #define $ac_func innocuous_$ac_func
                   17097: 
1.64      paf      17098: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      17099:     which can conflict with char $ac_func (); below.
1.64      paf      17100:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17101:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      17102: 
1.64      paf      17103: #ifdef __STDC__
                   17104: # include <limits.h>
                   17105: #else
                   17106: # include <assert.h>
                   17107: #endif
1.86      paf      17108: 
                   17109: #undef $ac_func
                   17110: 
1.8       paf      17111: /* Override any gcc2 internal prototype to avoid an error.  */
                   17112: #ifdef __cplusplus
                   17113: extern "C"
1.64      paf      17114: {
1.8       paf      17115: #endif
                   17116: /* We use char because int might match the return type of a gcc2
1.62      paf      17117:    builtin and then its argument prototype would still apply.  */
1.66      paf      17118: char $ac_func ();
1.64      paf      17119: /* The GNU C library defines this for functions which it implements
                   17120:     to always fail with ENOSYS.  Some functions are actually named
                   17121:     something starting with __ and the normal name is an alias.  */
1.66      paf      17122: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      17123: choke me
                   17124: #else
1.66      paf      17125: char (*f) () = $ac_func;
1.64      paf      17126: #endif
                   17127: #ifdef __cplusplus
                   17128: }
                   17129: #endif
                   17130: 
1.62      paf      17131: int
                   17132: main ()
                   17133: {
1.66      paf      17134: return f != $ac_func;
1.62      paf      17135:   ;
                   17136:   return 0;
                   17137: }
                   17138: _ACEOF
                   17139: rm -f conftest.$ac_objext conftest$ac_exeext
                   17140: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      17141:   (eval $ac_link) 2>conftest.er1
1.62      paf      17142:   ac_status=$?
1.86      paf      17143:   grep -v '^ *+' conftest.er1 >conftest.err
                   17144:   rm -f conftest.er1
                   17145:   cat conftest.err >&5
1.62      paf      17146:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17147:   (exit $ac_status); } &&
1.86      paf      17148:         { ac_try='test -z "$ac_c_werror_flag"
                   17149:                         || test ! -s conftest.err'
                   17150:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17151:   (eval $ac_try) 2>&5
                   17152:   ac_status=$?
                   17153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17154:   (exit $ac_status); }; } &&
                   17155:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17156:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.128     moko     17157:   (eval $ac_try) 2>&5
                   17158:   ac_status=$?
                   17159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17160:   (exit $ac_status); }; }; then
                   17161:   eval "$as_ac_var=yes"
                   17162: else
                   17163:   echo "$as_me: failed program was:" >&5
                   17164: sed 's/^/| /' conftest.$ac_ext >&5
                   17165: 
                   17166: eval "$as_ac_var=no"
                   17167: fi
                   17168: rm -f conftest.err conftest.$ac_objext \
                   17169:       conftest$ac_exeext conftest.$ac_ext
                   17170: fi
                   17171: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17172: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17173: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17174:   cat >>confdefs.h <<_ACEOF
                   17175: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17176: _ACEOF
                   17177: 
                   17178: else
                   17179:   ARGZ_H=argz.h;
                   17180: 
                   17181:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17182: 
                   17183: fi
                   17184: done
                   17185: 
                   17186: 
                   17187: if test -z "$ARGZ_H"; then
                   17188:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   17189: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   17190: if test "${lt_cv_sys_argz_works+set}" = set; then
                   17191:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17192: else
                   17193:   case $host_os in #(
                   17194:         *cygwin*)
                   17195:           lt_cv_sys_argz_works=no
                   17196:           if test "$cross_compiling" != no; then
                   17197:             lt_cv_sys_argz_works="guessing no"
                   17198:           else
                   17199:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17200:             save_IFS=$IFS
                   17201:             IFS=-.
                   17202:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17203:             IFS=$save_IFS
                   17204:             lt_os_major=${2-0}
                   17205:             lt_os_minor=${3-0}
                   17206:             lt_os_micro=${4-0}
                   17207:             if test "$lt_os_major" -gt 1 \
                   17208:                || { test "$lt_os_major" -eq 1 \
                   17209:                  && { test "$lt_os_minor" -gt 5 \
                   17210:                    || { test "$lt_os_minor" -eq 5 \
                   17211:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17212:               lt_cv_sys_argz_works=yes
                   17213:             fi
                   17214:           fi
                   17215:           ;; #(
                   17216:         *) lt_cv_sys_argz_works=yes ;;
                   17217:         esac
                   17218: fi
                   17219: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   17220: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   17221:      if test "$lt_cv_sys_argz_works" = yes; then
                   17222: 
                   17223: cat >>confdefs.h <<\_ACEOF
                   17224: #define HAVE_WORKING_ARGZ 1
                   17225: _ACEOF
                   17226: 
1.62      paf      17227: else
1.128     moko     17228:   ARGZ_H=argz.h
                   17229: 
                   17230: 
                   17231:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17232: 
                   17233: fi
1.62      paf      17234: 
                   17235: fi
1.128     moko     17236: 
                   17237: 
                   17238: 
                   17239: 
                   17240: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17241: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   17242: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   17243:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17244: else
                   17245:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17246:     libltdl_cv_preloaded_symbols=yes
                   17247:   else
                   17248:     libltdl_cv_preloaded_symbols=no
                   17249:   fi
                   17250: 
1.62      paf      17251: fi
1.128     moko     17252: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   17253: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   17254: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17255: 
                   17256: cat >>confdefs.h <<\_ACEOF
                   17257: #define HAVE_PRELOADED_SYMBOLS 1
1.66      paf      17258: _ACEOF
                   17259: 
                   17260: fi
                   17261: 
1.128     moko     17262: # Set options
                   17263: 
                   17264: 
                   17265: 
                   17266: 
                   17267: 
                   17268: 
                   17269: 
                   17270: 
                   17271: 
                   17272: 
1.66      paf      17273: 
                   17274: 
1.128     moko     17275: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   17276: if test "${with_included_ltdl+set}" = set; then
                   17277:   withval="$with_included_ltdl"
1.64      paf      17278: 
1.128     moko     17279: fi;
1.64      paf      17280: 
1.128     moko     17281: if test "x$with_included_ltdl" != xyes; then
                   17282:   # We are not being forced to use the included libltdl sources, so
                   17283:   # decide whether there is a useful installed version we can use.
                   17284:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   17285: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   17286: if test "${ac_cv_header_ltdl_h+set}" = set; then
1.79      paf      17287:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17288: else
1.128     moko     17289:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17290: /* confdefs.h.  */
                   17291: _ACEOF
                   17292: cat confdefs.h >>conftest.$ac_ext
                   17293: cat >>conftest.$ac_ext <<_ACEOF
                   17294: /* end confdefs.h.  */
1.128     moko     17295: $ac_includes_default
1.79      paf      17296: 
                   17297: 
1.128     moko     17298: #include <ltdl.h>
1.79      paf      17299: _ACEOF
                   17300: rm -f conftest.$ac_objext
                   17301: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17302:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17303:   ac_status=$?
1.86      paf      17304:   grep -v '^ *+' conftest.er1 >conftest.err
                   17305:   rm -f conftest.er1
                   17306:   cat conftest.err >&5
1.79      paf      17307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17308:   (exit $ac_status); } &&
1.86      paf      17309:         { ac_try='test -z "$ac_c_werror_flag"
                   17310:                         || test ! -s conftest.err'
                   17311:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17312:   (eval $ac_try) 2>&5
                   17313:   ac_status=$?
                   17314:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17315:   (exit $ac_status); }; } &&
                   17316:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17317:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17318:   (eval $ac_try) 2>&5
                   17319:   ac_status=$?
                   17320:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17321:   (exit $ac_status); }; }; then
1.128     moko     17322:   ac_cv_header_ltdl_h=yes
                   17323: else
                   17324:   echo "$as_me: failed program was:" >&5
                   17325: sed 's/^/| /' conftest.$ac_ext >&5
                   17326: 
                   17327: ac_cv_header_ltdl_h=no
                   17328: fi
                   17329: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17330: fi
                   17331: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   17332: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   17333: if test $ac_cv_header_ltdl_h = yes; then
                   17334:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   17335: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   17336: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   17337:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17338: else
                   17339:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17340: /* confdefs.h.  */
                   17341: _ACEOF
                   17342: cat confdefs.h >>conftest.$ac_ext
                   17343: cat >>conftest.$ac_ext <<_ACEOF
                   17344: /* end confdefs.h.  */
1.128     moko     17345: $ac_includes_default
                   17346:            #include <ltdl.h>
1.79      paf      17347: 
                   17348: int
                   17349: main ()
                   17350: {
1.128     moko     17351: #ifndef lt_dlinterface_register
                   17352:   char *p = (char *) lt_dlinterface_register;
1.79      paf      17353: #endif
                   17354: 
                   17355:   ;
                   17356:   return 0;
                   17357: }
                   17358: _ACEOF
                   17359: rm -f conftest.$ac_objext
                   17360: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17361:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17362:   ac_status=$?
1.86      paf      17363:   grep -v '^ *+' conftest.er1 >conftest.err
                   17364:   rm -f conftest.er1
                   17365:   cat conftest.err >&5
1.79      paf      17366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17367:   (exit $ac_status); } &&
1.86      paf      17368:         { ac_try='test -z "$ac_c_werror_flag"
                   17369:                         || test ! -s conftest.err'
                   17370:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17371:   (eval $ac_try) 2>&5
                   17372:   ac_status=$?
                   17373:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17374:   (exit $ac_status); }; } &&
                   17375:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17376:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17377:   (eval $ac_try) 2>&5
                   17378:   ac_status=$?
                   17379:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17380:   (exit $ac_status); }; }; then
1.128     moko     17381:   ac_cv_have_decl_lt_dlinterface_register=yes
1.79      paf      17382: else
                   17383:   echo "$as_me: failed program was:" >&5
                   17384: sed 's/^/| /' conftest.$ac_ext >&5
                   17385: 
1.128     moko     17386: ac_cv_have_decl_lt_dlinterface_register=no
1.79      paf      17387: fi
1.86      paf      17388: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17389: fi
                   17390: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   17391: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   17392: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   17393:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   17394: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   17395: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   17396:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.79      paf      17397: else
1.128     moko     17398:   ac_check_lib_save_LIBS=$LIBS
                   17399: LIBS="-lltdl  $LIBS"
                   17400: cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17401: /* confdefs.h.  */
                   17402: _ACEOF
                   17403: cat confdefs.h >>conftest.$ac_ext
                   17404: cat >>conftest.$ac_ext <<_ACEOF
                   17405: /* end confdefs.h.  */
1.128     moko     17406: 
                   17407: /* Override any gcc2 internal prototype to avoid an error.  */
                   17408: #ifdef __cplusplus
                   17409: extern "C"
                   17410: #endif
                   17411: /* We use char because int might match the return type of a gcc2
                   17412:    builtin and then its argument prototype would still apply.  */
                   17413: char lt_dladvise_preload ();
1.79      paf      17414: int
                   17415: main ()
                   17416: {
1.128     moko     17417: lt_dladvise_preload ();
1.79      paf      17418:   ;
                   17419:   return 0;
                   17420: }
                   17421: _ACEOF
1.128     moko     17422: rm -f conftest.$ac_objext conftest$ac_exeext
                   17423: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17424:   (eval $ac_link) 2>conftest.er1
1.79      paf      17425:   ac_status=$?
1.86      paf      17426:   grep -v '^ *+' conftest.er1 >conftest.err
                   17427:   rm -f conftest.er1
                   17428:   cat conftest.err >&5
1.79      paf      17429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17430:   (exit $ac_status); } &&
1.86      paf      17431:         { ac_try='test -z "$ac_c_werror_flag"
                   17432:                         || test ! -s conftest.err'
                   17433:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17434:   (eval $ac_try) 2>&5
                   17435:   ac_status=$?
                   17436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17437:   (exit $ac_status); }; } &&
1.128     moko     17438:         { ac_try='test -s conftest$ac_exeext'
1.79      paf      17439:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17440:   (eval $ac_try) 2>&5
                   17441:   ac_status=$?
                   17442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17443:   (exit $ac_status); }; }; then
1.128     moko     17444:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17445: else
                   17446:   echo "$as_me: failed program was:" >&5
                   17447: sed 's/^/| /' conftest.$ac_ext >&5
                   17448: 
1.128     moko     17449: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   17450: fi
                   17451: rm -f conftest.err conftest.$ac_objext \
                   17452:       conftest$ac_exeext conftest.$ac_ext
                   17453: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17454: fi
1.128     moko     17455: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17456: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   17457: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   17458:   with_included_ltdl=no
1.79      paf      17459: else
1.128     moko     17460:   with_included_ltdl=yes
                   17461: fi
                   17462: 
1.79      paf      17463: else
1.128     moko     17464:   with_included_ltdl=yes
                   17465: fi
1.79      paf      17466: 
1.128     moko     17467: else
                   17468:   with_included_ltdl=yes
1.79      paf      17469: fi
1.128     moko     17470: 
                   17471: 
1.79      paf      17472: fi
1.128     moko     17473: 
                   17474: 
                   17475: 
                   17476: 
                   17477: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   17478: if test "${with_ltdl_include+set}" = set; then
                   17479:   withval="$with_ltdl_include"
                   17480: 
                   17481: fi;
                   17482: 
                   17483: if test -n "$with_ltdl_include"; then
                   17484:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17485:   else
                   17486:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   17487: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   17488:    { (exit 1); exit 1; }; }
                   17489:   fi
                   17490: else
                   17491:   with_ltdl_include=no
1.79      paf      17492: fi
1.128     moko     17493: 
                   17494: 
                   17495: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   17496: if test "${with_ltdl_lib+set}" = set; then
                   17497:   withval="$with_ltdl_lib"
                   17498: 
                   17499: fi;
                   17500: 
                   17501: if test -n "$with_ltdl_lib"; then
                   17502:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17503:   else
                   17504:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17505: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17506:    { (exit 1); exit 1; }; }
                   17507:   fi
                   17508: else
                   17509:   with_ltdl_lib=no
1.79      paf      17510: fi
                   17511: 
1.128     moko     17512: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17513:   ,yes,no,no,)
                   17514:        case $enable_ltdl_convenience in
                   17515:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17516: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17517:    { (exit 1); exit 1; }; } ;;
                   17518:   "") enable_ltdl_convenience=yes
                   17519:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17520: esac
                   17521: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   17522: LTDLDEPS=$LIBLTDL
                   17523: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17524: 
                   17525: 
                   17526: 
                   17527: 
                   17528: 
                   17529: # For backwards non-gettext consistent compatibility...
                   17530: INCLTDL="$LTDLINCL"
                   17531: 
1.79      paf      17532: 
1.128     moko     17533:        ;;
                   17534:   ,no,no,no,)
                   17535:        # If the included ltdl is not to be used, then use the
                   17536:        # preinstalled libltdl we found.
1.79      paf      17537: 
                   17538: cat >>confdefs.h <<\_ACEOF
1.128     moko     17539: #define HAVE_LTDL 1
1.79      paf      17540: _ACEOF
                   17541: 
1.128     moko     17542:        LIBLTDL=-lltdl
                   17543:        LTDLDEPS=
                   17544:        LTDLINCL=
                   17545:        ;;
                   17546:   ,no*,no,*)
                   17547:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17548: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
1.79      paf      17549:    { (exit 1); exit 1; }; }
1.128     moko     17550:        ;;
                   17551:   *)   with_included_ltdl=no
                   17552:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17553:        LTDLDEPS=
                   17554:        LTDLINCL="-I$with_ltdl_include"
                   17555:        ;;
                   17556: esac
                   17557: INCLTDL="$LTDLINCL"
                   17558: 
                   17559: # Report our decision...
                   17560: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17561: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17562: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17563: echo "${ECHO_T}$LTDLINCL" >&6
                   17564: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17565: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17566: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17567: echo "${ECHO_T}$LIBLTDL" >&6
                   17568: 
                   17569: 
                   17570: 
                   17571: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17572: if test "${enable_ltdl_install+set}" = set; then
                   17573:   enableval="$enable_ltdl_install"
                   17574: 
                   17575: fi;
                   17576: 
                   17577: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17578:   *yes*) ;;
                   17579:   *) enable_ltdl_convenience=yes ;;
                   17580: esac
                   17581: 
                   17582: 
                   17583: 
                   17584: if test x"${enable_ltdl_install-no}" != xno; then
                   17585:   INSTALL_LTDL_TRUE=
                   17586:   INSTALL_LTDL_FALSE='#'
                   17587: else
                   17588:   INSTALL_LTDL_TRUE='#'
                   17589:   INSTALL_LTDL_FALSE=
                   17590: fi
                   17591: 
                   17592: 
                   17593: 
                   17594: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17595:   CONVENIENCE_LTDL_TRUE=
                   17596:   CONVENIENCE_LTDL_FALSE='#'
                   17597: else
                   17598:   CONVENIENCE_LTDL_TRUE='#'
                   17599:   CONVENIENCE_LTDL_FALSE=
                   17600: fi
                   17601: 
                   17602: 
                   17603: 
                   17604: 
                   17605: 
                   17606: subdirs="$subdirs src/lib/ltdl"
                   17607: 
                   17608: 
                   17609: 
                   17610: 
                   17611: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17612: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17613: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17614: # definitions required by ltdl.c.
                   17615: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17616: 
                   17617: 
                   17618: 
                   17619: 
                   17620: 
                   17621: 
                   17622: 
1.79      paf      17623: 
                   17624: 
1.128     moko     17625: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17626: do
                   17627: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17628: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17629: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17630: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      17631:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17632: else
1.66      paf      17633:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17634: /* confdefs.h.  */
                   17635: _ACEOF
                   17636: cat confdefs.h >>conftest.$ac_ext
                   17637: cat >>conftest.$ac_ext <<_ACEOF
                   17638: /* end confdefs.h.  */
1.128     moko     17639: $ac_includes_default
                   17640: 
                   17641: #include <$ac_header>
1.62      paf      17642: _ACEOF
1.128     moko     17643: rm -f conftest.$ac_objext
                   17644: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17645:   (eval $ac_compile) 2>conftest.er1
1.62      paf      17646:   ac_status=$?
1.66      paf      17647:   grep -v '^ *+' conftest.er1 >conftest.err
                   17648:   rm -f conftest.er1
                   17649:   cat conftest.err >&5
1.62      paf      17650:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17651:   (exit $ac_status); } &&
                   17652:         { ac_try='test -z "$ac_c_werror_flag"
                   17653:                         || test ! -s conftest.err'
                   17654:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17655:   (eval $ac_try) 2>&5
                   17656:   ac_status=$?
                   17657:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17658:   (exit $ac_status); }; } &&
                   17659:         { ac_try='test -s conftest.$ac_objext'
                   17660:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17661:   (eval $ac_try) 2>&5
                   17662:   ac_status=$?
                   17663:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17664:   (exit $ac_status); }; }; then
                   17665:   eval "$as_ac_Header=yes"
1.62      paf      17666: else
                   17667:   echo "$as_me: failed program was:" >&5
                   17668: sed 's/^/| /' conftest.$ac_ext >&5
                   17669: 
1.128     moko     17670: eval "$as_ac_Header=no"
                   17671: fi
                   17672: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17673: fi
1.128     moko     17674: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17675: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17676: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17677:   cat >>confdefs.h <<_ACEOF
                   17678: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17679: _ACEOF
                   17680: 
                   17681: fi
1.66      paf      17682: 
                   17683: done
1.64      paf      17684: 
                   17685: 
1.128     moko     17686: 
                   17687: 
                   17688: 
                   17689: for ac_func in closedir opendir readdir
                   17690: do
                   17691: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17692: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17693: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17694: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17695:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      17696: else
                   17697:   cat >conftest.$ac_ext <<_ACEOF
                   17698: /* confdefs.h.  */
                   17699: _ACEOF
                   17700: cat confdefs.h >>conftest.$ac_ext
                   17701: cat >>conftest.$ac_ext <<_ACEOF
                   17702: /* end confdefs.h.  */
1.128     moko     17703: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17704:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17705: #define $ac_func innocuous_$ac_func
                   17706: 
                   17707: /* System header to define __stub macros and hopefully few prototypes,
                   17708:     which can conflict with char $ac_func (); below.
                   17709:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17710:     <limits.h> exists even on freestanding compilers.  */
                   17711: 
1.66      paf      17712: #ifdef __STDC__
                   17713: # include <limits.h>
                   17714: #else
                   17715: # include <assert.h>
1.64      paf      17716: #endif
1.128     moko     17717: 
                   17718: #undef $ac_func
                   17719: 
                   17720: /* Override any gcc2 internal prototype to avoid an error.  */
                   17721: #ifdef __cplusplus
                   17722: extern "C"
                   17723: {
                   17724: #endif
                   17725: /* We use char because int might match the return type of a gcc2
                   17726:    builtin and then its argument prototype would still apply.  */
                   17727: char $ac_func ();
                   17728: /* The GNU C library defines this for functions which it implements
                   17729:     to always fail with ENOSYS.  Some functions are actually named
                   17730:     something starting with __ and the normal name is an alias.  */
                   17731: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17732: choke me
                   17733: #else
                   17734: char (*f) () = $ac_func;
                   17735: #endif
                   17736: #ifdef __cplusplus
                   17737: }
                   17738: #endif
                   17739: 
                   17740: int
                   17741: main ()
                   17742: {
                   17743: return f != $ac_func;
                   17744:   ;
                   17745:   return 0;
                   17746: }
1.64      paf      17747: _ACEOF
1.128     moko     17748: rm -f conftest.$ac_objext conftest$ac_exeext
                   17749: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17750:   (eval $ac_link) 2>conftest.er1
1.64      paf      17751:   ac_status=$?
1.66      paf      17752:   grep -v '^ *+' conftest.er1 >conftest.err
                   17753:   rm -f conftest.er1
                   17754:   cat conftest.err >&5
1.64      paf      17755:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17756:   (exit $ac_status); } &&
                   17757:         { ac_try='test -z "$ac_c_werror_flag"
                   17758:                         || test ! -s conftest.err'
                   17759:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17760:   (eval $ac_try) 2>&5
                   17761:   ac_status=$?
                   17762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17763:   (exit $ac_status); }; } &&
                   17764:         { ac_try='test -s conftest$ac_exeext'
                   17765:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17766:   (eval $ac_try) 2>&5
1.62      paf      17767:   ac_status=$?
                   17768:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17769:   (exit $ac_status); }; }; then
                   17770:   eval "$as_ac_var=yes"
1.62      paf      17771: else
                   17772:   echo "$as_me: failed program was:" >&5
                   17773: sed 's/^/| /' conftest.$ac_ext >&5
                   17774: 
1.128     moko     17775: eval "$as_ac_var=no"
                   17776: fi
                   17777: rm -f conftest.err conftest.$ac_objext \
                   17778:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      17779: fi
1.128     moko     17780: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17781: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17782: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17783:   cat >>confdefs.h <<_ACEOF
                   17784: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17785: _ACEOF
1.66      paf      17786: 
                   17787: else
1.64      paf      17788: 
1.66      paf      17789: 
1.128     moko     17790:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17791: 
1.66      paf      17792: fi
1.128     moko     17793: done
                   17794: 
1.66      paf      17795: 
                   17796: 
1.128     moko     17797: for ac_func in strlcat strlcpy
                   17798: do
                   17799: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17800: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17801: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17802: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17803:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      17804: else
1.66      paf      17805:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17806: /* confdefs.h.  */
                   17807: _ACEOF
                   17808: cat confdefs.h >>conftest.$ac_ext
                   17809: cat >>conftest.$ac_ext <<_ACEOF
                   17810: /* end confdefs.h.  */
1.128     moko     17811: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17812:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17813: #define $ac_func innocuous_$ac_func
                   17814: 
                   17815: /* System header to define __stub macros and hopefully few prototypes,
                   17816:     which can conflict with char $ac_func (); below.
                   17817:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17818:     <limits.h> exists even on freestanding compilers.  */
                   17819: 
                   17820: #ifdef __STDC__
                   17821: # include <limits.h>
                   17822: #else
                   17823: # include <assert.h>
                   17824: #endif
                   17825: 
                   17826: #undef $ac_func
                   17827: 
                   17828: /* Override any gcc2 internal prototype to avoid an error.  */
                   17829: #ifdef __cplusplus
                   17830: extern "C"
                   17831: {
                   17832: #endif
                   17833: /* We use char because int might match the return type of a gcc2
                   17834:    builtin and then its argument prototype would still apply.  */
                   17835: char $ac_func ();
                   17836: /* The GNU C library defines this for functions which it implements
                   17837:     to always fail with ENOSYS.  Some functions are actually named
                   17838:     something starting with __ and the normal name is an alias.  */
                   17839: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17840: choke me
                   17841: #else
                   17842: char (*f) () = $ac_func;
                   17843: #endif
                   17844: #ifdef __cplusplus
                   17845: }
                   17846: #endif
1.62      paf      17847: 
                   17848: int
                   17849: main ()
                   17850: {
1.128     moko     17851: return f != $ac_func;
1.62      paf      17852:   ;
                   17853:   return 0;
                   17854: }
                   17855: _ACEOF
1.128     moko     17856: rm -f conftest.$ac_objext conftest$ac_exeext
                   17857: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17858:   (eval $ac_link) 2>conftest.er1
1.62      paf      17859:   ac_status=$?
1.86      paf      17860:   grep -v '^ *+' conftest.er1 >conftest.err
                   17861:   rm -f conftest.er1
                   17862:   cat conftest.err >&5
1.62      paf      17863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17864:   (exit $ac_status); } &&
1.86      paf      17865:         { ac_try='test -z "$ac_c_werror_flag"
                   17866:                         || test ! -s conftest.err'
                   17867:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17868:   (eval $ac_try) 2>&5
                   17869:   ac_status=$?
                   17870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17871:   (exit $ac_status); }; } &&
1.128     moko     17872:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17873:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17874:   (eval $ac_try) 2>&5
                   17875:   ac_status=$?
                   17876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17877:   (exit $ac_status); }; }; then
1.128     moko     17878:   eval "$as_ac_var=yes"
1.62      paf      17879: else
                   17880:   echo "$as_me: failed program was:" >&5
                   17881: sed 's/^/| /' conftest.$ac_ext >&5
                   17882: 
1.128     moko     17883: eval "$as_ac_var=no"
                   17884: fi
                   17885: rm -f conftest.err conftest.$ac_objext \
                   17886:       conftest$ac_exeext conftest.$ac_ext
                   17887: fi
                   17888: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17889: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17890: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17891:   cat >>confdefs.h <<_ACEOF
                   17892: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17893: _ACEOF
                   17894: 
                   17895: else
                   17896: 
                   17897: 
                   17898:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17899: 
1.62      paf      17900: fi
1.128     moko     17901: done
                   17902: 
                   17903: 
1.64      paf      17904: 
1.128     moko     17905: cat >>confdefs.h <<_ACEOF
                   17906: #define LT_LIBEXT "$libext"
1.62      paf      17907: _ACEOF
1.64      paf      17908: 
1.128     moko     17909: 
                   17910: name=
                   17911: eval "lt_libprefix=\"$libname_spec\""
                   17912: 
                   17913: cat >>confdefs.h <<_ACEOF
                   17914: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17915: _ACEOF
1.128     moko     17916: 
                   17917: 
                   17918: name=ltdl
                   17919: eval "LTDLOPEN=\"$libname_spec\""
                   17920: 
                   17921: 
                   17922: 
                   17923: 
                   17924: 
                   17925: 
                   17926: 
                   17927: 
                   17928: # Only expand once:
                   17929: 
                   17930: 
                   17931: 
                   17932: 
                   17933: # Check whether --enable-static or --disable-static was given.
                   17934: if test "${enable_static+set}" = set; then
                   17935:   enableval="$enable_static"
                   17936:   p=${PACKAGE-default}
                   17937:     case $enableval in
                   17938:     yes) enable_static=yes ;;
                   17939:     no) enable_static=no ;;
                   17940:     *)
                   17941:      enable_static=no
                   17942:       # Look at the argument we got.  We use all the common list separators.
                   17943:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   17944:       for pkg in $enableval; do
                   17945:        IFS="$lt_save_ifs"
                   17946:        if test "X$pkg" = "X$p"; then
                   17947:          enable_static=yes
                   17948:        fi
                   17949:       done
                   17950:       IFS="$lt_save_ifs"
                   17951:       ;;
                   17952:     esac
1.66      paf      17953: else
1.128     moko     17954:   enable_static=no
                   17955: fi;
                   17956: 
                   17957: 
                   17958: 
                   17959: 
                   17960: 
1.64      paf      17961: 
                   17962: 
1.128     moko     17963: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   17964: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   17965: if test "${ac_cv_c_bigendian+set}" = set; then
                   17966:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17967: else
                   17968:   # See if sys/param.h defines the BYTE_ORDER macro.
                   17969: cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17970: /* confdefs.h.  */
                   17971: _ACEOF
                   17972: cat confdefs.h >>conftest.$ac_ext
                   17973: cat >>conftest.$ac_ext <<_ACEOF
                   17974: /* end confdefs.h.  */
1.128     moko     17975: #include <sys/types.h>
                   17976: #include <sys/param.h>
                   17977: 
                   17978: int
                   17979: main ()
                   17980: {
                   17981: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   17982:  bogus endian macros
                   17983: #endif
1.64      paf      17984: 
1.128     moko     17985:   ;
                   17986:   return 0;
                   17987: }
1.66      paf      17988: _ACEOF
1.128     moko     17989: rm -f conftest.$ac_objext
                   17990: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17991:   (eval $ac_compile) 2>conftest.er1
                   17992:   ac_status=$?
                   17993:   grep -v '^ *+' conftest.er1 >conftest.err
                   17994:   rm -f conftest.er1
                   17995:   cat conftest.err >&5
                   17996:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17997:   (exit $ac_status); } &&
                   17998:         { ac_try='test -z "$ac_c_werror_flag"
                   17999:                         || test ! -s conftest.err'
                   18000:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18001:   (eval $ac_try) 2>&5
                   18002:   ac_status=$?
                   18003:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18004:   (exit $ac_status); }; } &&
                   18005:         { ac_try='test -s conftest.$ac_objext'
                   18006:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18007:   (eval $ac_try) 2>&5
                   18008:   ac_status=$?
                   18009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18010:   (exit $ac_status); }; }; then
                   18011:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   18012: cat >conftest.$ac_ext <<_ACEOF
1.64      paf      18013: /* confdefs.h.  */
                   18014: _ACEOF
                   18015: cat confdefs.h >>conftest.$ac_ext
                   18016: cat >>conftest.$ac_ext <<_ACEOF
                   18017: /* end confdefs.h.  */
1.128     moko     18018: #include <sys/types.h>
                   18019: #include <sys/param.h>
1.64      paf      18020: 
                   18021: int
                   18022: main ()
1.128     moko     18023: {
                   18024: #if BYTE_ORDER != BIG_ENDIAN
                   18025:  not big endian
                   18026: #endif
                   18027: 
                   18028:   ;
                   18029:   return 0;
1.64      paf      18030: }
                   18031: _ACEOF
1.128     moko     18032: rm -f conftest.$ac_objext
                   18033: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18034:   (eval $ac_compile) 2>conftest.er1
                   18035:   ac_status=$?
                   18036:   grep -v '^ *+' conftest.er1 >conftest.err
                   18037:   rm -f conftest.er1
                   18038:   cat conftest.err >&5
                   18039:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18040:   (exit $ac_status); } &&
                   18041:         { ac_try='test -z "$ac_c_werror_flag"
                   18042:                         || test ! -s conftest.err'
                   18043:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18044:   (eval $ac_try) 2>&5
1.64      paf      18045:   ac_status=$?
                   18046:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     18047:   (exit $ac_status); }; } &&
                   18048:         { ac_try='test -s conftest.$ac_objext'
1.64      paf      18049:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18050:   (eval $ac_try) 2>&5
                   18051:   ac_status=$?
                   18052:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18053:   (exit $ac_status); }; }; then
1.128     moko     18054:   ac_cv_c_bigendian=yes
1.64      paf      18055: else
1.128     moko     18056:   echo "$as_me: failed program was:" >&5
1.64      paf      18057: sed 's/^/| /' conftest.$ac_ext >&5
                   18058: 
1.128     moko     18059: ac_cv_c_bigendian=no
1.66      paf      18060: fi
1.128     moko     18061: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18062: else
                   18063:   echo "$as_me: failed program was:" >&5
                   18064: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      18065: 
1.128     moko     18066: # It does not; compile a test program.
                   18067: if test "$cross_compiling" = yes; then
                   18068:   # try to guess the endianness by grepping values into an object file
                   18069:   ac_cv_c_bigendian=unknown
1.62      paf      18070:   cat >conftest.$ac_ext <<_ACEOF
                   18071: /* confdefs.h.  */
                   18072: _ACEOF
                   18073: cat confdefs.h >>conftest.$ac_ext
                   18074: cat >>conftest.$ac_ext <<_ACEOF
                   18075: /* end confdefs.h.  */
1.128     moko     18076: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   18077: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   18078: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   18079: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   18080: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   18081: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   18082: int
                   18083: main ()
                   18084: {
                   18085:  _ascii (); _ebcdic ();
                   18086:   ;
                   18087:   return 0;
                   18088: }
1.62      paf      18089: _ACEOF
1.66      paf      18090: rm -f conftest.$ac_objext
                   18091: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18092:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18093:   ac_status=$?
1.86      paf      18094:   grep -v '^ *+' conftest.er1 >conftest.err
                   18095:   rm -f conftest.er1
                   18096:   cat conftest.err >&5
1.66      paf      18097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18098:   (exit $ac_status); } &&
1.86      paf      18099:         { ac_try='test -z "$ac_c_werror_flag"
                   18100:                         || test ! -s conftest.err'
                   18101:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18102:   (eval $ac_try) 2>&5
                   18103:   ac_status=$?
                   18104:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18105:   (exit $ac_status); }; } &&
                   18106:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18107:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18108:   (eval $ac_try) 2>&5
1.62      paf      18109:   ac_status=$?
                   18110:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18111:   (exit $ac_status); }; }; then
1.128     moko     18112:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   18113:   ac_cv_c_bigendian=yes
                   18114: fi
                   18115: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   18116:   if test "$ac_cv_c_bigendian" = unknown; then
                   18117:     ac_cv_c_bigendian=no
                   18118:   else
                   18119:     # finding both strings is unlikely to happen, but who knows?
                   18120:     ac_cv_c_bigendian=unknown
                   18121:   fi
                   18122: fi
1.62      paf      18123: else
                   18124:   echo "$as_me: failed program was:" >&5
                   18125: sed 's/^/| /' conftest.$ac_ext >&5
                   18126: 
1.128     moko     18127: fi
                   18128: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18129: else
                   18130:   cat >conftest.$ac_ext <<_ACEOF
                   18131: /* confdefs.h.  */
                   18132: _ACEOF
                   18133: cat confdefs.h >>conftest.$ac_ext
                   18134: cat >>conftest.$ac_ext <<_ACEOF
                   18135: /* end confdefs.h.  */
                   18136: int
                   18137: main ()
                   18138: {
                   18139:   /* Are we little or big endian?  From Harbison&Steele.  */
                   18140:   union
                   18141:   {
                   18142:     long l;
                   18143:     char c[sizeof (long)];
                   18144:   } u;
                   18145:   u.l = 1;
                   18146:   exit (u.c[sizeof (long) - 1] == 1);
                   18147: }
                   18148: _ACEOF
                   18149: rm -f conftest$ac_exeext
                   18150: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   18151:   (eval $ac_link) 2>&5
                   18152:   ac_status=$?
                   18153:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18154:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   18155:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18156:   (eval $ac_try) 2>&5
                   18157:   ac_status=$?
                   18158:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18159:   (exit $ac_status); }; }; then
                   18160:   ac_cv_c_bigendian=no
                   18161: else
                   18162:   echo "$as_me: program exited with status $ac_status" >&5
                   18163: echo "$as_me: failed program was:" >&5
                   18164: sed 's/^/| /' conftest.$ac_ext >&5
                   18165: 
                   18166: ( exit $ac_status )
                   18167: ac_cv_c_bigendian=yes
                   18168: fi
                   18169: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   18170: fi
1.66      paf      18171: fi
1.86      paf      18172: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18173: fi
1.128     moko     18174: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   18175: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   18176: case $ac_cv_c_bigendian in
                   18177:   yes)
                   18178: 
                   18179: cat >>confdefs.h <<\_ACEOF
                   18180: #define PA_BIG_ENDIAN
1.66      paf      18181: _ACEOF
                   18182: 
1.128     moko     18183:  ;;
                   18184:   no)
                   18185: 
                   18186: cat >>confdefs.h <<\_ACEOF
                   18187: #define PA_LITTLE_ENDIAN
                   18188: _ACEOF
1.1       paf      18189: 
1.128     moko     18190:  ;;
                   18191:   *)
                   18192:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   18193: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   18194:    { (exit 1); exit 1; }; }
                   18195:  ;;
                   18196: esac
1.66      paf      18197: 
                   18198: 
                   18199: echo "$as_me:$LINENO: checking for size_t" >&5
                   18200: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   18201: if test "${ac_cv_type_size_t+set}" = set; then
                   18202:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18203: else
1.62      paf      18204:   cat >conftest.$ac_ext <<_ACEOF
                   18205: /* confdefs.h.  */
                   18206: _ACEOF
                   18207: cat confdefs.h >>conftest.$ac_ext
                   18208: cat >>conftest.$ac_ext <<_ACEOF
                   18209: /* end confdefs.h.  */
1.66      paf      18210: $ac_includes_default
                   18211: int
                   18212: main ()
                   18213: {
                   18214: if ((size_t *) 0)
                   18215:   return 0;
                   18216: if (sizeof (size_t))
                   18217:   return 0;
                   18218:   ;
                   18219:   return 0;
                   18220: }
1.62      paf      18221: _ACEOF
1.66      paf      18222: rm -f conftest.$ac_objext
                   18223: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18224:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18225:   ac_status=$?
1.86      paf      18226:   grep -v '^ *+' conftest.er1 >conftest.err
                   18227:   rm -f conftest.er1
                   18228:   cat conftest.err >&5
1.66      paf      18229:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18230:   (exit $ac_status); } &&
1.86      paf      18231:         { ac_try='test -z "$ac_c_werror_flag"
                   18232:                         || test ! -s conftest.err'
                   18233:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18234:   (eval $ac_try) 2>&5
                   18235:   ac_status=$?
                   18236:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18237:   (exit $ac_status); }; } &&
                   18238:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18239:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18240:   (eval $ac_try) 2>&5
1.62      paf      18241:   ac_status=$?
                   18242:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18243:   (exit $ac_status); }; }; then
                   18244:   ac_cv_type_size_t=yes
1.1       paf      18245: else
1.62      paf      18246:   echo "$as_me: failed program was:" >&5
                   18247: sed 's/^/| /' conftest.$ac_ext >&5
                   18248: 
1.66      paf      18249: ac_cv_type_size_t=no
1.1       paf      18250: fi
1.86      paf      18251: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18252: fi
1.66      paf      18253: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   18254: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   18255: if test $ac_cv_type_size_t = yes; then
                   18256:   :
                   18257: else
1.1       paf      18258: 
1.66      paf      18259: cat >>confdefs.h <<_ACEOF
                   18260: #define size_t unsigned
                   18261: _ACEOF
1.62      paf      18262: 
                   18263: fi
1.66      paf      18264: 
1.128     moko     18265: 
                   18266: 
1.66      paf      18267: echo "$as_me:$LINENO: checking for off_t" >&5
                   18268: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   18269: if test "${ac_cv_type_off_t+set}" = set; then
                   18270:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      18271: else
                   18272:   cat >conftest.$ac_ext <<_ACEOF
                   18273: /* confdefs.h.  */
                   18274: _ACEOF
                   18275: cat confdefs.h >>conftest.$ac_ext
                   18276: cat >>conftest.$ac_ext <<_ACEOF
                   18277: /* end confdefs.h.  */
1.66      paf      18278: $ac_includes_default
                   18279: int
                   18280: main ()
                   18281: {
                   18282: if ((off_t *) 0)
                   18283:   return 0;
                   18284: if (sizeof (off_t))
                   18285:   return 0;
                   18286:   ;
                   18287:   return 0;
                   18288: }
1.62      paf      18289: _ACEOF
1.66      paf      18290: rm -f conftest.$ac_objext
                   18291: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18292:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18293:   ac_status=$?
1.86      paf      18294:   grep -v '^ *+' conftest.er1 >conftest.err
                   18295:   rm -f conftest.er1
                   18296:   cat conftest.err >&5
1.66      paf      18297:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18298:   (exit $ac_status); } &&
1.86      paf      18299:         { ac_try='test -z "$ac_c_werror_flag"
                   18300:                         || test ! -s conftest.err'
                   18301:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18302:   (eval $ac_try) 2>&5
                   18303:   ac_status=$?
                   18304:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18305:   (exit $ac_status); }; } &&
                   18306:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18307:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18308:   (eval $ac_try) 2>&5
1.62      paf      18309:   ac_status=$?
                   18310:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18311:   (exit $ac_status); }; }; then
                   18312:   ac_cv_type_off_t=yes
1.62      paf      18313: else
1.66      paf      18314:   echo "$as_me: failed program was:" >&5
                   18315: sed 's/^/| /' conftest.$ac_ext >&5
                   18316: 
                   18317: ac_cv_type_off_t=no
                   18318: fi
1.86      paf      18319: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18320: fi
1.66      paf      18321: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   18322: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   18323: if test $ac_cv_type_off_t = yes; then
1.62      paf      18324:   :
                   18325: else
1.1       paf      18326: 
1.66      paf      18327: cat >>confdefs.h <<_ACEOF
                   18328: #define off_t long
                   18329: _ACEOF
                   18330: 
1.62      paf      18331: fi
1.1       paf      18332: 
1.66      paf      18333: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   18334: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   18335: if test "${ac_cv_type_ssize_t+set}" = set; then
                   18336:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18337: else
1.62      paf      18338:   cat >conftest.$ac_ext <<_ACEOF
                   18339: /* confdefs.h.  */
                   18340: _ACEOF
                   18341: cat confdefs.h >>conftest.$ac_ext
                   18342: cat >>conftest.$ac_ext <<_ACEOF
                   18343: /* end confdefs.h.  */
1.66      paf      18344: $ac_includes_default
                   18345: int
                   18346: main ()
                   18347: {
                   18348: if ((ssize_t *) 0)
                   18349:   return 0;
                   18350: if (sizeof (ssize_t))
                   18351:   return 0;
                   18352:   ;
                   18353:   return 0;
                   18354: }
1.62      paf      18355: _ACEOF
1.66      paf      18356: rm -f conftest.$ac_objext
                   18357: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18358:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18359:   ac_status=$?
1.86      paf      18360:   grep -v '^ *+' conftest.er1 >conftest.err
                   18361:   rm -f conftest.er1
                   18362:   cat conftest.err >&5
1.66      paf      18363:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18364:   (exit $ac_status); } &&
1.86      paf      18365:         { ac_try='test -z "$ac_c_werror_flag"
                   18366:                         || test ! -s conftest.err'
                   18367:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18368:   (eval $ac_try) 2>&5
                   18369:   ac_status=$?
                   18370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18371:   (exit $ac_status); }; } &&
                   18372:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18373:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18374:   (eval $ac_try) 2>&5
1.62      paf      18375:   ac_status=$?
                   18376:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18377:   (exit $ac_status); }; }; then
                   18378:   ac_cv_type_ssize_t=yes
1.1       paf      18379: else
1.62      paf      18380:   echo "$as_me: failed program was:" >&5
                   18381: sed 's/^/| /' conftest.$ac_ext >&5
                   18382: 
1.66      paf      18383: ac_cv_type_ssize_t=no
                   18384: fi
1.86      paf      18385: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18386: fi
1.66      paf      18387: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   18388: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   18389: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      18390:   :
                   18391: else
1.66      paf      18392: 
                   18393: cat >>confdefs.h <<_ACEOF
                   18394: #define ssize_t int
                   18395: _ACEOF
                   18396: 
1.1       paf      18397: fi
1.62      paf      18398: 
                   18399: 
                   18400: 
1.66      paf      18401: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   18402: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   18403: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      18404:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18405: else
                   18406:   cat >conftest.$ac_ext <<_ACEOF
                   18407: /* confdefs.h.  */
                   18408: _ACEOF
                   18409: cat confdefs.h >>conftest.$ac_ext
                   18410: cat >>conftest.$ac_ext <<_ACEOF
                   18411: /* end confdefs.h.  */
1.66      paf      18412: #include <sys/types.h>
                   18413: #include <sys/time.h>
                   18414: #include <time.h>
1.62      paf      18415: 
                   18416: int
                   18417: main ()
                   18418: {
1.66      paf      18419: if ((struct tm *) 0)
                   18420: return 0;
1.62      paf      18421:   ;
                   18422:   return 0;
                   18423: }
                   18424: _ACEOF
                   18425: rm -f conftest.$ac_objext
                   18426: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18427:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18428:   ac_status=$?
1.86      paf      18429:   grep -v '^ *+' conftest.er1 >conftest.err
                   18430:   rm -f conftest.er1
                   18431:   cat conftest.err >&5
1.62      paf      18432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18433:   (exit $ac_status); } &&
1.86      paf      18434:         { ac_try='test -z "$ac_c_werror_flag"
                   18435:                         || test ! -s conftest.err'
                   18436:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18437:   (eval $ac_try) 2>&5
                   18438:   ac_status=$?
                   18439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18440:   (exit $ac_status); }; } &&
                   18441:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18443:   (eval $ac_try) 2>&5
                   18444:   ac_status=$?
                   18445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18446:   (exit $ac_status); }; }; then
1.66      paf      18447:   ac_cv_header_time=yes
1.1       paf      18448: else
1.62      paf      18449:   echo "$as_me: failed program was:" >&5
                   18450: sed 's/^/| /' conftest.$ac_ext >&5
                   18451: 
1.66      paf      18452: ac_cv_header_time=no
1.1       paf      18453: fi
1.86      paf      18454: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18455: fi
                   18456: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   18457: echo "${ECHO_T}$ac_cv_header_time" >&6
                   18458: if test $ac_cv_header_time = yes; then
1.1       paf      18459: 
1.66      paf      18460: cat >>confdefs.h <<\_ACEOF
                   18461: #define TIME_WITH_SYS_TIME 1
1.62      paf      18462: _ACEOF
                   18463: 
1.1       paf      18464: fi
                   18465: 
                   18466: 
1.62      paf      18467: 
1.1       paf      18468: 
1.66      paf      18469: 
                   18470: 
                   18471: 
                   18472: 
                   18473: 
                   18474: 
                   18475: 
                   18476: 
                   18477: 
                   18478: 
                   18479: 
                   18480: 
                   18481: 
                   18482: 
                   18483: 
                   18484: 
                   18485: 
                   18486: 
                   18487: 
                   18488: 
                   18489: 
                   18490: 
                   18491: 
                   18492: 
                   18493: 
                   18494: 
                   18495: 
                   18496: 
1.128     moko     18497: 
1.67      paf      18498: for ac_header in assert.h \
                   18499: signal.h \
1.66      paf      18500: unistd.h \
                   18501: process.h \
                   18502: stddef.h \
                   18503: stdarg.h \
                   18504: fcntl.h \
                   18505: sys/stat.h \
                   18506: io.h \
                   18507: stdio.h \
                   18508: errno.h \
                   18509: ctype.h \
                   18510: math.h \
                   18511: crypt.h \
                   18512: time.h sys/time.h \
                   18513: string.h \
                   18514: direct.h \
                   18515: setjmp.h \
                   18516: memory.h \
1.128     moko     18517: limits.h \
1.66      paf      18518: sys/file.h \
                   18519: sys/locking.h \
                   18520: sys/types.h \
                   18521: sys/select.h \
                   18522: sys/resource.h \
                   18523: winsock.h \
                   18524: sys/socket.h \
                   18525: netinet/in.h \
                   18526: arpa/inet.h \
                   18527: netdb.h
                   18528: 
                   18529: do
                   18530: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18531: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18532:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18533: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18534: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18535:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      18536: fi
1.66      paf      18537: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18538: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18539: else
1.66      paf      18540:   # Is the header compilable?
                   18541: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   18542: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   18543: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18544: /* confdefs.h.  */
                   18545: _ACEOF
                   18546: cat confdefs.h >>conftest.$ac_ext
                   18547: cat >>conftest.$ac_ext <<_ACEOF
                   18548: /* end confdefs.h.  */
1.66      paf      18549: $ac_includes_default
                   18550: #include <$ac_header>
1.62      paf      18551: _ACEOF
1.66      paf      18552: rm -f conftest.$ac_objext
                   18553: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18554:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18555:   ac_status=$?
1.86      paf      18556:   grep -v '^ *+' conftest.er1 >conftest.err
                   18557:   rm -f conftest.er1
                   18558:   cat conftest.err >&5
1.62      paf      18559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18560:   (exit $ac_status); } &&
1.86      paf      18561:         { ac_try='test -z "$ac_c_werror_flag"
                   18562:                         || test ! -s conftest.err'
                   18563:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18564:   (eval $ac_try) 2>&5
                   18565:   ac_status=$?
                   18566:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18567:   (exit $ac_status); }; } &&
                   18568:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18569:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18570:   (eval $ac_try) 2>&5
                   18571:   ac_status=$?
                   18572:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18573:   (exit $ac_status); }; }; then
1.66      paf      18574:   ac_header_compiler=yes
1.1       paf      18575: else
1.66      paf      18576:   echo "$as_me: failed program was:" >&5
1.62      paf      18577: sed 's/^/| /' conftest.$ac_ext >&5
                   18578: 
1.66      paf      18579: ac_header_compiler=no
1.1       paf      18580: fi
1.86      paf      18581: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18582: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   18583: echo "${ECHO_T}$ac_header_compiler" >&6
                   18584: 
                   18585: # Is the header present?
                   18586: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   18587: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   18588: cat >conftest.$ac_ext <<_ACEOF
                   18589: /* confdefs.h.  */
                   18590: _ACEOF
                   18591: cat confdefs.h >>conftest.$ac_ext
                   18592: cat >>conftest.$ac_ext <<_ACEOF
                   18593: /* end confdefs.h.  */
                   18594: #include <$ac_header>
                   18595: _ACEOF
                   18596: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   18597:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   18598:   ac_status=$?
                   18599:   grep -v '^ *+' conftest.er1 >conftest.err
                   18600:   rm -f conftest.er1
                   18601:   cat conftest.err >&5
                   18602:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18603:   (exit $ac_status); } >/dev/null; then
                   18604:   if test -s conftest.err; then
                   18605:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      18606:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      18607:   else
                   18608:     ac_cpp_err=
                   18609:   fi
                   18610: else
                   18611:   ac_cpp_err=yes
1.1       paf      18612: fi
1.66      paf      18613: if test -z "$ac_cpp_err"; then
                   18614:   ac_header_preproc=yes
                   18615: else
                   18616:   echo "$as_me: failed program was:" >&5
                   18617: sed 's/^/| /' conftest.$ac_ext >&5
                   18618: 
                   18619:   ac_header_preproc=no
1.1       paf      18620: fi
1.66      paf      18621: rm -f conftest.err conftest.$ac_ext
                   18622: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   18623: echo "${ECHO_T}$ac_header_preproc" >&6
                   18624: 
                   18625: # So?  What about this header?
1.86      paf      18626: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   18627:   yes:no: )
1.66      paf      18628:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   18629: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      18630:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   18631: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   18632:     ac_header_preproc=yes
1.66      paf      18633:     ;;
1.86      paf      18634:   no:yes:* )
1.66      paf      18635:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   18636: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      18637:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   18638: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   18639:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   18640: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   18641:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   18642: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      18643:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   18644: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      18645:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   18646: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      18647:     (
                   18648:       cat <<\_ASBOX
1.128     moko     18649: ## --------------------------------- ##
                   18650: ## Report this to the parser lists.  ##
                   18651: ## --------------------------------- ##
1.66      paf      18652: _ASBOX
                   18653:     ) |
                   18654:       sed "s/^/$as_me: WARNING:     /" >&2
                   18655:     ;;
                   18656: esac
                   18657: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18658: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18659: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18660:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18661: else
1.86      paf      18662:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      18663: fi
1.66      paf      18664: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18665: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18666: 
1.66      paf      18667: fi
                   18668: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   18669:   cat >>confdefs.h <<_ACEOF
                   18670: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18671: _ACEOF
                   18672: 
                   18673: fi
                   18674: 
1.66      paf      18675: done
1.62      paf      18676: 
                   18677: 
                   18678: 
1.128     moko     18679: 
                   18680: 
1.66      paf      18681: case "$host" in
1.107     misha    18682:   *-freebsd4*)
                   18683: 
                   18684: cat >>confdefs.h <<\_ACEOF
                   18685: #define FREEBSD4
                   18686: _ACEOF
                   18687: 
                   18688:   ;;
1.66      paf      18689:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      18690: 
1.66      paf      18691: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   18692: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   18693: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      18694:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18695: else
1.66      paf      18696:   ac_check_lib_save_LIBS=$LIBS
                   18697: LIBS="-lxnet  $LIBS"
                   18698: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18699: /* confdefs.h.  */
                   18700: _ACEOF
                   18701: cat confdefs.h >>conftest.$ac_ext
                   18702: cat >>conftest.$ac_ext <<_ACEOF
                   18703: /* end confdefs.h.  */
                   18704: 
1.66      paf      18705: 
                   18706: int
                   18707: main ()
                   18708: {
                   18709: main ();
                   18710:   ;
                   18711:   return 0;
                   18712: }
1.62      paf      18713: _ACEOF
1.66      paf      18714: rm -f conftest.$ac_objext conftest$ac_exeext
                   18715: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18716:   (eval $ac_link) 2>conftest.er1
1.62      paf      18717:   ac_status=$?
1.86      paf      18718:   grep -v '^ *+' conftest.er1 >conftest.err
                   18719:   rm -f conftest.er1
                   18720:   cat conftest.err >&5
1.62      paf      18721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18722:   (exit $ac_status); } &&
1.86      paf      18723:         { ac_try='test -z "$ac_c_werror_flag"
                   18724:                         || test ! -s conftest.err'
                   18725:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18726:   (eval $ac_try) 2>&5
                   18727:   ac_status=$?
                   18728:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18729:   (exit $ac_status); }; } &&
                   18730:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18731:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18732:   (eval $ac_try) 2>&5
                   18733:   ac_status=$?
                   18734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18735:   (exit $ac_status); }; }; then
1.66      paf      18736:   ac_cv_lib_xnet_main=yes
1.62      paf      18737: else
                   18738:   echo "$as_me: failed program was:" >&5
                   18739: sed 's/^/| /' conftest.$ac_ext >&5
                   18740: 
1.66      paf      18741: ac_cv_lib_xnet_main=no
1.62      paf      18742: fi
1.86      paf      18743: rm -f conftest.err conftest.$ac_objext \
                   18744:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18745: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18746: fi
1.66      paf      18747: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   18748: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   18749: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      18750:   cat >>confdefs.h <<_ACEOF
1.66      paf      18751: #define HAVE_LIBXNET 1
1.62      paf      18752: _ACEOF
1.1       paf      18753: 
1.66      paf      18754:   LIBS="-lxnet $LIBS"
                   18755: 
1.1       paf      18756: fi
                   18757: 
1.66      paf      18758:   ;;
                   18759:   *-sunos5* | *-solaris2*)
1.62      paf      18760: 
1.66      paf      18761: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   18762: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   18763: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      18764:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18765: else
1.66      paf      18766:   ac_check_lib_save_LIBS=$LIBS
                   18767: LIBS="-lsocket  $LIBS"
                   18768: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18769: /* confdefs.h.  */
                   18770: _ACEOF
                   18771: cat confdefs.h >>conftest.$ac_ext
                   18772: cat >>conftest.$ac_ext <<_ACEOF
                   18773: /* end confdefs.h.  */
1.66      paf      18774: 
                   18775: 
1.62      paf      18776: int
                   18777: main ()
                   18778: {
1.66      paf      18779: main ();
1.62      paf      18780:   ;
                   18781:   return 0;
                   18782: }
                   18783: _ACEOF
1.66      paf      18784: rm -f conftest.$ac_objext conftest$ac_exeext
                   18785: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18786:   (eval $ac_link) 2>conftest.er1
1.62      paf      18787:   ac_status=$?
1.86      paf      18788:   grep -v '^ *+' conftest.er1 >conftest.err
                   18789:   rm -f conftest.er1
                   18790:   cat conftest.err >&5
1.62      paf      18791:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18792:   (exit $ac_status); } &&
1.86      paf      18793:         { ac_try='test -z "$ac_c_werror_flag"
                   18794:                         || test ! -s conftest.err'
                   18795:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18796:   (eval $ac_try) 2>&5
                   18797:   ac_status=$?
                   18798:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18799:   (exit $ac_status); }; } &&
                   18800:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18801:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18802:   (eval $ac_try) 2>&5
                   18803:   ac_status=$?
                   18804:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18805:   (exit $ac_status); }; }; then
1.66      paf      18806:   ac_cv_lib_socket_main=yes
1.1       paf      18807: else
1.62      paf      18808:   echo "$as_me: failed program was:" >&5
                   18809: sed 's/^/| /' conftest.$ac_ext >&5
                   18810: 
1.66      paf      18811: ac_cv_lib_socket_main=no
1.1       paf      18812: fi
1.86      paf      18813: rm -f conftest.err conftest.$ac_objext \
                   18814:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18815: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18816: fi
1.66      paf      18817: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   18818: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   18819: if test $ac_cv_lib_socket_main = yes; then
                   18820:   cat >>confdefs.h <<_ACEOF
                   18821: #define HAVE_LIBSOCKET 1
                   18822: _ACEOF
1.1       paf      18823: 
1.66      paf      18824:   LIBS="-lsocket $LIBS"
1.1       paf      18825: 
                   18826: fi
                   18827: 
1.66      paf      18828: 
                   18829: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   18830: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   18831: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      18832:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18833: else
1.66      paf      18834:   ac_check_lib_save_LIBS=$LIBS
                   18835: LIBS="-lnsl  $LIBS"
                   18836: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18837: /* confdefs.h.  */
                   18838: _ACEOF
                   18839: cat confdefs.h >>conftest.$ac_ext
                   18840: cat >>conftest.$ac_ext <<_ACEOF
                   18841: /* end confdefs.h.  */
1.66      paf      18842: 
                   18843: 
1.62      paf      18844: int
                   18845: main ()
                   18846: {
1.66      paf      18847: main ();
1.62      paf      18848:   ;
                   18849:   return 0;
                   18850: }
                   18851: _ACEOF
1.66      paf      18852: rm -f conftest.$ac_objext conftest$ac_exeext
                   18853: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18854:   (eval $ac_link) 2>conftest.er1
1.62      paf      18855:   ac_status=$?
1.86      paf      18856:   grep -v '^ *+' conftest.er1 >conftest.err
                   18857:   rm -f conftest.er1
                   18858:   cat conftest.err >&5
1.62      paf      18859:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18860:   (exit $ac_status); } &&
1.86      paf      18861:         { ac_try='test -z "$ac_c_werror_flag"
                   18862:                         || test ! -s conftest.err'
                   18863:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18864:   (eval $ac_try) 2>&5
                   18865:   ac_status=$?
                   18866:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18867:   (exit $ac_status); }; } &&
                   18868:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18869:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18870:   (eval $ac_try) 2>&5
                   18871:   ac_status=$?
                   18872:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18873:   (exit $ac_status); }; }; then
1.66      paf      18874:   ac_cv_lib_nsl_main=yes
1.30      paf      18875: else
1.62      paf      18876:   echo "$as_me: failed program was:" >&5
                   18877: sed 's/^/| /' conftest.$ac_ext >&5
                   18878: 
1.66      paf      18879: ac_cv_lib_nsl_main=no
1.30      paf      18880: fi
1.86      paf      18881: rm -f conftest.err conftest.$ac_objext \
                   18882:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18883: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18884: fi
1.66      paf      18885: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   18886: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   18887: if test $ac_cv_lib_nsl_main = yes; then
                   18888:   cat >>confdefs.h <<_ACEOF
                   18889: #define HAVE_LIBNSL 1
                   18890: _ACEOF
1.30      paf      18891: 
1.66      paf      18892:   LIBS="-lnsl $LIBS"
1.30      paf      18893: 
                   18894: fi
                   18895: 
1.66      paf      18896:   ;;
                   18897:   *-nec-sysv4*)
                   18898: 
                   18899: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   18900: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   18901: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      18902:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18903: else
1.66      paf      18904:   ac_check_lib_save_LIBS=$LIBS
                   18905: LIBS="-lnsl  $LIBS"
                   18906: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18907: /* confdefs.h.  */
                   18908: _ACEOF
                   18909: cat confdefs.h >>conftest.$ac_ext
                   18910: cat >>conftest.$ac_ext <<_ACEOF
                   18911: /* end confdefs.h.  */
1.66      paf      18912: 
                   18913: /* Override any gcc2 internal prototype to avoid an error.  */
                   18914: #ifdef __cplusplus
                   18915: extern "C"
                   18916: #endif
                   18917: /* We use char because int might match the return type of a gcc2
                   18918:    builtin and then its argument prototype would still apply.  */
                   18919: char gethostbyname ();
1.62      paf      18920: int
                   18921: main ()
                   18922: {
1.66      paf      18923: gethostbyname ();
1.62      paf      18924:   ;
                   18925:   return 0;
                   18926: }
                   18927: _ACEOF
1.66      paf      18928: rm -f conftest.$ac_objext conftest$ac_exeext
                   18929: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18930:   (eval $ac_link) 2>conftest.er1
1.62      paf      18931:   ac_status=$?
1.86      paf      18932:   grep -v '^ *+' conftest.er1 >conftest.err
                   18933:   rm -f conftest.er1
                   18934:   cat conftest.err >&5
1.62      paf      18935:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18936:   (exit $ac_status); } &&
1.86      paf      18937:         { ac_try='test -z "$ac_c_werror_flag"
                   18938:                         || test ! -s conftest.err'
                   18939:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18940:   (eval $ac_try) 2>&5
                   18941:   ac_status=$?
                   18942:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18943:   (exit $ac_status); }; } &&
                   18944:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18945:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18946:   (eval $ac_try) 2>&5
                   18947:   ac_status=$?
                   18948:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18949:   (exit $ac_status); }; }; then
1.66      paf      18950:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18951: else
1.62      paf      18952:   echo "$as_me: failed program was:" >&5
                   18953: sed 's/^/| /' conftest.$ac_ext >&5
                   18954: 
1.66      paf      18955: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18956: fi
1.86      paf      18957: rm -f conftest.err conftest.$ac_objext \
                   18958:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18959: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18960: fi
1.66      paf      18961: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18962: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   18963: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   18964:   cat >>confdefs.h <<_ACEOF
                   18965: #define HAVE_LIBNSL 1
                   18966: _ACEOF
1.30      paf      18967: 
1.66      paf      18968:   LIBS="-lnsl $LIBS"
1.30      paf      18969: 
                   18970: fi
                   18971: 
                   18972: 
1.66      paf      18973: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   18974: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   18975: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      18976:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      18977: else
1.66      paf      18978:   ac_check_lib_save_LIBS=$LIBS
                   18979: LIBS="-lsocket  $LIBS"
                   18980: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18981: /* confdefs.h.  */
                   18982: _ACEOF
                   18983: cat confdefs.h >>conftest.$ac_ext
                   18984: cat >>conftest.$ac_ext <<_ACEOF
                   18985: /* end confdefs.h.  */
                   18986: 
1.66      paf      18987: /* Override any gcc2 internal prototype to avoid an error.  */
                   18988: #ifdef __cplusplus
                   18989: extern "C"
                   18990: #endif
                   18991: /* We use char because int might match the return type of a gcc2
                   18992:    builtin and then its argument prototype would still apply.  */
                   18993: char socket ();
1.62      paf      18994: int
                   18995: main ()
                   18996: {
1.66      paf      18997: socket ();
1.62      paf      18998:   ;
                   18999:   return 0;
                   19000: }
                   19001: _ACEOF
1.66      paf      19002: rm -f conftest.$ac_objext conftest$ac_exeext
                   19003: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19004:   (eval $ac_link) 2>conftest.er1
1.62      paf      19005:   ac_status=$?
1.86      paf      19006:   grep -v '^ *+' conftest.er1 >conftest.err
                   19007:   rm -f conftest.er1
                   19008:   cat conftest.err >&5
1.62      paf      19009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19010:   (exit $ac_status); } &&
1.86      paf      19011:         { ac_try='test -z "$ac_c_werror_flag"
                   19012:                         || test ! -s conftest.err'
                   19013:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19014:   (eval $ac_try) 2>&5
                   19015:   ac_status=$?
                   19016:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19017:   (exit $ac_status); }; } &&
                   19018:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19019:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19020:   (eval $ac_try) 2>&5
                   19021:   ac_status=$?
                   19022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19023:   (exit $ac_status); }; }; then
1.66      paf      19024:   ac_cv_lib_socket_socket=yes
1.8       paf      19025: else
1.62      paf      19026:   echo "$as_me: failed program was:" >&5
                   19027: sed 's/^/| /' conftest.$ac_ext >&5
                   19028: 
1.66      paf      19029: ac_cv_lib_socket_socket=no
1.8       paf      19030: fi
1.86      paf      19031: rm -f conftest.err conftest.$ac_objext \
                   19032:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19033: LIBS=$ac_check_lib_save_LIBS
1.8       paf      19034: fi
1.66      paf      19035: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   19036: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   19037: if test $ac_cv_lib_socket_socket = yes; then
                   19038:   cat >>confdefs.h <<_ACEOF
1.128     moko     19039: #define HAVE_LIBSOCKET 1
1.66      paf      19040: _ACEOF
                   19041: 
1.128     moko     19042:   LIBS="-lsocket $LIBS"
1.66      paf      19043: 
1.62      paf      19044: fi
                   19045: 
1.66      paf      19046:   ;;
1.128     moko     19047:   *-cygwin*)
                   19048: 
                   19049: cat >>confdefs.h <<\_ACEOF
                   19050: #define WIN32
                   19051: _ACEOF
1.66      paf      19052: 
1.128     moko     19053: 
                   19054: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   19055: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   19056: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.66      paf      19057:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19058: else
                   19059:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     19060: LIBS="-lwsock32  $LIBS"
1.62      paf      19061: cat >conftest.$ac_ext <<_ACEOF
                   19062: /* confdefs.h.  */
                   19063: _ACEOF
                   19064: cat confdefs.h >>conftest.$ac_ext
                   19065: cat >>conftest.$ac_ext <<_ACEOF
                   19066: /* end confdefs.h.  */
1.66      paf      19067: 
1.128     moko     19068: /* Override any gcc2 internal prototype to avoid an error.  */
                   19069: #ifdef __cplusplus
                   19070: extern "C"
                   19071: #endif
                   19072: /* We use char because int might match the return type of a gcc2
                   19073:    builtin and then its argument prototype would still apply.  */
                   19074: char socket ();
1.66      paf      19075: int
                   19076: main ()
                   19077: {
1.128     moko     19078: socket ();
1.66      paf      19079:   ;
                   19080:   return 0;
                   19081: }
1.62      paf      19082: _ACEOF
1.66      paf      19083: rm -f conftest.$ac_objext conftest$ac_exeext
                   19084: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19085:   (eval $ac_link) 2>conftest.er1
1.66      paf      19086:   ac_status=$?
1.86      paf      19087:   grep -v '^ *+' conftest.er1 >conftest.err
                   19088:   rm -f conftest.er1
                   19089:   cat conftest.err >&5
1.66      paf      19090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19091:   (exit $ac_status); } &&
1.86      paf      19092:         { ac_try='test -z "$ac_c_werror_flag"
                   19093:                         || test ! -s conftest.err'
                   19094:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19095:   (eval $ac_try) 2>&5
                   19096:   ac_status=$?
                   19097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19098:   (exit $ac_status); }; } &&
                   19099:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      19100:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19101:   (eval $ac_try) 2>&5
1.62      paf      19102:   ac_status=$?
                   19103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      19104:   (exit $ac_status); }; }; then
1.128     moko     19105:   ac_cv_lib_wsock32_socket=yes
1.62      paf      19106: else
                   19107:   echo "$as_me: failed program was:" >&5
                   19108: sed 's/^/| /' conftest.$ac_ext >&5
                   19109: 
1.128     moko     19110: ac_cv_lib_wsock32_socket=no
1.62      paf      19111: fi
1.86      paf      19112: rm -f conftest.err conftest.$ac_objext \
                   19113:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19114: LIBS=$ac_check_lib_save_LIBS
1.1       paf      19115: fi
1.128     moko     19116: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   19117: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   19118: if test $ac_cv_lib_wsock32_socket = yes; then
1.62      paf      19119:   cat >>confdefs.h <<_ACEOF
1.128     moko     19120: #define HAVE_LIBWSOCK32 1
1.62      paf      19121: _ACEOF
                   19122: 
1.128     moko     19123:   LIBS="-lwsock32 $LIBS"
1.66      paf      19124: 
1.1       paf      19125: fi
1.62      paf      19126: 
1.66      paf      19127:   ;;
                   19128: esac
1.1       paf      19129: 
                   19130: 
1.66      paf      19131: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   19132: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   19133: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      19134:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19135: else
1.62      paf      19136:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19137: LIBS="-lm  $LIBS"
1.62      paf      19138: cat >conftest.$ac_ext <<_ACEOF
                   19139: /* confdefs.h.  */
                   19140: _ACEOF
                   19141: cat confdefs.h >>conftest.$ac_ext
                   19142: cat >>conftest.$ac_ext <<_ACEOF
                   19143: /* end confdefs.h.  */
                   19144: 
1.66      paf      19145: /* Override any gcc2 internal prototype to avoid an error.  */
                   19146: #ifdef __cplusplus
                   19147: extern "C"
                   19148: #endif
                   19149: /* We use char because int might match the return type of a gcc2
                   19150:    builtin and then its argument prototype would still apply.  */
                   19151: char sin ();
1.62      paf      19152: int
                   19153: main ()
                   19154: {
1.66      paf      19155: sin ();
1.62      paf      19156:   ;
                   19157:   return 0;
                   19158: }
                   19159: _ACEOF
                   19160: rm -f conftest.$ac_objext conftest$ac_exeext
                   19161: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19162:   (eval $ac_link) 2>conftest.er1
1.62      paf      19163:   ac_status=$?
1.86      paf      19164:   grep -v '^ *+' conftest.er1 >conftest.err
                   19165:   rm -f conftest.er1
                   19166:   cat conftest.err >&5
1.62      paf      19167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19168:   (exit $ac_status); } &&
1.86      paf      19169:         { ac_try='test -z "$ac_c_werror_flag"
                   19170:                         || test ! -s conftest.err'
                   19171:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19172:   (eval $ac_try) 2>&5
                   19173:   ac_status=$?
                   19174:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19175:   (exit $ac_status); }; } &&
                   19176:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19177:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19178:   (eval $ac_try) 2>&5
                   19179:   ac_status=$?
                   19180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19181:   (exit $ac_status); }; }; then
1.66      paf      19182:   ac_cv_lib_m_sin=yes
1.62      paf      19183: else
                   19184:   echo "$as_me: failed program was:" >&5
                   19185: sed 's/^/| /' conftest.$ac_ext >&5
                   19186: 
1.66      paf      19187: ac_cv_lib_m_sin=no
1.62      paf      19188: fi
1.86      paf      19189: rm -f conftest.err conftest.$ac_objext \
                   19190:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19191: LIBS=$ac_check_lib_save_LIBS
                   19192: fi
1.66      paf      19193: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   19194: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   19195: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      19196:   cat >>confdefs.h <<_ACEOF
1.66      paf      19197: #define HAVE_LIBM 1
1.62      paf      19198: _ACEOF
1.1       paf      19199: 
1.66      paf      19200:   LIBS="-lm $LIBS"
1.1       paf      19201: 
                   19202: fi
                   19203: 
1.62      paf      19204: 
1.66      paf      19205: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   19206: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   19207: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      19208:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19209: else
1.62      paf      19210:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19211: LIBS="-lcrypt  $LIBS"
1.62      paf      19212: cat >conftest.$ac_ext <<_ACEOF
                   19213: /* confdefs.h.  */
                   19214: _ACEOF
                   19215: cat confdefs.h >>conftest.$ac_ext
                   19216: cat >>conftest.$ac_ext <<_ACEOF
                   19217: /* end confdefs.h.  */
                   19218: 
1.66      paf      19219: /* Override any gcc2 internal prototype to avoid an error.  */
                   19220: #ifdef __cplusplus
                   19221: extern "C"
                   19222: #endif
                   19223: /* We use char because int might match the return type of a gcc2
                   19224:    builtin and then its argument prototype would still apply.  */
                   19225: char crypt ();
1.62      paf      19226: int
                   19227: main ()
                   19228: {
1.66      paf      19229: crypt ();
1.62      paf      19230:   ;
                   19231:   return 0;
                   19232: }
                   19233: _ACEOF
                   19234: rm -f conftest.$ac_objext conftest$ac_exeext
                   19235: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19236:   (eval $ac_link) 2>conftest.er1
1.62      paf      19237:   ac_status=$?
1.86      paf      19238:   grep -v '^ *+' conftest.er1 >conftest.err
                   19239:   rm -f conftest.er1
                   19240:   cat conftest.err >&5
1.62      paf      19241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19242:   (exit $ac_status); } &&
1.86      paf      19243:         { ac_try='test -z "$ac_c_werror_flag"
                   19244:                         || test ! -s conftest.err'
                   19245:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19246:   (eval $ac_try) 2>&5
                   19247:   ac_status=$?
                   19248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19249:   (exit $ac_status); }; } &&
                   19250:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19251:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19252:   (eval $ac_try) 2>&5
                   19253:   ac_status=$?
                   19254:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19255:   (exit $ac_status); }; }; then
1.66      paf      19256:   ac_cv_lib_crypt_crypt=yes
1.62      paf      19257: else
                   19258:   echo "$as_me: failed program was:" >&5
                   19259: sed 's/^/| /' conftest.$ac_ext >&5
                   19260: 
1.66      paf      19261: ac_cv_lib_crypt_crypt=no
1.62      paf      19262: fi
1.86      paf      19263: rm -f conftest.err conftest.$ac_objext \
                   19264:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19265: LIBS=$ac_check_lib_save_LIBS
                   19266: fi
1.66      paf      19267: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   19268: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   19269: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      19270:   cat >>confdefs.h <<_ACEOF
1.66      paf      19271: #define HAVE_LIBCRYPT 1
1.62      paf      19272: _ACEOF
1.1       paf      19273: 
1.66      paf      19274:   LIBS="-lcrypt $LIBS"
                   19275: 
                   19276: fi
                   19277: 
                   19278: 
                   19279: 
                   19280: 
                   19281: 
                   19282: 
                   19283: 
                   19284: 
                   19285: 
                   19286: 
                   19287: 
                   19288: 
1.80      paf      19289: 
1.92      misha    19290: 
1.112     misha    19291: 
1.67      paf      19292: for ac_func in flock \
1.66      paf      19293: _locking \
                   19294: fcntl \
                   19295: lockf \
                   19296: ftruncate \
1.112     misha    19297: fchmod \
1.66      paf      19298: getrusage \
                   19299: gettimeofday \
                   19300: crypt \
1.80      paf      19301: sigsetjmp \
1.92      misha    19302: siglongjmp \
                   19303: unsetenv
1.66      paf      19304: 
                   19305: do
                   19306: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19307: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19308: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19309: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   19310:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19311: else
                   19312:   cat >conftest.$ac_ext <<_ACEOF
                   19313: /* confdefs.h.  */
                   19314: _ACEOF
                   19315: cat confdefs.h >>conftest.$ac_ext
                   19316: cat >>conftest.$ac_ext <<_ACEOF
                   19317: /* end confdefs.h.  */
1.86      paf      19318: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19319:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19320: #define $ac_func innocuous_$ac_func
                   19321: 
1.66      paf      19322: /* System header to define __stub macros and hopefully few prototypes,
                   19323:     which can conflict with char $ac_func (); below.
                   19324:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19325:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19326: 
1.66      paf      19327: #ifdef __STDC__
                   19328: # include <limits.h>
                   19329: #else
                   19330: # include <assert.h>
                   19331: #endif
1.86      paf      19332: 
                   19333: #undef $ac_func
                   19334: 
1.66      paf      19335: /* Override any gcc2 internal prototype to avoid an error.  */
                   19336: #ifdef __cplusplus
                   19337: extern "C"
                   19338: {
                   19339: #endif
                   19340: /* We use char because int might match the return type of a gcc2
                   19341:    builtin and then its argument prototype would still apply.  */
                   19342: char $ac_func ();
                   19343: /* The GNU C library defines this for functions which it implements
                   19344:     to always fail with ENOSYS.  Some functions are actually named
                   19345:     something starting with __ and the normal name is an alias.  */
                   19346: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19347: choke me
                   19348: #else
                   19349: char (*f) () = $ac_func;
                   19350: #endif
                   19351: #ifdef __cplusplus
                   19352: }
                   19353: #endif
1.62      paf      19354: 
                   19355: int
                   19356: main ()
                   19357: {
1.66      paf      19358: return f != $ac_func;
1.62      paf      19359:   ;
                   19360:   return 0;
                   19361: }
                   19362: _ACEOF
                   19363: rm -f conftest.$ac_objext conftest$ac_exeext
                   19364: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19365:   (eval $ac_link) 2>conftest.er1
1.62      paf      19366:   ac_status=$?
1.86      paf      19367:   grep -v '^ *+' conftest.er1 >conftest.err
                   19368:   rm -f conftest.er1
                   19369:   cat conftest.err >&5
1.62      paf      19370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19371:   (exit $ac_status); } &&
1.86      paf      19372:         { ac_try='test -z "$ac_c_werror_flag"
                   19373:                         || test ! -s conftest.err'
                   19374:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19375:   (eval $ac_try) 2>&5
                   19376:   ac_status=$?
                   19377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19378:   (exit $ac_status); }; } &&
                   19379:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19380:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19381:   (eval $ac_try) 2>&5
                   19382:   ac_status=$?
                   19383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19384:   (exit $ac_status); }; }; then
1.66      paf      19385:   eval "$as_ac_var=yes"
1.62      paf      19386: else
                   19387:   echo "$as_me: failed program was:" >&5
                   19388: sed 's/^/| /' conftest.$ac_ext >&5
                   19389: 
1.66      paf      19390: eval "$as_ac_var=no"
1.62      paf      19391: fi
1.86      paf      19392: rm -f conftest.err conftest.$ac_objext \
                   19393:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19394: fi
1.66      paf      19395: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19396: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19397: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19398:   cat >>confdefs.h <<_ACEOF
1.66      paf      19399: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19400: _ACEOF
1.1       paf      19401: 
1.66      paf      19402: fi
                   19403: done
                   19404: 
1.1       paf      19405: 
                   19406: 
1.67      paf      19407: pa_func=sigsetjmp
                   19408: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   19409: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   19410: cat >conftest.$ac_ext <<_ACEOF
                   19411: /* confdefs.h.  */
                   19412: _ACEOF
                   19413: cat confdefs.h >>conftest.$ac_ext
                   19414: cat >>conftest.$ac_ext <<_ACEOF
                   19415: /* end confdefs.h.  */
                   19416: 
                   19417: #ifdef HAVE_SETJMP_H
                   19418: #      include <setjmp.h>
                   19419: #endif
                   19420: 
                   19421: int
                   19422: main ()
                   19423: {
                   19424: 
                   19425:         $pa_func(0,0);
                   19426: 
                   19427:   ;
                   19428:   return 0;
                   19429: }
                   19430: _ACEOF
                   19431: rm -f conftest.$ac_objext
                   19432: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19433:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19434:   ac_status=$?
1.86      paf      19435:   grep -v '^ *+' conftest.er1 >conftest.err
                   19436:   rm -f conftest.er1
                   19437:   cat conftest.err >&5
1.67      paf      19438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19439:   (exit $ac_status); } &&
1.86      paf      19440:         { ac_try='test -z "$ac_c_werror_flag"
                   19441:                         || test ! -s conftest.err'
                   19442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19443:   (eval $ac_try) 2>&5
                   19444:   ac_status=$?
                   19445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19446:   (exit $ac_status); }; } &&
                   19447:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19448:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19449:   (eval $ac_try) 2>&5
                   19450:   ac_status=$?
                   19451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19452:   (exit $ac_status); }; }; then
                   19453:   echo "$as_me:$LINENO: result: yes" >&5
                   19454: echo "${ECHO_T}yes" >&6
                   19455: cat >>confdefs.h <<_ACEOF
                   19456: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   19457: _ACEOF
                   19458: 
                   19459: 
                   19460: else
                   19461:   echo "$as_me: failed program was:" >&5
                   19462: sed 's/^/| /' conftest.$ac_ext >&5
                   19463: 
                   19464: echo "$as_me:$LINENO: result: no" >&5
                   19465: echo "${ECHO_T}no" >&6
                   19466: 
                   19467: fi
1.86      paf      19468: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19469: 
                   19470: 
                   19471: 
                   19472: ac_ext=cc
                   19473: ac_cpp='$CXXCPP $CPPFLAGS'
                   19474: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19475: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19476: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   19477: 
                   19478: 
                   19479: 
                   19480: 
                   19481: 
                   19482: 
                   19483: for pa_func in trunc \
                   19484: round \
                   19485: sign
                   19486: 
                   19487: do
                   19488: 
                   19489: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   19490: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   19491: cat >conftest.$ac_ext <<_ACEOF
                   19492: /* confdefs.h.  */
                   19493: _ACEOF
                   19494: cat confdefs.h >>conftest.$ac_ext
                   19495: cat >>conftest.$ac_ext <<_ACEOF
                   19496: /* end confdefs.h.  */
                   19497: 
                   19498: #ifdef HAVE_MATH_H
                   19499: #       include <math.h>
                   19500: #endif
                   19501: 
                   19502: int
                   19503: main ()
                   19504: {
                   19505: 
                   19506:         double result=$pa_func(1.6);
                   19507: 
                   19508:   ;
                   19509:   return 0;
                   19510: }
                   19511: _ACEOF
                   19512: rm -f conftest.$ac_objext
                   19513: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19514:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19515:   ac_status=$?
1.86      paf      19516:   grep -v '^ *+' conftest.er1 >conftest.err
                   19517:   rm -f conftest.er1
                   19518:   cat conftest.err >&5
1.67      paf      19519:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19520:   (exit $ac_status); } &&
1.86      paf      19521:         { ac_try='test -z "$ac_cxx_werror_flag"
                   19522:                         || test ! -s conftest.err'
                   19523:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19524:   (eval $ac_try) 2>&5
                   19525:   ac_status=$?
                   19526:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19527:   (exit $ac_status); }; } &&
                   19528:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19529:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19530:   (eval $ac_try) 2>&5
                   19531:   ac_status=$?
                   19532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19533:   (exit $ac_status); }; }; then
                   19534:   echo "$as_me:$LINENO: result: yes" >&5
                   19535: echo "${ECHO_T}yes" >&6
                   19536: cat >>confdefs.h <<_ACEOF
                   19537: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   19538: _ACEOF
                   19539: 
                   19540: else
                   19541:   echo "$as_me: failed program was:" >&5
                   19542: sed 's/^/| /' conftest.$ac_ext >&5
                   19543: 
                   19544: echo "$as_me:$LINENO: result: no" >&5
                   19545: echo "${ECHO_T}no" >&6
                   19546: 
                   19547: fi
1.86      paf      19548: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19549: 
                   19550: done
                   19551: 
                   19552: ac_ext=c
                   19553: ac_cpp='$CPP $CPPFLAGS'
                   19554: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19555: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19556: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19557: 
                   19558: 
                   19559: 
1.62      paf      19560: 
1.66      paf      19561: for ac_func in qsort
                   19562: do
                   19563: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19564: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19565: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19566: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      19567:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19568: else
1.66      paf      19569:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19570: /* confdefs.h.  */
                   19571: _ACEOF
                   19572: cat confdefs.h >>conftest.$ac_ext
                   19573: cat >>conftest.$ac_ext <<_ACEOF
                   19574: /* end confdefs.h.  */
1.86      paf      19575: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19576:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19577: #define $ac_func innocuous_$ac_func
                   19578: 
1.66      paf      19579: /* System header to define __stub macros and hopefully few prototypes,
                   19580:     which can conflict with char $ac_func (); below.
                   19581:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19582:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19583: 
1.66      paf      19584: #ifdef __STDC__
                   19585: # include <limits.h>
                   19586: #else
                   19587: # include <assert.h>
                   19588: #endif
1.86      paf      19589: 
                   19590: #undef $ac_func
                   19591: 
1.1       paf      19592: /* Override any gcc2 internal prototype to avoid an error.  */
                   19593: #ifdef __cplusplus
                   19594: extern "C"
1.66      paf      19595: {
1.1       paf      19596: #endif
                   19597: /* We use char because int might match the return type of a gcc2
1.62      paf      19598:    builtin and then its argument prototype would still apply.  */
1.66      paf      19599: char $ac_func ();
                   19600: /* The GNU C library defines this for functions which it implements
                   19601:     to always fail with ENOSYS.  Some functions are actually named
                   19602:     something starting with __ and the normal name is an alias.  */
                   19603: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19604: choke me
                   19605: #else
                   19606: char (*f) () = $ac_func;
                   19607: #endif
                   19608: #ifdef __cplusplus
                   19609: }
                   19610: #endif
                   19611: 
1.62      paf      19612: int
                   19613: main ()
                   19614: {
1.66      paf      19615: return f != $ac_func;
1.62      paf      19616:   ;
                   19617:   return 0;
                   19618: }
                   19619: _ACEOF
                   19620: rm -f conftest.$ac_objext conftest$ac_exeext
                   19621: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19622:   (eval $ac_link) 2>conftest.er1
1.62      paf      19623:   ac_status=$?
1.86      paf      19624:   grep -v '^ *+' conftest.er1 >conftest.err
                   19625:   rm -f conftest.er1
                   19626:   cat conftest.err >&5
1.62      paf      19627:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19628:   (exit $ac_status); } &&
1.86      paf      19629:         { ac_try='test -z "$ac_c_werror_flag"
                   19630:                         || test ! -s conftest.err'
                   19631:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19632:   (eval $ac_try) 2>&5
                   19633:   ac_status=$?
                   19634:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19635:   (exit $ac_status); }; } &&
                   19636:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19637:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19638:   (eval $ac_try) 2>&5
                   19639:   ac_status=$?
                   19640:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19641:   (exit $ac_status); }; }; then
1.66      paf      19642:   eval "$as_ac_var=yes"
1.62      paf      19643: else
                   19644:   echo "$as_me: failed program was:" >&5
                   19645: sed 's/^/| /' conftest.$ac_ext >&5
                   19646: 
1.66      paf      19647: eval "$as_ac_var=no"
1.62      paf      19648: fi
1.86      paf      19649: rm -f conftest.err conftest.$ac_objext \
                   19650:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19651: fi
1.66      paf      19652: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19653: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19654: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19655:   cat >>confdefs.h <<_ACEOF
1.66      paf      19656: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19657: _ACEOF
1.1       paf      19658: 
1.66      paf      19659: else
                   19660:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   19661: echo "$as_me: error: No qsort library function." >&2;}
                   19662:    { (exit 1); exit 1; }; }
1.1       paf      19663: fi
1.66      paf      19664: done
1.1       paf      19665: 
                   19666: 
1.62      paf      19667: 
1.66      paf      19668: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   19669: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      19670: cat >conftest.$ac_ext <<_ACEOF
                   19671: /* confdefs.h.  */
                   19672: _ACEOF
                   19673: cat confdefs.h >>conftest.$ac_ext
                   19674: cat >>conftest.$ac_ext <<_ACEOF
                   19675: /* end confdefs.h.  */
1.66      paf      19676: #include <time.h>
1.62      paf      19677: int
                   19678: main ()
                   19679: {
1.66      paf      19680: 
                   19681: time_t test=timezone;
                   19682: 
1.62      paf      19683:   ;
                   19684:   return 0;
                   19685: }
                   19686: _ACEOF
1.66      paf      19687: rm -f conftest.$ac_objext
                   19688: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19689:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19690:   ac_status=$?
1.86      paf      19691:   grep -v '^ *+' conftest.er1 >conftest.err
                   19692:   rm -f conftest.er1
                   19693:   cat conftest.err >&5
1.62      paf      19694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19695:   (exit $ac_status); } &&
1.86      paf      19696:         { ac_try='test -z "$ac_c_werror_flag"
                   19697:                         || test ! -s conftest.err'
                   19698:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19699:   (eval $ac_try) 2>&5
                   19700:   ac_status=$?
                   19701:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19702:   (exit $ac_status); }; } &&
                   19703:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19704:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19705:   (eval $ac_try) 2>&5
                   19706:   ac_status=$?
                   19707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19708:   (exit $ac_status); }; }; then
1.66      paf      19709:   cat >>confdefs.h <<\_ACEOF
                   19710: #define HAVE_TIMEZONE 1
                   19711: _ACEOF
                   19712: 
                   19713: echo "$as_me:$LINENO: result: yes" >&5
                   19714: echo "${ECHO_T}yes" >&6
1.62      paf      19715: else
                   19716:   echo "$as_me: failed program was:" >&5
                   19717: sed 's/^/| /' conftest.$ac_ext >&5
                   19718: 
1.66      paf      19719: echo "$as_me:$LINENO: result: no" >&5
                   19720: echo "${ECHO_T}no" >&6
1.62      paf      19721: fi
1.86      paf      19722: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19723: 
1.66      paf      19724: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   19725: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      19726: cat >conftest.$ac_ext <<_ACEOF
                   19727: /* confdefs.h.  */
                   19728: _ACEOF
                   19729: cat confdefs.h >>conftest.$ac_ext
                   19730: cat >>conftest.$ac_ext <<_ACEOF
                   19731: /* end confdefs.h.  */
1.66      paf      19732: #include <time.h>
1.62      paf      19733: int
                   19734: main ()
                   19735: {
1.66      paf      19736: 
                   19737: int test=daylight;
                   19738: 
1.62      paf      19739:   ;
                   19740:   return 0;
                   19741: }
                   19742: _ACEOF
1.66      paf      19743: rm -f conftest.$ac_objext
                   19744: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19745:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19746:   ac_status=$?
1.86      paf      19747:   grep -v '^ *+' conftest.er1 >conftest.err
                   19748:   rm -f conftest.er1
                   19749:   cat conftest.err >&5
1.62      paf      19750:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19751:   (exit $ac_status); } &&
1.86      paf      19752:         { ac_try='test -z "$ac_c_werror_flag"
                   19753:                         || test ! -s conftest.err'
                   19754:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19755:   (eval $ac_try) 2>&5
                   19756:   ac_status=$?
                   19757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19758:   (exit $ac_status); }; } &&
                   19759:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19760:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19761:   (eval $ac_try) 2>&5
                   19762:   ac_status=$?
                   19763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19764:   (exit $ac_status); }; }; then
1.66      paf      19765:   cat >>confdefs.h <<\_ACEOF
                   19766: #define HAVE_DAYLIGHT 1
                   19767: _ACEOF
                   19768: 
                   19769: echo "$as_me:$LINENO: result: yes" >&5
                   19770: echo "${ECHO_T}yes" >&6
1.62      paf      19771: else
                   19772:   echo "$as_me: failed program was:" >&5
                   19773: sed 's/^/| /' conftest.$ac_ext >&5
                   19774: 
1.66      paf      19775: echo "$as_me:$LINENO: result: no" >&5
                   19776: echo "${ECHO_T}no" >&6
1.62      paf      19777: fi
1.86      paf      19778: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      19779: 
1.66      paf      19780: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   19781: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      19782: cat >conftest.$ac_ext <<_ACEOF
                   19783: /* confdefs.h.  */
                   19784: _ACEOF
                   19785: cat confdefs.h >>conftest.$ac_ext
                   19786: cat >>conftest.$ac_ext <<_ACEOF
                   19787: /* end confdefs.h.  */
1.66      paf      19788: #include <time.h>
1.62      paf      19789: int
                   19790: main ()
                   19791: {
1.66      paf      19792: struct tm tm;
                   19793: tm.tm_gmtoff=0;
                   19794: 
1.62      paf      19795:   ;
                   19796:   return 0;
                   19797: }
                   19798: _ACEOF
1.66      paf      19799: rm -f conftest.$ac_objext
                   19800: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19801:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19802:   ac_status=$?
1.86      paf      19803:   grep -v '^ *+' conftest.er1 >conftest.err
                   19804:   rm -f conftest.er1
                   19805:   cat conftest.err >&5
1.62      paf      19806:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19807:   (exit $ac_status); } &&
1.86      paf      19808:         { ac_try='test -z "$ac_c_werror_flag"
                   19809:                         || test ! -s conftest.err'
                   19810:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19811:   (eval $ac_try) 2>&5
                   19812:   ac_status=$?
                   19813:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19814:   (exit $ac_status); }; } &&
                   19815:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19816:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19817:   (eval $ac_try) 2>&5
                   19818:   ac_status=$?
                   19819:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19820:   (exit $ac_status); }; }; then
1.66      paf      19821:   cat >>confdefs.h <<\_ACEOF
                   19822: #define HAVE_TM_GMTOFF 1
                   19823: _ACEOF
                   19824: 
                   19825: echo "$as_me:$LINENO: result: yes" >&5
                   19826: echo "${ECHO_T}yes" >&6
1.62      paf      19827: else
                   19828:   echo "$as_me: failed program was:" >&5
                   19829: sed 's/^/| /' conftest.$ac_ext >&5
                   19830: 
1.66      paf      19831: echo "$as_me:$LINENO: result: no" >&5
                   19832: echo "${ECHO_T}no" >&6
1.62      paf      19833: fi
1.86      paf      19834: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19835: 
1.66      paf      19836: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   19837: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      19838: cat >conftest.$ac_ext <<_ACEOF
                   19839: /* confdefs.h.  */
                   19840: _ACEOF
                   19841: cat confdefs.h >>conftest.$ac_ext
                   19842: cat >>conftest.$ac_ext <<_ACEOF
                   19843: /* end confdefs.h.  */
1.66      paf      19844: #include <time.h>
1.62      paf      19845: int
                   19846: main ()
                   19847: {
1.66      paf      19848: struct tm tm;
                   19849: tm.tm_tzadj=0;
                   19850: 
1.62      paf      19851:   ;
                   19852:   return 0;
                   19853: }
                   19854: _ACEOF
1.66      paf      19855: rm -f conftest.$ac_objext
                   19856: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19857:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19858:   ac_status=$?
1.86      paf      19859:   grep -v '^ *+' conftest.er1 >conftest.err
                   19860:   rm -f conftest.er1
                   19861:   cat conftest.err >&5
1.62      paf      19862:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19863:   (exit $ac_status); } &&
1.86      paf      19864:         { ac_try='test -z "$ac_c_werror_flag"
                   19865:                         || test ! -s conftest.err'
                   19866:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19867:   (eval $ac_try) 2>&5
                   19868:   ac_status=$?
                   19869:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19870:   (exit $ac_status); }; } &&
                   19871:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19872:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19873:   (eval $ac_try) 2>&5
                   19874:   ac_status=$?
                   19875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19876:   (exit $ac_status); }; }; then
1.66      paf      19877:   cat >>confdefs.h <<\_ACEOF
                   19878: #define HAVE_TM_TZADJ 1
                   19879: _ACEOF
                   19880: 
                   19881: echo "$as_me:$LINENO: result: yes" >&5
                   19882: echo "${ECHO_T}yes" >&6
1.62      paf      19883: else
                   19884:   echo "$as_me: failed program was:" >&5
                   19885: sed 's/^/| /' conftest.$ac_ext >&5
                   19886: 
1.66      paf      19887: echo "$as_me:$LINENO: result: no" >&5
                   19888: echo "${ECHO_T}no" >&6
1.62      paf      19889: fi
1.86      paf      19890: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      19891: 
                   19892: 
                   19893: 
                   19894: 
1.1       paf      19895: 
                   19896: 
                   19897: 
1.62      paf      19898: 
                   19899: 
                   19900: 
                   19901: 
                   19902: 
                   19903: 
                   19904: 
                   19905: 
                   19906: 
                   19907: 
                   19908: 
                   19909: 
                   19910: 
                   19911: 
                   19912: 
                   19913: 
                   19914: 
                   19915: 
                   19916: 
                   19917: 
                   19918: 
                   19919: 
                   19920: 
                   19921: 
1.128     moko     19922:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19923: 
                   19924: 
1.130   ! moko     19925:                                                                                                                                                                                                                                                                                                             ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/memcached/Makefile src/lib/curl/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62      paf      19926: cat >confcache <<\_ACEOF
1.1       paf      19927: # This file is a shell script that caches the results of configure
                   19928: # tests run on this system so they can be shared between configure
1.62      paf      19929: # scripts and configure runs, see configure's option --config-cache.
                   19930: # It is not useful on other systems.  If it contains results you don't
                   19931: # want to keep, you may remove or edit it.
1.1       paf      19932: #
1.62      paf      19933: # config.status only pays attention to the cache file if you give it
                   19934: # the --recheck option to rerun configure.
1.1       paf      19935: #
1.62      paf      19936: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19937: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19938: # following values.
                   19939: 
                   19940: _ACEOF
                   19941: 
1.1       paf      19942: # The following way of writing the cache mishandles newlines in values,
                   19943: # but we know of no workaround that is simple, portable, and efficient.
                   19944: # So, don't put newlines in cache variables' values.
                   19945: # Ultrix sh set writes to stderr and can't be redirected directly,
                   19946: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      19947: {
                   19948:   (set) 2>&1 |
                   19949:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   19950:     *ac_space=\ *)
                   19951:       # `set' does not quote correctly, so add quotes (double-quote
                   19952:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   19953:       sed -n \
1.86      paf      19954:        "s/'/'\\\\''/g;
                   19955:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      19956:       ;;
                   19957:     *)
                   19958:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   19959:       sed -n \
1.86      paf      19960:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      19961:       ;;
                   19962:     esac;
                   19963: } |
                   19964:   sed '
                   19965:      t clear
                   19966:      : clear
                   19967:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19968:      t end
                   19969:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19970:      : end' >>confcache
                   19971: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      19972:   if test -w $cache_file; then
1.62      paf      19973:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   19974:     cat confcache >$cache_file
1.1       paf      19975:   else
                   19976:     echo "not updating unwritable cache $cache_file"
                   19977:   fi
                   19978: fi
                   19979: rm -f confcache
                   19980: 
                   19981: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19982: # Let make expand exec_prefix.
                   19983: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19984: 
1.62      paf      19985: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   19986: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   19987: # trailing colons and then remove the whole line if VPATH becomes empty
                   19988: # (actually we leave an empty line to preserve line numbers).
1.1       paf      19989: if test "x$srcdir" = x.; then
1.86      paf      19990:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      19991: s/:*\$(srcdir):*/:/;
                   19992: s/:*\${srcdir}:*/:/;
                   19993: s/:*@srcdir@:*/:/;
1.86      paf      19994: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      19995: s/:*$//;
1.86      paf      19996: s/^[^=]*=[      ]*$//;
1.62      paf      19997: }'
1.1       paf      19998: fi
                   19999: 
1.62      paf      20000: DEFS=-DHAVE_CONFIG_H
                   20001: 
                   20002: ac_libobjs=
                   20003: ac_ltlibobjs=
                   20004: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20005:   # 1. Remove the extension, and $U if already installed.
                   20006:   ac_i=`echo "$ac_i" |
1.86      paf      20007:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      20008:   # 2. Add them.
                   20009:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   20010:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   20011: done
                   20012: LIBOBJS=$ac_libobjs
                   20013: 
                   20014: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      20015: 
                   20016: 
1.62      paf      20017: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20018:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   20019: Usually this means the macro was only invoked conditionally." >&5
                   20020: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   20021: Usually this means the macro was only invoked conditionally." >&2;}
                   20022:    { (exit 1); exit 1; }; }
                   20023: fi
1.66      paf      20024: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   20025:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20026: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20027: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20028: Usually this means the macro was only invoked conditionally." >&2;}
                   20029:    { (exit 1); exit 1; }; }
                   20030: fi
1.66      paf      20031: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20032:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20033: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20034: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20035: Usually this means the macro was only invoked conditionally." >&2;}
                   20036:    { (exit 1); exit 1; }; }
                   20037: fi
1.122     moko     20038: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   20039:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20040: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     20041: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20042: Usually this means the macro was only invoked conditionally." >&2;}
                   20043:    { (exit 1); exit 1; }; }
                   20044: fi
1.128     moko     20045: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   20046:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   20047: Usually this means the macro was only invoked conditionally." >&5
                   20048: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   20049: Usually this means the macro was only invoked conditionally." >&2;}
                   20050:    { (exit 1); exit 1; }; }
                   20051: fi
                   20052: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   20053:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20054: Usually this means the macro was only invoked conditionally." >&5
                   20055: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20056: Usually this means the macro was only invoked conditionally." >&2;}
                   20057:    { (exit 1); exit 1; }; }
                   20058: fi
                   20059: LT_CONFIG_H=`echo " src/include/pa_config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   20060: 
                   20061:     _ltdl_libobjs=
                   20062:     _ltdl_ltlibobjs=
                   20063:     if test -n "$_LT_LIBOBJS"; then
                   20064:       # Remove the extension.
                   20065:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   20066:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   20067:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   20068:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   20069:       done
                   20070:     fi
                   20071:     ltdl_LIBOBJS=$_ltdl_libobjs
                   20072: 
                   20073:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   20074: 
                   20075: 
1.62      paf      20076: 
1.1       paf      20077: : ${CONFIG_STATUS=./config.status}
1.62      paf      20078: ac_clean_files_save=$ac_clean_files
                   20079: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20080: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   20081: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   20082: cat >$CONFIG_STATUS <<_ACEOF
                   20083: #! $SHELL
                   20084: # Generated by $as_me.
                   20085: # Run this file to recreate the current configuration.
                   20086: # Compiler output produced by configure, useful for debugging
                   20087: # configure, is in config.log if it exists.
                   20088: 
                   20089: debug=false
                   20090: ac_cs_recheck=false
                   20091: ac_cs_silent=false
                   20092: SHELL=\${CONFIG_SHELL-$SHELL}
                   20093: _ACEOF
                   20094: 
                   20095: cat >>$CONFIG_STATUS <<\_ACEOF
                   20096: ## --------------------- ##
                   20097: ## M4sh Initialization.  ##
                   20098: ## --------------------- ##
                   20099: 
                   20100: # Be Bourne compatible
                   20101: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   20102:   emulate sh
                   20103:   NULLCMD=:
                   20104:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   20105:   # is contrary to our usage.  Disable this feature.
                   20106:   alias -g '${1+"$@"}'='"$@"'
                   20107: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   20108:   set -o posix
                   20109: fi
1.86      paf      20110: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      20111: 
                   20112: # Support unset when possible.
1.86      paf      20113: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      20114:   as_unset=unset
                   20115: else
                   20116:   as_unset=false
                   20117: fi
                   20118: 
                   20119: 
                   20120: # Work around bugs in pre-3.0 UWIN ksh.
                   20121: $as_unset ENV MAIL MAILPATH
                   20122: PS1='$ '
                   20123: PS2='> '
                   20124: PS4='+ '
                   20125: 
                   20126: # NLS nuisances.
                   20127: for as_var in \
                   20128:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   20129:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   20130:   LC_TELEPHONE LC_TIME
                   20131: do
1.86      paf      20132:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      20133:     eval $as_var=C; export $as_var
                   20134:   else
                   20135:     $as_unset $as_var
                   20136:   fi
                   20137: done
1.1       paf      20138: 
1.62      paf      20139: # Required to use basename.
                   20140: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20141:   as_expr=expr
                   20142: else
                   20143:   as_expr=false
                   20144: fi
                   20145: 
                   20146: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   20147:   as_basename=basename
                   20148: else
                   20149:   as_basename=false
                   20150: fi
                   20151: 
                   20152: 
                   20153: # Name of the executable.
                   20154: as_me=`$as_basename "$0" ||
                   20155: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   20156:         X"$0" : 'X\(//\)$' \| \
                   20157:         X"$0" : 'X\(/\)$' \| \
                   20158:         .     : '\(.\)' 2>/dev/null ||
                   20159: echo X/"$0" |
                   20160:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   20161:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   20162:          /^X\/\(\/\).*/{ s//\1/; q; }
                   20163:          s/.*/./; q'`
                   20164: 
                   20165: 
                   20166: # PATH needs CR, and LINENO needs CR and PATH.
                   20167: # Avoid depending upon Character Ranges.
                   20168: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   20169: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   20170: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   20171: as_cr_digits='0123456789'
                   20172: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   20173: 
                   20174: # The user is always right.
                   20175: if test "${PATH_SEPARATOR+set}" != set; then
                   20176:   echo "#! /bin/sh" >conf$$.sh
                   20177:   echo  "exit 0"   >>conf$$.sh
                   20178:   chmod +x conf$$.sh
                   20179:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   20180:     PATH_SEPARATOR=';'
                   20181:   else
                   20182:     PATH_SEPARATOR=:
                   20183:   fi
                   20184:   rm -f conf$$.sh
                   20185: fi
                   20186: 
                   20187: 
                   20188:   as_lineno_1=$LINENO
                   20189:   as_lineno_2=$LINENO
                   20190:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20191:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20192:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   20193:   # Find who we are.  Look in the path if we contain no path at all
                   20194:   # relative or not.
                   20195:   case $0 in
                   20196:     *[\\/]* ) as_myself=$0 ;;
                   20197:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20198: for as_dir in $PATH
                   20199: do
                   20200:   IFS=$as_save_IFS
                   20201:   test -z "$as_dir" && as_dir=.
                   20202:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   20203: done
                   20204: 
                   20205:        ;;
                   20206:   esac
                   20207:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   20208:   # in which case we are not to be found in the path.
                   20209:   if test "x$as_myself" = x; then
                   20210:     as_myself=$0
                   20211:   fi
                   20212:   if test ! -f "$as_myself"; then
                   20213:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   20214: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   20215:    { (exit 1); exit 1; }; }
                   20216:   fi
                   20217:   case $CONFIG_SHELL in
                   20218:   '')
                   20219:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   20221: do
                   20222:   IFS=$as_save_IFS
                   20223:   test -z "$as_dir" && as_dir=.
                   20224:   for as_base in sh bash ksh sh5; do
                   20225:         case $as_dir in
                   20226:         /*)
                   20227:           if ("$as_dir/$as_base" -c '
                   20228:   as_lineno_1=$LINENO
                   20229:   as_lineno_2=$LINENO
                   20230:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20231:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20232:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   20233:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   20234:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   20235:             CONFIG_SHELL=$as_dir/$as_base
                   20236:             export CONFIG_SHELL
                   20237:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   20238:           fi;;
                   20239:         esac
                   20240:        done
                   20241: done
                   20242: ;;
                   20243:   esac
                   20244: 
                   20245:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   20246:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   20247:   # line-number line before each line; the second 'sed' does the real
                   20248:   # work.  The second script uses 'N' to pair each line-number line
                   20249:   # with the numbered line, and appends trailing '-' during
                   20250:   # substitution so that $LINENO is not a special case at line end.
                   20251:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   20252:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   20253:   sed '=' <$as_myself |
                   20254:     sed '
                   20255:       N
                   20256:       s,$,-,
                   20257:       : loop
                   20258:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   20259:       t loop
                   20260:       s,-$,,
                   20261:       s,^['$as_cr_digits']*\n,,
                   20262:     ' >$as_me.lineno &&
                   20263:   chmod +x $as_me.lineno ||
                   20264:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   20265: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   20266:    { (exit 1); exit 1; }; }
                   20267: 
                   20268:   # Don't try to exec as it changes $[0], causing all sort of problems
                   20269:   # (the dirname of $[0] is not the place where we might find the
                   20270:   # original and so on.  Autoconf is especially sensible to this).
                   20271:   . ./$as_me.lineno
                   20272:   # Exit status is that of the last command.
                   20273:   exit
                   20274: }
                   20275: 
                   20276: 
                   20277: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   20278:   *c*,-n*) ECHO_N= ECHO_C='
                   20279: ' ECHO_T='     ' ;;
                   20280:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   20281:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   20282: esac
                   20283: 
                   20284: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20285:   as_expr=expr
                   20286: else
                   20287:   as_expr=false
                   20288: fi
                   20289: 
                   20290: rm -f conf$$ conf$$.exe conf$$.file
                   20291: echo >conf$$.file
                   20292: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   20293:   # We could just check for DJGPP; but this test a) works b) is more generic
                   20294:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   20295:   if test -f conf$$.exe; then
                   20296:     # Don't use ln at all; we don't have any links
                   20297:     as_ln_s='cp -p'
                   20298:   else
                   20299:     as_ln_s='ln -s'
                   20300:   fi
                   20301: elif ln conf$$.file conf$$ 2>/dev/null; then
                   20302:   as_ln_s=ln
                   20303: else
                   20304:   as_ln_s='cp -p'
                   20305: fi
                   20306: rm -f conf$$ conf$$.exe conf$$.file
                   20307: 
                   20308: if mkdir -p . 2>/dev/null; then
                   20309:   as_mkdir_p=:
                   20310: else
1.86      paf      20311:   test -d ./-p && rmdir ./-p
1.62      paf      20312:   as_mkdir_p=false
                   20313: fi
                   20314: 
                   20315: as_executable_p="test -f"
                   20316: 
                   20317: # Sed expression to map a string onto a valid CPP name.
1.86      paf      20318: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20319: 
                   20320: # Sed expression to map a string onto a valid variable name.
1.86      paf      20321: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20322: 
                   20323: 
                   20324: # IFS
                   20325: # We need space, tab and new line, in precisely that order.
                   20326: as_nl='
                   20327: '
                   20328: IFS="  $as_nl"
                   20329: 
                   20330: # CDPATH.
                   20331: $as_unset CDPATH
                   20332: 
                   20333: exec 6>&1
                   20334: 
                   20335: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   20336: # report actual input values of CONFIG_FILES etc. instead of their
                   20337: # values after options handling.  Logging --version etc. is OK.
                   20338: exec 5>>config.log
                   20339: {
                   20340:   echo
                   20341:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20342: ## Running $as_me. ##
                   20343: _ASBOX
                   20344: } >&5
                   20345: cat >&5 <<_CSEOF
                   20346: 
1.128     moko     20347: This file was extended by parser $as_me 3.4.2b, which was
1.86      paf      20348: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      20349: 
                   20350:   CONFIG_FILES    = $CONFIG_FILES
                   20351:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20352:   CONFIG_LINKS    = $CONFIG_LINKS
                   20353:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20354:   $ $0 $@
                   20355: 
                   20356: _CSEOF
                   20357: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   20358: echo >&5
                   20359: _ACEOF
                   20360: 
                   20361: # Files that config.status was made for.
                   20362: if test -n "$ac_config_files"; then
                   20363:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   20364: fi
                   20365: 
                   20366: if test -n "$ac_config_headers"; then
                   20367:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   20368: fi
                   20369: 
                   20370: if test -n "$ac_config_links"; then
                   20371:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   20372: fi
                   20373: 
                   20374: if test -n "$ac_config_commands"; then
                   20375:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   20376: fi
                   20377: 
                   20378: cat >>$CONFIG_STATUS <<\_ACEOF
                   20379: 
                   20380: ac_cs_usage="\
                   20381: \`$as_me' instantiates files from templates according to the
                   20382: current configuration.
                   20383: 
                   20384: Usage: $0 [OPTIONS] [FILE]...
                   20385: 
                   20386:   -h, --help       print this help, then exit
                   20387:   -V, --version    print version number, then exit
                   20388:   -q, --quiet      do not print progress messages
                   20389:   -d, --debug      don't remove temporary files
                   20390:       --recheck    update $as_me by reconfiguring in the same conditions
                   20391:   --file=FILE[:TEMPLATE]
1.86      paf      20392:                   instantiate the configuration file FILE
1.62      paf      20393:   --header=FILE[:TEMPLATE]
1.86      paf      20394:                   instantiate the configuration header FILE
1.62      paf      20395: 
                   20396: Configuration files:
                   20397: $config_files
                   20398: 
                   20399: Configuration headers:
                   20400: $config_headers
                   20401: 
                   20402: Configuration commands:
                   20403: $config_commands
                   20404: 
                   20405: Report bugs to <bug-autoconf@gnu.org>."
                   20406: _ACEOF
                   20407: 
                   20408: cat >>$CONFIG_STATUS <<_ACEOF
                   20409: ac_cs_version="\\
1.128     moko     20410: parser config.status 3.4.2b
1.86      paf      20411: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      20412:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   20413: 
1.86      paf      20414: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      20415: This config.status script is free software; the Free Software Foundation
                   20416: gives unlimited permission to copy, distribute and modify it."
                   20417: srcdir=$srcdir
                   20418: INSTALL="$INSTALL"
                   20419: _ACEOF
                   20420: 
                   20421: cat >>$CONFIG_STATUS <<\_ACEOF
                   20422: # If no file are specified by the user, then we need to provide default
                   20423: # value.  By we need to know if files were specified by the user.
                   20424: ac_need_defaults=:
                   20425: while test $# != 0
                   20426: do
                   20427:   case $1 in
                   20428:   --*=*)
                   20429:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   20430:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   20431:     ac_shift=:
                   20432:     ;;
                   20433:   -*)
                   20434:     ac_option=$1
                   20435:     ac_optarg=$2
                   20436:     ac_shift=shift
                   20437:     ;;
                   20438:   *) # This is not an option, so the user has probably given explicit
                   20439:      # arguments.
                   20440:      ac_option=$1
                   20441:      ac_need_defaults=false;;
                   20442:   esac
                   20443: 
                   20444:   case $ac_option in
                   20445:   # Handling of the options.
                   20446: _ACEOF
                   20447: cat >>$CONFIG_STATUS <<\_ACEOF
                   20448:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20449:     ac_cs_recheck=: ;;
                   20450:   --version | --vers* | -V )
                   20451:     echo "$ac_cs_version"; exit 0 ;;
                   20452:   --he | --h)
                   20453:     # Conflict between --help and --header
                   20454:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   20455: Try \`$0 --help' for more information." >&5
                   20456: echo "$as_me: error: ambiguous option: $1
                   20457: Try \`$0 --help' for more information." >&2;}
                   20458:    { (exit 1); exit 1; }; };;
                   20459:   --help | --hel | -h )
                   20460:     echo "$ac_cs_usage"; exit 0 ;;
                   20461:   --debug | --d* | -d )
                   20462:     debug=: ;;
                   20463:   --file | --fil | --fi | --f )
                   20464:     $ac_shift
                   20465:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   20466:     ac_need_defaults=false;;
                   20467:   --header | --heade | --head | --hea )
                   20468:     $ac_shift
                   20469:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   20470:     ac_need_defaults=false;;
                   20471:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20472:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20473:     ac_cs_silent=: ;;
                   20474: 
                   20475:   # This is an error.
                   20476:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   20477: Try \`$0 --help' for more information." >&5
                   20478: echo "$as_me: error: unrecognized option: $1
                   20479: Try \`$0 --help' for more information." >&2;}
                   20480:    { (exit 1); exit 1; }; } ;;
                   20481: 
                   20482:   *) ac_config_targets="$ac_config_targets $1" ;;
                   20483: 
                   20484:   esac
                   20485:   shift
                   20486: done
                   20487: 
                   20488: ac_configure_extra_args=
                   20489: 
                   20490: if $ac_cs_silent; then
                   20491:   exec 6>/dev/null
                   20492:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20493: fi
                   20494: 
                   20495: _ACEOF
                   20496: cat >>$CONFIG_STATUS <<_ACEOF
                   20497: if \$ac_cs_recheck; then
                   20498:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   20499:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   20500: fi
                   20501: 
                   20502: _ACEOF
                   20503: 
                   20504: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      20505: #
1.62      paf      20506: # INIT-COMMANDS section.
1.1       paf      20507: #
                   20508: 
1.62      paf      20509: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20510: 
1.128     moko     20511: 
                   20512: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20513: # if CDPATH is set.
                   20514: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20515: 
                   20516: sed_quote_subst='$sed_quote_subst'
                   20517: double_quote_subst='$double_quote_subst'
                   20518: delay_variable_subst='$delay_variable_subst'
                   20519: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20520: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20521: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20522: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20523: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   20524: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   20525: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   20526: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   20527: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20528: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20529: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   20530: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   20531: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20532: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20533: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20534: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20535: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20536: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20537: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20538: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20539: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20540: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20541: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20542: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20543: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20544: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20545: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20546: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20547: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20548: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20549: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20550: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20551: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20552: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20553: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20554: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20555: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20556: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20557: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20558: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20559: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20560: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20561: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20562: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20563: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20564: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20565: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20566: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20567: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20568: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20569: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20570: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20571: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20572: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20573: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20574: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20575: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20576: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20577: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20578: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20579: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20580: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20581: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20582: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20583: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20584: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20585: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20586: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20587: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20588: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20589: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20590: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20591: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20592: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20593: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20594: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20595: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20596: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20597: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20598: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20599: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20600: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20601: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20602: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20603: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20604: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20605: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20606: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20607: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20608: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20609: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20610: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20611: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20612: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20613: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20614: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20615: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20616: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20617: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20618: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20619: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20620: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20621: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20622: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20623: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20624: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20625: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20626: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20627: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20628: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20629: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20630: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20631: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20632: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20633: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20634: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20635: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20636: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20637: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20638: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20639: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20640: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20641: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20642: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20643: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20644: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20645: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20646: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20647: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20648: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20649: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20650: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20651: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20652: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20653: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20654: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20655: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20656: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20657: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20658: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20659: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20660: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20661: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20662: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20663: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20664: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20665: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20666: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20667: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20668: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20669: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20670: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20671: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20672: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20673: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20674: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20675: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20676: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20677: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20678: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20679: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20680: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20681: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20682: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20683: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20684: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20685: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20686: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20687: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20688: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20689: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20690: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20691: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20692: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20693: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20694: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20695: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20696: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20697: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20698: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20699: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20700: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20701: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20702: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20703: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20704: 
                   20705: LTCC='$LTCC'
                   20706: LTCFLAGS='$LTCFLAGS'
                   20707: compiler='$compiler_DEFAULT'
                   20708: 
                   20709: # A function that is used when there is no print builtin or printf.
                   20710: func_fallback_echo ()
                   20711: {
                   20712:   eval 'cat <<_LTECHO_EOF
                   20713: \$1
                   20714: _LTECHO_EOF'
                   20715: }
                   20716: 
                   20717: # Quote evaled strings.
                   20718: for var in AS \
                   20719: DLLTOOL \
                   20720: OBJDUMP \
                   20721: SHELL \
                   20722: ECHO \
                   20723: PATH_SEPARATOR \
                   20724: SED \
                   20725: GREP \
                   20726: EGREP \
                   20727: FGREP \
                   20728: LD \
                   20729: NM \
                   20730: LN_S \
                   20731: lt_SP2NL \
                   20732: lt_NL2SP \
                   20733: reload_flag \
                   20734: deplibs_check_method \
                   20735: file_magic_cmd \
                   20736: file_magic_glob \
                   20737: want_nocaseglob \
                   20738: sharedlib_from_linklib_cmd \
                   20739: AR \
                   20740: AR_FLAGS \
                   20741: archiver_list_spec \
                   20742: STRIP \
                   20743: RANLIB \
                   20744: CC \
                   20745: CFLAGS \
                   20746: compiler \
                   20747: lt_cv_sys_global_symbol_pipe \
                   20748: lt_cv_sys_global_symbol_to_cdecl \
                   20749: lt_cv_sys_global_symbol_to_c_name_address \
                   20750: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20751: nm_file_list_spec \
                   20752: lt_prog_compiler_no_builtin_flag \
                   20753: lt_prog_compiler_pic \
                   20754: lt_prog_compiler_wl \
                   20755: lt_prog_compiler_static \
                   20756: lt_cv_prog_compiler_c_o \
                   20757: need_locks \
                   20758: MANIFEST_TOOL \
                   20759: DSYMUTIL \
                   20760: NMEDIT \
                   20761: LIPO \
                   20762: OTOOL \
                   20763: OTOOL64 \
                   20764: shrext_cmds \
                   20765: export_dynamic_flag_spec \
                   20766: whole_archive_flag_spec \
                   20767: compiler_needs_object \
                   20768: with_gnu_ld \
                   20769: allow_undefined_flag \
                   20770: no_undefined_flag \
                   20771: hardcode_libdir_flag_spec \
                   20772: hardcode_libdir_separator \
                   20773: exclude_expsyms \
                   20774: include_expsyms \
                   20775: file_list_spec \
                   20776: variables_saved_for_relink \
                   20777: libname_spec \
                   20778: library_names_spec \
                   20779: soname_spec \
                   20780: install_override_mode \
                   20781: finish_eval \
                   20782: old_striplib \
                   20783: striplib \
                   20784: compiler_lib_search_dirs \
                   20785: predep_objects \
                   20786: postdep_objects \
                   20787: predeps \
                   20788: postdeps \
                   20789: compiler_lib_search_path \
                   20790: LD_CXX \
                   20791: reload_flag_CXX \
                   20792: compiler_CXX \
                   20793: lt_prog_compiler_no_builtin_flag_CXX \
                   20794: lt_prog_compiler_pic_CXX \
                   20795: lt_prog_compiler_wl_CXX \
                   20796: lt_prog_compiler_static_CXX \
                   20797: lt_cv_prog_compiler_c_o_CXX \
                   20798: export_dynamic_flag_spec_CXX \
                   20799: whole_archive_flag_spec_CXX \
                   20800: compiler_needs_object_CXX \
                   20801: with_gnu_ld_CXX \
                   20802: allow_undefined_flag_CXX \
                   20803: no_undefined_flag_CXX \
                   20804: hardcode_libdir_flag_spec_CXX \
                   20805: hardcode_libdir_separator_CXX \
                   20806: exclude_expsyms_CXX \
                   20807: include_expsyms_CXX \
                   20808: file_list_spec_CXX \
                   20809: compiler_lib_search_dirs_CXX \
                   20810: predep_objects_CXX \
                   20811: postdep_objects_CXX \
                   20812: predeps_CXX \
                   20813: postdeps_CXX \
                   20814: compiler_lib_search_path_CXX; do
                   20815:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20816:     *[\\\\\\\`\\"\\\$]*)
                   20817:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20818:       ;;
                   20819:     *)
                   20820:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20821:       ;;
                   20822:     esac
                   20823: done
                   20824: 
                   20825: # Double-quote double-evaled strings.
                   20826: for var in reload_cmds \
                   20827: old_postinstall_cmds \
                   20828: old_postuninstall_cmds \
                   20829: old_archive_cmds \
                   20830: extract_expsyms_cmds \
                   20831: old_archive_from_new_cmds \
                   20832: old_archive_from_expsyms_cmds \
                   20833: archive_cmds \
                   20834: archive_expsym_cmds \
                   20835: module_cmds \
                   20836: module_expsym_cmds \
                   20837: export_symbols_cmds \
                   20838: prelink_cmds \
                   20839: postlink_cmds \
                   20840: postinstall_cmds \
                   20841: postuninstall_cmds \
                   20842: finish_cmds \
                   20843: sys_lib_search_path_spec \
                   20844: sys_lib_dlsearch_path_spec \
                   20845: reload_cmds_CXX \
                   20846: old_archive_cmds_CXX \
                   20847: old_archive_from_new_cmds_CXX \
                   20848: old_archive_from_expsyms_cmds_CXX \
                   20849: archive_cmds_CXX \
                   20850: archive_expsym_cmds_CXX \
                   20851: module_cmds_CXX \
                   20852: module_expsym_cmds_CXX \
                   20853: export_symbols_cmds_CXX \
                   20854: prelink_cmds_CXX \
                   20855: postlink_cmds_CXX; do
                   20856:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20857:     *[\\\\\\\`\\"\\\$]*)
                   20858:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20859:       ;;
                   20860:     *)
                   20861:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20862:       ;;
                   20863:     esac
                   20864: done
                   20865: 
                   20866: ac_aux_dir='$ac_aux_dir'
                   20867: xsi_shell='$xsi_shell'
                   20868: lt_shell_append='$lt_shell_append'
                   20869: 
                   20870: # See if we are running on zsh, and set the options which allow our
                   20871: # commands through without removal of \ escapes INIT.
                   20872: if test -n "\${ZSH_VERSION+set}" ; then
                   20873:    setopt NO_GLOB_SUBST
                   20874: fi
                   20875: 
                   20876: 
                   20877:     PACKAGE='$PACKAGE'
                   20878:     VERSION='$VERSION'
                   20879:     TIMESTAMP='$TIMESTAMP'
                   20880:     RM='$RM'
                   20881:     ofile='$ofile'
                   20882: 
                   20883: 
                   20884: 
                   20885: 
                   20886: 
                   20887: 
1.62      paf      20888: _ACEOF
                   20889: 
                   20890: 
                   20891: 
                   20892: cat >>$CONFIG_STATUS <<\_ACEOF
                   20893: for ac_config_target in $ac_config_targets
1.1       paf      20894: do
1.62      paf      20895:   case "$ac_config_target" in
                   20896:   # Handling of arguments.
                   20897:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20898:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20899:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20900:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20901:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20902:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20903:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20904:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      20905:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20906:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      20907:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20908:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    20909:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      20910:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20911:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20912:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      20913:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      20914:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
1.124     moko     20915:   "src/lib/sdbm/pa-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
1.120     misha    20916:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.126     moko     20917:   "src/lib/memcached/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
1.127     moko     20918:   "src/lib/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
1.62      paf      20919:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20920:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     20921:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      20922:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20923:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20924:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   20925:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   20926:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   20927:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.128     moko     20928:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.62      paf      20929:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20930:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   20931: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   20932:    { (exit 1); exit 1; }; };;
1.1       paf      20933:   esac
                   20934: done
                   20935: 
1.62      paf      20936: # If the user did not use the arguments to specify the items to instantiate,
                   20937: # then the envvar interface is used.  Set only those that are not.
                   20938: # We use the long form for the default assignment because of an extremely
                   20939: # bizarre bug on SunOS 4.1.3.
                   20940: if $ac_need_defaults; then
                   20941:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20942:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20943:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20944: fi
                   20945: 
                   20946: # Have a temporary directory for convenience.  Make it in the build tree
                   20947: # simply because there is no reason to put it here, and in addition,
                   20948: # creating and moving files from /tmp can sometimes cause problems.
                   20949: # Create a temporary directory, and hook for its removal unless debugging.
                   20950: $debug ||
                   20951: {
                   20952:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   20953:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   20954: }
                   20955: 
                   20956: # Create a (secure) tmp directory for tmp files.
                   20957: 
                   20958: {
                   20959:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   20960:   test -n "$tmp" && test -d "$tmp"
                   20961: }  ||
                   20962: {
                   20963:   tmp=./confstat$$-$RANDOM
                   20964:   (umask 077 && mkdir $tmp)
                   20965: } ||
                   20966: {
                   20967:    echo "$me: cannot create a temporary directory in ." >&2
                   20968:    { (exit 1); exit 1; }
                   20969: }
                   20970: 
                   20971: _ACEOF
1.1       paf      20972: 
1.62      paf      20973: cat >>$CONFIG_STATUS <<_ACEOF
                   20974: 
                   20975: #
                   20976: # CONFIG_FILES section.
                   20977: #
1.1       paf      20978: 
1.62      paf      20979: # No need to generate the scripts if there are no CONFIG_FILES.
                   20980: # This happens for instance when ./config.status config.h
                   20981: if test -n "\$CONFIG_FILES"; then
                   20982:   # Protect against being on the right side of a sed subst in config.status.
                   20983:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   20984:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   20985: s,@SHELL@,$SHELL,;t t
                   20986: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   20987: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   20988: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   20989: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   20990: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   20991: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   20992: s,@exec_prefix@,$exec_prefix,;t t
                   20993: s,@prefix@,$prefix,;t t
                   20994: s,@program_transform_name@,$program_transform_name,;t t
                   20995: s,@bindir@,$bindir,;t t
                   20996: s,@sbindir@,$sbindir,;t t
                   20997: s,@libexecdir@,$libexecdir,;t t
                   20998: s,@datadir@,$datadir,;t t
                   20999: s,@sysconfdir@,$sysconfdir,;t t
                   21000: s,@sharedstatedir@,$sharedstatedir,;t t
                   21001: s,@localstatedir@,$localstatedir,;t t
                   21002: s,@libdir@,$libdir,;t t
                   21003: s,@includedir@,$includedir,;t t
                   21004: s,@oldincludedir@,$oldincludedir,;t t
                   21005: s,@infodir@,$infodir,;t t
                   21006: s,@mandir@,$mandir,;t t
                   21007: s,@build_alias@,$build_alias,;t t
                   21008: s,@host_alias@,$host_alias,;t t
                   21009: s,@target_alias@,$target_alias,;t t
                   21010: s,@DEFS@,$DEFS,;t t
                   21011: s,@ECHO_C@,$ECHO_C,;t t
                   21012: s,@ECHO_N@,$ECHO_N,;t t
                   21013: s,@ECHO_T@,$ECHO_T,;t t
                   21014: s,@LIBS@,$LIBS,;t t
                   21015: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   21016: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   21017: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   21018: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   21019: s,@PACKAGE@,$PACKAGE,;t t
                   21020: s,@VERSION@,$VERSION,;t t
                   21021: s,@ACLOCAL@,$ACLOCAL,;t t
                   21022: s,@AUTOCONF@,$AUTOCONF,;t t
                   21023: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   21024: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   21025: s,@MAKEINFO@,$MAKEINFO,;t t
                   21026: s,@install_sh@,$install_sh,;t t
                   21027: s,@STRIP@,$STRIP,;t t
                   21028: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   21029: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      21030: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      21031: s,@AWK@,$AWK,;t t
                   21032: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      21033: s,@am__leading_dot@,$am__leading_dot,;t t
                   21034: s,@AMTAR@,$AMTAR,;t t
                   21035: s,@am__tar@,$am__tar,;t t
                   21036: s,@am__untar@,$am__untar,;t t
1.62      paf      21037: s,@P3S@,$P3S,;t t
                   21038: s,@build@,$build,;t t
                   21039: s,@build_cpu@,$build_cpu,;t t
                   21040: s,@build_vendor@,$build_vendor,;t t
                   21041: s,@build_os@,$build_os,;t t
                   21042: s,@host@,$host,;t t
                   21043: s,@host_cpu@,$host_cpu,;t t
                   21044: s,@host_vendor@,$host_vendor,;t t
                   21045: s,@host_os@,$host_os,;t t
                   21046: s,@YACC@,$YACC,;t t
1.66      paf      21047: s,@CXX@,$CXX,;t t
                   21048: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      21049: s,@LDFLAGS@,$LDFLAGS,;t t
                   21050: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      21051: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      21052: s,@EXEEXT@,$EXEEXT,;t t
                   21053: s,@OBJEXT@,$OBJEXT,;t t
                   21054: s,@DEPDIR@,$DEPDIR,;t t
                   21055: s,@am__include@,$am__include,;t t
                   21056: s,@am__quote@,$am__quote,;t t
                   21057: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   21058: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   21059: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      21060: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   21061: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   21062: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   21063: s,@CC@,$CC,;t t
                   21064: s,@CFLAGS@,$CFLAGS,;t t
                   21065: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      21066: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   21067: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   21068: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   21069: s,@dll_extension@,$dll_extension,;t t
1.67      paf      21070: s,@CPP_LIBS@,$CPP_LIBS,;t t
                   21071: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    21072: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   21073: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      21074: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   21075: s,@XML_LIBS@,$XML_LIBS,;t t
                   21076: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   21077: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     21078: s,@APACHE@,$APACHE,;t t
                   21079: s,@APACHE_INC@,$APACHE_INC,;t t
                   21080: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   21081: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   21082: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.128     moko     21083: s,@AS@,$AS,;t t
                   21084: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   21085: s,@DLLTOOL@,$DLLTOOL,;t t
                   21086: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   21087: s,@OBJDUMP@,$OBJDUMP,;t t
                   21088: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   21089: s,@LIBTOOL@,$LIBTOOL,;t t
                   21090: s,@SED@,$SED,;t t
                   21091: s,@EGREP@,$EGREP,;t t
                   21092: s,@FGREP@,$FGREP,;t t
                   21093: s,@GREP@,$GREP,;t t
                   21094: s,@LD@,$LD,;t t
                   21095: s,@DUMPBIN@,$DUMPBIN,;t t
                   21096: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   21097: s,@NM@,$NM,;t t
                   21098: s,@LN_S@,$LN_S,;t t
                   21099: s,@AR@,$AR,;t t
                   21100: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   21101: s,@RANLIB@,$RANLIB,;t t
                   21102: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   21103: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   21104: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   21105: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   21106: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   21107: s,@NMEDIT@,$NMEDIT,;t t
                   21108: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   21109: s,@LIPO@,$LIPO,;t t
                   21110: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   21111: s,@OTOOL@,$OTOOL,;t t
                   21112: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   21113: s,@OTOOL64@,$OTOOL64,;t t
                   21114: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   21115: s,@CPP@,$CPP,;t t
                   21116: s,@CXXCPP@,$CXXCPP,;t t
                   21117: s,@LIBLTDL@,$LIBLTDL,;t t
                   21118: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   21119: s,@LTDLINCL@,$LTDLINCL,;t t
1.62      paf      21120: s,@INCLTDL@,$INCLTDL,;t t
1.128     moko     21121: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   21122: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   21123: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   21124: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   21125: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   21126: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   21127: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   21128: s,@ARGZ_H@,$ARGZ_H,;t t
                   21129: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   21130: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   21131: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   21132: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
1.62      paf      21133: s,@subdirs@,$subdirs,;t t
1.128     moko     21134: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   21135: s,@LTDLOPEN@,$LTDLOPEN,;t t
1.62      paf      21136: s,@LIBOBJS@,$LIBOBJS,;t t
                   21137: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.128     moko     21138: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   21139: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
1.1       paf      21140: CEOF
                   21141: 
1.62      paf      21142: _ACEOF
1.1       paf      21143: 
1.62      paf      21144:   cat >>$CONFIG_STATUS <<\_ACEOF
                   21145:   # Split the substitutions into bite-sized pieces for seds with
                   21146:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   21147:   ac_max_sed_lines=48
                   21148:   ac_sed_frag=1 # Number of current file.
                   21149:   ac_beg=1 # First line for current file.
                   21150:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   21151:   ac_more_lines=:
                   21152:   ac_sed_cmds=
                   21153:   while $ac_more_lines; do
                   21154:     if test $ac_beg -gt 1; then
                   21155:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21156:     else
                   21157:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21158:     fi
                   21159:     if test ! -s $tmp/subs.frag; then
                   21160:       ac_more_lines=false
1.1       paf      21161:     else
1.62      paf      21162:       # The purpose of the label and of the branching condition is to
                   21163:       # speed up the sed processing (if there are no `@' at all, there
                   21164:       # is no need to browse any of the substitutions).
                   21165:       # These are the two extra sed commands mentioned above.
                   21166:       (echo ':t
                   21167:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   21168:       if test -z "$ac_sed_cmds"; then
1.86      paf      21169:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21170:       else
1.86      paf      21171:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21172:       fi
                   21173:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   21174:       ac_beg=$ac_end
                   21175:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      21176:     fi
1.62      paf      21177:   done
                   21178:   if test -z "$ac_sed_cmds"; then
                   21179:     ac_sed_cmds=cat
1.1       paf      21180:   fi
1.62      paf      21181: fi # test -n "$CONFIG_FILES"
1.1       paf      21182: 
1.62      paf      21183: _ACEOF
                   21184: cat >>$CONFIG_STATUS <<\_ACEOF
                   21185: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      21186:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21187:   case $ac_file in
                   21188:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21189:        cat >$tmp/stdin
                   21190:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21191:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21192:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21193:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21194:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21195:   esac
                   21196: 
1.62      paf      21197:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   21198:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21199: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21200:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21201:         X"$ac_file" : 'X\(//\)$' \| \
                   21202:         X"$ac_file" : 'X\(/\)' \| \
                   21203:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21204: echo X"$ac_file" |
                   21205:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21206:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21207:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21208:          /^X\(\/\).*/{ s//\1/; q; }
                   21209:          s/.*/./; q'`
                   21210:   { if $as_mkdir_p; then
                   21211:     mkdir -p "$ac_dir"
                   21212:   else
                   21213:     as_dir="$ac_dir"
                   21214:     as_dirs=
                   21215:     while test ! -d "$as_dir"; do
                   21216:       as_dirs="$as_dir $as_dirs"
                   21217:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21218: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21219:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21220:         X"$as_dir" : 'X\(//\)$' \| \
                   21221:         X"$as_dir" : 'X\(/\)' \| \
                   21222:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21223: echo X"$as_dir" |
                   21224:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21225:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21226:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21227:          /^X\(\/\).*/{ s//\1/; q; }
                   21228:          s/.*/./; q'`
                   21229:     done
                   21230:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21231:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21232: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21233:    { (exit 1); exit 1; }; }; }
                   21234: 
                   21235:   ac_builddir=.
                   21236: 
                   21237: if test "$ac_dir" != .; then
                   21238:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21239:   # A "../" for each directory in $ac_dir_suffix.
                   21240:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21241: else
                   21242:   ac_dir_suffix= ac_top_builddir=
                   21243: fi
                   21244: 
                   21245: case $srcdir in
                   21246:   .)  # No --srcdir option.  We are building in place.
                   21247:     ac_srcdir=.
                   21248:     if test -z "$ac_top_builddir"; then
                   21249:        ac_top_srcdir=.
                   21250:     else
                   21251:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21252:     fi ;;
                   21253:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21254:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21255:     ac_top_srcdir=$srcdir ;;
                   21256:   *) # Relative path.
                   21257:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21258:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21259: esac
1.86      paf      21260: 
                   21261: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21262: # the directories may not exist.
                   21263: case `pwd` in
                   21264: .) ac_abs_builddir="$ac_dir";;
                   21265: *)
                   21266:   case "$ac_dir" in
                   21267:   .) ac_abs_builddir=`pwd`;;
                   21268:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21269:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21270:   esac;;
                   21271: esac
                   21272: case $ac_abs_builddir in
                   21273: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21274: *)
                   21275:   case ${ac_top_builddir}. in
                   21276:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21277:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21278:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21279:   esac;;
                   21280: esac
                   21281: case $ac_abs_builddir in
                   21282: .) ac_abs_srcdir=$ac_srcdir;;
                   21283: *)
                   21284:   case $ac_srcdir in
                   21285:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21286:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21287:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21288:   esac;;
                   21289: esac
                   21290: case $ac_abs_builddir in
                   21291: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21292: *)
                   21293:   case $ac_top_srcdir in
                   21294:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21295:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21296:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21297:   esac;;
                   21298: esac
1.62      paf      21299: 
1.1       paf      21300: 
1.62      paf      21301:   case $INSTALL in
                   21302:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21303:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      21304:   esac
                   21305: 
1.62      paf      21306:   if test x"$ac_file" != x-; then
                   21307:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21308: echo "$as_me: creating $ac_file" >&6;}
                   21309:     rm -f "$ac_file"
                   21310:   fi
                   21311:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21312:   # use $as_me), people would be surprised to read:
                   21313:   #    /* config.h.  Generated by config.status.  */
                   21314:   if test x"$ac_file" = x-; then
                   21315:     configure_input=
                   21316:   else
                   21317:     configure_input="$ac_file.  "
                   21318:   fi
                   21319:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      21320:                                     sed 's,.*/,,'` by configure."
1.62      paf      21321: 
                   21322:   # First look for the input files in the build tree, otherwise in the
                   21323:   # src tree.
                   21324:   ac_file_inputs=`IFS=:
                   21325:     for f in $ac_file_in; do
                   21326:       case $f in
                   21327:       -) echo $tmp/stdin ;;
                   21328:       [\\/$]*)
1.86      paf      21329:         # Absolute (can't be DOS-style, as IFS=:)
                   21330:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21331: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21332:    { (exit 1); exit 1; }; }
1.86      paf      21333:         echo "$f";;
1.62      paf      21334:       *) # Relative
1.86      paf      21335:         if test -f "$f"; then
                   21336:           # Build tree
                   21337:           echo "$f"
                   21338:         elif test -f "$srcdir/$f"; then
                   21339:           # Source tree
                   21340:           echo "$srcdir/$f"
                   21341:         else
                   21342:           # /dev/null tree
                   21343:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21344: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21345:    { (exit 1); exit 1; }; }
1.86      paf      21346:         fi;;
1.62      paf      21347:       esac
                   21348:     done` || { (exit 1); exit 1; }
                   21349: _ACEOF
                   21350: cat >>$CONFIG_STATUS <<_ACEOF
                   21351:   sed "$ac_vpsub
                   21352: $extrasub
                   21353: _ACEOF
                   21354: cat >>$CONFIG_STATUS <<\_ACEOF
                   21355: :t
                   21356: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21357: s,@configure_input@,$configure_input,;t t
                   21358: s,@srcdir@,$ac_srcdir,;t t
                   21359: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   21360: s,@top_srcdir@,$ac_top_srcdir,;t t
                   21361: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   21362: s,@builddir@,$ac_builddir,;t t
                   21363: s,@abs_builddir@,$ac_abs_builddir,;t t
                   21364: s,@top_builddir@,$ac_top_builddir,;t t
                   21365: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   21366: s,@INSTALL@,$ac_INSTALL,;t t
                   21367: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   21368:   rm -f $tmp/stdin
                   21369:   if test x"$ac_file" != x-; then
                   21370:     mv $tmp/out $ac_file
                   21371:   else
                   21372:     cat $tmp/out
                   21373:     rm -f $tmp/out
                   21374:   fi
1.1       paf      21375: 
1.62      paf      21376: done
                   21377: _ACEOF
                   21378: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      21379: 
1.62      paf      21380: #
                   21381: # CONFIG_HEADER section.
                   21382: #
1.1       paf      21383: 
                   21384: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   21385: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   21386: #
                   21387: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      21388: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   21389: ac_dB='[        ].*$,\1#\2'
1.62      paf      21390: ac_dC=' '
                   21391: ac_dD=',;t'
                   21392: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      21393: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      21394: ac_uB='$,\1#\2define\3'
1.1       paf      21395: ac_uC=' '
1.62      paf      21396: ac_uD=',;t'
                   21397: 
                   21398: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      21399:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21400:   case $ac_file in
                   21401:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21402:        cat >$tmp/stdin
                   21403:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21404:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21405:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21406:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21407:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21408:   esac
                   21409: 
1.62      paf      21410:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21411: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      21412: 
1.62      paf      21413:   # First look for the input files in the build tree, otherwise in the
                   21414:   # src tree.
                   21415:   ac_file_inputs=`IFS=:
                   21416:     for f in $ac_file_in; do
                   21417:       case $f in
                   21418:       -) echo $tmp/stdin ;;
                   21419:       [\\/$]*)
1.86      paf      21420:         # Absolute (can't be DOS-style, as IFS=:)
                   21421:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21422: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21423:    { (exit 1); exit 1; }; }
1.86      paf      21424:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   21425:         echo "$f";;
1.62      paf      21426:       *) # Relative
1.86      paf      21427:         if test -f "$f"; then
                   21428:           # Build tree
                   21429:           echo "$f"
                   21430:         elif test -f "$srcdir/$f"; then
                   21431:           # Source tree
                   21432:           echo "$srcdir/$f"
                   21433:         else
                   21434:           # /dev/null tree
                   21435:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21436: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21437:    { (exit 1); exit 1; }; }
1.86      paf      21438:         fi;;
1.62      paf      21439:       esac
                   21440:     done` || { (exit 1); exit 1; }
                   21441:   # Remove the trailing spaces.
1.86      paf      21442:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      21443: 
                   21444: _ACEOF
                   21445: 
                   21446: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   21447: # `conftest.undefs', that substitutes the proper values into
                   21448: # config.h.in to produce config.h.  The first handles `#define'
                   21449: # templates, and the second `#undef' templates.
                   21450: # And first: Protect against being on the right side of a sed subst in
                   21451: # config.status.  Protect against being in an unquoted here document
                   21452: # in config.status.
                   21453: rm -f conftest.defines conftest.undefs
                   21454: # Using a here document instead of a string reduces the quoting nightmare.
                   21455: # Putting comments in sed scripts is not portable.
                   21456: #
                   21457: # `end' is used to avoid that the second main sed command (meant for
                   21458: # 0-ary CPP macros) applies to n-ary macro definitions.
                   21459: # See the Autoconf documentation for `clear'.
                   21460: cat >confdef2sed.sed <<\_ACEOF
                   21461: s/[\\&,]/\\&/g
                   21462: s,[\\$`],\\&,g
                   21463: t clear
                   21464: : clear
1.86      paf      21465: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      21466: t end
1.86      paf      21467: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      21468: : end
                   21469: _ACEOF
                   21470: # If some macros were called several times there might be several times
                   21471: # the same #defines, which is useless.  Nevertheless, we may not want to
                   21472: # sort them, since we want the *last* AC-DEFINE to be honored.
                   21473: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   21474: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   21475: rm -f confdef2sed.sed
1.1       paf      21476: 
                   21477: # This sed command replaces #undef with comments.  This is necessary, for
                   21478: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   21479: # on some systems where configure will not decide to define it.
1.62      paf      21480: cat >>conftest.undefs <<\_ACEOF
1.86      paf      21481: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      21482: _ACEOF
                   21483: 
                   21484: # Break up conftest.defines because some shells have a limit on the size
                   21485: # of here documents, and old seds have small limits too (100 cmds).
                   21486: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      21487: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      21488: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   21489: echo '  :' >>$CONFIG_STATUS
                   21490: rm -f conftest.tail
                   21491: while grep . conftest.defines >/dev/null
                   21492: do
                   21493:   # Write a limited-size here document to $tmp/defines.sed.
                   21494:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   21495:   # Speed up: don't consider the non `#define' lines.
1.86      paf      21496:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      21497:   # Work around the forget-to-reset-the-flag bug.
                   21498:   echo 't clr' >>$CONFIG_STATUS
                   21499:   echo ': clr' >>$CONFIG_STATUS
                   21500:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   21501:   echo 'CEOF
                   21502:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   21503:   rm -f $tmp/in
                   21504:   mv $tmp/out $tmp/in
                   21505: ' >>$CONFIG_STATUS
                   21506:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   21507:   rm -f conftest.defines
                   21508:   mv conftest.tail conftest.defines
                   21509: done
                   21510: rm -f conftest.defines
                   21511: echo '  fi # grep' >>$CONFIG_STATUS
                   21512: echo >>$CONFIG_STATUS
                   21513: 
                   21514: # Break up conftest.undefs because some shells have a limit on the size
                   21515: # of here documents, and old seds have small limits too (100 cmds).
                   21516: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      21517: rm -f conftest.tail
1.62      paf      21518: while grep . conftest.undefs >/dev/null
1.1       paf      21519: do
1.62      paf      21520:   # Write a limited-size here document to $tmp/undefs.sed.
                   21521:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   21522:   # Speed up: don't consider the non `#undef'
1.86      paf      21523:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      21524:   # Work around the forget-to-reset-the-flag bug.
                   21525:   echo 't clr' >>$CONFIG_STATUS
                   21526:   echo ': clr' >>$CONFIG_STATUS
                   21527:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      21528:   echo 'CEOF
1.62      paf      21529:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   21530:   rm -f $tmp/in
                   21531:   mv $tmp/out $tmp/in
                   21532: ' >>$CONFIG_STATUS
                   21533:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   21534:   rm -f conftest.undefs
                   21535:   mv conftest.tail conftest.undefs
                   21536: done
                   21537: rm -f conftest.undefs
                   21538: 
                   21539: cat >>$CONFIG_STATUS <<\_ACEOF
                   21540:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21541:   # use $as_me), people would be surprised to read:
                   21542:   #    /* config.h.  Generated by config.status.  */
                   21543:   if test x"$ac_file" = x-; then
                   21544:     echo "/* Generated by configure.  */" >$tmp/config.h
                   21545:   else
                   21546:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   21547:   fi
                   21548:   cat $tmp/in >>$tmp/config.h
                   21549:   rm -f $tmp/in
                   21550:   if test x"$ac_file" != x-; then
                   21551:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   21552:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   21553: echo "$as_me: $ac_file is unchanged" >&6;}
                   21554:     else
                   21555:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21556: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21557:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21558:         X"$ac_file" : 'X\(//\)$' \| \
                   21559:         X"$ac_file" : 'X\(/\)' \| \
                   21560:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21561: echo X"$ac_file" |
                   21562:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21563:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21564:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21565:          /^X\(\/\).*/{ s//\1/; q; }
                   21566:          s/.*/./; q'`
                   21567:       { if $as_mkdir_p; then
                   21568:     mkdir -p "$ac_dir"
                   21569:   else
                   21570:     as_dir="$ac_dir"
                   21571:     as_dirs=
                   21572:     while test ! -d "$as_dir"; do
                   21573:       as_dirs="$as_dir $as_dirs"
                   21574:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21575: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21576:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21577:         X"$as_dir" : 'X\(//\)$' \| \
                   21578:         X"$as_dir" : 'X\(/\)' \| \
                   21579:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21580: echo X"$as_dir" |
                   21581:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21582:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21583:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21584:          /^X\(\/\).*/{ s//\1/; q; }
                   21585:          s/.*/./; q'`
                   21586:     done
                   21587:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21588:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21589: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21590:    { (exit 1); exit 1; }; }; }
                   21591: 
                   21592:       rm -f $ac_file
                   21593:       mv $tmp/config.h $ac_file
                   21594:     fi
                   21595:   else
                   21596:     cat $tmp/config.h
                   21597:     rm -f $tmp/config.h
                   21598:   fi
1.86      paf      21599: # Compute $ac_file's index in $config_headers.
                   21600: _am_stamp_count=1
                   21601: for _am_header in $config_headers :; do
                   21602:   case $_am_header in
                   21603:     $ac_file | $ac_file:* )
                   21604:       break ;;
                   21605:     * )
                   21606:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21607:   esac
                   21608: done
1.62      paf      21609: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   21610: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21611:         X$ac_file : 'X\(//\)[^/]' \| \
                   21612:         X$ac_file : 'X\(//\)$' \| \
                   21613:         X$ac_file : 'X\(/\)' \| \
                   21614:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21615: echo X$ac_file |
                   21616:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21617:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21618:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21619:          /^X\(\/\).*/{ s//\1/; q; }
                   21620:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21621: done
                   21622: _ACEOF
                   21623: cat >>$CONFIG_STATUS <<\_ACEOF
                   21624: 
                   21625: #
                   21626: # CONFIG_COMMANDS section.
                   21627: #
                   21628: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   21629:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   21630:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21631:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   21632: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21633:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   21634:         X"$ac_dest" : 'X\(//\)$' \| \
                   21635:         X"$ac_dest" : 'X\(/\)' \| \
                   21636:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21637: echo X"$ac_dest" |
                   21638:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21639:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21640:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21641:          /^X\(\/\).*/{ s//\1/; q; }
                   21642:          s/.*/./; q'`
1.86      paf      21643:   { if $as_mkdir_p; then
                   21644:     mkdir -p "$ac_dir"
                   21645:   else
                   21646:     as_dir="$ac_dir"
                   21647:     as_dirs=
                   21648:     while test ! -d "$as_dir"; do
                   21649:       as_dirs="$as_dir $as_dirs"
                   21650:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21651: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21652:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21653:         X"$as_dir" : 'X\(//\)$' \| \
                   21654:         X"$as_dir" : 'X\(/\)' \| \
                   21655:         .     : '\(.\)' 2>/dev/null ||
                   21656: echo X"$as_dir" |
                   21657:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21658:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21659:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21660:          /^X\(\/\).*/{ s//\1/; q; }
                   21661:          s/.*/./; q'`
                   21662:     done
                   21663:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21664:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21665: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21666:    { (exit 1); exit 1; }; }; }
                   21667: 
1.62      paf      21668:   ac_builddir=.
                   21669: 
                   21670: if test "$ac_dir" != .; then
                   21671:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21672:   # A "../" for each directory in $ac_dir_suffix.
                   21673:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21674: else
                   21675:   ac_dir_suffix= ac_top_builddir=
                   21676: fi
                   21677: 
                   21678: case $srcdir in
                   21679:   .)  # No --srcdir option.  We are building in place.
                   21680:     ac_srcdir=.
                   21681:     if test -z "$ac_top_builddir"; then
                   21682:        ac_top_srcdir=.
                   21683:     else
                   21684:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21685:     fi ;;
                   21686:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21687:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21688:     ac_top_srcdir=$srcdir ;;
                   21689:   *) # Relative path.
                   21690:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21691:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21692: esac
1.86      paf      21693: 
                   21694: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21695: # the directories may not exist.
                   21696: case `pwd` in
                   21697: .) ac_abs_builddir="$ac_dir";;
                   21698: *)
                   21699:   case "$ac_dir" in
                   21700:   .) ac_abs_builddir=`pwd`;;
                   21701:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21702:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21703:   esac;;
                   21704: esac
                   21705: case $ac_abs_builddir in
                   21706: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21707: *)
                   21708:   case ${ac_top_builddir}. in
                   21709:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21710:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21711:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21712:   esac;;
                   21713: esac
                   21714: case $ac_abs_builddir in
                   21715: .) ac_abs_srcdir=$ac_srcdir;;
                   21716: *)
                   21717:   case $ac_srcdir in
                   21718:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21719:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21720:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21721:   esac;;
                   21722: esac
                   21723: case $ac_abs_builddir in
                   21724: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21725: *)
                   21726:   case $ac_top_srcdir in
                   21727:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21728:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21729:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21730:   esac;;
                   21731: esac
1.62      paf      21732: 
                   21733: 
                   21734:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   21735: echo "$as_me: executing $ac_dest commands" >&6;}
                   21736:   case $ac_dest in
                   21737:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   21738:   # Strip MF so we end up with the name of the file.
                   21739:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21740:   # Check whether this is an Automake generated Makefile or not.
                   21741:   # We used to match only the files named `Makefile.in', but
                   21742:   # some people rename them; so instead we look at the file content.
                   21743:   # Grep'ing the first line is not enough: some people post-process
                   21744:   # each Makefile.in and add a new line on top of each file to say so.
                   21745:   # So let's grep whole file.
                   21746:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   21747:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   21748: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21749:         X"$mf" : 'X\(//\)[^/]' \| \
                   21750:         X"$mf" : 'X\(//\)$' \| \
                   21751:         X"$mf" : 'X\(/\)' \| \
                   21752:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21753: echo X"$mf" |
                   21754:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21755:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21756:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21757:          /^X\(\/\).*/{ s//\1/; q; }
                   21758:          s/.*/./; q'`
                   21759:   else
                   21760:     continue
                   21761:   fi
1.86      paf      21762:   # Extract the definition of DEPDIR, am__include, and am__quote
                   21763:   # from the Makefile without running `make'.
                   21764:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      21765:   test -z "$DEPDIR" && continue
1.86      paf      21766:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   21767:   test -z "am__include" && continue
                   21768:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      21769:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      21770:   U=`sed -n 's/^U = //p' < "$mf"`
                   21771:   # Find all dependency output files, they are included files with
                   21772:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21773:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   21774:   # expansion.
                   21775:   for file in `sed -n "
                   21776:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      21777:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   21778:     # Make sure the directory exists.
                   21779:     test -f "$dirpart/$file" && continue
                   21780:     fdir=`(dirname "$file") 2>/dev/null ||
                   21781: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21782:         X"$file" : 'X\(//\)[^/]' \| \
                   21783:         X"$file" : 'X\(//\)$' \| \
                   21784:         X"$file" : 'X\(/\)' \| \
                   21785:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21786: echo X"$file" |
                   21787:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21788:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21789:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21790:          /^X\(\/\).*/{ s//\1/; q; }
                   21791:          s/.*/./; q'`
                   21792:     { if $as_mkdir_p; then
                   21793:     mkdir -p $dirpart/$fdir
                   21794:   else
                   21795:     as_dir=$dirpart/$fdir
                   21796:     as_dirs=
                   21797:     while test ! -d "$as_dir"; do
                   21798:       as_dirs="$as_dir $as_dirs"
                   21799:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21800: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21801:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21802:         X"$as_dir" : 'X\(//\)$' \| \
                   21803:         X"$as_dir" : 'X\(/\)' \| \
                   21804:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21805: echo X"$as_dir" |
                   21806:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21807:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21808:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21809:          /^X\(\/\).*/{ s//\1/; q; }
                   21810:          s/.*/./; q'`
                   21811:     done
                   21812:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21813:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   21814: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   21815:    { (exit 1); exit 1; }; }; }
1.1       paf      21816: 
1.62      paf      21817:     # echo "creating $dirpart/$file"
                   21818:     echo '# dummy' > "$dirpart/$file"
                   21819:   done
                   21820: done
                   21821:  ;;
1.128     moko     21822:     libtool )
                   21823: 
                   21824:     # See if we are running on zsh, and set the options which allow our
                   21825:     # commands through without removal of \ escapes.
                   21826:     if test -n "${ZSH_VERSION+set}" ; then
                   21827:       setopt NO_GLOB_SUBST
                   21828:     fi
                   21829: 
                   21830:     cfgfile="${ofile}T"
                   21831:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21832:     $RM "$cfgfile"
                   21833: 
                   21834:     cat <<_LT_EOF >> "$cfgfile"
                   21835: #! $SHELL
                   21836: 
                   21837: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21838: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21839: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21840: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21841: #
                   21842: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   21843: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21844: #                 Foundation, Inc.
                   21845: #   Written by Gordon Matzigkeit, 1996
                   21846: #
                   21847: #   This file is part of GNU Libtool.
                   21848: #
                   21849: # GNU Libtool is free software; you can redistribute it and/or
                   21850: # modify it under the terms of the GNU General Public License as
                   21851: # published by the Free Software Foundation; either version 2 of
                   21852: # the License, or (at your option) any later version.
                   21853: #
                   21854: # As a special exception to the GNU General Public License,
                   21855: # if you distribute this file as part of a program or library that
                   21856: # is built using GNU Libtool, you may include this file under the
                   21857: # same distribution terms that you use for the rest of that program.
                   21858: #
                   21859: # GNU Libtool is distributed in the hope that it will be useful,
                   21860: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21861: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21862: # GNU General Public License for more details.
                   21863: #
                   21864: # You should have received a copy of the GNU General Public License
                   21865: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21866: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21867: # obtained by writing to the Free Software Foundation, Inc.,
                   21868: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21869: 
                   21870: 
                   21871: # The names of the tagged configurations supported by this script.
                   21872: available_tags="CXX "
                   21873: 
                   21874: # ### BEGIN LIBTOOL CONFIG
                   21875: 
                   21876: # Which release of libtool.m4 was used?
                   21877: macro_version=$macro_version
                   21878: macro_revision=$macro_revision
                   21879: 
                   21880: # Assembler program.
                   21881: AS=$lt_AS
                   21882: 
                   21883: # DLL creation program.
                   21884: DLLTOOL=$lt_DLLTOOL
                   21885: 
                   21886: # Object dumper program.
                   21887: OBJDUMP=$lt_OBJDUMP
                   21888: 
                   21889: # Whether or not to build shared libraries.
                   21890: build_libtool_libs=$enable_shared
                   21891: 
                   21892: # Whether or not to build static libraries.
                   21893: build_old_libs=$enable_static
                   21894: 
                   21895: # What type of objects to build.
                   21896: pic_mode=$pic_mode
                   21897: 
                   21898: # Whether or not to optimize for fast installation.
                   21899: fast_install=$enable_fast_install
                   21900: 
                   21901: # Shell to use when invoking shell scripts.
                   21902: SHELL=$lt_SHELL
                   21903: 
                   21904: # An echo program that protects backslashes.
                   21905: ECHO=$lt_ECHO
                   21906: 
                   21907: # The PATH separator for the build system.
                   21908: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21909: 
                   21910: # The host system.
                   21911: host_alias=$host_alias
                   21912: host=$host
                   21913: host_os=$host_os
                   21914: 
                   21915: # The build system.
                   21916: build_alias=$build_alias
                   21917: build=$build
                   21918: build_os=$build_os
                   21919: 
                   21920: # A sed program that does not truncate output.
                   21921: SED=$lt_SED
                   21922: 
                   21923: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21924: Xsed="\$SED -e 1s/^X//"
                   21925: 
                   21926: # A grep program that handles long lines.
                   21927: GREP=$lt_GREP
                   21928: 
                   21929: # An ERE matcher.
                   21930: EGREP=$lt_EGREP
                   21931: 
                   21932: # A literal string matcher.
                   21933: FGREP=$lt_FGREP
                   21934: 
                   21935: # A BSD- or MS-compatible name lister.
                   21936: NM=$lt_NM
                   21937: 
                   21938: # Whether we need soft or hard links.
                   21939: LN_S=$lt_LN_S
                   21940: 
                   21941: # What is the maximum length of a command?
                   21942: max_cmd_len=$max_cmd_len
                   21943: 
                   21944: # Object file suffix (normally "o").
                   21945: objext=$ac_objext
                   21946: 
                   21947: # Executable file suffix (normally "").
                   21948: exeext=$exeext
                   21949: 
                   21950: # whether the shell understands "unset".
                   21951: lt_unset=$lt_unset
                   21952: 
                   21953: # turn spaces into newlines.
                   21954: SP2NL=$lt_lt_SP2NL
                   21955: 
                   21956: # turn newlines into spaces.
                   21957: NL2SP=$lt_lt_NL2SP
                   21958: 
                   21959: # convert \$build file names to \$host format.
                   21960: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   21961: 
                   21962: # convert \$build files to toolchain format.
                   21963: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   21964: 
                   21965: # Method to check whether dependent libraries are shared objects.
                   21966: deplibs_check_method=$lt_deplibs_check_method
                   21967: 
                   21968: # Command to use when deplibs_check_method = "file_magic".
                   21969: file_magic_cmd=$lt_file_magic_cmd
                   21970: 
                   21971: # How to find potential files when deplibs_check_method = "file_magic".
                   21972: file_magic_glob=$lt_file_magic_glob
                   21973: 
                   21974: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   21975: want_nocaseglob=$lt_want_nocaseglob
                   21976: 
                   21977: # Command to associate shared and link libraries.
                   21978: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   21979: 
                   21980: # The archiver.
                   21981: AR=$lt_AR
                   21982: 
                   21983: # Flags to create an archive.
                   21984: AR_FLAGS=$lt_AR_FLAGS
                   21985: 
                   21986: # How to feed a file listing to the archiver.
                   21987: archiver_list_spec=$lt_archiver_list_spec
                   21988: 
                   21989: # A symbol stripping program.
                   21990: STRIP=$lt_STRIP
                   21991: 
                   21992: # Commands used to install an old-style archive.
                   21993: RANLIB=$lt_RANLIB
                   21994: old_postinstall_cmds=$lt_old_postinstall_cmds
                   21995: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   21996: 
                   21997: # Whether to use a lock for old archive extraction.
                   21998: lock_old_archive_extraction=$lock_old_archive_extraction
                   21999: 
                   22000: # A C compiler.
                   22001: LTCC=$lt_CC
                   22002: 
                   22003: # LTCC compiler flags.
                   22004: LTCFLAGS=$lt_CFLAGS
                   22005: 
                   22006: # Take the output of nm and produce a listing of raw symbols and C names.
                   22007: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22008: 
                   22009: # Transform the output of nm in a proper C declaration.
                   22010: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22011: 
                   22012: # Transform the output of nm in a C name address pair.
                   22013: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22014: 
                   22015: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22016: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22017: 
                   22018: # Specify filename containing input files for \$NM.
                   22019: nm_file_list_spec=$lt_nm_file_list_spec
                   22020: 
                   22021: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22022: lt_sysroot=$lt_sysroot
                   22023: 
                   22024: # The name of the directory that contains temporary libtool files.
                   22025: objdir=$objdir
                   22026: 
                   22027: # Used to examine libraries when file_magic_cmd begins with "file".
                   22028: MAGIC_CMD=$MAGIC_CMD
                   22029: 
                   22030: # Must we lock files when doing compilation?
                   22031: need_locks=$lt_need_locks
                   22032: 
                   22033: # Manifest tool.
                   22034: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22035: 
                   22036: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22037: DSYMUTIL=$lt_DSYMUTIL
                   22038: 
                   22039: # Tool to change global to local symbols on Mac OS X.
                   22040: NMEDIT=$lt_NMEDIT
                   22041: 
                   22042: # Tool to manipulate fat objects and archives on Mac OS X.
                   22043: LIPO=$lt_LIPO
                   22044: 
                   22045: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22046: OTOOL=$lt_OTOOL
                   22047: 
                   22048: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22049: OTOOL64=$lt_OTOOL64
                   22050: 
                   22051: # Old archive suffix (normally "a").
                   22052: libext=$libext
                   22053: 
                   22054: # Shared library suffix (normally ".so").
                   22055: shrext_cmds=$lt_shrext_cmds
                   22056: 
                   22057: # The commands to extract the exported symbol list from a shared archive.
                   22058: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22059: 
                   22060: # Variables whose values should be saved in libtool wrapper scripts and
                   22061: # restored at link time.
                   22062: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22063: 
                   22064: # Do we need the "lib" prefix for modules?
                   22065: need_lib_prefix=$need_lib_prefix
                   22066: 
                   22067: # Do we need a version for libraries?
                   22068: need_version=$need_version
                   22069: 
                   22070: # Library versioning type.
                   22071: version_type=$version_type
                   22072: 
                   22073: # Shared library runtime path variable.
                   22074: runpath_var=$runpath_var
                   22075: 
                   22076: # Shared library path variable.
                   22077: shlibpath_var=$shlibpath_var
                   22078: 
                   22079: # Is shlibpath searched before the hard-coded library search path?
                   22080: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22081: 
                   22082: # Format of library name prefix.
                   22083: libname_spec=$lt_libname_spec
                   22084: 
                   22085: # List of archive names.  First name is the real one, the rest are links.
                   22086: # The last name is the one that the linker finds with -lNAME
                   22087: library_names_spec=$lt_library_names_spec
                   22088: 
                   22089: # The coded name of the library, if different from the real name.
                   22090: soname_spec=$lt_soname_spec
                   22091: 
                   22092: # Permission mode override for installation of shared libraries.
                   22093: install_override_mode=$lt_install_override_mode
                   22094: 
                   22095: # Command to use after installation of a shared archive.
                   22096: postinstall_cmds=$lt_postinstall_cmds
                   22097: 
                   22098: # Command to use after uninstallation of a shared archive.
                   22099: postuninstall_cmds=$lt_postuninstall_cmds
                   22100: 
                   22101: # Commands used to finish a libtool library installation in a directory.
                   22102: finish_cmds=$lt_finish_cmds
                   22103: 
                   22104: # As "finish_cmds", except a single script fragment to be evaled but
                   22105: # not shown.
                   22106: finish_eval=$lt_finish_eval
                   22107: 
                   22108: # Whether we should hardcode library paths into libraries.
                   22109: hardcode_into_libs=$hardcode_into_libs
                   22110: 
                   22111: # Compile-time system search path for libraries.
                   22112: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22113: 
                   22114: # Run-time system search path for libraries.
                   22115: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22116: 
                   22117: # Whether dlopen is supported.
                   22118: dlopen_support=$enable_dlopen
                   22119: 
                   22120: # Whether dlopen of programs is supported.
                   22121: dlopen_self=$enable_dlopen_self
                   22122: 
                   22123: # Whether dlopen of statically linked programs is supported.
                   22124: dlopen_self_static=$enable_dlopen_self_static
                   22125: 
                   22126: # Commands to strip libraries.
                   22127: old_striplib=$lt_old_striplib
                   22128: striplib=$lt_striplib
                   22129: 
                   22130: 
                   22131: # The linker used to build libraries.
                   22132: LD=$lt_LD
                   22133: 
                   22134: # How to create reloadable object files.
                   22135: reload_flag=$lt_reload_flag
                   22136: reload_cmds=$lt_reload_cmds
                   22137: 
                   22138: # Commands used to build an old-style archive.
                   22139: old_archive_cmds=$lt_old_archive_cmds
                   22140: 
                   22141: # A language specific compiler.
                   22142: CC=$lt_compiler
                   22143: 
                   22144: # Is the compiler the GNU compiler?
                   22145: with_gcc=$GCC
                   22146: 
                   22147: # Compiler flag to turn off builtin functions.
                   22148: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22149: 
                   22150: # Additional compiler flags for building library objects.
                   22151: pic_flag=$lt_lt_prog_compiler_pic
                   22152: 
                   22153: # How to pass a linker flag through the compiler.
                   22154: wl=$lt_lt_prog_compiler_wl
                   22155: 
                   22156: # Compiler flag to prevent dynamic linking.
                   22157: link_static_flag=$lt_lt_prog_compiler_static
                   22158: 
                   22159: # Does compiler simultaneously support -c and -o options?
                   22160: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22161: 
                   22162: # Whether or not to add -lc for building shared libraries.
                   22163: build_libtool_need_lc=$archive_cmds_need_lc
                   22164: 
                   22165: # Whether or not to disallow shared libs when runtime libs are static.
                   22166: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22167: 
                   22168: # Compiler flag to allow reflexive dlopens.
                   22169: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22170: 
                   22171: # Compiler flag to generate shared objects directly from archives.
                   22172: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22173: 
                   22174: # Whether the compiler copes with passing no objects directly.
                   22175: compiler_needs_object=$lt_compiler_needs_object
                   22176: 
                   22177: # Create an old-style archive from a shared archive.
                   22178: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22179: 
                   22180: # Create a temporary old-style archive to link instead of a shared archive.
                   22181: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22182: 
                   22183: # Commands used to build a shared archive.
                   22184: archive_cmds=$lt_archive_cmds
                   22185: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22186: 
                   22187: # Commands used to build a loadable module if different from building
                   22188: # a shared archive.
                   22189: module_cmds=$lt_module_cmds
                   22190: module_expsym_cmds=$lt_module_expsym_cmds
                   22191: 
                   22192: # Whether we are building with GNU ld or not.
                   22193: with_gnu_ld=$lt_with_gnu_ld
                   22194: 
                   22195: # Flag that allows shared libraries with undefined symbols to be built.
                   22196: allow_undefined_flag=$lt_allow_undefined_flag
                   22197: 
                   22198: # Flag that enforces no undefined symbols.
                   22199: no_undefined_flag=$lt_no_undefined_flag
                   22200: 
                   22201: # Flag to hardcode \$libdir into a binary during linking.
                   22202: # This must work even if \$libdir does not exist
                   22203: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22204: 
                   22205: # Whether we need a single "-rpath" flag with a separated argument.
                   22206: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22207: 
                   22208: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22209: # DIR into the resulting binary.
                   22210: hardcode_direct=$hardcode_direct
                   22211: 
                   22212: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22213: # DIR into the resulting binary and the resulting library dependency is
                   22214: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22215: # library is relocated.
                   22216: hardcode_direct_absolute=$hardcode_direct_absolute
                   22217: 
                   22218: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22219: # into the resulting binary.
                   22220: hardcode_minus_L=$hardcode_minus_L
                   22221: 
                   22222: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22223: # into the resulting binary.
                   22224: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22225: 
                   22226: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22227: # into the library and all subsequent libraries and executables linked
                   22228: # against it.
                   22229: hardcode_automatic=$hardcode_automatic
                   22230: 
                   22231: # Set to yes if linker adds runtime paths of dependent libraries
                   22232: # to runtime path list.
                   22233: inherit_rpath=$inherit_rpath
                   22234: 
                   22235: # Whether libtool must link a program against all its dependency libraries.
                   22236: link_all_deplibs=$link_all_deplibs
                   22237: 
                   22238: # Set to "yes" if exported symbols are required.
                   22239: always_export_symbols=$always_export_symbols
                   22240: 
                   22241: # The commands to list exported symbols.
                   22242: export_symbols_cmds=$lt_export_symbols_cmds
                   22243: 
                   22244: # Symbols that should not be listed in the preloaded symbols.
                   22245: exclude_expsyms=$lt_exclude_expsyms
                   22246: 
                   22247: # Symbols that must always be exported.
                   22248: include_expsyms=$lt_include_expsyms
                   22249: 
                   22250: # Commands necessary for linking programs (against libraries) with templates.
                   22251: prelink_cmds=$lt_prelink_cmds
                   22252: 
                   22253: # Commands necessary for finishing linking programs.
                   22254: postlink_cmds=$lt_postlink_cmds
                   22255: 
                   22256: # Specify filename containing input files.
                   22257: file_list_spec=$lt_file_list_spec
                   22258: 
                   22259: # How to hardcode a shared library path into an executable.
                   22260: hardcode_action=$hardcode_action
                   22261: 
                   22262: # The directories searched by this compiler when creating a shared library.
                   22263: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   22264: 
                   22265: # Dependencies to place before and after the objects being linked to
                   22266: # create a shared library.
                   22267: predep_objects=$lt_predep_objects
                   22268: postdep_objects=$lt_postdep_objects
                   22269: predeps=$lt_predeps
                   22270: postdeps=$lt_postdeps
                   22271: 
                   22272: # The library search path used internally by the compiler when linking
                   22273: # a shared library.
                   22274: compiler_lib_search_path=$lt_compiler_lib_search_path
                   22275: 
                   22276: # ### END LIBTOOL CONFIG
                   22277: 
                   22278: _LT_EOF
                   22279: 
                   22280:   case $host_os in
                   22281:   aix3*)
                   22282:     cat <<\_LT_EOF >> "$cfgfile"
                   22283: # AIX sometimes has problems with the GCC collect2 program.  For some
                   22284: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   22285: # vanish in a puff of smoke.
                   22286: if test "X${COLLECT_NAMES+set}" != Xset; then
                   22287:   COLLECT_NAMES=
                   22288:   export COLLECT_NAMES
                   22289: fi
                   22290: _LT_EOF
                   22291:     ;;
                   22292:   esac
                   22293: 
                   22294: 
                   22295: ltmain="$ac_aux_dir/ltmain.sh"
                   22296: 
                   22297: 
                   22298:   # We use sed instead of cat because bash on DJGPP gets confused if
                   22299:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   22300:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   22301:   # is reportedly fixed, but why not run on old versions too?
                   22302:   sed '$q' "$ltmain" >> "$cfgfile" \
                   22303:      || (rm -f "$cfgfile"; exit 1)
                   22304: 
                   22305:   if test x"$xsi_shell" = xyes; then
                   22306:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   22307: func_dirname ()\
                   22308: {\
                   22309: \    case ${1} in\
                   22310: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22311: \      *  ) func_dirname_result="${3}" ;;\
                   22312: \    esac\
                   22313: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   22314:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22315:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22316: test 0 -eq $? || _lt_function_replace_fail=:
                   22317: 
                   22318: 
                   22319:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   22320: func_basename ()\
                   22321: {\
                   22322: \    func_basename_result="${1##*/}"\
                   22323: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22324:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22325:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22326: test 0 -eq $? || _lt_function_replace_fail=:
                   22327: 
                   22328: 
                   22329:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   22330: func_dirname_and_basename ()\
                   22331: {\
                   22332: \    case ${1} in\
                   22333: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22334: \      *  ) func_dirname_result="${3}" ;;\
                   22335: \    esac\
                   22336: \    func_basename_result="${1##*/}"\
                   22337: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22338:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22339:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22340: test 0 -eq $? || _lt_function_replace_fail=:
                   22341: 
                   22342: 
                   22343:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   22344: func_stripname ()\
                   22345: {\
                   22346: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   22347: \    # positional parameters, so assign one to ordinary parameter first.\
                   22348: \    func_stripname_result=${3}\
                   22349: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   22350: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   22351: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   22352:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22353:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22354: test 0 -eq $? || _lt_function_replace_fail=:
                   22355: 
                   22356: 
                   22357:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   22358: func_split_long_opt ()\
                   22359: {\
                   22360: \    func_split_long_opt_name=${1%%=*}\
                   22361: \    func_split_long_opt_arg=${1#*=}\
                   22362: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22363:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22364:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22365: test 0 -eq $? || _lt_function_replace_fail=:
                   22366: 
                   22367: 
                   22368:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   22369: func_split_short_opt ()\
                   22370: {\
                   22371: \    func_split_short_opt_arg=${1#??}\
                   22372: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   22373: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22374:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22375:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22376: test 0 -eq $? || _lt_function_replace_fail=:
                   22377: 
                   22378: 
                   22379:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   22380: func_lo2o ()\
                   22381: {\
                   22382: \    case ${1} in\
                   22383: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   22384: \      *)    func_lo2o_result=${1} ;;\
                   22385: \    esac\
                   22386: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   22387:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22388:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22389: test 0 -eq $? || _lt_function_replace_fail=:
                   22390: 
                   22391: 
                   22392:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   22393: func_xform ()\
                   22394: {\
                   22395:     func_xform_result=${1%.*}.lo\
                   22396: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   22397:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22398:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22399: test 0 -eq $? || _lt_function_replace_fail=:
                   22400: 
                   22401: 
                   22402:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   22403: func_arith ()\
                   22404: {\
                   22405:     func_arith_result=$(( $* ))\
                   22406: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   22407:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22408:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22409: test 0 -eq $? || _lt_function_replace_fail=:
                   22410: 
                   22411: 
                   22412:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   22413: func_len ()\
                   22414: {\
                   22415:     func_len_result=${#1}\
                   22416: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   22417:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22418:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22419: test 0 -eq $? || _lt_function_replace_fail=:
                   22420: 
                   22421: fi
                   22422: 
                   22423: if test x"$lt_shell_append" = xyes; then
                   22424:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   22425: func_append ()\
                   22426: {\
                   22427:     eval "${1}+=\\${2}"\
                   22428: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   22429:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22430:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22431: test 0 -eq $? || _lt_function_replace_fail=:
                   22432: 
                   22433: 
                   22434:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   22435: func_append_quoted ()\
                   22436: {\
                   22437: \    func_quote_for_eval "${2}"\
                   22438: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   22439: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   22440:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22441:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22442: test 0 -eq $? || _lt_function_replace_fail=:
                   22443: 
                   22444: 
                   22445:   # Save a `func_append' function call where possible by direct use of '+='
                   22446:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   22447:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22448:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22449:   test 0 -eq $? || _lt_function_replace_fail=:
                   22450: else
                   22451:   # Save a `func_append' function call even when '+=' is not available
                   22452:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   22453:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22454:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22455:   test 0 -eq $? || _lt_function_replace_fail=:
                   22456: fi
                   22457: 
                   22458: if test x"$_lt_function_replace_fail" = x":"; then
                   22459:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22460: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22461: fi
                   22462: 
                   22463: 
                   22464:    mv -f "$cfgfile" "$ofile" ||
                   22465:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22466:   chmod +x "$ofile"
                   22467: 
                   22468: 
                   22469:     cat <<_LT_EOF >> "$ofile"
                   22470: 
                   22471: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22472: 
                   22473: # The linker used to build libraries.
                   22474: LD=$lt_LD_CXX
                   22475: 
                   22476: # How to create reloadable object files.
                   22477: reload_flag=$lt_reload_flag_CXX
                   22478: reload_cmds=$lt_reload_cmds_CXX
                   22479: 
                   22480: # Commands used to build an old-style archive.
                   22481: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22482: 
                   22483: # A language specific compiler.
                   22484: CC=$lt_compiler_CXX
                   22485: 
                   22486: # Is the compiler the GNU compiler?
                   22487: with_gcc=$GCC_CXX
                   22488: 
                   22489: # Compiler flag to turn off builtin functions.
                   22490: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22491: 
                   22492: # Additional compiler flags for building library objects.
                   22493: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22494: 
                   22495: # How to pass a linker flag through the compiler.
                   22496: wl=$lt_lt_prog_compiler_wl_CXX
                   22497: 
                   22498: # Compiler flag to prevent dynamic linking.
                   22499: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22500: 
                   22501: # Does compiler simultaneously support -c and -o options?
                   22502: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22503: 
                   22504: # Whether or not to add -lc for building shared libraries.
                   22505: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22506: 
                   22507: # Whether or not to disallow shared libs when runtime libs are static.
                   22508: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22509: 
                   22510: # Compiler flag to allow reflexive dlopens.
                   22511: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22512: 
                   22513: # Compiler flag to generate shared objects directly from archives.
                   22514: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22515: 
                   22516: # Whether the compiler copes with passing no objects directly.
                   22517: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22518: 
                   22519: # Create an old-style archive from a shared archive.
                   22520: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22521: 
                   22522: # Create a temporary old-style archive to link instead of a shared archive.
                   22523: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22524: 
                   22525: # Commands used to build a shared archive.
                   22526: archive_cmds=$lt_archive_cmds_CXX
                   22527: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22528: 
                   22529: # Commands used to build a loadable module if different from building
                   22530: # a shared archive.
                   22531: module_cmds=$lt_module_cmds_CXX
                   22532: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22533: 
                   22534: # Whether we are building with GNU ld or not.
                   22535: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22536: 
                   22537: # Flag that allows shared libraries with undefined symbols to be built.
                   22538: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22539: 
                   22540: # Flag that enforces no undefined symbols.
                   22541: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22542: 
                   22543: # Flag to hardcode \$libdir into a binary during linking.
                   22544: # This must work even if \$libdir does not exist
                   22545: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22546: 
                   22547: # Whether we need a single "-rpath" flag with a separated argument.
                   22548: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22549: 
                   22550: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22551: # DIR into the resulting binary.
                   22552: hardcode_direct=$hardcode_direct_CXX
                   22553: 
                   22554: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22555: # DIR into the resulting binary and the resulting library dependency is
                   22556: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22557: # library is relocated.
                   22558: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22559: 
                   22560: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22561: # into the resulting binary.
                   22562: hardcode_minus_L=$hardcode_minus_L_CXX
                   22563: 
                   22564: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22565: # into the resulting binary.
                   22566: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22567: 
                   22568: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22569: # into the library and all subsequent libraries and executables linked
                   22570: # against it.
                   22571: hardcode_automatic=$hardcode_automatic_CXX
                   22572: 
                   22573: # Set to yes if linker adds runtime paths of dependent libraries
                   22574: # to runtime path list.
                   22575: inherit_rpath=$inherit_rpath_CXX
                   22576: 
                   22577: # Whether libtool must link a program against all its dependency libraries.
                   22578: link_all_deplibs=$link_all_deplibs_CXX
                   22579: 
                   22580: # Set to "yes" if exported symbols are required.
                   22581: always_export_symbols=$always_export_symbols_CXX
                   22582: 
                   22583: # The commands to list exported symbols.
                   22584: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22585: 
                   22586: # Symbols that should not be listed in the preloaded symbols.
                   22587: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22588: 
                   22589: # Symbols that must always be exported.
                   22590: include_expsyms=$lt_include_expsyms_CXX
                   22591: 
                   22592: # Commands necessary for linking programs (against libraries) with templates.
                   22593: prelink_cmds=$lt_prelink_cmds_CXX
                   22594: 
                   22595: # Commands necessary for finishing linking programs.
                   22596: postlink_cmds=$lt_postlink_cmds_CXX
                   22597: 
                   22598: # Specify filename containing input files.
                   22599: file_list_spec=$lt_file_list_spec_CXX
                   22600: 
                   22601: # How to hardcode a shared library path into an executable.
                   22602: hardcode_action=$hardcode_action_CXX
                   22603: 
                   22604: # The directories searched by this compiler when creating a shared library.
                   22605: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22606: 
                   22607: # Dependencies to place before and after the objects being linked to
                   22608: # create a shared library.
                   22609: predep_objects=$lt_predep_objects_CXX
                   22610: postdep_objects=$lt_postdep_objects_CXX
                   22611: predeps=$lt_predeps_CXX
                   22612: postdeps=$lt_postdeps_CXX
                   22613: 
                   22614: # The library search path used internally by the compiler when linking
                   22615: # a shared library.
                   22616: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22617: 
                   22618: # ### END LIBTOOL TAG CONFIG: CXX
                   22619: _LT_EOF
                   22620: 
                   22621:  ;;
1.62      paf      22622:   esac
                   22623: done
                   22624: _ACEOF
                   22625: 
                   22626: cat >>$CONFIG_STATUS <<\_ACEOF
                   22627: 
                   22628: { (exit 0); exit 0; }
                   22629: _ACEOF
1.1       paf      22630: chmod +x $CONFIG_STATUS
1.62      paf      22631: ac_clean_files=$ac_clean_files_save
                   22632: 
1.1       paf      22633: 
1.62      paf      22634: # configure is writing to config.log, and then calls config.status.
                   22635: # config.status does its own redirection, appending to config.log.
                   22636: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22637: # by configure, so config.status won't be able to write to it; its
                   22638: # output is simply discarded.  So we exec the FD to /dev/null,
                   22639: # effectively closing config.log, so it can be properly (re)opened and
                   22640: # appended to by config.status.  When coming back to configure, we
                   22641: # need to make the FD available again.
                   22642: if test "$no_create" != yes; then
                   22643:   ac_cs_success=:
                   22644:   ac_config_status_args=
                   22645:   test "$silent" = yes &&
                   22646:     ac_config_status_args="$ac_config_status_args --quiet"
                   22647:   exec 5>/dev/null
                   22648:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22649:   exec 5>>config.log
                   22650:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22651:   # would make configure fail if this is the last instruction.
                   22652:   $ac_cs_success || { (exit 1); exit 1; }
                   22653: fi
                   22654: 
                   22655: #
                   22656: # CONFIG_SUBDIRS section.
                   22657: #
1.1       paf      22658: if test "$no_recursion" != yes; then
                   22659: 
                   22660:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   22661:   ac_sub_configure_args=
                   22662:   ac_prev=
                   22663:   for ac_arg in $ac_configure_args; do
                   22664:     if test -n "$ac_prev"; then
                   22665:       ac_prev=
                   22666:       continue
                   22667:     fi
1.62      paf      22668:     case $ac_arg in
1.1       paf      22669:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   22670:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   22671:       ac_prev=cache_file ;;
                   22672:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      22673:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   22674:     | --c=*)
                   22675:       ;;
                   22676:     --config-cache | -C)
1.1       paf      22677:       ;;
                   22678:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   22679:       ac_prev=srcdir ;;
                   22680:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   22681:       ;;
1.62      paf      22682:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   22683:       ac_prev=prefix ;;
                   22684:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   22685:       ;;
1.1       paf      22686:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   22687:     esac
                   22688:   done
                   22689: 
1.62      paf      22690:   # Always prepend --prefix to ensure using the same prefix
                   22691:   # in subdir configurations.
                   22692:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   22693: 
                   22694:   ac_popdir=`pwd`
                   22695:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      22696: 
                   22697:     # Do not complain, so a configure script can configure whichever
                   22698:     # parts of a large source tree are present.
1.62      paf      22699:     test -d $srcdir/$ac_dir || continue
1.1       paf      22700: 
1.62      paf      22701:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   22702: echo "$as_me: configuring in $ac_dir" >&6;}
                   22703:     { if $as_mkdir_p; then
                   22704:     mkdir -p "$ac_dir"
                   22705:   else
                   22706:     as_dir="$ac_dir"
                   22707:     as_dirs=
                   22708:     while test ! -d "$as_dir"; do
                   22709:       as_dirs="$as_dir $as_dirs"
                   22710:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   22711: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      22712:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   22713:         X"$as_dir" : 'X\(//\)$' \| \
                   22714:         X"$as_dir" : 'X\(/\)' \| \
                   22715:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      22716: echo X"$as_dir" |
                   22717:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   22718:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   22719:          /^X\(\/\/\)$/{ s//\1/; q; }
                   22720:          /^X\(\/\).*/{ s//\1/; q; }
                   22721:          s/.*/./; q'`
                   22722:     done
                   22723:     test ! -n "$as_dirs" || mkdir $as_dirs
                   22724:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   22725: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   22726:    { (exit 1); exit 1; }; }; }
                   22727: 
                   22728:     ac_builddir=.
                   22729: 
                   22730: if test "$ac_dir" != .; then
                   22731:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   22732:   # A "../" for each directory in $ac_dir_suffix.
                   22733:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   22734: else
                   22735:   ac_dir_suffix= ac_top_builddir=
                   22736: fi
                   22737: 
                   22738: case $srcdir in
                   22739:   .)  # No --srcdir option.  We are building in place.
                   22740:     ac_srcdir=.
                   22741:     if test -z "$ac_top_builddir"; then
                   22742:        ac_top_srcdir=.
                   22743:     else
                   22744:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   22745:     fi ;;
                   22746:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   22747:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22748:     ac_top_srcdir=$srcdir ;;
                   22749:   *) # Relative path.
                   22750:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   22751:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   22752: esac
1.86      paf      22753: 
                   22754: # Do not use `cd foo && pwd` to compute absolute paths, because
                   22755: # the directories may not exist.
                   22756: case `pwd` in
                   22757: .) ac_abs_builddir="$ac_dir";;
                   22758: *)
                   22759:   case "$ac_dir" in
                   22760:   .) ac_abs_builddir=`pwd`;;
                   22761:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   22762:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   22763:   esac;;
                   22764: esac
                   22765: case $ac_abs_builddir in
                   22766: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22767: *)
                   22768:   case ${ac_top_builddir}. in
                   22769:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   22770:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22771:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   22772:   esac;;
                   22773: esac
                   22774: case $ac_abs_builddir in
                   22775: .) ac_abs_srcdir=$ac_srcdir;;
                   22776: *)
                   22777:   case $ac_srcdir in
                   22778:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   22779:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   22780:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   22781:   esac;;
                   22782: esac
                   22783: case $ac_abs_builddir in
                   22784: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22785: *)
                   22786:   case $ac_top_srcdir in
                   22787:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   22788:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22789:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   22790:   esac;;
                   22791: esac
1.1       paf      22792: 
                   22793: 
1.62      paf      22794:     cd $ac_dir
1.1       paf      22795: 
                   22796:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      22797:     if test -f $ac_srcdir/configure.gnu; then
                   22798:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   22799:     elif test -f $ac_srcdir/configure; then
                   22800:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   22801:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      22802:       ac_sub_configure=$ac_configure
                   22803:     else
1.62      paf      22804:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   22805: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      22806:       ac_sub_configure=
                   22807:     fi
                   22808: 
                   22809:     # The recursion is here.
                   22810:     if test -n "$ac_sub_configure"; then
                   22811:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      22812:       case $cache_file in
                   22813:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      22814:       *) # Relative path.
1.86      paf      22815:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      22816:       esac
                   22817: 
1.62      paf      22818:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   22819: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      22820:       # The eval makes quoting arguments work.
1.62      paf      22821:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      22822:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   22823:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      22824: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   22825:    { (exit 1); exit 1; }; }
1.1       paf      22826:     fi
                   22827: 
                   22828:     cd $ac_popdir
                   22829:   done
                   22830: fi
                   22831: 

E-mail: