Annotation of parser3/configure, revision 1.149

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.147     moko        3: # Generated by GNU Autoconf 2.59 for parser 3.4.2.
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'
1.147     moko      276: PACKAGE_VERSION='3.4.2'
                    277: PACKAGE_STRING='parser 3.4.2'
1.128     moko      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"
1.132     moko      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 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.147     moko      800: \`configure' configures parser 3.4.2 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
1.147     moko      866:      short | recursive ) echo "Configuration of parser 3.4.2:";;
1.128     moko      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.146     moko      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]
1.138     moko      883:   --enable-static[=PKGS]
                    884:                           build static libraries [default=yes]
1.128     moko      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.146     moko      898:   --with-gc=D             D is the directory where
1.142     moko      899:                           Boehm garbage collecting library is installed
1.146     moko      900:   --with-pcre=D           D is the directory where
1.142     moko      901:                           PCRE library is installed
1.146     moko      902:   --with-xml=D            D is the directory where
1.142     moko      903:                           Gnome XML libraries are installed
1.90      paf       904:   --with-glib-config=FILE FILE is glib library
                    905:                           configuration file (search for glib*-config)
1.62      paf       906:   --with-shared-mailreceive=D is the directory where
1.67      paf       907:                           Gnome MIME library is installed (shared lib)
1.62      paf       908:   --with-static-mailreceive=D is the directory where
                    909:                           Gnome MIME library is installed (static lib)
                    910:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                    911:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                    912:                           (makes parser ignore user-defined sendmail commands)
1.146     moko      913:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko      914:                           builds apache DSO module using apxs
1.128     moko      915:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
                    916:                           both]
                    917:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                    918:   --with-sysroot=DIR Search for dependent libraries within DIR
                    919:                         (or the compiler's sysroot if not specified).
                    920:   --with-included-ltdl    use the GNU ltdl sources included here
                    921:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                    922:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf       923: 
                    924: Some influential environment variables:
1.66      paf       925:   CXX         C++ compiler command
                    926:   CXXFLAGS    C++ compiler flags
1.62      paf       927:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    928:               nonstandard directory <lib dir>
                    929:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    930:               headers in a nonstandard directory <include dir>
1.66      paf       931:   CC          C compiler command
                    932:   CFLAGS      C compiler flags
                    933:   CPP         C preprocessor
1.128     moko      934:   CXXCPP      C++ preprocessor
1.62      paf       935: 
                    936: Use these variables to override the choices made by `configure' or to help
                    937: it to find libraries and programs with nonstandard names/locations.
                    938: 
                    939: _ACEOF
                    940: fi
                    941: 
                    942: if test "$ac_init_help" = "recursive"; then
                    943:   # If there are subdirs, report their specific --help.
                    944:   ac_popdir=`pwd`
                    945:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    946:     test -d $ac_dir || continue
                    947:     ac_builddir=.
                    948: 
                    949: if test "$ac_dir" != .; then
                    950:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    951:   # A "../" for each directory in $ac_dir_suffix.
                    952:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    953: else
                    954:   ac_dir_suffix= ac_top_builddir=
                    955: fi
                    956: 
                    957: case $srcdir in
                    958:   .)  # No --srcdir option.  We are building in place.
                    959:     ac_srcdir=.
                    960:     if test -z "$ac_top_builddir"; then
                    961:        ac_top_srcdir=.
                    962:     else
                    963:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    964:     fi ;;
                    965:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    966:     ac_srcdir=$srcdir$ac_dir_suffix;
                    967:     ac_top_srcdir=$srcdir ;;
                    968:   *) # Relative path.
                    969:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    970:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    971: esac
1.86      paf       972: 
                    973: # Do not use `cd foo && pwd` to compute absolute paths, because
                    974: # the directories may not exist.
                    975: case `pwd` in
                    976: .) ac_abs_builddir="$ac_dir";;
                    977: *)
                    978:   case "$ac_dir" in
                    979:   .) ac_abs_builddir=`pwd`;;
                    980:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    981:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    982:   esac;;
                    983: esac
                    984: case $ac_abs_builddir in
                    985: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    986: *)
                    987:   case ${ac_top_builddir}. in
                    988:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    989:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    990:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    991:   esac;;
                    992: esac
                    993: case $ac_abs_builddir in
                    994: .) ac_abs_srcdir=$ac_srcdir;;
                    995: *)
                    996:   case $ac_srcdir in
                    997:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    998:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                    999:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   1000:   esac;;
                   1001: esac
                   1002: case $ac_abs_builddir in
                   1003: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1004: *)
                   1005:   case $ac_top_srcdir in
                   1006:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   1007:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   1008:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   1009:   esac;;
                   1010: esac
1.62      paf      1011: 
                   1012:     cd $ac_dir
                   1013:     # Check for guested configure; otherwise get Cygnus style configure.
                   1014:     if test -f $ac_srcdir/configure.gnu; then
                   1015:       echo
                   1016:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1017:     elif test -f $ac_srcdir/configure; then
                   1018:       echo
                   1019:       $SHELL $ac_srcdir/configure  --help=recursive
                   1020:     elif test -f $ac_srcdir/configure.ac ||
1.86      paf      1021:           test -f $ac_srcdir/configure.in; then
1.62      paf      1022:       echo
                   1023:       $ac_configure --help
                   1024:     else
                   1025:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1026:     fi
                   1027:     cd $ac_popdir
                   1028:   done
                   1029: fi
                   1030: 
                   1031: test -n "$ac_init_help" && exit 0
                   1032: if $ac_init_version; then
                   1033:   cat <<\_ACEOF
1.147     moko     1034: parser configure 3.4.2
1.128     moko     1035: generated by GNU Autoconf 2.59
1.62      paf      1036: 
1.86      paf      1037: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      1038: This configure script is free software; the Free Software Foundation
                   1039: gives unlimited permission to copy, distribute and modify it.
                   1040: _ACEOF
                   1041:   exit 0
                   1042: fi
                   1043: exec 5>config.log
                   1044: cat >&5 <<_ACEOF
                   1045: This file contains any messages produced by compilers while
                   1046: running configure, to aid debugging if configure makes a mistake.
                   1047: 
1.147     moko     1048: It was created by parser $as_me 3.4.2, which was
1.86      paf      1049: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      1050: 
                   1051:   $ $0 $@
                   1052: 
                   1053: _ACEOF
                   1054: {
                   1055: cat <<_ASUNAME
                   1056: ## --------- ##
                   1057: ## Platform. ##
                   1058: ## --------- ##
                   1059: 
                   1060: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1061: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1062: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1063: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1064: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1065: 
                   1066: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1067: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1068: 
                   1069: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1070: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1071: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1072: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1073: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1074: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1075: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1076: 
                   1077: _ASUNAME
                   1078: 
                   1079: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1080: for as_dir in $PATH
                   1081: do
                   1082:   IFS=$as_save_IFS
                   1083:   test -z "$as_dir" && as_dir=.
                   1084:   echo "PATH: $as_dir"
                   1085: done
1.1       paf      1086: 
1.62      paf      1087: } >&5
                   1088: 
                   1089: cat >&5 <<_ACEOF
                   1090: 
                   1091: 
                   1092: ## ----------- ##
                   1093: ## Core tests. ##
                   1094: ## ----------- ##
                   1095: 
                   1096: _ACEOF
                   1097: 
                   1098: 
                   1099: # Keep a trace of the command line.
                   1100: # Strip out --no-create and --no-recursion so they do not pile up.
                   1101: # Strip out --silent because we don't want to record it for future runs.
                   1102: # Also quote any args containing shell meta-characters.
                   1103: # Make two passes to allow for proper duplicate-argument suppression.
                   1104: ac_configure_args=
                   1105: ac_configure_args0=
                   1106: ac_configure_args1=
                   1107: ac_sep=
                   1108: ac_must_keep_next=false
                   1109: for ac_pass in 1 2
                   1110: do
                   1111:   for ac_arg
                   1112:   do
                   1113:     case $ac_arg in
                   1114:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1115:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1116:     | -silent | --silent | --silen | --sile | --sil)
                   1117:       continue ;;
                   1118:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1119:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1120:     esac
                   1121:     case $ac_pass in
                   1122:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1123:     2)
                   1124:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1125:       if test $ac_must_keep_next = true; then
1.86      paf      1126:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      1127:       else
1.86      paf      1128:        case $ac_arg in
                   1129:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1130:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1131:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1132:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1133:            case "$ac_configure_args0 " in
                   1134:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1135:            esac
                   1136:            ;;
                   1137:          -* ) ac_must_keep_next=true ;;
                   1138:        esac
1.62      paf      1139:       fi
                   1140:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1141:       # Get rid of the leading space.
                   1142:       ac_sep=" "
                   1143:       ;;
                   1144:     esac
                   1145:   done
                   1146: done
                   1147: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1148: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1149: 
                   1150: # When interrupted or exit'd, cleanup temporary files, and complete
                   1151: # config.log.  We remove comments because anyway the quotes in there
                   1152: # would cause problems or look ugly.
                   1153: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1154: # such as our DU 5.0 friend, will then `close' the trap.
                   1155: trap 'exit_status=$?
                   1156:   # Save into config.log some information that might help in debugging.
                   1157:   {
                   1158:     echo
                   1159: 
                   1160:     cat <<\_ASBOX
                   1161: ## ---------------- ##
                   1162: ## Cache variables. ##
                   1163: ## ---------------- ##
                   1164: _ASBOX
                   1165:     echo
                   1166:     # The following way of writing the cache mishandles newlines in values,
                   1167: {
                   1168:   (set) 2>&1 |
                   1169:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1170:     *ac_space=\ *)
                   1171:       sed -n \
1.86      paf      1172:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1173:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.62      paf      1174:       ;;
                   1175:     *)
                   1176:       sed -n \
1.86      paf      1177:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      1178:       ;;
                   1179:     esac;
                   1180: }
                   1181:     echo
                   1182: 
                   1183:     cat <<\_ASBOX
                   1184: ## ----------------- ##
                   1185: ## Output variables. ##
                   1186: ## ----------------- ##
                   1187: _ASBOX
                   1188:     echo
                   1189:     for ac_var in $ac_subst_vars
                   1190:     do
                   1191:       eval ac_val=$`echo $ac_var`
                   1192:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1193:     done | sort
                   1194:     echo
                   1195: 
                   1196:     if test -n "$ac_subst_files"; then
                   1197:       cat <<\_ASBOX
                   1198: ## ------------- ##
                   1199: ## Output files. ##
                   1200: ## ------------- ##
                   1201: _ASBOX
                   1202:       echo
                   1203:       for ac_var in $ac_subst_files
                   1204:       do
                   1205:        eval ac_val=$`echo $ac_var`
1.86      paf      1206:        echo "$ac_var='"'"'$ac_val'"'"'"
1.62      paf      1207:       done | sort
                   1208:       echo
                   1209:     fi
                   1210: 
                   1211:     if test -s confdefs.h; then
                   1212:       cat <<\_ASBOX
                   1213: ## ----------- ##
                   1214: ## confdefs.h. ##
                   1215: ## ----------- ##
                   1216: _ASBOX
                   1217:       echo
                   1218:       sed "/^$/d" confdefs.h | sort
                   1219:       echo
                   1220:     fi
                   1221:     test "$ac_signal" != 0 &&
                   1222:       echo "$as_me: caught signal $ac_signal"
                   1223:     echo "$as_me: exit $exit_status"
                   1224:   } >&5
1.86      paf      1225:   rm -f core *.core &&
1.62      paf      1226:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1227:     exit $exit_status
                   1228:      ' 0
                   1229: for ac_signal in 1 2 13 15; do
                   1230:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1231: done
                   1232: ac_signal=0
                   1233: 
                   1234: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1235: rm -rf conftest* confdefs.h
                   1236: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1237: echo >confdefs.h
                   1238: 
                   1239: # Predefined preprocessor variables.
                   1240: 
                   1241: cat >>confdefs.h <<_ACEOF
                   1242: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1243: _ACEOF
                   1244: 
                   1245: 
                   1246: cat >>confdefs.h <<_ACEOF
                   1247: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1248: _ACEOF
                   1249: 
                   1250: 
                   1251: cat >>confdefs.h <<_ACEOF
                   1252: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1253: _ACEOF
                   1254: 
                   1255: 
                   1256: cat >>confdefs.h <<_ACEOF
                   1257: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1258: _ACEOF
                   1259: 
                   1260: 
                   1261: cat >>confdefs.h <<_ACEOF
                   1262: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1263: _ACEOF
                   1264: 
                   1265: 
                   1266: # Let the site file select an alternate cache file if it wants to.
1.1       paf      1267: # Prefer explicitly selected file to automatically selected ones.
                   1268: if test -z "$CONFIG_SITE"; then
                   1269:   if test "x$prefix" != xNONE; then
                   1270:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1271:   else
                   1272:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1273:   fi
                   1274: fi
                   1275: for ac_site_file in $CONFIG_SITE; do
                   1276:   if test -r "$ac_site_file"; then
1.62      paf      1277:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1278: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1279:     sed 's/^/| /' "$ac_site_file" >&5
1.1       paf      1280:     . "$ac_site_file"
                   1281:   fi
                   1282: done
                   1283: 
                   1284: if test -r "$cache_file"; then
1.62      paf      1285:   # Some versions of bash will fail to source /dev/null (special
                   1286:   # files actually), so we avoid doing that.
                   1287:   if test -f "$cache_file"; then
                   1288:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1289: echo "$as_me: loading cache $cache_file" >&6;}
                   1290:     case $cache_file in
                   1291:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1292:       *)                      . ./$cache_file;;
                   1293:     esac
                   1294:   fi
1.1       paf      1295: else
1.62      paf      1296:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1297: echo "$as_me: creating cache $cache_file" >&6;}
                   1298:   >$cache_file
                   1299: fi
                   1300: 
                   1301: # Check that the precious variables saved in the cache have kept the same
                   1302: # value.
                   1303: ac_cache_corrupted=false
                   1304: for ac_var in `(set) 2>&1 |
1.86      paf      1305:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.62      paf      1306:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1307:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1308:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1309:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1310:   case $ac_old_set,$ac_new_set in
                   1311:     set,)
                   1312:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1313: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1314:       ac_cache_corrupted=: ;;
                   1315:     ,set)
                   1316:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1317: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1318:       ac_cache_corrupted=: ;;
                   1319:     ,);;
                   1320:     *)
                   1321:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.86      paf      1322:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.62      paf      1323: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.86      paf      1324:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.62      paf      1325: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.86      paf      1326:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.62      paf      1327: echo "$as_me:   current value: $ac_new_val" >&2;}
1.86      paf      1328:        ac_cache_corrupted=:
1.62      paf      1329:       fi;;
                   1330:   esac
                   1331:   # Pass precious variables to config.status.
                   1332:   if test "$ac_new_set" = set; then
                   1333:     case $ac_new_val in
                   1334:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1335:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1336:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1337:     esac
                   1338:     case " $ac_configure_args " in
                   1339:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1340:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1341:     esac
                   1342:   fi
                   1343: done
                   1344: if $ac_cache_corrupted; then
                   1345:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1346: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1347:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1348: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1349:    { (exit 1); exit 1; }; }
1.1       paf      1350: fi
                   1351: 
                   1352: ac_ext=c
                   1353: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      1354: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1355: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1356: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1357: 
                   1358: 
                   1359: 
                   1360: 
                   1361: 
                   1362: 
                   1363: 
                   1364: 
                   1365: 
                   1366: 
                   1367: 
1.1       paf      1368: 
                   1369: 
1.62      paf      1370: 
                   1371: 
                   1372: 
                   1373: 
                   1374: 
                   1375: 
1.63      paf      1376: 
                   1377: 
1.128     moko     1378: 
                   1379: 
                   1380: 
                   1381: 
                   1382: 
                   1383: 
                   1384: 
                   1385: 
                   1386: 
1.86      paf      1387: am__api_version="1.9"
1.1       paf      1388: ac_aux_dir=
                   1389: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1390:   if test -f $ac_dir/install-sh; then
                   1391:     ac_aux_dir=$ac_dir
                   1392:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1393:     break
                   1394:   elif test -f $ac_dir/install.sh; then
                   1395:     ac_aux_dir=$ac_dir
                   1396:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1397:     break
1.62      paf      1398:   elif test -f $ac_dir/shtool; then
                   1399:     ac_aux_dir=$ac_dir
                   1400:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1401:     break
1.1       paf      1402:   fi
                   1403: done
                   1404: if test -z "$ac_aux_dir"; then
1.62      paf      1405:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1406: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1407:    { (exit 1); exit 1; }; }
                   1408: fi
                   1409: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1410: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1411: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       paf      1412: 
                   1413: # Find a good install program.  We prefer a C program (faster),
                   1414: # so one script is as good as another.  But avoid the broken or
                   1415: # incompatible versions:
                   1416: # SysV /etc/install, /usr/sbin/install
                   1417: # SunOS /usr/etc/install
                   1418: # IRIX /sbin/install
                   1419: # AIX /bin/install
1.62      paf      1420: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1421: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1422: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1423: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1424: # OS/2's system install, which has a completely different semantic
1.1       paf      1425: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1426: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1427: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1428: if test -z "$INSTALL"; then
1.62      paf      1429: if test "${ac_cv_path_install+set}" = set; then
                   1430:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1431: else
1.62      paf      1432:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1433: for as_dir in $PATH
                   1434: do
                   1435:   IFS=$as_save_IFS
                   1436:   test -z "$as_dir" && as_dir=.
                   1437:   # Account for people who put trailing slashes in PATH elements.
                   1438: case $as_dir/ in
                   1439:   ./ | .// | /cC/* | \
                   1440:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1441:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1442:   /usr/ucb/* ) ;;
                   1443:   *)
                   1444:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1445:     # Don't use installbsd from OSF since it installs stuff as root
                   1446:     # by default.
                   1447:     for ac_prog in ginstall scoinst install; do
                   1448:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1449:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1450:          if test $ac_prog = install &&
                   1451:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1452:            # AIX install.  It has an incompatible calling convention.
                   1453:            :
                   1454:          elif test $ac_prog = install &&
                   1455:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1456:            # program-specific install script used by HP pwplus--don't use.
                   1457:            :
                   1458:          else
                   1459:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1460:            break 3
                   1461:          fi
                   1462:        fi
1.1       paf      1463:       done
1.62      paf      1464:     done
                   1465:     ;;
                   1466: esac
                   1467: done
                   1468: 
1.1       paf      1469: 
                   1470: fi
                   1471:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1472:     INSTALL=$ac_cv_path_install
1.1       paf      1473:   else
                   1474:     # As a last resort, use the slow shell script.  We don't cache a
                   1475:     # path for INSTALL within a source directory, because that will
                   1476:     # break other packages using the cache if that directory is
                   1477:     # removed, or if the path is relative.
1.62      paf      1478:     INSTALL=$ac_install_sh
1.1       paf      1479:   fi
                   1480: fi
1.62      paf      1481: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1482: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1483: 
                   1484: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1485: # It thinks the first close brace ends the variable substitution.
                   1486: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1487: 
1.62      paf      1488: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1489: 
                   1490: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1491: 
1.62      paf      1492: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1493: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       paf      1494: # Just in case
                   1495: sleep 1
1.62      paf      1496: echo timestamp > conftest.file
1.1       paf      1497: # Do `set' in a subshell so we don't clobber the current shell's
                   1498: # arguments.  Must try -L first in case configure is actually a
                   1499: # symlink; some systems play weird games with the mod time of symlinks
                   1500: # (eg FreeBSD returns the mod time of the symlink's containing
                   1501: # directory).
                   1502: if (
1.62      paf      1503:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       paf      1504:    if test "$*" = "X"; then
                   1505:       # -L didn't work.
1.62      paf      1506:       set X `ls -t $srcdir/configure conftest.file`
1.1       paf      1507:    fi
1.62      paf      1508:    rm -f conftest.file
                   1509:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1510:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      1511: 
                   1512:       # If neither matched, then we have a broken ls.  This can happen
                   1513:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1514:       # broken ls alias from the environment.  This has actually
                   1515:       # happened.  Such a system could not be considered "sane".
1.62      paf      1516:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1517: alias in your environment" >&5
                   1518: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1519: alias in your environment" >&2;}
                   1520:    { (exit 1); exit 1; }; }
1.1       paf      1521:    fi
                   1522: 
1.62      paf      1523:    test "$2" = conftest.file
1.1       paf      1524:    )
                   1525: then
                   1526:    # Ok.
                   1527:    :
                   1528: else
1.62      paf      1529:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1530: Check your system clock" >&5
                   1531: echo "$as_me: error: newly created file is older than distributed files!
                   1532: Check your system clock" >&2;}
                   1533:    { (exit 1); exit 1; }; }
1.1       paf      1534: fi
1.62      paf      1535: echo "$as_me:$LINENO: result: yes" >&5
                   1536: echo "${ECHO_T}yes" >&6
1.1       paf      1537: test "$program_prefix" != NONE &&
1.62      paf      1538:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       paf      1539: # Use a double $ so make ignores it.
                   1540: test "$program_suffix" != NONE &&
1.62      paf      1541:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1542: # Double any \ or $.  echo might interpret backslashes.
                   1543: # By default was `s,x,x', remove it if useless.
                   1544: cat <<\_ACEOF >conftest.sed
                   1545: s/[\\$]/&&/g;s/;s,x,x,$//
                   1546: _ACEOF
                   1547: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1548: rm conftest.sed
                   1549: 
                   1550: # expand $ac_aux_dir to an absolute path
                   1551: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1552: 
                   1553: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1554: # Use eval to expand $SHELL
                   1555: if eval "$MISSING --run true"; then
                   1556:   am_missing_run="$MISSING --run "
                   1557: else
                   1558:   am_missing_run=
                   1559:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1560: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1561: fi
                   1562: 
1.86      paf      1563: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1564:   # We used to keeping the `.' as first argument, in order to
                   1565:   # allow $(mkdir_p) to be used without argument.  As in
                   1566:   #   $(mkdir_p) $(somedir)
                   1567:   # where $(somedir) is conditionally defined.  However this is wrong
                   1568:   # for two reasons:
                   1569:   #  1. if the package is installed by a user who cannot write `.'
                   1570:   #     make install will fail,
                   1571:   #  2. the above comment should most certainly read
                   1572:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1573:   #     so it does not work when $(somedir) is undefined and
                   1574:   #     $(DESTDIR) is not.
                   1575:   #  To support the latter case, we have to write
                   1576:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1577:   #  so the `.' trick is pointless.
                   1578:   mkdir_p='mkdir -p --'
                   1579: else
                   1580:   # On NextStep and OpenStep, the `mkdir' command does not
                   1581:   # recognize any option.  It will interpret all options as
                   1582:   # directories to create, and then abort because `.' already
                   1583:   # exists.
                   1584:   for d in ./-p ./--version;
                   1585:   do
                   1586:     test -d $d && rmdir $d
                   1587:   done
                   1588:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1589:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1590:     mkdir_p='$(mkinstalldirs)'
                   1591:   else
                   1592:     mkdir_p='$(install_sh) -d'
                   1593:   fi
                   1594: fi
                   1595: 
1.62      paf      1596: for ac_prog in gawk mawk nawk awk
                   1597: do
                   1598:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1599: set dummy $ac_prog; ac_word=$2
                   1600: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1601: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1602: if test "${ac_cv_prog_AWK+set}" = set; then
                   1603:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1604: else
                   1605:   if test -n "$AWK"; then
                   1606:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1607: else
                   1608: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1609: for as_dir in $PATH
                   1610: do
                   1611:   IFS=$as_save_IFS
                   1612:   test -z "$as_dir" && as_dir=.
                   1613:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1614:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1615:     ac_cv_prog_AWK="$ac_prog"
                   1616:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1617:     break 2
                   1618:   fi
                   1619: done
                   1620: done
                   1621: 
                   1622: fi
                   1623: fi
                   1624: AWK=$ac_cv_prog_AWK
                   1625: if test -n "$AWK"; then
                   1626:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1627: echo "${ECHO_T}$AWK" >&6
                   1628: else
                   1629:   echo "$as_me:$LINENO: result: no" >&5
                   1630: echo "${ECHO_T}no" >&6
                   1631: fi
1.1       paf      1632: 
1.62      paf      1633:   test -n "$AWK" && break
                   1634: done
1.1       paf      1635: 
1.62      paf      1636: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1637: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86      paf      1638: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62      paf      1639: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1640:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1641: else
1.62      paf      1642:   cat >conftest.make <<\_ACEOF
1.1       paf      1643: all:
1.62      paf      1644:        @echo 'ac_maketemp="$(MAKE)"'
                   1645: _ACEOF
1.1       paf      1646: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1647: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       paf      1648: if test -n "$ac_maketemp"; then
                   1649:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1650: else
                   1651:   eval ac_cv_prog_make_${ac_make}_set=no
                   1652: fi
1.62      paf      1653: rm -f conftest.make
1.1       paf      1654: fi
                   1655: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1656:   echo "$as_me:$LINENO: result: yes" >&5
                   1657: echo "${ECHO_T}yes" >&6
1.1       paf      1658:   SET_MAKE=
                   1659: else
1.62      paf      1660:   echo "$as_me:$LINENO: result: no" >&5
                   1661: echo "${ECHO_T}no" >&6
1.1       paf      1662:   SET_MAKE="MAKE=${MAKE-make}"
                   1663: fi
                   1664: 
1.86      paf      1665: rm -rf .tst 2>/dev/null
                   1666: mkdir .tst 2>/dev/null
                   1667: if test -d .tst; then
                   1668:   am__leading_dot=.
                   1669: else
                   1670:   am__leading_dot=_
                   1671: fi
                   1672: rmdir .tst 2>/dev/null
                   1673: 
                   1674: # test to see if srcdir already configured
1.62      paf      1675: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1676:    test -f $srcdir/config.status; then
                   1677:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1678: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1679:    { (exit 1); exit 1; }; }
                   1680: fi
                   1681: 
                   1682: # test whether we have cygpath
                   1683: if test -z "$CYGPATH_W"; then
                   1684:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1685:     CYGPATH_W='cygpath -w'
                   1686:   else
                   1687:     CYGPATH_W=echo
                   1688:   fi
                   1689: fi
                   1690: 
                   1691: 
                   1692: # Define the identity of the package.
1.128     moko     1693:  PACKAGE='parser'
1.147     moko     1694:  VERSION='3.4.2'
1.128     moko     1695: 
                   1696: 
                   1697: cat >>confdefs.h <<_ACEOF
                   1698: #define PACKAGE "$PACKAGE"
                   1699: _ACEOF
1.1       paf      1700: 
                   1701: 
1.128     moko     1702: cat >>confdefs.h <<_ACEOF
                   1703: #define VERSION "$VERSION"
                   1704: _ACEOF
                   1705: 
1.62      paf      1706: # Some tools Automake needs.
                   1707: 
                   1708: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1709: 
                   1710: 
                   1711: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1712: 
                   1713: 
                   1714: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1715: 
                   1716: 
                   1717: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1718: 
                   1719: 
                   1720: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      1721: 
1.62      paf      1722: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       paf      1723: 
1.62      paf      1724: # Installed binaries are usually stripped using `strip' when the user
                   1725: # run `make install-strip'.  However `strip' might not be the right
                   1726: # tool to use in cross-compilation environments, therefore Automake
                   1727: # will honor the `STRIP' environment variable to overrule this program.
                   1728: if test "$cross_compiling" != no; then
                   1729:   if test -n "$ac_tool_prefix"; then
                   1730:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1731: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1732: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1733: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1734: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1735:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1736: else
1.62      paf      1737:   if test -n "$STRIP"; then
                   1738:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1739: else
                   1740: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1741: for as_dir in $PATH
                   1742: do
                   1743:   IFS=$as_save_IFS
                   1744:   test -z "$as_dir" && as_dir=.
                   1745:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1746:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1747:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1748:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1749:     break 2
                   1750:   fi
                   1751: done
                   1752: done
                   1753: 
                   1754: fi
                   1755: fi
                   1756: STRIP=$ac_cv_prog_STRIP
                   1757: if test -n "$STRIP"; then
                   1758:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1759: echo "${ECHO_T}$STRIP" >&6
                   1760: else
                   1761:   echo "$as_me:$LINENO: result: no" >&5
                   1762: echo "${ECHO_T}no" >&6
1.1       paf      1763: fi
                   1764: 
1.62      paf      1765: fi
                   1766: if test -z "$ac_cv_prog_STRIP"; then
                   1767:   ac_ct_STRIP=$STRIP
                   1768:   # Extract the first word of "strip", so it can be a program name with args.
                   1769: set dummy strip; ac_word=$2
                   1770: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1771: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1772: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1773:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1774: else
                   1775:   if test -n "$ac_ct_STRIP"; then
                   1776:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       paf      1777: else
1.62      paf      1778: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1779: for as_dir in $PATH
                   1780: do
                   1781:   IFS=$as_save_IFS
                   1782:   test -z "$as_dir" && as_dir=.
                   1783:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1784:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1785:     ac_cv_prog_ac_ct_STRIP="strip"
                   1786:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1787:     break 2
                   1788:   fi
                   1789: done
                   1790: done
                   1791: 
                   1792:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1793: fi
1.1       paf      1794: fi
1.62      paf      1795: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1796: if test -n "$ac_ct_STRIP"; then
                   1797:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1798: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       paf      1799: else
1.62      paf      1800:   echo "$as_me:$LINENO: result: no" >&5
                   1801: echo "${ECHO_T}no" >&6
1.1       paf      1802: fi
                   1803: 
1.62      paf      1804:   STRIP=$ac_ct_STRIP
1.1       paf      1805: else
1.62      paf      1806:   STRIP="$ac_cv_prog_STRIP"
1.1       paf      1807: fi
                   1808: 
                   1809: fi
1.62      paf      1810: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1811: 
                   1812: # We need awk for the "check" target.  The system "awk" is bad on
                   1813: # some platforms.
1.86      paf      1814: # Always define AMTAR for backward compatibility.
                   1815: 
                   1816: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1817: 
                   1818: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1819: 
                   1820: 
1.62      paf      1821: 
1.1       paf      1822: 
                   1823: 
                   1824: 
1.128     moko     1825: 
1.12      paf      1826: P3S=`cd $srcdir/src ; pwd`
1.1       paf      1827: 
                   1828: 
1.128     moko     1829: 
1.41      paf      1830: # Make sure we can run config.sub.
1.62      paf      1831: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1832:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1833: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1834:    { (exit 1); exit 1; }; }
                   1835: 
                   1836: echo "$as_me:$LINENO: checking build system type" >&5
                   1837: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1838: if test "${ac_cv_build+set}" = set; then
                   1839:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1840: else
                   1841:   ac_cv_build_alias=$build_alias
                   1842: test -z "$ac_cv_build_alias" &&
                   1843:   ac_cv_build_alias=`$ac_config_guess`
                   1844: test -z "$ac_cv_build_alias" &&
                   1845:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1846: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1847:    { (exit 1); exit 1; }; }
                   1848: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1849:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1850: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1851:    { (exit 1); exit 1; }; }
                   1852: 
                   1853: fi
                   1854: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1855: echo "${ECHO_T}$ac_cv_build" >&6
                   1856: build=$ac_cv_build
                   1857: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1858: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1859: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1860: 
                   1861: 
                   1862: echo "$as_me:$LINENO: checking host system type" >&5
                   1863: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1864: if test "${ac_cv_host+set}" = set; then
                   1865:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1866: else
                   1867:   ac_cv_host_alias=$host_alias
                   1868: test -z "$ac_cv_host_alias" &&
                   1869:   ac_cv_host_alias=$ac_cv_build_alias
                   1870: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1871:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1872: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1873:    { (exit 1); exit 1; }; }
                   1874: 
                   1875: fi
                   1876: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1877: echo "${ECHO_T}$ac_cv_host" >&6
                   1878: host=$ac_cv_host
                   1879: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1880: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1881: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.81      paf      1882: 
                   1883: 
                   1884: 
1.148     moko     1885: cat >>confdefs.h <<_ACEOF
                   1886: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     1887: _ACEOF
                   1888: 
                   1889: 
1.41      paf      1890: 
1.67      paf      1891: case $host_os in
                   1892:   *cygwin* )
                   1893: cat >>confdefs.h <<\_ACEOF
                   1894: #define CYGWIN
                   1895: _ACEOF
                   1896: ;;
                   1897: esac
1.41      paf      1898: 
1.128     moko     1899: 
1.1       paf      1900: # Find a good install program.  We prefer a C program (faster),
                   1901: # so one script is as good as another.  But avoid the broken or
                   1902: # incompatible versions:
                   1903: # SysV /etc/install, /usr/sbin/install
                   1904: # SunOS /usr/etc/install
                   1905: # IRIX /sbin/install
                   1906: # AIX /bin/install
1.62      paf      1907: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1908: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1909: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1910: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1911: # OS/2's system install, which has a completely different semantic
1.1       paf      1912: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1913: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1914: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1915: if test -z "$INSTALL"; then
1.62      paf      1916: if test "${ac_cv_path_install+set}" = set; then
                   1917:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1918: else
1.62      paf      1919:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1920: for as_dir in $PATH
                   1921: do
                   1922:   IFS=$as_save_IFS
                   1923:   test -z "$as_dir" && as_dir=.
                   1924:   # Account for people who put trailing slashes in PATH elements.
                   1925: case $as_dir/ in
                   1926:   ./ | .// | /cC/* | \
                   1927:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1928:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1929:   /usr/ucb/* ) ;;
                   1930:   *)
                   1931:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1932:     # Don't use installbsd from OSF since it installs stuff as root
                   1933:     # by default.
                   1934:     for ac_prog in ginstall scoinst install; do
                   1935:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1936:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1937:          if test $ac_prog = install &&
                   1938:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1939:            # AIX install.  It has an incompatible calling convention.
                   1940:            :
                   1941:          elif test $ac_prog = install &&
                   1942:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1943:            # program-specific install script used by HP pwplus--don't use.
                   1944:            :
                   1945:          else
                   1946:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1947:            break 3
                   1948:          fi
                   1949:        fi
1.1       paf      1950:       done
1.62      paf      1951:     done
                   1952:     ;;
                   1953: esac
                   1954: done
                   1955: 
1.1       paf      1956: 
                   1957: fi
                   1958:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1959:     INSTALL=$ac_cv_path_install
1.1       paf      1960:   else
                   1961:     # As a last resort, use the slow shell script.  We don't cache a
                   1962:     # path for INSTALL within a source directory, because that will
                   1963:     # break other packages using the cache if that directory is
                   1964:     # removed, or if the path is relative.
1.62      paf      1965:     INSTALL=$ac_install_sh
1.1       paf      1966:   fi
                   1967: fi
1.62      paf      1968: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1969: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1970: 
                   1971: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1972: # It thinks the first close brace ends the variable substitution.
                   1973: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1974: 
1.62      paf      1975: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1976: 
                   1977: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1978: 
1.62      paf      1979: for ac_prog in gawk mawk nawk awk
1.41      paf      1980: do
1.62      paf      1981:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      1982: set dummy $ac_prog; ac_word=$2
1.62      paf      1983: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1984: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1985: if test "${ac_cv_prog_AWK+set}" = set; then
                   1986:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1987: else
                   1988:   if test -n "$AWK"; then
                   1989:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1990: else
1.62      paf      1991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1992: for as_dir in $PATH
                   1993: do
                   1994:   IFS=$as_save_IFS
                   1995:   test -z "$as_dir" && as_dir=.
                   1996:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1997:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1998:     ac_cv_prog_AWK="$ac_prog"
                   1999:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2000:     break 2
                   2001:   fi
                   2002: done
                   2003: done
                   2004: 
1.41      paf      2005: fi
                   2006: fi
1.62      paf      2007: AWK=$ac_cv_prog_AWK
1.41      paf      2008: if test -n "$AWK"; then
1.62      paf      2009:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2010: echo "${ECHO_T}$AWK" >&6
1.41      paf      2011: else
1.62      paf      2012:   echo "$as_me:$LINENO: result: no" >&5
                   2013: echo "${ECHO_T}no" >&6
1.41      paf      2014: fi
                   2015: 
1.62      paf      2016:   test -n "$AWK" && break
1.41      paf      2017: done
                   2018: 
                   2019: 
                   2020: for ac_prog in 'bison -y' byacc
                   2021: do
1.62      paf      2022:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2023: set dummy $ac_prog; ac_word=$2
1.62      paf      2024: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2025: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2026: if test "${ac_cv_prog_YACC+set}" = set; then
                   2027:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2028: else
                   2029:   if test -n "$YACC"; then
                   2030:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2031: else
1.62      paf      2032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2033: for as_dir in $PATH
                   2034: do
                   2035:   IFS=$as_save_IFS
                   2036:   test -z "$as_dir" && as_dir=.
                   2037:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2038:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2039:     ac_cv_prog_YACC="$ac_prog"
                   2040:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2041:     break 2
                   2042:   fi
                   2043: done
                   2044: done
                   2045: 
1.41      paf      2046: fi
                   2047: fi
1.62      paf      2048: YACC=$ac_cv_prog_YACC
1.41      paf      2049: if test -n "$YACC"; then
1.62      paf      2050:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2051: echo "${ECHO_T}$YACC" >&6
1.41      paf      2052: else
1.62      paf      2053:   echo "$as_me:$LINENO: result: no" >&5
                   2054: echo "${ECHO_T}no" >&6
1.41      paf      2055: fi
                   2056: 
1.62      paf      2057:   test -n "$YACC" && break
1.41      paf      2058: done
                   2059: test -n "$YACC" || YACC="yacc"
                   2060: 
                   2061: if test "$YACC" != "bison -y"; then
1.67      paf      2062:        { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62      paf      2063: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2064: else
1.67      paf      2065:        echo "$as_me:$LINENO: checking bison version" >&5
1.62      paf      2066: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67      paf      2067:        oldIFS=$IFS; IFS=.
                   2068:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   2069:        IFS=$oldIFS
                   2070:        if test "$1" = "1" -a "$2" -lt "25"; then
                   2071:                { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62      paf      2072: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      2073:        fi
                   2074:        echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62      paf      2075: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2076: fi
                   2077: 
1.66      paf      2078: ac_ext=cc
                   2079: ac_cpp='$CXXCPP $CPPFLAGS'
                   2080: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2081: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2082: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2083: if test -n "$ac_tool_prefix"; then
1.66      paf      2084:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2085:   do
                   2086:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2087: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2088: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2089: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2090: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2091:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2092: else
1.66      paf      2093:   if test -n "$CXX"; then
                   2094:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2095: else
                   2096: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2097: for as_dir in $PATH
                   2098: do
                   2099:   IFS=$as_save_IFS
                   2100:   test -z "$as_dir" && as_dir=.
                   2101:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2102:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2103:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2104:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2105:     break 2
                   2106:   fi
                   2107: done
                   2108: done
                   2109: 
                   2110: fi
                   2111: fi
1.66      paf      2112: CXX=$ac_cv_prog_CXX
                   2113: if test -n "$CXX"; then
                   2114:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2115: echo "${ECHO_T}$CXX" >&6
1.62      paf      2116: else
                   2117:   echo "$as_me:$LINENO: result: no" >&5
                   2118: echo "${ECHO_T}no" >&6
1.41      paf      2119: fi
                   2120: 
1.66      paf      2121:     test -n "$CXX" && break
                   2122:   done
1.62      paf      2123: fi
1.66      paf      2124: if test -z "$CXX"; then
                   2125:   ac_ct_CXX=$CXX
                   2126:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2127: do
                   2128:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2129: set dummy $ac_prog; ac_word=$2
1.62      paf      2130: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2131: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2132: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2133:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2134: else
1.66      paf      2135:   if test -n "$ac_ct_CXX"; then
                   2136:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2137: else
                   2138: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2139: for as_dir in $PATH
                   2140: do
                   2141:   IFS=$as_save_IFS
                   2142:   test -z "$as_dir" && as_dir=.
                   2143:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2144:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2145:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2146:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2147:     break 2
                   2148:   fi
                   2149: done
                   2150: done
                   2151: 
                   2152: fi
                   2153: fi
1.66      paf      2154: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2155: if test -n "$ac_ct_CXX"; then
                   2156:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2157: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2158: else
                   2159:   echo "$as_me:$LINENO: result: no" >&5
                   2160: echo "${ECHO_T}no" >&6
                   2161: fi
                   2162: 
1.66      paf      2163:   test -n "$ac_ct_CXX" && break
                   2164: done
                   2165: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2166: 
                   2167:   CXX=$ac_ct_CXX
1.62      paf      2168: fi
                   2169: 
1.66      paf      2170: 
                   2171: # Provide some information about the compiler.
                   2172: echo "$as_me:$LINENO:" \
                   2173:      "checking for C++ compiler version" >&5
                   2174: ac_compiler=`set X $ac_compile; echo $2`
                   2175: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2176:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2177:   ac_status=$?
                   2178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2179:   (exit $ac_status); }
                   2180: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2181:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2182:   ac_status=$?
                   2183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2184:   (exit $ac_status); }
                   2185: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2186:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2187:   ac_status=$?
                   2188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2189:   (exit $ac_status); }
                   2190: 
                   2191: cat >conftest.$ac_ext <<_ACEOF
                   2192: /* confdefs.h.  */
                   2193: _ACEOF
                   2194: cat confdefs.h >>conftest.$ac_ext
                   2195: cat >>conftest.$ac_ext <<_ACEOF
                   2196: /* end confdefs.h.  */
                   2197: 
                   2198: int
                   2199: main ()
                   2200: {
                   2201: 
                   2202:   ;
                   2203:   return 0;
                   2204: }
                   2205: _ACEOF
                   2206: ac_clean_files_save=$ac_clean_files
                   2207: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2208: # Try to create an executable without -o first, disregard a.out.
                   2209: # It will help us diagnose broken compilers, and finding out an intuition
                   2210: # of exeext.
1.86      paf      2211: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2212: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66      paf      2213: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2214: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2215:   (eval $ac_link_default) 2>&5
                   2216:   ac_status=$?
                   2217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2218:   (exit $ac_status); }; then
                   2219:   # Find the output, starting from the most likely.  This scheme is
                   2220: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2221: # resort.
                   2222: 
                   2223: # Be careful to initialize this variable, since it used to be cached.
                   2224: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2225: ac_cv_exeext=
                   2226: # b.out is created by i960 compilers.
                   2227: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2228: do
1.66      paf      2229:   test -f "$ac_file" || continue
                   2230:   case $ac_file in
                   2231:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86      paf      2232:        ;;
1.66      paf      2233:     conftest.$ac_ext )
1.86      paf      2234:        # This is the source file.
                   2235:        ;;
1.66      paf      2236:     [ab].out )
1.86      paf      2237:        # We found the default executable, but exeext='' is most
                   2238:        # certainly right.
                   2239:        break;;
1.66      paf      2240:     *.* )
1.86      paf      2241:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2242:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2243:        # but it would be cool to find out if it's true.  Does anybody
                   2244:        # maintain Libtool? --akim.
                   2245:        export ac_cv_exeext
                   2246:        break;;
1.66      paf      2247:     * )
1.86      paf      2248:        break;;
1.66      paf      2249:   esac
1.62      paf      2250: done
1.66      paf      2251: else
                   2252:   echo "$as_me: failed program was:" >&5
                   2253: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2254: 
1.66      paf      2255: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2256: See \`config.log' for more details." >&5
                   2257: echo "$as_me: error: C++ compiler cannot create executables
                   2258: See \`config.log' for more details." >&2;}
                   2259:    { (exit 77); exit 77; }; }
1.1       paf      2260: fi
1.66      paf      2261: 
                   2262: ac_exeext=$ac_cv_exeext
                   2263: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2264: echo "${ECHO_T}$ac_file" >&6
                   2265: 
                   2266: # Check the compiler produces executables we can run.  If not, either
                   2267: # the compiler is broken, or we cross compile.
                   2268: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2269: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2270: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2271: # If not cross compiling, check that we can run a simple program.
                   2272: if test "$cross_compiling" != yes; then
                   2273:   if { ac_try='./$ac_file'
                   2274:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2275:   (eval $ac_try) 2>&5
                   2276:   ac_status=$?
                   2277:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2278:   (exit $ac_status); }; }; then
                   2279:     cross_compiling=no
                   2280:   else
                   2281:     if test "$cross_compiling" = maybe; then
                   2282:        cross_compiling=yes
                   2283:     else
                   2284:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2285: If you meant to cross compile, use \`--host'.
                   2286: See \`config.log' for more details." >&5
                   2287: echo "$as_me: error: cannot run C++ compiled programs.
                   2288: If you meant to cross compile, use \`--host'.
                   2289: See \`config.log' for more details." >&2;}
                   2290:    { (exit 1); exit 1; }; }
                   2291:     fi
                   2292:   fi
1.1       paf      2293: fi
1.66      paf      2294: echo "$as_me:$LINENO: result: yes" >&5
                   2295: echo "${ECHO_T}yes" >&6
1.62      paf      2296: 
1.66      paf      2297: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2298: ac_clean_files=$ac_clean_files_save
                   2299: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2300: # the compiler is broken, or we cross compile.
                   2301: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2302: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2303: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2304: echo "${ECHO_T}$cross_compiling" >&6
                   2305: 
                   2306: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2307: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2308: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2309:   (eval $ac_link) 2>&5
                   2310:   ac_status=$?
                   2311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2312:   (exit $ac_status); }; then
                   2313:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2314: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2315: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2316: # `rm'.
                   2317: for ac_file in conftest.exe conftest conftest.*; do
                   2318:   test -f "$ac_file" || continue
                   2319:   case $ac_file in
                   2320:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2321:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      2322:          export ac_cv_exeext
                   2323:          break;;
1.62      paf      2324:     * ) break;;
                   2325:   esac
                   2326: done
                   2327: else
                   2328:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2329: See \`config.log' for more details." >&5
                   2330: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2331: See \`config.log' for more details." >&2;}
                   2332:    { (exit 1); exit 1; }; }
                   2333: fi
                   2334: 
                   2335: rm -f conftest$ac_cv_exeext
                   2336: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2337: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2338: 
                   2339: rm -f conftest.$ac_ext
                   2340: EXEEXT=$ac_cv_exeext
                   2341: ac_exeext=$EXEEXT
                   2342: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2343: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2344: if test "${ac_cv_objext+set}" = set; then
                   2345:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2346: else
                   2347:   cat >conftest.$ac_ext <<_ACEOF
                   2348: /* confdefs.h.  */
                   2349: _ACEOF
                   2350: cat confdefs.h >>conftest.$ac_ext
                   2351: cat >>conftest.$ac_ext <<_ACEOF
                   2352: /* end confdefs.h.  */
                   2353: 
                   2354: int
                   2355: main ()
                   2356: {
                   2357: 
                   2358:   ;
                   2359:   return 0;
                   2360: }
                   2361: _ACEOF
                   2362: rm -f conftest.o conftest.obj
                   2363: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2364:   (eval $ac_compile) 2>&5
                   2365:   ac_status=$?
                   2366:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2367:   (exit $ac_status); }; then
                   2368:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2369:   case $ac_file in
                   2370:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2371:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2372:        break;;
                   2373:   esac
                   2374: done
                   2375: else
                   2376:   echo "$as_me: failed program was:" >&5
                   2377: sed 's/^/| /' conftest.$ac_ext >&5
                   2378: 
                   2379: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2380: See \`config.log' for more details." >&5
                   2381: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2382: See \`config.log' for more details." >&2;}
                   2383:    { (exit 1); exit 1; }; }
                   2384: fi
                   2385: 
                   2386: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2387: fi
1.66      paf      2388: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2389: echo "${ECHO_T}$ac_cv_objext" >&6
                   2390: OBJEXT=$ac_cv_objext
                   2391: ac_objext=$OBJEXT
                   2392: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2393: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2394: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2395:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2396: else
1.66      paf      2397:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2398: /* confdefs.h.  */
                   2399: _ACEOF
                   2400: cat confdefs.h >>conftest.$ac_ext
                   2401: cat >>conftest.$ac_ext <<_ACEOF
                   2402: /* end confdefs.h.  */
1.66      paf      2403: 
1.62      paf      2404: int
                   2405: main ()
                   2406: {
1.66      paf      2407: #ifndef __GNUC__
                   2408:        choke me
                   2409: #endif
                   2410: 
1.62      paf      2411:   ;
                   2412:   return 0;
                   2413: }
                   2414: _ACEOF
1.66      paf      2415: rm -f conftest.$ac_objext
1.62      paf      2416: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2417:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2418:   ac_status=$?
1.86      paf      2419:   grep -v '^ *+' conftest.er1 >conftest.err
                   2420:   rm -f conftest.er1
                   2421:   cat conftest.err >&5
1.62      paf      2422:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2423:   (exit $ac_status); } &&
1.86      paf      2424:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2425:                         || test ! -s conftest.err'
                   2426:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2427:   (eval $ac_try) 2>&5
                   2428:   ac_status=$?
                   2429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2430:   (exit $ac_status); }; } &&
                   2431:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2432:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2433:   (eval $ac_try) 2>&5
                   2434:   ac_status=$?
                   2435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2436:   (exit $ac_status); }; }; then
1.66      paf      2437:   ac_compiler_gnu=yes
1.62      paf      2438: else
                   2439:   echo "$as_me: failed program was:" >&5
                   2440: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2441: 
1.66      paf      2442: ac_compiler_gnu=no
1.1       paf      2443: fi
1.86      paf      2444: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2445: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2446: 
                   2447: fi
1.66      paf      2448: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2449: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2450: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2451: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2452: ac_save_CXXFLAGS=$CXXFLAGS
                   2453: CXXFLAGS="-g"
                   2454: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2455: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2456: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2457:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2458: else
                   2459:   cat >conftest.$ac_ext <<_ACEOF
                   2460: /* confdefs.h.  */
                   2461: _ACEOF
                   2462: cat confdefs.h >>conftest.$ac_ext
                   2463: cat >>conftest.$ac_ext <<_ACEOF
                   2464: /* end confdefs.h.  */
1.1       paf      2465: 
1.66      paf      2466: int
                   2467: main ()
                   2468: {
1.1       paf      2469: 
1.66      paf      2470:   ;
                   2471:   return 0;
                   2472: }
1.62      paf      2473: _ACEOF
                   2474: rm -f conftest.$ac_objext
                   2475: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2476:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2477:   ac_status=$?
1.86      paf      2478:   grep -v '^ *+' conftest.er1 >conftest.err
                   2479:   rm -f conftest.er1
                   2480:   cat conftest.err >&5
1.62      paf      2481:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2482:   (exit $ac_status); } &&
1.86      paf      2483:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2484:                         || test ! -s conftest.err'
                   2485:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2486:   (eval $ac_try) 2>&5
                   2487:   ac_status=$?
                   2488:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2489:   (exit $ac_status); }; } &&
                   2490:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2491:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2492:   (eval $ac_try) 2>&5
                   2493:   ac_status=$?
                   2494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2495:   (exit $ac_status); }; }; then
1.66      paf      2496:   ac_cv_prog_cxx_g=yes
                   2497: else
                   2498:   echo "$as_me: failed program was:" >&5
                   2499: sed 's/^/| /' conftest.$ac_ext >&5
                   2500: 
                   2501: ac_cv_prog_cxx_g=no
                   2502: fi
1.86      paf      2503: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2504: fi
                   2505: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2506: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2507: if test "$ac_test_CXXFLAGS" = set; then
                   2508:   CXXFLAGS=$ac_save_CXXFLAGS
                   2509: elif test $ac_cv_prog_cxx_g = yes; then
                   2510:   if test "$GXX" = yes; then
                   2511:     CXXFLAGS="-g -O2"
                   2512:   else
                   2513:     CXXFLAGS="-g"
                   2514:   fi
                   2515: else
                   2516:   if test "$GXX" = yes; then
                   2517:     CXXFLAGS="-O2"
                   2518:   else
                   2519:     CXXFLAGS=
                   2520:   fi
                   2521: fi
                   2522: for ac_declaration in \
1.86      paf      2523:    '' \
1.62      paf      2524:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2525:    'extern "C" void std::exit (int); using std::exit;' \
                   2526:    'extern "C" void exit (int) throw ();' \
                   2527:    'extern "C" void exit (int);' \
                   2528:    'void exit (int);'
1.1       paf      2529: do
1.62      paf      2530:   cat >conftest.$ac_ext <<_ACEOF
                   2531: /* confdefs.h.  */
                   2532: _ACEOF
                   2533: cat confdefs.h >>conftest.$ac_ext
                   2534: cat >>conftest.$ac_ext <<_ACEOF
                   2535: /* end confdefs.h.  */
1.86      paf      2536: $ac_declaration
1.62      paf      2537: #include <stdlib.h>
                   2538: int
                   2539: main ()
                   2540: {
                   2541: exit (42);
                   2542:   ;
                   2543:   return 0;
                   2544: }
                   2545: _ACEOF
                   2546: rm -f conftest.$ac_objext
                   2547: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2548:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2549:   ac_status=$?
1.86      paf      2550:   grep -v '^ *+' conftest.er1 >conftest.err
                   2551:   rm -f conftest.er1
                   2552:   cat conftest.err >&5
1.62      paf      2553:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2554:   (exit $ac_status); } &&
1.86      paf      2555:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2556:                         || test ! -s conftest.err'
                   2557:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2558:   (eval $ac_try) 2>&5
                   2559:   ac_status=$?
                   2560:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2561:   (exit $ac_status); }; } &&
                   2562:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2563:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2564:   (eval $ac_try) 2>&5
                   2565:   ac_status=$?
                   2566:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2567:   (exit $ac_status); }; }; then
                   2568:   :
1.1       paf      2569: else
1.62      paf      2570:   echo "$as_me: failed program was:" >&5
                   2571: sed 's/^/| /' conftest.$ac_ext >&5
                   2572: 
                   2573: continue
                   2574: fi
1.86      paf      2575: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2576:   cat >conftest.$ac_ext <<_ACEOF
                   2577: /* confdefs.h.  */
                   2578: _ACEOF
                   2579: cat confdefs.h >>conftest.$ac_ext
                   2580: cat >>conftest.$ac_ext <<_ACEOF
                   2581: /* end confdefs.h.  */
                   2582: $ac_declaration
                   2583: int
                   2584: main ()
                   2585: {
                   2586: exit (42);
                   2587:   ;
                   2588:   return 0;
                   2589: }
                   2590: _ACEOF
                   2591: rm -f conftest.$ac_objext
                   2592: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2593:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2594:   ac_status=$?
1.86      paf      2595:   grep -v '^ *+' conftest.er1 >conftest.err
                   2596:   rm -f conftest.er1
                   2597:   cat conftest.err >&5
1.62      paf      2598:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2599:   (exit $ac_status); } &&
1.86      paf      2600:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2601:                         || test ! -s conftest.err'
                   2602:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2603:   (eval $ac_try) 2>&5
                   2604:   ac_status=$?
                   2605:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2606:   (exit $ac_status); }; } &&
                   2607:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2608:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2609:   (eval $ac_try) 2>&5
                   2610:   ac_status=$?
                   2611:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2612:   (exit $ac_status); }; }; then
                   2613:   break
1.1       paf      2614: else
1.62      paf      2615:   echo "$as_me: failed program was:" >&5
                   2616: sed 's/^/| /' conftest.$ac_ext >&5
                   2617: 
1.1       paf      2618: fi
1.86      paf      2619: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2620: done
                   2621: rm -f conftest*
                   2622: if test -n "$ac_declaration"; then
                   2623:   echo '#ifdef __cplusplus' >>confdefs.h
                   2624:   echo $ac_declaration      >>confdefs.h
                   2625:   echo '#endif'             >>confdefs.h
1.1       paf      2626: fi
1.62      paf      2627: 
                   2628: ac_ext=c
                   2629: ac_cpp='$CPP $CPPFLAGS'
                   2630: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2631: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2632: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      2633: DEPDIR="${am__leading_dot}deps"
1.62      paf      2634: 
                   2635:           ac_config_commands="$ac_config_commands depfiles"
                   2636: 
                   2637: 
                   2638: am_make=${MAKE-make}
                   2639: cat > confinc << 'END'
1.86      paf      2640: am__doit:
1.62      paf      2641:        @echo done
1.86      paf      2642: .PHONY: am__doit
1.62      paf      2643: END
                   2644: # If we don't find an include directive, just comment out the code.
                   2645: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2646: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2647: am__include="#"
                   2648: am__quote=
                   2649: _am_result=none
                   2650: # First try GNU make style include.
                   2651: echo "include confinc" > confmf
                   2652: # We grep out `Entering directory' and `Leaving directory'
                   2653: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2654: # In particular we don't look at `^make:' because GNU make might
                   2655: # be invoked under some other name (usually "gmake"), in which
                   2656: # case it prints its new name instead of `make'.
                   2657: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2658:    am__include=include
                   2659:    am__quote=
                   2660:    _am_result=GNU
                   2661: fi
                   2662: # Now try BSD make style include.
                   2663: if test "$am__include" = "#"; then
                   2664:    echo '.include "confinc"' > confmf
                   2665:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2666:       am__include=.include
                   2667:       am__quote="\""
                   2668:       _am_result=BSD
                   2669:    fi
                   2670: fi
                   2671: 
                   2672: 
                   2673: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2674: echo "${ECHO_T}$_am_result" >&6
                   2675: rm -f confinc confmf
                   2676: 
                   2677: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2678: if test "${enable_dependency_tracking+set}" = set; then
                   2679:   enableval="$enable_dependency_tracking"
                   2680: 
                   2681: fi;
                   2682: if test "x$enable_dependency_tracking" != xno; then
                   2683:   am_depcomp="$ac_aux_dir/depcomp"
                   2684:   AMDEPBACKSLASH='\'
1.1       paf      2685: fi
                   2686: 
1.62      paf      2687: 
                   2688: if test "x$enable_dependency_tracking" != xno; then
                   2689:   AMDEP_TRUE=
                   2690:   AMDEP_FALSE='#'
                   2691: else
                   2692:   AMDEP_TRUE='#'
                   2693:   AMDEP_FALSE=
                   2694: fi
1.1       paf      2695: 
                   2696: 
                   2697: 
                   2698: 
1.66      paf      2699: depcc="$CXX"  am_compiler_list=
1.1       paf      2700: 
1.62      paf      2701: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2702: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2703: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2704:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2705: else
                   2706:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2707:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2708:   # making bogus files that we don't know about and never remove.  For
                   2709:   # instance it was reported that on HP-UX the gcc test will end up
                   2710:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2711:   # in D'.
                   2712:   mkdir conftest.dir
                   2713:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2714:   # using a relative directory.
                   2715:   cp "$am_depcomp" conftest.dir
                   2716:   cd conftest.dir
1.86      paf      2717:   # We will build objects and dependencies in a subdirectory because
                   2718:   # it helps to detect inapplicable dependency modes.  For instance
                   2719:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2720:   # side effect of compilation, but ICC will put the dependencies in
                   2721:   # the current directory while Tru64 will put them in the object
                   2722:   # directory.
                   2723:   mkdir sub
1.1       paf      2724: 
1.66      paf      2725:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2726:   if test "$am_compiler_list" = ""; then
                   2727:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2728:   fi
1.62      paf      2729:   for depmode in $am_compiler_list; do
1.86      paf      2730:     # Setup a source with many dependencies, because some compilers
                   2731:     # like to wrap large dependency lists on column 80 (with \), and
                   2732:     # we should not choose a depcomp mode which is confused by this.
                   2733:     #
1.62      paf      2734:     # We need to recreate these files for each test, as the compiler may
                   2735:     # overwrite some of them when testing with obscure command lines.
                   2736:     # This happens at least with the AIX C compiler.
1.86      paf      2737:     : > sub/conftest.c
                   2738:     for i in 1 2 3 4 5 6; do
                   2739:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2740:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2741:       # Solaris 8's {/usr,}/bin/sh.
                   2742:       touch sub/conftst$i.h
                   2743:     done
                   2744:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      2745: 
                   2746:     case $depmode in
                   2747:     nosideeffect)
                   2748:       # after this tag, mechanisms are not by side-effect, so they'll
                   2749:       # only be used when explicitly requested
                   2750:       if test "x$enable_dependency_tracking" = xyes; then
                   2751:        continue
                   2752:       else
                   2753:        break
                   2754:       fi
                   2755:       ;;
                   2756:     none) break ;;
                   2757:     esac
                   2758:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2759:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2760:     # handle `-M -o', and we need to detect this.
                   2761:     if depmode=$depmode \
1.86      paf      2762:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2763:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2764:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2765:          >/dev/null 2>conftest.err &&
                   2766:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2767:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      2768:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      2769:       # icc doesn't choke on unknown options, it will just issue warnings
                   2770:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2771:       # that says an option was ignored or not supported.
                   2772:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2773:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2774:       # The diagnosis changed in icc 8.0:
                   2775:       #   icc: Command line remark: option '-MP' not supported
                   2776:       if (grep 'ignoring option' conftest.err ||
                   2777:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2778:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2779:         break
                   2780:       fi
1.66      paf      2781:     fi
                   2782:   done
                   2783: 
                   2784:   cd ..
                   2785:   rm -rf conftest.dir
                   2786: else
                   2787:   am_cv_CXX_dependencies_compiler_type=none
                   2788: fi
                   2789: 
                   2790: fi
                   2791: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2792: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2793: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2794: 
                   2795: 
                   2796: 
                   2797: if
                   2798:   test "x$enable_dependency_tracking" != xno \
                   2799:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2800:   am__fastdepCXX_TRUE=
                   2801:   am__fastdepCXX_FALSE='#'
                   2802: else
                   2803:   am__fastdepCXX_TRUE='#'
                   2804:   am__fastdepCXX_FALSE=
                   2805: fi
                   2806: 
                   2807: 
                   2808: ac_ext=c
                   2809: ac_cpp='$CPP $CPPFLAGS'
                   2810: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2811: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2812: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2813: if test -n "$ac_tool_prefix"; then
                   2814:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2815: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2816: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2817: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2818: if test "${ac_cv_prog_CC+set}" = set; then
                   2819:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2820: else
                   2821:   if test -n "$CC"; then
                   2822:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2823: else
                   2824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2825: for as_dir in $PATH
                   2826: do
                   2827:   IFS=$as_save_IFS
                   2828:   test -z "$as_dir" && as_dir=.
                   2829:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2830:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2831:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2832:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2833:     break 2
                   2834:   fi
                   2835: done
                   2836: done
                   2837: 
                   2838: fi
                   2839: fi
                   2840: CC=$ac_cv_prog_CC
                   2841: if test -n "$CC"; then
                   2842:   echo "$as_me:$LINENO: result: $CC" >&5
                   2843: echo "${ECHO_T}$CC" >&6
                   2844: else
                   2845:   echo "$as_me:$LINENO: result: no" >&5
                   2846: echo "${ECHO_T}no" >&6
                   2847: fi
                   2848: 
                   2849: fi
                   2850: if test -z "$ac_cv_prog_CC"; then
                   2851:   ac_ct_CC=$CC
                   2852:   # Extract the first word of "gcc", so it can be a program name with args.
                   2853: set dummy gcc; ac_word=$2
                   2854: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2855: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2856: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2857:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2858: else
                   2859:   if test -n "$ac_ct_CC"; then
                   2860:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2861: else
                   2862: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2863: for as_dir in $PATH
                   2864: do
                   2865:   IFS=$as_save_IFS
                   2866:   test -z "$as_dir" && as_dir=.
                   2867:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2868:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2869:     ac_cv_prog_ac_ct_CC="gcc"
                   2870:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2871:     break 2
                   2872:   fi
                   2873: done
                   2874: done
                   2875: 
                   2876: fi
                   2877: fi
                   2878: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2879: if test -n "$ac_ct_CC"; then
                   2880:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2881: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2882: else
1.66      paf      2883:   echo "$as_me:$LINENO: result: no" >&5
                   2884: echo "${ECHO_T}no" >&6
1.62      paf      2885: fi
                   2886: 
1.66      paf      2887:   CC=$ac_ct_CC
                   2888: else
                   2889:   CC="$ac_cv_prog_CC"
1.1       paf      2890: fi
1.62      paf      2891: 
1.66      paf      2892: if test -z "$CC"; then
                   2893:   if test -n "$ac_tool_prefix"; then
                   2894:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2895: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2896: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2897: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2898: if test "${ac_cv_prog_CC+set}" = set; then
                   2899:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2900: else
                   2901:   if test -n "$CC"; then
                   2902:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2903: else
                   2904: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2905: for as_dir in $PATH
                   2906: do
                   2907:   IFS=$as_save_IFS
                   2908:   test -z "$as_dir" && as_dir=.
                   2909:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2910:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2911:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2912:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2913:     break 2
                   2914:   fi
                   2915: done
                   2916: done
1.62      paf      2917: 
1.66      paf      2918: fi
                   2919: fi
                   2920: CC=$ac_cv_prog_CC
                   2921: if test -n "$CC"; then
                   2922:   echo "$as_me:$LINENO: result: $CC" >&5
                   2923: echo "${ECHO_T}$CC" >&6
1.62      paf      2924: else
1.66      paf      2925:   echo "$as_me:$LINENO: result: no" >&5
                   2926: echo "${ECHO_T}no" >&6
1.1       paf      2927: fi
                   2928: 
1.66      paf      2929: fi
                   2930: if test -z "$ac_cv_prog_CC"; then
                   2931:   ac_ct_CC=$CC
                   2932:   # Extract the first word of "cc", so it can be a program name with args.
                   2933: set dummy cc; ac_word=$2
                   2934: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2935: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2936: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2937:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2938: else
                   2939:   if test -n "$ac_ct_CC"; then
                   2940:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2941: else
                   2942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2943: for as_dir in $PATH
                   2944: do
                   2945:   IFS=$as_save_IFS
                   2946:   test -z "$as_dir" && as_dir=.
                   2947:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2948:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2949:     ac_cv_prog_ac_ct_CC="cc"
                   2950:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2951:     break 2
                   2952:   fi
                   2953: done
                   2954: done
1.62      paf      2955: 
1.66      paf      2956: fi
                   2957: fi
                   2958: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2959: if test -n "$ac_ct_CC"; then
                   2960:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2961: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2962: else
1.66      paf      2963:   echo "$as_me:$LINENO: result: no" >&5
                   2964: echo "${ECHO_T}no" >&6
                   2965: fi
1.62      paf      2966: 
1.66      paf      2967:   CC=$ac_ct_CC
1.1       paf      2968: else
1.66      paf      2969:   CC="$ac_cv_prog_CC"
                   2970: fi
1.62      paf      2971: 
1.1       paf      2972: fi
1.66      paf      2973: if test -z "$CC"; then
                   2974:   # Extract the first word of "cc", so it can be a program name with args.
                   2975: set dummy cc; ac_word=$2
                   2976: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2977: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2978: if test "${ac_cv_prog_CC+set}" = set; then
                   2979:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2980: else
                   2981:   if test -n "$CC"; then
                   2982:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2983: else
                   2984:   ac_prog_rejected=no
                   2985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2986: for as_dir in $PATH
                   2987: do
                   2988:   IFS=$as_save_IFS
                   2989:   test -z "$as_dir" && as_dir=.
                   2990:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2991:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2992:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2993:        ac_prog_rejected=yes
                   2994:        continue
                   2995:      fi
                   2996:     ac_cv_prog_CC="cc"
                   2997:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2998:     break 2
                   2999:   fi
                   3000: done
1.62      paf      3001: done
                   3002: 
1.66      paf      3003: if test $ac_prog_rejected = yes; then
                   3004:   # We found a bogon in the path, so make sure we never use it.
                   3005:   set dummy $ac_cv_prog_CC
                   3006:   shift
                   3007:   if test $# != 0; then
                   3008:     # We chose a different compiler from the bogus one.
                   3009:     # However, it has the same basename, so the bogon will be chosen
                   3010:     # first if we set CC to just the basename; use the full file name.
                   3011:     shift
                   3012:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3013:   fi
                   3014: fi
                   3015: fi
                   3016: fi
                   3017: CC=$ac_cv_prog_CC
                   3018: if test -n "$CC"; then
                   3019:   echo "$as_me:$LINENO: result: $CC" >&5
                   3020: echo "${ECHO_T}$CC" >&6
                   3021: else
                   3022:   echo "$as_me:$LINENO: result: no" >&5
                   3023: echo "${ECHO_T}no" >&6
1.1       paf      3024: fi
                   3025: 
1.66      paf      3026: fi
                   3027: if test -z "$CC"; then
                   3028:   if test -n "$ac_tool_prefix"; then
                   3029:   for ac_prog in cl
1.62      paf      3030:   do
                   3031:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3032: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3033: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3034: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3035: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      3036:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3037: else
1.66      paf      3038:   if test -n "$CC"; then
                   3039:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      3040: else
                   3041: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3042: for as_dir in $PATH
                   3043: do
                   3044:   IFS=$as_save_IFS
                   3045:   test -z "$as_dir" && as_dir=.
                   3046:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3047:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3048:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      3049:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3050:     break 2
                   3051:   fi
                   3052: done
                   3053: done
1.1       paf      3054: 
1.62      paf      3055: fi
                   3056: fi
1.66      paf      3057: CC=$ac_cv_prog_CC
                   3058: if test -n "$CC"; then
                   3059:   echo "$as_me:$LINENO: result: $CC" >&5
                   3060: echo "${ECHO_T}$CC" >&6
1.1       paf      3061: else
1.62      paf      3062:   echo "$as_me:$LINENO: result: no" >&5
                   3063: echo "${ECHO_T}no" >&6
1.1       paf      3064: fi
                   3065: 
1.66      paf      3066:     test -n "$CC" && break
1.62      paf      3067:   done
                   3068: fi
1.66      paf      3069: if test -z "$CC"; then
                   3070:   ac_ct_CC=$CC
                   3071:   for ac_prog in cl
1.62      paf      3072: do
                   3073:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3074: set dummy $ac_prog; ac_word=$2
                   3075: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3076: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3077: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3078:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3079: else
1.66      paf      3080:   if test -n "$ac_ct_CC"; then
                   3081:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3082: else
1.62      paf      3083: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3084: for as_dir in $PATH
                   3085: do
                   3086:   IFS=$as_save_IFS
                   3087:   test -z "$as_dir" && as_dir=.
                   3088:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3089:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3090:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3091:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3092:     break 2
                   3093:   fi
                   3094: done
                   3095: done
                   3096: 
                   3097: fi
                   3098: fi
1.66      paf      3099: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3100: if test -n "$ac_ct_CC"; then
                   3101:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3102: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3103: else
1.62      paf      3104:   echo "$as_me:$LINENO: result: no" >&5
                   3105: echo "${ECHO_T}no" >&6
1.1       paf      3106: fi
                   3107: 
1.66      paf      3108:   test -n "$ac_ct_CC" && break
                   3109: done
                   3110: 
                   3111:   CC=$ac_ct_CC
                   3112: fi
                   3113: 
                   3114: fi
1.62      paf      3115: 
1.1       paf      3116: 
1.66      paf      3117: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3118: See \`config.log' for more details." >&5
                   3119: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3120: See \`config.log' for more details." >&2;}
                   3121:    { (exit 1); exit 1; }; }
1.62      paf      3122: 
                   3123: # Provide some information about the compiler.
                   3124: echo "$as_me:$LINENO:" \
1.66      paf      3125:      "checking for C compiler version" >&5
1.62      paf      3126: ac_compiler=`set X $ac_compile; echo $2`
                   3127: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3128:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3129:   ac_status=$?
                   3130:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3131:   (exit $ac_status); }
                   3132: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3133:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3134:   ac_status=$?
                   3135:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3136:   (exit $ac_status); }
                   3137: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3138:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3139:   ac_status=$?
                   3140:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3141:   (exit $ac_status); }
                   3142: 
1.66      paf      3143: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3144: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3145: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3146:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3147: else
                   3148:   cat >conftest.$ac_ext <<_ACEOF
                   3149: /* confdefs.h.  */
                   3150: _ACEOF
                   3151: cat confdefs.h >>conftest.$ac_ext
                   3152: cat >>conftest.$ac_ext <<_ACEOF
                   3153: /* end confdefs.h.  */
                   3154: 
                   3155: int
                   3156: main ()
                   3157: {
                   3158: #ifndef __GNUC__
                   3159:        choke me
                   3160: #endif
                   3161: 
                   3162:   ;
                   3163:   return 0;
                   3164: }
                   3165: _ACEOF
                   3166: rm -f conftest.$ac_objext
                   3167: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3168:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3169:   ac_status=$?
1.86      paf      3170:   grep -v '^ *+' conftest.er1 >conftest.err
                   3171:   rm -f conftest.er1
                   3172:   cat conftest.err >&5
1.62      paf      3173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3174:   (exit $ac_status); } &&
1.86      paf      3175:         { ac_try='test -z "$ac_c_werror_flag"
                   3176:                         || test ! -s conftest.err'
                   3177:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3178:   (eval $ac_try) 2>&5
                   3179:   ac_status=$?
                   3180:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3181:   (exit $ac_status); }; } &&
                   3182:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3183:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3184:   (eval $ac_try) 2>&5
                   3185:   ac_status=$?
                   3186:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3187:   (exit $ac_status); }; }; then
                   3188:   ac_compiler_gnu=yes
                   3189: else
                   3190:   echo "$as_me: failed program was:" >&5
                   3191: sed 's/^/| /' conftest.$ac_ext >&5
                   3192: 
                   3193: ac_compiler_gnu=no
                   3194: fi
1.86      paf      3195: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3196: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3197: 
                   3198: fi
1.66      paf      3199: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3200: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3201: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3202: ac_test_CFLAGS=${CFLAGS+set}
                   3203: ac_save_CFLAGS=$CFLAGS
                   3204: CFLAGS="-g"
                   3205: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3206: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3207: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3208:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3209: else
                   3210:   cat >conftest.$ac_ext <<_ACEOF
                   3211: /* confdefs.h.  */
                   3212: _ACEOF
                   3213: cat confdefs.h >>conftest.$ac_ext
                   3214: cat >>conftest.$ac_ext <<_ACEOF
                   3215: /* end confdefs.h.  */
                   3216: 
                   3217: int
                   3218: main ()
                   3219: {
                   3220: 
                   3221:   ;
                   3222:   return 0;
                   3223: }
                   3224: _ACEOF
                   3225: rm -f conftest.$ac_objext
                   3226: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3227:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3228:   ac_status=$?
1.86      paf      3229:   grep -v '^ *+' conftest.er1 >conftest.err
                   3230:   rm -f conftest.er1
                   3231:   cat conftest.err >&5
1.62      paf      3232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3233:   (exit $ac_status); } &&
1.86      paf      3234:         { ac_try='test -z "$ac_c_werror_flag"
                   3235:                         || test ! -s conftest.err'
                   3236:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3237:   (eval $ac_try) 2>&5
                   3238:   ac_status=$?
                   3239:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3240:   (exit $ac_status); }; } &&
                   3241:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3242:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3243:   (eval $ac_try) 2>&5
                   3244:   ac_status=$?
                   3245:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3246:   (exit $ac_status); }; }; then
1.66      paf      3247:   ac_cv_prog_cc_g=yes
1.62      paf      3248: else
                   3249:   echo "$as_me: failed program was:" >&5
                   3250: sed 's/^/| /' conftest.$ac_ext >&5
                   3251: 
1.66      paf      3252: ac_cv_prog_cc_g=no
1.62      paf      3253: fi
1.86      paf      3254: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3255: fi
1.66      paf      3256: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3257: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3258: if test "$ac_test_CFLAGS" = set; then
                   3259:   CFLAGS=$ac_save_CFLAGS
                   3260: elif test $ac_cv_prog_cc_g = yes; then
                   3261:   if test "$GCC" = yes; then
                   3262:     CFLAGS="-g -O2"
1.1       paf      3263:   else
1.66      paf      3264:     CFLAGS="-g"
1.1       paf      3265:   fi
                   3266: else
1.66      paf      3267:   if test "$GCC" = yes; then
                   3268:     CFLAGS="-O2"
1.1       paf      3269:   else
1.66      paf      3270:     CFLAGS=
1.1       paf      3271:   fi
                   3272: fi
1.66      paf      3273: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3274: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3275: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3276:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3277: else
                   3278:   ac_cv_prog_cc_stdc=no
                   3279: ac_save_CC=$CC
                   3280: cat >conftest.$ac_ext <<_ACEOF
                   3281: /* confdefs.h.  */
                   3282: _ACEOF
                   3283: cat confdefs.h >>conftest.$ac_ext
                   3284: cat >>conftest.$ac_ext <<_ACEOF
                   3285: /* end confdefs.h.  */
                   3286: #include <stdarg.h>
                   3287: #include <stdio.h>
                   3288: #include <sys/types.h>
                   3289: #include <sys/stat.h>
                   3290: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3291: struct buf { int x; };
                   3292: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3293: static char *e (p, i)
                   3294:      char **p;
                   3295:      int i;
                   3296: {
                   3297:   return p[i];
                   3298: }
                   3299: static char *f (char * (*g) (char **, int), char **p, ...)
                   3300: {
                   3301:   char *s;
                   3302:   va_list v;
                   3303:   va_start (v,p);
                   3304:   s = g (p, va_arg (v,int));
                   3305:   va_end (v);
                   3306:   return s;
                   3307: }
1.86      paf      3308: 
                   3309: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3310:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3311:    These don't provoke an error unfortunately, instead are silently treated
                   3312:    as 'x'.  The following induces an error, until -std1 is added to get
                   3313:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3314:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3315:    that's true only with -std1.  */
                   3316: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3317: 
1.66      paf      3318: int test (int i, double x);
                   3319: struct s1 {int (*f) (int a);};
                   3320: struct s2 {int (*f) (double a);};
                   3321: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3322: int argc;
                   3323: char **argv;
                   3324: int
                   3325: main ()
                   3326: {
                   3327: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3328:   ;
                   3329:   return 0;
                   3330: }
                   3331: _ACEOF
                   3332: # Don't try gcc -ansi; that turns off useful extensions and
                   3333: # breaks some systems' header files.
                   3334: # AIX                  -qlanglvl=ansi
                   3335: # Ultrix and OSF/1     -std1
                   3336: # HP-UX 10.20 and later        -Ae
                   3337: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3338: # SVR4                 -Xc -D__EXTENSIONS__
                   3339: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3340: do
                   3341:   CC="$ac_save_CC $ac_arg"
                   3342:   rm -f conftest.$ac_objext
                   3343: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3344:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3345:   ac_status=$?
1.86      paf      3346:   grep -v '^ *+' conftest.er1 >conftest.err
                   3347:   rm -f conftest.er1
                   3348:   cat conftest.err >&5
1.66      paf      3349:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3350:   (exit $ac_status); } &&
1.86      paf      3351:         { ac_try='test -z "$ac_c_werror_flag"
                   3352:                         || test ! -s conftest.err'
                   3353:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3354:   (eval $ac_try) 2>&5
                   3355:   ac_status=$?
                   3356:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3357:   (exit $ac_status); }; } &&
                   3358:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3359:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3360:   (eval $ac_try) 2>&5
                   3361:   ac_status=$?
                   3362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3363:   (exit $ac_status); }; }; then
                   3364:   ac_cv_prog_cc_stdc=$ac_arg
                   3365: break
                   3366: else
                   3367:   echo "$as_me: failed program was:" >&5
                   3368: sed 's/^/| /' conftest.$ac_ext >&5
                   3369: 
                   3370: fi
1.86      paf      3371: rm -f conftest.err conftest.$ac_objext
1.66      paf      3372: done
                   3373: rm -f conftest.$ac_ext conftest.$ac_objext
                   3374: CC=$ac_save_CC
                   3375: 
                   3376: fi
                   3377: 
                   3378: case "x$ac_cv_prog_cc_stdc" in
                   3379:   x|xno)
                   3380:     echo "$as_me:$LINENO: result: none needed" >&5
                   3381: echo "${ECHO_T}none needed" >&6 ;;
                   3382:   *)
                   3383:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3384: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3385:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3386: esac
                   3387: 
                   3388: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3389: # in C++ we need to declare it.  In case someone uses the same compiler
                   3390: # for both compiling C and C++ we need to have the C++ compiler decide
                   3391: # the declaration of exit, since it's the most demanding environment.
                   3392: cat >conftest.$ac_ext <<_ACEOF
                   3393: #ifndef __cplusplus
                   3394:   choke me
                   3395: #endif
                   3396: _ACEOF
                   3397: rm -f conftest.$ac_objext
                   3398: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3399:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3400:   ac_status=$?
1.86      paf      3401:   grep -v '^ *+' conftest.er1 >conftest.err
                   3402:   rm -f conftest.er1
                   3403:   cat conftest.err >&5
1.66      paf      3404:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3405:   (exit $ac_status); } &&
1.86      paf      3406:         { ac_try='test -z "$ac_c_werror_flag"
                   3407:                         || test ! -s conftest.err'
                   3408:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3409:   (eval $ac_try) 2>&5
                   3410:   ac_status=$?
                   3411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3412:   (exit $ac_status); }; } &&
                   3413:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3414:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3415:   (eval $ac_try) 2>&5
                   3416:   ac_status=$?
                   3417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3418:   (exit $ac_status); }; }; then
                   3419:   for ac_declaration in \
1.86      paf      3420:    '' \
1.62      paf      3421:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3422:    'extern "C" void std::exit (int); using std::exit;' \
                   3423:    'extern "C" void exit (int) throw ();' \
                   3424:    'extern "C" void exit (int);' \
                   3425:    'void exit (int);'
                   3426: do
                   3427:   cat >conftest.$ac_ext <<_ACEOF
                   3428: /* confdefs.h.  */
                   3429: _ACEOF
                   3430: cat confdefs.h >>conftest.$ac_ext
                   3431: cat >>conftest.$ac_ext <<_ACEOF
                   3432: /* end confdefs.h.  */
1.86      paf      3433: $ac_declaration
1.62      paf      3434: #include <stdlib.h>
                   3435: int
                   3436: main ()
                   3437: {
                   3438: exit (42);
                   3439:   ;
                   3440:   return 0;
                   3441: }
                   3442: _ACEOF
                   3443: rm -f conftest.$ac_objext
                   3444: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3445:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3446:   ac_status=$?
1.86      paf      3447:   grep -v '^ *+' conftest.er1 >conftest.err
                   3448:   rm -f conftest.er1
                   3449:   cat conftest.err >&5
1.62      paf      3450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3451:   (exit $ac_status); } &&
1.86      paf      3452:         { ac_try='test -z "$ac_c_werror_flag"
                   3453:                         || test ! -s conftest.err'
                   3454:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3455:   (eval $ac_try) 2>&5
                   3456:   ac_status=$?
                   3457:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3458:   (exit $ac_status); }; } &&
                   3459:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3460:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3461:   (eval $ac_try) 2>&5
                   3462:   ac_status=$?
                   3463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3464:   (exit $ac_status); }; }; then
                   3465:   :
                   3466: else
                   3467:   echo "$as_me: failed program was:" >&5
                   3468: sed 's/^/| /' conftest.$ac_ext >&5
                   3469: 
                   3470: continue
                   3471: fi
1.86      paf      3472: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3473:   cat >conftest.$ac_ext <<_ACEOF
                   3474: /* confdefs.h.  */
                   3475: _ACEOF
                   3476: cat confdefs.h >>conftest.$ac_ext
                   3477: cat >>conftest.$ac_ext <<_ACEOF
                   3478: /* end confdefs.h.  */
                   3479: $ac_declaration
                   3480: int
                   3481: main ()
                   3482: {
                   3483: exit (42);
                   3484:   ;
                   3485:   return 0;
                   3486: }
                   3487: _ACEOF
                   3488: rm -f conftest.$ac_objext
                   3489: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3490:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3491:   ac_status=$?
1.86      paf      3492:   grep -v '^ *+' conftest.er1 >conftest.err
                   3493:   rm -f conftest.er1
                   3494:   cat conftest.err >&5
1.62      paf      3495:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3496:   (exit $ac_status); } &&
1.86      paf      3497:         { ac_try='test -z "$ac_c_werror_flag"
                   3498:                         || test ! -s conftest.err'
                   3499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3500:   (eval $ac_try) 2>&5
                   3501:   ac_status=$?
                   3502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3503:   (exit $ac_status); }; } &&
                   3504:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3505:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3506:   (eval $ac_try) 2>&5
                   3507:   ac_status=$?
                   3508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3509:   (exit $ac_status); }; }; then
                   3510:   break
                   3511: else
                   3512:   echo "$as_me: failed program was:" >&5
                   3513: sed 's/^/| /' conftest.$ac_ext >&5
                   3514: 
                   3515: fi
1.86      paf      3516: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3517: done
                   3518: rm -f conftest*
                   3519: if test -n "$ac_declaration"; then
                   3520:   echo '#ifdef __cplusplus' >>confdefs.h
                   3521:   echo $ac_declaration      >>confdefs.h
                   3522:   echo '#endif'             >>confdefs.h
                   3523: fi
                   3524: 
1.66      paf      3525: else
                   3526:   echo "$as_me: failed program was:" >&5
                   3527: sed 's/^/| /' conftest.$ac_ext >&5
                   3528: 
                   3529: fi
1.86      paf      3530: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3531: ac_ext=c
                   3532: ac_cpp='$CPP $CPPFLAGS'
                   3533: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3534: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3535: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3536: 
1.66      paf      3537: depcc="$CC"   am_compiler_list=
1.62      paf      3538: 
                   3539: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3540: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3541: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3542:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3543: else
                   3544:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3545:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3546:   # making bogus files that we don't know about and never remove.  For
                   3547:   # instance it was reported that on HP-UX the gcc test will end up
                   3548:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3549:   # in D'.
                   3550:   mkdir conftest.dir
                   3551:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3552:   # using a relative directory.
                   3553:   cp "$am_depcomp" conftest.dir
                   3554:   cd conftest.dir
1.86      paf      3555:   # We will build objects and dependencies in a subdirectory because
                   3556:   # it helps to detect inapplicable dependency modes.  For instance
                   3557:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3558:   # side effect of compilation, but ICC will put the dependencies in
                   3559:   # the current directory while Tru64 will put them in the object
                   3560:   # directory.
                   3561:   mkdir sub
1.62      paf      3562: 
1.66      paf      3563:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3564:   if test "$am_compiler_list" = ""; then
                   3565:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3566:   fi
                   3567:   for depmode in $am_compiler_list; do
1.86      paf      3568:     # Setup a source with many dependencies, because some compilers
                   3569:     # like to wrap large dependency lists on column 80 (with \), and
                   3570:     # we should not choose a depcomp mode which is confused by this.
                   3571:     #
1.62      paf      3572:     # We need to recreate these files for each test, as the compiler may
                   3573:     # overwrite some of them when testing with obscure command lines.
                   3574:     # This happens at least with the AIX C compiler.
1.86      paf      3575:     : > sub/conftest.c
                   3576:     for i in 1 2 3 4 5 6; do
                   3577:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3578:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3579:       # Solaris 8's {/usr,}/bin/sh.
                   3580:       touch sub/conftst$i.h
                   3581:     done
                   3582:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3583: 
                   3584:     case $depmode in
                   3585:     nosideeffect)
                   3586:       # after this tag, mechanisms are not by side-effect, so they'll
                   3587:       # only be used when explicitly requested
                   3588:       if test "x$enable_dependency_tracking" = xyes; then
                   3589:        continue
                   3590:       else
                   3591:        break
                   3592:       fi
                   3593:       ;;
                   3594:     none) break ;;
                   3595:     esac
                   3596:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3597:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3598:     # handle `-M -o', and we need to detect this.
1.66      paf      3599:     if depmode=$depmode \
1.86      paf      3600:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3601:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3602:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3603:          >/dev/null 2>conftest.err &&
                   3604:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3605:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      3606:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3607:       # icc doesn't choke on unknown options, it will just issue warnings
                   3608:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3609:       # that says an option was ignored or not supported.
                   3610:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3611:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3612:       # The diagnosis changed in icc 8.0:
                   3613:       #   icc: Command line remark: option '-MP' not supported
                   3614:       if (grep 'ignoring option' conftest.err ||
                   3615:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3616:         am_cv_CC_dependencies_compiler_type=$depmode
                   3617:         break
                   3618:       fi
1.66      paf      3619:     fi
                   3620:   done
                   3621: 
                   3622:   cd ..
                   3623:   rm -rf conftest.dir
                   3624: else
                   3625:   am_cv_CC_dependencies_compiler_type=none
                   3626: fi
                   3627: 
                   3628: fi
                   3629: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3630: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3631: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3632: 
                   3633: 
                   3634: 
                   3635: if
                   3636:   test "x$enable_dependency_tracking" != xno \
                   3637:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3638:   am__fastdepCC_TRUE=
                   3639:   am__fastdepCC_FALSE='#'
                   3640: else
                   3641:   am__fastdepCC_TRUE='#'
                   3642:   am__fastdepCC_FALSE=
                   3643: fi
                   3644: 
                   3645: 
1.128     moko     3646: 
1.66      paf      3647: ac_ext=c
                   3648: ac_cpp='$CPP $CPPFLAGS'
                   3649: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3650: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3651: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3652: 
1.67      paf      3653: 
1.62      paf      3654: 
1.128     moko     3655: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3656: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
                   3657: case "$host_os" in
                   3658: cygwin)
                   3659:        dll_extension=dll
                   3660:        ;;
                   3661: *)
                   3662:        dll_extension=so
1.66      paf      3663: esac
1.128     moko     3664: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3665: echo "${ECHO_T}$dll_extension" >&6
1.1       paf      3666: 
1.71      paf      3667: 
                   3668: 
                   3669: 
                   3670: # Check whether --with-build-warnings or --without-build-warnings was given.
                   3671: if test "${with_build_warnings+set}" = set; then
                   3672:   withval="$with_build_warnings"
                   3673:   { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
                   3674: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
                   3675:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   3676: 
                   3677: fi;
1.1       paf      3678: 
                   3679: 
1.67      paf      3680: # Check whether --with-assertions or --without-assertions was given.
                   3681: if test "${with_assertions+set}" = set; then
                   3682:   withval="$with_assertions"
                   3683:   { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
                   3684: echo "$as_me: WARNING: enabling assertions" >&2;}
                   3685: 
                   3686: else
                   3687: 
                   3688: cat >>confdefs.h <<\_ACEOF
                   3689: #define NDEBUG
                   3690: _ACEOF
                   3691: 
                   3692: 
                   3693: fi;
                   3694: 
1.94      misha    3695: 
1.128     moko     3696: # Check whether --with-pathlink or --without-pathlink was given.
                   3697: if test "${with_pathlink+set}" = set; then
                   3698:   withval="$with_pathlink"
                   3699:   LD_PATHLINK=$withval
                   3700: 
                   3701: fi;
                   3702: 
                   3703: 
                   3704: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   3705: if test "${with_sjlj_exceptions+set}" = set; then
                   3706:   withval="$with_sjlj_exceptions"
                   3707: 
                   3708: cat >>confdefs.h <<\_ACEOF
                   3709: #define PA_WITH_SJLJ_EXCEPTIONS
                   3710: _ACEOF
                   3711: 
                   3712: 
                   3713: fi;
                   3714: 
                   3715: 
1.60      paf      3716: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3717: if test "${enable_safe_mode+set}" = set; then
                   3718:   enableval="$enable_safe_mode"
1.62      paf      3719: 
1.67      paf      3720:        SAFE_MODE=$enableval
1.60      paf      3721: 
1.1       paf      3722: 
1.62      paf      3723: fi;
1.128     moko     3724: 
1.60      paf      3725: if test "$SAFE_MODE" = "no"; then
1.62      paf      3726:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3727: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3728: else
1.62      paf      3729: 
                   3730: cat >>confdefs.h <<\_ACEOF
                   3731: #define PA_SAFE_MODE
                   3732: _ACEOF
1.1       paf      3733: 
                   3734: fi
                   3735: 
1.94      misha    3736: 
1.13      paf      3737: # Check whether --enable-execs or --disable-execs was given.
                   3738: if test "${enable_execs+set}" = set; then
                   3739:   enableval="$enable_execs"
1.62      paf      3740: 
1.13      paf      3741: if test "$enableval" = "no"; then
1.62      paf      3742:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3743: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3744: 
                   3745: cat >>confdefs.h <<\_ACEOF
                   3746: #define NO_PA_EXECS
                   3747: _ACEOF
1.13      paf      3748: 
                   3749: fi
                   3750: 
                   3751: 
1.62      paf      3752: fi;
1.13      paf      3753: 
1.60      paf      3754: 
1.94      misha    3755: # Check whether --enable-stringstream or --disable-stringstream was given.
                   3756: if test "${enable_stringstream+set}" = set; then
                   3757:   enableval="$enable_stringstream"
                   3758: 
                   3759: if test "$enableval" = "no"; then
                   3760:        { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
                   3761: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
                   3762: 
                   3763: cat >>confdefs.h <<\_ACEOF
                   3764: #define NO_STRINGSTREAM
                   3765: _ACEOF
                   3766: 
                   3767: fi
                   3768: 
                   3769: 
                   3770: fi;
                   3771: 
                   3772: 
1.62      paf      3773: 
1.142     moko     3774: # Check whether --with-gc or --without-gc was given.
                   3775: if test "${with_gc+set}" = set; then
                   3776:   withval="$with_gc"
1.17      paf      3777: 
                   3778: 
1.142     moko     3779:        GC=$withval
                   3780:        GC_LIBS="$GC/libgc.la"
                   3781: 
                   3782:        if test -f $GC_LIBS; then
                   3783:                GC_OK="yes"
                   3784:        else
                   3785:                GC_LIBS="-L$GC -lgc"
                   3786:        fi
1.62      paf      3787: 
1.142     moko     3788: else
1.17      paf      3789: 
1.142     moko     3790:        GC_LIBS="-lgc"
                   3791:        { echo "$as_me:$LINENO: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   3792: echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
1.17      paf      3793: 
1.128     moko     3794: fi;
1.17      paf      3795: 
1.142     moko     3796: if test -z "$GC_OK"; then
1.138     moko     3797:        echo "$as_me:$LINENO: checking for libgc" >&5
1.128     moko     3798: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
1.138     moko     3799:        SAVE_LIBS=$LIBS
                   3800:        LIBS="$LIBS $GC_LIBS"
1.128     moko     3801: 
1.67      paf      3802: cat >conftest.$ac_ext <<_ACEOF
                   3803: /* confdefs.h.  */
                   3804: _ACEOF
                   3805: cat confdefs.h >>conftest.$ac_ext
                   3806: cat >>conftest.$ac_ext <<_ACEOF
                   3807: /* end confdefs.h.  */
1.142     moko     3808:  extern int GC_dont_gc;
1.67      paf      3809: int
                   3810: main ()
                   3811: {
1.142     moko     3812:  GC_dont_gc=0;
1.67      paf      3813:   ;
                   3814:   return 0;
                   3815: }
                   3816: _ACEOF
                   3817: rm -f conftest.$ac_objext conftest$ac_exeext
                   3818: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      3819:   (eval $ac_link) 2>conftest.er1
1.67      paf      3820:   ac_status=$?
1.86      paf      3821:   grep -v '^ *+' conftest.er1 >conftest.err
                   3822:   rm -f conftest.er1
                   3823:   cat conftest.err >&5
1.67      paf      3824:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3825:   (exit $ac_status); } &&
1.86      paf      3826:         { ac_try='test -z "$ac_c_werror_flag"
                   3827:                         || test ! -s conftest.err'
                   3828:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3829:   (eval $ac_try) 2>&5
                   3830:   ac_status=$?
                   3831:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3832:   (exit $ac_status); }; } &&
                   3833:         { ac_try='test -s conftest$ac_exeext'
1.67      paf      3834:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3835:   (eval $ac_try) 2>&5
                   3836:   ac_status=$?
                   3837:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3838:   (exit $ac_status); }; }; then
                   3839:   echo "$as_me:$LINENO: result: yes" >&5
                   3840: echo "${ECHO_T}yes" >&6
                   3841: 
                   3842: else
                   3843:   echo "$as_me: failed program was:" >&5
                   3844: sed 's/^/| /' conftest.$ac_ext >&5
                   3845: 
                   3846: echo "$as_me:$LINENO: result: no" >&5
                   3847: echo "${ECHO_T}no" >&6
1.142     moko     3848:                if test -z "$GC"; then
                   3849:                        { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-gc" >&5
                   3850: echo "$as_me: error: please specify path to libgc: --with-gc" >&2;}
1.67      paf      3851:    { (exit 1); exit 1; }; }
1.142     moko     3852:                else
                   3853:                        { { echo "$as_me:$LINENO: error: $GC does not seem to be valid libgc installation directory" >&5
                   3854: echo "$as_me: error: $GC does not seem to be valid libgc installation directory" >&2;}
                   3855:    { (exit 1); exit 1; }; }
                   3856:                fi
1.67      paf      3857: 
                   3858: fi
1.86      paf      3859: rm -f conftest.err conftest.$ac_objext \
                   3860:       conftest$ac_exeext conftest.$ac_ext
1.138     moko     3861:        LIBS=$SAVE_LIBS
                   3862: fi
1.67      paf      3863: 
                   3864: 
1.1       paf      3865: 
1.15      paf      3866: 
1.142     moko     3867: 
                   3868: # Check whether --with-pcre or --without-pcre was given.
                   3869: if test "${with_pcre+set}" = set; then
                   3870:   withval="$with_pcre"
1.100     misha    3871: 
                   3872:        PCRE=$withval
1.142     moko     3873:        PCRE_INCLUDES="-I$PCRE/include"
                   3874:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    3875: 
1.142     moko     3876:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   3877:                PCRE_OK="yes"
                   3878:        else
                   3879:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    3880:        fi
                   3881: 
1.142     moko     3882: 
                   3883: else
                   3884: 
                   3885:        PCRE_LIBS="-lpcre"
1.149   ! moko     3886:        PCRE_INCLUDES=""
1.142     moko     3887:        { echo "$as_me:$LINENO: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   3888: echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
1.100     misha    3889: 
                   3890: fi;
                   3891: 
1.142     moko     3892: if test -z "$PCRE_OK"; then
                   3893:        echo "$as_me:$LINENO: checking for prce" >&5
                   3894: echo $ECHO_N "checking for prce... $ECHO_C" >&6
                   3895:        SAVE_LIBS=$LIBS
                   3896:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
                   3897:        cat >conftest.$ac_ext <<_ACEOF
                   3898: /* confdefs.h.  */
                   3899: _ACEOF
                   3900: cat confdefs.h >>conftest.$ac_ext
                   3901: cat >>conftest.$ac_ext <<_ACEOF
                   3902: /* end confdefs.h.  */
                   3903:  #include <pcre.h>
                   3904: int
                   3905: main ()
                   3906: {
                   3907:  const char *v=pcre_version();
                   3908:   ;
                   3909:   return 0;
                   3910: }
                   3911: _ACEOF
                   3912: rm -f conftest.$ac_objext conftest$ac_exeext
                   3913: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3914:   (eval $ac_link) 2>conftest.er1
                   3915:   ac_status=$?
                   3916:   grep -v '^ *+' conftest.er1 >conftest.err
                   3917:   rm -f conftest.er1
                   3918:   cat conftest.err >&5
                   3919:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3920:   (exit $ac_status); } &&
                   3921:         { ac_try='test -z "$ac_c_werror_flag"
                   3922:                         || test ! -s conftest.err'
                   3923:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3924:   (eval $ac_try) 2>&5
                   3925:   ac_status=$?
                   3926:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3927:   (exit $ac_status); }; } &&
                   3928:         { ac_try='test -s conftest$ac_exeext'
                   3929:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3930:   (eval $ac_try) 2>&5
                   3931:   ac_status=$?
                   3932:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3933:   (exit $ac_status); }; }; then
                   3934:   echo "$as_me:$LINENO: result: yes" >&5
                   3935: echo "${ECHO_T}yes" >&6
                   3936: 
                   3937: else
                   3938:   echo "$as_me: failed program was:" >&5
                   3939: sed 's/^/| /' conftest.$ac_ext >&5
                   3940: 
                   3941: echo "$as_me:$LINENO: result: no" >&5
                   3942: echo "${ECHO_T}no" >&6
                   3943:                if test -z "$PCRE"; then
                   3944:                        { { echo "$as_me:$LINENO: error: please specify path to PCRE: --with-pcre" >&5
                   3945: echo "$as_me: error: please specify path to PCRE: --with-pcre" >&2;}
                   3946:    { (exit 1); exit 1; }; }
                   3947:                else
                   3948:                        { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   3949: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   3950:    { (exit 1); exit 1; }; }
                   3951:                fi
                   3952: 
                   3953: fi
                   3954: rm -f conftest.err conftest.$ac_objext \
                   3955:       conftest$ac_exeext conftest.$ac_ext
                   3956:        LIBS=$SAVE_LIBS
                   3957: fi
1.100     misha    3958: 
                   3959: 
                   3960: 
                   3961: 
1.66      paf      3962: 
                   3963: 
1.142     moko     3964: # Check whether --with-xml or --without-xml was given.
                   3965: if test "${with_xml+set}" = set; then
                   3966:   withval="$with_xml"
1.66      paf      3967: 
                   3968: 
1.142     moko     3969:        XML=$withval
                   3970:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   3971: 
                   3972:        if test -z "$XML" -o "$XML" = "yes"; then
                   3973:                XML=""
                   3974:                XML_INCLUDES="-I/usr/include/libxml2"
                   3975:                { echo "$as_me:$LINENO: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   3976: echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
                   3977:        else
                   3978:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      3979: 
1.142     moko     3980:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   3981:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   3982:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   3983:                        XML_OK="yes"
                   3984:                fi
1.67      paf      3985:        fi
1.66      paf      3986: 
1.142     moko     3987:        if test -z "$XML_OK"; then
                   3988:                echo "$as_me:$LINENO: checking for xml" >&5
                   3989: echo $ECHO_N "checking for xml... $ECHO_C" >&6
                   3990:                SAVE_LIBS=$LIBS
                   3991:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
                   3992:                cat >conftest.$ac_ext <<_ACEOF
                   3993: /* confdefs.h.  */
                   3994: _ACEOF
                   3995: cat confdefs.h >>conftest.$ac_ext
                   3996: cat >>conftest.$ac_ext <<_ACEOF
                   3997: /* end confdefs.h.  */
                   3998:  #include <libxslt/xslt.h>
                   3999: int
                   4000: main ()
                   4001: {
                   4002:  const char *v=xsltEngineVersion;
                   4003:   ;
                   4004:   return 0;
                   4005: }
                   4006: _ACEOF
                   4007: rm -f conftest.$ac_objext conftest$ac_exeext
                   4008: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4009:   (eval $ac_link) 2>conftest.er1
                   4010:   ac_status=$?
                   4011:   grep -v '^ *+' conftest.er1 >conftest.err
                   4012:   rm -f conftest.er1
                   4013:   cat conftest.err >&5
                   4014:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4015:   (exit $ac_status); } &&
                   4016:         { ac_try='test -z "$ac_c_werror_flag"
                   4017:                         || test ! -s conftest.err'
                   4018:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4019:   (eval $ac_try) 2>&5
                   4020:   ac_status=$?
                   4021:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4022:   (exit $ac_status); }; } &&
                   4023:         { ac_try='test -s conftest$ac_exeext'
                   4024:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4025:   (eval $ac_try) 2>&5
                   4026:   ac_status=$?
                   4027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4028:   (exit $ac_status); }; }; then
                   4029:   echo "$as_me:$LINENO: result: yes" >&5
                   4030: echo "${ECHO_T}yes" >&6
                   4031: 
                   4032: else
                   4033:   echo "$as_me: failed program was:" >&5
                   4034: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      4035: 
1.142     moko     4036: echo "$as_me:$LINENO: result: no" >&5
                   4037: echo "${ECHO_T}no" >&6
                   4038:                        if test -z "$XML"; then
                   4039:                                { { echo "$as_me:$LINENO: error: please specify path to Gnome XML libraries: --with-xml" >&5
                   4040: echo "$as_me: error: please specify path to Gnome XML libraries: --with-xml" >&2;}
                   4041:    { (exit 1); exit 1; }; }
                   4042:                        else
                   4043:                                { { echo "$as_me:$LINENO: error: $XML does not seem to be valid Gnome XML installation directory" >&5
                   4044: echo "$as_me: error: $XML does not seem to be valid Gnome XML installation directory" >&2;}
1.66      paf      4045:    { (exit 1); exit 1; }; }
1.142     moko     4046:                        fi
                   4047: 
                   4048: fi
                   4049: rm -f conftest.err conftest.$ac_objext \
                   4050:       conftest$ac_exeext conftest.$ac_ext
                   4051:                LIBS=$SAVE_LIBS
1.67      paf      4052:        fi
1.66      paf      4053: 
                   4054: cat >>confdefs.h <<\_ACEOF
                   4055: #define XML
                   4056: _ACEOF
                   4057: 
                   4058: 
1.142     moko     4059: fi;
1.90      paf      4060: 
1.66      paf      4061: 
                   4062: 
                   4063: 
                   4064: 
1.90      paf      4065: # Check whether --with-glib-config or --without-glib-config was given.
                   4066: if test "${with_glib_config+set}" = set; then
                   4067:   withval="$with_glib_config"
                   4068:   GLIB_CONFIG=$withval
                   4069: 
                   4070: fi;
1.66      paf      4071: 
                   4072: 
                   4073: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   4074: if test "${with_shared_mailreceive+set}" = set; then
                   4075:   withval="$with_shared_mailreceive"
                   4076: 
1.67      paf      4077:        GNOME_MIME=$withval
                   4078:        MIMEBIN="$GNOME_MIME/bin"
                   4079:        MIMEINC="$GNOME_MIME/include"
                   4080:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4081: 
1.67      paf      4082:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4083:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4084: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4085:    { (exit 1); exit 1; }; }
1.67      paf      4086:        fi
1.66      paf      4087: 
                   4088: 
                   4089: cat >>confdefs.h <<\_ACEOF
                   4090: #define WITH_MAILRECEIVE
                   4091: _ACEOF
                   4092: 
                   4093: 
1.67      paf      4094:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4095: 
1.67      paf      4096:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4097:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4098:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4099:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4100:                        if test \! -x $GLIB_CONFIG; then
                   4101:                                GLIB_CONFIG=glib-config
                   4102:                        fi
1.67      paf      4103:                fi
                   4104:        fi
                   4105:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4106:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4107: 
1.67      paf      4108:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4109:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4110:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4111:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4112:        fi
1.66      paf      4113: 
                   4114: fi;
                   4115: 
                   4116: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4117: if test "${with_static_mailreceive+set}" = set; then
                   4118:   withval="$with_static_mailreceive"
                   4119: 
1.67      paf      4120:        GNOME_MIME=$withval
                   4121:        MIMEBIN="$GNOME_MIME/bin"
                   4122:        MIMEINC="$GNOME_MIME/include"
                   4123:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4124: 
1.67      paf      4125:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4126:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4127: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4128:    { (exit 1); exit 1; }; }
1.67      paf      4129:        fi
1.66      paf      4130: 
                   4131: 
                   4132: cat >>confdefs.h <<\_ACEOF
                   4133: #define WITH_MAILRECEIVE
                   4134: _ACEOF
                   4135: 
                   4136: 
1.67      paf      4137:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4138:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4139:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4140:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4141:                        if test \! -x $GLIB_CONFIG; then
                   4142:                                GLIB_CONFIG=glib-config
                   4143:                        fi
1.67      paf      4144:                fi
                   4145:        fi
                   4146:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4147: 
1.67      paf      4148:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4149:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4150:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4151:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4152: 
                   4153: fi;
                   4154: 
                   4155: 
                   4156: 
                   4157: 
                   4158: 
                   4159: # Check whether --with-sendmail or --without-sendmail was given.
                   4160: if test "${with_sendmail+set}" = set; then
                   4161:   withval="$with_sendmail"
                   4162: 
                   4163: cat >>confdefs.h <<_ACEOF
                   4164: #define PA_FORCED_SENDMAIL "$withval"
                   4165: _ACEOF
                   4166: 
                   4167: 
                   4168: fi;
                   4169: 
                   4170: 
                   4171: 
1.122     moko     4172: # Check whether --with-apache or --without-apache was given.
                   4173: if test "${with_apache+set}" = set; then
                   4174:   withval="$with_apache"
                   4175: 
                   4176:        APXS=$withval
                   4177: 
                   4178:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4179:                APXS=`which apxs 2>/dev/null`
1.142     moko     4180:                if test -z "$APXS"; then
                   4181:                        APXS=`which apxs2 2>/dev/null`
                   4182:                fi
                   4183:        fi
1.122     moko     4184: 
                   4185:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4186: 
                   4187:        if test -z "$APACHE"; then
1.142     moko     4188:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
1.122     moko     4189: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4190:    { (exit 1); exit 1; }; }
1.67      paf      4191:        fi
1.7       paf      4192: 
1.122     moko     4193:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4194:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4195:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4196:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4197: 
1.62      paf      4198: fi;
1.7       paf      4199: 
                   4200: 
1.62      paf      4201: 
1.122     moko     4202: 
                   4203: 
                   4204: if test -n "$APACHE"; then
                   4205:   COMPILE_APACHE_MODULE_TRUE=
                   4206:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4207: else
1.122     moko     4208:   COMPILE_APACHE_MODULE_TRUE='#'
                   4209:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4210: fi
1.1       paf      4211: 
                   4212: 
                   4213: 
1.62      paf      4214: 
                   4215: 
1.7       paf      4216: 
1.1       paf      4217: 
                   4218: 
                   4219: 
1.62      paf      4220: 
1.128     moko     4221: case `pwd` in
                   4222:   *\ * | *\    *)
                   4223:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4224: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4225: esac
                   4226: 
                   4227: 
                   4228: 
                   4229: macro_version='2.4.2'
                   4230: macro_revision='1.3337'
                   4231: 
                   4232: 
                   4233: 
                   4234: 
                   4235: 
                   4236: 
                   4237: 
                   4238: 
                   4239: 
                   4240: 
                   4241: 
                   4242: 
                   4243: 
                   4244: ltmain="$ac_aux_dir/ltmain.sh"
                   4245: 
                   4246: # Backslashify metacharacters that are still active within
                   4247: # double-quoted strings.
                   4248: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      4249: 
1.128     moko     4250: # Same as above, but do not quote variable references.
                   4251: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      4252: 
1.128     moko     4253: # Sed substitution to delay expansion of an escaped shell variable in a
                   4254: # double_quote_subst'ed string.
                   4255: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      4256: 
1.128     moko     4257: # Sed substitution to delay expansion of an escaped single quote.
                   4258: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      4259: 
1.128     moko     4260: # Sed substitution to avoid accidental globbing in evaled expressions
                   4261: no_glob_subst='s/\*/\\\*/g'
1.86      paf      4262: 
1.128     moko     4263: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4264: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4265: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      4266: 
1.128     moko     4267: echo "$as_me:$LINENO: checking how to print strings" >&5
                   4268: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   4269: # Test print first, because it will be a builtin if present.
                   4270: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4271:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4272:   ECHO='print -r --'
                   4273: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4274:   ECHO='printf %s\n'
                   4275: else
                   4276:   # Use this function as a fallback that always works.
                   4277:   func_fallback_echo ()
                   4278:   {
                   4279:     eval 'cat <<_LTECHO_EOF
                   4280: $1
                   4281: _LTECHO_EOF'
                   4282:   }
                   4283:   ECHO='func_fallback_echo'
                   4284: fi
1.86      paf      4285: 
1.128     moko     4286: # func_echo_all arg...
                   4287: # Invoke $ECHO with all args, space-separated.
                   4288: func_echo_all ()
1.66      paf      4289: {
1.128     moko     4290:     $ECHO ""
1.66      paf      4291: }
1.10      paf      4292: 
1.128     moko     4293: case "$ECHO" in
                   4294:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   4295: echo "${ECHO_T}printf" >&6 ;;
                   4296:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   4297: echo "${ECHO_T}print -r" >&6 ;;
                   4298:   *) echo "$as_me:$LINENO: result: cat" >&5
                   4299: echo "${ECHO_T}cat" >&6 ;;
                   4300: esac
                   4301: 
                   4302: 
                   4303: 
                   4304: 
                   4305: 
                   4306: 
                   4307: 
                   4308: 
                   4309: 
                   4310: 
                   4311: 
                   4312: 
                   4313: 
                   4314: 
                   4315: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   4316: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   4317: if test "${lt_cv_path_SED+set}" = set; then
                   4318:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      4319: else
1.128     moko     4320:   # Loop through the user's path and test for sed and gsed.
                   4321: # Then use that list of sed's as ones to test for truncation.
                   4322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4323: for as_dir in $PATH
                   4324: do
                   4325:   IFS=$as_save_IFS
                   4326:   test -z "$as_dir" && as_dir=.
                   4327:   for lt_ac_prog in sed gsed; do
                   4328:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4329:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   4330:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   4331:       fi
                   4332:     done
                   4333:   done
                   4334: done
                   4335: IFS=$as_save_IFS
                   4336: lt_ac_max=0
                   4337: lt_ac_count=0
                   4338: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4339: # along with /bin/sed that truncates output.
                   4340: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   4341:   test ! -f $lt_ac_sed && continue
                   4342:   cat /dev/null > conftest.in
                   4343:   lt_ac_count=0
                   4344:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   4345:   # Check for GNU sed and select it if it is found.
                   4346:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   4347:     lt_cv_path_SED=$lt_ac_sed
                   4348:     break
                   4349:   fi
                   4350:   while true; do
                   4351:     cat conftest.in conftest.in >conftest.tmp
                   4352:     mv conftest.tmp conftest.in
                   4353:     cp conftest.in conftest.nl
                   4354:     echo >>conftest.nl
                   4355:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   4356:     cmp -s conftest.out conftest.nl || break
                   4357:     # 10000 chars as input seems more than enough
                   4358:     test $lt_ac_count -gt 10 && break
                   4359:     lt_ac_count=`expr $lt_ac_count + 1`
                   4360:     if test $lt_ac_count -gt $lt_ac_max; then
                   4361:       lt_ac_max=$lt_ac_count
                   4362:       lt_cv_path_SED=$lt_ac_sed
                   4363:     fi
                   4364:   done
                   4365: done
1.10      paf      4366: 
1.66      paf      4367: fi
1.10      paf      4368: 
1.128     moko     4369: SED=$lt_cv_path_SED
                   4370: 
                   4371: echo "$as_me:$LINENO: result: $SED" >&5
                   4372: echo "${ECHO_T}$SED" >&6
                   4373: 
                   4374: test -z "$SED" && SED=sed
                   4375: Xsed="$SED -e 1s/^X//"
1.10      paf      4376: 
1.128     moko     4377: 
                   4378: 
                   4379: 
                   4380: 
                   4381: 
                   4382: 
                   4383: 
                   4384: 
                   4385: 
                   4386: 
                   4387: echo "$as_me:$LINENO: checking for egrep" >&5
                   4388: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4389: if test "${ac_cv_prog_egrep+set}" = set; then
                   4390:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4391: else
                   4392:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4393:     then ac_cv_prog_egrep='grep -E'
                   4394:     else ac_cv_prog_egrep='egrep'
                   4395:     fi
                   4396: fi
                   4397: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4398: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4399:  EGREP=$ac_cv_prog_egrep
                   4400: 
                   4401: 
                   4402: echo "$as_me:$LINENO: checking for fgrep" >&5
                   4403: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   4404: if test "${ac_cv_prog_fgrep+set}" = set; then
                   4405:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4406: else
                   4407:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   4408:     then ac_cv_prog_fgrep='grep -F'
                   4409:     else ac_cv_prog_fgrep='fgrep'
                   4410:     fi
                   4411: fi
                   4412: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   4413: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   4414:  FGREP=$ac_cv_prog_fgrep
                   4415: 
                   4416: 
                   4417: test -z "$GREP" && GREP=grep
                   4418: 
                   4419: 
                   4420: 
                   4421: 
                   4422: 
                   4423: 
                   4424: 
                   4425: 
                   4426: 
                   4427: 
                   4428: 
                   4429: 
                   4430: 
                   4431: 
                   4432: 
                   4433: 
                   4434: 
                   4435: 
                   4436: 
                   4437: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   4438: if test "${with_gnu_ld+set}" = set; then
                   4439:   withval="$with_gnu_ld"
                   4440:   test "$withval" = no || with_gnu_ld=yes
                   4441: else
                   4442:   with_gnu_ld=no
                   4443: fi;
                   4444: ac_prog=ld
                   4445: if test "$GCC" = yes; then
                   4446:   # Check if gcc -print-prog-name=ld gives a path.
                   4447:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   4448: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   4449:   case $host in
                   4450:   *-*-mingw*)
                   4451:     # gcc leaves a trailing carriage return which upsets mingw
                   4452:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4453:   *)
                   4454:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4455:   esac
                   4456:   case $ac_prog in
                   4457:     # Accept absolute paths.
                   4458:     [\\/]* | ?:[\\/]*)
                   4459:       re_direlt='/[^/][^/]*/\.\./'
                   4460:       # Canonicalize the pathname of ld
                   4461:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4462:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4463:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4464:       done
                   4465:       test -z "$LD" && LD="$ac_prog"
                   4466:       ;;
                   4467:   "")
                   4468:     # If it fails, then pretend we aren't using GCC.
                   4469:     ac_prog=ld
                   4470:     ;;
                   4471:   *)
                   4472:     # If it is relative, then search for the first ld in PATH.
                   4473:     with_gnu_ld=unknown
                   4474:     ;;
                   4475:   esac
                   4476: elif test "$with_gnu_ld" = yes; then
                   4477:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   4478: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   4479: else
                   4480:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   4481: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   4482: fi
                   4483: if test "${lt_cv_path_LD+set}" = set; then
                   4484:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4485: else
                   4486:   if test -z "$LD"; then
                   4487:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4488:   for ac_dir in $PATH; do
                   4489:     IFS="$lt_save_ifs"
                   4490:     test -z "$ac_dir" && ac_dir=.
                   4491:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4492:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4493:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4494:       # but apparently some variants of GNU ld only accept -v.
                   4495:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4496:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4497:       *GNU* | *'with BFD'*)
                   4498:        test "$with_gnu_ld" != no && break
                   4499:        ;;
                   4500:       *)
                   4501:        test "$with_gnu_ld" != yes && break
                   4502:        ;;
                   4503:       esac
                   4504:     fi
                   4505:   done
                   4506:   IFS="$lt_save_ifs"
                   4507: else
                   4508:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4509: fi
                   4510: fi
                   4511: 
                   4512: LD="$lt_cv_path_LD"
                   4513: if test -n "$LD"; then
                   4514:   echo "$as_me:$LINENO: result: $LD" >&5
                   4515: echo "${ECHO_T}$LD" >&6
                   4516: else
                   4517:   echo "$as_me:$LINENO: result: no" >&5
                   4518: echo "${ECHO_T}no" >&6
                   4519: fi
                   4520: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   4521: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   4522:    { (exit 1); exit 1; }; }
                   4523: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   4524: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   4525: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   4526:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4527: else
                   4528:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4529: case `$LD -v 2>&1 </dev/null` in
                   4530: *GNU* | *'with BFD'*)
                   4531:   lt_cv_prog_gnu_ld=yes
                   4532:   ;;
                   4533: *)
                   4534:   lt_cv_prog_gnu_ld=no
                   4535:   ;;
                   4536: esac
                   4537: fi
                   4538: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   4539: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   4540: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4541: 
                   4542: 
                   4543: 
                   4544: 
                   4545: 
                   4546: 
                   4547: 
                   4548: 
                   4549: 
                   4550: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4551: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   4552: if test "${lt_cv_path_NM+set}" = set; then
                   4553:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4554: else
                   4555:   if test -n "$NM"; then
                   4556:   # Let the user override the test.
                   4557:   lt_cv_path_NM="$NM"
                   4558: else
                   4559:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4560:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4561:     lt_nm_to_check="$lt_nm_to_check nm"
                   4562:   fi
                   4563:   for lt_tmp_nm in $lt_nm_to_check; do
                   4564:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4565:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4566:       IFS="$lt_save_ifs"
                   4567:       test -z "$ac_dir" && ac_dir=.
                   4568:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4569:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4570:        # Check to see if the nm accepts a BSD-compat flag.
                   4571:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4572:        #   nm: unknown option "B" ignored
                   4573:        # Tru64's nm complains that /dev/null is an invalid object file
                   4574:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4575:        */dev/null* | *'Invalid file or object type'*)
                   4576:          lt_cv_path_NM="$tmp_nm -B"
                   4577:          break
                   4578:          ;;
                   4579:        *)
                   4580:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4581:          */dev/null*)
                   4582:            lt_cv_path_NM="$tmp_nm -p"
                   4583:            break
                   4584:            ;;
                   4585:          *)
                   4586:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4587:            continue # so that we can try to find one that supports BSD flags
                   4588:            ;;
                   4589:          esac
                   4590:          ;;
                   4591:        esac
                   4592:       fi
                   4593:     done
                   4594:     IFS="$lt_save_ifs"
                   4595:   done
                   4596:   : ${lt_cv_path_NM=no}
                   4597: fi
                   4598: fi
                   4599: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   4600: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   4601: if test "$lt_cv_path_NM" != "no"; then
                   4602:   NM="$lt_cv_path_NM"
                   4603: else
                   4604:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4605:   if test -n "$DUMPBIN"; then :
                   4606:     # Let the user override the test.
                   4607:   else
                   4608:     if test -n "$ac_tool_prefix"; then
                   4609:   for ac_prog in dumpbin "link -dump"
                   4610:   do
                   4611:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4612: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4613: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4614: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4615: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   4616:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4617: else
                   4618:   if test -n "$DUMPBIN"; then
                   4619:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4620: else
                   4621: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4622: for as_dir in $PATH
                   4623: do
                   4624:   IFS=$as_save_IFS
                   4625:   test -z "$as_dir" && as_dir=.
                   4626:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4627:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4628:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4629:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4630:     break 2
                   4631:   fi
                   4632: done
                   4633: done
                   4634: 
                   4635: fi
                   4636: fi
                   4637: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4638: if test -n "$DUMPBIN"; then
                   4639:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   4640: echo "${ECHO_T}$DUMPBIN" >&6
                   4641: else
                   4642:   echo "$as_me:$LINENO: result: no" >&5
                   4643: echo "${ECHO_T}no" >&6
                   4644: fi
                   4645: 
                   4646:     test -n "$DUMPBIN" && break
                   4647:   done
                   4648: fi
                   4649: if test -z "$DUMPBIN"; then
                   4650:   ac_ct_DUMPBIN=$DUMPBIN
                   4651:   for ac_prog in dumpbin "link -dump"
                   4652: do
                   4653:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4654: set dummy $ac_prog; ac_word=$2
                   4655: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4656: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4657: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   4658:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4659: else
                   4660:   if test -n "$ac_ct_DUMPBIN"; then
                   4661:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4662: else
                   4663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4664: for as_dir in $PATH
                   4665: do
                   4666:   IFS=$as_save_IFS
                   4667:   test -z "$as_dir" && as_dir=.
                   4668:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4669:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4670:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4671:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4672:     break 2
                   4673:   fi
                   4674: done
                   4675: done
                   4676: 
                   4677: fi
                   4678: fi
                   4679: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4680: if test -n "$ac_ct_DUMPBIN"; then
                   4681:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4682: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4683: else
                   4684:   echo "$as_me:$LINENO: result: no" >&5
                   4685: echo "${ECHO_T}no" >&6
                   4686: fi
                   4687: 
                   4688:   test -n "$ac_ct_DUMPBIN" && break
                   4689: done
                   4690: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
                   4691: 
                   4692:   DUMPBIN=$ac_ct_DUMPBIN
                   4693: fi
                   4694: 
                   4695:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4696:     *COFF*)
                   4697:       DUMPBIN="$DUMPBIN -symbols"
                   4698:       ;;
                   4699:     *)
                   4700:       DUMPBIN=:
                   4701:       ;;
                   4702:     esac
                   4703:   fi
                   4704: 
                   4705:   if test "$DUMPBIN" != ":"; then
                   4706:     NM="$DUMPBIN"
                   4707:   fi
                   4708: fi
                   4709: test -z "$NM" && NM=nm
                   4710: 
                   4711: 
                   4712: 
                   4713: 
                   4714: 
                   4715: 
                   4716: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4717: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4718: if test "${lt_cv_nm_interface+set}" = set; then
                   4719:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4720: else
                   4721:   lt_cv_nm_interface="BSD nm"
                   4722:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4723:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4724:   (eval "$ac_compile" 2>conftest.err)
                   4725:   cat conftest.err >&5
                   4726:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4727:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4728:   cat conftest.err >&5
                   4729:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4730:   cat conftest.out >&5
                   4731:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4732:     lt_cv_nm_interface="MS dumpbin"
                   4733:   fi
                   4734:   rm -f conftest*
                   4735: fi
                   4736: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4737: echo "${ECHO_T}$lt_cv_nm_interface" >&6
                   4738: 
                   4739: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4740: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4741: LN_S=$as_ln_s
                   4742: if test "$LN_S" = "ln -s"; then
                   4743:   echo "$as_me:$LINENO: result: yes" >&5
                   4744: echo "${ECHO_T}yes" >&6
                   4745: else
                   4746:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4747: echo "${ECHO_T}no, using $LN_S" >&6
                   4748: fi
                   4749: 
                   4750: # find the maximum length of command line arguments
                   4751: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4752: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4753: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4754:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4755: else
                   4756:     i=0
                   4757:   teststring="ABCD"
                   4758: 
                   4759:   case $build_os in
                   4760:   msdosdjgpp*)
                   4761:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4762:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4763:     # during glob expansion).  Even if it were fixed, the result of this
                   4764:     # check would be larger than it should be.
                   4765:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4766:     ;;
                   4767: 
                   4768:   gnu*)
                   4769:     # Under GNU Hurd, this test is not required because there is
                   4770:     # no limit to the length of command line arguments.
                   4771:     # Libtool will interpret -1 as no limit whatsoever
                   4772:     lt_cv_sys_max_cmd_len=-1;
                   4773:     ;;
                   4774: 
                   4775:   cygwin* | mingw* | cegcc*)
                   4776:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4777:     # about 5 minutes as the teststring grows exponentially.
                   4778:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4779:     # you end up with a "frozen" computer, even though with patience
                   4780:     # the test eventually succeeds (with a max line length of 256k).
                   4781:     # Instead, let's just punt: use the minimum linelength reported by
                   4782:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4783:     lt_cv_sys_max_cmd_len=8192;
                   4784:     ;;
                   4785: 
                   4786:   mint*)
                   4787:     # On MiNT this can take a long time and run out of memory.
                   4788:     lt_cv_sys_max_cmd_len=8192;
                   4789:     ;;
                   4790: 
                   4791:   amigaos*)
                   4792:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4793:     # So we just punt and use a minimum line length of 8192.
                   4794:     lt_cv_sys_max_cmd_len=8192;
                   4795:     ;;
                   4796: 
                   4797:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4798:     # This has been around since 386BSD, at least.  Likely further.
                   4799:     if test -x /sbin/sysctl; then
                   4800:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4801:     elif test -x /usr/sbin/sysctl; then
                   4802:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4803:     else
                   4804:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4805:     fi
                   4806:     # And add a safety zone
                   4807:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4808:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4809:     ;;
                   4810: 
                   4811:   interix*)
                   4812:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4813:     lt_cv_sys_max_cmd_len=196608
                   4814:     ;;
                   4815: 
                   4816:   os2*)
                   4817:     # The test takes a long time on OS/2.
                   4818:     lt_cv_sys_max_cmd_len=8192
                   4819:     ;;
                   4820: 
                   4821:   osf*)
                   4822:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4823:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4824:     # nice to cause kernel panics so lets avoid the loop below.
                   4825:     # First set a reasonable default.
                   4826:     lt_cv_sys_max_cmd_len=16384
                   4827:     #
                   4828:     if test -x /sbin/sysconfig; then
                   4829:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4830:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4831:       esac
                   4832:     fi
                   4833:     ;;
                   4834:   sco3.2v5*)
                   4835:     lt_cv_sys_max_cmd_len=102400
                   4836:     ;;
                   4837:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4838:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4839:     if test -n "$kargmax"; then
                   4840:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4841:     else
                   4842:       lt_cv_sys_max_cmd_len=32768
                   4843:     fi
                   4844:     ;;
                   4845:   *)
                   4846:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4847:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4848:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4849:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4850:     else
                   4851:       # Make teststring a little bigger before we do anything with it.
                   4852:       # a 1K string should be a reasonable start.
                   4853:       for i in 1 2 3 4 5 6 7 8 ; do
                   4854:         teststring=$teststring$teststring
                   4855:       done
                   4856:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4857:       # If test is not a shell built-in, we'll probably end up computing a
                   4858:       # maximum length that is only half of the actual maximum length, but
                   4859:       # we can't tell.
                   4860:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4861:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4862:              test $i != 17 # 1/2 MB should be enough
                   4863:       do
                   4864:         i=`expr $i + 1`
                   4865:         teststring=$teststring$teststring
                   4866:       done
                   4867:       # Only check the string length outside the loop.
                   4868:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4869:       teststring=
                   4870:       # Add a significant safety factor because C++ compilers can tack on
                   4871:       # massive amounts of additional arguments before passing them to the
                   4872:       # linker.  It appears as though 1/2 is a usable value.
                   4873:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4874:     fi
                   4875:     ;;
                   4876:   esac
                   4877: 
                   4878: fi
                   4879: 
                   4880: if test -n $lt_cv_sys_max_cmd_len ; then
                   4881:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4882: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4883: else
                   4884:   echo "$as_me:$LINENO: result: none" >&5
                   4885: echo "${ECHO_T}none" >&6
                   4886: fi
                   4887: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4888: 
                   4889: 
                   4890: 
                   4891: 
                   4892: 
                   4893: 
                   4894: : ${CP="cp -f"}
                   4895: : ${MV="mv -f"}
                   4896: : ${RM="rm -f"}
                   4897: 
                   4898: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4899: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4900: # Try some XSI features
                   4901: xsi_shell=no
                   4902: ( _lt_dummy="a/b/c"
                   4903:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4904:       = c,a/b,b/c, \
                   4905:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4906:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4907:   && xsi_shell=yes
                   4908: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4909: echo "${ECHO_T}$xsi_shell" >&6
                   4910: 
                   4911: 
                   4912: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4913: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4914: lt_shell_append=no
                   4915: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4916:     >/dev/null 2>&1 \
                   4917:   && lt_shell_append=yes
                   4918: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4919: echo "${ECHO_T}$lt_shell_append" >&6
                   4920: 
                   4921: 
                   4922: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4923:   lt_unset=unset
                   4924: else
                   4925:   lt_unset=false
                   4926: fi
                   4927: 
                   4928: 
                   4929: 
                   4930: 
                   4931: 
                   4932: # test EBCDIC or ASCII
                   4933: case `echo X|tr X '\101'` in
                   4934:  A) # ASCII based system
                   4935:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4936:   lt_SP2NL='tr \040 \012'
                   4937:   lt_NL2SP='tr \015\012 \040\040'
                   4938:   ;;
                   4939:  *) # EBCDIC based system
                   4940:   lt_SP2NL='tr \100 \n'
                   4941:   lt_NL2SP='tr \r\n \100\100'
                   4942:   ;;
                   4943: esac
                   4944: 
                   4945: 
                   4946: 
                   4947: 
                   4948: 
                   4949: 
                   4950: 
                   4951: 
                   4952: 
                   4953: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4954: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4955: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4956:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4957: else
                   4958:   case $host in
                   4959:   *-*-mingw* )
                   4960:     case $build in
                   4961:       *-*-mingw* ) # actually msys
                   4962:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4963:         ;;
                   4964:       *-*-cygwin* )
                   4965:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4966:         ;;
                   4967:       * ) # otherwise, assume *nix
                   4968:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4969:         ;;
                   4970:     esac
                   4971:     ;;
                   4972:   *-*-cygwin* )
                   4973:     case $build in
                   4974:       *-*-mingw* ) # actually msys
                   4975:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4976:         ;;
                   4977:       *-*-cygwin* )
                   4978:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4979:         ;;
                   4980:       * ) # otherwise, assume *nix
                   4981:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4982:         ;;
                   4983:     esac
                   4984:     ;;
                   4985:   * ) # unhandled hosts (and "normal" native builds)
                   4986:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4987:     ;;
                   4988: esac
                   4989: 
                   4990: fi
                   4991: 
                   4992: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4993: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4994: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   4995: 
                   4996: 
                   4997: 
                   4998: 
                   4999: 
                   5000: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   5001: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   5002: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   5003:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5004: else
                   5005:   #assume ordinary cross tools, or native build.
                   5006: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5007: case $host in
                   5008:   *-*-mingw* )
                   5009:     case $build in
                   5010:       *-*-mingw* ) # actually msys
                   5011:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5012:         ;;
                   5013:     esac
                   5014:     ;;
                   5015: esac
                   5016: 
                   5017: fi
                   5018: 
                   5019: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5020: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   5021: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   5022: 
                   5023: 
                   5024: 
                   5025: 
                   5026: 
                   5027: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   5028: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   5029: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   5030:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5031: else
                   5032:   lt_cv_ld_reload_flag='-r'
                   5033: fi
                   5034: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   5035: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   5036: reload_flag=$lt_cv_ld_reload_flag
                   5037: case $reload_flag in
                   5038: "" | " "*) ;;
                   5039: *) reload_flag=" $reload_flag" ;;
                   5040: esac
                   5041: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5042: case $host_os in
                   5043:   cygwin* | mingw* | pw32* | cegcc*)
                   5044:     if test "$GCC" != yes; then
                   5045:       reload_cmds=false
                   5046:     fi
                   5047:     ;;
                   5048:   darwin*)
                   5049:     if test "$GCC" = yes; then
                   5050:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5051:     else
                   5052:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5053:     fi
                   5054:     ;;
                   5055: esac
                   5056: 
                   5057: 
                   5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: 
                   5063: 
                   5064: 
                   5065: if test -n "$ac_tool_prefix"; then
                   5066:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5067: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5068: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5069: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5070: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   5071:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5072: else
                   5073:   if test -n "$OBJDUMP"; then
                   5074:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5075: else
                   5076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5077: for as_dir in $PATH
                   5078: do
                   5079:   IFS=$as_save_IFS
                   5080:   test -z "$as_dir" && as_dir=.
                   5081:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5082:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5083:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5084:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5085:     break 2
                   5086:   fi
                   5087: done
                   5088: done
                   5089: 
                   5090: fi
                   5091: fi
                   5092: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5093: if test -n "$OBJDUMP"; then
                   5094:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   5095: echo "${ECHO_T}$OBJDUMP" >&6
                   5096: else
                   5097:   echo "$as_me:$LINENO: result: no" >&5
                   5098: echo "${ECHO_T}no" >&6
                   5099: fi
                   5100: 
                   5101: fi
                   5102: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5103:   ac_ct_OBJDUMP=$OBJDUMP
                   5104:   # Extract the first word of "objdump", so it can be a program name with args.
                   5105: set dummy objdump; ac_word=$2
                   5106: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5107: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5108: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   5109:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5110: else
                   5111:   if test -n "$ac_ct_OBJDUMP"; then
                   5112:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5113: else
                   5114: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5115: for as_dir in $PATH
                   5116: do
                   5117:   IFS=$as_save_IFS
                   5118:   test -z "$as_dir" && as_dir=.
                   5119:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5120:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5121:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5122:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5123:     break 2
                   5124:   fi
                   5125: done
                   5126: done
                   5127: 
                   5128:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   5129: fi
                   5130: fi
                   5131: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5132: if test -n "$ac_ct_OBJDUMP"; then
                   5133:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   5134: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   5135: else
                   5136:   echo "$as_me:$LINENO: result: no" >&5
                   5137: echo "${ECHO_T}no" >&6
                   5138: fi
                   5139: 
                   5140:   OBJDUMP=$ac_ct_OBJDUMP
                   5141: else
                   5142:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5143: fi
                   5144: 
                   5145: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5146: 
                   5147: 
                   5148: 
                   5149: 
                   5150: 
                   5151: 
                   5152: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   5153: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   5154: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   5155:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5156: else
                   5157:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5158: lt_cv_file_magic_test_file=
                   5159: lt_cv_deplibs_check_method='unknown'
                   5160: # Need to set the preceding variable on all platforms that support
                   5161: # interlibrary dependencies.
                   5162: # 'none' -- dependencies not supported.
                   5163: # `unknown' -- same as none, but documents that we really don't know.
                   5164: # 'pass_all' -- all dependencies passed with no checks.
                   5165: # 'test_compile' -- check by making test program.
                   5166: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5167: # which responds to the $file_magic_cmd with a given extended regex.
                   5168: # If you have `file' or equivalent on your system and you're not sure
                   5169: # whether `pass_all' will *always* work, you probably want this one.
                   5170: 
                   5171: case $host_os in
                   5172: aix[4-9]*)
                   5173:   lt_cv_deplibs_check_method=pass_all
                   5174:   ;;
                   5175: 
                   5176: beos*)
                   5177:   lt_cv_deplibs_check_method=pass_all
                   5178:   ;;
                   5179: 
                   5180: bsdi[45]*)
                   5181:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5182:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5183:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5184:   ;;
                   5185: 
                   5186: cygwin*)
                   5187:   # func_win32_libid is a shell function defined in ltmain.sh
                   5188:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5189:   lt_cv_file_magic_cmd='func_win32_libid'
                   5190:   ;;
                   5191: 
                   5192: mingw* | pw32*)
                   5193:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5194:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5195:   # unless we find 'file', for example because we are cross-compiling.
                   5196:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5197:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5198:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5199:     lt_cv_file_magic_cmd='func_win32_libid'
                   5200:   else
                   5201:     # Keep this pattern in sync with the one in func_win32_libid.
                   5202:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5203:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5204:   fi
                   5205:   ;;
                   5206: 
                   5207: cegcc*)
                   5208:   # use the weaker test based on 'objdump'. See mingw*.
                   5209:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5210:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5211:   ;;
                   5212: 
                   5213: darwin* | rhapsody*)
                   5214:   lt_cv_deplibs_check_method=pass_all
                   5215:   ;;
                   5216: 
                   5217: freebsd* | dragonfly*)
                   5218:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5219:     case $host_cpu in
                   5220:     i*86 )
                   5221:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5222:       # Let's accept both of them until this is cleared up.
                   5223:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5224:       lt_cv_file_magic_cmd=/usr/bin/file
                   5225:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5226:       ;;
                   5227:     esac
                   5228:   else
                   5229:     lt_cv_deplibs_check_method=pass_all
                   5230:   fi
                   5231:   ;;
                   5232: 
                   5233: gnu*)
                   5234:   lt_cv_deplibs_check_method=pass_all
                   5235:   ;;
                   5236: 
                   5237: haiku*)
                   5238:   lt_cv_deplibs_check_method=pass_all
                   5239:   ;;
                   5240: 
                   5241: hpux10.20* | hpux11*)
                   5242:   lt_cv_file_magic_cmd=/usr/bin/file
                   5243:   case $host_cpu in
                   5244:   ia64*)
                   5245:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5246:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5247:     ;;
                   5248:   hppa*64*)
                   5249:     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]'
                   5250:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5251:     ;;
                   5252:   *)
                   5253:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5254:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5255:     ;;
                   5256:   esac
                   5257:   ;;
                   5258: 
                   5259: interix[3-9]*)
                   5260:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5261:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5262:   ;;
                   5263: 
                   5264: irix5* | irix6* | nonstopux*)
                   5265:   case $LD in
                   5266:   *-32|*"-32 ") libmagic=32-bit;;
                   5267:   *-n32|*"-n32 ") libmagic=N32;;
                   5268:   *-64|*"-64 ") libmagic=64-bit;;
                   5269:   *) libmagic=never-match;;
                   5270:   esac
                   5271:   lt_cv_deplibs_check_method=pass_all
                   5272:   ;;
                   5273: 
                   5274: # This must be glibc/ELF.
                   5275: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5276:   lt_cv_deplibs_check_method=pass_all
                   5277:   ;;
                   5278: 
                   5279: netbsd*)
                   5280:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5281:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5282:   else
                   5283:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5284:   fi
                   5285:   ;;
                   5286: 
                   5287: newos6*)
                   5288:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5289:   lt_cv_file_magic_cmd=/usr/bin/file
                   5290:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5291:   ;;
                   5292: 
                   5293: *nto* | *qnx*)
                   5294:   lt_cv_deplibs_check_method=pass_all
                   5295:   ;;
                   5296: 
                   5297: openbsd*)
                   5298:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5299:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5300:   else
                   5301:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5302:   fi
                   5303:   ;;
                   5304: 
                   5305: osf3* | osf4* | osf5*)
                   5306:   lt_cv_deplibs_check_method=pass_all
                   5307:   ;;
                   5308: 
                   5309: rdos*)
                   5310:   lt_cv_deplibs_check_method=pass_all
                   5311:   ;;
                   5312: 
                   5313: solaris*)
                   5314:   lt_cv_deplibs_check_method=pass_all
                   5315:   ;;
                   5316: 
                   5317: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5318:   lt_cv_deplibs_check_method=pass_all
                   5319:   ;;
                   5320: 
                   5321: sysv4 | sysv4.3*)
                   5322:   case $host_vendor in
                   5323:   motorola)
                   5324:     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]'
                   5325:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5326:     ;;
                   5327:   ncr)
                   5328:     lt_cv_deplibs_check_method=pass_all
                   5329:     ;;
                   5330:   sequent)
                   5331:     lt_cv_file_magic_cmd='/bin/file'
                   5332:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5333:     ;;
                   5334:   sni)
                   5335:     lt_cv_file_magic_cmd='/bin/file'
                   5336:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5337:     lt_cv_file_magic_test_file=/lib/libc.so
                   5338:     ;;
                   5339:   siemens)
                   5340:     lt_cv_deplibs_check_method=pass_all
                   5341:     ;;
                   5342:   pc)
                   5343:     lt_cv_deplibs_check_method=pass_all
                   5344:     ;;
                   5345:   esac
                   5346:   ;;
                   5347: 
                   5348: tpf*)
                   5349:   lt_cv_deplibs_check_method=pass_all
                   5350:   ;;
                   5351: esac
                   5352: 
                   5353: fi
                   5354: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   5355: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   5356: 
                   5357: file_magic_glob=
                   5358: want_nocaseglob=no
                   5359: if test "$build" = "$host"; then
                   5360:   case $host_os in
                   5361:   mingw* | pw32*)
                   5362:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5363:       want_nocaseglob=yes
                   5364:     else
                   5365:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5366:     fi
                   5367:     ;;
                   5368:   esac
                   5369: fi
                   5370: 
                   5371: file_magic_cmd=$lt_cv_file_magic_cmd
                   5372: deplibs_check_method=$lt_cv_deplibs_check_method
                   5373: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5374: 
                   5375: 
                   5376: 
                   5377: 
                   5378: 
                   5379: 
                   5380: 
                   5381: 
                   5382: 
                   5383: 
                   5384: 
                   5385: 
                   5386: 
                   5387: 
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: if test -n "$ac_tool_prefix"; then
                   5397:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5398: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5399: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5400: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5401: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   5402:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5403: else
                   5404:   if test -n "$DLLTOOL"; then
                   5405:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5406: else
                   5407: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5408: for as_dir in $PATH
                   5409: do
                   5410:   IFS=$as_save_IFS
                   5411:   test -z "$as_dir" && as_dir=.
                   5412:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5413:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5414:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5415:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5416:     break 2
                   5417:   fi
                   5418: done
                   5419: done
                   5420: 
                   5421: fi
                   5422: fi
                   5423: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5424: if test -n "$DLLTOOL"; then
                   5425:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   5426: echo "${ECHO_T}$DLLTOOL" >&6
                   5427: else
                   5428:   echo "$as_me:$LINENO: result: no" >&5
                   5429: echo "${ECHO_T}no" >&6
                   5430: fi
                   5431: 
                   5432: fi
                   5433: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5434:   ac_ct_DLLTOOL=$DLLTOOL
                   5435:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5436: set dummy dlltool; ac_word=$2
                   5437: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5438: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5439: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   5440:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5441: else
                   5442:   if test -n "$ac_ct_DLLTOOL"; then
                   5443:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5444: else
                   5445: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5446: for as_dir in $PATH
                   5447: do
                   5448:   IFS=$as_save_IFS
                   5449:   test -z "$as_dir" && as_dir=.
                   5450:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5451:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5452:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5453:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5454:     break 2
                   5455:   fi
                   5456: done
                   5457: done
                   5458: 
                   5459:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   5460: fi
                   5461: fi
                   5462: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5463: if test -n "$ac_ct_DLLTOOL"; then
                   5464:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   5465: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   5466: else
                   5467:   echo "$as_me:$LINENO: result: no" >&5
                   5468: echo "${ECHO_T}no" >&6
                   5469: fi
                   5470: 
                   5471:   DLLTOOL=$ac_ct_DLLTOOL
                   5472: else
                   5473:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5474: fi
                   5475: 
                   5476: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5477: 
                   5478: 
                   5479: 
                   5480: 
                   5481: 
                   5482: 
                   5483: 
                   5484: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   5485: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   5486: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   5487:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5488: else
                   5489:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5490: 
                   5491: case $host_os in
                   5492: cygwin* | mingw* | pw32* | cegcc*)
                   5493:   # two different shell functions defined in ltmain.sh
                   5494:   # decide which to use based on capabilities of $DLLTOOL
                   5495:   case `$DLLTOOL --help 2>&1` in
                   5496:   *--identify-strict*)
                   5497:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5498:     ;;
                   5499:   *)
                   5500:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5501:     ;;
                   5502:   esac
                   5503:   ;;
                   5504: *)
                   5505:   # fallback: assume linklib IS sharedlib
                   5506:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5507:   ;;
                   5508: esac
                   5509: 
                   5510: fi
                   5511: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5512: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   5513: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5514: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5515: 
                   5516: 
                   5517: 
                   5518: 
                   5519: 
                   5520: 
                   5521: 
                   5522: if test -n "$ac_tool_prefix"; then
                   5523:   for ac_prog in ar
                   5524:   do
                   5525:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5526: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5527: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5528: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5529: if test "${ac_cv_prog_AR+set}" = set; then
                   5530:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5531: else
                   5532:   if test -n "$AR"; then
                   5533:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5534: else
                   5535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5536: for as_dir in $PATH
                   5537: do
                   5538:   IFS=$as_save_IFS
                   5539:   test -z "$as_dir" && as_dir=.
                   5540:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5541:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5542:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5543:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5544:     break 2
                   5545:   fi
                   5546: done
                   5547: done
                   5548: 
                   5549: fi
                   5550: fi
                   5551: AR=$ac_cv_prog_AR
                   5552: if test -n "$AR"; then
                   5553:   echo "$as_me:$LINENO: result: $AR" >&5
                   5554: echo "${ECHO_T}$AR" >&6
                   5555: else
                   5556:   echo "$as_me:$LINENO: result: no" >&5
                   5557: echo "${ECHO_T}no" >&6
                   5558: fi
                   5559: 
                   5560:     test -n "$AR" && break
                   5561:   done
                   5562: fi
                   5563: if test -z "$AR"; then
                   5564:   ac_ct_AR=$AR
                   5565:   for ac_prog in ar
                   5566: do
                   5567:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5568: set dummy $ac_prog; ac_word=$2
                   5569: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5570: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5571: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   5572:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5573: else
                   5574:   if test -n "$ac_ct_AR"; then
                   5575:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5576: else
                   5577: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5578: for as_dir in $PATH
                   5579: do
                   5580:   IFS=$as_save_IFS
                   5581:   test -z "$as_dir" && as_dir=.
                   5582:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5583:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5584:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5585:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5586:     break 2
                   5587:   fi
                   5588: done
                   5589: done
                   5590: 
                   5591: fi
                   5592: fi
                   5593: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5594: if test -n "$ac_ct_AR"; then
                   5595:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   5596: echo "${ECHO_T}$ac_ct_AR" >&6
                   5597: else
                   5598:   echo "$as_me:$LINENO: result: no" >&5
                   5599: echo "${ECHO_T}no" >&6
                   5600: fi
                   5601: 
                   5602:   test -n "$ac_ct_AR" && break
                   5603: done
                   5604: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   5605: 
                   5606:   AR=$ac_ct_AR
                   5607: fi
                   5608: 
                   5609: : ${AR=ar}
                   5610: : ${AR_FLAGS=cru}
                   5611: 
                   5612: 
                   5613: 
                   5614: 
                   5615: 
                   5616: 
                   5617: 
                   5618: 
                   5619: 
                   5620: 
                   5621: 
                   5622: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   5623: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   5624: if test "${lt_cv_ar_at_file+set}" = set; then
                   5625:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5626: else
                   5627:   lt_cv_ar_at_file=no
                   5628:    cat >conftest.$ac_ext <<_ACEOF
                   5629: /* confdefs.h.  */
                   5630: _ACEOF
                   5631: cat confdefs.h >>conftest.$ac_ext
                   5632: cat >>conftest.$ac_ext <<_ACEOF
                   5633: /* end confdefs.h.  */
                   5634: 
                   5635: int
                   5636: main ()
                   5637: {
                   5638: 
                   5639:   ;
                   5640:   return 0;
                   5641: }
                   5642: _ACEOF
                   5643: rm -f conftest.$ac_objext
                   5644: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5645:   (eval $ac_compile) 2>conftest.er1
                   5646:   ac_status=$?
                   5647:   grep -v '^ *+' conftest.er1 >conftest.err
                   5648:   rm -f conftest.er1
                   5649:   cat conftest.err >&5
                   5650:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5651:   (exit $ac_status); } &&
                   5652:         { ac_try='test -z "$ac_c_werror_flag"
                   5653:                         || test ! -s conftest.err'
                   5654:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5655:   (eval $ac_try) 2>&5
                   5656:   ac_status=$?
                   5657:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5658:   (exit $ac_status); }; } &&
                   5659:         { ac_try='test -s conftest.$ac_objext'
                   5660:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5661:   (eval $ac_try) 2>&5
                   5662:   ac_status=$?
                   5663:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5664:   (exit $ac_status); }; }; then
                   5665:   echo conftest.$ac_objext > conftest.lst
                   5666:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5667:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5668:   (eval $lt_ar_try) 2>&5
                   5669:   ac_status=$?
                   5670:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5671:   (exit $ac_status); }
                   5672:       if test "$ac_status" -eq 0; then
                   5673:        # Ensure the archiver fails upon bogus file names.
                   5674:        rm -f conftest.$ac_objext libconftest.a
                   5675:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5676:   (eval $lt_ar_try) 2>&5
                   5677:   ac_status=$?
                   5678:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5679:   (exit $ac_status); }
                   5680:        if test "$ac_status" -ne 0; then
                   5681:           lt_cv_ar_at_file=@
                   5682:         fi
                   5683:       fi
                   5684:       rm -f conftest.* libconftest.a
                   5685: 
                   5686: else
                   5687:   echo "$as_me: failed program was:" >&5
                   5688: sed 's/^/| /' conftest.$ac_ext >&5
                   5689: 
                   5690: fi
                   5691: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5692: 
                   5693: fi
                   5694: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5695: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
                   5696: 
                   5697: if test "x$lt_cv_ar_at_file" = xno; then
                   5698:   archiver_list_spec=
                   5699: else
                   5700:   archiver_list_spec=$lt_cv_ar_at_file
                   5701: fi
                   5702: 
                   5703: 
                   5704: 
                   5705: 
                   5706: 
                   5707: 
                   5708: 
                   5709: if test -n "$ac_tool_prefix"; then
                   5710:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5711: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5712: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5713: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5714: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5715:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5716: else
                   5717:   if test -n "$STRIP"; then
                   5718:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5719: else
                   5720: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5721: for as_dir in $PATH
                   5722: do
                   5723:   IFS=$as_save_IFS
                   5724:   test -z "$as_dir" && as_dir=.
                   5725:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5726:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5727:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5728:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5729:     break 2
                   5730:   fi
                   5731: done
                   5732: done
                   5733: 
                   5734: fi
                   5735: fi
                   5736: STRIP=$ac_cv_prog_STRIP
                   5737: if test -n "$STRIP"; then
                   5738:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5739: echo "${ECHO_T}$STRIP" >&6
                   5740: else
                   5741:   echo "$as_me:$LINENO: result: no" >&5
                   5742: echo "${ECHO_T}no" >&6
                   5743: fi
                   5744: 
                   5745: fi
                   5746: if test -z "$ac_cv_prog_STRIP"; then
                   5747:   ac_ct_STRIP=$STRIP
                   5748:   # Extract the first word of "strip", so it can be a program name with args.
                   5749: set dummy strip; ac_word=$2
                   5750: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5751: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5752: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5753:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5754: else
                   5755:   if test -n "$ac_ct_STRIP"; then
                   5756:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5757: else
                   5758: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5759: for as_dir in $PATH
                   5760: do
                   5761:   IFS=$as_save_IFS
                   5762:   test -z "$as_dir" && as_dir=.
                   5763:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5764:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5765:     ac_cv_prog_ac_ct_STRIP="strip"
                   5766:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5767:     break 2
                   5768:   fi
                   5769: done
                   5770: done
                   5771: 
                   5772:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5773: fi
                   5774: fi
                   5775: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5776: if test -n "$ac_ct_STRIP"; then
                   5777:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5778: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5779: else
                   5780:   echo "$as_me:$LINENO: result: no" >&5
                   5781: echo "${ECHO_T}no" >&6
                   5782: fi
                   5783: 
                   5784:   STRIP=$ac_ct_STRIP
                   5785: else
                   5786:   STRIP="$ac_cv_prog_STRIP"
                   5787: fi
                   5788: 
                   5789: test -z "$STRIP" && STRIP=:
                   5790: 
                   5791: 
                   5792: 
                   5793: 
                   5794: 
                   5795: 
                   5796: if test -n "$ac_tool_prefix"; then
                   5797:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5798: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5799: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5800: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5801: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5802:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5803: else
                   5804:   if test -n "$RANLIB"; then
                   5805:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5806: else
                   5807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5808: for as_dir in $PATH
                   5809: do
                   5810:   IFS=$as_save_IFS
                   5811:   test -z "$as_dir" && as_dir=.
                   5812:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5813:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5814:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5815:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5816:     break 2
                   5817:   fi
                   5818: done
                   5819: done
                   5820: 
                   5821: fi
                   5822: fi
                   5823: RANLIB=$ac_cv_prog_RANLIB
                   5824: if test -n "$RANLIB"; then
                   5825:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5826: echo "${ECHO_T}$RANLIB" >&6
                   5827: else
                   5828:   echo "$as_me:$LINENO: result: no" >&5
                   5829: echo "${ECHO_T}no" >&6
                   5830: fi
                   5831: 
                   5832: fi
                   5833: if test -z "$ac_cv_prog_RANLIB"; then
                   5834:   ac_ct_RANLIB=$RANLIB
                   5835:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5836: set dummy ranlib; ac_word=$2
                   5837: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5838: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5839: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5840:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5841: else
                   5842:   if test -n "$ac_ct_RANLIB"; then
                   5843:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5844: else
                   5845: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5846: for as_dir in $PATH
                   5847: do
                   5848:   IFS=$as_save_IFS
                   5849:   test -z "$as_dir" && as_dir=.
                   5850:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5851:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5852:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5853:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5854:     break 2
                   5855:   fi
                   5856: done
                   5857: done
                   5858: 
                   5859:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5860: fi
                   5861: fi
                   5862: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5863: if test -n "$ac_ct_RANLIB"; then
                   5864:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5865: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5866: else
                   5867:   echo "$as_me:$LINENO: result: no" >&5
                   5868: echo "${ECHO_T}no" >&6
                   5869: fi
                   5870: 
                   5871:   RANLIB=$ac_ct_RANLIB
                   5872: else
                   5873:   RANLIB="$ac_cv_prog_RANLIB"
                   5874: fi
                   5875: 
                   5876: test -z "$RANLIB" && RANLIB=:
                   5877: 
                   5878: 
                   5879: 
                   5880: 
                   5881: 
                   5882: 
                   5883: # Determine commands to create old-style static archives.
                   5884: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5885: old_postinstall_cmds='chmod 644 $oldlib'
                   5886: old_postuninstall_cmds=
                   5887: 
                   5888: if test -n "$RANLIB"; then
                   5889:   case $host_os in
                   5890:   openbsd*)
                   5891:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5892:     ;;
                   5893:   *)
                   5894:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5895:     ;;
                   5896:   esac
                   5897:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5898: fi
                   5899: 
                   5900: case $host_os in
                   5901:   darwin*)
                   5902:     lock_old_archive_extraction=yes ;;
                   5903:   *)
                   5904:     lock_old_archive_extraction=no ;;
                   5905: esac
                   5906: 
                   5907: 
                   5908: 
                   5909: 
                   5910: 
                   5911: 
                   5912: 
                   5913: 
                   5914: 
                   5915: 
                   5916: 
                   5917: 
                   5918: 
                   5919: 
                   5920: 
                   5921: 
                   5922: 
                   5923: 
                   5924: 
                   5925: 
                   5926: 
                   5927: 
                   5928: 
                   5929: 
                   5930: 
                   5931: 
                   5932: 
                   5933: 
                   5934: 
                   5935: 
                   5936: 
                   5937: 
                   5938: 
                   5939: 
                   5940: 
                   5941: 
                   5942: 
                   5943: 
                   5944: 
                   5945: # If no C compiler was specified, use CC.
                   5946: LTCC=${LTCC-"$CC"}
                   5947: 
                   5948: # If no C compiler flags were specified, use CFLAGS.
                   5949: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5950: 
                   5951: # Allow CC to be a program name with arguments.
                   5952: compiler=$CC
                   5953: 
                   5954: 
                   5955: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5956: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5957: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5958: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5959:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5960: else
                   5961: 
                   5962: # These are sane defaults that work on at least a few old systems.
                   5963: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5964: 
                   5965: # Character class describing NM global symbol codes.
                   5966: symcode='[BCDEGRST]'
                   5967: 
                   5968: # Regexp to match symbols that can be accessed directly from C.
                   5969: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5970: 
                   5971: # Define system-specific variables.
                   5972: case $host_os in
                   5973: aix*)
                   5974:   symcode='[BCDT]'
                   5975:   ;;
                   5976: cygwin* | mingw* | pw32* | cegcc*)
                   5977:   symcode='[ABCDGISTW]'
                   5978:   ;;
                   5979: hpux*)
                   5980:   if test "$host_cpu" = ia64; then
                   5981:     symcode='[ABCDEGRST]'
                   5982:   fi
                   5983:   ;;
                   5984: irix* | nonstopux*)
                   5985:   symcode='[BCDEGRST]'
                   5986:   ;;
                   5987: osf*)
                   5988:   symcode='[BCDEGQRST]'
                   5989:   ;;
                   5990: solaris*)
                   5991:   symcode='[BDRT]'
                   5992:   ;;
                   5993: sco3.2v5*)
                   5994:   symcode='[DT]'
                   5995:   ;;
                   5996: sysv4.2uw2*)
                   5997:   symcode='[DT]'
                   5998:   ;;
                   5999: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6000:   symcode='[ABDT]'
                   6001:   ;;
                   6002: sysv4)
                   6003:   symcode='[DFNSTU]'
                   6004:   ;;
                   6005: esac
                   6006: 
                   6007: # If we're using GNU nm, then use its standard symbol codes.
                   6008: case `$NM -V 2>&1` in
                   6009: *GNU* | *'with BFD'*)
                   6010:   symcode='[ABCDGIRSTW]' ;;
                   6011: esac
                   6012: 
                   6013: # Transform an extracted symbol line into a proper C declaration.
                   6014: # Some systems (esp. on ia64) link data and code symbols differently,
                   6015: # so use this general approach.
                   6016: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6017: 
                   6018: # Transform an extracted symbol line into symbol name and symbol address
                   6019: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6020: 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'"
                   6021: 
                   6022: # Handle CRLF in mingw tool chain
                   6023: opt_cr=
                   6024: case $build_os in
                   6025: mingw*)
                   6026:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6027:   ;;
                   6028: esac
                   6029: 
                   6030: # Try without a prefix underscore, then with it.
                   6031: for ac_symprfx in "" "_"; do
                   6032: 
                   6033:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6034:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6035: 
                   6036:   # Write the raw and C identifiers.
                   6037:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6038:     # Fake it for dumpbin and say T for any non-static function
                   6039:     # and D for any global variable.
                   6040:     # Also find C++ and __fastcall symbols from MSVC++,
                   6041:     # which start with @ or ?.
                   6042:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6043: "     {last_section=section; section=\$ 3};"\
                   6044: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6045: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6046: "     \$ 0!~/External *\|/{next};"\
                   6047: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6048: "     {if(hide[section]) next};"\
                   6049: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6050: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6051: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6052: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6053: "     ' prfx=^$ac_symprfx"
                   6054:   else
                   6055:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6056:   fi
                   6057:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6058: 
                   6059:   # Check to see that the pipe works correctly.
                   6060:   pipe_works=no
                   6061: 
                   6062:   rm -f conftest*
                   6063:   cat > conftest.$ac_ext <<_LT_EOF
                   6064: #ifdef __cplusplus
                   6065: extern "C" {
                   6066: #endif
                   6067: char nm_test_var;
                   6068: void nm_test_func(void);
                   6069: void nm_test_func(void){}
                   6070: #ifdef __cplusplus
                   6071: }
                   6072: #endif
                   6073: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6074: _LT_EOF
                   6075: 
                   6076:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6077:   (eval $ac_compile) 2>&5
                   6078:   ac_status=$?
                   6079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6080:   (exit $ac_status); }; then
                   6081:     # Now try to grab the symbols.
                   6082:     nlist=conftest.nm
                   6083:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   6084:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6085:   ac_status=$?
                   6086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6087:   (exit $ac_status); } && test -s "$nlist"; then
                   6088:       # Try sorting and uniquifying the output.
                   6089:       if sort "$nlist" | uniq > "$nlist"T; then
                   6090:        mv -f "$nlist"T "$nlist"
                   6091:       else
                   6092:        rm -f "$nlist"T
                   6093:       fi
                   6094: 
                   6095:       # Make sure that we snagged all the symbols we need.
                   6096:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6097:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6098:          cat <<_LT_EOF > conftest.$ac_ext
                   6099: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6100: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6101: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6102:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6103: # define LT_DLSYM_CONST
                   6104: #elif defined(__osf__)
                   6105: /* This system does not cope well with relocations in const data.  */
                   6106: # define LT_DLSYM_CONST
                   6107: #else
                   6108: # define LT_DLSYM_CONST const
                   6109: #endif
                   6110: 
                   6111: #ifdef __cplusplus
                   6112: extern "C" {
                   6113: #endif
                   6114: 
                   6115: _LT_EOF
                   6116:          # Now generate the symbol file.
                   6117:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6118: 
                   6119:          cat <<_LT_EOF >> conftest.$ac_ext
                   6120: 
                   6121: /* The mapping between symbol names and symbols.  */
                   6122: LT_DLSYM_CONST struct {
                   6123:   const char *name;
                   6124:   void       *address;
                   6125: }
                   6126: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6127: {
                   6128:   { "@PROGRAM@", (void *) 0 },
                   6129: _LT_EOF
                   6130:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6131:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6132:   {0, (void *) 0}
                   6133: };
                   6134: 
                   6135: /* This works around a problem in FreeBSD linker */
                   6136: #ifdef FREEBSD_WORKAROUND
                   6137: static const void *lt_preloaded_setup() {
                   6138:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6139: }
                   6140: #endif
                   6141: 
                   6142: #ifdef __cplusplus
                   6143: }
                   6144: #endif
                   6145: _LT_EOF
                   6146:          # Now try linking the two files.
                   6147:          mv conftest.$ac_objext conftstm.$ac_objext
                   6148:          lt_globsym_save_LIBS=$LIBS
                   6149:          lt_globsym_save_CFLAGS=$CFLAGS
                   6150:          LIBS="conftstm.$ac_objext"
                   6151:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6152:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6153:   (eval $ac_link) 2>&5
                   6154:   ac_status=$?
                   6155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6156:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   6157:            pipe_works=yes
                   6158:          fi
                   6159:          LIBS=$lt_globsym_save_LIBS
                   6160:          CFLAGS=$lt_globsym_save_CFLAGS
                   6161:        else
                   6162:          echo "cannot find nm_test_func in $nlist" >&5
                   6163:        fi
                   6164:       else
                   6165:        echo "cannot find nm_test_var in $nlist" >&5
                   6166:       fi
                   6167:     else
                   6168:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6169:     fi
                   6170:   else
                   6171:     echo "$progname: failed program was:" >&5
                   6172:     cat conftest.$ac_ext >&5
                   6173:   fi
                   6174:   rm -rf conftest* conftst*
                   6175: 
                   6176:   # Do not use the global_symbol_pipe unless it works.
                   6177:   if test "$pipe_works" = yes; then
                   6178:     break
                   6179:   else
                   6180:     lt_cv_sys_global_symbol_pipe=
                   6181:   fi
                   6182: done
                   6183: 
                   6184: fi
                   6185: 
                   6186: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6187:   lt_cv_sys_global_symbol_to_cdecl=
                   6188: fi
                   6189: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6190:   echo "$as_me:$LINENO: result: failed" >&5
                   6191: echo "${ECHO_T}failed" >&6
                   6192: else
                   6193:   echo "$as_me:$LINENO: result: ok" >&5
                   6194: echo "${ECHO_T}ok" >&6
                   6195: fi
                   6196: 
                   6197: # Response file support.
                   6198: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6199:   nm_file_list_spec='@'
                   6200: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6201:   nm_file_list_spec='@'
                   6202: fi
                   6203: 
                   6204: 
                   6205: 
                   6206: 
                   6207: 
                   6208: 
                   6209: 
                   6210: 
                   6211: 
                   6212: 
                   6213: 
                   6214: 
                   6215: 
                   6216: 
                   6217: 
                   6218: 
                   6219: 
                   6220: 
                   6221: 
                   6222: 
                   6223: 
                   6224: 
                   6225: 
                   6226: 
                   6227: 
                   6228: 
                   6229: 
                   6230: echo "$as_me:$LINENO: checking for sysroot" >&5
                   6231: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   6232: 
                   6233: # Check whether --with-sysroot or --without-sysroot was given.
                   6234: if test "${with_sysroot+set}" = set; then
                   6235:   withval="$with_sysroot"
                   6236: 
                   6237: else
                   6238:   with_sysroot=no
                   6239: fi;
                   6240: 
                   6241: lt_sysroot=
                   6242: case ${with_sysroot} in #(
                   6243:  yes)
                   6244:    if test "$GCC" = yes; then
                   6245:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6246:    fi
                   6247:    ;; #(
                   6248:  /*)
                   6249:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6250:    ;; #(
                   6251:  no|'')
                   6252:    ;; #(
                   6253:  *)
                   6254:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   6255: echo "${ECHO_T}${with_sysroot}" >&6
                   6256:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   6257: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   6258:    { (exit 1); exit 1; }; }
                   6259:    ;;
                   6260: esac
                   6261: 
                   6262:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   6263: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   6264: 
                   6265: 
                   6266: 
                   6267: 
                   6268: 
                   6269: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   6270: if test "${enable_libtool_lock+set}" = set; then
                   6271:   enableval="$enable_libtool_lock"
                   6272: 
                   6273: fi;
                   6274: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6275: 
                   6276: # Some flags need to be propagated to the compiler or linker for good
                   6277: # libtool support.
                   6278: case $host in
                   6279: ia64-*-hpux*)
                   6280:   # Find out which ABI we are using.
                   6281:   echo 'int i;' > conftest.$ac_ext
                   6282:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6283:   (eval $ac_compile) 2>&5
                   6284:   ac_status=$?
                   6285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6286:   (exit $ac_status); }; then
                   6287:     case `/usr/bin/file conftest.$ac_objext` in
                   6288:       *ELF-32*)
                   6289:        HPUX_IA64_MODE="32"
                   6290:        ;;
                   6291:       *ELF-64*)
                   6292:        HPUX_IA64_MODE="64"
                   6293:        ;;
                   6294:     esac
                   6295:   fi
                   6296:   rm -rf conftest*
                   6297:   ;;
                   6298: *-*-irix6*)
                   6299:   # Find out which ABI we are using.
                   6300:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6301:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6302:   (eval $ac_compile) 2>&5
                   6303:   ac_status=$?
                   6304:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6305:   (exit $ac_status); }; then
                   6306:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6307:       case `/usr/bin/file conftest.$ac_objext` in
                   6308:        *32-bit*)
                   6309:          LD="${LD-ld} -melf32bsmip"
                   6310:          ;;
                   6311:        *N32*)
                   6312:          LD="${LD-ld} -melf32bmipn32"
                   6313:          ;;
                   6314:        *64-bit*)
                   6315:          LD="${LD-ld} -melf64bmip"
                   6316:        ;;
                   6317:       esac
                   6318:     else
                   6319:       case `/usr/bin/file conftest.$ac_objext` in
                   6320:        *32-bit*)
                   6321:          LD="${LD-ld} -32"
                   6322:          ;;
                   6323:        *N32*)
                   6324:          LD="${LD-ld} -n32"
                   6325:          ;;
                   6326:        *64-bit*)
                   6327:          LD="${LD-ld} -64"
                   6328:          ;;
                   6329:       esac
                   6330:     fi
                   6331:   fi
                   6332:   rm -rf conftest*
                   6333:   ;;
                   6334: 
                   6335: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6336: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6337:   # Find out which ABI we are using.
                   6338:   echo 'int i;' > conftest.$ac_ext
                   6339:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6340:   (eval $ac_compile) 2>&5
                   6341:   ac_status=$?
                   6342:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6343:   (exit $ac_status); }; then
                   6344:     case `/usr/bin/file conftest.o` in
                   6345:       *32-bit*)
                   6346:        case $host in
                   6347:          x86_64-*kfreebsd*-gnu)
                   6348:            LD="${LD-ld} -m elf_i386_fbsd"
                   6349:            ;;
                   6350:          x86_64-*linux*)
                   6351:            LD="${LD-ld} -m elf_i386"
                   6352:            ;;
                   6353:          ppc64-*linux*|powerpc64-*linux*)
                   6354:            LD="${LD-ld} -m elf32ppclinux"
                   6355:            ;;
                   6356:          s390x-*linux*)
                   6357:            LD="${LD-ld} -m elf_s390"
                   6358:            ;;
                   6359:          sparc64-*linux*)
                   6360:            LD="${LD-ld} -m elf32_sparc"
                   6361:            ;;
                   6362:        esac
                   6363:        ;;
                   6364:       *64-bit*)
                   6365:        case $host in
                   6366:          x86_64-*kfreebsd*-gnu)
                   6367:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6368:            ;;
                   6369:          x86_64-*linux*)
                   6370:            LD="${LD-ld} -m elf_x86_64"
                   6371:            ;;
                   6372:          ppc*-*linux*|powerpc*-*linux*)
                   6373:            LD="${LD-ld} -m elf64ppc"
                   6374:            ;;
                   6375:          s390*-*linux*|s390*-*tpf*)
                   6376:            LD="${LD-ld} -m elf64_s390"
                   6377:            ;;
                   6378:          sparc*-*linux*)
                   6379:            LD="${LD-ld} -m elf64_sparc"
                   6380:            ;;
                   6381:        esac
                   6382:        ;;
                   6383:     esac
                   6384:   fi
                   6385:   rm -rf conftest*
                   6386:   ;;
                   6387: 
                   6388: *-*-sco3.2v5*)
                   6389:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6390:   SAVE_CFLAGS="$CFLAGS"
                   6391:   CFLAGS="$CFLAGS -belf"
                   6392:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   6393: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   6394: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   6395:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6396: else
                   6397:   ac_ext=c
                   6398: ac_cpp='$CPP $CPPFLAGS'
                   6399: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6400: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6401: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6402: 
                   6403:      cat >conftest.$ac_ext <<_ACEOF
                   6404: /* confdefs.h.  */
                   6405: _ACEOF
                   6406: cat confdefs.h >>conftest.$ac_ext
                   6407: cat >>conftest.$ac_ext <<_ACEOF
                   6408: /* end confdefs.h.  */
                   6409: 
                   6410: int
                   6411: main ()
                   6412: {
                   6413: 
                   6414:   ;
                   6415:   return 0;
                   6416: }
                   6417: _ACEOF
                   6418: rm -f conftest.$ac_objext conftest$ac_exeext
                   6419: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6420:   (eval $ac_link) 2>conftest.er1
                   6421:   ac_status=$?
                   6422:   grep -v '^ *+' conftest.er1 >conftest.err
                   6423:   rm -f conftest.er1
                   6424:   cat conftest.err >&5
                   6425:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6426:   (exit $ac_status); } &&
                   6427:         { ac_try='test -z "$ac_c_werror_flag"
                   6428:                         || test ! -s conftest.err'
                   6429:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6430:   (eval $ac_try) 2>&5
                   6431:   ac_status=$?
                   6432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6433:   (exit $ac_status); }; } &&
                   6434:         { ac_try='test -s conftest$ac_exeext'
                   6435:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6436:   (eval $ac_try) 2>&5
                   6437:   ac_status=$?
                   6438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6439:   (exit $ac_status); }; }; then
                   6440:   lt_cv_cc_needs_belf=yes
                   6441: else
                   6442:   echo "$as_me: failed program was:" >&5
                   6443: sed 's/^/| /' conftest.$ac_ext >&5
                   6444: 
                   6445: lt_cv_cc_needs_belf=no
                   6446: fi
                   6447: rm -f conftest.err conftest.$ac_objext \
                   6448:       conftest$ac_exeext conftest.$ac_ext
                   6449:      ac_ext=c
                   6450: ac_cpp='$CPP $CPPFLAGS'
                   6451: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6452: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6453: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6454: 
                   6455: fi
                   6456: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   6457: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   6458:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6459:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6460:     CFLAGS="$SAVE_CFLAGS"
                   6461:   fi
                   6462:   ;;
                   6463: *-*solaris*)
                   6464:   # Find out which ABI we are using.
                   6465:   echo 'int i;' > conftest.$ac_ext
                   6466:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6467:   (eval $ac_compile) 2>&5
                   6468:   ac_status=$?
                   6469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6470:   (exit $ac_status); }; then
                   6471:     case `/usr/bin/file conftest.o` in
                   6472:     *64-bit*)
                   6473:       case $lt_cv_prog_gnu_ld in
                   6474:       yes*)
                   6475:         case $host in
                   6476:         i?86-*-solaris*)
                   6477:           LD="${LD-ld} -m elf_x86_64"
                   6478:           ;;
                   6479:         sparc*-*-solaris*)
                   6480:           LD="${LD-ld} -m elf64_sparc"
                   6481:           ;;
                   6482:         esac
                   6483:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6484:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6485:           LD="${LD-ld}_sol2"
                   6486:         fi
                   6487:         ;;
                   6488:       *)
                   6489:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6490:          LD="${LD-ld} -64"
                   6491:        fi
                   6492:        ;;
                   6493:       esac
                   6494:       ;;
                   6495:     esac
                   6496:   fi
                   6497:   rm -rf conftest*
                   6498:   ;;
                   6499: esac
                   6500: 
                   6501: need_locks="$enable_libtool_lock"
                   6502: 
                   6503: if test -n "$ac_tool_prefix"; then
                   6504:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6505: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6506: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6507: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6508: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   6509:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6510: else
                   6511:   if test -n "$MANIFEST_TOOL"; then
                   6512:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6513: else
                   6514: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6515: for as_dir in $PATH
                   6516: do
                   6517:   IFS=$as_save_IFS
                   6518:   test -z "$as_dir" && as_dir=.
                   6519:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6520:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6521:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6522:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6523:     break 2
                   6524:   fi
                   6525: done
                   6526: done
                   6527: 
                   6528: fi
                   6529: fi
                   6530: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6531: if test -n "$MANIFEST_TOOL"; then
                   6532:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   6533: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   6534: else
                   6535:   echo "$as_me:$LINENO: result: no" >&5
                   6536: echo "${ECHO_T}no" >&6
                   6537: fi
                   6538: 
                   6539: fi
                   6540: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6541:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6542:   # Extract the first word of "mt", so it can be a program name with args.
                   6543: set dummy mt; ac_word=$2
                   6544: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6545: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6546: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   6547:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6548: else
                   6549:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6550:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6551: else
                   6552: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6553: for as_dir in $PATH
                   6554: do
                   6555:   IFS=$as_save_IFS
                   6556:   test -z "$as_dir" && as_dir=.
                   6557:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6558:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6559:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6560:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6561:     break 2
                   6562:   fi
                   6563: done
                   6564: done
                   6565: 
                   6566:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   6567: fi
                   6568: fi
                   6569: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6570: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6571:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   6572: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
                   6573: else
                   6574:   echo "$as_me:$LINENO: result: no" >&5
                   6575: echo "${ECHO_T}no" >&6
                   6576: fi
                   6577: 
                   6578:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6579: else
                   6580:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6581: fi
                   6582: 
                   6583: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6584: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6585: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   6586: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   6587:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6588: else
                   6589:   lt_cv_path_mainfest_tool=no
                   6590:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6591:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6592:   cat conftest.err >&5
                   6593:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6594:     lt_cv_path_mainfest_tool=yes
                   6595:   fi
                   6596:   rm -f conftest*
                   6597: fi
                   6598: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   6599: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   6600: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6601:   MANIFEST_TOOL=:
                   6602: fi
                   6603: 
                   6604: 
                   6605: 
                   6606: 
                   6607: 
                   6608: 
                   6609:   case $host_os in
                   6610:     rhapsody* | darwin*)
                   6611:     if test -n "$ac_tool_prefix"; then
                   6612:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6613: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6614: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6615: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6616: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   6617:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6618: else
                   6619:   if test -n "$DSYMUTIL"; then
                   6620:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6621: else
                   6622: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6623: for as_dir in $PATH
                   6624: do
                   6625:   IFS=$as_save_IFS
                   6626:   test -z "$as_dir" && as_dir=.
                   6627:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6628:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6629:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6630:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6631:     break 2
                   6632:   fi
                   6633: done
                   6634: done
                   6635: 
                   6636: fi
                   6637: fi
                   6638: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6639: if test -n "$DSYMUTIL"; then
                   6640:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   6641: echo "${ECHO_T}$DSYMUTIL" >&6
                   6642: else
                   6643:   echo "$as_me:$LINENO: result: no" >&5
                   6644: echo "${ECHO_T}no" >&6
                   6645: fi
                   6646: 
                   6647: fi
                   6648: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6649:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6650:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6651: set dummy dsymutil; ac_word=$2
                   6652: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6653: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6654: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   6655:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6656: else
                   6657:   if test -n "$ac_ct_DSYMUTIL"; then
                   6658:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6659: else
                   6660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6661: for as_dir in $PATH
                   6662: do
                   6663:   IFS=$as_save_IFS
                   6664:   test -z "$as_dir" && as_dir=.
                   6665:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6666:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6667:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6668:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6669:     break 2
                   6670:   fi
                   6671: done
                   6672: done
                   6673: 
                   6674:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6675: fi
                   6676: fi
                   6677: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6678: if test -n "$ac_ct_DSYMUTIL"; then
                   6679:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6680: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6681: else
                   6682:   echo "$as_me:$LINENO: result: no" >&5
                   6683: echo "${ECHO_T}no" >&6
                   6684: fi
                   6685: 
                   6686:   DSYMUTIL=$ac_ct_DSYMUTIL
                   6687: else
                   6688:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6689: fi
                   6690: 
                   6691:     if test -n "$ac_tool_prefix"; then
                   6692:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6693: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6694: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6695: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6696: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6697:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6698: else
                   6699:   if test -n "$NMEDIT"; then
                   6700:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6701: else
                   6702: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6703: for as_dir in $PATH
                   6704: do
                   6705:   IFS=$as_save_IFS
                   6706:   test -z "$as_dir" && as_dir=.
                   6707:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6708:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6709:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6710:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6711:     break 2
                   6712:   fi
                   6713: done
                   6714: done
                   6715: 
                   6716: fi
                   6717: fi
                   6718: NMEDIT=$ac_cv_prog_NMEDIT
                   6719: if test -n "$NMEDIT"; then
                   6720:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6721: echo "${ECHO_T}$NMEDIT" >&6
                   6722: else
                   6723:   echo "$as_me:$LINENO: result: no" >&5
                   6724: echo "${ECHO_T}no" >&6
                   6725: fi
                   6726: 
                   6727: fi
                   6728: if test -z "$ac_cv_prog_NMEDIT"; then
                   6729:   ac_ct_NMEDIT=$NMEDIT
                   6730:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6731: set dummy nmedit; ac_word=$2
                   6732: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6733: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6734: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6735:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6736: else
                   6737:   if test -n "$ac_ct_NMEDIT"; then
                   6738:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6739: else
                   6740: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6741: for as_dir in $PATH
                   6742: do
                   6743:   IFS=$as_save_IFS
                   6744:   test -z "$as_dir" && as_dir=.
                   6745:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6746:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6747:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6748:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6749:     break 2
                   6750:   fi
                   6751: done
                   6752: done
                   6753: 
                   6754:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6755: fi
                   6756: fi
                   6757: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6758: if test -n "$ac_ct_NMEDIT"; then
                   6759:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6760: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6761: else
                   6762:   echo "$as_me:$LINENO: result: no" >&5
                   6763: echo "${ECHO_T}no" >&6
                   6764: fi
                   6765: 
                   6766:   NMEDIT=$ac_ct_NMEDIT
                   6767: else
                   6768:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6769: fi
                   6770: 
                   6771:     if test -n "$ac_tool_prefix"; then
                   6772:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6773: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6774: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6775: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6776: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6777:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6778: else
                   6779:   if test -n "$LIPO"; then
                   6780:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6781: else
                   6782: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6783: for as_dir in $PATH
                   6784: do
                   6785:   IFS=$as_save_IFS
                   6786:   test -z "$as_dir" && as_dir=.
                   6787:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6788:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6789:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6790:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6791:     break 2
                   6792:   fi
                   6793: done
                   6794: done
                   6795: 
                   6796: fi
                   6797: fi
                   6798: LIPO=$ac_cv_prog_LIPO
                   6799: if test -n "$LIPO"; then
                   6800:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6801: echo "${ECHO_T}$LIPO" >&6
                   6802: else
                   6803:   echo "$as_me:$LINENO: result: no" >&5
                   6804: echo "${ECHO_T}no" >&6
                   6805: fi
                   6806: 
                   6807: fi
                   6808: if test -z "$ac_cv_prog_LIPO"; then
                   6809:   ac_ct_LIPO=$LIPO
                   6810:   # Extract the first word of "lipo", so it can be a program name with args.
                   6811: set dummy lipo; ac_word=$2
                   6812: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6813: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6814: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6815:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6816: else
                   6817:   if test -n "$ac_ct_LIPO"; then
                   6818:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6819: else
                   6820: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6821: for as_dir in $PATH
                   6822: do
                   6823:   IFS=$as_save_IFS
                   6824:   test -z "$as_dir" && as_dir=.
                   6825:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6826:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6827:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6828:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6829:     break 2
                   6830:   fi
                   6831: done
                   6832: done
                   6833: 
                   6834:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6835: fi
                   6836: fi
                   6837: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6838: if test -n "$ac_ct_LIPO"; then
                   6839:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6840: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6841: else
                   6842:   echo "$as_me:$LINENO: result: no" >&5
                   6843: echo "${ECHO_T}no" >&6
                   6844: fi
                   6845: 
                   6846:   LIPO=$ac_ct_LIPO
                   6847: else
                   6848:   LIPO="$ac_cv_prog_LIPO"
                   6849: fi
                   6850: 
                   6851:     if test -n "$ac_tool_prefix"; then
                   6852:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6853: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6854: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6855: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6856: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6857:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6858: else
                   6859:   if test -n "$OTOOL"; then
                   6860:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6861: else
                   6862: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6863: for as_dir in $PATH
                   6864: do
                   6865:   IFS=$as_save_IFS
                   6866:   test -z "$as_dir" && as_dir=.
                   6867:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6868:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6869:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6870:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6871:     break 2
                   6872:   fi
                   6873: done
                   6874: done
                   6875: 
                   6876: fi
                   6877: fi
                   6878: OTOOL=$ac_cv_prog_OTOOL
                   6879: if test -n "$OTOOL"; then
                   6880:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6881: echo "${ECHO_T}$OTOOL" >&6
                   6882: else
                   6883:   echo "$as_me:$LINENO: result: no" >&5
                   6884: echo "${ECHO_T}no" >&6
                   6885: fi
                   6886: 
                   6887: fi
                   6888: if test -z "$ac_cv_prog_OTOOL"; then
                   6889:   ac_ct_OTOOL=$OTOOL
                   6890:   # Extract the first word of "otool", so it can be a program name with args.
                   6891: set dummy otool; ac_word=$2
                   6892: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6893: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6894: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6895:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6896: else
                   6897:   if test -n "$ac_ct_OTOOL"; then
                   6898:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6899: else
                   6900: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6901: for as_dir in $PATH
                   6902: do
                   6903:   IFS=$as_save_IFS
                   6904:   test -z "$as_dir" && as_dir=.
                   6905:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6906:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6907:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6908:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6909:     break 2
                   6910:   fi
                   6911: done
                   6912: done
                   6913: 
                   6914:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6915: fi
                   6916: fi
                   6917: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6918: if test -n "$ac_ct_OTOOL"; then
                   6919:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6920: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6921: else
                   6922:   echo "$as_me:$LINENO: result: no" >&5
                   6923: echo "${ECHO_T}no" >&6
                   6924: fi
                   6925: 
                   6926:   OTOOL=$ac_ct_OTOOL
                   6927: else
                   6928:   OTOOL="$ac_cv_prog_OTOOL"
                   6929: fi
                   6930: 
                   6931:     if test -n "$ac_tool_prefix"; then
                   6932:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6933: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6934: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6935: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6936: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6937:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6938: else
                   6939:   if test -n "$OTOOL64"; then
                   6940:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6941: else
                   6942: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6943: for as_dir in $PATH
                   6944: do
                   6945:   IFS=$as_save_IFS
                   6946:   test -z "$as_dir" && as_dir=.
                   6947:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6948:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6949:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6950:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6951:     break 2
                   6952:   fi
                   6953: done
                   6954: done
                   6955: 
                   6956: fi
                   6957: fi
                   6958: OTOOL64=$ac_cv_prog_OTOOL64
                   6959: if test -n "$OTOOL64"; then
                   6960:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6961: echo "${ECHO_T}$OTOOL64" >&6
                   6962: else
                   6963:   echo "$as_me:$LINENO: result: no" >&5
                   6964: echo "${ECHO_T}no" >&6
                   6965: fi
                   6966: 
                   6967: fi
                   6968: if test -z "$ac_cv_prog_OTOOL64"; then
                   6969:   ac_ct_OTOOL64=$OTOOL64
                   6970:   # Extract the first word of "otool64", so it can be a program name with args.
                   6971: set dummy otool64; ac_word=$2
                   6972: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6973: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6974: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6975:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6976: else
                   6977:   if test -n "$ac_ct_OTOOL64"; then
                   6978:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6979: else
                   6980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6981: for as_dir in $PATH
                   6982: do
                   6983:   IFS=$as_save_IFS
                   6984:   test -z "$as_dir" && as_dir=.
                   6985:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6986:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6987:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6988:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6989:     break 2
                   6990:   fi
                   6991: done
                   6992: done
                   6993: 
                   6994:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   6995: fi
                   6996: fi
                   6997: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6998: if test -n "$ac_ct_OTOOL64"; then
                   6999:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   7000: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   7001: else
                   7002:   echo "$as_me:$LINENO: result: no" >&5
                   7003: echo "${ECHO_T}no" >&6
                   7004: fi
                   7005: 
                   7006:   OTOOL64=$ac_ct_OTOOL64
                   7007: else
                   7008:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7009: fi
                   7010: 
                   7011: 
                   7012: 
                   7013: 
                   7014: 
                   7015: 
                   7016: 
                   7017: 
                   7018: 
                   7019: 
                   7020: 
                   7021: 
                   7022: 
                   7023: 
                   7024: 
                   7025: 
                   7026: 
                   7027: 
                   7028: 
                   7029: 
                   7030: 
                   7031: 
                   7032: 
                   7033: 
                   7034: 
                   7035: 
                   7036: 
                   7037:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   7038: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   7039: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   7040:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7041: else
                   7042:   lt_cv_apple_cc_single_mod=no
                   7043:       if test -z "${LT_MULTI_MODULE}"; then
                   7044:        # By default we will add the -single_module flag. You can override
                   7045:        # by either setting the environment variable LT_MULTI_MODULE
                   7046:        # non-empty at configure time, or by adding -multi_module to the
                   7047:        # link flags.
                   7048:        rm -rf libconftest.dylib*
                   7049:        echo "int foo(void){return 1;}" > conftest.c
                   7050:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7051: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7052:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7053:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7054:         _lt_result=$?
                   7055:        # If there is a non-empty error log, and "single_module"
                   7056:        # appears in it, assume the flag caused a linker warning
                   7057:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7058:          cat conftest.err >&5
                   7059:        # Otherwise, if the output was created with a 0 exit code from
                   7060:        # the compiler, it worked.
                   7061:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7062:          lt_cv_apple_cc_single_mod=yes
                   7063:        else
                   7064:          cat conftest.err >&5
                   7065:        fi
                   7066:        rm -rf libconftest.dylib*
                   7067:        rm -f conftest.*
                   7068:       fi
                   7069: fi
                   7070: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   7071: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
                   7072: 
                   7073:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   7074: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   7075: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   7076:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7077: else
                   7078:   lt_cv_ld_exported_symbols_list=no
                   7079:       save_LDFLAGS=$LDFLAGS
                   7080:       echo "_main" > conftest.sym
                   7081:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7082:       cat >conftest.$ac_ext <<_ACEOF
                   7083: /* confdefs.h.  */
                   7084: _ACEOF
                   7085: cat confdefs.h >>conftest.$ac_ext
                   7086: cat >>conftest.$ac_ext <<_ACEOF
                   7087: /* end confdefs.h.  */
                   7088: 
                   7089: int
                   7090: main ()
                   7091: {
                   7092: 
                   7093:   ;
                   7094:   return 0;
                   7095: }
                   7096: _ACEOF
                   7097: rm -f conftest.$ac_objext conftest$ac_exeext
                   7098: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7099:   (eval $ac_link) 2>conftest.er1
                   7100:   ac_status=$?
                   7101:   grep -v '^ *+' conftest.er1 >conftest.err
                   7102:   rm -f conftest.er1
                   7103:   cat conftest.err >&5
                   7104:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7105:   (exit $ac_status); } &&
                   7106:         { ac_try='test -z "$ac_c_werror_flag"
                   7107:                         || test ! -s conftest.err'
                   7108:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7109:   (eval $ac_try) 2>&5
                   7110:   ac_status=$?
                   7111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7112:   (exit $ac_status); }; } &&
                   7113:         { ac_try='test -s conftest$ac_exeext'
                   7114:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7115:   (eval $ac_try) 2>&5
                   7116:   ac_status=$?
                   7117:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7118:   (exit $ac_status); }; }; then
                   7119:   lt_cv_ld_exported_symbols_list=yes
                   7120: else
                   7121:   echo "$as_me: failed program was:" >&5
                   7122: sed 's/^/| /' conftest.$ac_ext >&5
                   7123: 
                   7124: lt_cv_ld_exported_symbols_list=no
                   7125: fi
                   7126: rm -f conftest.err conftest.$ac_objext \
                   7127:       conftest$ac_exeext conftest.$ac_ext
                   7128:        LDFLAGS="$save_LDFLAGS"
                   7129: 
                   7130: fi
                   7131: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   7132: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
                   7133: 
                   7134:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   7135: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   7136: if test "${lt_cv_ld_force_load+set}" = set; then
                   7137:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7138: else
                   7139:   lt_cv_ld_force_load=no
                   7140:       cat > conftest.c << _LT_EOF
                   7141: int forced_loaded() { return 2;}
                   7142: _LT_EOF
                   7143:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7144:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7145:       echo "$AR cru libconftest.a conftest.o" >&5
                   7146:       $AR cru libconftest.a conftest.o 2>&5
                   7147:       echo "$RANLIB libconftest.a" >&5
                   7148:       $RANLIB libconftest.a 2>&5
                   7149:       cat > conftest.c << _LT_EOF
                   7150: int main() { return 0;}
                   7151: _LT_EOF
                   7152:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7153:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7154:       _lt_result=$?
                   7155:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7156:        cat conftest.err >&5
                   7157:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7158:        lt_cv_ld_force_load=yes
                   7159:       else
                   7160:        cat conftest.err >&5
                   7161:       fi
                   7162:         rm -f conftest.err libconftest.a conftest conftest.c
                   7163:         rm -rf conftest.dSYM
                   7164: 
                   7165: fi
                   7166: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   7167: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   7168:     case $host_os in
                   7169:     rhapsody* | darwin1.[012])
                   7170:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7171:     darwin1.*)
                   7172:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7173:     darwin*) # darwin 5.x on
                   7174:       # if running on 10.5 or later, the deployment target defaults
                   7175:       # to the OS version, if on x86, and 10.4, the deployment
                   7176:       # target defaults to 10.4. Don't you love it?
                   7177:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7178:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7179:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7180:        10.[012]*)
                   7181:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7182:        10.*)
                   7183:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7184:       esac
                   7185:     ;;
                   7186:   esac
                   7187:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7188:       _lt_dar_single_mod='$single_module'
                   7189:     fi
                   7190:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7191:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7192:     else
                   7193:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7194:     fi
                   7195:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7196:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7197:     else
                   7198:       _lt_dsymutil=
                   7199:     fi
                   7200:     ;;
                   7201:   esac
                   7202: 
                   7203: ac_ext=c
                   7204: ac_cpp='$CPP $CPPFLAGS'
                   7205: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7206: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7207: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7208: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   7209: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   7210: # On Suns, sometimes $CPP names a directory.
                   7211: if test -n "$CPP" && test -d "$CPP"; then
                   7212:   CPP=
                   7213: fi
                   7214: if test -z "$CPP"; then
                   7215:   if test "${ac_cv_prog_CPP+set}" = set; then
                   7216:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7217: else
                   7218:       # Double quotes because CPP needs to be expanded
                   7219:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7220:     do
                   7221:       ac_preproc_ok=false
                   7222: for ac_c_preproc_warn_flag in '' yes
                   7223: do
                   7224:   # Use a header file that comes with gcc, so configuring glibc
                   7225:   # with a fresh cross-compiler works.
                   7226:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7227:   # <limits.h> exists even on freestanding compilers.
                   7228:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7229:   # not just through cpp. "Syntax error" is here to catch this case.
                   7230:   cat >conftest.$ac_ext <<_ACEOF
                   7231: /* confdefs.h.  */
                   7232: _ACEOF
                   7233: cat confdefs.h >>conftest.$ac_ext
                   7234: cat >>conftest.$ac_ext <<_ACEOF
                   7235: /* end confdefs.h.  */
                   7236: #ifdef __STDC__
                   7237: # include <limits.h>
                   7238: #else
                   7239: # include <assert.h>
                   7240: #endif
                   7241:                     Syntax error
                   7242: _ACEOF
                   7243: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7244:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7245:   ac_status=$?
                   7246:   grep -v '^ *+' conftest.er1 >conftest.err
                   7247:   rm -f conftest.er1
                   7248:   cat conftest.err >&5
                   7249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7250:   (exit $ac_status); } >/dev/null; then
                   7251:   if test -s conftest.err; then
                   7252:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7253:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7254:   else
                   7255:     ac_cpp_err=
                   7256:   fi
                   7257: else
                   7258:   ac_cpp_err=yes
                   7259: fi
                   7260: if test -z "$ac_cpp_err"; then
                   7261:   :
                   7262: else
                   7263:   echo "$as_me: failed program was:" >&5
                   7264: sed 's/^/| /' conftest.$ac_ext >&5
                   7265: 
                   7266:   # Broken: fails on valid input.
                   7267: continue
                   7268: fi
                   7269: rm -f conftest.err conftest.$ac_ext
                   7270: 
                   7271:   # OK, works on sane cases.  Now check whether non-existent headers
                   7272:   # can be detected and how.
                   7273:   cat >conftest.$ac_ext <<_ACEOF
                   7274: /* confdefs.h.  */
                   7275: _ACEOF
                   7276: cat confdefs.h >>conftest.$ac_ext
                   7277: cat >>conftest.$ac_ext <<_ACEOF
                   7278: /* end confdefs.h.  */
                   7279: #include <ac_nonexistent.h>
                   7280: _ACEOF
                   7281: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7282:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7283:   ac_status=$?
                   7284:   grep -v '^ *+' conftest.er1 >conftest.err
                   7285:   rm -f conftest.er1
                   7286:   cat conftest.err >&5
                   7287:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7288:   (exit $ac_status); } >/dev/null; then
                   7289:   if test -s conftest.err; then
                   7290:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7291:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7292:   else
                   7293:     ac_cpp_err=
                   7294:   fi
                   7295: else
                   7296:   ac_cpp_err=yes
                   7297: fi
                   7298: if test -z "$ac_cpp_err"; then
                   7299:   # Broken: success on invalid input.
                   7300: continue
                   7301: else
                   7302:   echo "$as_me: failed program was:" >&5
                   7303: sed 's/^/| /' conftest.$ac_ext >&5
                   7304: 
                   7305:   # Passes both tests.
                   7306: ac_preproc_ok=:
                   7307: break
                   7308: fi
                   7309: rm -f conftest.err conftest.$ac_ext
                   7310: 
                   7311: done
                   7312: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7313: rm -f conftest.err conftest.$ac_ext
                   7314: if $ac_preproc_ok; then
                   7315:   break
                   7316: fi
                   7317: 
                   7318:     done
                   7319:     ac_cv_prog_CPP=$CPP
                   7320: 
                   7321: fi
                   7322:   CPP=$ac_cv_prog_CPP
                   7323: else
                   7324:   ac_cv_prog_CPP=$CPP
                   7325: fi
                   7326: echo "$as_me:$LINENO: result: $CPP" >&5
                   7327: echo "${ECHO_T}$CPP" >&6
                   7328: ac_preproc_ok=false
                   7329: for ac_c_preproc_warn_flag in '' yes
                   7330: do
                   7331:   # Use a header file that comes with gcc, so configuring glibc
                   7332:   # with a fresh cross-compiler works.
                   7333:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7334:   # <limits.h> exists even on freestanding compilers.
                   7335:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7336:   # not just through cpp. "Syntax error" is here to catch this case.
                   7337:   cat >conftest.$ac_ext <<_ACEOF
                   7338: /* confdefs.h.  */
                   7339: _ACEOF
                   7340: cat confdefs.h >>conftest.$ac_ext
                   7341: cat >>conftest.$ac_ext <<_ACEOF
                   7342: /* end confdefs.h.  */
                   7343: #ifdef __STDC__
                   7344: # include <limits.h>
                   7345: #else
                   7346: # include <assert.h>
                   7347: #endif
                   7348:                     Syntax error
                   7349: _ACEOF
                   7350: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7351:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7352:   ac_status=$?
                   7353:   grep -v '^ *+' conftest.er1 >conftest.err
                   7354:   rm -f conftest.er1
                   7355:   cat conftest.err >&5
                   7356:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7357:   (exit $ac_status); } >/dev/null; then
                   7358:   if test -s conftest.err; then
                   7359:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7360:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7361:   else
                   7362:     ac_cpp_err=
                   7363:   fi
                   7364: else
                   7365:   ac_cpp_err=yes
                   7366: fi
                   7367: if test -z "$ac_cpp_err"; then
                   7368:   :
                   7369: else
                   7370:   echo "$as_me: failed program was:" >&5
                   7371: sed 's/^/| /' conftest.$ac_ext >&5
                   7372: 
                   7373:   # Broken: fails on valid input.
                   7374: continue
                   7375: fi
                   7376: rm -f conftest.err conftest.$ac_ext
                   7377: 
                   7378:   # OK, works on sane cases.  Now check whether non-existent headers
                   7379:   # can be detected and how.
                   7380:   cat >conftest.$ac_ext <<_ACEOF
                   7381: /* confdefs.h.  */
                   7382: _ACEOF
                   7383: cat confdefs.h >>conftest.$ac_ext
                   7384: cat >>conftest.$ac_ext <<_ACEOF
                   7385: /* end confdefs.h.  */
                   7386: #include <ac_nonexistent.h>
                   7387: _ACEOF
                   7388: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7389:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7390:   ac_status=$?
                   7391:   grep -v '^ *+' conftest.er1 >conftest.err
                   7392:   rm -f conftest.er1
                   7393:   cat conftest.err >&5
                   7394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7395:   (exit $ac_status); } >/dev/null; then
                   7396:   if test -s conftest.err; then
                   7397:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7398:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7399:   else
                   7400:     ac_cpp_err=
                   7401:   fi
                   7402: else
                   7403:   ac_cpp_err=yes
                   7404: fi
                   7405: if test -z "$ac_cpp_err"; then
                   7406:   # Broken: success on invalid input.
                   7407: continue
                   7408: else
                   7409:   echo "$as_me: failed program was:" >&5
                   7410: sed 's/^/| /' conftest.$ac_ext >&5
                   7411: 
                   7412:   # Passes both tests.
                   7413: ac_preproc_ok=:
                   7414: break
                   7415: fi
                   7416: rm -f conftest.err conftest.$ac_ext
                   7417: 
                   7418: done
                   7419: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7420: rm -f conftest.err conftest.$ac_ext
                   7421: if $ac_preproc_ok; then
                   7422:   :
                   7423: else
                   7424:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   7425: See \`config.log' for more details." >&5
                   7426: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   7427: See \`config.log' for more details." >&2;}
                   7428:    { (exit 1); exit 1; }; }
                   7429: fi
                   7430: 
                   7431: ac_ext=c
                   7432: ac_cpp='$CPP $CPPFLAGS'
                   7433: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7434: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7435: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7436: 
                   7437: 
                   7438: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   7439: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   7440: if test "${ac_cv_header_stdc+set}" = set; then
                   7441:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7442: else
                   7443:   cat >conftest.$ac_ext <<_ACEOF
                   7444: /* confdefs.h.  */
                   7445: _ACEOF
                   7446: cat confdefs.h >>conftest.$ac_ext
                   7447: cat >>conftest.$ac_ext <<_ACEOF
                   7448: /* end confdefs.h.  */
                   7449: #include <stdlib.h>
                   7450: #include <stdarg.h>
                   7451: #include <string.h>
                   7452: #include <float.h>
                   7453: 
                   7454: int
                   7455: main ()
                   7456: {
                   7457: 
                   7458:   ;
                   7459:   return 0;
                   7460: }
                   7461: _ACEOF
                   7462: rm -f conftest.$ac_objext
                   7463: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7464:   (eval $ac_compile) 2>conftest.er1
                   7465:   ac_status=$?
                   7466:   grep -v '^ *+' conftest.er1 >conftest.err
                   7467:   rm -f conftest.er1
                   7468:   cat conftest.err >&5
                   7469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7470:   (exit $ac_status); } &&
                   7471:         { ac_try='test -z "$ac_c_werror_flag"
                   7472:                         || test ! -s conftest.err'
                   7473:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7474:   (eval $ac_try) 2>&5
                   7475:   ac_status=$?
                   7476:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7477:   (exit $ac_status); }; } &&
                   7478:         { ac_try='test -s conftest.$ac_objext'
                   7479:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7480:   (eval $ac_try) 2>&5
                   7481:   ac_status=$?
                   7482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7483:   (exit $ac_status); }; }; then
                   7484:   ac_cv_header_stdc=yes
                   7485: else
                   7486:   echo "$as_me: failed program was:" >&5
                   7487: sed 's/^/| /' conftest.$ac_ext >&5
                   7488: 
                   7489: ac_cv_header_stdc=no
                   7490: fi
                   7491: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7492: 
                   7493: if test $ac_cv_header_stdc = yes; then
                   7494:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7495:   cat >conftest.$ac_ext <<_ACEOF
                   7496: /* confdefs.h.  */
                   7497: _ACEOF
                   7498: cat confdefs.h >>conftest.$ac_ext
                   7499: cat >>conftest.$ac_ext <<_ACEOF
                   7500: /* end confdefs.h.  */
                   7501: #include <string.h>
                   7502: 
                   7503: _ACEOF
                   7504: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7505:   $EGREP "memchr" >/dev/null 2>&1; then
                   7506:   :
                   7507: else
                   7508:   ac_cv_header_stdc=no
                   7509: fi
                   7510: rm -f conftest*
                   7511: 
                   7512: fi
                   7513: 
                   7514: if test $ac_cv_header_stdc = yes; then
                   7515:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7516:   cat >conftest.$ac_ext <<_ACEOF
                   7517: /* confdefs.h.  */
                   7518: _ACEOF
                   7519: cat confdefs.h >>conftest.$ac_ext
                   7520: cat >>conftest.$ac_ext <<_ACEOF
                   7521: /* end confdefs.h.  */
                   7522: #include <stdlib.h>
                   7523: 
                   7524: _ACEOF
                   7525: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7526:   $EGREP "free" >/dev/null 2>&1; then
                   7527:   :
                   7528: else
                   7529:   ac_cv_header_stdc=no
                   7530: fi
                   7531: rm -f conftest*
                   7532: 
                   7533: fi
                   7534: 
                   7535: if test $ac_cv_header_stdc = yes; then
                   7536:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7537:   if test "$cross_compiling" = yes; then
                   7538:   :
                   7539: else
                   7540:   cat >conftest.$ac_ext <<_ACEOF
                   7541: /* confdefs.h.  */
                   7542: _ACEOF
                   7543: cat confdefs.h >>conftest.$ac_ext
                   7544: cat >>conftest.$ac_ext <<_ACEOF
                   7545: /* end confdefs.h.  */
                   7546: #include <ctype.h>
                   7547: #if ((' ' & 0x0FF) == 0x020)
                   7548: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7549: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7550: #else
                   7551: # define ISLOWER(c) \
                   7552:                   (('a' <= (c) && (c) <= 'i') \
                   7553:                     || ('j' <= (c) && (c) <= 'r') \
                   7554:                     || ('s' <= (c) && (c) <= 'z'))
                   7555: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7556: #endif
                   7557: 
                   7558: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7559: int
                   7560: main ()
                   7561: {
                   7562:   int i;
                   7563:   for (i = 0; i < 256; i++)
                   7564:     if (XOR (islower (i), ISLOWER (i))
                   7565:        || toupper (i) != TOUPPER (i))
                   7566:       exit(2);
                   7567:   exit (0);
                   7568: }
                   7569: _ACEOF
                   7570: rm -f conftest$ac_exeext
                   7571: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7572:   (eval $ac_link) 2>&5
                   7573:   ac_status=$?
                   7574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7575:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7576:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7577:   (eval $ac_try) 2>&5
                   7578:   ac_status=$?
                   7579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7580:   (exit $ac_status); }; }; then
                   7581:   :
                   7582: else
                   7583:   echo "$as_me: program exited with status $ac_status" >&5
                   7584: echo "$as_me: failed program was:" >&5
                   7585: sed 's/^/| /' conftest.$ac_ext >&5
                   7586: 
                   7587: ( exit $ac_status )
                   7588: ac_cv_header_stdc=no
                   7589: fi
                   7590: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7591: fi
                   7592: fi
                   7593: fi
                   7594: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   7595: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   7596: if test $ac_cv_header_stdc = yes; then
                   7597: 
                   7598: cat >>confdefs.h <<\_ACEOF
                   7599: #define STDC_HEADERS 1
                   7600: _ACEOF
                   7601: 
                   7602: fi
                   7603: 
                   7604: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7605: 
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
                   7611: 
                   7612: 
                   7613: 
                   7614: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7615:                  inttypes.h stdint.h unistd.h
                   7616: do
                   7617: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7618: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7619: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7620: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7621:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7622: else
                   7623:   cat >conftest.$ac_ext <<_ACEOF
                   7624: /* confdefs.h.  */
                   7625: _ACEOF
                   7626: cat confdefs.h >>conftest.$ac_ext
                   7627: cat >>conftest.$ac_ext <<_ACEOF
                   7628: /* end confdefs.h.  */
                   7629: $ac_includes_default
                   7630: 
                   7631: #include <$ac_header>
                   7632: _ACEOF
                   7633: rm -f conftest.$ac_objext
                   7634: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7635:   (eval $ac_compile) 2>conftest.er1
                   7636:   ac_status=$?
                   7637:   grep -v '^ *+' conftest.er1 >conftest.err
                   7638:   rm -f conftest.er1
                   7639:   cat conftest.err >&5
                   7640:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7641:   (exit $ac_status); } &&
                   7642:         { ac_try='test -z "$ac_c_werror_flag"
                   7643:                         || test ! -s conftest.err'
                   7644:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7645:   (eval $ac_try) 2>&5
                   7646:   ac_status=$?
                   7647:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7648:   (exit $ac_status); }; } &&
                   7649:         { ac_try='test -s conftest.$ac_objext'
                   7650:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7651:   (eval $ac_try) 2>&5
                   7652:   ac_status=$?
                   7653:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7654:   (exit $ac_status); }; }; then
                   7655:   eval "$as_ac_Header=yes"
                   7656: else
                   7657:   echo "$as_me: failed program was:" >&5
                   7658: sed 's/^/| /' conftest.$ac_ext >&5
                   7659: 
                   7660: eval "$as_ac_Header=no"
                   7661: fi
                   7662: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7663: fi
                   7664: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7665: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7666: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7667:   cat >>confdefs.h <<_ACEOF
                   7668: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7669: _ACEOF
                   7670: 
                   7671: fi
                   7672: 
                   7673: done
                   7674: 
                   7675: 
                   7676: 
                   7677: for ac_header in dlfcn.h
                   7678: do
                   7679: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7680: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7681: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7682: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7683:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7684: else
                   7685:   cat >conftest.$ac_ext <<_ACEOF
                   7686: /* confdefs.h.  */
                   7687: _ACEOF
                   7688: cat confdefs.h >>conftest.$ac_ext
                   7689: cat >>conftest.$ac_ext <<_ACEOF
                   7690: /* end confdefs.h.  */
                   7691: $ac_includes_default
                   7692: 
                   7693: #include <$ac_header>
                   7694: _ACEOF
                   7695: rm -f conftest.$ac_objext
                   7696: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7697:   (eval $ac_compile) 2>conftest.er1
                   7698:   ac_status=$?
                   7699:   grep -v '^ *+' conftest.er1 >conftest.err
                   7700:   rm -f conftest.er1
                   7701:   cat conftest.err >&5
                   7702:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7703:   (exit $ac_status); } &&
                   7704:         { ac_try='test -z "$ac_c_werror_flag"
                   7705:                         || test ! -s conftest.err'
                   7706:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7707:   (eval $ac_try) 2>&5
                   7708:   ac_status=$?
                   7709:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7710:   (exit $ac_status); }; } &&
                   7711:         { ac_try='test -s conftest.$ac_objext'
                   7712:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7713:   (eval $ac_try) 2>&5
                   7714:   ac_status=$?
                   7715:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7716:   (exit $ac_status); }; }; then
                   7717:   eval "$as_ac_Header=yes"
                   7718: else
                   7719:   echo "$as_me: failed program was:" >&5
                   7720: sed 's/^/| /' conftest.$ac_ext >&5
                   7721: 
                   7722: eval "$as_ac_Header=no"
                   7723: fi
                   7724: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7725: fi
                   7726: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7727: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7728: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7729:   cat >>confdefs.h <<_ACEOF
                   7730: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7731: _ACEOF
                   7732: 
                   7733: fi
                   7734: 
                   7735: done
                   7736: 
                   7737: 
                   7738: 
                   7739: 
                   7740: func_stripname_cnf ()
                   7741: {
                   7742:   case ${2} in
                   7743:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7744:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7745:   esac
                   7746: } # func_stripname_cnf
                   7747: 
                   7748: 
                   7749: 
                   7750: 
                   7751: 
                   7752: # Set options
                   7753: enable_dlopen=yes
                   7754: enable_win32_dll=yes
                   7755: 
                   7756: case $host in
                   7757: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7758:   if test -n "$ac_tool_prefix"; then
                   7759:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7760: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7761: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7762: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7763: if test "${ac_cv_prog_AS+set}" = set; then
                   7764:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7765: else
                   7766:   if test -n "$AS"; then
                   7767:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7768: else
                   7769: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7770: for as_dir in $PATH
                   7771: do
                   7772:   IFS=$as_save_IFS
                   7773:   test -z "$as_dir" && as_dir=.
                   7774:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7775:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7776:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7777:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7778:     break 2
                   7779:   fi
                   7780: done
                   7781: done
                   7782: 
                   7783: fi
                   7784: fi
                   7785: AS=$ac_cv_prog_AS
                   7786: if test -n "$AS"; then
                   7787:   echo "$as_me:$LINENO: result: $AS" >&5
                   7788: echo "${ECHO_T}$AS" >&6
                   7789: else
                   7790:   echo "$as_me:$LINENO: result: no" >&5
                   7791: echo "${ECHO_T}no" >&6
                   7792: fi
                   7793: 
                   7794: fi
                   7795: if test -z "$ac_cv_prog_AS"; then
                   7796:   ac_ct_AS=$AS
                   7797:   # Extract the first word of "as", so it can be a program name with args.
                   7798: set dummy as; ac_word=$2
                   7799: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7800: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7801: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7802:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7803: else
                   7804:   if test -n "$ac_ct_AS"; then
                   7805:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7806: else
                   7807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7808: for as_dir in $PATH
                   7809: do
                   7810:   IFS=$as_save_IFS
                   7811:   test -z "$as_dir" && as_dir=.
                   7812:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7813:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7814:     ac_cv_prog_ac_ct_AS="as"
                   7815:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7816:     break 2
                   7817:   fi
                   7818: done
                   7819: done
                   7820: 
                   7821:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7822: fi
                   7823: fi
                   7824: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7825: if test -n "$ac_ct_AS"; then
                   7826:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7827: echo "${ECHO_T}$ac_ct_AS" >&6
                   7828: else
                   7829:   echo "$as_me:$LINENO: result: no" >&5
                   7830: echo "${ECHO_T}no" >&6
                   7831: fi
                   7832: 
                   7833:   AS=$ac_ct_AS
                   7834: else
                   7835:   AS="$ac_cv_prog_AS"
                   7836: fi
                   7837: 
                   7838:   if test -n "$ac_tool_prefix"; then
                   7839:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7840: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7841: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7842: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7843: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   7844:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7845: else
                   7846:   if test -n "$DLLTOOL"; then
                   7847:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7848: else
                   7849: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7850: for as_dir in $PATH
                   7851: do
                   7852:   IFS=$as_save_IFS
                   7853:   test -z "$as_dir" && as_dir=.
                   7854:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7855:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7856:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7857:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7858:     break 2
                   7859:   fi
                   7860: done
                   7861: done
                   7862: 
                   7863: fi
                   7864: fi
                   7865: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7866: if test -n "$DLLTOOL"; then
                   7867:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7868: echo "${ECHO_T}$DLLTOOL" >&6
                   7869: else
                   7870:   echo "$as_me:$LINENO: result: no" >&5
                   7871: echo "${ECHO_T}no" >&6
                   7872: fi
                   7873: 
                   7874: fi
                   7875: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7876:   ac_ct_DLLTOOL=$DLLTOOL
                   7877:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7878: set dummy dlltool; ac_word=$2
                   7879: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7880: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7881: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   7882:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7883: else
                   7884:   if test -n "$ac_ct_DLLTOOL"; then
                   7885:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7886: else
                   7887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7888: for as_dir in $PATH
                   7889: do
                   7890:   IFS=$as_save_IFS
                   7891:   test -z "$as_dir" && as_dir=.
                   7892:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7893:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7894:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7895:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7896:     break 2
                   7897:   fi
                   7898: done
                   7899: done
                   7900: 
                   7901:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7902: fi
                   7903: fi
                   7904: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7905: if test -n "$ac_ct_DLLTOOL"; then
                   7906:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7907: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7908: else
                   7909:   echo "$as_me:$LINENO: result: no" >&5
                   7910: echo "${ECHO_T}no" >&6
                   7911: fi
                   7912: 
                   7913:   DLLTOOL=$ac_ct_DLLTOOL
                   7914: else
                   7915:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7916: fi
                   7917: 
                   7918:   if test -n "$ac_tool_prefix"; then
                   7919:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7920: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7921: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7922: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7923: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   7924:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7925: else
                   7926:   if test -n "$OBJDUMP"; then
                   7927:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7928: else
                   7929: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7930: for as_dir in $PATH
                   7931: do
                   7932:   IFS=$as_save_IFS
                   7933:   test -z "$as_dir" && as_dir=.
                   7934:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7935:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7936:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7937:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7938:     break 2
                   7939:   fi
                   7940: done
                   7941: done
                   7942: 
                   7943: fi
                   7944: fi
                   7945: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7946: if test -n "$OBJDUMP"; then
                   7947:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7948: echo "${ECHO_T}$OBJDUMP" >&6
                   7949: else
                   7950:   echo "$as_me:$LINENO: result: no" >&5
                   7951: echo "${ECHO_T}no" >&6
                   7952: fi
                   7953: 
                   7954: fi
                   7955: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7956:   ac_ct_OBJDUMP=$OBJDUMP
                   7957:   # Extract the first word of "objdump", so it can be a program name with args.
                   7958: set dummy objdump; ac_word=$2
                   7959: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7960: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7961: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7962:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7963: else
                   7964:   if test -n "$ac_ct_OBJDUMP"; then
                   7965:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7966: else
                   7967: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7968: for as_dir in $PATH
                   7969: do
                   7970:   IFS=$as_save_IFS
                   7971:   test -z "$as_dir" && as_dir=.
                   7972:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7973:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7974:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7975:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7976:     break 2
                   7977:   fi
                   7978: done
                   7979: done
                   7980: 
                   7981:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7982: fi
                   7983: fi
                   7984: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7985: if test -n "$ac_ct_OBJDUMP"; then
                   7986:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7987: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7988: else
                   7989:   echo "$as_me:$LINENO: result: no" >&5
                   7990: echo "${ECHO_T}no" >&6
                   7991: fi
                   7992: 
                   7993:   OBJDUMP=$ac_ct_OBJDUMP
                   7994: else
                   7995:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7996: fi
                   7997: 
                   7998:   ;;
                   7999: esac
                   8000: 
                   8001: test -z "$AS" && AS=as
                   8002: 
                   8003: 
                   8004: 
                   8005: 
                   8006: 
                   8007: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8008: 
                   8009: 
                   8010: 
                   8011: 
                   8012: 
                   8013: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8014: 
                   8015: 
                   8016: 
                   8017: 
                   8018: 
1.145     moko     8019: # Check whether --with-pic or --without-pic was given.
                   8020: if test "${with_pic+set}" = set; then
                   8021:   withval="$with_pic"
                   8022:   lt_p=${PACKAGE-default}
                   8023:     case $withval in
                   8024:     yes|no) pic_mode=$withval ;;
                   8025:     *)
                   8026:       pic_mode=default
                   8027:       # Look at the argument we got.  We use all the common list separators.
                   8028:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8029:       for lt_pkg in $withval; do
                   8030:        IFS="$lt_save_ifs"
                   8031:        if test "X$lt_pkg" = "X$lt_p"; then
                   8032:          pic_mode=yes
                   8033:        fi
                   8034:       done
                   8035:       IFS="$lt_save_ifs"
                   8036:       ;;
                   8037:     esac
                   8038: else
                   8039:   pic_mode=default
                   8040: fi;
                   8041: 
                   8042: test -z "$pic_mode" && pic_mode=no
                   8043: 
                   8044: 
                   8045: 
                   8046: 
                   8047: 
                   8048: 
1.128     moko     8049: 
                   8050: 
                   8051: 
                   8052: 
                   8053:             # Check whether --enable-shared or --disable-shared was given.
                   8054: if test "${enable_shared+set}" = set; then
                   8055:   enableval="$enable_shared"
                   8056:   p=${PACKAGE-default}
                   8057:     case $enableval in
                   8058:     yes) enable_shared=yes ;;
                   8059:     no) enable_shared=no ;;
                   8060:     *)
                   8061:       enable_shared=no
                   8062:       # Look at the argument we got.  We use all the common list separators.
                   8063:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8064:       for pkg in $enableval; do
                   8065:        IFS="$lt_save_ifs"
                   8066:        if test "X$pkg" = "X$p"; then
                   8067:          enable_shared=yes
                   8068:        fi
                   8069:       done
                   8070:       IFS="$lt_save_ifs"
                   8071:       ;;
                   8072:     esac
                   8073: else
                   8074:   enable_shared=yes
                   8075: fi;
                   8076: 
                   8077: 
                   8078: 
                   8079: 
                   8080: 
                   8081: 
                   8082: 
                   8083: 
1.138     moko     8084:   # Check whether --enable-static or --disable-static was given.
                   8085: if test "${enable_static+set}" = set; then
                   8086:   enableval="$enable_static"
                   8087:   p=${PACKAGE-default}
                   8088:     case $enableval in
                   8089:     yes) enable_static=yes ;;
                   8090:     no) enable_static=no ;;
                   8091:     *)
                   8092:      enable_static=no
                   8093:       # Look at the argument we got.  We use all the common list separators.
                   8094:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8095:       for pkg in $enableval; do
                   8096:        IFS="$lt_save_ifs"
                   8097:        if test "X$pkg" = "X$p"; then
                   8098:          enable_static=yes
                   8099:        fi
                   8100:       done
                   8101:       IFS="$lt_save_ifs"
                   8102:       ;;
                   8103:     esac
                   8104: else
                   8105:   enable_static=yes
                   8106: fi;
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: 
                   8112: 
                   8113: 
1.128     moko     8114: 
                   8115: 
                   8116:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   8117: if test "${enable_fast_install+set}" = set; then
                   8118:   enableval="$enable_fast_install"
                   8119:   p=${PACKAGE-default}
                   8120:     case $enableval in
                   8121:     yes) enable_fast_install=yes ;;
                   8122:     no) enable_fast_install=no ;;
                   8123:     *)
                   8124:       enable_fast_install=no
                   8125:       # Look at the argument we got.  We use all the common list separators.
                   8126:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8127:       for pkg in $enableval; do
                   8128:        IFS="$lt_save_ifs"
                   8129:        if test "X$pkg" = "X$p"; then
                   8130:          enable_fast_install=yes
                   8131:        fi
                   8132:       done
                   8133:       IFS="$lt_save_ifs"
                   8134:       ;;
                   8135:     esac
                   8136: else
                   8137:   enable_fast_install=yes
                   8138: fi;
                   8139: 
                   8140: 
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: 
                   8146: 
                   8147: 
                   8148: 
                   8149: # This can be used to rebuild libtool when needed
                   8150: LIBTOOL_DEPS="$ltmain"
                   8151: 
                   8152: # Always use our own libtool.
                   8153: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8154: 
                   8155: 
                   8156: 
                   8157: 
                   8158: 
                   8159: 
                   8160: 
                   8161: 
                   8162: 
                   8163: 
                   8164: 
                   8165: 
                   8166: 
                   8167: 
                   8168: 
                   8169: 
                   8170: 
                   8171: 
                   8172: 
                   8173: 
                   8174: 
                   8175: 
                   8176: 
                   8177: 
                   8178: 
                   8179: 
                   8180: 
                   8181: 
                   8182: 
                   8183: 
                   8184: test -z "$LN_S" && LN_S="ln -s"
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: if test -n "${ZSH_VERSION+set}" ; then
                   8200:    setopt NO_GLOB_SUBST
                   8201: fi
                   8202: 
                   8203: echo "$as_me:$LINENO: checking for objdir" >&5
                   8204: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8205: if test "${lt_cv_objdir+set}" = set; then
                   8206:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8207: else
                   8208:   rm -f .libs 2>/dev/null
                   8209: mkdir .libs 2>/dev/null
                   8210: if test -d .libs; then
                   8211:   lt_cv_objdir=.libs
                   8212: else
                   8213:   # MS-DOS does not allow filenames that begin with a dot.
                   8214:   lt_cv_objdir=_libs
                   8215: fi
                   8216: rmdir .libs 2>/dev/null
                   8217: fi
                   8218: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   8219: echo "${ECHO_T}$lt_cv_objdir" >&6
                   8220: objdir=$lt_cv_objdir
                   8221: 
                   8222: 
                   8223: 
                   8224: 
                   8225: 
                   8226: cat >>confdefs.h <<_ACEOF
                   8227: #define LT_OBJDIR "$lt_cv_objdir/"
                   8228: _ACEOF
                   8229: 
                   8230: 
                   8231: 
                   8232: 
                   8233: case $host_os in
                   8234: aix3*)
                   8235:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8236:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8237:   # vanish in a puff of smoke.
                   8238:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8239:     COLLECT_NAMES=
                   8240:     export COLLECT_NAMES
                   8241:   fi
                   8242:   ;;
                   8243: esac
                   8244: 
                   8245: # Global variables:
                   8246: ofile=libtool
                   8247: can_build_shared=yes
                   8248: 
                   8249: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8250: # which needs '.lib').
                   8251: libext=a
                   8252: 
                   8253: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8254: 
                   8255: old_CC="$CC"
                   8256: old_CFLAGS="$CFLAGS"
                   8257: 
                   8258: # Set sane defaults for various variables
                   8259: test -z "$CC" && CC=cc
                   8260: test -z "$LTCC" && LTCC=$CC
                   8261: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8262: test -z "$LD" && LD=ld
                   8263: test -z "$ac_objext" && ac_objext=o
                   8264: 
                   8265: for cc_temp in $compiler""; do
                   8266:   case $cc_temp in
                   8267:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8268:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8269:     \-*) ;;
                   8270:     *) break;;
                   8271:   esac
                   8272: done
                   8273: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8274: 
                   8275: 
                   8276: # Only perform the check for file, if the check method requires it
                   8277: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8278: case $deplibs_check_method in
                   8279: file_magic*)
                   8280:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8281:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   8282: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   8283: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8284:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8285: else
                   8286:   case $MAGIC_CMD in
                   8287: [\\/*] |  ?:[\\/]*)
                   8288:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8289:   ;;
                   8290: *)
                   8291:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8292:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8293:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8294:   for ac_dir in $ac_dummy; do
                   8295:     IFS="$lt_save_ifs"
                   8296:     test -z "$ac_dir" && ac_dir=.
                   8297:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8298:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8299:       if test -n "$file_magic_test_file"; then
                   8300:        case $deplibs_check_method in
                   8301:        "file_magic "*)
                   8302:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8303:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8304:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8305:            $EGREP "$file_magic_regex" > /dev/null; then
                   8306:            :
                   8307:          else
                   8308:            cat <<_LT_EOF 1>&2
                   8309: 
                   8310: *** Warning: the command libtool uses to detect shared libraries,
                   8311: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8312: *** The result is that libtool may fail to recognize shared libraries
                   8313: *** as such.  This will affect the creation of libtool libraries that
                   8314: *** depend on shared libraries, but programs linked with such libtool
                   8315: *** libraries will work regardless of this problem.  Nevertheless, you
                   8316: *** may want to report the problem to your system manager and/or to
                   8317: *** bug-libtool@gnu.org
                   8318: 
                   8319: _LT_EOF
                   8320:          fi ;;
                   8321:        esac
                   8322:       fi
                   8323:       break
                   8324:     fi
                   8325:   done
                   8326:   IFS="$lt_save_ifs"
                   8327:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8328:   ;;
                   8329: esac
                   8330: fi
                   8331: 
                   8332: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8333: if test -n "$MAGIC_CMD"; then
                   8334:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8335: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8336: else
                   8337:   echo "$as_me:$LINENO: result: no" >&5
                   8338: echo "${ECHO_T}no" >&6
                   8339: fi
                   8340: 
                   8341: 
                   8342: 
                   8343: 
                   8344: 
                   8345: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8346:   if test -n "$ac_tool_prefix"; then
                   8347:     echo "$as_me:$LINENO: checking for file" >&5
                   8348: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   8349: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8350:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8351: else
                   8352:   case $MAGIC_CMD in
                   8353: [\\/*] |  ?:[\\/]*)
                   8354:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8355:   ;;
                   8356: *)
                   8357:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8358:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8359:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8360:   for ac_dir in $ac_dummy; do
                   8361:     IFS="$lt_save_ifs"
                   8362:     test -z "$ac_dir" && ac_dir=.
                   8363:     if test -f $ac_dir/file; then
                   8364:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8365:       if test -n "$file_magic_test_file"; then
                   8366:        case $deplibs_check_method in
                   8367:        "file_magic "*)
                   8368:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8369:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8370:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8371:            $EGREP "$file_magic_regex" > /dev/null; then
                   8372:            :
                   8373:          else
                   8374:            cat <<_LT_EOF 1>&2
                   8375: 
                   8376: *** Warning: the command libtool uses to detect shared libraries,
                   8377: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8378: *** The result is that libtool may fail to recognize shared libraries
                   8379: *** as such.  This will affect the creation of libtool libraries that
                   8380: *** depend on shared libraries, but programs linked with such libtool
                   8381: *** libraries will work regardless of this problem.  Nevertheless, you
                   8382: *** may want to report the problem to your system manager and/or to
                   8383: *** bug-libtool@gnu.org
                   8384: 
                   8385: _LT_EOF
                   8386:          fi ;;
                   8387:        esac
                   8388:       fi
                   8389:       break
                   8390:     fi
                   8391:   done
                   8392:   IFS="$lt_save_ifs"
                   8393:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8394:   ;;
                   8395: esac
                   8396: fi
                   8397: 
                   8398: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8399: if test -n "$MAGIC_CMD"; then
                   8400:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8401: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8402: else
                   8403:   echo "$as_me:$LINENO: result: no" >&5
                   8404: echo "${ECHO_T}no" >&6
                   8405: fi
                   8406: 
                   8407: 
                   8408:   else
                   8409:     MAGIC_CMD=:
                   8410:   fi
                   8411: fi
                   8412: 
                   8413:   fi
                   8414:   ;;
                   8415: esac
                   8416: 
                   8417: # Use C for the default configuration in the libtool script
                   8418: 
                   8419: lt_save_CC="$CC"
                   8420: ac_ext=c
                   8421: ac_cpp='$CPP $CPPFLAGS'
                   8422: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8423: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8424: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8425: 
                   8426: 
                   8427: # Source file extension for C test sources.
                   8428: ac_ext=c
                   8429: 
                   8430: # Object file extension for compiled C test sources.
                   8431: objext=o
                   8432: objext=$objext
                   8433: 
                   8434: # Code to be used in simple compile tests
                   8435: lt_simple_compile_test_code="int some_variable = 0;"
                   8436: 
                   8437: # Code to be used in simple link tests
                   8438: lt_simple_link_test_code='int main(){return(0);}'
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: 
                   8446: # If no C compiler was specified, use CC.
                   8447: LTCC=${LTCC-"$CC"}
                   8448: 
                   8449: # If no C compiler flags were specified, use CFLAGS.
                   8450: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8451: 
                   8452: # Allow CC to be a program name with arguments.
                   8453: compiler=$CC
                   8454: 
                   8455: # Save the default compiler, since it gets overwritten when the other
                   8456: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8457: compiler_DEFAULT=$CC
                   8458: 
                   8459: # save warnings/boilerplate of simple test code
                   8460: ac_outfile=conftest.$ac_objext
                   8461: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8462: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8463: _lt_compiler_boilerplate=`cat conftest.err`
                   8464: $RM conftest*
                   8465: 
                   8466: ac_outfile=conftest.$ac_objext
                   8467: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8468: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8469: _lt_linker_boilerplate=`cat conftest.err`
                   8470: $RM -r conftest*
                   8471: 
                   8472: 
                   8473: ## CAVEAT EMPTOR:
                   8474: ## There is no encapsulation within the following macros, do not change
                   8475: ## the running order or otherwise move them around unless you know exactly
                   8476: ## what you are doing...
                   8477: if test -n "$compiler"; then
                   8478: 
                   8479: lt_prog_compiler_no_builtin_flag=
                   8480: 
                   8481: if test "$GCC" = yes; then
                   8482:   case $cc_basename in
                   8483:   nvcc*)
                   8484:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8485:   *)
                   8486:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8487:   esac
                   8488: 
                   8489:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8490: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   8491: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   8492:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8493: else
                   8494:   lt_cv_prog_compiler_rtti_exceptions=no
                   8495:    ac_outfile=conftest.$ac_objext
                   8496:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8497:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8498:    # Insert the option either (1) after the last *FLAGS variable, or
                   8499:    # (2) before a word containing "conftest.", or (3) at the end.
                   8500:    # Note that $ac_compile itself does not contain backslashes and begins
                   8501:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8502:    # The option is referenced via a variable to avoid confusing sed.
                   8503:    lt_compile=`echo "$ac_compile" | $SED \
                   8504:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8505:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8506:    -e 's:$: $lt_compiler_flag:'`
                   8507:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8508:    (eval "$lt_compile" 2>conftest.err)
                   8509:    ac_status=$?
                   8510:    cat conftest.err >&5
                   8511:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8512:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8513:      # The compiler can only warn and ignore the option if not recognized
                   8514:      # So say no if there are warnings other than the usual output.
                   8515:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8516:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8517:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8518:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8519:      fi
                   8520:    fi
                   8521:    $RM conftest*
                   8522: 
                   8523: fi
                   8524: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8525: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
                   8526: 
                   8527: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8528:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8529: else
                   8530:     :
                   8531: fi
                   8532: 
                   8533: fi
                   8534: 
                   8535: 
                   8536: 
                   8537: 
                   8538: 
                   8539: 
                   8540:   lt_prog_compiler_wl=
                   8541: lt_prog_compiler_pic=
                   8542: lt_prog_compiler_static=
                   8543: 
                   8544: 
                   8545:   if test "$GCC" = yes; then
                   8546:     lt_prog_compiler_wl='-Wl,'
                   8547:     lt_prog_compiler_static='-static'
                   8548: 
                   8549:     case $host_os in
                   8550:       aix*)
                   8551:       # All AIX code is PIC.
                   8552:       if test "$host_cpu" = ia64; then
                   8553:        # AIX 5 now supports IA64 processor
                   8554:        lt_prog_compiler_static='-Bstatic'
                   8555:       fi
                   8556:       ;;
                   8557: 
                   8558:     amigaos*)
                   8559:       case $host_cpu in
                   8560:       powerpc)
                   8561:             # see comment about AmigaOS4 .so support
                   8562:             lt_prog_compiler_pic='-fPIC'
                   8563:         ;;
                   8564:       m68k)
                   8565:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8566:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8567:             # like `-m68040'.
                   8568:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8569:         ;;
                   8570:       esac
                   8571:       ;;
                   8572: 
                   8573:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8574:       # PIC is the default for these OSes.
                   8575:       ;;
                   8576: 
                   8577:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8578:       # This hack is so that the source file can tell whether it is being
                   8579:       # built for inclusion in a dll (and should export symbols for example).
                   8580:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8581:       # (--disable-auto-import) libraries
                   8582:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8583:       ;;
                   8584: 
                   8585:     darwin* | rhapsody*)
                   8586:       # PIC is the default on this platform
                   8587:       # Common symbols not allowed in MH_DYLIB files
                   8588:       lt_prog_compiler_pic='-fno-common'
                   8589:       ;;
                   8590: 
                   8591:     haiku*)
                   8592:       # PIC is the default for Haiku.
                   8593:       # The "-static" flag exists, but is broken.
                   8594:       lt_prog_compiler_static=
                   8595:       ;;
                   8596: 
                   8597:     hpux*)
                   8598:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8599:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8600:       # sets the default TLS model and affects inlining.
                   8601:       case $host_cpu in
                   8602:       hppa*64*)
                   8603:        # +Z the default
                   8604:        ;;
                   8605:       *)
                   8606:        lt_prog_compiler_pic='-fPIC'
                   8607:        ;;
                   8608:       esac
                   8609:       ;;
                   8610: 
                   8611:     interix[3-9]*)
                   8612:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8613:       # Instead, we relocate shared libraries at runtime.
                   8614:       ;;
                   8615: 
                   8616:     msdosdjgpp*)
                   8617:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8618:       # on systems that don't support them.
                   8619:       lt_prog_compiler_can_build_shared=no
                   8620:       enable_shared=no
                   8621:       ;;
                   8622: 
                   8623:     *nto* | *qnx*)
                   8624:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8625:       # it will coredump.
                   8626:       lt_prog_compiler_pic='-fPIC -shared'
                   8627:       ;;
                   8628: 
                   8629:     sysv4*MP*)
                   8630:       if test -d /usr/nec; then
                   8631:        lt_prog_compiler_pic=-Kconform_pic
                   8632:       fi
                   8633:       ;;
                   8634: 
                   8635:     *)
                   8636:       lt_prog_compiler_pic='-fPIC'
                   8637:       ;;
                   8638:     esac
                   8639: 
                   8640:     case $cc_basename in
                   8641:     nvcc*) # Cuda Compiler Driver 2.2
                   8642:       lt_prog_compiler_wl='-Xlinker '
                   8643:       if test -n "$lt_prog_compiler_pic"; then
                   8644:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8645:       fi
                   8646:       ;;
                   8647:     esac
                   8648:   else
                   8649:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8650:     case $host_os in
                   8651:     aix*)
                   8652:       lt_prog_compiler_wl='-Wl,'
                   8653:       if test "$host_cpu" = ia64; then
                   8654:        # AIX 5 now supports IA64 processor
                   8655:        lt_prog_compiler_static='-Bstatic'
                   8656:       else
                   8657:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8658:       fi
                   8659:       ;;
                   8660: 
                   8661:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8662:       # This hack is so that the source file can tell whether it is being
                   8663:       # built for inclusion in a dll (and should export symbols for example).
                   8664:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8665:       ;;
                   8666: 
                   8667:     hpux9* | hpux10* | hpux11*)
                   8668:       lt_prog_compiler_wl='-Wl,'
                   8669:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8670:       # not for PA HP-UX.
                   8671:       case $host_cpu in
                   8672:       hppa*64*|ia64*)
                   8673:        # +Z the default
                   8674:        ;;
                   8675:       *)
                   8676:        lt_prog_compiler_pic='+Z'
                   8677:        ;;
                   8678:       esac
                   8679:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8680:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8681:       ;;
                   8682: 
                   8683:     irix5* | irix6* | nonstopux*)
                   8684:       lt_prog_compiler_wl='-Wl,'
                   8685:       # PIC (with -KPIC) is the default.
                   8686:       lt_prog_compiler_static='-non_shared'
                   8687:       ;;
                   8688: 
                   8689:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8690:       case $cc_basename in
                   8691:       # old Intel for x86_64 which still supported -KPIC.
                   8692:       ecc*)
                   8693:        lt_prog_compiler_wl='-Wl,'
                   8694:        lt_prog_compiler_pic='-KPIC'
                   8695:        lt_prog_compiler_static='-static'
                   8696:         ;;
                   8697:       # icc used to be incompatible with GCC.
                   8698:       # ICC 10 doesn't accept -KPIC any more.
                   8699:       icc* | ifort*)
                   8700:        lt_prog_compiler_wl='-Wl,'
                   8701:        lt_prog_compiler_pic='-fPIC'
                   8702:        lt_prog_compiler_static='-static'
                   8703:         ;;
                   8704:       # Lahey Fortran 8.1.
                   8705:       lf95*)
                   8706:        lt_prog_compiler_wl='-Wl,'
                   8707:        lt_prog_compiler_pic='--shared'
                   8708:        lt_prog_compiler_static='--static'
                   8709:        ;;
                   8710:       nagfor*)
                   8711:        # NAG Fortran compiler
                   8712:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8713:        lt_prog_compiler_pic='-PIC'
                   8714:        lt_prog_compiler_static='-Bstatic'
                   8715:        ;;
                   8716:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8717:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8718:        # which looks to be a dead project)
                   8719:        lt_prog_compiler_wl='-Wl,'
                   8720:        lt_prog_compiler_pic='-fpic'
                   8721:        lt_prog_compiler_static='-Bstatic'
                   8722:         ;;
                   8723:       ccc*)
                   8724:         lt_prog_compiler_wl='-Wl,'
                   8725:         # All Alpha code is PIC.
                   8726:         lt_prog_compiler_static='-non_shared'
                   8727:         ;;
                   8728:       xl* | bgxl* | bgf* | mpixl*)
                   8729:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8730:        lt_prog_compiler_wl='-Wl,'
                   8731:        lt_prog_compiler_pic='-qpic'
                   8732:        lt_prog_compiler_static='-qstaticlink'
                   8733:        ;;
                   8734:       *)
                   8735:        case `$CC -V 2>&1 | sed 5q` in
                   8736:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8737:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8738:          lt_prog_compiler_pic='-KPIC'
                   8739:          lt_prog_compiler_static='-Bstatic'
                   8740:          lt_prog_compiler_wl=''
                   8741:          ;;
                   8742:        *Sun\ F* | *Sun*Fortran*)
                   8743:          lt_prog_compiler_pic='-KPIC'
                   8744:          lt_prog_compiler_static='-Bstatic'
                   8745:          lt_prog_compiler_wl='-Qoption ld '
                   8746:          ;;
                   8747:        *Sun\ C*)
                   8748:          # Sun C 5.9
                   8749:          lt_prog_compiler_pic='-KPIC'
                   8750:          lt_prog_compiler_static='-Bstatic'
                   8751:          lt_prog_compiler_wl='-Wl,'
                   8752:          ;;
                   8753:         *Intel*\ [CF]*Compiler*)
                   8754:          lt_prog_compiler_wl='-Wl,'
                   8755:          lt_prog_compiler_pic='-fPIC'
                   8756:          lt_prog_compiler_static='-static'
                   8757:          ;;
                   8758:        *Portland\ Group*)
                   8759:          lt_prog_compiler_wl='-Wl,'
                   8760:          lt_prog_compiler_pic='-fpic'
                   8761:          lt_prog_compiler_static='-Bstatic'
                   8762:          ;;
                   8763:        esac
                   8764:        ;;
                   8765:       esac
                   8766:       ;;
                   8767: 
                   8768:     newsos6)
                   8769:       lt_prog_compiler_pic='-KPIC'
                   8770:       lt_prog_compiler_static='-Bstatic'
                   8771:       ;;
                   8772: 
                   8773:     *nto* | *qnx*)
                   8774:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8775:       # it will coredump.
                   8776:       lt_prog_compiler_pic='-fPIC -shared'
                   8777:       ;;
                   8778: 
                   8779:     osf3* | osf4* | osf5*)
                   8780:       lt_prog_compiler_wl='-Wl,'
                   8781:       # All OSF/1 code is PIC.
                   8782:       lt_prog_compiler_static='-non_shared'
                   8783:       ;;
                   8784: 
                   8785:     rdos*)
                   8786:       lt_prog_compiler_static='-non_shared'
                   8787:       ;;
                   8788: 
                   8789:     solaris*)
                   8790:       lt_prog_compiler_pic='-KPIC'
                   8791:       lt_prog_compiler_static='-Bstatic'
                   8792:       case $cc_basename in
                   8793:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8794:        lt_prog_compiler_wl='-Qoption ld ';;
                   8795:       *)
                   8796:        lt_prog_compiler_wl='-Wl,';;
                   8797:       esac
                   8798:       ;;
                   8799: 
                   8800:     sunos4*)
                   8801:       lt_prog_compiler_wl='-Qoption ld '
                   8802:       lt_prog_compiler_pic='-PIC'
                   8803:       lt_prog_compiler_static='-Bstatic'
                   8804:       ;;
                   8805: 
                   8806:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8807:       lt_prog_compiler_wl='-Wl,'
                   8808:       lt_prog_compiler_pic='-KPIC'
                   8809:       lt_prog_compiler_static='-Bstatic'
                   8810:       ;;
                   8811: 
                   8812:     sysv4*MP*)
                   8813:       if test -d /usr/nec ;then
                   8814:        lt_prog_compiler_pic='-Kconform_pic'
                   8815:        lt_prog_compiler_static='-Bstatic'
                   8816:       fi
                   8817:       ;;
                   8818: 
                   8819:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8820:       lt_prog_compiler_wl='-Wl,'
                   8821:       lt_prog_compiler_pic='-KPIC'
                   8822:       lt_prog_compiler_static='-Bstatic'
                   8823:       ;;
                   8824: 
                   8825:     unicos*)
                   8826:       lt_prog_compiler_wl='-Wl,'
                   8827:       lt_prog_compiler_can_build_shared=no
                   8828:       ;;
                   8829: 
                   8830:     uts4*)
                   8831:       lt_prog_compiler_pic='-pic'
                   8832:       lt_prog_compiler_static='-Bstatic'
                   8833:       ;;
                   8834: 
                   8835:     *)
                   8836:       lt_prog_compiler_can_build_shared=no
                   8837:       ;;
                   8838:     esac
                   8839:   fi
                   8840: 
                   8841: case $host_os in
                   8842:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8843:   *djgpp*)
                   8844:     lt_prog_compiler_pic=
                   8845:     ;;
                   8846:   *)
                   8847:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8848:     ;;
                   8849: esac
                   8850: 
                   8851: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8852: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8853: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8854:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8855: else
                   8856:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8857: fi
                   8858: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8859: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8860: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8861: 
                   8862: #
                   8863: # Check to make sure the PIC flag actually works.
                   8864: #
                   8865: if test -n "$lt_prog_compiler_pic"; then
                   8866:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8867: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8868: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   8869:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8870: else
                   8871:   lt_cv_prog_compiler_pic_works=no
                   8872:    ac_outfile=conftest.$ac_objext
                   8873:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8874:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8875:    # Insert the option either (1) after the last *FLAGS variable, or
                   8876:    # (2) before a word containing "conftest.", or (3) at the end.
                   8877:    # Note that $ac_compile itself does not contain backslashes and begins
                   8878:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8879:    # The option is referenced via a variable to avoid confusing sed.
                   8880:    lt_compile=`echo "$ac_compile" | $SED \
                   8881:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8882:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8883:    -e 's:$: $lt_compiler_flag:'`
                   8884:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8885:    (eval "$lt_compile" 2>conftest.err)
                   8886:    ac_status=$?
                   8887:    cat conftest.err >&5
                   8888:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8889:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8890:      # The compiler can only warn and ignore the option if not recognized
                   8891:      # So say no if there are warnings other than the usual output.
                   8892:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8893:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8894:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8895:        lt_cv_prog_compiler_pic_works=yes
                   8896:      fi
                   8897:    fi
                   8898:    $RM conftest*
                   8899: 
                   8900: fi
                   8901: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8902: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
                   8903: 
                   8904: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8905:     case $lt_prog_compiler_pic in
                   8906:      "" | " "*) ;;
                   8907:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8908:      esac
                   8909: else
                   8910:     lt_prog_compiler_pic=
                   8911:      lt_prog_compiler_can_build_shared=no
                   8912: fi
                   8913: 
                   8914: fi
                   8915: 
                   8916: 
                   8917: 
                   8918: 
                   8919: 
                   8920: 
                   8921: 
                   8922: 
                   8923: 
                   8924: 
                   8925: 
                   8926: #
                   8927: # Check to make sure the static flag actually works.
                   8928: #
                   8929: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8930: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8931: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8932: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8933:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8934: else
                   8935:   lt_cv_prog_compiler_static_works=no
                   8936:    save_LDFLAGS="$LDFLAGS"
                   8937:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8938:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8939:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8940:      # The linker can only warn and ignore the option if not recognized
                   8941:      # So say no if there are warnings
                   8942:      if test -s conftest.err; then
                   8943:        # Append any errors to the config.log.
                   8944:        cat conftest.err 1>&5
                   8945:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8946:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8947:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8948:          lt_cv_prog_compiler_static_works=yes
                   8949:        fi
                   8950:      else
                   8951:        lt_cv_prog_compiler_static_works=yes
                   8952:      fi
                   8953:    fi
                   8954:    $RM -r conftest*
                   8955:    LDFLAGS="$save_LDFLAGS"
                   8956: 
                   8957: fi
                   8958: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8959: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8960: 
                   8961: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8962:     :
                   8963: else
                   8964:     lt_prog_compiler_static=
                   8965: fi
                   8966: 
                   8967: 
                   8968: 
                   8969: 
                   8970: 
                   8971: 
                   8972: 
                   8973:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8974: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8975: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8976:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8977: else
                   8978:   lt_cv_prog_compiler_c_o=no
                   8979:    $RM -r conftest 2>/dev/null
                   8980:    mkdir conftest
                   8981:    cd conftest
                   8982:    mkdir out
                   8983:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8984: 
                   8985:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8986:    # Insert the option either (1) after the last *FLAGS variable, or
                   8987:    # (2) before a word containing "conftest.", or (3) at the end.
                   8988:    # Note that $ac_compile itself does not contain backslashes and begins
                   8989:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8990:    lt_compile=`echo "$ac_compile" | $SED \
                   8991:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8992:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8993:    -e 's:$: $lt_compiler_flag:'`
                   8994:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8995:    (eval "$lt_compile" 2>out/conftest.err)
                   8996:    ac_status=$?
                   8997:    cat out/conftest.err >&5
                   8998:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8999:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9000:    then
                   9001:      # The compiler can only warn and ignore the option if not recognized
                   9002:      # So say no if there are warnings
                   9003:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9004:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9005:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9006:        lt_cv_prog_compiler_c_o=yes
                   9007:      fi
                   9008:    fi
                   9009:    chmod u+w . 2>&5
                   9010:    $RM conftest*
                   9011:    # SGI C++ compiler will create directory out/ii_files/ for
                   9012:    # template instantiation
                   9013:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9014:    $RM out/* && rmdir out
                   9015:    cd ..
                   9016:    $RM -r conftest
                   9017:    $RM conftest*
                   9018: 
                   9019: fi
                   9020: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9021: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9022: 
                   9023: 
                   9024: 
                   9025: 
                   9026: 
                   9027: 
                   9028:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9029: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   9030: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   9031:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9032: else
                   9033:   lt_cv_prog_compiler_c_o=no
                   9034:    $RM -r conftest 2>/dev/null
                   9035:    mkdir conftest
                   9036:    cd conftest
                   9037:    mkdir out
                   9038:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9039: 
                   9040:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9041:    # Insert the option either (1) after the last *FLAGS variable, or
                   9042:    # (2) before a word containing "conftest.", or (3) at the end.
                   9043:    # Note that $ac_compile itself does not contain backslashes and begins
                   9044:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9045:    lt_compile=`echo "$ac_compile" | $SED \
                   9046:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9047:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9048:    -e 's:$: $lt_compiler_flag:'`
                   9049:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9050:    (eval "$lt_compile" 2>out/conftest.err)
                   9051:    ac_status=$?
                   9052:    cat out/conftest.err >&5
                   9053:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9054:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9055:    then
                   9056:      # The compiler can only warn and ignore the option if not recognized
                   9057:      # So say no if there are warnings
                   9058:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9059:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9060:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9061:        lt_cv_prog_compiler_c_o=yes
                   9062:      fi
                   9063:    fi
                   9064:    chmod u+w . 2>&5
                   9065:    $RM conftest*
                   9066:    # SGI C++ compiler will create directory out/ii_files/ for
                   9067:    # template instantiation
                   9068:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9069:    $RM out/* && rmdir out
                   9070:    cd ..
                   9071:    $RM -r conftest
                   9072:    $RM conftest*
                   9073: 
                   9074: fi
                   9075: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9076: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9077: 
                   9078: 
                   9079: 
                   9080: 
                   9081: hard_links="nottested"
                   9082: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9083:   # do not overwrite the value of need_locks provided by the user
                   9084:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   9085: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   9086:   hard_links=yes
                   9087:   $RM conftest*
                   9088:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9089:   touch conftest.a
                   9090:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9091:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9092:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   9093: echo "${ECHO_T}$hard_links" >&6
                   9094:   if test "$hard_links" = no; then
                   9095:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9096: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9097:     need_locks=warn
                   9098:   fi
                   9099: else
                   9100:   need_locks=no
                   9101: fi
                   9102: 
                   9103: 
                   9104: 
                   9105: 
                   9106: 
                   9107: 
                   9108:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9109: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   9110: 
                   9111:   runpath_var=
                   9112:   allow_undefined_flag=
                   9113:   always_export_symbols=no
                   9114:   archive_cmds=
                   9115:   archive_expsym_cmds=
                   9116:   compiler_needs_object=no
                   9117:   enable_shared_with_static_runtimes=no
                   9118:   export_dynamic_flag_spec=
                   9119:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9120:   hardcode_automatic=no
                   9121:   hardcode_direct=no
                   9122:   hardcode_direct_absolute=no
                   9123:   hardcode_libdir_flag_spec=
                   9124:   hardcode_libdir_separator=
                   9125:   hardcode_minus_L=no
                   9126:   hardcode_shlibpath_var=unsupported
                   9127:   inherit_rpath=no
                   9128:   link_all_deplibs=unknown
                   9129:   module_cmds=
                   9130:   module_expsym_cmds=
                   9131:   old_archive_from_new_cmds=
                   9132:   old_archive_from_expsyms_cmds=
                   9133:   thread_safe_flag_spec=
                   9134:   whole_archive_flag_spec=
                   9135:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9136:   # included in the symbol list
                   9137:   include_expsyms=
                   9138:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9139:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9140:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9141:   # as well as any symbol that contains `d'.
                   9142:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9143:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9144:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9145:   # the symbol is explicitly referenced.  Since portable code cannot
                   9146:   # rely on this symbol name, it's probably fine to never include it in
                   9147:   # preloaded symbol tables.
                   9148:   # Exclude shared library initialization/finalization symbols.
                   9149:   extract_expsyms_cmds=
                   9150: 
                   9151:   case $host_os in
                   9152:   cygwin* | mingw* | pw32* | cegcc*)
                   9153:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9154:     # When not using gcc, we currently assume that we are using
                   9155:     # Microsoft Visual C++.
                   9156:     if test "$GCC" != yes; then
                   9157:       with_gnu_ld=no
                   9158:     fi
                   9159:     ;;
                   9160:   interix*)
                   9161:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9162:     with_gnu_ld=yes
                   9163:     ;;
                   9164:   openbsd*)
                   9165:     with_gnu_ld=no
                   9166:     ;;
                   9167:   esac
                   9168: 
                   9169:   ld_shlibs=yes
                   9170: 
                   9171:   # On some targets, GNU ld is compatible enough with the native linker
                   9172:   # that we're better off using the native interface for both.
                   9173:   lt_use_gnu_ld_interface=no
                   9174:   if test "$with_gnu_ld" = yes; then
                   9175:     case $host_os in
                   9176:       aix*)
                   9177:        # The AIX port of GNU ld has always aspired to compatibility
                   9178:        # with the native linker.  However, as the warning in the GNU ld
                   9179:        # block says, versions before 2.19.5* couldn't really create working
                   9180:        # shared libraries, regardless of the interface used.
                   9181:        case `$LD -v 2>&1` in
                   9182:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9183:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9184:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9185:          *)
                   9186:            lt_use_gnu_ld_interface=yes
                   9187:            ;;
                   9188:        esac
                   9189:        ;;
                   9190:       *)
                   9191:        lt_use_gnu_ld_interface=yes
                   9192:        ;;
                   9193:     esac
                   9194:   fi
                   9195: 
                   9196:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9197:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9198:     wlarc='${wl}'
                   9199: 
                   9200:     # Set some defaults for GNU ld with shared library support. These
                   9201:     # are reset later if shared libraries are not supported. Putting them
                   9202:     # here allows them to be overridden if necessary.
                   9203:     runpath_var=LD_RUN_PATH
                   9204:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9205:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9206:     # ancient GNU ld didn't support --whole-archive et. al.
                   9207:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9208:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9209:     else
                   9210:       whole_archive_flag_spec=
                   9211:     fi
                   9212:     supports_anon_versioning=no
                   9213:     case `$LD -v 2>&1` in
                   9214:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9215:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9216:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9217:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9218:       *\ 2.11.*) ;; # other 2.11 versions
                   9219:       *) supports_anon_versioning=yes ;;
                   9220:     esac
                   9221: 
                   9222:     # See if GNU ld supports shared libraries.
                   9223:     case $host_os in
                   9224:     aix[3-9]*)
                   9225:       # On AIX/PPC, the GNU linker is very broken
                   9226:       if test "$host_cpu" != ia64; then
                   9227:        ld_shlibs=no
                   9228:        cat <<_LT_EOF 1>&2
                   9229: 
                   9230: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9231: *** to be unable to reliably create shared libraries on AIX.
                   9232: *** Therefore, libtool is disabling shared libraries support.  If you
                   9233: *** really care for shared libraries, you may want to install binutils
                   9234: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9235: *** You will then need to restart the configuration process.
                   9236: 
                   9237: _LT_EOF
                   9238:       fi
                   9239:       ;;
                   9240: 
                   9241:     amigaos*)
                   9242:       case $host_cpu in
                   9243:       powerpc)
                   9244:             # see comment about AmigaOS4 .so support
                   9245:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9246:             archive_expsym_cmds=''
                   9247:         ;;
                   9248:       m68k)
                   9249:             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)'
                   9250:             hardcode_libdir_flag_spec='-L$libdir'
                   9251:             hardcode_minus_L=yes
                   9252:         ;;
                   9253:       esac
                   9254:       ;;
                   9255: 
                   9256:     beos*)
                   9257:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9258:        allow_undefined_flag=unsupported
                   9259:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9260:        # support --undefined.  This deserves some investigation.  FIXME
                   9261:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9262:       else
                   9263:        ld_shlibs=no
                   9264:       fi
                   9265:       ;;
                   9266: 
                   9267:     cygwin* | mingw* | pw32* | cegcc*)
                   9268:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9269:       # as there is no search path for DLLs.
                   9270:       hardcode_libdir_flag_spec='-L$libdir'
                   9271:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9272:       allow_undefined_flag=unsupported
                   9273:       always_export_symbols=no
                   9274:       enable_shared_with_static_runtimes=yes
                   9275:       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'
                   9276:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9277: 
                   9278:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9279:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9280:        # If the export-symbols file already is a .def file (1st line
                   9281:        # is EXPORTS), use it as is; otherwise, prepend...
                   9282:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9283:          cp $export_symbols $output_objdir/$soname.def;
                   9284:        else
                   9285:          echo EXPORTS > $output_objdir/$soname.def;
                   9286:          cat $export_symbols >> $output_objdir/$soname.def;
                   9287:        fi~
                   9288:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9289:       else
                   9290:        ld_shlibs=no
                   9291:       fi
                   9292:       ;;
                   9293: 
                   9294:     haiku*)
                   9295:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9296:       link_all_deplibs=yes
                   9297:       ;;
                   9298: 
                   9299:     interix[3-9]*)
                   9300:       hardcode_direct=no
                   9301:       hardcode_shlibpath_var=no
                   9302:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9303:       export_dynamic_flag_spec='${wl}-E'
                   9304:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9305:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9306:       # default) and relocated if they conflict, which is a slow very memory
                   9307:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9308:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9309:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9310:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9311:       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'
                   9312:       ;;
                   9313: 
                   9314:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9315:       tmp_diet=no
                   9316:       if test "$host_os" = linux-dietlibc; then
                   9317:        case $cc_basename in
                   9318:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9319:        esac
                   9320:       fi
                   9321:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9322:         && test "$tmp_diet" = no
                   9323:       then
                   9324:        tmp_addflag=' $pic_flag'
                   9325:        tmp_sharedflag='-shared'
                   9326:        case $cc_basename,$host_cpu in
                   9327:         pgcc*)                         # Portland Group C compiler
                   9328:          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'
                   9329:          tmp_addflag=' $pic_flag'
                   9330:          ;;
                   9331:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9332:                                        # Portland Group f77 and f90 compilers
                   9333:          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'
                   9334:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9335:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9336:          tmp_addflag=' -i_dynamic' ;;
                   9337:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9338:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9339:        ifc* | ifort*)                  # Intel Fortran compiler
                   9340:          tmp_addflag=' -nofor_main' ;;
                   9341:        lf95*)                          # Lahey Fortran 8.1
                   9342:          whole_archive_flag_spec=
                   9343:          tmp_sharedflag='--shared' ;;
                   9344:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9345:          tmp_sharedflag='-qmkshrobj'
                   9346:          tmp_addflag= ;;
                   9347:        nvcc*)  # Cuda Compiler Driver 2.2
                   9348:          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'
                   9349:          compiler_needs_object=yes
                   9350:          ;;
                   9351:        esac
                   9352:        case `$CC -V 2>&1 | sed 5q` in
                   9353:        *Sun\ C*)                       # Sun C 5.9
                   9354:          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'
                   9355:          compiler_needs_object=yes
                   9356:          tmp_sharedflag='-G' ;;
                   9357:        *Sun\ F*)                       # Sun Fortran 8.3
                   9358:          tmp_sharedflag='-G' ;;
                   9359:        esac
                   9360:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9361: 
                   9362:         if test "x$supports_anon_versioning" = xyes; then
                   9363:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9364:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9365:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9366:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9367:         fi
                   9368: 
                   9369:        case $cc_basename in
                   9370:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9371:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9372:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9373:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9374:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9375:          if test "x$supports_anon_versioning" = xyes; then
                   9376:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9377:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9378:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9379:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9380:          fi
                   9381:          ;;
                   9382:        esac
                   9383:       else
                   9384:         ld_shlibs=no
                   9385:       fi
                   9386:       ;;
                   9387: 
                   9388:     netbsd*)
                   9389:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9390:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9391:        wlarc=
                   9392:       else
                   9393:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9394:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9395:       fi
                   9396:       ;;
                   9397: 
                   9398:     solaris*)
                   9399:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9400:        ld_shlibs=no
                   9401:        cat <<_LT_EOF 1>&2
                   9402: 
                   9403: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9404: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9405: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9406: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9407: *** your PATH or compiler configuration so that the native linker is
                   9408: *** used, and then restart.
                   9409: 
                   9410: _LT_EOF
                   9411:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9412:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9413:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9414:       else
                   9415:        ld_shlibs=no
                   9416:       fi
                   9417:       ;;
                   9418: 
                   9419:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9420:       case `$LD -v 2>&1` in
                   9421:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9422:        ld_shlibs=no
                   9423:        cat <<_LT_EOF 1>&2
                   9424: 
                   9425: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9426: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9427: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9428: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9429: *** your PATH or compiler configuration so that the native linker is
                   9430: *** used, and then restart.
                   9431: 
                   9432: _LT_EOF
                   9433:        ;;
                   9434:        *)
                   9435:          # For security reasons, it is highly recommended that you always
                   9436:          # use absolute paths for naming shared libraries, and exclude the
                   9437:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9438:          # requires that you compile everything twice, which is a pain.
                   9439:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9440:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9441:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9442:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9443:          else
                   9444:            ld_shlibs=no
                   9445:          fi
                   9446:        ;;
                   9447:       esac
                   9448:       ;;
                   9449: 
                   9450:     sunos4*)
                   9451:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9452:       wlarc=
                   9453:       hardcode_direct=yes
                   9454:       hardcode_shlibpath_var=no
                   9455:       ;;
                   9456: 
                   9457:     *)
                   9458:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9459:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9460:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9461:       else
                   9462:        ld_shlibs=no
                   9463:       fi
                   9464:       ;;
                   9465:     esac
                   9466: 
                   9467:     if test "$ld_shlibs" = no; then
                   9468:       runpath_var=
                   9469:       hardcode_libdir_flag_spec=
                   9470:       export_dynamic_flag_spec=
                   9471:       whole_archive_flag_spec=
                   9472:     fi
                   9473:   else
                   9474:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9475:     case $host_os in
                   9476:     aix3*)
                   9477:       allow_undefined_flag=unsupported
                   9478:       always_export_symbols=yes
                   9479:       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'
                   9480:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9481:       # are no directories specified by -L.
                   9482:       hardcode_minus_L=yes
                   9483:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9484:        # Neither direct hardcoding nor static linking is supported with a
                   9485:        # broken collect2.
                   9486:        hardcode_direct=unsupported
                   9487:       fi
                   9488:       ;;
                   9489: 
                   9490:     aix[4-9]*)
                   9491:       if test "$host_cpu" = ia64; then
                   9492:        # On IA64, the linker does run time linking by default, so we don't
                   9493:        # have to do anything special.
                   9494:        aix_use_runtimelinking=no
                   9495:        exp_sym_flag='-Bexport'
                   9496:        no_entry_flag=""
                   9497:       else
                   9498:        # If we're using GNU nm, then we don't want the "-C" option.
                   9499:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9500:        # Also, AIX nm treats weak defined symbols like other global
                   9501:        # defined symbols, whereas GNU nm marks them as "W".
                   9502:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9503:          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'
                   9504:        else
                   9505:          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'
                   9506:        fi
                   9507:        aix_use_runtimelinking=no
                   9508: 
                   9509:        # Test if we are trying to use run time linking or normal
                   9510:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9511:        # need to do runtime linking.
                   9512:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9513:          for ld_flag in $LDFLAGS; do
                   9514:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9515:            aix_use_runtimelinking=yes
                   9516:            break
                   9517:          fi
                   9518:          done
                   9519:          ;;
                   9520:        esac
                   9521: 
                   9522:        exp_sym_flag='-bexport'
                   9523:        no_entry_flag='-bnoentry'
                   9524:       fi
                   9525: 
                   9526:       # When large executables or shared objects are built, AIX ld can
                   9527:       # have problems creating the table of contents.  If linking a library
                   9528:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9529:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9530:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9531: 
                   9532:       archive_cmds=''
                   9533:       hardcode_direct=yes
                   9534:       hardcode_direct_absolute=yes
                   9535:       hardcode_libdir_separator=':'
                   9536:       link_all_deplibs=yes
                   9537:       file_list_spec='${wl}-f,'
                   9538: 
                   9539:       if test "$GCC" = yes; then
                   9540:        case $host_os in aix4.[012]|aix4.[012].*)
                   9541:        # We only want to do this on AIX 4.2 and lower, the check
                   9542:        # below for broken collect2 doesn't work under 4.3+
                   9543:          collect2name=`${CC} -print-prog-name=collect2`
                   9544:          if test -f "$collect2name" &&
                   9545:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9546:          then
                   9547:          # We have reworked collect2
                   9548:          :
                   9549:          else
                   9550:          # We have old collect2
                   9551:          hardcode_direct=unsupported
                   9552:          # It fails to find uninstalled libraries when the uninstalled
                   9553:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9554:          # to unsupported forces relinking
                   9555:          hardcode_minus_L=yes
                   9556:          hardcode_libdir_flag_spec='-L$libdir'
                   9557:          hardcode_libdir_separator=
                   9558:          fi
                   9559:          ;;
                   9560:        esac
                   9561:        shared_flag='-shared'
                   9562:        if test "$aix_use_runtimelinking" = yes; then
                   9563:          shared_flag="$shared_flag "'${wl}-G'
                   9564:        fi
                   9565:       else
                   9566:        # not using gcc
                   9567:        if test "$host_cpu" = ia64; then
                   9568:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9569:        # chokes on -Wl,-G. The following line is correct:
                   9570:          shared_flag='-G'
                   9571:        else
                   9572:          if test "$aix_use_runtimelinking" = yes; then
                   9573:            shared_flag='${wl}-G'
                   9574:          else
                   9575:            shared_flag='${wl}-bM:SRE'
                   9576:          fi
                   9577:        fi
                   9578:       fi
                   9579: 
                   9580:       export_dynamic_flag_spec='${wl}-bexpall'
                   9581:       # It seems that -bexpall does not export symbols beginning with
                   9582:       # underscore (_), so it is better to generate a list of symbols to export.
                   9583:       always_export_symbols=yes
                   9584:       if test "$aix_use_runtimelinking" = yes; then
                   9585:        # Warning - without using the other runtime loading flags (-brtl),
                   9586:        # -berok will link without error, but may produce a broken library.
                   9587:        allow_undefined_flag='-berok'
                   9588:         # Determine the default libpath from the value encoded in an
                   9589:         # empty executable.
                   9590:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9591:   aix_libpath=$lt_cv_aix_libpath
                   9592: else
                   9593:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9594:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9595: else
                   9596:   cat >conftest.$ac_ext <<_ACEOF
                   9597: /* confdefs.h.  */
                   9598: _ACEOF
                   9599: cat confdefs.h >>conftest.$ac_ext
                   9600: cat >>conftest.$ac_ext <<_ACEOF
                   9601: /* end confdefs.h.  */
                   9602: 
                   9603: int
                   9604: main ()
                   9605: {
                   9606: 
                   9607:   ;
                   9608:   return 0;
                   9609: }
                   9610: _ACEOF
                   9611: rm -f conftest.$ac_objext conftest$ac_exeext
                   9612: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9613:   (eval $ac_link) 2>conftest.er1
                   9614:   ac_status=$?
                   9615:   grep -v '^ *+' conftest.er1 >conftest.err
                   9616:   rm -f conftest.er1
                   9617:   cat conftest.err >&5
                   9618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9619:   (exit $ac_status); } &&
                   9620:         { ac_try='test -z "$ac_c_werror_flag"
                   9621:                         || test ! -s conftest.err'
                   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); }; } &&
                   9627:         { ac_try='test -s conftest$ac_exeext'
                   9628:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9629:   (eval $ac_try) 2>&5
                   9630:   ac_status=$?
                   9631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9632:   (exit $ac_status); }; }; then
                   9633: 
                   9634:   lt_aix_libpath_sed='
                   9635:       /Import File Strings/,/^$/ {
                   9636:          /^0/ {
                   9637:              s/^0  *\([^ ]*\) *$/\1/
                   9638:              p
                   9639:          }
                   9640:       }'
                   9641:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9642:   # Check for a 64-bit object if we didn't find anything.
                   9643:   if test -z "$lt_cv_aix_libpath_"; then
                   9644:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9645:   fi
                   9646: else
                   9647:   echo "$as_me: failed program was:" >&5
                   9648: sed 's/^/| /' conftest.$ac_ext >&5
                   9649: 
                   9650: fi
                   9651: rm -f conftest.err conftest.$ac_objext \
                   9652:       conftest$ac_exeext conftest.$ac_ext
                   9653:   if test -z "$lt_cv_aix_libpath_"; then
                   9654:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9655:   fi
                   9656: 
                   9657: fi
                   9658: 
                   9659:   aix_libpath=$lt_cv_aix_libpath_
                   9660: fi
                   9661: 
                   9662:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9663:         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"
                   9664:       else
                   9665:        if test "$host_cpu" = ia64; then
                   9666:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9667:          allow_undefined_flag="-z nodefs"
                   9668:          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"
                   9669:        else
                   9670:         # Determine the default libpath from the value encoded in an
                   9671:         # empty executable.
                   9672:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9673:   aix_libpath=$lt_cv_aix_libpath
                   9674: else
                   9675:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9676:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9677: else
                   9678:   cat >conftest.$ac_ext <<_ACEOF
                   9679: /* confdefs.h.  */
                   9680: _ACEOF
                   9681: cat confdefs.h >>conftest.$ac_ext
                   9682: cat >>conftest.$ac_ext <<_ACEOF
                   9683: /* end confdefs.h.  */
                   9684: 
                   9685: int
                   9686: main ()
                   9687: {
                   9688: 
                   9689:   ;
                   9690:   return 0;
                   9691: }
                   9692: _ACEOF
                   9693: rm -f conftest.$ac_objext conftest$ac_exeext
                   9694: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9695:   (eval $ac_link) 2>conftest.er1
                   9696:   ac_status=$?
                   9697:   grep -v '^ *+' conftest.er1 >conftest.err
                   9698:   rm -f conftest.er1
                   9699:   cat conftest.err >&5
                   9700:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9701:   (exit $ac_status); } &&
                   9702:         { ac_try='test -z "$ac_c_werror_flag"
                   9703:                         || test ! -s conftest.err'
                   9704:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9705:   (eval $ac_try) 2>&5
                   9706:   ac_status=$?
                   9707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9708:   (exit $ac_status); }; } &&
                   9709:         { ac_try='test -s conftest$ac_exeext'
                   9710:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9711:   (eval $ac_try) 2>&5
                   9712:   ac_status=$?
                   9713:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9714:   (exit $ac_status); }; }; then
                   9715: 
                   9716:   lt_aix_libpath_sed='
                   9717:       /Import File Strings/,/^$/ {
                   9718:          /^0/ {
                   9719:              s/^0  *\([^ ]*\) *$/\1/
                   9720:              p
                   9721:          }
                   9722:       }'
                   9723:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9724:   # Check for a 64-bit object if we didn't find anything.
                   9725:   if test -z "$lt_cv_aix_libpath_"; then
                   9726:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9727:   fi
                   9728: else
                   9729:   echo "$as_me: failed program was:" >&5
                   9730: sed 's/^/| /' conftest.$ac_ext >&5
                   9731: 
                   9732: fi
                   9733: rm -f conftest.err conftest.$ac_objext \
                   9734:       conftest$ac_exeext conftest.$ac_ext
                   9735:   if test -z "$lt_cv_aix_libpath_"; then
                   9736:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9737:   fi
                   9738: 
                   9739: fi
                   9740: 
                   9741:   aix_libpath=$lt_cv_aix_libpath_
                   9742: fi
                   9743: 
                   9744:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9745:          # Warning - without using the other run time loading flags,
                   9746:          # -berok will link without error, but may produce a broken library.
                   9747:          no_undefined_flag=' ${wl}-bernotok'
                   9748:          allow_undefined_flag=' ${wl}-berok'
                   9749:          if test "$with_gnu_ld" = yes; then
                   9750:            # We only use this code for GNU lds that support --whole-archive.
                   9751:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9752:          else
                   9753:            # Exported symbols can be pulled into shared objects from archives
                   9754:            whole_archive_flag_spec='$convenience'
                   9755:          fi
                   9756:          archive_cmds_need_lc=yes
                   9757:          # This is similar to how AIX traditionally builds its shared libraries.
                   9758:          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'
                   9759:        fi
                   9760:       fi
                   9761:       ;;
                   9762: 
                   9763:     amigaos*)
                   9764:       case $host_cpu in
                   9765:       powerpc)
                   9766:             # see comment about AmigaOS4 .so support
                   9767:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9768:             archive_expsym_cmds=''
                   9769:         ;;
                   9770:       m68k)
                   9771:             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)'
                   9772:             hardcode_libdir_flag_spec='-L$libdir'
                   9773:             hardcode_minus_L=yes
                   9774:         ;;
                   9775:       esac
                   9776:       ;;
                   9777: 
                   9778:     bsdi[45]*)
                   9779:       export_dynamic_flag_spec=-rdynamic
                   9780:       ;;
                   9781: 
                   9782:     cygwin* | mingw* | pw32* | cegcc*)
                   9783:       # When not using gcc, we currently assume that we are using
                   9784:       # Microsoft Visual C++.
                   9785:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9786:       # no search path for DLLs.
                   9787:       case $cc_basename in
                   9788:       cl*)
                   9789:        # Native MSVC
                   9790:        hardcode_libdir_flag_spec=' '
                   9791:        allow_undefined_flag=unsupported
                   9792:        always_export_symbols=yes
                   9793:        file_list_spec='@'
                   9794:        # Tell ltmain to make .lib files, not .a files.
                   9795:        libext=lib
                   9796:        # Tell ltmain to make .dll files, not .so files.
                   9797:        shrext_cmds=".dll"
                   9798:        # FIXME: Setting linknames here is a bad hack.
                   9799:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9800:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9801:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9802:          else
                   9803:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9804:          fi~
                   9805:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9806:          linknames='
                   9807:        # The linker will not automatically build a static lib if we build a DLL.
                   9808:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9809:        enable_shared_with_static_runtimes=yes
                   9810:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9811:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9812:        # Don't use ranlib
                   9813:        old_postinstall_cmds='chmod 644 $oldlib'
                   9814:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9815:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9816:          case $lt_outputfile in
                   9817:            *.exe|*.EXE) ;;
                   9818:            *)
                   9819:              lt_outputfile="$lt_outputfile.exe"
                   9820:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9821:              ;;
                   9822:          esac~
                   9823:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9824:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9825:            $RM "$lt_outputfile.manifest";
                   9826:          fi'
                   9827:        ;;
                   9828:       *)
                   9829:        # Assume MSVC wrapper
                   9830:        hardcode_libdir_flag_spec=' '
                   9831:        allow_undefined_flag=unsupported
                   9832:        # Tell ltmain to make .lib files, not .a files.
                   9833:        libext=lib
                   9834:        # Tell ltmain to make .dll files, not .so files.
                   9835:        shrext_cmds=".dll"
                   9836:        # FIXME: Setting linknames here is a bad hack.
                   9837:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9838:        # The linker will automatically build a .lib file if we build a DLL.
                   9839:        old_archive_from_new_cmds='true'
                   9840:        # FIXME: Should let the user specify the lib program.
                   9841:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9842:        enable_shared_with_static_runtimes=yes
                   9843:        ;;
                   9844:       esac
                   9845:       ;;
                   9846: 
                   9847:     darwin* | rhapsody*)
                   9848: 
                   9849: 
                   9850:   archive_cmds_need_lc=no
                   9851:   hardcode_direct=no
                   9852:   hardcode_automatic=yes
                   9853:   hardcode_shlibpath_var=unsupported
                   9854:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9855:     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\"`'
                   9856: 
                   9857:   else
                   9858:     whole_archive_flag_spec=''
                   9859:   fi
                   9860:   link_all_deplibs=yes
                   9861:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9862:   case $cc_basename in
                   9863:      ifort*) _lt_dar_can_shared=yes ;;
                   9864:      *) _lt_dar_can_shared=$GCC ;;
                   9865:   esac
                   9866:   if test "$_lt_dar_can_shared" = "yes"; then
                   9867:     output_verbose_link_cmd=func_echo_all
                   9868:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9869:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9870:     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}"
                   9871:     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}"
                   9872: 
                   9873:   else
                   9874:   ld_shlibs=no
                   9875:   fi
                   9876: 
                   9877:       ;;
                   9878: 
                   9879:     dgux*)
                   9880:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9881:       hardcode_libdir_flag_spec='-L$libdir'
                   9882:       hardcode_shlibpath_var=no
                   9883:       ;;
                   9884: 
                   9885:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9886:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9887:     # does not break anything, and helps significantly (at the cost of a little
                   9888:     # extra space).
                   9889:     freebsd2.2*)
                   9890:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9891:       hardcode_libdir_flag_spec='-R$libdir'
                   9892:       hardcode_direct=yes
                   9893:       hardcode_shlibpath_var=no
                   9894:       ;;
                   9895: 
                   9896:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9897:     freebsd2.*)
                   9898:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9899:       hardcode_direct=yes
                   9900:       hardcode_minus_L=yes
                   9901:       hardcode_shlibpath_var=no
                   9902:       ;;
                   9903: 
                   9904:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9905:     freebsd* | dragonfly*)
                   9906:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9907:       hardcode_libdir_flag_spec='-R$libdir'
                   9908:       hardcode_direct=yes
                   9909:       hardcode_shlibpath_var=no
                   9910:       ;;
                   9911: 
                   9912:     hpux9*)
                   9913:       if test "$GCC" = yes; then
                   9914:        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'
                   9915:       else
                   9916:        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'
                   9917:       fi
                   9918:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9919:       hardcode_libdir_separator=:
                   9920:       hardcode_direct=yes
                   9921: 
                   9922:       # hardcode_minus_L: Not really in the search PATH,
                   9923:       # but as the default location of the library.
                   9924:       hardcode_minus_L=yes
                   9925:       export_dynamic_flag_spec='${wl}-E'
                   9926:       ;;
                   9927: 
                   9928:     hpux10*)
                   9929:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9930:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9931:       else
                   9932:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9933:       fi
                   9934:       if test "$with_gnu_ld" = no; then
                   9935:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9936:        hardcode_libdir_separator=:
                   9937:        hardcode_direct=yes
                   9938:        hardcode_direct_absolute=yes
                   9939:        export_dynamic_flag_spec='${wl}-E'
                   9940:        # hardcode_minus_L: Not really in the search PATH,
                   9941:        # but as the default location of the library.
                   9942:        hardcode_minus_L=yes
                   9943:       fi
                   9944:       ;;
                   9945: 
                   9946:     hpux11*)
                   9947:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9948:        case $host_cpu in
                   9949:        hppa*64*)
                   9950:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9951:          ;;
                   9952:        ia64*)
                   9953:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9954:          ;;
                   9955:        *)
                   9956:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9957:          ;;
                   9958:        esac
                   9959:       else
                   9960:        case $host_cpu in
                   9961:        hppa*64*)
                   9962:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9963:          ;;
                   9964:        ia64*)
                   9965:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9966:          ;;
                   9967:        *)
                   9968: 
                   9969:          # Older versions of the 11.00 compiler do not understand -b yet
                   9970:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9971:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9972: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9973: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9974:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9975: else
                   9976:   lt_cv_prog_compiler__b=no
                   9977:    save_LDFLAGS="$LDFLAGS"
                   9978:    LDFLAGS="$LDFLAGS -b"
                   9979:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9980:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9981:      # The linker can only warn and ignore the option if not recognized
                   9982:      # So say no if there are warnings
                   9983:      if test -s conftest.err; then
                   9984:        # Append any errors to the config.log.
                   9985:        cat conftest.err 1>&5
                   9986:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9987:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9988:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9989:          lt_cv_prog_compiler__b=yes
                   9990:        fi
                   9991:      else
                   9992:        lt_cv_prog_compiler__b=yes
                   9993:      fi
                   9994:    fi
                   9995:    $RM -r conftest*
                   9996:    LDFLAGS="$save_LDFLAGS"
                   9997: 
                   9998: fi
                   9999: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   10000: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
                   10001: 
                   10002: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10003:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10004: else
                   10005:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10006: fi
                   10007: 
                   10008:          ;;
                   10009:        esac
                   10010:       fi
                   10011:       if test "$with_gnu_ld" = no; then
                   10012:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10013:        hardcode_libdir_separator=:
                   10014: 
                   10015:        case $host_cpu in
                   10016:        hppa*64*|ia64*)
                   10017:          hardcode_direct=no
                   10018:          hardcode_shlibpath_var=no
                   10019:          ;;
                   10020:        *)
                   10021:          hardcode_direct=yes
                   10022:          hardcode_direct_absolute=yes
                   10023:          export_dynamic_flag_spec='${wl}-E'
                   10024: 
                   10025:          # hardcode_minus_L: Not really in the search PATH,
                   10026:          # but as the default location of the library.
                   10027:          hardcode_minus_L=yes
                   10028:          ;;
                   10029:        esac
                   10030:       fi
                   10031:       ;;
                   10032: 
                   10033:     irix5* | irix6* | nonstopux*)
                   10034:       if test "$GCC" = yes; then
                   10035:        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'
                   10036:        # Try to use the -exported_symbol ld option, if it does not
                   10037:        # work, assume that -exports_file does not work either and
                   10038:        # implicitly export all symbols.
                   10039:        # This should be the same for all languages, so no per-tag cache variable.
                   10040:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10041: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   10042: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   10043:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10044: else
                   10045:   save_LDFLAGS="$LDFLAGS"
                   10046:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   10047:           cat >conftest.$ac_ext <<_ACEOF
                   10048: /* confdefs.h.  */
                   10049: _ACEOF
                   10050: cat confdefs.h >>conftest.$ac_ext
                   10051: cat >>conftest.$ac_ext <<_ACEOF
                   10052: /* end confdefs.h.  */
                   10053: int foo (void) { return 0; }
                   10054: _ACEOF
                   10055: rm -f conftest.$ac_objext conftest$ac_exeext
                   10056: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10057:   (eval $ac_link) 2>conftest.er1
                   10058:   ac_status=$?
                   10059:   grep -v '^ *+' conftest.er1 >conftest.err
                   10060:   rm -f conftest.er1
                   10061:   cat conftest.err >&5
                   10062:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10063:   (exit $ac_status); } &&
                   10064:         { ac_try='test -z "$ac_c_werror_flag"
                   10065:                         || test ! -s conftest.err'
                   10066:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10067:   (eval $ac_try) 2>&5
                   10068:   ac_status=$?
                   10069:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10070:   (exit $ac_status); }; } &&
                   10071:         { ac_try='test -s conftest$ac_exeext'
                   10072:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10073:   (eval $ac_try) 2>&5
                   10074:   ac_status=$?
                   10075:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10076:   (exit $ac_status); }; }; then
                   10077:   lt_cv_irix_exported_symbol=yes
                   10078: else
                   10079:   echo "$as_me: failed program was:" >&5
                   10080: sed 's/^/| /' conftest.$ac_ext >&5
                   10081: 
                   10082: lt_cv_irix_exported_symbol=no
                   10083: fi
                   10084: rm -f conftest.err conftest.$ac_objext \
                   10085:       conftest$ac_exeext conftest.$ac_ext
                   10086:            LDFLAGS="$save_LDFLAGS"
                   10087: fi
                   10088: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   10089: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   10090:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10091:           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'
                   10092:        fi
                   10093:       else
                   10094:        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'
                   10095:        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'
                   10096:       fi
                   10097:       archive_cmds_need_lc='no'
                   10098:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10099:       hardcode_libdir_separator=:
                   10100:       inherit_rpath=yes
                   10101:       link_all_deplibs=yes
                   10102:       ;;
                   10103: 
                   10104:     netbsd*)
                   10105:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10106:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10107:       else
                   10108:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10109:       fi
                   10110:       hardcode_libdir_flag_spec='-R$libdir'
                   10111:       hardcode_direct=yes
                   10112:       hardcode_shlibpath_var=no
                   10113:       ;;
                   10114: 
                   10115:     newsos6)
                   10116:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10117:       hardcode_direct=yes
                   10118:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10119:       hardcode_libdir_separator=:
                   10120:       hardcode_shlibpath_var=no
                   10121:       ;;
                   10122: 
                   10123:     *nto* | *qnx*)
                   10124:       ;;
                   10125: 
                   10126:     openbsd*)
                   10127:       if test -f /usr/libexec/ld.so; then
                   10128:        hardcode_direct=yes
                   10129:        hardcode_shlibpath_var=no
                   10130:        hardcode_direct_absolute=yes
                   10131:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10132:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10133:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10134:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10135:          export_dynamic_flag_spec='${wl}-E'
                   10136:        else
                   10137:          case $host_os in
                   10138:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10139:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10140:             hardcode_libdir_flag_spec='-R$libdir'
                   10141:             ;;
                   10142:           *)
                   10143:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10144:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10145:             ;;
                   10146:          esac
                   10147:        fi
                   10148:       else
                   10149:        ld_shlibs=no
                   10150:       fi
                   10151:       ;;
                   10152: 
                   10153:     os2*)
                   10154:       hardcode_libdir_flag_spec='-L$libdir'
                   10155:       hardcode_minus_L=yes
                   10156:       allow_undefined_flag=unsupported
                   10157:       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'
                   10158:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10159:       ;;
                   10160: 
                   10161:     osf3*)
                   10162:       if test "$GCC" = yes; then
                   10163:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10164:        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'
                   10165:       else
                   10166:        allow_undefined_flag=' -expect_unresolved \*'
                   10167:        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'
                   10168:       fi
                   10169:       archive_cmds_need_lc='no'
                   10170:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10171:       hardcode_libdir_separator=:
                   10172:       ;;
                   10173: 
                   10174:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10175:       if test "$GCC" = yes; then
                   10176:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10177:        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'
                   10178:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10179:       else
                   10180:        allow_undefined_flag=' -expect_unresolved \*'
                   10181:        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'
                   10182:        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~
                   10183:        $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'
                   10184: 
                   10185:        # Both c and cxx compiler support -rpath directly
                   10186:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10187:       fi
                   10188:       archive_cmds_need_lc='no'
                   10189:       hardcode_libdir_separator=:
                   10190:       ;;
                   10191: 
                   10192:     solaris*)
                   10193:       no_undefined_flag=' -z defs'
                   10194:       if test "$GCC" = yes; then
                   10195:        wlarc='${wl}'
                   10196:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10197:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10198:          $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'
                   10199:       else
                   10200:        case `$CC -V 2>&1` in
                   10201:        *"Compilers 5.0"*)
                   10202:          wlarc=''
                   10203:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10204:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10205:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10206:          ;;
                   10207:        *)
                   10208:          wlarc='${wl}'
                   10209:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10210:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10211:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10212:          ;;
                   10213:        esac
                   10214:       fi
                   10215:       hardcode_libdir_flag_spec='-R$libdir'
                   10216:       hardcode_shlibpath_var=no
                   10217:       case $host_os in
                   10218:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10219:       *)
                   10220:        # The compiler driver will combine and reorder linker options,
                   10221:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10222:        # but is careful enough not to reorder.
                   10223:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10224:        if test "$GCC" = yes; then
                   10225:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10226:        else
                   10227:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10228:        fi
                   10229:        ;;
                   10230:       esac
                   10231:       link_all_deplibs=yes
                   10232:       ;;
                   10233: 
                   10234:     sunos4*)
                   10235:       if test "x$host_vendor" = xsequent; then
                   10236:        # Use $CC to link under sequent, because it throws in some extra .o
                   10237:        # files that make .init and .fini sections work.
                   10238:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10239:       else
                   10240:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10241:       fi
                   10242:       hardcode_libdir_flag_spec='-L$libdir'
                   10243:       hardcode_direct=yes
                   10244:       hardcode_minus_L=yes
                   10245:       hardcode_shlibpath_var=no
                   10246:       ;;
                   10247: 
                   10248:     sysv4)
                   10249:       case $host_vendor in
                   10250:        sni)
                   10251:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10252:          hardcode_direct=yes # is this really true???
                   10253:        ;;
                   10254:        siemens)
                   10255:          ## LD is ld it makes a PLAMLIB
                   10256:          ## CC just makes a GrossModule.
                   10257:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10258:          reload_cmds='$CC -r -o $output$reload_objs'
                   10259:          hardcode_direct=no
                   10260:         ;;
                   10261:        motorola)
                   10262:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10263:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10264:        ;;
                   10265:       esac
                   10266:       runpath_var='LD_RUN_PATH'
                   10267:       hardcode_shlibpath_var=no
                   10268:       ;;
                   10269: 
                   10270:     sysv4.3*)
                   10271:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10272:       hardcode_shlibpath_var=no
                   10273:       export_dynamic_flag_spec='-Bexport'
                   10274:       ;;
                   10275: 
                   10276:     sysv4*MP*)
                   10277:       if test -d /usr/nec; then
                   10278:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10279:        hardcode_shlibpath_var=no
                   10280:        runpath_var=LD_RUN_PATH
                   10281:        hardcode_runpath_var=yes
                   10282:        ld_shlibs=yes
                   10283:       fi
                   10284:       ;;
                   10285: 
                   10286:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10287:       no_undefined_flag='${wl}-z,text'
                   10288:       archive_cmds_need_lc=no
                   10289:       hardcode_shlibpath_var=no
                   10290:       runpath_var='LD_RUN_PATH'
                   10291: 
                   10292:       if test "$GCC" = yes; then
                   10293:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10294:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10295:       else
                   10296:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10297:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10298:       fi
                   10299:       ;;
                   10300: 
                   10301:     sysv5* | sco3.2v5* | sco5v6*)
                   10302:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10303:       # link with -lc, and that would cause any symbols used from libc to
                   10304:       # always be unresolved, which means just about no library would
                   10305:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10306:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10307:       # as -z defs.
                   10308:       no_undefined_flag='${wl}-z,text'
                   10309:       allow_undefined_flag='${wl}-z,nodefs'
                   10310:       archive_cmds_need_lc=no
                   10311:       hardcode_shlibpath_var=no
                   10312:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10313:       hardcode_libdir_separator=':'
                   10314:       link_all_deplibs=yes
                   10315:       export_dynamic_flag_spec='${wl}-Bexport'
                   10316:       runpath_var='LD_RUN_PATH'
                   10317: 
                   10318:       if test "$GCC" = yes; then
                   10319:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10320:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10321:       else
                   10322:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10323:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10324:       fi
                   10325:       ;;
                   10326: 
                   10327:     uts4*)
                   10328:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10329:       hardcode_libdir_flag_spec='-L$libdir'
                   10330:       hardcode_shlibpath_var=no
                   10331:       ;;
                   10332: 
                   10333:     *)
                   10334:       ld_shlibs=no
                   10335:       ;;
                   10336:     esac
                   10337: 
                   10338:     if test x$host_vendor = xsni; then
                   10339:       case $host in
                   10340:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10341:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10342:        ;;
                   10343:       esac
                   10344:     fi
                   10345:   fi
                   10346: 
                   10347: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   10348: echo "${ECHO_T}$ld_shlibs" >&6
                   10349: test "$ld_shlibs" = no && can_build_shared=no
                   10350: 
                   10351: with_gnu_ld=$with_gnu_ld
                   10352: 
                   10353: 
                   10354: 
                   10355: 
                   10356: 
                   10357: 
                   10358: 
                   10359: 
                   10360: 
                   10361: 
                   10362: 
                   10363: 
                   10364: 
                   10365: 
                   10366: 
                   10367: #
                   10368: # Do we need to explicitly link libc?
                   10369: #
                   10370: case "x$archive_cmds_need_lc" in
                   10371: x|xyes)
                   10372:   # Assume -lc should be added
                   10373:   archive_cmds_need_lc=yes
                   10374: 
                   10375:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10376:     case $archive_cmds in
                   10377:     *'~'*)
                   10378:       # FIXME: we may have to deal with multi-command sequences.
                   10379:       ;;
                   10380:     '$CC '*)
                   10381:       # Test whether the compiler implicitly links with -lc since on some
                   10382:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10383:       # to ld, don't add -lc before -lgcc.
                   10384:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   10385: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   10386: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   10387:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10388: else
                   10389:   $RM conftest*
                   10390:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10391: 
                   10392:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10393:   (eval $ac_compile) 2>&5
                   10394:   ac_status=$?
                   10395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10396:   (exit $ac_status); } 2>conftest.err; then
                   10397:          soname=conftest
                   10398:          lib=conftest
                   10399:          libobjs=conftest.$ac_objext
                   10400:          deplibs=
                   10401:          wl=$lt_prog_compiler_wl
                   10402:          pic_flag=$lt_prog_compiler_pic
                   10403:          compiler_flags=-v
                   10404:          linker_flags=-v
                   10405:          verstring=
                   10406:          output_objdir=.
                   10407:          libname=conftest
                   10408:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10409:          allow_undefined_flag=
                   10410:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   10411:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10412:   ac_status=$?
                   10413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10414:   (exit $ac_status); }
                   10415:          then
                   10416:            lt_cv_archive_cmds_need_lc=no
                   10417:          else
                   10418:            lt_cv_archive_cmds_need_lc=yes
                   10419:          fi
                   10420:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10421:        else
                   10422:          cat conftest.err 1>&5
                   10423:        fi
                   10424:        $RM conftest*
                   10425: 
                   10426: fi
                   10427: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   10428: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   10429:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10430:       ;;
                   10431:     esac
                   10432:   fi
                   10433:   ;;
                   10434: esac
                   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: 
                   10500: 
                   10501: 
                   10502: 
                   10503: 
                   10504: 
                   10505: 
                   10506: 
                   10507: 
                   10508: 
                   10509: 
                   10510: 
                   10511: 
                   10512: 
                   10513: 
                   10514: 
                   10515: 
                   10516: 
                   10517: 
                   10518: 
                   10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
                   10534: 
                   10535: 
                   10536: 
                   10537: 
                   10538: 
                   10539: 
                   10540: 
                   10541: 
                   10542: 
                   10543: 
                   10544: 
                   10545: 
                   10546: 
                   10547: 
                   10548: 
                   10549: 
                   10550: 
                   10551: 
                   10552: 
                   10553: 
                   10554: 
                   10555: 
                   10556: 
                   10557: 
                   10558: 
                   10559: 
                   10560: 
                   10561: 
                   10562: 
                   10563: 
                   10564: 
                   10565: 
                   10566: 
                   10567: 
                   10568: 
                   10569: 
                   10570: 
                   10571: 
                   10572: 
                   10573: 
                   10574: 
                   10575: 
                   10576: 
                   10577: 
                   10578: 
                   10579: 
                   10580: 
                   10581: 
                   10582: 
                   10583: 
                   10584: 
                   10585: 
                   10586: 
                   10587:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   10588: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   10589: 
                   10590: if test "$GCC" = yes; then
                   10591:   case $host_os in
                   10592:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10593:     *) lt_awk_arg="/^libraries:/" ;;
                   10594:   esac
                   10595:   case $host_os in
                   10596:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10597:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10598:   esac
                   10599:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10600:   case $lt_search_path_spec in
                   10601:   *\;*)
                   10602:     # if the path contains ";" then we assume it to be the separator
                   10603:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10604:     # assumed that no part of a normal pathname contains ";" but that should
                   10605:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10606:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10607:     ;;
                   10608:   *)
                   10609:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10610:     ;;
                   10611:   esac
                   10612:   # Ok, now we have the path, separated by spaces, we can step through it
                   10613:   # and add multilib dir if necessary.
                   10614:   lt_tmp_lt_search_path_spec=
                   10615:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10616:   for lt_sys_path in $lt_search_path_spec; do
                   10617:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10618:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10619:     else
                   10620:       test -d "$lt_sys_path" && \
                   10621:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10622:     fi
                   10623:   done
                   10624:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10625: BEGIN {RS=" "; FS="/|\n";} {
                   10626:   lt_foo="";
                   10627:   lt_count=0;
                   10628:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10629:     if ($lt_i != "" && $lt_i != ".") {
                   10630:       if ($lt_i == "..") {
                   10631:         lt_count++;
                   10632:       } else {
                   10633:         if (lt_count == 0) {
                   10634:           lt_foo="/" $lt_i lt_foo;
                   10635:         } else {
                   10636:           lt_count--;
                   10637:         }
                   10638:       }
                   10639:     }
                   10640:   }
                   10641:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10642:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10643: }'`
                   10644:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10645:   # for these hosts.
                   10646:   case $host_os in
                   10647:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10648:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10649:   esac
                   10650:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10651: else
                   10652:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10653: fi
                   10654: library_names_spec=
                   10655: libname_spec='lib$name'
                   10656: soname_spec=
                   10657: shrext_cmds=".so"
                   10658: postinstall_cmds=
                   10659: postuninstall_cmds=
                   10660: finish_cmds=
                   10661: finish_eval=
                   10662: shlibpath_var=
                   10663: shlibpath_overrides_runpath=unknown
                   10664: version_type=none
                   10665: dynamic_linker="$host_os ld.so"
                   10666: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10667: need_lib_prefix=unknown
                   10668: hardcode_into_libs=no
                   10669: 
                   10670: # when you set need_version to no, make sure it does not cause -set_version
                   10671: # flags to be left without arguments
                   10672: need_version=unknown
                   10673: 
                   10674: case $host_os in
                   10675: aix3*)
                   10676:   version_type=linux # correct to gnu/linux during the next big refactor
                   10677:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10678:   shlibpath_var=LIBPATH
                   10679: 
                   10680:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10681:   soname_spec='${libname}${release}${shared_ext}$major'
                   10682:   ;;
                   10683: 
                   10684: aix[4-9]*)
                   10685:   version_type=linux # correct to gnu/linux during the next big refactor
                   10686:   need_lib_prefix=no
                   10687:   need_version=no
                   10688:   hardcode_into_libs=yes
                   10689:   if test "$host_cpu" = ia64; then
                   10690:     # AIX 5 supports IA64
                   10691:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10692:     shlibpath_var=LD_LIBRARY_PATH
                   10693:   else
                   10694:     # With GCC up to 2.95.x, collect2 would create an import file
                   10695:     # for dependence libraries.  The import file would start with
                   10696:     # the line `#! .'.  This would cause the generated library to
                   10697:     # depend on `.', always an invalid library.  This was fixed in
                   10698:     # development snapshots of GCC prior to 3.0.
                   10699:     case $host_os in
                   10700:       aix4 | aix4.[01] | aix4.[01].*)
                   10701:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10702:           echo ' yes '
                   10703:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10704:        :
                   10705:       else
                   10706:        can_build_shared=no
                   10707:       fi
                   10708:       ;;
                   10709:     esac
                   10710:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10711:     # soname into executable. Probably we can add versioning support to
                   10712:     # collect2, so additional links can be useful in future.
                   10713:     if test "$aix_use_runtimelinking" = yes; then
                   10714:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10715:       # instead of lib<name>.a to let people know that these are not
                   10716:       # typical AIX shared libraries.
                   10717:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10718:     else
                   10719:       # We preserve .a as extension for shared libraries through AIX4.2
                   10720:       # and later when we are not doing run time linking.
                   10721:       library_names_spec='${libname}${release}.a $libname.a'
                   10722:       soname_spec='${libname}${release}${shared_ext}$major'
                   10723:     fi
                   10724:     shlibpath_var=LIBPATH
                   10725:   fi
                   10726:   ;;
                   10727: 
                   10728: amigaos*)
                   10729:   case $host_cpu in
                   10730:   powerpc)
                   10731:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10732:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10733:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10734:     ;;
                   10735:   m68k)
                   10736:     library_names_spec='$libname.ixlibrary $libname.a'
                   10737:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10738:     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'
                   10739:     ;;
                   10740:   esac
                   10741:   ;;
                   10742: 
                   10743: beos*)
                   10744:   library_names_spec='${libname}${shared_ext}'
                   10745:   dynamic_linker="$host_os ld.so"
                   10746:   shlibpath_var=LIBRARY_PATH
                   10747:   ;;
                   10748: 
                   10749: bsdi[45]*)
                   10750:   version_type=linux # correct to gnu/linux during the next big refactor
                   10751:   need_version=no
                   10752:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10753:   soname_spec='${libname}${release}${shared_ext}$major'
                   10754:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10755:   shlibpath_var=LD_LIBRARY_PATH
                   10756:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10757:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10758:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10759:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10760:   # libtool to hard-code these into programs
                   10761:   ;;
                   10762: 
                   10763: cygwin* | mingw* | pw32* | cegcc*)
                   10764:   version_type=windows
                   10765:   shrext_cmds=".dll"
                   10766:   need_version=no
                   10767:   need_lib_prefix=no
                   10768: 
                   10769:   case $GCC,$cc_basename in
                   10770:   yes,*)
                   10771:     # gcc
                   10772:     library_names_spec='$libname.dll.a'
                   10773:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10774:     postinstall_cmds='base_file=`basename \${file}`~
                   10775:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10776:       dldir=$destdir/`dirname \$dlpath`~
                   10777:       test -d \$dldir || mkdir -p \$dldir~
                   10778:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10779:       chmod a+x \$dldir/$dlname~
                   10780:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10781:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10782:       fi'
                   10783:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10784:       dlpath=$dir/\$dldll~
                   10785:        $RM \$dlpath'
                   10786:     shlibpath_overrides_runpath=yes
                   10787: 
                   10788:     case $host_os in
                   10789:     cygwin*)
                   10790:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10791:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10792: 
                   10793:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10794:       ;;
                   10795:     mingw* | cegcc*)
                   10796:       # MinGW DLLs use traditional 'lib' prefix
                   10797:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10798:       ;;
                   10799:     pw32*)
                   10800:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10801:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10802:       ;;
                   10803:     esac
                   10804:     dynamic_linker='Win32 ld.exe'
                   10805:     ;;
                   10806: 
                   10807:   *,cl*)
                   10808:     # Native MSVC
                   10809:     libname_spec='$name'
                   10810:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10811:     library_names_spec='${libname}.dll.lib'
                   10812: 
                   10813:     case $build_os in
                   10814:     mingw*)
                   10815:       sys_lib_search_path_spec=
                   10816:       lt_save_ifs=$IFS
                   10817:       IFS=';'
                   10818:       for lt_path in $LIB
                   10819:       do
                   10820:         IFS=$lt_save_ifs
                   10821:         # Let DOS variable expansion print the short 8.3 style file name.
                   10822:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10823:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10824:       done
                   10825:       IFS=$lt_save_ifs
                   10826:       # Convert to MSYS style.
                   10827:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10828:       ;;
                   10829:     cygwin*)
                   10830:       # Convert to unix form, then to dos form, then back to unix form
                   10831:       # but this time dos style (no spaces!) so that the unix form looks
                   10832:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10833:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10834:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10835:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10836:       ;;
                   10837:     *)
                   10838:       sys_lib_search_path_spec="$LIB"
                   10839:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10840:         # It is most probably a Windows format PATH.
                   10841:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10842:       else
                   10843:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10844:       fi
                   10845:       # FIXME: find the short name or the path components, as spaces are
                   10846:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10847:       ;;
                   10848:     esac
                   10849: 
                   10850:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10851:     postinstall_cmds='base_file=`basename \${file}`~
                   10852:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10853:       dldir=$destdir/`dirname \$dlpath`~
                   10854:       test -d \$dldir || mkdir -p \$dldir~
                   10855:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10856:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10857:       dlpath=$dir/\$dldll~
                   10858:        $RM \$dlpath'
                   10859:     shlibpath_overrides_runpath=yes
                   10860:     dynamic_linker='Win32 link.exe'
                   10861:     ;;
                   10862: 
                   10863:   *)
                   10864:     # Assume MSVC wrapper
                   10865:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10866:     dynamic_linker='Win32 ld.exe'
                   10867:     ;;
                   10868:   esac
                   10869:   # FIXME: first we should search . and the directory the executable is in
                   10870:   shlibpath_var=PATH
                   10871:   ;;
                   10872: 
                   10873: darwin* | rhapsody*)
                   10874:   dynamic_linker="$host_os dyld"
                   10875:   version_type=darwin
                   10876:   need_lib_prefix=no
                   10877:   need_version=no
                   10878:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10879:   soname_spec='${libname}${release}${major}$shared_ext'
                   10880:   shlibpath_overrides_runpath=yes
                   10881:   shlibpath_var=DYLD_LIBRARY_PATH
                   10882:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10883: 
                   10884:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10885:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10886:   ;;
                   10887: 
                   10888: dgux*)
                   10889:   version_type=linux # correct to gnu/linux during the next big refactor
                   10890:   need_lib_prefix=no
                   10891:   need_version=no
                   10892:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10893:   soname_spec='${libname}${release}${shared_ext}$major'
                   10894:   shlibpath_var=LD_LIBRARY_PATH
                   10895:   ;;
                   10896: 
                   10897: freebsd* | dragonfly*)
                   10898:   # DragonFly does not have aout.  When/if they implement a new
                   10899:   # versioning mechanism, adjust this.
                   10900:   if test -x /usr/bin/objformat; then
                   10901:     objformat=`/usr/bin/objformat`
                   10902:   else
                   10903:     case $host_os in
                   10904:     freebsd[23].*) objformat=aout ;;
                   10905:     *) objformat=elf ;;
                   10906:     esac
                   10907:   fi
                   10908:   version_type=freebsd-$objformat
                   10909:   case $version_type in
                   10910:     freebsd-elf*)
                   10911:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10912:       need_version=no
                   10913:       need_lib_prefix=no
                   10914:       ;;
                   10915:     freebsd-*)
                   10916:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10917:       need_version=yes
                   10918:       ;;
                   10919:   esac
                   10920:   shlibpath_var=LD_LIBRARY_PATH
                   10921:   case $host_os in
                   10922:   freebsd2.*)
                   10923:     shlibpath_overrides_runpath=yes
                   10924:     ;;
                   10925:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10926:     shlibpath_overrides_runpath=yes
                   10927:     hardcode_into_libs=yes
                   10928:     ;;
                   10929:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10930:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10931:     shlibpath_overrides_runpath=no
                   10932:     hardcode_into_libs=yes
                   10933:     ;;
                   10934:   *) # from 4.6 on, and DragonFly
                   10935:     shlibpath_overrides_runpath=yes
                   10936:     hardcode_into_libs=yes
                   10937:     ;;
                   10938:   esac
                   10939:   ;;
                   10940: 
                   10941: gnu*)
                   10942:   version_type=linux # correct to gnu/linux during the next big refactor
                   10943:   need_lib_prefix=no
                   10944:   need_version=no
                   10945:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10946:   soname_spec='${libname}${release}${shared_ext}$major'
                   10947:   shlibpath_var=LD_LIBRARY_PATH
                   10948:   shlibpath_overrides_runpath=no
                   10949:   hardcode_into_libs=yes
                   10950:   ;;
                   10951: 
                   10952: haiku*)
                   10953:   version_type=linux # correct to gnu/linux during the next big refactor
                   10954:   need_lib_prefix=no
                   10955:   need_version=no
                   10956:   dynamic_linker="$host_os runtime_loader"
                   10957:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10958:   soname_spec='${libname}${release}${shared_ext}$major'
                   10959:   shlibpath_var=LIBRARY_PATH
                   10960:   shlibpath_overrides_runpath=yes
                   10961:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10962:   hardcode_into_libs=yes
                   10963:   ;;
                   10964: 
                   10965: hpux9* | hpux10* | hpux11*)
                   10966:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10967:   # link against other versions.
                   10968:   version_type=sunos
                   10969:   need_lib_prefix=no
                   10970:   need_version=no
                   10971:   case $host_cpu in
                   10972:   ia64*)
                   10973:     shrext_cmds='.so'
                   10974:     hardcode_into_libs=yes
                   10975:     dynamic_linker="$host_os dld.so"
                   10976:     shlibpath_var=LD_LIBRARY_PATH
                   10977:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10978:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10979:     soname_spec='${libname}${release}${shared_ext}$major'
                   10980:     if test "X$HPUX_IA64_MODE" = X32; then
                   10981:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10982:     else
                   10983:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10984:     fi
                   10985:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10986:     ;;
                   10987:   hppa*64*)
                   10988:     shrext_cmds='.sl'
                   10989:     hardcode_into_libs=yes
                   10990:     dynamic_linker="$host_os dld.sl"
                   10991:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10992:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10993:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10994:     soname_spec='${libname}${release}${shared_ext}$major'
                   10995:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10996:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10997:     ;;
                   10998:   *)
                   10999:     shrext_cmds='.sl'
                   11000:     dynamic_linker="$host_os dld.sl"
                   11001:     shlibpath_var=SHLIB_PATH
                   11002:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11003:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11004:     soname_spec='${libname}${release}${shared_ext}$major'
                   11005:     ;;
                   11006:   esac
                   11007:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11008:   postinstall_cmds='chmod 555 $lib'
                   11009:   # or fails outright, so override atomically:
                   11010:   install_override_mode=555
                   11011:   ;;
                   11012: 
                   11013: interix[3-9]*)
                   11014:   version_type=linux # correct to gnu/linux during the next big refactor
                   11015:   need_lib_prefix=no
                   11016:   need_version=no
                   11017:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11018:   soname_spec='${libname}${release}${shared_ext}$major'
                   11019:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11020:   shlibpath_var=LD_LIBRARY_PATH
                   11021:   shlibpath_overrides_runpath=no
                   11022:   hardcode_into_libs=yes
                   11023:   ;;
                   11024: 
                   11025: irix5* | irix6* | nonstopux*)
                   11026:   case $host_os in
                   11027:     nonstopux*) version_type=nonstopux ;;
                   11028:     *)
                   11029:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11030:                version_type=linux # correct to gnu/linux during the next big refactor
                   11031:        else
                   11032:                version_type=irix
                   11033:        fi ;;
                   11034:   esac
                   11035:   need_lib_prefix=no
                   11036:   need_version=no
                   11037:   soname_spec='${libname}${release}${shared_ext}$major'
                   11038:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11039:   case $host_os in
                   11040:   irix5* | nonstopux*)
                   11041:     libsuff= shlibsuff=
                   11042:     ;;
                   11043:   *)
                   11044:     case $LD in # libtool.m4 will add one of these switches to LD
                   11045:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11046:       libsuff= shlibsuff= libmagic=32-bit;;
                   11047:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11048:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11049:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11050:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11051:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11052:     esac
                   11053:     ;;
                   11054:   esac
                   11055:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11056:   shlibpath_overrides_runpath=no
                   11057:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11058:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11059:   hardcode_into_libs=yes
                   11060:   ;;
                   11061: 
                   11062: # No shared lib support for Linux oldld, aout, or coff.
                   11063: linux*oldld* | linux*aout* | linux*coff*)
                   11064:   dynamic_linker=no
                   11065:   ;;
                   11066: 
                   11067: # This must be glibc/ELF.
                   11068: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11069:   version_type=linux # correct to gnu/linux during the next big refactor
                   11070:   need_lib_prefix=no
                   11071:   need_version=no
                   11072:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11073:   soname_spec='${libname}${release}${shared_ext}$major'
                   11074:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11075:   shlibpath_var=LD_LIBRARY_PATH
                   11076:   shlibpath_overrides_runpath=no
                   11077: 
                   11078:   # Some binutils ld are patched to set DT_RUNPATH
                   11079:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   11080:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11081: else
                   11082:   lt_cv_shlibpath_overrides_runpath=no
                   11083:     save_LDFLAGS=$LDFLAGS
                   11084:     save_libdir=$libdir
                   11085:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11086:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11087:     cat >conftest.$ac_ext <<_ACEOF
                   11088: /* confdefs.h.  */
                   11089: _ACEOF
                   11090: cat confdefs.h >>conftest.$ac_ext
                   11091: cat >>conftest.$ac_ext <<_ACEOF
                   11092: /* end confdefs.h.  */
                   11093: 
                   11094: int
                   11095: main ()
                   11096: {
                   11097: 
                   11098:   ;
                   11099:   return 0;
                   11100: }
                   11101: _ACEOF
                   11102: rm -f conftest.$ac_objext conftest$ac_exeext
                   11103: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11104:   (eval $ac_link) 2>conftest.er1
                   11105:   ac_status=$?
                   11106:   grep -v '^ *+' conftest.er1 >conftest.err
                   11107:   rm -f conftest.er1
                   11108:   cat conftest.err >&5
                   11109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11110:   (exit $ac_status); } &&
                   11111:         { ac_try='test -z "$ac_c_werror_flag"
                   11112:                         || test ! -s conftest.err'
                   11113:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11114:   (eval $ac_try) 2>&5
                   11115:   ac_status=$?
                   11116:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11117:   (exit $ac_status); }; } &&
                   11118:         { ac_try='test -s conftest$ac_exeext'
                   11119:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11120:   (eval $ac_try) 2>&5
                   11121:   ac_status=$?
                   11122:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11123:   (exit $ac_status); }; }; then
                   11124:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   11125:   lt_cv_shlibpath_overrides_runpath=yes
                   11126: fi
                   11127: 
                   11128: else
                   11129:   echo "$as_me: failed program was:" >&5
                   11130: sed 's/^/| /' conftest.$ac_ext >&5
                   11131: 
                   11132: fi
                   11133: rm -f conftest.err conftest.$ac_objext \
                   11134:       conftest$ac_exeext conftest.$ac_ext
                   11135:     LDFLAGS=$save_LDFLAGS
                   11136:     libdir=$save_libdir
                   11137: 
                   11138: fi
                   11139: 
                   11140:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11141: 
                   11142:   # This implies no fast_install, which is unacceptable.
                   11143:   # Some rework will be needed to allow for fast_install
                   11144:   # before this can be enabled.
                   11145:   hardcode_into_libs=yes
                   11146: 
                   11147:   # Append ld.so.conf contents to the search path
                   11148:   if test -f /etc/ld.so.conf; then
                   11149:     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' ' '`
                   11150:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11151:   fi
                   11152: 
                   11153:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11154:   # powerpc, because MkLinux only supported shared libraries with the
                   11155:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11156:   # most powerpc-linux boxes support dynamic linking these days and
                   11157:   # people can always --disable-shared, the test was removed, and we
                   11158:   # assume the GNU/Linux dynamic linker is in use.
                   11159:   dynamic_linker='GNU/Linux ld.so'
                   11160:   ;;
                   11161: 
                   11162: netbsd*)
                   11163:   version_type=sunos
                   11164:   need_lib_prefix=no
                   11165:   need_version=no
                   11166:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11167:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11168:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11169:     dynamic_linker='NetBSD (a.out) ld.so'
                   11170:   else
                   11171:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11172:     soname_spec='${libname}${release}${shared_ext}$major'
                   11173:     dynamic_linker='NetBSD ld.elf_so'
                   11174:   fi
                   11175:   shlibpath_var=LD_LIBRARY_PATH
                   11176:   shlibpath_overrides_runpath=yes
                   11177:   hardcode_into_libs=yes
                   11178:   ;;
                   11179: 
                   11180: newsos6)
                   11181:   version_type=linux # correct to gnu/linux during the next big refactor
                   11182:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11183:   shlibpath_var=LD_LIBRARY_PATH
                   11184:   shlibpath_overrides_runpath=yes
                   11185:   ;;
                   11186: 
                   11187: *nto* | *qnx*)
                   11188:   version_type=qnx
                   11189:   need_lib_prefix=no
                   11190:   need_version=no
                   11191:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11192:   soname_spec='${libname}${release}${shared_ext}$major'
                   11193:   shlibpath_var=LD_LIBRARY_PATH
                   11194:   shlibpath_overrides_runpath=no
                   11195:   hardcode_into_libs=yes
                   11196:   dynamic_linker='ldqnx.so'
                   11197:   ;;
                   11198: 
                   11199: openbsd*)
                   11200:   version_type=sunos
                   11201:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11202:   need_lib_prefix=no
                   11203:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11204:   case $host_os in
                   11205:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11206:     *)                         need_version=no  ;;
                   11207:   esac
                   11208:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11209:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11210:   shlibpath_var=LD_LIBRARY_PATH
                   11211:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11212:     case $host_os in
                   11213:       openbsd2.[89] | openbsd2.[89].*)
                   11214:        shlibpath_overrides_runpath=no
                   11215:        ;;
                   11216:       *)
                   11217:        shlibpath_overrides_runpath=yes
                   11218:        ;;
                   11219:       esac
                   11220:   else
                   11221:     shlibpath_overrides_runpath=yes
                   11222:   fi
                   11223:   ;;
                   11224: 
                   11225: os2*)
                   11226:   libname_spec='$name'
                   11227:   shrext_cmds=".dll"
                   11228:   need_lib_prefix=no
                   11229:   library_names_spec='$libname${shared_ext} $libname.a'
                   11230:   dynamic_linker='OS/2 ld.exe'
                   11231:   shlibpath_var=LIBPATH
                   11232:   ;;
                   11233: 
                   11234: osf3* | osf4* | osf5*)
                   11235:   version_type=osf
                   11236:   need_lib_prefix=no
                   11237:   need_version=no
                   11238:   soname_spec='${libname}${release}${shared_ext}$major'
                   11239:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11240:   shlibpath_var=LD_LIBRARY_PATH
                   11241:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11242:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11243:   ;;
                   11244: 
                   11245: rdos*)
                   11246:   dynamic_linker=no
                   11247:   ;;
                   11248: 
                   11249: solaris*)
                   11250:   version_type=linux # correct to gnu/linux during the next big refactor
                   11251:   need_lib_prefix=no
                   11252:   need_version=no
                   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:   shlibpath_overrides_runpath=yes
                   11257:   hardcode_into_libs=yes
                   11258:   # ldd complains unless libraries are executable
                   11259:   postinstall_cmds='chmod +x $lib'
                   11260:   ;;
                   11261: 
                   11262: sunos4*)
                   11263:   version_type=sunos
                   11264:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11265:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11266:   shlibpath_var=LD_LIBRARY_PATH
                   11267:   shlibpath_overrides_runpath=yes
                   11268:   if test "$with_gnu_ld" = yes; then
                   11269:     need_lib_prefix=no
                   11270:   fi
                   11271:   need_version=yes
                   11272:   ;;
                   11273: 
                   11274: sysv4 | sysv4.3*)
                   11275:   version_type=linux # correct to gnu/linux during the next big refactor
                   11276:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11277:   soname_spec='${libname}${release}${shared_ext}$major'
                   11278:   shlibpath_var=LD_LIBRARY_PATH
                   11279:   case $host_vendor in
                   11280:     sni)
                   11281:       shlibpath_overrides_runpath=no
                   11282:       need_lib_prefix=no
                   11283:       runpath_var=LD_RUN_PATH
                   11284:       ;;
                   11285:     siemens)
                   11286:       need_lib_prefix=no
                   11287:       ;;
                   11288:     motorola)
                   11289:       need_lib_prefix=no
                   11290:       need_version=no
                   11291:       shlibpath_overrides_runpath=no
                   11292:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11293:       ;;
                   11294:   esac
                   11295:   ;;
                   11296: 
                   11297: sysv4*MP*)
                   11298:   if test -d /usr/nec ;then
                   11299:     version_type=linux # correct to gnu/linux during the next big refactor
                   11300:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11301:     soname_spec='$libname${shared_ext}.$major'
                   11302:     shlibpath_var=LD_LIBRARY_PATH
                   11303:   fi
                   11304:   ;;
                   11305: 
                   11306: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11307:   version_type=freebsd-elf
                   11308:   need_lib_prefix=no
                   11309:   need_version=no
                   11310:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11311:   soname_spec='${libname}${release}${shared_ext}$major'
                   11312:   shlibpath_var=LD_LIBRARY_PATH
                   11313:   shlibpath_overrides_runpath=yes
                   11314:   hardcode_into_libs=yes
                   11315:   if test "$with_gnu_ld" = yes; then
                   11316:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11317:   else
                   11318:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11319:     case $host_os in
                   11320:       sco3.2v5*)
                   11321:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11322:        ;;
                   11323:     esac
                   11324:   fi
                   11325:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11326:   ;;
                   11327: 
                   11328: tpf*)
                   11329:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11330:   version_type=linux # correct to gnu/linux during the next big refactor
                   11331:   need_lib_prefix=no
                   11332:   need_version=no
                   11333:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11334:   shlibpath_var=LD_LIBRARY_PATH
                   11335:   shlibpath_overrides_runpath=no
                   11336:   hardcode_into_libs=yes
                   11337:   ;;
                   11338: 
                   11339: uts4*)
                   11340:   version_type=linux # correct to gnu/linux during the next big refactor
                   11341:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11342:   soname_spec='${libname}${release}${shared_ext}$major'
                   11343:   shlibpath_var=LD_LIBRARY_PATH
                   11344:   ;;
                   11345: 
                   11346: *)
                   11347:   dynamic_linker=no
                   11348:   ;;
                   11349: esac
                   11350: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   11351: echo "${ECHO_T}$dynamic_linker" >&6
                   11352: test "$dynamic_linker" = no && can_build_shared=no
                   11353: 
                   11354: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11355: if test "$GCC" = yes; then
                   11356:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11357: fi
                   11358: 
                   11359: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11360:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11361: fi
                   11362: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11363:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11364: fi
                   11365: 
                   11366: 
                   11367: 
                   11368: 
                   11369: 
                   11370: 
                   11371: 
                   11372: 
                   11373: 
                   11374: 
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: 
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
                   11417: 
                   11418: 
                   11419: 
                   11420: 
                   11421: 
                   11422: 
                   11423: 
                   11424: 
                   11425: 
                   11426: 
                   11427: 
                   11428: 
                   11429: 
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438: 
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450: 
                   11451: 
                   11452: 
                   11453: 
                   11454: 
                   11455: 
                   11456: 
                   11457:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   11458: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   11459: hardcode_action=
                   11460: if test -n "$hardcode_libdir_flag_spec" ||
                   11461:    test -n "$runpath_var" ||
                   11462:    test "X$hardcode_automatic" = "Xyes" ; then
                   11463: 
                   11464:   # We can hardcode non-existent directories.
                   11465:   if test "$hardcode_direct" != no &&
                   11466:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11467:      # have to relink, otherwise we might link with an installed library
                   11468:      # when we should be linking with a yet-to-be-installed one
                   11469:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11470:      test "$hardcode_minus_L" != no; then
                   11471:     # Linking always hardcodes the temporary library directory.
                   11472:     hardcode_action=relink
                   11473:   else
                   11474:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11475:     hardcode_action=immediate
                   11476:   fi
                   11477: else
                   11478:   # We cannot hardcode anything, or else we can only hardcode existing
                   11479:   # directories.
                   11480:   hardcode_action=unsupported
                   11481: fi
                   11482: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   11483: echo "${ECHO_T}$hardcode_action" >&6
                   11484: 
                   11485: if test "$hardcode_action" = relink ||
                   11486:    test "$inherit_rpath" = yes; then
                   11487:   # Fast installation is not supported
                   11488:   enable_fast_install=no
                   11489: elif test "$shlibpath_overrides_runpath" = yes ||
                   11490:      test "$enable_shared" = no; then
                   11491:   # Fast installation is not necessary
                   11492:   enable_fast_install=needless
                   11493: fi
                   11494: 
                   11495: 
                   11496: 
                   11497: 
                   11498: 
                   11499: 
                   11500:   if test "x$enable_dlopen" != xyes; then
                   11501:   enable_dlopen=unknown
                   11502:   enable_dlopen_self=unknown
                   11503:   enable_dlopen_self_static=unknown
                   11504: else
                   11505:   lt_cv_dlopen=no
                   11506:   lt_cv_dlopen_libs=
                   11507: 
                   11508:   case $host_os in
                   11509:   beos*)
                   11510:     lt_cv_dlopen="load_add_on"
                   11511:     lt_cv_dlopen_libs=
                   11512:     lt_cv_dlopen_self=yes
                   11513:     ;;
                   11514: 
                   11515:   mingw* | pw32* | cegcc*)
                   11516:     lt_cv_dlopen="LoadLibrary"
                   11517:     lt_cv_dlopen_libs=
                   11518:     ;;
                   11519: 
                   11520:   cygwin*)
                   11521:     lt_cv_dlopen="dlopen"
                   11522:     lt_cv_dlopen_libs=
                   11523:     ;;
                   11524: 
                   11525:   darwin*)
                   11526:   # if libdl is installed we need to link against it
                   11527:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11528: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11529: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11530:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11531: else
                   11532:   ac_check_lib_save_LIBS=$LIBS
                   11533: LIBS="-ldl  $LIBS"
                   11534: cat >conftest.$ac_ext <<_ACEOF
                   11535: /* confdefs.h.  */
                   11536: _ACEOF
                   11537: cat confdefs.h >>conftest.$ac_ext
                   11538: cat >>conftest.$ac_ext <<_ACEOF
                   11539: /* end confdefs.h.  */
                   11540: 
                   11541: /* Override any gcc2 internal prototype to avoid an error.  */
                   11542: #ifdef __cplusplus
                   11543: extern "C"
                   11544: #endif
                   11545: /* We use char because int might match the return type of a gcc2
                   11546:    builtin and then its argument prototype would still apply.  */
                   11547: char dlopen ();
                   11548: int
                   11549: main ()
                   11550: {
                   11551: dlopen ();
                   11552:   ;
                   11553:   return 0;
                   11554: }
                   11555: _ACEOF
                   11556: rm -f conftest.$ac_objext conftest$ac_exeext
                   11557: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11558:   (eval $ac_link) 2>conftest.er1
                   11559:   ac_status=$?
                   11560:   grep -v '^ *+' conftest.er1 >conftest.err
                   11561:   rm -f conftest.er1
                   11562:   cat conftest.err >&5
                   11563:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11564:   (exit $ac_status); } &&
                   11565:         { ac_try='test -z "$ac_c_werror_flag"
                   11566:                         || test ! -s conftest.err'
                   11567:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11568:   (eval $ac_try) 2>&5
                   11569:   ac_status=$?
                   11570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11571:   (exit $ac_status); }; } &&
                   11572:         { ac_try='test -s conftest$ac_exeext'
                   11573:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11574:   (eval $ac_try) 2>&5
                   11575:   ac_status=$?
                   11576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11577:   (exit $ac_status); }; }; then
                   11578:   ac_cv_lib_dl_dlopen=yes
                   11579: else
                   11580:   echo "$as_me: failed program was:" >&5
                   11581: sed 's/^/| /' conftest.$ac_ext >&5
                   11582: 
                   11583: ac_cv_lib_dl_dlopen=no
                   11584: fi
                   11585: rm -f conftest.err conftest.$ac_objext \
                   11586:       conftest$ac_exeext conftest.$ac_ext
                   11587: LIBS=$ac_check_lib_save_LIBS
                   11588: fi
                   11589: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11590: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11591: if test $ac_cv_lib_dl_dlopen = yes; then
                   11592:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11593: else
                   11594: 
                   11595:     lt_cv_dlopen="dyld"
                   11596:     lt_cv_dlopen_libs=
                   11597:     lt_cv_dlopen_self=yes
                   11598: 
                   11599: fi
                   11600: 
                   11601:     ;;
                   11602: 
                   11603:   *)
                   11604:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   11605: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   11606: if test "${ac_cv_func_shl_load+set}" = set; then
                   11607:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11608: else
                   11609:   cat >conftest.$ac_ext <<_ACEOF
                   11610: /* confdefs.h.  */
                   11611: _ACEOF
                   11612: cat confdefs.h >>conftest.$ac_ext
                   11613: cat >>conftest.$ac_ext <<_ACEOF
                   11614: /* end confdefs.h.  */
                   11615: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   11616:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11617: #define shl_load innocuous_shl_load
                   11618: 
                   11619: /* System header to define __stub macros and hopefully few prototypes,
                   11620:     which can conflict with char shl_load (); below.
                   11621:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11622:     <limits.h> exists even on freestanding compilers.  */
                   11623: 
                   11624: #ifdef __STDC__
                   11625: # include <limits.h>
                   11626: #else
                   11627: # include <assert.h>
                   11628: #endif
                   11629: 
                   11630: #undef shl_load
                   11631: 
                   11632: /* Override any gcc2 internal prototype to avoid an error.  */
                   11633: #ifdef __cplusplus
                   11634: extern "C"
                   11635: {
                   11636: #endif
                   11637: /* We use char because int might match the return type of a gcc2
                   11638:    builtin and then its argument prototype would still apply.  */
                   11639: char shl_load ();
                   11640: /* The GNU C library defines this for functions which it implements
                   11641:     to always fail with ENOSYS.  Some functions are actually named
                   11642:     something starting with __ and the normal name is an alias.  */
                   11643: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   11644: choke me
                   11645: #else
                   11646: char (*f) () = shl_load;
                   11647: #endif
                   11648: #ifdef __cplusplus
                   11649: }
                   11650: #endif
                   11651: 
                   11652: int
                   11653: main ()
                   11654: {
                   11655: return f != shl_load;
                   11656:   ;
                   11657:   return 0;
                   11658: }
                   11659: _ACEOF
                   11660: rm -f conftest.$ac_objext conftest$ac_exeext
                   11661: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11662:   (eval $ac_link) 2>conftest.er1
                   11663:   ac_status=$?
                   11664:   grep -v '^ *+' conftest.er1 >conftest.err
                   11665:   rm -f conftest.er1
                   11666:   cat conftest.err >&5
                   11667:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11668:   (exit $ac_status); } &&
                   11669:         { ac_try='test -z "$ac_c_werror_flag"
                   11670:                         || test ! -s conftest.err'
                   11671:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11672:   (eval $ac_try) 2>&5
                   11673:   ac_status=$?
                   11674:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11675:   (exit $ac_status); }; } &&
                   11676:         { ac_try='test -s conftest$ac_exeext'
                   11677:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11678:   (eval $ac_try) 2>&5
                   11679:   ac_status=$?
                   11680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11681:   (exit $ac_status); }; }; then
                   11682:   ac_cv_func_shl_load=yes
                   11683: else
                   11684:   echo "$as_me: failed program was:" >&5
                   11685: sed 's/^/| /' conftest.$ac_ext >&5
                   11686: 
                   11687: ac_cv_func_shl_load=no
                   11688: fi
                   11689: rm -f conftest.err conftest.$ac_objext \
                   11690:       conftest$ac_exeext conftest.$ac_ext
                   11691: fi
                   11692: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11693: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11694: if test $ac_cv_func_shl_load = yes; then
                   11695:   lt_cv_dlopen="shl_load"
                   11696: else
                   11697:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11698: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11699: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11700:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11701: else
                   11702:   ac_check_lib_save_LIBS=$LIBS
                   11703: LIBS="-ldld  $LIBS"
                   11704: cat >conftest.$ac_ext <<_ACEOF
                   11705: /* confdefs.h.  */
                   11706: _ACEOF
                   11707: cat confdefs.h >>conftest.$ac_ext
                   11708: cat >>conftest.$ac_ext <<_ACEOF
                   11709: /* end confdefs.h.  */
                   11710: 
                   11711: /* Override any gcc2 internal prototype to avoid an error.  */
                   11712: #ifdef __cplusplus
                   11713: extern "C"
                   11714: #endif
                   11715: /* We use char because int might match the return type of a gcc2
                   11716:    builtin and then its argument prototype would still apply.  */
                   11717: char shl_load ();
                   11718: int
                   11719: main ()
                   11720: {
                   11721: shl_load ();
                   11722:   ;
                   11723:   return 0;
                   11724: }
                   11725: _ACEOF
                   11726: rm -f conftest.$ac_objext conftest$ac_exeext
                   11727: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11728:   (eval $ac_link) 2>conftest.er1
                   11729:   ac_status=$?
                   11730:   grep -v '^ *+' conftest.er1 >conftest.err
                   11731:   rm -f conftest.er1
                   11732:   cat conftest.err >&5
                   11733:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11734:   (exit $ac_status); } &&
                   11735:         { ac_try='test -z "$ac_c_werror_flag"
                   11736:                         || test ! -s conftest.err'
                   11737:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11738:   (eval $ac_try) 2>&5
                   11739:   ac_status=$?
                   11740:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11741:   (exit $ac_status); }; } &&
                   11742:         { ac_try='test -s conftest$ac_exeext'
                   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); }; }; then
                   11748:   ac_cv_lib_dld_shl_load=yes
                   11749: else
                   11750:   echo "$as_me: failed program was:" >&5
                   11751: sed 's/^/| /' conftest.$ac_ext >&5
                   11752: 
                   11753: ac_cv_lib_dld_shl_load=no
                   11754: fi
                   11755: rm -f conftest.err conftest.$ac_objext \
                   11756:       conftest$ac_exeext conftest.$ac_ext
                   11757: LIBS=$ac_check_lib_save_LIBS
                   11758: fi
                   11759: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11760: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11761: if test $ac_cv_lib_dld_shl_load = yes; then
                   11762:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11763: else
                   11764:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11765: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11766: if test "${ac_cv_func_dlopen+set}" = set; then
                   11767:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11768: else
                   11769:   cat >conftest.$ac_ext <<_ACEOF
                   11770: /* confdefs.h.  */
                   11771: _ACEOF
                   11772: cat confdefs.h >>conftest.$ac_ext
                   11773: cat >>conftest.$ac_ext <<_ACEOF
                   11774: /* end confdefs.h.  */
                   11775: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11776:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11777: #define dlopen innocuous_dlopen
                   11778: 
                   11779: /* System header to define __stub macros and hopefully few prototypes,
                   11780:     which can conflict with char dlopen (); below.
                   11781:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11782:     <limits.h> exists even on freestanding compilers.  */
                   11783: 
                   11784: #ifdef __STDC__
                   11785: # include <limits.h>
                   11786: #else
                   11787: # include <assert.h>
                   11788: #endif
                   11789: 
                   11790: #undef dlopen
                   11791: 
                   11792: /* Override any gcc2 internal prototype to avoid an error.  */
                   11793: #ifdef __cplusplus
                   11794: extern "C"
                   11795: {
                   11796: #endif
                   11797: /* We use char because int might match the return type of a gcc2
                   11798:    builtin and then its argument prototype would still apply.  */
                   11799: char dlopen ();
                   11800: /* The GNU C library defines this for functions which it implements
                   11801:     to always fail with ENOSYS.  Some functions are actually named
                   11802:     something starting with __ and the normal name is an alias.  */
                   11803: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11804: choke me
                   11805: #else
                   11806: char (*f) () = dlopen;
                   11807: #endif
                   11808: #ifdef __cplusplus
                   11809: }
                   11810: #endif
                   11811: 
                   11812: int
                   11813: main ()
                   11814: {
                   11815: return f != dlopen;
                   11816:   ;
                   11817:   return 0;
                   11818: }
                   11819: _ACEOF
                   11820: rm -f conftest.$ac_objext conftest$ac_exeext
                   11821: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11822:   (eval $ac_link) 2>conftest.er1
                   11823:   ac_status=$?
                   11824:   grep -v '^ *+' conftest.er1 >conftest.err
                   11825:   rm -f conftest.er1
                   11826:   cat conftest.err >&5
                   11827:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11828:   (exit $ac_status); } &&
                   11829:         { ac_try='test -z "$ac_c_werror_flag"
                   11830:                         || test ! -s conftest.err'
                   11831:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11832:   (eval $ac_try) 2>&5
                   11833:   ac_status=$?
                   11834:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11835:   (exit $ac_status); }; } &&
                   11836:         { ac_try='test -s conftest$ac_exeext'
                   11837:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11838:   (eval $ac_try) 2>&5
                   11839:   ac_status=$?
                   11840:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11841:   (exit $ac_status); }; }; then
                   11842:   ac_cv_func_dlopen=yes
                   11843: else
                   11844:   echo "$as_me: failed program was:" >&5
                   11845: sed 's/^/| /' conftest.$ac_ext >&5
                   11846: 
                   11847: ac_cv_func_dlopen=no
                   11848: fi
                   11849: rm -f conftest.err conftest.$ac_objext \
                   11850:       conftest$ac_exeext conftest.$ac_ext
                   11851: fi
                   11852: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11853: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11854: if test $ac_cv_func_dlopen = yes; then
                   11855:   lt_cv_dlopen="dlopen"
                   11856: else
                   11857:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11858: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11859: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11860:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11861: else
                   11862:   ac_check_lib_save_LIBS=$LIBS
                   11863: LIBS="-ldl  $LIBS"
                   11864: cat >conftest.$ac_ext <<_ACEOF
                   11865: /* confdefs.h.  */
                   11866: _ACEOF
                   11867: cat confdefs.h >>conftest.$ac_ext
                   11868: cat >>conftest.$ac_ext <<_ACEOF
                   11869: /* end confdefs.h.  */
                   11870: 
                   11871: /* Override any gcc2 internal prototype to avoid an error.  */
                   11872: #ifdef __cplusplus
                   11873: extern "C"
                   11874: #endif
                   11875: /* We use char because int might match the return type of a gcc2
                   11876:    builtin and then its argument prototype would still apply.  */
                   11877: char dlopen ();
                   11878: int
                   11879: main ()
                   11880: {
                   11881: dlopen ();
                   11882:   ;
                   11883:   return 0;
                   11884: }
                   11885: _ACEOF
                   11886: rm -f conftest.$ac_objext conftest$ac_exeext
                   11887: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11888:   (eval $ac_link) 2>conftest.er1
                   11889:   ac_status=$?
                   11890:   grep -v '^ *+' conftest.er1 >conftest.err
                   11891:   rm -f conftest.er1
                   11892:   cat conftest.err >&5
                   11893:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11894:   (exit $ac_status); } &&
                   11895:         { ac_try='test -z "$ac_c_werror_flag"
                   11896:                         || test ! -s conftest.err'
                   11897:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11898:   (eval $ac_try) 2>&5
                   11899:   ac_status=$?
                   11900:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11901:   (exit $ac_status); }; } &&
                   11902:         { ac_try='test -s conftest$ac_exeext'
                   11903:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11904:   (eval $ac_try) 2>&5
                   11905:   ac_status=$?
                   11906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11907:   (exit $ac_status); }; }; then
                   11908:   ac_cv_lib_dl_dlopen=yes
                   11909: else
                   11910:   echo "$as_me: failed program was:" >&5
                   11911: sed 's/^/| /' conftest.$ac_ext >&5
                   11912: 
                   11913: ac_cv_lib_dl_dlopen=no
                   11914: fi
                   11915: rm -f conftest.err conftest.$ac_objext \
                   11916:       conftest$ac_exeext conftest.$ac_ext
                   11917: LIBS=$ac_check_lib_save_LIBS
                   11918: fi
                   11919: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11920: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11921: if test $ac_cv_lib_dl_dlopen = yes; then
                   11922:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11923: else
                   11924:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11925: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11926: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11927:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11928: else
                   11929:   ac_check_lib_save_LIBS=$LIBS
                   11930: LIBS="-lsvld  $LIBS"
                   11931: cat >conftest.$ac_ext <<_ACEOF
                   11932: /* confdefs.h.  */
                   11933: _ACEOF
                   11934: cat confdefs.h >>conftest.$ac_ext
                   11935: cat >>conftest.$ac_ext <<_ACEOF
                   11936: /* end confdefs.h.  */
                   11937: 
                   11938: /* Override any gcc2 internal prototype to avoid an error.  */
                   11939: #ifdef __cplusplus
                   11940: extern "C"
                   11941: #endif
                   11942: /* We use char because int might match the return type of a gcc2
                   11943:    builtin and then its argument prototype would still apply.  */
                   11944: char dlopen ();
                   11945: int
                   11946: main ()
                   11947: {
                   11948: dlopen ();
                   11949:   ;
                   11950:   return 0;
                   11951: }
                   11952: _ACEOF
                   11953: rm -f conftest.$ac_objext conftest$ac_exeext
                   11954: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11955:   (eval $ac_link) 2>conftest.er1
                   11956:   ac_status=$?
                   11957:   grep -v '^ *+' conftest.er1 >conftest.err
                   11958:   rm -f conftest.er1
                   11959:   cat conftest.err >&5
                   11960:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11961:   (exit $ac_status); } &&
                   11962:         { ac_try='test -z "$ac_c_werror_flag"
                   11963:                         || test ! -s conftest.err'
                   11964:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11965:   (eval $ac_try) 2>&5
                   11966:   ac_status=$?
                   11967:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11968:   (exit $ac_status); }; } &&
                   11969:         { ac_try='test -s conftest$ac_exeext'
                   11970:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11971:   (eval $ac_try) 2>&5
                   11972:   ac_status=$?
                   11973:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11974:   (exit $ac_status); }; }; then
                   11975:   ac_cv_lib_svld_dlopen=yes
                   11976: else
                   11977:   echo "$as_me: failed program was:" >&5
                   11978: sed 's/^/| /' conftest.$ac_ext >&5
                   11979: 
                   11980: ac_cv_lib_svld_dlopen=no
                   11981: fi
                   11982: rm -f conftest.err conftest.$ac_objext \
                   11983:       conftest$ac_exeext conftest.$ac_ext
                   11984: LIBS=$ac_check_lib_save_LIBS
                   11985: fi
                   11986: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11987: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11988: if test $ac_cv_lib_svld_dlopen = yes; then
                   11989:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11990: else
                   11991:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11992: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11993: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11994:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11995: else
                   11996:   ac_check_lib_save_LIBS=$LIBS
                   11997: LIBS="-ldld  $LIBS"
                   11998: cat >conftest.$ac_ext <<_ACEOF
                   11999: /* confdefs.h.  */
                   12000: _ACEOF
                   12001: cat confdefs.h >>conftest.$ac_ext
                   12002: cat >>conftest.$ac_ext <<_ACEOF
                   12003: /* end confdefs.h.  */
                   12004: 
                   12005: /* Override any gcc2 internal prototype to avoid an error.  */
                   12006: #ifdef __cplusplus
                   12007: extern "C"
                   12008: #endif
                   12009: /* We use char because int might match the return type of a gcc2
                   12010:    builtin and then its argument prototype would still apply.  */
                   12011: char dld_link ();
                   12012: int
                   12013: main ()
                   12014: {
                   12015: dld_link ();
                   12016:   ;
                   12017:   return 0;
                   12018: }
                   12019: _ACEOF
                   12020: rm -f conftest.$ac_objext conftest$ac_exeext
                   12021: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12022:   (eval $ac_link) 2>conftest.er1
                   12023:   ac_status=$?
                   12024:   grep -v '^ *+' conftest.er1 >conftest.err
                   12025:   rm -f conftest.er1
                   12026:   cat conftest.err >&5
                   12027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12028:   (exit $ac_status); } &&
                   12029:         { ac_try='test -z "$ac_c_werror_flag"
                   12030:                         || test ! -s conftest.err'
                   12031:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12032:   (eval $ac_try) 2>&5
                   12033:   ac_status=$?
                   12034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12035:   (exit $ac_status); }; } &&
                   12036:         { ac_try='test -s conftest$ac_exeext'
                   12037:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12038:   (eval $ac_try) 2>&5
                   12039:   ac_status=$?
                   12040:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12041:   (exit $ac_status); }; }; then
                   12042:   ac_cv_lib_dld_dld_link=yes
                   12043: else
                   12044:   echo "$as_me: failed program was:" >&5
                   12045: sed 's/^/| /' conftest.$ac_ext >&5
                   12046: 
                   12047: ac_cv_lib_dld_dld_link=no
                   12048: fi
                   12049: rm -f conftest.err conftest.$ac_objext \
                   12050:       conftest$ac_exeext conftest.$ac_ext
                   12051: LIBS=$ac_check_lib_save_LIBS
                   12052: fi
                   12053: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   12054: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   12055: if test $ac_cv_lib_dld_dld_link = yes; then
                   12056:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12057: fi
                   12058: 
                   12059: 
                   12060: fi
                   12061: 
                   12062: 
                   12063: fi
                   12064: 
                   12065: 
                   12066: fi
                   12067: 
                   12068: 
                   12069: fi
                   12070: 
                   12071: 
                   12072: fi
                   12073: 
                   12074:     ;;
                   12075:   esac
                   12076: 
                   12077:   if test "x$lt_cv_dlopen" != xno; then
                   12078:     enable_dlopen=yes
                   12079:   else
                   12080:     enable_dlopen=no
                   12081:   fi
                   12082: 
                   12083:   case $lt_cv_dlopen in
                   12084:   dlopen)
                   12085:     save_CPPFLAGS="$CPPFLAGS"
                   12086:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12087: 
                   12088:     save_LDFLAGS="$LDFLAGS"
                   12089:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12090: 
                   12091:     save_LIBS="$LIBS"
                   12092:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12093: 
                   12094:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   12095: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   12096: if test "${lt_cv_dlopen_self+set}" = set; then
                   12097:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12098: else
                   12099:          if test "$cross_compiling" = yes; then :
                   12100:   lt_cv_dlopen_self=cross
                   12101: else
                   12102:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12103:   lt_status=$lt_dlunknown
                   12104:   cat > conftest.$ac_ext <<_LT_EOF
                   12105: #line $LINENO "configure"
                   12106: #include "confdefs.h"
                   12107: 
                   12108: #if HAVE_DLFCN_H
                   12109: #include <dlfcn.h>
                   12110: #endif
                   12111: 
                   12112: #include <stdio.h>
                   12113: 
                   12114: #ifdef RTLD_GLOBAL
                   12115: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12116: #else
                   12117: #  ifdef DL_GLOBAL
                   12118: #    define LT_DLGLOBAL                DL_GLOBAL
                   12119: #  else
                   12120: #    define LT_DLGLOBAL                0
                   12121: #  endif
                   12122: #endif
                   12123: 
                   12124: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12125:    find out it does not work in some platform. */
                   12126: #ifndef LT_DLLAZY_OR_NOW
                   12127: #  ifdef RTLD_LAZY
                   12128: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12129: #  else
                   12130: #    ifdef DL_LAZY
                   12131: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12132: #    else
                   12133: #      ifdef RTLD_NOW
                   12134: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12135: #      else
                   12136: #        ifdef DL_NOW
                   12137: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12138: #        else
                   12139: #          define LT_DLLAZY_OR_NOW     0
                   12140: #        endif
                   12141: #      endif
                   12142: #    endif
                   12143: #  endif
                   12144: #endif
                   12145: 
                   12146: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12147:    correspondingly for the symbols needed.  */
                   12148: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12149: int fnord () __attribute__((visibility("default")));
                   12150: #endif
                   12151: 
                   12152: int fnord () { return 42; }
                   12153: int main ()
                   12154: {
                   12155:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12156:   int status = $lt_dlunknown;
                   12157: 
                   12158:   if (self)
                   12159:     {
                   12160:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12161:       else
                   12162:         {
                   12163:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12164:           else puts (dlerror ());
                   12165:        }
                   12166:       /* dlclose (self); */
                   12167:     }
                   12168:   else
                   12169:     puts (dlerror ());
                   12170: 
                   12171:   return status;
                   12172: }
                   12173: _LT_EOF
                   12174:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12175:   (eval $ac_link) 2>&5
                   12176:   ac_status=$?
                   12177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12178:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12179:     (./conftest; exit; ) >&5 2>/dev/null
                   12180:     lt_status=$?
                   12181:     case x$lt_status in
                   12182:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12183:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12184:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12185:     esac
                   12186:   else :
                   12187:     # compilation failed
                   12188:     lt_cv_dlopen_self=no
                   12189:   fi
                   12190: fi
                   12191: rm -fr conftest*
                   12192: 
                   12193: 
                   12194: fi
                   12195: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   12196: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   12197: 
                   12198:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12199:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12200:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   12201: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   12202: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   12203:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12204: else
                   12205:          if test "$cross_compiling" = yes; then :
                   12206:   lt_cv_dlopen_self_static=cross
                   12207: else
                   12208:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12209:   lt_status=$lt_dlunknown
                   12210:   cat > conftest.$ac_ext <<_LT_EOF
                   12211: #line $LINENO "configure"
                   12212: #include "confdefs.h"
                   12213: 
                   12214: #if HAVE_DLFCN_H
                   12215: #include <dlfcn.h>
                   12216: #endif
                   12217: 
                   12218: #include <stdio.h>
                   12219: 
                   12220: #ifdef RTLD_GLOBAL
                   12221: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12222: #else
                   12223: #  ifdef DL_GLOBAL
                   12224: #    define LT_DLGLOBAL                DL_GLOBAL
                   12225: #  else
                   12226: #    define LT_DLGLOBAL                0
                   12227: #  endif
                   12228: #endif
                   12229: 
                   12230: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12231:    find out it does not work in some platform. */
                   12232: #ifndef LT_DLLAZY_OR_NOW
                   12233: #  ifdef RTLD_LAZY
                   12234: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12235: #  else
                   12236: #    ifdef DL_LAZY
                   12237: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12238: #    else
                   12239: #      ifdef RTLD_NOW
                   12240: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12241: #      else
                   12242: #        ifdef DL_NOW
                   12243: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12244: #        else
                   12245: #          define LT_DLLAZY_OR_NOW     0
                   12246: #        endif
                   12247: #      endif
                   12248: #    endif
                   12249: #  endif
                   12250: #endif
                   12251: 
                   12252: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12253:    correspondingly for the symbols needed.  */
                   12254: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12255: int fnord () __attribute__((visibility("default")));
                   12256: #endif
                   12257: 
                   12258: int fnord () { return 42; }
                   12259: int main ()
                   12260: {
                   12261:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12262:   int status = $lt_dlunknown;
                   12263: 
                   12264:   if (self)
                   12265:     {
                   12266:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12267:       else
                   12268:         {
                   12269:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12270:           else puts (dlerror ());
                   12271:        }
                   12272:       /* dlclose (self); */
                   12273:     }
                   12274:   else
                   12275:     puts (dlerror ());
                   12276: 
                   12277:   return status;
                   12278: }
                   12279: _LT_EOF
                   12280:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12281:   (eval $ac_link) 2>&5
                   12282:   ac_status=$?
                   12283:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12284:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12285:     (./conftest; exit; ) >&5 2>/dev/null
                   12286:     lt_status=$?
                   12287:     case x$lt_status in
                   12288:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12289:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12290:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12291:     esac
                   12292:   else :
                   12293:     # compilation failed
                   12294:     lt_cv_dlopen_self_static=no
                   12295:   fi
                   12296: fi
                   12297: rm -fr conftest*
                   12298: 
                   12299: 
                   12300: fi
                   12301: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   12302: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   12303:     fi
                   12304: 
                   12305:     CPPFLAGS="$save_CPPFLAGS"
                   12306:     LDFLAGS="$save_LDFLAGS"
                   12307:     LIBS="$save_LIBS"
                   12308:     ;;
                   12309:   esac
                   12310: 
                   12311:   case $lt_cv_dlopen_self in
                   12312:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12313:   *) enable_dlopen_self=unknown ;;
                   12314:   esac
                   12315: 
                   12316:   case $lt_cv_dlopen_self_static in
                   12317:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12318:   *) enable_dlopen_self_static=unknown ;;
                   12319:   esac
                   12320: fi
                   12321: 
                   12322: 
                   12323: 
                   12324: 
                   12325: 
                   12326: 
                   12327: 
                   12328: 
                   12329: 
                   12330: 
                   12331: 
                   12332: 
                   12333: 
                   12334: 
                   12335: 
                   12336: 
                   12337: 
                   12338: striplib=
                   12339: old_striplib=
                   12340: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   12341: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   12342: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12343:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12344:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12345:   echo "$as_me:$LINENO: result: yes" >&5
                   12346: echo "${ECHO_T}yes" >&6
                   12347: else
                   12348: # FIXME - insert some real tests, host_os isn't really good enough
                   12349:   case $host_os in
                   12350:   darwin*)
                   12351:     if test -n "$STRIP" ; then
                   12352:       striplib="$STRIP -x"
                   12353:       old_striplib="$STRIP -S"
                   12354:       echo "$as_me:$LINENO: result: yes" >&5
                   12355: echo "${ECHO_T}yes" >&6
                   12356:     else
                   12357:       echo "$as_me:$LINENO: result: no" >&5
                   12358: echo "${ECHO_T}no" >&6
                   12359:     fi
                   12360:     ;;
                   12361:   *)
                   12362:     echo "$as_me:$LINENO: result: no" >&5
                   12363: echo "${ECHO_T}no" >&6
                   12364:     ;;
                   12365:   esac
                   12366: fi
                   12367: 
                   12368: 
                   12369: 
                   12370: 
                   12371: 
                   12372: 
                   12373: 
                   12374: 
                   12375: 
                   12376: 
                   12377: 
                   12378: 
                   12379:   # Report which library types will actually be built
                   12380:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   12381: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   12382:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   12383: echo "${ECHO_T}$can_build_shared" >&6
                   12384: 
                   12385:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   12386: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   12387:   test "$can_build_shared" = "no" && enable_shared=no
                   12388: 
                   12389:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12390:   # are all built from PIC.
                   12391:   case $host_os in
                   12392:   aix3*)
                   12393:     test "$enable_shared" = yes && enable_static=no
                   12394:     if test -n "$RANLIB"; then
                   12395:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12396:       postinstall_cmds='$RANLIB $lib'
                   12397:     fi
                   12398:     ;;
                   12399: 
                   12400:   aix[4-9]*)
                   12401:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12402:       test "$enable_shared" = yes && enable_static=no
                   12403:     fi
                   12404:     ;;
                   12405:   esac
                   12406:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   12407: echo "${ECHO_T}$enable_shared" >&6
                   12408: 
                   12409:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   12410: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   12411:   # Make sure either enable_shared or enable_static is yes.
                   12412:   test "$enable_shared" = yes || enable_static=yes
                   12413:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   12414: echo "${ECHO_T}$enable_static" >&6
                   12415: 
                   12416: 
                   12417: 
                   12418: 
                   12419: fi
                   12420: ac_ext=c
                   12421: ac_cpp='$CPP $CPPFLAGS'
                   12422: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12423: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12424: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12425: 
                   12426: CC="$lt_save_CC"
                   12427: 
                   12428:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12429:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12430:     (test "X$CXX" != "Xg++"))) ; then
                   12431:   ac_ext=cc
                   12432: ac_cpp='$CXXCPP $CPPFLAGS'
                   12433: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12434: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12435: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12436: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   12437: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   12438: if test -z "$CXXCPP"; then
                   12439:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   12440:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12441: else
                   12442:       # Double quotes because CXXCPP needs to be expanded
                   12443:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12444:     do
                   12445:       ac_preproc_ok=false
                   12446: for ac_cxx_preproc_warn_flag in '' yes
                   12447: do
                   12448:   # Use a header file that comes with gcc, so configuring glibc
                   12449:   # with a fresh cross-compiler works.
                   12450:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12451:   # <limits.h> exists even on freestanding compilers.
                   12452:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12453:   # not just through cpp. "Syntax error" is here to catch this case.
                   12454:   cat >conftest.$ac_ext <<_ACEOF
                   12455: /* confdefs.h.  */
                   12456: _ACEOF
                   12457: cat confdefs.h >>conftest.$ac_ext
                   12458: cat >>conftest.$ac_ext <<_ACEOF
                   12459: /* end confdefs.h.  */
                   12460: #ifdef __STDC__
                   12461: # include <limits.h>
                   12462: #else
                   12463: # include <assert.h>
                   12464: #endif
                   12465:                     Syntax error
                   12466: _ACEOF
                   12467: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12468:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12469:   ac_status=$?
                   12470:   grep -v '^ *+' conftest.er1 >conftest.err
                   12471:   rm -f conftest.er1
                   12472:   cat conftest.err >&5
                   12473:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12474:   (exit $ac_status); } >/dev/null; then
                   12475:   if test -s conftest.err; then
                   12476:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12477:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12478:   else
                   12479:     ac_cpp_err=
                   12480:   fi
                   12481: else
                   12482:   ac_cpp_err=yes
                   12483: fi
                   12484: if test -z "$ac_cpp_err"; then
                   12485:   :
                   12486: else
                   12487:   echo "$as_me: failed program was:" >&5
                   12488: sed 's/^/| /' conftest.$ac_ext >&5
                   12489: 
                   12490:   # Broken: fails on valid input.
                   12491: continue
                   12492: fi
                   12493: rm -f conftest.err conftest.$ac_ext
                   12494: 
                   12495:   # OK, works on sane cases.  Now check whether non-existent headers
                   12496:   # can be detected and how.
                   12497:   cat >conftest.$ac_ext <<_ACEOF
                   12498: /* confdefs.h.  */
                   12499: _ACEOF
                   12500: cat confdefs.h >>conftest.$ac_ext
                   12501: cat >>conftest.$ac_ext <<_ACEOF
                   12502: /* end confdefs.h.  */
                   12503: #include <ac_nonexistent.h>
                   12504: _ACEOF
                   12505: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12506:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12507:   ac_status=$?
                   12508:   grep -v '^ *+' conftest.er1 >conftest.err
                   12509:   rm -f conftest.er1
                   12510:   cat conftest.err >&5
                   12511:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12512:   (exit $ac_status); } >/dev/null; then
                   12513:   if test -s conftest.err; then
                   12514:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12515:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12516:   else
                   12517:     ac_cpp_err=
                   12518:   fi
                   12519: else
                   12520:   ac_cpp_err=yes
                   12521: fi
                   12522: if test -z "$ac_cpp_err"; then
                   12523:   # Broken: success on invalid input.
                   12524: continue
                   12525: else
                   12526:   echo "$as_me: failed program was:" >&5
                   12527: sed 's/^/| /' conftest.$ac_ext >&5
                   12528: 
                   12529:   # Passes both tests.
                   12530: ac_preproc_ok=:
                   12531: break
                   12532: fi
                   12533: rm -f conftest.err conftest.$ac_ext
                   12534: 
                   12535: done
                   12536: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12537: rm -f conftest.err conftest.$ac_ext
                   12538: if $ac_preproc_ok; then
                   12539:   break
                   12540: fi
                   12541: 
                   12542:     done
                   12543:     ac_cv_prog_CXXCPP=$CXXCPP
                   12544: 
                   12545: fi
                   12546:   CXXCPP=$ac_cv_prog_CXXCPP
                   12547: else
                   12548:   ac_cv_prog_CXXCPP=$CXXCPP
                   12549: fi
                   12550: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   12551: echo "${ECHO_T}$CXXCPP" >&6
                   12552: ac_preproc_ok=false
                   12553: for ac_cxx_preproc_warn_flag in '' yes
                   12554: do
                   12555:   # Use a header file that comes with gcc, so configuring glibc
                   12556:   # with a fresh cross-compiler works.
                   12557:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12558:   # <limits.h> exists even on freestanding compilers.
                   12559:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12560:   # not just through cpp. "Syntax error" is here to catch this case.
                   12561:   cat >conftest.$ac_ext <<_ACEOF
                   12562: /* confdefs.h.  */
                   12563: _ACEOF
                   12564: cat confdefs.h >>conftest.$ac_ext
                   12565: cat >>conftest.$ac_ext <<_ACEOF
                   12566: /* end confdefs.h.  */
                   12567: #ifdef __STDC__
                   12568: # include <limits.h>
                   12569: #else
                   12570: # include <assert.h>
                   12571: #endif
                   12572:                     Syntax error
                   12573: _ACEOF
                   12574: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12575:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12576:   ac_status=$?
                   12577:   grep -v '^ *+' conftest.er1 >conftest.err
                   12578:   rm -f conftest.er1
                   12579:   cat conftest.err >&5
                   12580:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12581:   (exit $ac_status); } >/dev/null; then
                   12582:   if test -s conftest.err; then
                   12583:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12584:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12585:   else
                   12586:     ac_cpp_err=
                   12587:   fi
                   12588: else
                   12589:   ac_cpp_err=yes
                   12590: fi
                   12591: if test -z "$ac_cpp_err"; then
                   12592:   :
                   12593: else
                   12594:   echo "$as_me: failed program was:" >&5
                   12595: sed 's/^/| /' conftest.$ac_ext >&5
                   12596: 
                   12597:   # Broken: fails on valid input.
                   12598: continue
                   12599: fi
                   12600: rm -f conftest.err conftest.$ac_ext
                   12601: 
                   12602:   # OK, works on sane cases.  Now check whether non-existent headers
                   12603:   # can be detected and how.
                   12604:   cat >conftest.$ac_ext <<_ACEOF
                   12605: /* confdefs.h.  */
                   12606: _ACEOF
                   12607: cat confdefs.h >>conftest.$ac_ext
                   12608: cat >>conftest.$ac_ext <<_ACEOF
                   12609: /* end confdefs.h.  */
                   12610: #include <ac_nonexistent.h>
                   12611: _ACEOF
                   12612: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12613:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12614:   ac_status=$?
                   12615:   grep -v '^ *+' conftest.er1 >conftest.err
                   12616:   rm -f conftest.er1
                   12617:   cat conftest.err >&5
                   12618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12619:   (exit $ac_status); } >/dev/null; then
                   12620:   if test -s conftest.err; then
                   12621:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12622:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12623:   else
                   12624:     ac_cpp_err=
                   12625:   fi
                   12626: else
                   12627:   ac_cpp_err=yes
                   12628: fi
                   12629: if test -z "$ac_cpp_err"; then
                   12630:   # Broken: success on invalid input.
                   12631: continue
                   12632: else
                   12633:   echo "$as_me: failed program was:" >&5
                   12634: sed 's/^/| /' conftest.$ac_ext >&5
                   12635: 
                   12636:   # Passes both tests.
                   12637: ac_preproc_ok=:
                   12638: break
                   12639: fi
                   12640: rm -f conftest.err conftest.$ac_ext
                   12641: 
                   12642: done
                   12643: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12644: rm -f conftest.err conftest.$ac_ext
                   12645: if $ac_preproc_ok; then
                   12646:   :
                   12647: else
                   12648:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12649: See \`config.log' for more details." >&5
                   12650: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12651: See \`config.log' for more details." >&2;}
                   12652:    { (exit 1); exit 1; }; }
                   12653: fi
                   12654: 
                   12655: ac_ext=c
                   12656: ac_cpp='$CPP $CPPFLAGS'
                   12657: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12658: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12659: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12660: 
                   12661: else
                   12662:   _lt_caught_CXX_error=yes
                   12663: fi
                   12664: 
                   12665: ac_ext=cc
                   12666: ac_cpp='$CXXCPP $CPPFLAGS'
                   12667: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12668: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12669: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12670: 
                   12671: archive_cmds_need_lc_CXX=no
                   12672: allow_undefined_flag_CXX=
                   12673: always_export_symbols_CXX=no
                   12674: archive_expsym_cmds_CXX=
                   12675: compiler_needs_object_CXX=no
                   12676: export_dynamic_flag_spec_CXX=
                   12677: hardcode_direct_CXX=no
                   12678: hardcode_direct_absolute_CXX=no
                   12679: hardcode_libdir_flag_spec_CXX=
                   12680: hardcode_libdir_separator_CXX=
                   12681: hardcode_minus_L_CXX=no
                   12682: hardcode_shlibpath_var_CXX=unsupported
                   12683: hardcode_automatic_CXX=no
                   12684: inherit_rpath_CXX=no
                   12685: module_cmds_CXX=
                   12686: module_expsym_cmds_CXX=
                   12687: link_all_deplibs_CXX=unknown
                   12688: old_archive_cmds_CXX=$old_archive_cmds
                   12689: reload_flag_CXX=$reload_flag
                   12690: reload_cmds_CXX=$reload_cmds
                   12691: no_undefined_flag_CXX=
                   12692: whole_archive_flag_spec_CXX=
                   12693: enable_shared_with_static_runtimes_CXX=no
                   12694: 
                   12695: # Source file extension for C++ test sources.
                   12696: ac_ext=cpp
                   12697: 
                   12698: # Object file extension for compiled C++ test sources.
                   12699: objext=o
                   12700: objext_CXX=$objext
                   12701: 
                   12702: # No sense in running all these tests if we already determined that
                   12703: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12704: # are currently assumed to apply to all compilers on this platform,
                   12705: # and will be corrupted by setting them based on a non-working compiler.
                   12706: if test "$_lt_caught_CXX_error" != yes; then
                   12707:   # Code to be used in simple compile tests
                   12708:   lt_simple_compile_test_code="int some_variable = 0;"
                   12709: 
                   12710:   # Code to be used in simple link tests
                   12711:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12712: 
                   12713:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12714: 
                   12715: 
                   12716: 
                   12717: 
                   12718: 
                   12719: 
                   12720: # If no C compiler was specified, use CC.
                   12721: LTCC=${LTCC-"$CC"}
                   12722: 
                   12723: # If no C compiler flags were specified, use CFLAGS.
                   12724: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12725: 
                   12726: # Allow CC to be a program name with arguments.
                   12727: compiler=$CC
                   12728: 
                   12729: 
                   12730:   # save warnings/boilerplate of simple test code
                   12731:   ac_outfile=conftest.$ac_objext
                   12732: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12733: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12734: _lt_compiler_boilerplate=`cat conftest.err`
                   12735: $RM conftest*
                   12736: 
                   12737:   ac_outfile=conftest.$ac_objext
                   12738: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12739: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12740: _lt_linker_boilerplate=`cat conftest.err`
                   12741: $RM -r conftest*
                   12742: 
                   12743: 
                   12744:   # Allow CC to be a program name with arguments.
                   12745:   lt_save_CC=$CC
                   12746:   lt_save_CFLAGS=$CFLAGS
                   12747:   lt_save_LD=$LD
                   12748:   lt_save_GCC=$GCC
                   12749:   GCC=$GXX
                   12750:   lt_save_with_gnu_ld=$with_gnu_ld
                   12751:   lt_save_path_LD=$lt_cv_path_LD
                   12752:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12753:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12754:   else
                   12755:     $as_unset lt_cv_prog_gnu_ld
                   12756:   fi
                   12757:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12758:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12759:   else
                   12760:     $as_unset lt_cv_path_LD
                   12761:   fi
                   12762:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12763:   CC=${CXX-"c++"}
                   12764:   CFLAGS=$CXXFLAGS
                   12765:   compiler=$CC
                   12766:   compiler_CXX=$CC
                   12767:   for cc_temp in $compiler""; do
                   12768:   case $cc_temp in
                   12769:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12770:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12771:     \-*) ;;
                   12772:     *) break;;
                   12773:   esac
                   12774: done
                   12775: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12776: 
                   12777: 
                   12778:   if test -n "$compiler"; then
                   12779:     # We don't want -fno-exception when compiling C++ code, so set the
                   12780:     # no_builtin_flag separately
                   12781:     if test "$GXX" = yes; then
                   12782:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12783:     else
                   12784:       lt_prog_compiler_no_builtin_flag_CXX=
                   12785:     fi
                   12786: 
                   12787:     if test "$GXX" = yes; then
                   12788:       # Set up default GNU C++ configuration
                   12789: 
                   12790: 
                   12791: 
                   12792: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12793: if test "${with_gnu_ld+set}" = set; then
                   12794:   withval="$with_gnu_ld"
                   12795:   test "$withval" = no || with_gnu_ld=yes
                   12796: else
                   12797:   with_gnu_ld=no
                   12798: fi;
                   12799: ac_prog=ld
                   12800: if test "$GCC" = yes; then
                   12801:   # Check if gcc -print-prog-name=ld gives a path.
                   12802:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12803: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12804:   case $host in
                   12805:   *-*-mingw*)
                   12806:     # gcc leaves a trailing carriage return which upsets mingw
                   12807:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12808:   *)
                   12809:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12810:   esac
                   12811:   case $ac_prog in
                   12812:     # Accept absolute paths.
                   12813:     [\\/]* | ?:[\\/]*)
                   12814:       re_direlt='/[^/][^/]*/\.\./'
                   12815:       # Canonicalize the pathname of ld
                   12816:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12817:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12818:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12819:       done
                   12820:       test -z "$LD" && LD="$ac_prog"
                   12821:       ;;
                   12822:   "")
                   12823:     # If it fails, then pretend we aren't using GCC.
                   12824:     ac_prog=ld
                   12825:     ;;
                   12826:   *)
                   12827:     # If it is relative, then search for the first ld in PATH.
                   12828:     with_gnu_ld=unknown
                   12829:     ;;
                   12830:   esac
                   12831: elif test "$with_gnu_ld" = yes; then
                   12832:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12833: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12834: else
                   12835:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12836: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12837: fi
                   12838: if test "${lt_cv_path_LD+set}" = set; then
                   12839:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12840: else
                   12841:   if test -z "$LD"; then
                   12842:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12843:   for ac_dir in $PATH; do
                   12844:     IFS="$lt_save_ifs"
                   12845:     test -z "$ac_dir" && ac_dir=.
                   12846:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12847:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12848:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12849:       # but apparently some variants of GNU ld only accept -v.
                   12850:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12851:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12852:       *GNU* | *'with BFD'*)
                   12853:        test "$with_gnu_ld" != no && break
                   12854:        ;;
                   12855:       *)
                   12856:        test "$with_gnu_ld" != yes && break
                   12857:        ;;
                   12858:       esac
                   12859:     fi
                   12860:   done
                   12861:   IFS="$lt_save_ifs"
                   12862: else
                   12863:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12864: fi
                   12865: fi
                   12866: 
                   12867: LD="$lt_cv_path_LD"
                   12868: if test -n "$LD"; then
                   12869:   echo "$as_me:$LINENO: result: $LD" >&5
                   12870: echo "${ECHO_T}$LD" >&6
                   12871: else
                   12872:   echo "$as_me:$LINENO: result: no" >&5
                   12873: echo "${ECHO_T}no" >&6
                   12874: fi
                   12875: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12876: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12877:    { (exit 1); exit 1; }; }
                   12878: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12879: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12880: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12881:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12882: else
                   12883:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12884: case `$LD -v 2>&1 </dev/null` in
                   12885: *GNU* | *'with BFD'*)
                   12886:   lt_cv_prog_gnu_ld=yes
                   12887:   ;;
                   12888: *)
                   12889:   lt_cv_prog_gnu_ld=no
                   12890:   ;;
                   12891: esac
                   12892: fi
                   12893: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12894: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12895: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12896: 
                   12897: 
                   12898: 
                   12899: 
                   12900: 
                   12901: 
                   12902: 
                   12903:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12904:       # archiving commands below assume that GNU ld is being used.
                   12905:       if test "$with_gnu_ld" = yes; then
                   12906:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12907:         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'
                   12908: 
                   12909:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12910:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12911: 
                   12912:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12913:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12914:         #     investigate it a little bit more. (MM)
                   12915:         wlarc='${wl}'
                   12916: 
                   12917:         # ancient GNU ld didn't support --whole-archive et. al.
                   12918:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12919:          $GREP 'no-whole-archive' > /dev/null; then
                   12920:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12921:         else
                   12922:           whole_archive_flag_spec_CXX=
                   12923:         fi
                   12924:       else
                   12925:         with_gnu_ld=no
                   12926:         wlarc=
                   12927: 
                   12928:         # A generic and very simple default shared library creation
                   12929:         # command for GNU C++ for the case where it uses the native
                   12930:         # linker, instead of GNU ld.  If possible, this setting should
                   12931:         # overridden to take advantage of the native linker features on
                   12932:         # the platform it is being used on.
                   12933:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12934:       fi
                   12935: 
                   12936:       # Commands to make compiler produce verbose output that lists
                   12937:       # what "hidden" libraries, object files and flags are used when
                   12938:       # linking a shared library.
                   12939:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12940: 
                   12941:     else
                   12942:       GXX=no
                   12943:       with_gnu_ld=no
                   12944:       wlarc=
                   12945:     fi
                   12946: 
                   12947:     # PORTME: fill in a description of your system's C++ link characteristics
                   12948:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12949: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12950:     ld_shlibs_CXX=yes
                   12951:     case $host_os in
                   12952:       aix3*)
                   12953:         # FIXME: insert proper C++ library support
                   12954:         ld_shlibs_CXX=no
                   12955:         ;;
                   12956:       aix[4-9]*)
                   12957:         if test "$host_cpu" = ia64; then
                   12958:           # On IA64, the linker does run time linking by default, so we don't
                   12959:           # have to do anything special.
                   12960:           aix_use_runtimelinking=no
                   12961:           exp_sym_flag='-Bexport'
                   12962:           no_entry_flag=""
                   12963:         else
                   12964:           aix_use_runtimelinking=no
                   12965: 
                   12966:           # Test if we are trying to use run time linking or normal
                   12967:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12968:           # need to do runtime linking.
                   12969:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12970:            for ld_flag in $LDFLAGS; do
                   12971:              case $ld_flag in
                   12972:              *-brtl*)
                   12973:                aix_use_runtimelinking=yes
                   12974:                break
                   12975:                ;;
                   12976:              esac
                   12977:            done
                   12978:            ;;
                   12979:           esac
                   12980: 
                   12981:           exp_sym_flag='-bexport'
                   12982:           no_entry_flag='-bnoentry'
                   12983:         fi
                   12984: 
                   12985:         # When large executables or shared objects are built, AIX ld can
                   12986:         # have problems creating the table of contents.  If linking a library
                   12987:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12988:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12989:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12990: 
                   12991:         archive_cmds_CXX=''
                   12992:         hardcode_direct_CXX=yes
                   12993:         hardcode_direct_absolute_CXX=yes
                   12994:         hardcode_libdir_separator_CXX=':'
                   12995:         link_all_deplibs_CXX=yes
                   12996:         file_list_spec_CXX='${wl}-f,'
                   12997: 
                   12998:         if test "$GXX" = yes; then
                   12999:           case $host_os in aix4.[012]|aix4.[012].*)
                   13000:           # We only want to do this on AIX 4.2 and lower, the check
                   13001:           # below for broken collect2 doesn't work under 4.3+
                   13002:          collect2name=`${CC} -print-prog-name=collect2`
                   13003:          if test -f "$collect2name" &&
                   13004:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13005:          then
                   13006:            # We have reworked collect2
                   13007:            :
                   13008:          else
                   13009:            # We have old collect2
                   13010:            hardcode_direct_CXX=unsupported
                   13011:            # It fails to find uninstalled libraries when the uninstalled
                   13012:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13013:            # to unsupported forces relinking
                   13014:            hardcode_minus_L_CXX=yes
                   13015:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13016:            hardcode_libdir_separator_CXX=
                   13017:          fi
                   13018:           esac
                   13019:           shared_flag='-shared'
                   13020:          if test "$aix_use_runtimelinking" = yes; then
                   13021:            shared_flag="$shared_flag "'${wl}-G'
                   13022:          fi
                   13023:         else
                   13024:           # not using gcc
                   13025:           if test "$host_cpu" = ia64; then
                   13026:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13027:          # chokes on -Wl,-G. The following line is correct:
                   13028:          shared_flag='-G'
                   13029:           else
                   13030:            if test "$aix_use_runtimelinking" = yes; then
                   13031:              shared_flag='${wl}-G'
                   13032:            else
                   13033:              shared_flag='${wl}-bM:SRE'
                   13034:            fi
                   13035:           fi
                   13036:         fi
                   13037: 
                   13038:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13039:         # It seems that -bexpall does not export symbols beginning with
                   13040:         # underscore (_), so it is better to generate a list of symbols to
                   13041:        # export.
                   13042:         always_export_symbols_CXX=yes
                   13043:         if test "$aix_use_runtimelinking" = yes; then
                   13044:           # Warning - without using the other runtime loading flags (-brtl),
                   13045:           # -berok will link without error, but may produce a broken library.
                   13046:           allow_undefined_flag_CXX='-berok'
                   13047:           # Determine the default libpath from the value encoded in an empty
                   13048:           # executable.
                   13049:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13050:   aix_libpath=$lt_cv_aix_libpath
                   13051: else
                   13052:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13053:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13054: else
                   13055:   cat >conftest.$ac_ext <<_ACEOF
                   13056: /* confdefs.h.  */
                   13057: _ACEOF
                   13058: cat confdefs.h >>conftest.$ac_ext
                   13059: cat >>conftest.$ac_ext <<_ACEOF
                   13060: /* end confdefs.h.  */
                   13061: 
                   13062: int
                   13063: main ()
                   13064: {
                   13065: 
                   13066:   ;
                   13067:   return 0;
                   13068: }
                   13069: _ACEOF
                   13070: rm -f conftest.$ac_objext conftest$ac_exeext
                   13071: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13072:   (eval $ac_link) 2>conftest.er1
                   13073:   ac_status=$?
                   13074:   grep -v '^ *+' conftest.er1 >conftest.err
                   13075:   rm -f conftest.er1
                   13076:   cat conftest.err >&5
                   13077:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13078:   (exit $ac_status); } &&
                   13079:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13080:                         || test ! -s conftest.err'
                   13081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13082:   (eval $ac_try) 2>&5
                   13083:   ac_status=$?
                   13084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13085:   (exit $ac_status); }; } &&
                   13086:         { ac_try='test -s conftest$ac_exeext'
                   13087:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13088:   (eval $ac_try) 2>&5
                   13089:   ac_status=$?
                   13090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13091:   (exit $ac_status); }; }; then
                   13092: 
                   13093:   lt_aix_libpath_sed='
                   13094:       /Import File Strings/,/^$/ {
                   13095:          /^0/ {
                   13096:              s/^0  *\([^ ]*\) *$/\1/
                   13097:              p
                   13098:          }
                   13099:       }'
                   13100:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13101:   # Check for a 64-bit object if we didn't find anything.
                   13102:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13103:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13104:   fi
                   13105: else
                   13106:   echo "$as_me: failed program was:" >&5
                   13107: sed 's/^/| /' conftest.$ac_ext >&5
                   13108: 
                   13109: fi
                   13110: rm -f conftest.err conftest.$ac_objext \
                   13111:       conftest$ac_exeext conftest.$ac_ext
                   13112:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13113:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13114:   fi
                   13115: 
                   13116: fi
                   13117: 
                   13118:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13119: fi
                   13120: 
                   13121:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13122: 
                   13123:           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"
                   13124:         else
                   13125:           if test "$host_cpu" = ia64; then
                   13126:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13127:            allow_undefined_flag_CXX="-z nodefs"
                   13128:            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"
                   13129:           else
                   13130:            # Determine the default libpath from the value encoded in an
                   13131:            # empty executable.
                   13132:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13133:   aix_libpath=$lt_cv_aix_libpath
                   13134: else
                   13135:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13136:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13137: else
                   13138:   cat >conftest.$ac_ext <<_ACEOF
                   13139: /* confdefs.h.  */
                   13140: _ACEOF
                   13141: cat confdefs.h >>conftest.$ac_ext
                   13142: cat >>conftest.$ac_ext <<_ACEOF
                   13143: /* end confdefs.h.  */
                   13144: 
                   13145: int
                   13146: main ()
                   13147: {
                   13148: 
                   13149:   ;
                   13150:   return 0;
                   13151: }
                   13152: _ACEOF
                   13153: rm -f conftest.$ac_objext conftest$ac_exeext
                   13154: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13155:   (eval $ac_link) 2>conftest.er1
                   13156:   ac_status=$?
                   13157:   grep -v '^ *+' conftest.er1 >conftest.err
                   13158:   rm -f conftest.er1
                   13159:   cat conftest.err >&5
                   13160:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13161:   (exit $ac_status); } &&
                   13162:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13163:                         || test ! -s conftest.err'
                   13164:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13165:   (eval $ac_try) 2>&5
                   13166:   ac_status=$?
                   13167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13168:   (exit $ac_status); }; } &&
                   13169:         { ac_try='test -s conftest$ac_exeext'
                   13170:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13171:   (eval $ac_try) 2>&5
                   13172:   ac_status=$?
                   13173:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13174:   (exit $ac_status); }; }; then
                   13175: 
                   13176:   lt_aix_libpath_sed='
                   13177:       /Import File Strings/,/^$/ {
                   13178:          /^0/ {
                   13179:              s/^0  *\([^ ]*\) *$/\1/
                   13180:              p
                   13181:          }
                   13182:       }'
                   13183:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13184:   # Check for a 64-bit object if we didn't find anything.
                   13185:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13186:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13187:   fi
                   13188: else
                   13189:   echo "$as_me: failed program was:" >&5
                   13190: sed 's/^/| /' conftest.$ac_ext >&5
                   13191: 
                   13192: fi
                   13193: rm -f conftest.err conftest.$ac_objext \
                   13194:       conftest$ac_exeext conftest.$ac_ext
                   13195:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13196:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13197:   fi
                   13198: 
                   13199: fi
                   13200: 
                   13201:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13202: fi
                   13203: 
                   13204:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13205:            # Warning - without using the other run time loading flags,
                   13206:            # -berok will link without error, but may produce a broken library.
                   13207:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13208:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13209:            if test "$with_gnu_ld" = yes; then
                   13210:              # We only use this code for GNU lds that support --whole-archive.
                   13211:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13212:            else
                   13213:              # Exported symbols can be pulled into shared objects from archives
                   13214:              whole_archive_flag_spec_CXX='$convenience'
                   13215:            fi
                   13216:            archive_cmds_need_lc_CXX=yes
                   13217:            # This is similar to how AIX traditionally builds its shared
                   13218:            # libraries.
                   13219:            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'
                   13220:           fi
                   13221:         fi
                   13222:         ;;
                   13223: 
                   13224:       beos*)
                   13225:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13226:          allow_undefined_flag_CXX=unsupported
                   13227:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13228:          # support --undefined.  This deserves some investigation.  FIXME
                   13229:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13230:        else
                   13231:          ld_shlibs_CXX=no
                   13232:        fi
                   13233:        ;;
                   13234: 
                   13235:       chorus*)
                   13236:         case $cc_basename in
                   13237:           *)
                   13238:          # FIXME: insert proper C++ library support
                   13239:          ld_shlibs_CXX=no
                   13240:          ;;
                   13241:         esac
                   13242:         ;;
                   13243: 
                   13244:       cygwin* | mingw* | pw32* | cegcc*)
                   13245:        case $GXX,$cc_basename in
                   13246:        ,cl* | no,cl*)
                   13247:          # Native MSVC
                   13248:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13249:          # no search path for DLLs.
                   13250:          hardcode_libdir_flag_spec_CXX=' '
                   13251:          allow_undefined_flag_CXX=unsupported
                   13252:          always_export_symbols_CXX=yes
                   13253:          file_list_spec_CXX='@'
                   13254:          # Tell ltmain to make .lib files, not .a files.
                   13255:          libext=lib
                   13256:          # Tell ltmain to make .dll files, not .so files.
                   13257:          shrext_cmds=".dll"
                   13258:          # FIXME: Setting linknames here is a bad hack.
                   13259:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13260:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13261:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13262:            else
                   13263:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13264:            fi~
                   13265:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13266:            linknames='
                   13267:          # The linker will not automatically build a static lib if we build a DLL.
                   13268:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13269:          enable_shared_with_static_runtimes_CXX=yes
                   13270:          # Don't use ranlib
                   13271:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13272:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13273:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13274:            case $lt_outputfile in
                   13275:              *.exe|*.EXE) ;;
                   13276:              *)
                   13277:                lt_outputfile="$lt_outputfile.exe"
                   13278:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13279:                ;;
                   13280:            esac~
                   13281:            func_to_tool_file "$lt_outputfile"~
                   13282:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13283:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13284:              $RM "$lt_outputfile.manifest";
                   13285:            fi'
                   13286:          ;;
                   13287:        *)
                   13288:          # g++
                   13289:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13290:          # as there is no search path for DLLs.
                   13291:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13292:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13293:          allow_undefined_flag_CXX=unsupported
                   13294:          always_export_symbols_CXX=no
                   13295:          enable_shared_with_static_runtimes_CXX=yes
                   13296: 
                   13297:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13298:            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'
                   13299:            # If the export-symbols file already is a .def file (1st line
                   13300:            # is EXPORTS), use it as is; otherwise, prepend...
                   13301:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13302:              cp $export_symbols $output_objdir/$soname.def;
                   13303:            else
                   13304:              echo EXPORTS > $output_objdir/$soname.def;
                   13305:              cat $export_symbols >> $output_objdir/$soname.def;
                   13306:            fi~
                   13307:            $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'
                   13308:          else
                   13309:            ld_shlibs_CXX=no
                   13310:          fi
                   13311:          ;;
                   13312:        esac
                   13313:        ;;
                   13314:       darwin* | rhapsody*)
                   13315: 
                   13316: 
                   13317:   archive_cmds_need_lc_CXX=no
                   13318:   hardcode_direct_CXX=no
                   13319:   hardcode_automatic_CXX=yes
                   13320:   hardcode_shlibpath_var_CXX=unsupported
                   13321:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13322:     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\"`'
                   13323: 
                   13324:   else
                   13325:     whole_archive_flag_spec_CXX=''
                   13326:   fi
                   13327:   link_all_deplibs_CXX=yes
                   13328:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13329:   case $cc_basename in
                   13330:      ifort*) _lt_dar_can_shared=yes ;;
                   13331:      *) _lt_dar_can_shared=$GCC ;;
                   13332:   esac
                   13333:   if test "$_lt_dar_can_shared" = "yes"; then
                   13334:     output_verbose_link_cmd=func_echo_all
                   13335:     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}"
                   13336:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13337:     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}"
                   13338:     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}"
                   13339:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13340:       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}"
                   13341:       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}"
                   13342:     fi
                   13343: 
                   13344:   else
                   13345:   ld_shlibs_CXX=no
                   13346:   fi
                   13347: 
                   13348:        ;;
                   13349: 
                   13350:       dgux*)
                   13351:         case $cc_basename in
                   13352:           ec++*)
                   13353:            # FIXME: insert proper C++ library support
                   13354:            ld_shlibs_CXX=no
                   13355:            ;;
                   13356:           ghcx*)
                   13357:            # Green Hills C++ Compiler
                   13358:            # FIXME: insert proper C++ library support
                   13359:            ld_shlibs_CXX=no
                   13360:            ;;
                   13361:           *)
                   13362:            # FIXME: insert proper C++ library support
                   13363:            ld_shlibs_CXX=no
                   13364:            ;;
                   13365:         esac
                   13366:         ;;
                   13367: 
                   13368:       freebsd2.*)
                   13369:         # C++ shared libraries reported to be fairly broken before
                   13370:        # switch to ELF
                   13371:         ld_shlibs_CXX=no
                   13372:         ;;
                   13373: 
                   13374:       freebsd-elf*)
                   13375:         archive_cmds_need_lc_CXX=no
                   13376:         ;;
                   13377: 
                   13378:       freebsd* | dragonfly*)
                   13379:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13380:         # conventions
                   13381:         ld_shlibs_CXX=yes
                   13382:         ;;
                   13383: 
                   13384:       gnu*)
                   13385:         ;;
                   13386: 
                   13387:       haiku*)
                   13388:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13389:         link_all_deplibs_CXX=yes
                   13390:         ;;
                   13391: 
                   13392:       hpux9*)
                   13393:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13394:         hardcode_libdir_separator_CXX=:
                   13395:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13396:         hardcode_direct_CXX=yes
                   13397:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13398:                                             # but as the default
                   13399:                                             # location of the library.
                   13400: 
                   13401:         case $cc_basename in
                   13402:           CC*)
                   13403:             # FIXME: insert proper C++ library support
                   13404:             ld_shlibs_CXX=no
                   13405:             ;;
                   13406:           aCC*)
                   13407:             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'
                   13408:             # Commands to make compiler produce verbose output that lists
                   13409:             # what "hidden" libraries, object files and flags are used when
                   13410:             # linking a shared library.
                   13411:             #
                   13412:             # There doesn't appear to be a way to prevent this compiler from
                   13413:             # explicitly linking system object files so we need to strip them
                   13414:             # from the output so that they don't get included in the library
                   13415:             # dependencies.
                   13416:             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"'
                   13417:             ;;
                   13418:           *)
                   13419:             if test "$GXX" = yes; then
                   13420:               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'
                   13421:             else
                   13422:               # FIXME: insert proper C++ library support
                   13423:               ld_shlibs_CXX=no
                   13424:             fi
                   13425:             ;;
                   13426:         esac
                   13427:         ;;
                   13428: 
                   13429:       hpux10*|hpux11*)
                   13430:         if test $with_gnu_ld = no; then
                   13431:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13432:          hardcode_libdir_separator_CXX=:
                   13433: 
                   13434:           case $host_cpu in
                   13435:             hppa*64*|ia64*)
                   13436:               ;;
                   13437:             *)
                   13438:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13439:               ;;
                   13440:           esac
                   13441:         fi
                   13442:         case $host_cpu in
                   13443:           hppa*64*|ia64*)
                   13444:             hardcode_direct_CXX=no
                   13445:             hardcode_shlibpath_var_CXX=no
                   13446:             ;;
                   13447:           *)
                   13448:             hardcode_direct_CXX=yes
                   13449:             hardcode_direct_absolute_CXX=yes
                   13450:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13451:                                                 # but as the default
                   13452:                                                 # location of the library.
                   13453:             ;;
                   13454:         esac
                   13455: 
                   13456:         case $cc_basename in
                   13457:           CC*)
                   13458:            # FIXME: insert proper C++ library support
                   13459:            ld_shlibs_CXX=no
                   13460:            ;;
                   13461:           aCC*)
                   13462:            case $host_cpu in
                   13463:              hppa*64*)
                   13464:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13465:                ;;
                   13466:              ia64*)
                   13467:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13468:                ;;
                   13469:              *)
                   13470:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13471:                ;;
                   13472:            esac
                   13473:            # Commands to make compiler produce verbose output that lists
                   13474:            # what "hidden" libraries, object files and flags are used when
                   13475:            # linking a shared library.
                   13476:            #
                   13477:            # There doesn't appear to be a way to prevent this compiler from
                   13478:            # explicitly linking system object files so we need to strip them
                   13479:            # from the output so that they don't get included in the library
                   13480:            # dependencies.
                   13481:            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"'
                   13482:            ;;
                   13483:           *)
                   13484:            if test "$GXX" = yes; then
                   13485:              if test $with_gnu_ld = no; then
                   13486:                case $host_cpu in
                   13487:                  hppa*64*)
                   13488:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13489:                    ;;
                   13490:                  ia64*)
                   13491:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13492:                    ;;
                   13493:                  *)
                   13494:                    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'
                   13495:                    ;;
                   13496:                esac
                   13497:              fi
                   13498:            else
                   13499:              # FIXME: insert proper C++ library support
                   13500:              ld_shlibs_CXX=no
                   13501:            fi
                   13502:            ;;
                   13503:         esac
                   13504:         ;;
                   13505: 
                   13506:       interix[3-9]*)
                   13507:        hardcode_direct_CXX=no
                   13508:        hardcode_shlibpath_var_CXX=no
                   13509:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13510:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13511:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13512:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13513:        # default) and relocated if they conflict, which is a slow very memory
                   13514:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13515:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13516:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13517:        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'
                   13518:        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'
                   13519:        ;;
                   13520:       irix5* | irix6*)
                   13521:         case $cc_basename in
                   13522:           CC*)
                   13523:            # SGI C++
                   13524:            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'
                   13525: 
                   13526:            # Archives containing C++ object files must be created using
                   13527:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13528:            # necessary to make sure instantiated templates are included
                   13529:            # in the archive.
                   13530:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13531:            ;;
                   13532:           *)
                   13533:            if test "$GXX" = yes; then
                   13534:              if test "$with_gnu_ld" = no; then
                   13535:                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'
                   13536:              else
                   13537:                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'
                   13538:              fi
                   13539:            fi
                   13540:            link_all_deplibs_CXX=yes
                   13541:            ;;
                   13542:         esac
                   13543:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13544:         hardcode_libdir_separator_CXX=:
                   13545:         inherit_rpath_CXX=yes
                   13546:         ;;
                   13547: 
                   13548:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13549:         case $cc_basename in
                   13550:           KCC*)
                   13551:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13552: 
                   13553:            # KCC will only create a shared library if the output file
                   13554:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13555:            # to its proper name (with version) after linking.
                   13556:            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'
                   13557:            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'
                   13558:            # Commands to make compiler produce verbose output that lists
                   13559:            # what "hidden" libraries, object files and flags are used when
                   13560:            # linking a shared library.
                   13561:            #
                   13562:            # There doesn't appear to be a way to prevent this compiler from
                   13563:            # explicitly linking system object files so we need to strip them
                   13564:            # from the output so that they don't get included in the library
                   13565:            # dependencies.
                   13566:            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"'
                   13567: 
                   13568:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13569:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13570: 
                   13571:            # Archives containing C++ object files must be created using
                   13572:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13573:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13574:            ;;
                   13575:          icpc* | ecpc* )
                   13576:            # Intel C++
                   13577:            with_gnu_ld=yes
                   13578:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13579:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13580:            # earlier do not add the objects themselves.
                   13581:            case `$CC -V 2>&1` in
                   13582:              *"Version 7."*)
                   13583:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13584:                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'
                   13585:                ;;
                   13586:              *)  # Version 8.0 or newer
                   13587:                tmp_idyn=
                   13588:                case $host_cpu in
                   13589:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13590:                esac
                   13591:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13592:                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'
                   13593:                ;;
                   13594:            esac
                   13595:            archive_cmds_need_lc_CXX=no
                   13596:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13597:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13598:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13599:            ;;
                   13600:           pgCC* | pgcpp*)
                   13601:             # Portland Group C++ compiler
                   13602:            case `$CC -V` in
                   13603:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13604:              prelink_cmds_CXX='tpldir=Template.dir~
                   13605:                rm -rf $tpldir~
                   13606:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13607:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13608:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13609:                rm -rf $tpldir~
                   13610:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13611:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13612:                $RANLIB $oldlib'
                   13613:              archive_cmds_CXX='tpldir=Template.dir~
                   13614:                rm -rf $tpldir~
                   13615:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13616:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13617:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13618:                rm -rf $tpldir~
                   13619:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13620:                $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'
                   13621:              ;;
                   13622:            *) # Version 6 and above use weak symbols
                   13623:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13624:              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'
                   13625:              ;;
                   13626:            esac
                   13627: 
                   13628:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13629:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13630:            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'
                   13631:             ;;
                   13632:          cxx*)
                   13633:            # Compaq C++
                   13634:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13635:            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'
                   13636: 
                   13637:            runpath_var=LD_RUN_PATH
                   13638:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13639:            hardcode_libdir_separator_CXX=:
                   13640: 
                   13641:            # Commands to make compiler produce verbose output that lists
                   13642:            # what "hidden" libraries, object files and flags are used when
                   13643:            # linking a shared library.
                   13644:            #
                   13645:            # There doesn't appear to be a way to prevent this compiler from
                   13646:            # explicitly linking system object files so we need to strip them
                   13647:            # from the output so that they don't get included in the library
                   13648:            # dependencies.
                   13649:            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'
                   13650:            ;;
                   13651:          xl* | mpixl* | bgxl*)
                   13652:            # IBM XL 8.0 on PPC, with GNU ld
                   13653:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13654:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13655:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13656:            if test "x$supports_anon_versioning" = xyes; then
                   13657:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13658:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13659:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13660:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13661:            fi
                   13662:            ;;
                   13663:          *)
                   13664:            case `$CC -V 2>&1 | sed 5q` in
                   13665:            *Sun\ C*)
                   13666:              # Sun C++ 5.9
                   13667:              no_undefined_flag_CXX=' -zdefs'
                   13668:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13669:              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'
                   13670:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13671:              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'
                   13672:              compiler_needs_object_CXX=yes
                   13673: 
                   13674:              # Not sure whether something based on
                   13675:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13676:              # would be better.
                   13677:              output_verbose_link_cmd='func_echo_all'
                   13678: 
                   13679:              # Archives containing C++ object files must be created using
                   13680:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13681:              # necessary to make sure instantiated templates are included
                   13682:              # in the archive.
                   13683:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13684:              ;;
                   13685:            esac
                   13686:            ;;
                   13687:        esac
                   13688:        ;;
                   13689: 
                   13690:       lynxos*)
                   13691:         # FIXME: insert proper C++ library support
                   13692:        ld_shlibs_CXX=no
                   13693:        ;;
                   13694: 
                   13695:       m88k*)
                   13696:         # FIXME: insert proper C++ library support
                   13697:         ld_shlibs_CXX=no
                   13698:        ;;
                   13699: 
                   13700:       mvs*)
                   13701:         case $cc_basename in
                   13702:           cxx*)
                   13703:            # FIXME: insert proper C++ library support
                   13704:            ld_shlibs_CXX=no
                   13705:            ;;
                   13706:          *)
                   13707:            # FIXME: insert proper C++ library support
                   13708:            ld_shlibs_CXX=no
                   13709:            ;;
                   13710:        esac
                   13711:        ;;
                   13712: 
                   13713:       netbsd*)
                   13714:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13715:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13716:          wlarc=
                   13717:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13718:          hardcode_direct_CXX=yes
                   13719:          hardcode_shlibpath_var_CXX=no
                   13720:        fi
                   13721:        # Workaround some broken pre-1.5 toolchains
                   13722:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13723:        ;;
                   13724: 
                   13725:       *nto* | *qnx*)
                   13726:         ld_shlibs_CXX=yes
                   13727:        ;;
                   13728: 
                   13729:       openbsd2*)
                   13730:         # C++ shared libraries are fairly broken
                   13731:        ld_shlibs_CXX=no
                   13732:        ;;
                   13733: 
                   13734:       openbsd*)
                   13735:        if test -f /usr/libexec/ld.so; then
                   13736:          hardcode_direct_CXX=yes
                   13737:          hardcode_shlibpath_var_CXX=no
                   13738:          hardcode_direct_absolute_CXX=yes
                   13739:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13740:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13741:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13742:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13743:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13744:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13745:          fi
                   13746:          output_verbose_link_cmd=func_echo_all
                   13747:        else
                   13748:          ld_shlibs_CXX=no
                   13749:        fi
                   13750:        ;;
                   13751: 
                   13752:       osf3* | osf4* | osf5*)
                   13753:         case $cc_basename in
                   13754:           KCC*)
                   13755:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13756: 
                   13757:            # KCC will only create a shared library if the output file
                   13758:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13759:            # to its proper name (with version) after linking.
                   13760:            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'
                   13761: 
                   13762:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13763:            hardcode_libdir_separator_CXX=:
                   13764: 
                   13765:            # Archives containing C++ object files must be created using
                   13766:            # the KAI C++ compiler.
                   13767:            case $host in
                   13768:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13769:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13770:            esac
                   13771:            ;;
                   13772:           RCC*)
                   13773:            # Rational C++ 2.4.1
                   13774:            # FIXME: insert proper C++ library support
                   13775:            ld_shlibs_CXX=no
                   13776:            ;;
                   13777:           cxx*)
                   13778:            case $host in
                   13779:              osf3*)
                   13780:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13781:                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'
                   13782:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13783:                ;;
                   13784:              *)
                   13785:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13786:                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'
                   13787:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13788:                  echo "-hidden">> $lib.exp~
                   13789:                  $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~
                   13790:                  $RM $lib.exp'
                   13791:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13792:                ;;
                   13793:            esac
                   13794: 
                   13795:            hardcode_libdir_separator_CXX=:
                   13796: 
                   13797:            # Commands to make compiler produce verbose output that lists
                   13798:            # what "hidden" libraries, object files and flags are used when
                   13799:            # linking a shared library.
                   13800:            #
                   13801:            # There doesn't appear to be a way to prevent this compiler from
                   13802:            # explicitly linking system object files so we need to strip them
                   13803:            # from the output so that they don't get included in the library
                   13804:            # dependencies.
                   13805:            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"'
                   13806:            ;;
                   13807:          *)
                   13808:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13809:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13810:              case $host in
                   13811:                osf3*)
                   13812:                  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'
                   13813:                  ;;
                   13814:                *)
                   13815:                  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'
                   13816:                  ;;
                   13817:              esac
                   13818: 
                   13819:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13820:              hardcode_libdir_separator_CXX=:
                   13821: 
                   13822:              # Commands to make compiler produce verbose output that lists
                   13823:              # what "hidden" libraries, object files and flags are used when
                   13824:              # linking a shared library.
                   13825:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13826: 
                   13827:            else
                   13828:              # FIXME: insert proper C++ library support
                   13829:              ld_shlibs_CXX=no
                   13830:            fi
                   13831:            ;;
                   13832:         esac
                   13833:         ;;
                   13834: 
                   13835:       psos*)
                   13836:         # FIXME: insert proper C++ library support
                   13837:         ld_shlibs_CXX=no
                   13838:         ;;
                   13839: 
                   13840:       sunos4*)
                   13841:         case $cc_basename in
                   13842:           CC*)
                   13843:            # Sun C++ 4.x
                   13844:            # FIXME: insert proper C++ library support
                   13845:            ld_shlibs_CXX=no
                   13846:            ;;
                   13847:           lcc*)
                   13848:            # Lucid
                   13849:            # FIXME: insert proper C++ library support
                   13850:            ld_shlibs_CXX=no
                   13851:            ;;
                   13852:           *)
                   13853:            # FIXME: insert proper C++ library support
                   13854:            ld_shlibs_CXX=no
                   13855:            ;;
                   13856:         esac
                   13857:         ;;
                   13858: 
                   13859:       solaris*)
                   13860:         case $cc_basename in
                   13861:           CC* | sunCC*)
                   13862:            # Sun C++ 4.2, 5.x and Centerline C++
                   13863:             archive_cmds_need_lc_CXX=yes
                   13864:            no_undefined_flag_CXX=' -zdefs'
                   13865:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13866:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13867:              $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'
                   13868: 
                   13869:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13870:            hardcode_shlibpath_var_CXX=no
                   13871:            case $host_os in
                   13872:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13873:              *)
                   13874:                # The compiler driver will combine and reorder linker options,
                   13875:                # but understands `-z linker_flag'.
                   13876:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13877:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13878:                ;;
                   13879:            esac
                   13880:            link_all_deplibs_CXX=yes
                   13881: 
                   13882:            output_verbose_link_cmd='func_echo_all'
                   13883: 
                   13884:            # Archives containing C++ object files must be created using
                   13885:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13886:            # necessary to make sure instantiated templates are included
                   13887:            # in the archive.
                   13888:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13889:            ;;
                   13890:           gcx*)
                   13891:            # Green Hills C++ Compiler
                   13892:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13893: 
                   13894:            # The C++ compiler must be used to create the archive.
                   13895:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13896:            ;;
                   13897:           *)
                   13898:            # GNU C++ compiler with Solaris linker
                   13899:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13900:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13901:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13902:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13903:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13904:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13905: 
                   13906:                # Commands to make compiler produce verbose output that lists
                   13907:                # what "hidden" libraries, object files and flags are used when
                   13908:                # linking a shared library.
                   13909:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13910:              else
                   13911:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13912:                # platform.
                   13913:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13914:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13915:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13916: 
                   13917:                # Commands to make compiler produce verbose output that lists
                   13918:                # what "hidden" libraries, object files and flags are used when
                   13919:                # linking a shared library.
                   13920:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13921:              fi
                   13922: 
                   13923:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13924:              case $host_os in
                   13925:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13926:                *)
                   13927:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13928:                  ;;
                   13929:              esac
                   13930:            fi
                   13931:            ;;
                   13932:         esac
                   13933:         ;;
                   13934: 
                   13935:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13936:       no_undefined_flag_CXX='${wl}-z,text'
                   13937:       archive_cmds_need_lc_CXX=no
                   13938:       hardcode_shlibpath_var_CXX=no
                   13939:       runpath_var='LD_RUN_PATH'
                   13940: 
                   13941:       case $cc_basename in
                   13942:         CC*)
                   13943:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13944:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13945:          ;;
                   13946:        *)
                   13947:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13948:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13949:          ;;
                   13950:       esac
                   13951:       ;;
                   13952: 
                   13953:       sysv5* | sco3.2v5* | sco5v6*)
                   13954:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13955:        # link with -lc, and that would cause any symbols used from libc to
                   13956:        # always be unresolved, which means just about no library would
                   13957:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13958:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13959:        # as -z defs.
                   13960:        no_undefined_flag_CXX='${wl}-z,text'
                   13961:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13962:        archive_cmds_need_lc_CXX=no
                   13963:        hardcode_shlibpath_var_CXX=no
                   13964:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13965:        hardcode_libdir_separator_CXX=':'
                   13966:        link_all_deplibs_CXX=yes
                   13967:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13968:        runpath_var='LD_RUN_PATH'
                   13969: 
                   13970:        case $cc_basename in
                   13971:           CC*)
                   13972:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13973:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13974:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13975:              '"$old_archive_cmds_CXX"
                   13976:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13977:              '"$reload_cmds_CXX"
                   13978:            ;;
                   13979:          *)
                   13980:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13981:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13982:            ;;
                   13983:        esac
                   13984:       ;;
                   13985: 
                   13986:       tandem*)
                   13987:         case $cc_basename in
                   13988:           NCC*)
                   13989:            # NonStop-UX NCC 3.20
                   13990:            # FIXME: insert proper C++ library support
                   13991:            ld_shlibs_CXX=no
                   13992:            ;;
                   13993:           *)
                   13994:            # FIXME: insert proper C++ library support
                   13995:            ld_shlibs_CXX=no
                   13996:            ;;
                   13997:         esac
                   13998:         ;;
                   13999: 
                   14000:       vxworks*)
                   14001:         # FIXME: insert proper C++ library support
                   14002:         ld_shlibs_CXX=no
                   14003:         ;;
                   14004: 
                   14005:       *)
                   14006:         # FIXME: insert proper C++ library support
                   14007:         ld_shlibs_CXX=no
                   14008:         ;;
                   14009:     esac
                   14010: 
                   14011:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14012: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14013:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14014: 
                   14015:     GCC_CXX="$GXX"
                   14016:     LD_CXX="$LD"
                   14017: 
                   14018:     ## CAVEAT EMPTOR:
                   14019:     ## There is no encapsulation within the following macros, do not change
                   14020:     ## the running order or otherwise move them around unless you know exactly
                   14021:     ## what you are doing...
                   14022:     # Dependencies to place before and after the object being linked:
                   14023: predep_objects_CXX=
                   14024: postdep_objects_CXX=
                   14025: predeps_CXX=
                   14026: postdeps_CXX=
                   14027: compiler_lib_search_path_CXX=
                   14028: 
                   14029: cat > conftest.$ac_ext <<_LT_EOF
                   14030: class Foo
                   14031: {
                   14032: public:
                   14033:   Foo (void) { a = 0; }
                   14034: private:
                   14035:   int a;
                   14036: };
                   14037: _LT_EOF
                   14038: 
                   14039: 
                   14040: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14041: case "$CC $CFLAGS " in #(
                   14042: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14043: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14044: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14045: esac
                   14046: 
                   14047: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14048:   (eval $ac_compile) 2>&5
                   14049:   ac_status=$?
                   14050:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14051:   (exit $ac_status); }; then
                   14052:   # Parse the compiler output and extract the necessary
                   14053:   # objects, libraries and library flags.
                   14054: 
                   14055:   # Sentinel used to keep track of whether or not we are before
                   14056:   # the conftest object file.
                   14057:   pre_test_object_deps_done=no
                   14058: 
                   14059:   for p in `eval "$output_verbose_link_cmd"`; do
                   14060:     case ${prev}${p} in
                   14061: 
                   14062:     -L* | -R* | -l*)
                   14063:        # Some compilers place space between "-{L,R}" and the path.
                   14064:        # Remove the space.
                   14065:        if test $p = "-L" ||
                   14066:           test $p = "-R"; then
                   14067:         prev=$p
                   14068:         continue
                   14069:        fi
                   14070: 
                   14071:        # Expand the sysroot to ease extracting the directories later.
                   14072:        if test -z "$prev"; then
                   14073:          case $p in
                   14074:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14075:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14076:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14077:          esac
                   14078:        fi
                   14079:        case $p in
                   14080:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14081:        esac
                   14082:        if test "$pre_test_object_deps_done" = no; then
                   14083:         case ${prev} in
                   14084:         -L | -R)
                   14085:           # Internal compiler library paths should come after those
                   14086:           # provided the user.  The postdeps already come after the
                   14087:           # user supplied libs so there is no need to process them.
                   14088:           if test -z "$compiler_lib_search_path_CXX"; then
                   14089:             compiler_lib_search_path_CXX="${prev}${p}"
                   14090:           else
                   14091:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14092:           fi
                   14093:           ;;
                   14094:         # The "-l" case would never come before the object being
                   14095:         # linked, so don't bother handling this case.
                   14096:         esac
                   14097:        else
                   14098:         if test -z "$postdeps_CXX"; then
                   14099:           postdeps_CXX="${prev}${p}"
                   14100:         else
                   14101:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14102:         fi
                   14103:        fi
                   14104:        prev=
                   14105:        ;;
                   14106: 
                   14107:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14108:     *.$objext)
                   14109:        # This assumes that the test object file only shows up
                   14110:        # once in the compiler output.
                   14111:        if test "$p" = "conftest.$objext"; then
                   14112:         pre_test_object_deps_done=yes
                   14113:         continue
                   14114:        fi
                   14115: 
                   14116:        if test "$pre_test_object_deps_done" = no; then
                   14117:         if test -z "$predep_objects_CXX"; then
                   14118:           predep_objects_CXX="$p"
                   14119:         else
                   14120:           predep_objects_CXX="$predep_objects_CXX $p"
                   14121:         fi
                   14122:        else
                   14123:         if test -z "$postdep_objects_CXX"; then
                   14124:           postdep_objects_CXX="$p"
                   14125:         else
                   14126:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14127:         fi
                   14128:        fi
                   14129:        ;;
                   14130: 
                   14131:     *) ;; # Ignore the rest.
                   14132: 
                   14133:     esac
                   14134:   done
                   14135: 
                   14136:   # Clean up.
                   14137:   rm -f a.out a.exe
                   14138: else
                   14139:   echo "libtool.m4: error: problem compiling CXX test program"
                   14140: fi
                   14141: 
                   14142: $RM -f confest.$objext
                   14143: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14144: 
                   14145: # PORTME: override above test on systems where it is broken
                   14146: case $host_os in
                   14147: interix[3-9]*)
                   14148:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14149:   # hack all around it, let's just trust "g++" to DTRT.
                   14150:   predep_objects_CXX=
                   14151:   postdep_objects_CXX=
                   14152:   postdeps_CXX=
                   14153:   ;;
                   14154: 
                   14155: linux*)
                   14156:   case `$CC -V 2>&1 | sed 5q` in
                   14157:   *Sun\ C*)
                   14158:     # Sun C++ 5.9
                   14159: 
                   14160:     # The more standards-conforming stlport4 library is
                   14161:     # incompatible with the Cstd library. Avoid specifying
                   14162:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14163:     # -library=stlport4 depends on it.
                   14164:     case " $CXX $CXXFLAGS " in
                   14165:     *" -library=stlport4 "*)
                   14166:       solaris_use_stlport4=yes
                   14167:       ;;
                   14168:     esac
                   14169: 
                   14170:     if test "$solaris_use_stlport4" != yes; then
                   14171:       postdeps_CXX='-library=Cstd -library=Crun'
                   14172:     fi
                   14173:     ;;
                   14174:   esac
                   14175:   ;;
                   14176: 
                   14177: solaris*)
                   14178:   case $cc_basename in
                   14179:   CC* | sunCC*)
                   14180:     # The more standards-conforming stlport4 library is
                   14181:     # incompatible with the Cstd library. Avoid specifying
                   14182:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14183:     # -library=stlport4 depends on it.
                   14184:     case " $CXX $CXXFLAGS " in
                   14185:     *" -library=stlport4 "*)
                   14186:       solaris_use_stlport4=yes
                   14187:       ;;
                   14188:     esac
                   14189: 
                   14190:     # Adding this requires a known-good setup of shared libraries for
                   14191:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14192:     # archive will be linked into the output, leading to subtle bugs.
                   14193:     if test "$solaris_use_stlport4" != yes; then
                   14194:       postdeps_CXX='-library=Cstd -library=Crun'
                   14195:     fi
                   14196:     ;;
                   14197:   esac
                   14198:   ;;
                   14199: esac
                   14200: 
                   14201: 
                   14202: case " $postdeps_CXX " in
                   14203: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14204: esac
                   14205:  compiler_lib_search_dirs_CXX=
                   14206: if test -n "${compiler_lib_search_path_CXX}"; then
                   14207:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14208: fi
                   14209: 
                   14210: 
                   14211: 
                   14212: 
                   14213: 
                   14214: 
                   14215: 
                   14216: 
                   14217: 
                   14218: 
                   14219: 
                   14220: 
                   14221: 
                   14222: 
                   14223: 
                   14224: 
                   14225: 
                   14226: 
                   14227: 
                   14228: 
                   14229: 
                   14230: 
                   14231: 
                   14232: 
                   14233: 
                   14234: 
                   14235: 
                   14236: 
                   14237: 
                   14238: 
                   14239: 
                   14240:     lt_prog_compiler_wl_CXX=
                   14241: lt_prog_compiler_pic_CXX=
                   14242: lt_prog_compiler_static_CXX=
                   14243: 
                   14244: 
                   14245:   # C++ specific cases for pic, static, wl, etc.
                   14246:   if test "$GXX" = yes; then
                   14247:     lt_prog_compiler_wl_CXX='-Wl,'
                   14248:     lt_prog_compiler_static_CXX='-static'
                   14249: 
                   14250:     case $host_os in
                   14251:     aix*)
                   14252:       # All AIX code is PIC.
                   14253:       if test "$host_cpu" = ia64; then
                   14254:        # AIX 5 now supports IA64 processor
                   14255:        lt_prog_compiler_static_CXX='-Bstatic'
                   14256:       fi
                   14257:       ;;
                   14258: 
                   14259:     amigaos*)
                   14260:       case $host_cpu in
                   14261:       powerpc)
                   14262:             # see comment about AmigaOS4 .so support
                   14263:             lt_prog_compiler_pic_CXX='-fPIC'
                   14264:         ;;
                   14265:       m68k)
                   14266:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14267:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14268:             # like `-m68040'.
                   14269:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14270:         ;;
                   14271:       esac
                   14272:       ;;
                   14273: 
                   14274:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14275:       # PIC is the default for these OSes.
                   14276:       ;;
                   14277:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14278:       # This hack is so that the source file can tell whether it is being
                   14279:       # built for inclusion in a dll (and should export symbols for example).
                   14280:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14281:       # (--disable-auto-import) libraries
                   14282:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14283:       ;;
                   14284:     darwin* | rhapsody*)
                   14285:       # PIC is the default on this platform
                   14286:       # Common symbols not allowed in MH_DYLIB files
                   14287:       lt_prog_compiler_pic_CXX='-fno-common'
                   14288:       ;;
                   14289:     *djgpp*)
                   14290:       # DJGPP does not support shared libraries at all
                   14291:       lt_prog_compiler_pic_CXX=
                   14292:       ;;
                   14293:     haiku*)
                   14294:       # PIC is the default for Haiku.
                   14295:       # The "-static" flag exists, but is broken.
                   14296:       lt_prog_compiler_static_CXX=
                   14297:       ;;
                   14298:     interix[3-9]*)
                   14299:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14300:       # Instead, we relocate shared libraries at runtime.
                   14301:       ;;
                   14302:     sysv4*MP*)
                   14303:       if test -d /usr/nec; then
                   14304:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14305:       fi
                   14306:       ;;
                   14307:     hpux*)
                   14308:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14309:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14310:       # sets the default TLS model and affects inlining.
                   14311:       case $host_cpu in
                   14312:       hppa*64*)
                   14313:        ;;
                   14314:       *)
                   14315:        lt_prog_compiler_pic_CXX='-fPIC'
                   14316:        ;;
                   14317:       esac
                   14318:       ;;
                   14319:     *qnx* | *nto*)
                   14320:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14321:       # it will coredump.
                   14322:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14323:       ;;
                   14324:     *)
                   14325:       lt_prog_compiler_pic_CXX='-fPIC'
                   14326:       ;;
                   14327:     esac
                   14328:   else
                   14329:     case $host_os in
                   14330:       aix[4-9]*)
                   14331:        # All AIX code is PIC.
                   14332:        if test "$host_cpu" = ia64; then
                   14333:          # AIX 5 now supports IA64 processor
                   14334:          lt_prog_compiler_static_CXX='-Bstatic'
                   14335:        else
                   14336:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14337:        fi
                   14338:        ;;
                   14339:       chorus*)
                   14340:        case $cc_basename in
                   14341:        cxch68*)
                   14342:          # Green Hills C++ Compiler
                   14343:          # _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"
                   14344:          ;;
                   14345:        esac
                   14346:        ;;
                   14347:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14348:        # This hack is so that the source file can tell whether it is being
                   14349:        # built for inclusion in a dll (and should export symbols for example).
                   14350:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14351:        ;;
                   14352:       dgux*)
                   14353:        case $cc_basename in
                   14354:          ec++*)
                   14355:            lt_prog_compiler_pic_CXX='-KPIC'
                   14356:            ;;
                   14357:          ghcx*)
                   14358:            # Green Hills C++ Compiler
                   14359:            lt_prog_compiler_pic_CXX='-pic'
                   14360:            ;;
                   14361:          *)
                   14362:            ;;
                   14363:        esac
                   14364:        ;;
                   14365:       freebsd* | dragonfly*)
                   14366:        # FreeBSD uses GNU C++
                   14367:        ;;
                   14368:       hpux9* | hpux10* | hpux11*)
                   14369:        case $cc_basename in
                   14370:          CC*)
                   14371:            lt_prog_compiler_wl_CXX='-Wl,'
                   14372:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14373:            if test "$host_cpu" != ia64; then
                   14374:              lt_prog_compiler_pic_CXX='+Z'
                   14375:            fi
                   14376:            ;;
                   14377:          aCC*)
                   14378:            lt_prog_compiler_wl_CXX='-Wl,'
                   14379:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14380:            case $host_cpu in
                   14381:            hppa*64*|ia64*)
                   14382:              # +Z the default
                   14383:              ;;
                   14384:            *)
                   14385:              lt_prog_compiler_pic_CXX='+Z'
                   14386:              ;;
                   14387:            esac
                   14388:            ;;
                   14389:          *)
                   14390:            ;;
                   14391:        esac
                   14392:        ;;
                   14393:       interix*)
                   14394:        # This is c89, which is MS Visual C++ (no shared libs)
                   14395:        # Anyone wants to do a port?
                   14396:        ;;
                   14397:       irix5* | irix6* | nonstopux*)
                   14398:        case $cc_basename in
                   14399:          CC*)
                   14400:            lt_prog_compiler_wl_CXX='-Wl,'
                   14401:            lt_prog_compiler_static_CXX='-non_shared'
                   14402:            # CC pic flag -KPIC is the default.
                   14403:            ;;
                   14404:          *)
                   14405:            ;;
                   14406:        esac
                   14407:        ;;
                   14408:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14409:        case $cc_basename in
                   14410:          KCC*)
                   14411:            # KAI C++ Compiler
                   14412:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14413:            lt_prog_compiler_pic_CXX='-fPIC'
                   14414:            ;;
                   14415:          ecpc* )
                   14416:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14417:            lt_prog_compiler_wl_CXX='-Wl,'
                   14418:            lt_prog_compiler_pic_CXX='-KPIC'
                   14419:            lt_prog_compiler_static_CXX='-static'
                   14420:            ;;
                   14421:          icpc* )
                   14422:            # Intel C++, used to be incompatible with GCC.
                   14423:            # ICC 10 doesn't accept -KPIC any more.
                   14424:            lt_prog_compiler_wl_CXX='-Wl,'
                   14425:            lt_prog_compiler_pic_CXX='-fPIC'
                   14426:            lt_prog_compiler_static_CXX='-static'
                   14427:            ;;
                   14428:          pgCC* | pgcpp*)
                   14429:            # Portland Group C++ compiler
                   14430:            lt_prog_compiler_wl_CXX='-Wl,'
                   14431:            lt_prog_compiler_pic_CXX='-fpic'
                   14432:            lt_prog_compiler_static_CXX='-Bstatic'
                   14433:            ;;
                   14434:          cxx*)
                   14435:            # Compaq C++
                   14436:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14437:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14438:            lt_prog_compiler_pic_CXX=
                   14439:            lt_prog_compiler_static_CXX='-non_shared'
                   14440:            ;;
                   14441:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14442:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14443:            lt_prog_compiler_wl_CXX='-Wl,'
                   14444:            lt_prog_compiler_pic_CXX='-qpic'
                   14445:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14446:            ;;
                   14447:          *)
                   14448:            case `$CC -V 2>&1 | sed 5q` in
                   14449:            *Sun\ C*)
                   14450:              # Sun C++ 5.9
                   14451:              lt_prog_compiler_pic_CXX='-KPIC'
                   14452:              lt_prog_compiler_static_CXX='-Bstatic'
                   14453:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14454:              ;;
                   14455:            esac
                   14456:            ;;
                   14457:        esac
                   14458:        ;;
                   14459:       lynxos*)
                   14460:        ;;
                   14461:       m88k*)
                   14462:        ;;
                   14463:       mvs*)
                   14464:        case $cc_basename in
                   14465:          cxx*)
                   14466:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14467:            ;;
                   14468:          *)
                   14469:            ;;
                   14470:        esac
                   14471:        ;;
                   14472:       netbsd*)
                   14473:        ;;
                   14474:       *qnx* | *nto*)
                   14475:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14476:         # it will coredump.
                   14477:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14478:         ;;
                   14479:       osf3* | osf4* | osf5*)
                   14480:        case $cc_basename in
                   14481:          KCC*)
                   14482:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14483:            ;;
                   14484:          RCC*)
                   14485:            # Rational C++ 2.4.1
                   14486:            lt_prog_compiler_pic_CXX='-pic'
                   14487:            ;;
                   14488:          cxx*)
                   14489:            # Digital/Compaq C++
                   14490:            lt_prog_compiler_wl_CXX='-Wl,'
                   14491:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14492:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14493:            lt_prog_compiler_pic_CXX=
                   14494:            lt_prog_compiler_static_CXX='-non_shared'
                   14495:            ;;
                   14496:          *)
                   14497:            ;;
                   14498:        esac
                   14499:        ;;
                   14500:       psos*)
                   14501:        ;;
                   14502:       solaris*)
                   14503:        case $cc_basename in
                   14504:          CC* | sunCC*)
                   14505:            # Sun C++ 4.2, 5.x and Centerline C++
                   14506:            lt_prog_compiler_pic_CXX='-KPIC'
                   14507:            lt_prog_compiler_static_CXX='-Bstatic'
                   14508:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14509:            ;;
                   14510:          gcx*)
                   14511:            # Green Hills C++ Compiler
                   14512:            lt_prog_compiler_pic_CXX='-PIC'
                   14513:            ;;
                   14514:          *)
                   14515:            ;;
                   14516:        esac
                   14517:        ;;
                   14518:       sunos4*)
                   14519:        case $cc_basename in
                   14520:          CC*)
                   14521:            # Sun C++ 4.x
                   14522:            lt_prog_compiler_pic_CXX='-pic'
                   14523:            lt_prog_compiler_static_CXX='-Bstatic'
                   14524:            ;;
                   14525:          lcc*)
                   14526:            # Lucid
                   14527:            lt_prog_compiler_pic_CXX='-pic'
                   14528:            ;;
                   14529:          *)
                   14530:            ;;
                   14531:        esac
                   14532:        ;;
                   14533:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14534:        case $cc_basename in
                   14535:          CC*)
                   14536:            lt_prog_compiler_wl_CXX='-Wl,'
                   14537:            lt_prog_compiler_pic_CXX='-KPIC'
                   14538:            lt_prog_compiler_static_CXX='-Bstatic'
                   14539:            ;;
                   14540:        esac
                   14541:        ;;
                   14542:       tandem*)
                   14543:        case $cc_basename in
                   14544:          NCC*)
                   14545:            # NonStop-UX NCC 3.20
                   14546:            lt_prog_compiler_pic_CXX='-KPIC'
                   14547:            ;;
                   14548:          *)
                   14549:            ;;
                   14550:        esac
                   14551:        ;;
                   14552:       vxworks*)
                   14553:        ;;
                   14554:       *)
                   14555:        lt_prog_compiler_can_build_shared_CXX=no
                   14556:        ;;
                   14557:     esac
                   14558:   fi
                   14559: 
                   14560: case $host_os in
                   14561:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14562:   *djgpp*)
                   14563:     lt_prog_compiler_pic_CXX=
                   14564:     ;;
                   14565:   *)
                   14566:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14567:     ;;
                   14568: esac
                   14569: 
                   14570: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   14571: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   14572: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   14573:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14574: else
                   14575:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14576: fi
                   14577: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14578: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   14579: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14580: 
                   14581: #
                   14582: # Check to make sure the PIC flag actually works.
                   14583: #
                   14584: if test -n "$lt_prog_compiler_pic_CXX"; then
                   14585:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14586: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   14587: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   14588:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14589: else
                   14590:   lt_cv_prog_compiler_pic_works_CXX=no
                   14591:    ac_outfile=conftest.$ac_objext
                   14592:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14593:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14594:    # Insert the option either (1) after the last *FLAGS variable, or
                   14595:    # (2) before a word containing "conftest.", or (3) at the end.
                   14596:    # Note that $ac_compile itself does not contain backslashes and begins
                   14597:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14598:    # The option is referenced via a variable to avoid confusing sed.
                   14599:    lt_compile=`echo "$ac_compile" | $SED \
                   14600:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14601:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14602:    -e 's:$: $lt_compiler_flag:'`
                   14603:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14604:    (eval "$lt_compile" 2>conftest.err)
                   14605:    ac_status=$?
                   14606:    cat conftest.err >&5
                   14607:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14608:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14609:      # The compiler can only warn and ignore the option if not recognized
                   14610:      # So say no if there are warnings other than the usual output.
                   14611:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14612:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14613:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14614:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14615:      fi
                   14616:    fi
                   14617:    $RM conftest*
                   14618: 
                   14619: fi
                   14620: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14621: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   14622: 
                   14623: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14624:     case $lt_prog_compiler_pic_CXX in
                   14625:      "" | " "*) ;;
                   14626:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14627:      esac
                   14628: else
                   14629:     lt_prog_compiler_pic_CXX=
                   14630:      lt_prog_compiler_can_build_shared_CXX=no
                   14631: fi
                   14632: 
                   14633: fi
                   14634: 
                   14635: 
                   14636: 
                   14637: 
                   14638: 
                   14639: #
                   14640: # Check to make sure the static flag actually works.
                   14641: #
                   14642: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   14643: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14644: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   14645: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   14646:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14647: else
                   14648:   lt_cv_prog_compiler_static_works_CXX=no
                   14649:    save_LDFLAGS="$LDFLAGS"
                   14650:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14651:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14652:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14653:      # The linker can only warn and ignore the option if not recognized
                   14654:      # So say no if there are warnings
                   14655:      if test -s conftest.err; then
                   14656:        # Append any errors to the config.log.
                   14657:        cat conftest.err 1>&5
                   14658:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14659:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14660:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14661:          lt_cv_prog_compiler_static_works_CXX=yes
                   14662:        fi
                   14663:      else
                   14664:        lt_cv_prog_compiler_static_works_CXX=yes
                   14665:      fi
                   14666:    fi
                   14667:    $RM -r conftest*
                   14668:    LDFLAGS="$save_LDFLAGS"
                   14669: 
                   14670: fi
                   14671: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14672: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14673: 
                   14674: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14675:     :
                   14676: else
                   14677:     lt_prog_compiler_static_CXX=
                   14678: fi
                   14679: 
                   14680: 
                   14681: 
                   14682: 
                   14683:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14684: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14685: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14686:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14687: else
                   14688:   lt_cv_prog_compiler_c_o_CXX=no
                   14689:    $RM -r conftest 2>/dev/null
                   14690:    mkdir conftest
                   14691:    cd conftest
                   14692:    mkdir out
                   14693:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14694: 
                   14695:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14696:    # Insert the option either (1) after the last *FLAGS variable, or
                   14697:    # (2) before a word containing "conftest.", or (3) at the end.
                   14698:    # Note that $ac_compile itself does not contain backslashes and begins
                   14699:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14700:    lt_compile=`echo "$ac_compile" | $SED \
                   14701:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14702:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14703:    -e 's:$: $lt_compiler_flag:'`
                   14704:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14705:    (eval "$lt_compile" 2>out/conftest.err)
                   14706:    ac_status=$?
                   14707:    cat out/conftest.err >&5
                   14708:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14709:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14710:    then
                   14711:      # The compiler can only warn and ignore the option if not recognized
                   14712:      # So say no if there are warnings
                   14713:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14714:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14715:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14716:        lt_cv_prog_compiler_c_o_CXX=yes
                   14717:      fi
                   14718:    fi
                   14719:    chmod u+w . 2>&5
                   14720:    $RM conftest*
                   14721:    # SGI C++ compiler will create directory out/ii_files/ for
                   14722:    # template instantiation
                   14723:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14724:    $RM out/* && rmdir out
                   14725:    cd ..
                   14726:    $RM -r conftest
                   14727:    $RM conftest*
                   14728: 
                   14729: fi
                   14730: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14731: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14732: 
                   14733: 
                   14734: 
                   14735:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14736: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14737: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14738:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14739: else
                   14740:   lt_cv_prog_compiler_c_o_CXX=no
                   14741:    $RM -r conftest 2>/dev/null
                   14742:    mkdir conftest
                   14743:    cd conftest
                   14744:    mkdir out
                   14745:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14746: 
                   14747:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14748:    # Insert the option either (1) after the last *FLAGS variable, or
                   14749:    # (2) before a word containing "conftest.", or (3) at the end.
                   14750:    # Note that $ac_compile itself does not contain backslashes and begins
                   14751:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14752:    lt_compile=`echo "$ac_compile" | $SED \
                   14753:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14754:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14755:    -e 's:$: $lt_compiler_flag:'`
                   14756:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14757:    (eval "$lt_compile" 2>out/conftest.err)
                   14758:    ac_status=$?
                   14759:    cat out/conftest.err >&5
                   14760:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14761:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14762:    then
                   14763:      # The compiler can only warn and ignore the option if not recognized
                   14764:      # So say no if there are warnings
                   14765:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14766:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14767:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14768:        lt_cv_prog_compiler_c_o_CXX=yes
                   14769:      fi
                   14770:    fi
                   14771:    chmod u+w . 2>&5
                   14772:    $RM conftest*
                   14773:    # SGI C++ compiler will create directory out/ii_files/ for
                   14774:    # template instantiation
                   14775:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14776:    $RM out/* && rmdir out
                   14777:    cd ..
                   14778:    $RM -r conftest
                   14779:    $RM conftest*
                   14780: 
                   14781: fi
                   14782: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14783: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14784: 
                   14785: 
                   14786: 
                   14787: 
                   14788: hard_links="nottested"
                   14789: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14790:   # do not overwrite the value of need_locks provided by the user
                   14791:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14792: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14793:   hard_links=yes
                   14794:   $RM conftest*
                   14795:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14796:   touch conftest.a
                   14797:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14798:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14799:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14800: echo "${ECHO_T}$hard_links" >&6
                   14801:   if test "$hard_links" = no; then
                   14802:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14803: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14804:     need_locks=warn
                   14805:   fi
                   14806: else
                   14807:   need_locks=no
                   14808: fi
                   14809: 
                   14810: 
                   14811: 
                   14812:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14813: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14814: 
                   14815:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14816:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14817:   case $host_os in
                   14818:   aix[4-9]*)
                   14819:     # If we're using GNU nm, then we don't want the "-C" option.
                   14820:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14821:     # Also, AIX nm treats weak defined symbols like other global defined
                   14822:     # symbols, whereas GNU nm marks them as "W".
                   14823:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14824:       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'
                   14825:     else
                   14826:       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'
                   14827:     fi
                   14828:     ;;
                   14829:   pw32*)
                   14830:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14831:     ;;
                   14832:   cygwin* | mingw* | cegcc*)
                   14833:     case $cc_basename in
                   14834:     cl*)
                   14835:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14836:       ;;
                   14837:     *)
                   14838:       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'
                   14839:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14840:       ;;
                   14841:     esac
                   14842:     ;;
                   14843:   *)
                   14844:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14845:     ;;
                   14846:   esac
                   14847: 
                   14848: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14849: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14850: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14851: 
                   14852: with_gnu_ld_CXX=$with_gnu_ld
                   14853: 
                   14854: 
                   14855: 
                   14856: 
                   14857: 
                   14858: 
                   14859: #
                   14860: # Do we need to explicitly link libc?
                   14861: #
                   14862: case "x$archive_cmds_need_lc_CXX" in
                   14863: x|xyes)
                   14864:   # Assume -lc should be added
                   14865:   archive_cmds_need_lc_CXX=yes
                   14866: 
                   14867:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14868:     case $archive_cmds_CXX in
                   14869:     *'~'*)
                   14870:       # FIXME: we may have to deal with multi-command sequences.
                   14871:       ;;
                   14872:     '$CC '*)
                   14873:       # Test whether the compiler implicitly links with -lc since on some
                   14874:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14875:       # to ld, don't add -lc before -lgcc.
                   14876:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14877: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14878: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14879:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14880: else
                   14881:   $RM conftest*
                   14882:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14883: 
                   14884:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14885:   (eval $ac_compile) 2>&5
                   14886:   ac_status=$?
                   14887:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14888:   (exit $ac_status); } 2>conftest.err; then
                   14889:          soname=conftest
                   14890:          lib=conftest
                   14891:          libobjs=conftest.$ac_objext
                   14892:          deplibs=
                   14893:          wl=$lt_prog_compiler_wl_CXX
                   14894:          pic_flag=$lt_prog_compiler_pic_CXX
                   14895:          compiler_flags=-v
                   14896:          linker_flags=-v
                   14897:          verstring=
                   14898:          output_objdir=.
                   14899:          libname=conftest
                   14900:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14901:          allow_undefined_flag_CXX=
                   14902:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14903:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14904:   ac_status=$?
                   14905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14906:   (exit $ac_status); }
                   14907:          then
                   14908:            lt_cv_archive_cmds_need_lc_CXX=no
                   14909:          else
                   14910:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14911:          fi
                   14912:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14913:        else
                   14914:          cat conftest.err 1>&5
                   14915:        fi
                   14916:        $RM conftest*
                   14917: 
                   14918: fi
                   14919: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14920: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14921:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14922:       ;;
                   14923:     esac
                   14924:   fi
                   14925:   ;;
                   14926: esac
                   14927: 
                   14928: 
                   14929: 
                   14930: 
                   14931: 
                   14932: 
                   14933: 
                   14934: 
                   14935: 
                   14936: 
                   14937: 
                   14938: 
                   14939: 
                   14940: 
                   14941: 
                   14942: 
                   14943: 
                   14944: 
                   14945: 
                   14946: 
                   14947: 
                   14948: 
                   14949: 
                   14950: 
                   14951: 
                   14952: 
                   14953: 
                   14954: 
                   14955: 
                   14956: 
                   14957: 
                   14958: 
                   14959: 
                   14960: 
                   14961: 
                   14962: 
                   14963: 
                   14964: 
                   14965: 
                   14966: 
                   14967: 
                   14968: 
                   14969: 
                   14970: 
                   14971: 
                   14972: 
                   14973: 
                   14974: 
                   14975: 
                   14976: 
                   14977: 
                   14978: 
                   14979: 
                   14980: 
                   14981: 
                   14982: 
                   14983: 
                   14984: 
                   14985: 
                   14986: 
                   14987: 
                   14988: 
                   14989:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14990: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14991: 
                   14992: library_names_spec=
                   14993: libname_spec='lib$name'
                   14994: soname_spec=
                   14995: shrext_cmds=".so"
                   14996: postinstall_cmds=
                   14997: postuninstall_cmds=
                   14998: finish_cmds=
                   14999: finish_eval=
                   15000: shlibpath_var=
                   15001: shlibpath_overrides_runpath=unknown
                   15002: version_type=none
                   15003: dynamic_linker="$host_os ld.so"
                   15004: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15005: need_lib_prefix=unknown
                   15006: hardcode_into_libs=no
                   15007: 
                   15008: # when you set need_version to no, make sure it does not cause -set_version
                   15009: # flags to be left without arguments
                   15010: need_version=unknown
                   15011: 
                   15012: case $host_os in
                   15013: aix3*)
                   15014:   version_type=linux # correct to gnu/linux during the next big refactor
                   15015:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15016:   shlibpath_var=LIBPATH
                   15017: 
                   15018:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15019:   soname_spec='${libname}${release}${shared_ext}$major'
                   15020:   ;;
                   15021: 
                   15022: aix[4-9]*)
                   15023:   version_type=linux # correct to gnu/linux during the next big refactor
                   15024:   need_lib_prefix=no
                   15025:   need_version=no
                   15026:   hardcode_into_libs=yes
                   15027:   if test "$host_cpu" = ia64; then
                   15028:     # AIX 5 supports IA64
                   15029:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15030:     shlibpath_var=LD_LIBRARY_PATH
                   15031:   else
                   15032:     # With GCC up to 2.95.x, collect2 would create an import file
                   15033:     # for dependence libraries.  The import file would start with
                   15034:     # the line `#! .'.  This would cause the generated library to
                   15035:     # depend on `.', always an invalid library.  This was fixed in
                   15036:     # development snapshots of GCC prior to 3.0.
                   15037:     case $host_os in
                   15038:       aix4 | aix4.[01] | aix4.[01].*)
                   15039:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15040:           echo ' yes '
                   15041:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15042:        :
                   15043:       else
                   15044:        can_build_shared=no
                   15045:       fi
                   15046:       ;;
                   15047:     esac
                   15048:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15049:     # soname into executable. Probably we can add versioning support to
                   15050:     # collect2, so additional links can be useful in future.
                   15051:     if test "$aix_use_runtimelinking" = yes; then
                   15052:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15053:       # instead of lib<name>.a to let people know that these are not
                   15054:       # typical AIX shared libraries.
                   15055:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15056:     else
                   15057:       # We preserve .a as extension for shared libraries through AIX4.2
                   15058:       # and later when we are not doing run time linking.
                   15059:       library_names_spec='${libname}${release}.a $libname.a'
                   15060:       soname_spec='${libname}${release}${shared_ext}$major'
                   15061:     fi
                   15062:     shlibpath_var=LIBPATH
                   15063:   fi
                   15064:   ;;
                   15065: 
                   15066: amigaos*)
                   15067:   case $host_cpu in
                   15068:   powerpc)
                   15069:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15070:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15071:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15072:     ;;
                   15073:   m68k)
                   15074:     library_names_spec='$libname.ixlibrary $libname.a'
                   15075:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15076:     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'
                   15077:     ;;
                   15078:   esac
                   15079:   ;;
                   15080: 
                   15081: beos*)
                   15082:   library_names_spec='${libname}${shared_ext}'
                   15083:   dynamic_linker="$host_os ld.so"
                   15084:   shlibpath_var=LIBRARY_PATH
                   15085:   ;;
                   15086: 
                   15087: bsdi[45]*)
                   15088:   version_type=linux # correct to gnu/linux during the next big refactor
                   15089:   need_version=no
                   15090:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15091:   soname_spec='${libname}${release}${shared_ext}$major'
                   15092:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15093:   shlibpath_var=LD_LIBRARY_PATH
                   15094:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15095:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15096:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15097:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15098:   # libtool to hard-code these into programs
                   15099:   ;;
                   15100: 
                   15101: cygwin* | mingw* | pw32* | cegcc*)
                   15102:   version_type=windows
                   15103:   shrext_cmds=".dll"
                   15104:   need_version=no
                   15105:   need_lib_prefix=no
                   15106: 
                   15107:   case $GCC,$cc_basename in
                   15108:   yes,*)
                   15109:     # gcc
                   15110:     library_names_spec='$libname.dll.a'
                   15111:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15112:     postinstall_cmds='base_file=`basename \${file}`~
                   15113:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15114:       dldir=$destdir/`dirname \$dlpath`~
                   15115:       test -d \$dldir || mkdir -p \$dldir~
                   15116:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15117:       chmod a+x \$dldir/$dlname~
                   15118:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15119:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15120:       fi'
                   15121:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15122:       dlpath=$dir/\$dldll~
                   15123:        $RM \$dlpath'
                   15124:     shlibpath_overrides_runpath=yes
                   15125: 
                   15126:     case $host_os in
                   15127:     cygwin*)
                   15128:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15129:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15130: 
                   15131:       ;;
                   15132:     mingw* | cegcc*)
                   15133:       # MinGW DLLs use traditional 'lib' prefix
                   15134:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15135:       ;;
                   15136:     pw32*)
                   15137:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15138:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15139:       ;;
                   15140:     esac
                   15141:     dynamic_linker='Win32 ld.exe'
                   15142:     ;;
                   15143: 
                   15144:   *,cl*)
                   15145:     # Native MSVC
                   15146:     libname_spec='$name'
                   15147:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15148:     library_names_spec='${libname}.dll.lib'
                   15149: 
                   15150:     case $build_os in
                   15151:     mingw*)
                   15152:       sys_lib_search_path_spec=
                   15153:       lt_save_ifs=$IFS
                   15154:       IFS=';'
                   15155:       for lt_path in $LIB
                   15156:       do
                   15157:         IFS=$lt_save_ifs
                   15158:         # Let DOS variable expansion print the short 8.3 style file name.
                   15159:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15160:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15161:       done
                   15162:       IFS=$lt_save_ifs
                   15163:       # Convert to MSYS style.
                   15164:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15165:       ;;
                   15166:     cygwin*)
                   15167:       # Convert to unix form, then to dos form, then back to unix form
                   15168:       # but this time dos style (no spaces!) so that the unix form looks
                   15169:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15170:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15171:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15172:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15173:       ;;
                   15174:     *)
                   15175:       sys_lib_search_path_spec="$LIB"
                   15176:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15177:         # It is most probably a Windows format PATH.
                   15178:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15179:       else
                   15180:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15181:       fi
                   15182:       # FIXME: find the short name or the path components, as spaces are
                   15183:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15184:       ;;
                   15185:     esac
                   15186: 
                   15187:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15188:     postinstall_cmds='base_file=`basename \${file}`~
                   15189:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15190:       dldir=$destdir/`dirname \$dlpath`~
                   15191:       test -d \$dldir || mkdir -p \$dldir~
                   15192:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15193:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15194:       dlpath=$dir/\$dldll~
                   15195:        $RM \$dlpath'
                   15196:     shlibpath_overrides_runpath=yes
                   15197:     dynamic_linker='Win32 link.exe'
                   15198:     ;;
                   15199: 
                   15200:   *)
                   15201:     # Assume MSVC wrapper
                   15202:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15203:     dynamic_linker='Win32 ld.exe'
                   15204:     ;;
                   15205:   esac
                   15206:   # FIXME: first we should search . and the directory the executable is in
                   15207:   shlibpath_var=PATH
                   15208:   ;;
                   15209: 
                   15210: darwin* | rhapsody*)
                   15211:   dynamic_linker="$host_os dyld"
                   15212:   version_type=darwin
                   15213:   need_lib_prefix=no
                   15214:   need_version=no
                   15215:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15216:   soname_spec='${libname}${release}${major}$shared_ext'
                   15217:   shlibpath_overrides_runpath=yes
                   15218:   shlibpath_var=DYLD_LIBRARY_PATH
                   15219:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15220: 
                   15221:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15222:   ;;
                   15223: 
                   15224: dgux*)
                   15225:   version_type=linux # correct to gnu/linux during the next big refactor
                   15226:   need_lib_prefix=no
                   15227:   need_version=no
                   15228:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15229:   soname_spec='${libname}${release}${shared_ext}$major'
                   15230:   shlibpath_var=LD_LIBRARY_PATH
                   15231:   ;;
                   15232: 
                   15233: freebsd* | dragonfly*)
                   15234:   # DragonFly does not have aout.  When/if they implement a new
                   15235:   # versioning mechanism, adjust this.
                   15236:   if test -x /usr/bin/objformat; then
                   15237:     objformat=`/usr/bin/objformat`
                   15238:   else
                   15239:     case $host_os in
                   15240:     freebsd[23].*) objformat=aout ;;
                   15241:     *) objformat=elf ;;
                   15242:     esac
                   15243:   fi
                   15244:   version_type=freebsd-$objformat
                   15245:   case $version_type in
                   15246:     freebsd-elf*)
                   15247:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15248:       need_version=no
                   15249:       need_lib_prefix=no
                   15250:       ;;
                   15251:     freebsd-*)
                   15252:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15253:       need_version=yes
                   15254:       ;;
                   15255:   esac
                   15256:   shlibpath_var=LD_LIBRARY_PATH
                   15257:   case $host_os in
                   15258:   freebsd2.*)
                   15259:     shlibpath_overrides_runpath=yes
                   15260:     ;;
                   15261:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15262:     shlibpath_overrides_runpath=yes
                   15263:     hardcode_into_libs=yes
                   15264:     ;;
                   15265:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15266:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15267:     shlibpath_overrides_runpath=no
                   15268:     hardcode_into_libs=yes
                   15269:     ;;
                   15270:   *) # from 4.6 on, and DragonFly
                   15271:     shlibpath_overrides_runpath=yes
                   15272:     hardcode_into_libs=yes
                   15273:     ;;
                   15274:   esac
                   15275:   ;;
                   15276: 
                   15277: gnu*)
                   15278:   version_type=linux # correct to gnu/linux during the next big refactor
                   15279:   need_lib_prefix=no
                   15280:   need_version=no
                   15281:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15282:   soname_spec='${libname}${release}${shared_ext}$major'
                   15283:   shlibpath_var=LD_LIBRARY_PATH
                   15284:   shlibpath_overrides_runpath=no
                   15285:   hardcode_into_libs=yes
                   15286:   ;;
                   15287: 
                   15288: haiku*)
                   15289:   version_type=linux # correct to gnu/linux during the next big refactor
                   15290:   need_lib_prefix=no
                   15291:   need_version=no
                   15292:   dynamic_linker="$host_os runtime_loader"
                   15293:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15294:   soname_spec='${libname}${release}${shared_ext}$major'
                   15295:   shlibpath_var=LIBRARY_PATH
                   15296:   shlibpath_overrides_runpath=yes
                   15297:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15298:   hardcode_into_libs=yes
                   15299:   ;;
                   15300: 
                   15301: hpux9* | hpux10* | hpux11*)
                   15302:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15303:   # link against other versions.
                   15304:   version_type=sunos
                   15305:   need_lib_prefix=no
                   15306:   need_version=no
                   15307:   case $host_cpu in
                   15308:   ia64*)
                   15309:     shrext_cmds='.so'
                   15310:     hardcode_into_libs=yes
                   15311:     dynamic_linker="$host_os dld.so"
                   15312:     shlibpath_var=LD_LIBRARY_PATH
                   15313:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15314:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15315:     soname_spec='${libname}${release}${shared_ext}$major'
                   15316:     if test "X$HPUX_IA64_MODE" = X32; then
                   15317:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15318:     else
                   15319:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15320:     fi
                   15321:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15322:     ;;
                   15323:   hppa*64*)
                   15324:     shrext_cmds='.sl'
                   15325:     hardcode_into_libs=yes
                   15326:     dynamic_linker="$host_os dld.sl"
                   15327:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15328:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15329:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15330:     soname_spec='${libname}${release}${shared_ext}$major'
                   15331:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15332:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15333:     ;;
                   15334:   *)
                   15335:     shrext_cmds='.sl'
                   15336:     dynamic_linker="$host_os dld.sl"
                   15337:     shlibpath_var=SHLIB_PATH
                   15338:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15339:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15340:     soname_spec='${libname}${release}${shared_ext}$major'
                   15341:     ;;
                   15342:   esac
                   15343:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15344:   postinstall_cmds='chmod 555 $lib'
                   15345:   # or fails outright, so override atomically:
                   15346:   install_override_mode=555
                   15347:   ;;
                   15348: 
                   15349: interix[3-9]*)
                   15350:   version_type=linux # correct to gnu/linux during the next big refactor
                   15351:   need_lib_prefix=no
                   15352:   need_version=no
                   15353:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15354:   soname_spec='${libname}${release}${shared_ext}$major'
                   15355:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15356:   shlibpath_var=LD_LIBRARY_PATH
                   15357:   shlibpath_overrides_runpath=no
                   15358:   hardcode_into_libs=yes
                   15359:   ;;
                   15360: 
                   15361: irix5* | irix6* | nonstopux*)
                   15362:   case $host_os in
                   15363:     nonstopux*) version_type=nonstopux ;;
                   15364:     *)
                   15365:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15366:                version_type=linux # correct to gnu/linux during the next big refactor
                   15367:        else
                   15368:                version_type=irix
                   15369:        fi ;;
                   15370:   esac
                   15371:   need_lib_prefix=no
                   15372:   need_version=no
                   15373:   soname_spec='${libname}${release}${shared_ext}$major'
                   15374:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15375:   case $host_os in
                   15376:   irix5* | nonstopux*)
                   15377:     libsuff= shlibsuff=
                   15378:     ;;
                   15379:   *)
                   15380:     case $LD in # libtool.m4 will add one of these switches to LD
                   15381:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15382:       libsuff= shlibsuff= libmagic=32-bit;;
                   15383:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15384:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15385:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15386:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15387:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15388:     esac
                   15389:     ;;
                   15390:   esac
                   15391:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15392:   shlibpath_overrides_runpath=no
                   15393:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15394:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15395:   hardcode_into_libs=yes
                   15396:   ;;
                   15397: 
                   15398: # No shared lib support for Linux oldld, aout, or coff.
                   15399: linux*oldld* | linux*aout* | linux*coff*)
                   15400:   dynamic_linker=no
                   15401:   ;;
                   15402: 
                   15403: # This must be glibc/ELF.
                   15404: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15405:   version_type=linux # correct to gnu/linux during the next big refactor
                   15406:   need_lib_prefix=no
                   15407:   need_version=no
                   15408:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15409:   soname_spec='${libname}${release}${shared_ext}$major'
                   15410:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15411:   shlibpath_var=LD_LIBRARY_PATH
                   15412:   shlibpath_overrides_runpath=no
                   15413: 
                   15414:   # Some binutils ld are patched to set DT_RUNPATH
                   15415:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   15416:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15417: else
                   15418:   lt_cv_shlibpath_overrides_runpath=no
                   15419:     save_LDFLAGS=$LDFLAGS
                   15420:     save_libdir=$libdir
                   15421:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15422:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   15423:     cat >conftest.$ac_ext <<_ACEOF
                   15424: /* confdefs.h.  */
                   15425: _ACEOF
                   15426: cat confdefs.h >>conftest.$ac_ext
                   15427: cat >>conftest.$ac_ext <<_ACEOF
                   15428: /* end confdefs.h.  */
                   15429: 
                   15430: int
                   15431: main ()
                   15432: {
                   15433: 
                   15434:   ;
                   15435:   return 0;
                   15436: }
                   15437: _ACEOF
                   15438: rm -f conftest.$ac_objext conftest$ac_exeext
                   15439: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15440:   (eval $ac_link) 2>conftest.er1
                   15441:   ac_status=$?
                   15442:   grep -v '^ *+' conftest.er1 >conftest.err
                   15443:   rm -f conftest.er1
                   15444:   cat conftest.err >&5
                   15445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15446:   (exit $ac_status); } &&
                   15447:         { ac_try='test -z "$ac_cxx_werror_flag"
                   15448:                         || test ! -s conftest.err'
                   15449:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15450:   (eval $ac_try) 2>&5
                   15451:   ac_status=$?
                   15452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15453:   (exit $ac_status); }; } &&
                   15454:         { ac_try='test -s conftest$ac_exeext'
                   15455:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15456:   (eval $ac_try) 2>&5
                   15457:   ac_status=$?
                   15458:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15459:   (exit $ac_status); }; }; then
                   15460:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   15461:   lt_cv_shlibpath_overrides_runpath=yes
                   15462: fi
                   15463: 
                   15464: else
                   15465:   echo "$as_me: failed program was:" >&5
                   15466: sed 's/^/| /' conftest.$ac_ext >&5
                   15467: 
                   15468: fi
                   15469: rm -f conftest.err conftest.$ac_objext \
                   15470:       conftest$ac_exeext conftest.$ac_ext
                   15471:     LDFLAGS=$save_LDFLAGS
                   15472:     libdir=$save_libdir
                   15473: 
                   15474: fi
                   15475: 
                   15476:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15477: 
                   15478:   # This implies no fast_install, which is unacceptable.
                   15479:   # Some rework will be needed to allow for fast_install
                   15480:   # before this can be enabled.
                   15481:   hardcode_into_libs=yes
                   15482: 
                   15483:   # Append ld.so.conf contents to the search path
                   15484:   if test -f /etc/ld.so.conf; then
                   15485:     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' ' '`
                   15486:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15487:   fi
                   15488: 
                   15489:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15490:   # powerpc, because MkLinux only supported shared libraries with the
                   15491:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15492:   # most powerpc-linux boxes support dynamic linking these days and
                   15493:   # people can always --disable-shared, the test was removed, and we
                   15494:   # assume the GNU/Linux dynamic linker is in use.
                   15495:   dynamic_linker='GNU/Linux ld.so'
                   15496:   ;;
                   15497: 
                   15498: netbsd*)
                   15499:   version_type=sunos
                   15500:   need_lib_prefix=no
                   15501:   need_version=no
                   15502:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15503:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15504:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15505:     dynamic_linker='NetBSD (a.out) ld.so'
                   15506:   else
                   15507:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15508:     soname_spec='${libname}${release}${shared_ext}$major'
                   15509:     dynamic_linker='NetBSD ld.elf_so'
                   15510:   fi
                   15511:   shlibpath_var=LD_LIBRARY_PATH
                   15512:   shlibpath_overrides_runpath=yes
                   15513:   hardcode_into_libs=yes
                   15514:   ;;
                   15515: 
                   15516: newsos6)
                   15517:   version_type=linux # correct to gnu/linux during the next big refactor
                   15518:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15519:   shlibpath_var=LD_LIBRARY_PATH
                   15520:   shlibpath_overrides_runpath=yes
                   15521:   ;;
                   15522: 
                   15523: *nto* | *qnx*)
                   15524:   version_type=qnx
                   15525:   need_lib_prefix=no
                   15526:   need_version=no
                   15527:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15528:   soname_spec='${libname}${release}${shared_ext}$major'
                   15529:   shlibpath_var=LD_LIBRARY_PATH
                   15530:   shlibpath_overrides_runpath=no
                   15531:   hardcode_into_libs=yes
                   15532:   dynamic_linker='ldqnx.so'
                   15533:   ;;
                   15534: 
                   15535: openbsd*)
                   15536:   version_type=sunos
                   15537:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15538:   need_lib_prefix=no
                   15539:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15540:   case $host_os in
                   15541:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15542:     *)                         need_version=no  ;;
                   15543:   esac
                   15544:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15545:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15546:   shlibpath_var=LD_LIBRARY_PATH
                   15547:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15548:     case $host_os in
                   15549:       openbsd2.[89] | openbsd2.[89].*)
                   15550:        shlibpath_overrides_runpath=no
                   15551:        ;;
                   15552:       *)
                   15553:        shlibpath_overrides_runpath=yes
                   15554:        ;;
                   15555:       esac
                   15556:   else
                   15557:     shlibpath_overrides_runpath=yes
                   15558:   fi
                   15559:   ;;
                   15560: 
                   15561: os2*)
                   15562:   libname_spec='$name'
                   15563:   shrext_cmds=".dll"
                   15564:   need_lib_prefix=no
                   15565:   library_names_spec='$libname${shared_ext} $libname.a'
                   15566:   dynamic_linker='OS/2 ld.exe'
                   15567:   shlibpath_var=LIBPATH
                   15568:   ;;
                   15569: 
                   15570: osf3* | osf4* | osf5*)
                   15571:   version_type=osf
                   15572:   need_lib_prefix=no
                   15573:   need_version=no
                   15574:   soname_spec='${libname}${release}${shared_ext}$major'
                   15575:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15576:   shlibpath_var=LD_LIBRARY_PATH
                   15577:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15578:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15579:   ;;
                   15580: 
                   15581: rdos*)
                   15582:   dynamic_linker=no
                   15583:   ;;
                   15584: 
                   15585: solaris*)
                   15586:   version_type=linux # correct to gnu/linux during the next big refactor
                   15587:   need_lib_prefix=no
                   15588:   need_version=no
                   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:   shlibpath_overrides_runpath=yes
                   15593:   hardcode_into_libs=yes
                   15594:   # ldd complains unless libraries are executable
                   15595:   postinstall_cmds='chmod +x $lib'
                   15596:   ;;
                   15597: 
                   15598: sunos4*)
                   15599:   version_type=sunos
                   15600:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15601:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15602:   shlibpath_var=LD_LIBRARY_PATH
                   15603:   shlibpath_overrides_runpath=yes
                   15604:   if test "$with_gnu_ld" = yes; then
                   15605:     need_lib_prefix=no
                   15606:   fi
                   15607:   need_version=yes
                   15608:   ;;
                   15609: 
                   15610: sysv4 | sysv4.3*)
                   15611:   version_type=linux # correct to gnu/linux during the next big refactor
                   15612:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15613:   soname_spec='${libname}${release}${shared_ext}$major'
                   15614:   shlibpath_var=LD_LIBRARY_PATH
                   15615:   case $host_vendor in
                   15616:     sni)
                   15617:       shlibpath_overrides_runpath=no
                   15618:       need_lib_prefix=no
                   15619:       runpath_var=LD_RUN_PATH
                   15620:       ;;
                   15621:     siemens)
                   15622:       need_lib_prefix=no
                   15623:       ;;
                   15624:     motorola)
                   15625:       need_lib_prefix=no
                   15626:       need_version=no
                   15627:       shlibpath_overrides_runpath=no
                   15628:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15629:       ;;
                   15630:   esac
                   15631:   ;;
                   15632: 
                   15633: sysv4*MP*)
                   15634:   if test -d /usr/nec ;then
                   15635:     version_type=linux # correct to gnu/linux during the next big refactor
                   15636:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15637:     soname_spec='$libname${shared_ext}.$major'
                   15638:     shlibpath_var=LD_LIBRARY_PATH
                   15639:   fi
                   15640:   ;;
                   15641: 
                   15642: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15643:   version_type=freebsd-elf
                   15644:   need_lib_prefix=no
                   15645:   need_version=no
                   15646:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15647:   soname_spec='${libname}${release}${shared_ext}$major'
                   15648:   shlibpath_var=LD_LIBRARY_PATH
                   15649:   shlibpath_overrides_runpath=yes
                   15650:   hardcode_into_libs=yes
                   15651:   if test "$with_gnu_ld" = yes; then
                   15652:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15653:   else
                   15654:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15655:     case $host_os in
                   15656:       sco3.2v5*)
                   15657:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15658:        ;;
                   15659:     esac
                   15660:   fi
                   15661:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15662:   ;;
                   15663: 
                   15664: tpf*)
                   15665:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15666:   version_type=linux # correct to gnu/linux during the next big refactor
                   15667:   need_lib_prefix=no
                   15668:   need_version=no
                   15669:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15670:   shlibpath_var=LD_LIBRARY_PATH
                   15671:   shlibpath_overrides_runpath=no
                   15672:   hardcode_into_libs=yes
                   15673:   ;;
                   15674: 
                   15675: uts4*)
                   15676:   version_type=linux # correct to gnu/linux during the next big refactor
                   15677:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15678:   soname_spec='${libname}${release}${shared_ext}$major'
                   15679:   shlibpath_var=LD_LIBRARY_PATH
                   15680:   ;;
                   15681: 
                   15682: *)
                   15683:   dynamic_linker=no
                   15684:   ;;
                   15685: esac
                   15686: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15687: echo "${ECHO_T}$dynamic_linker" >&6
                   15688: test "$dynamic_linker" = no && can_build_shared=no
                   15689: 
                   15690: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15691: if test "$GCC" = yes; then
                   15692:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15693: fi
                   15694: 
                   15695: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15696:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15697: fi
                   15698: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15699:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15700: fi
                   15701: 
                   15702: 
                   15703: 
                   15704: 
                   15705: 
                   15706: 
                   15707: 
                   15708: 
                   15709: 
                   15710: 
                   15711: 
                   15712: 
                   15713: 
                   15714: 
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
                   15721: 
                   15722: 
                   15723: 
                   15724: 
                   15725: 
                   15726: 
                   15727: 
                   15728: 
                   15729: 
                   15730: 
                   15731: 
                   15732: 
                   15733: 
                   15734: 
                   15735: 
                   15736: 
                   15737: 
                   15738: 
                   15739:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15740: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15741: hardcode_action_CXX=
                   15742: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15743:    test -n "$runpath_var_CXX" ||
                   15744:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15745: 
                   15746:   # We can hardcode non-existent directories.
                   15747:   if test "$hardcode_direct_CXX" != no &&
                   15748:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15749:      # have to relink, otherwise we might link with an installed library
                   15750:      # when we should be linking with a yet-to-be-installed one
                   15751:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15752:      test "$hardcode_minus_L_CXX" != no; then
                   15753:     # Linking always hardcodes the temporary library directory.
                   15754:     hardcode_action_CXX=relink
                   15755:   else
                   15756:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15757:     hardcode_action_CXX=immediate
                   15758:   fi
                   15759: else
                   15760:   # We cannot hardcode anything, or else we can only hardcode existing
                   15761:   # directories.
                   15762:   hardcode_action_CXX=unsupported
                   15763: fi
                   15764: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15765: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15766: 
                   15767: if test "$hardcode_action_CXX" = relink ||
                   15768:    test "$inherit_rpath_CXX" = yes; then
                   15769:   # Fast installation is not supported
                   15770:   enable_fast_install=no
                   15771: elif test "$shlibpath_overrides_runpath" = yes ||
                   15772:      test "$enable_shared" = no; then
                   15773:   # Fast installation is not necessary
                   15774:   enable_fast_install=needless
                   15775: fi
                   15776: 
                   15777: 
                   15778: 
                   15779: 
                   15780: 
                   15781: 
                   15782: 
                   15783:   fi # test -n "$compiler"
                   15784: 
                   15785:   CC=$lt_save_CC
                   15786:   CFLAGS=$lt_save_CFLAGS
                   15787:   LDCXX=$LD
                   15788:   LD=$lt_save_LD
                   15789:   GCC=$lt_save_GCC
                   15790:   with_gnu_ld=$lt_save_with_gnu_ld
                   15791:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15792:   lt_cv_path_LD=$lt_save_path_LD
                   15793:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15794:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15795: fi # test "$_lt_caught_CXX_error" != yes
                   15796: 
                   15797: ac_ext=c
                   15798: ac_cpp='$CPP $CPPFLAGS'
                   15799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15802: 
                   15803: 
                   15804: 
                   15805: 
                   15806: 
                   15807: 
                   15808: 
                   15809: 
                   15810: 
                   15811: 
                   15812: 
                   15813: 
                   15814: 
                   15815: 
                   15816: 
                   15817:                   ac_config_commands="$ac_config_commands libtool"
                   15818: 
                   15819: 
                   15820: 
                   15821: 
                   15822: # Only expand once:
                   15823: 
                   15824: 
                   15825: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15826: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15827: if test "${libltdl_cv_shlibext+set}" = set; then
                   15828:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15829: else
                   15830: 
                   15831: module=yes
                   15832: eval libltdl_cv_shlibext=$shrext_cmds
                   15833: module=no
                   15834: eval libltdl_cv_shrext=$shrext_cmds
                   15835: 
                   15836: fi
                   15837: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15838: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15839: if test -n "$libltdl_cv_shlibext"; then
                   15840: 
                   15841: cat >>confdefs.h <<_ACEOF
                   15842: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15843: _ACEOF
                   15844: 
                   15845: fi
                   15846: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15847: 
                   15848: cat >>confdefs.h <<_ACEOF
                   15849: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15850: _ACEOF
                   15851: 
                   15852: fi
                   15853: 
                   15854: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15855: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15856: if test "${lt_cv_module_path_var+set}" = set; then
                   15857:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15858: else
                   15859:   lt_cv_module_path_var="$shlibpath_var"
                   15860: fi
                   15861: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15862: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15863: if test -n "$lt_cv_module_path_var"; then
                   15864: 
                   15865: cat >>confdefs.h <<_ACEOF
                   15866: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15867: _ACEOF
                   15868: 
                   15869: fi
                   15870: 
                   15871: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15872: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15873: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15874:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15875: else
                   15876:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15877: fi
                   15878: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15879: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15880: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15881:   sys_dlsearch_path=
                   15882:   for dir in $lt_cv_sys_dlsearch_path; do
                   15883:     if test -z "$sys_dlsearch_path"; then
                   15884:       sys_dlsearch_path="$dir"
                   15885:     else
                   15886:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15887:     fi
                   15888:   done
                   15889: 
                   15890: cat >>confdefs.h <<_ACEOF
                   15891: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15892: _ACEOF
                   15893: 
                   15894: fi
                   15895: 
                   15896: 
                   15897: LT_DLLOADERS=
                   15898: 
                   15899: 
                   15900: ac_ext=c
                   15901: ac_cpp='$CPP $CPPFLAGS'
                   15902: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15903: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15904: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15905: 
                   15906: 
                   15907: LIBADD_DLOPEN=
                   15908: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15909: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15910: if test "${ac_cv_search_dlopen+set}" = set; then
                   15911:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15912: else
                   15913:   ac_func_search_save_LIBS=$LIBS
                   15914: ac_cv_search_dlopen=no
                   15915: cat >conftest.$ac_ext <<_ACEOF
                   15916: /* confdefs.h.  */
                   15917: _ACEOF
                   15918: cat confdefs.h >>conftest.$ac_ext
                   15919: cat >>conftest.$ac_ext <<_ACEOF
                   15920: /* end confdefs.h.  */
                   15921: 
                   15922: /* Override any gcc2 internal prototype to avoid an error.  */
                   15923: #ifdef __cplusplus
                   15924: extern "C"
                   15925: #endif
                   15926: /* We use char because int might match the return type of a gcc2
                   15927:    builtin and then its argument prototype would still apply.  */
                   15928: char dlopen ();
                   15929: int
                   15930: main ()
                   15931: {
                   15932: dlopen ();
                   15933:   ;
                   15934:   return 0;
                   15935: }
                   15936: _ACEOF
                   15937: rm -f conftest.$ac_objext conftest$ac_exeext
                   15938: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15939:   (eval $ac_link) 2>conftest.er1
                   15940:   ac_status=$?
                   15941:   grep -v '^ *+' conftest.er1 >conftest.err
                   15942:   rm -f conftest.er1
                   15943:   cat conftest.err >&5
                   15944:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15945:   (exit $ac_status); } &&
                   15946:         { ac_try='test -z "$ac_c_werror_flag"
                   15947:                         || test ! -s conftest.err'
                   15948:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15949:   (eval $ac_try) 2>&5
                   15950:   ac_status=$?
                   15951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15952:   (exit $ac_status); }; } &&
                   15953:         { ac_try='test -s conftest$ac_exeext'
                   15954:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15955:   (eval $ac_try) 2>&5
                   15956:   ac_status=$?
                   15957:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15958:   (exit $ac_status); }; }; then
                   15959:   ac_cv_search_dlopen="none required"
                   15960: else
                   15961:   echo "$as_me: failed program was:" >&5
                   15962: sed 's/^/| /' conftest.$ac_ext >&5
                   15963: 
                   15964: fi
                   15965: rm -f conftest.err conftest.$ac_objext \
                   15966:       conftest$ac_exeext conftest.$ac_ext
                   15967: if test "$ac_cv_search_dlopen" = no; then
                   15968:   for ac_lib in dl; do
                   15969:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15970:     cat >conftest.$ac_ext <<_ACEOF
                   15971: /* confdefs.h.  */
                   15972: _ACEOF
                   15973: cat confdefs.h >>conftest.$ac_ext
                   15974: cat >>conftest.$ac_ext <<_ACEOF
                   15975: /* end confdefs.h.  */
                   15976: 
                   15977: /* Override any gcc2 internal prototype to avoid an error.  */
                   15978: #ifdef __cplusplus
                   15979: extern "C"
                   15980: #endif
                   15981: /* We use char because int might match the return type of a gcc2
                   15982:    builtin and then its argument prototype would still apply.  */
                   15983: char dlopen ();
                   15984: int
                   15985: main ()
                   15986: {
                   15987: dlopen ();
                   15988:   ;
                   15989:   return 0;
                   15990: }
                   15991: _ACEOF
                   15992: rm -f conftest.$ac_objext conftest$ac_exeext
                   15993: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15994:   (eval $ac_link) 2>conftest.er1
                   15995:   ac_status=$?
                   15996:   grep -v '^ *+' conftest.er1 >conftest.err
                   15997:   rm -f conftest.er1
                   15998:   cat conftest.err >&5
                   15999:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16000:   (exit $ac_status); } &&
                   16001:         { ac_try='test -z "$ac_c_werror_flag"
                   16002:                         || test ! -s conftest.err'
                   16003:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16004:   (eval $ac_try) 2>&5
                   16005:   ac_status=$?
                   16006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16007:   (exit $ac_status); }; } &&
                   16008:         { ac_try='test -s conftest$ac_exeext'
                   16009:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16010:   (eval $ac_try) 2>&5
                   16011:   ac_status=$?
                   16012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16013:   (exit $ac_status); }; }; then
                   16014:   ac_cv_search_dlopen="-l$ac_lib"
                   16015: break
                   16016: else
                   16017:   echo "$as_me: failed program was:" >&5
                   16018: sed 's/^/| /' conftest.$ac_ext >&5
                   16019: 
                   16020: fi
                   16021: rm -f conftest.err conftest.$ac_objext \
                   16022:       conftest$ac_exeext conftest.$ac_ext
                   16023:   done
                   16024: fi
                   16025: LIBS=$ac_func_search_save_LIBS
                   16026: fi
                   16027: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   16028: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   16029: if test "$ac_cv_search_dlopen" != no; then
                   16030:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   16031: 
                   16032: cat >>confdefs.h <<\_ACEOF
                   16033: #define HAVE_LIBDL 1
                   16034: _ACEOF
                   16035: 
                   16036:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16037:          LIBADD_DLOPEN="-ldl"
                   16038:        fi
                   16039:        libltdl_cv_lib_dl_dlopen="yes"
                   16040:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16041: else
                   16042:   cat >conftest.$ac_ext <<_ACEOF
                   16043: /* confdefs.h.  */
                   16044: _ACEOF
                   16045: cat confdefs.h >>conftest.$ac_ext
                   16046: cat >>conftest.$ac_ext <<_ACEOF
                   16047: /* end confdefs.h.  */
                   16048: #if HAVE_DLFCN_H
                   16049: #  include <dlfcn.h>
                   16050: #endif
                   16051: 
                   16052: int
                   16053: main ()
                   16054: {
                   16055: dlopen(0, 0);
                   16056:   ;
                   16057:   return 0;
                   16058: }
                   16059: _ACEOF
                   16060: rm -f conftest.$ac_objext conftest$ac_exeext
                   16061: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16062:   (eval $ac_link) 2>conftest.er1
                   16063:   ac_status=$?
                   16064:   grep -v '^ *+' conftest.er1 >conftest.err
                   16065:   rm -f conftest.er1
                   16066:   cat conftest.err >&5
                   16067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16068:   (exit $ac_status); } &&
                   16069:         { ac_try='test -z "$ac_c_werror_flag"
                   16070:                         || test ! -s conftest.err'
                   16071:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16072:   (eval $ac_try) 2>&5
                   16073:   ac_status=$?
                   16074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16075:   (exit $ac_status); }; } &&
                   16076:         { ac_try='test -s conftest$ac_exeext'
                   16077:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16078:   (eval $ac_try) 2>&5
                   16079:   ac_status=$?
                   16080:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16081:   (exit $ac_status); }; }; then
                   16082: 
                   16083: cat >>confdefs.h <<\_ACEOF
                   16084: #define HAVE_LIBDL 1
                   16085: _ACEOF
                   16086: 
                   16087:            libltdl_cv_func_dlopen="yes"
                   16088:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16089: else
                   16090:   echo "$as_me: failed program was:" >&5
                   16091: sed 's/^/| /' conftest.$ac_ext >&5
                   16092: 
                   16093: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   16094: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   16095: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   16096:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16097: else
                   16098:   ac_check_lib_save_LIBS=$LIBS
                   16099: LIBS="-lsvld  $LIBS"
                   16100: cat >conftest.$ac_ext <<_ACEOF
                   16101: /* confdefs.h.  */
                   16102: _ACEOF
                   16103: cat confdefs.h >>conftest.$ac_ext
                   16104: cat >>conftest.$ac_ext <<_ACEOF
                   16105: /* end confdefs.h.  */
                   16106: 
                   16107: /* Override any gcc2 internal prototype to avoid an error.  */
                   16108: #ifdef __cplusplus
                   16109: extern "C"
                   16110: #endif
                   16111: /* We use char because int might match the return type of a gcc2
                   16112:    builtin and then its argument prototype would still apply.  */
                   16113: char dlopen ();
                   16114: int
                   16115: main ()
                   16116: {
                   16117: dlopen ();
                   16118:   ;
                   16119:   return 0;
                   16120: }
                   16121: _ACEOF
                   16122: rm -f conftest.$ac_objext conftest$ac_exeext
                   16123: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16124:   (eval $ac_link) 2>conftest.er1
                   16125:   ac_status=$?
                   16126:   grep -v '^ *+' conftest.er1 >conftest.err
                   16127:   rm -f conftest.er1
                   16128:   cat conftest.err >&5
                   16129:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16130:   (exit $ac_status); } &&
                   16131:         { ac_try='test -z "$ac_c_werror_flag"
                   16132:                         || test ! -s conftest.err'
                   16133:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16134:   (eval $ac_try) 2>&5
                   16135:   ac_status=$?
                   16136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16137:   (exit $ac_status); }; } &&
                   16138:         { ac_try='test -s conftest$ac_exeext'
                   16139:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16140:   (eval $ac_try) 2>&5
                   16141:   ac_status=$?
                   16142:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16143:   (exit $ac_status); }; }; then
                   16144:   ac_cv_lib_svld_dlopen=yes
                   16145: else
                   16146:   echo "$as_me: failed program was:" >&5
                   16147: sed 's/^/| /' conftest.$ac_ext >&5
                   16148: 
                   16149: ac_cv_lib_svld_dlopen=no
                   16150: fi
                   16151: rm -f conftest.err conftest.$ac_objext \
                   16152:       conftest$ac_exeext conftest.$ac_ext
                   16153: LIBS=$ac_check_lib_save_LIBS
                   16154: fi
                   16155: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   16156: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   16157: if test $ac_cv_lib_svld_dlopen = yes; then
                   16158: 
                   16159: cat >>confdefs.h <<\_ACEOF
                   16160: #define HAVE_LIBDL 1
                   16161: _ACEOF
                   16162: 
                   16163:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16164:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16165: fi
                   16166: 
                   16167: fi
                   16168: rm -f conftest.err conftest.$ac_objext \
                   16169:       conftest$ac_exeext conftest.$ac_ext
                   16170: fi
                   16171: 
                   16172: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16173: then
                   16174:   lt_save_LIBS="$LIBS"
                   16175:   LIBS="$LIBS $LIBADD_DLOPEN"
                   16176: 
                   16177: for ac_func in dlerror
                   16178: do
                   16179: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16180: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16181: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16182: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16183:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16184: else
                   16185:   cat >conftest.$ac_ext <<_ACEOF
                   16186: /* confdefs.h.  */
                   16187: _ACEOF
                   16188: cat confdefs.h >>conftest.$ac_ext
                   16189: cat >>conftest.$ac_ext <<_ACEOF
                   16190: /* end confdefs.h.  */
                   16191: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16192:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16193: #define $ac_func innocuous_$ac_func
                   16194: 
                   16195: /* System header to define __stub macros and hopefully few prototypes,
                   16196:     which can conflict with char $ac_func (); below.
                   16197:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16198:     <limits.h> exists even on freestanding compilers.  */
                   16199: 
                   16200: #ifdef __STDC__
                   16201: # include <limits.h>
                   16202: #else
                   16203: # include <assert.h>
                   16204: #endif
                   16205: 
                   16206: #undef $ac_func
                   16207: 
                   16208: /* Override any gcc2 internal prototype to avoid an error.  */
                   16209: #ifdef __cplusplus
                   16210: extern "C"
                   16211: {
                   16212: #endif
                   16213: /* We use char because int might match the return type of a gcc2
                   16214:    builtin and then its argument prototype would still apply.  */
                   16215: char $ac_func ();
                   16216: /* The GNU C library defines this for functions which it implements
                   16217:     to always fail with ENOSYS.  Some functions are actually named
                   16218:     something starting with __ and the normal name is an alias.  */
                   16219: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16220: choke me
                   16221: #else
                   16222: char (*f) () = $ac_func;
                   16223: #endif
                   16224: #ifdef __cplusplus
                   16225: }
                   16226: #endif
                   16227: 
                   16228: int
                   16229: main ()
                   16230: {
                   16231: return f != $ac_func;
                   16232:   ;
                   16233:   return 0;
                   16234: }
                   16235: _ACEOF
                   16236: rm -f conftest.$ac_objext conftest$ac_exeext
                   16237: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16238:   (eval $ac_link) 2>conftest.er1
                   16239:   ac_status=$?
                   16240:   grep -v '^ *+' conftest.er1 >conftest.err
                   16241:   rm -f conftest.er1
                   16242:   cat conftest.err >&5
                   16243:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16244:   (exit $ac_status); } &&
                   16245:         { ac_try='test -z "$ac_c_werror_flag"
                   16246:                         || test ! -s conftest.err'
                   16247:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16248:   (eval $ac_try) 2>&5
                   16249:   ac_status=$?
                   16250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16251:   (exit $ac_status); }; } &&
                   16252:         { ac_try='test -s conftest$ac_exeext'
                   16253:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16254:   (eval $ac_try) 2>&5
                   16255:   ac_status=$?
                   16256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16257:   (exit $ac_status); }; }; then
                   16258:   eval "$as_ac_var=yes"
                   16259: else
                   16260:   echo "$as_me: failed program was:" >&5
                   16261: sed 's/^/| /' conftest.$ac_ext >&5
                   16262: 
                   16263: eval "$as_ac_var=no"
                   16264: fi
                   16265: rm -f conftest.err conftest.$ac_objext \
                   16266:       conftest$ac_exeext conftest.$ac_ext
                   16267: fi
                   16268: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16269: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16270: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16271:   cat >>confdefs.h <<_ACEOF
                   16272: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16273: _ACEOF
                   16274: 
                   16275: fi
                   16276: done
                   16277: 
                   16278:   LIBS="$lt_save_LIBS"
                   16279: fi
                   16280: 
                   16281: 
                   16282: LIBADD_SHL_LOAD=
                   16283: echo "$as_me:$LINENO: checking for shl_load" >&5
                   16284: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   16285: if test "${ac_cv_func_shl_load+set}" = set; then
                   16286:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16287: else
                   16288:   cat >conftest.$ac_ext <<_ACEOF
                   16289: /* confdefs.h.  */
                   16290: _ACEOF
                   16291: cat confdefs.h >>conftest.$ac_ext
                   16292: cat >>conftest.$ac_ext <<_ACEOF
                   16293: /* end confdefs.h.  */
                   16294: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   16295:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16296: #define shl_load innocuous_shl_load
                   16297: 
                   16298: /* System header to define __stub macros and hopefully few prototypes,
                   16299:     which can conflict with char shl_load (); below.
                   16300:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16301:     <limits.h> exists even on freestanding compilers.  */
                   16302: 
                   16303: #ifdef __STDC__
                   16304: # include <limits.h>
                   16305: #else
                   16306: # include <assert.h>
                   16307: #endif
                   16308: 
                   16309: #undef shl_load
                   16310: 
                   16311: /* Override any gcc2 internal prototype to avoid an error.  */
                   16312: #ifdef __cplusplus
                   16313: extern "C"
                   16314: {
                   16315: #endif
                   16316: /* We use char because int might match the return type of a gcc2
                   16317:    builtin and then its argument prototype would still apply.  */
                   16318: char shl_load ();
                   16319: /* The GNU C library defines this for functions which it implements
                   16320:     to always fail with ENOSYS.  Some functions are actually named
                   16321:     something starting with __ and the normal name is an alias.  */
                   16322: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   16323: choke me
                   16324: #else
                   16325: char (*f) () = shl_load;
                   16326: #endif
                   16327: #ifdef __cplusplus
                   16328: }
                   16329: #endif
                   16330: 
                   16331: int
                   16332: main ()
                   16333: {
                   16334: return f != shl_load;
                   16335:   ;
                   16336:   return 0;
                   16337: }
                   16338: _ACEOF
                   16339: rm -f conftest.$ac_objext conftest$ac_exeext
                   16340: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16341:   (eval $ac_link) 2>conftest.er1
                   16342:   ac_status=$?
                   16343:   grep -v '^ *+' conftest.er1 >conftest.err
                   16344:   rm -f conftest.er1
                   16345:   cat conftest.err >&5
                   16346:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16347:   (exit $ac_status); } &&
                   16348:         { ac_try='test -z "$ac_c_werror_flag"
                   16349:                         || test ! -s conftest.err'
                   16350:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16351:   (eval $ac_try) 2>&5
                   16352:   ac_status=$?
                   16353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16354:   (exit $ac_status); }; } &&
                   16355:         { ac_try='test -s conftest$ac_exeext'
                   16356:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16357:   (eval $ac_try) 2>&5
                   16358:   ac_status=$?
                   16359:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16360:   (exit $ac_status); }; }; then
                   16361:   ac_cv_func_shl_load=yes
                   16362: else
                   16363:   echo "$as_me: failed program was:" >&5
                   16364: sed 's/^/| /' conftest.$ac_ext >&5
                   16365: 
                   16366: ac_cv_func_shl_load=no
                   16367: fi
                   16368: rm -f conftest.err conftest.$ac_objext \
                   16369:       conftest$ac_exeext conftest.$ac_ext
                   16370: fi
                   16371: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   16372: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   16373: if test $ac_cv_func_shl_load = yes; then
                   16374: 
                   16375: cat >>confdefs.h <<\_ACEOF
                   16376: #define HAVE_SHL_LOAD 1
                   16377: _ACEOF
                   16378: 
                   16379:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16380: else
                   16381:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   16382: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   16383: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   16384:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16385: else
                   16386:   ac_check_lib_save_LIBS=$LIBS
                   16387: LIBS="-ldld  $LIBS"
                   16388: cat >conftest.$ac_ext <<_ACEOF
                   16389: /* confdefs.h.  */
                   16390: _ACEOF
                   16391: cat confdefs.h >>conftest.$ac_ext
                   16392: cat >>conftest.$ac_ext <<_ACEOF
                   16393: /* end confdefs.h.  */
1.10      paf      16394: 
1.66      paf      16395: /* Override any gcc2 internal prototype to avoid an error.  */
                   16396: #ifdef __cplusplus
                   16397: extern "C"
                   16398: #endif
                   16399: /* We use char because int might match the return type of a gcc2
                   16400:    builtin and then its argument prototype would still apply.  */
                   16401: char shl_load ();
                   16402: int
                   16403: main ()
                   16404: {
                   16405: shl_load ();
                   16406:   ;
                   16407:   return 0;
                   16408: }
                   16409: _ACEOF
                   16410: rm -f conftest.$ac_objext conftest$ac_exeext
                   16411: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16412:   (eval $ac_link) 2>conftest.er1
1.66      paf      16413:   ac_status=$?
1.86      paf      16414:   grep -v '^ *+' conftest.er1 >conftest.err
                   16415:   rm -f conftest.er1
                   16416:   cat conftest.err >&5
1.66      paf      16417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16418:   (exit $ac_status); } &&
1.86      paf      16419:         { ac_try='test -z "$ac_c_werror_flag"
                   16420:                         || test ! -s conftest.err'
                   16421:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16422:   (eval $ac_try) 2>&5
                   16423:   ac_status=$?
                   16424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16425:   (exit $ac_status); }; } &&
                   16426:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16427:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16428:   (eval $ac_try) 2>&5
                   16429:   ac_status=$?
                   16430:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16431:   (exit $ac_status); }; }; then
                   16432:   ac_cv_lib_dld_shl_load=yes
                   16433: else
                   16434:   echo "$as_me: failed program was:" >&5
                   16435: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      16436: 
1.66      paf      16437: ac_cv_lib_dld_shl_load=no
                   16438: fi
1.86      paf      16439: rm -f conftest.err conftest.$ac_objext \
                   16440:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      16441: LIBS=$ac_check_lib_save_LIBS
                   16442: fi
                   16443: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   16444: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   16445: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      16446: 
1.66      paf      16447: cat >>confdefs.h <<\_ACEOF
                   16448: #define HAVE_SHL_LOAD 1
                   16449: _ACEOF
1.1       paf      16450: 
1.128     moko     16451:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16452:            LIBADD_SHL_LOAD="-ldld"
                   16453: fi
                   16454: 
                   16455: fi
                   16456: 
                   16457: 
                   16458: 
                   16459: case $host_os in
                   16460: darwin[1567].*)
                   16461: # We only want this for pre-Mac OS X 10.4.
                   16462:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   16463: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   16464: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   16465:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16466: else
                   16467:   cat >conftest.$ac_ext <<_ACEOF
                   16468: /* confdefs.h.  */
                   16469: _ACEOF
                   16470: cat confdefs.h >>conftest.$ac_ext
                   16471: cat >>conftest.$ac_ext <<_ACEOF
                   16472: /* end confdefs.h.  */
                   16473: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   16474:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16475: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   16476: 
                   16477: /* System header to define __stub macros and hopefully few prototypes,
                   16478:     which can conflict with char _dyld_func_lookup (); below.
                   16479:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16480:     <limits.h> exists even on freestanding compilers.  */
                   16481: 
                   16482: #ifdef __STDC__
                   16483: # include <limits.h>
                   16484: #else
                   16485: # include <assert.h>
                   16486: #endif
                   16487: 
                   16488: #undef _dyld_func_lookup
                   16489: 
                   16490: /* Override any gcc2 internal prototype to avoid an error.  */
                   16491: #ifdef __cplusplus
                   16492: extern "C"
                   16493: {
                   16494: #endif
                   16495: /* We use char because int might match the return type of a gcc2
                   16496:    builtin and then its argument prototype would still apply.  */
                   16497: char _dyld_func_lookup ();
                   16498: /* The GNU C library defines this for functions which it implements
                   16499:     to always fail with ENOSYS.  Some functions are actually named
                   16500:     something starting with __ and the normal name is an alias.  */
                   16501: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   16502: choke me
                   16503: #else
                   16504: char (*f) () = _dyld_func_lookup;
                   16505: #endif
                   16506: #ifdef __cplusplus
                   16507: }
                   16508: #endif
                   16509: 
                   16510: int
                   16511: main ()
                   16512: {
                   16513: return f != _dyld_func_lookup;
                   16514:   ;
                   16515:   return 0;
                   16516: }
                   16517: _ACEOF
                   16518: rm -f conftest.$ac_objext conftest$ac_exeext
                   16519: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16520:   (eval $ac_link) 2>conftest.er1
                   16521:   ac_status=$?
                   16522:   grep -v '^ *+' conftest.er1 >conftest.err
                   16523:   rm -f conftest.er1
                   16524:   cat conftest.err >&5
                   16525:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16526:   (exit $ac_status); } &&
                   16527:         { ac_try='test -z "$ac_c_werror_flag"
                   16528:                         || test ! -s conftest.err'
                   16529:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16530:   (eval $ac_try) 2>&5
                   16531:   ac_status=$?
                   16532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16533:   (exit $ac_status); }; } &&
                   16534:         { ac_try='test -s conftest$ac_exeext'
                   16535:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16536:   (eval $ac_try) 2>&5
                   16537:   ac_status=$?
                   16538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16539:   (exit $ac_status); }; }; then
                   16540:   ac_cv_func__dyld_func_lookup=yes
                   16541: else
                   16542:   echo "$as_me: failed program was:" >&5
                   16543: sed 's/^/| /' conftest.$ac_ext >&5
                   16544: 
                   16545: ac_cv_func__dyld_func_lookup=no
                   16546: fi
                   16547: rm -f conftest.err conftest.$ac_objext \
                   16548:       conftest$ac_exeext conftest.$ac_ext
                   16549: fi
                   16550: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   16551: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   16552: if test $ac_cv_func__dyld_func_lookup = yes; then
                   16553: 
                   16554: cat >>confdefs.h <<\_ACEOF
                   16555: #define HAVE_DYLD 1
                   16556: _ACEOF
                   16557: 
                   16558:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16559: fi
                   16560: 
                   16561:   ;;
                   16562: beos*)
                   16563:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16564:   ;;
                   16565: cygwin* | mingw* | os2* | pw32*)
                   16566:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   16567: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   16568: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   16569:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16570: else
                   16571:   cat >conftest.$ac_ext <<_ACEOF
                   16572: /* confdefs.h.  */
                   16573: _ACEOF
                   16574: cat confdefs.h >>conftest.$ac_ext
                   16575: cat >>conftest.$ac_ext <<_ACEOF
                   16576: /* end confdefs.h.  */
                   16577: #include <sys/cygwin.h>
                   16578: 
                   16579: int
                   16580: main ()
                   16581: {
                   16582: #ifndef cygwin_conv_path
                   16583:   char *p = (char *) cygwin_conv_path;
                   16584: #endif
                   16585: 
                   16586:   ;
                   16587:   return 0;
                   16588: }
                   16589: _ACEOF
                   16590: rm -f conftest.$ac_objext
                   16591: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16592:   (eval $ac_compile) 2>conftest.er1
                   16593:   ac_status=$?
                   16594:   grep -v '^ *+' conftest.er1 >conftest.err
                   16595:   rm -f conftest.er1
                   16596:   cat conftest.err >&5
                   16597:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16598:   (exit $ac_status); } &&
                   16599:         { ac_try='test -z "$ac_c_werror_flag"
                   16600:                         || test ! -s conftest.err'
                   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); }; } &&
                   16606:         { ac_try='test -s conftest.$ac_objext'
                   16607:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16608:   (eval $ac_try) 2>&5
                   16609:   ac_status=$?
                   16610:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16611:   (exit $ac_status); }; }; then
                   16612:   ac_cv_have_decl_cygwin_conv_path=yes
                   16613: else
                   16614:   echo "$as_me: failed program was:" >&5
                   16615: sed 's/^/| /' conftest.$ac_ext >&5
                   16616: 
                   16617: ac_cv_have_decl_cygwin_conv_path=no
                   16618: fi
                   16619: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16620: fi
                   16621: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16622: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16623: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   16624: 
                   16625: cat >>confdefs.h <<_ACEOF
                   16626: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16627: _ACEOF
                   16628: 
                   16629: 
1.66      paf      16630: else
1.128     moko     16631:   cat >>confdefs.h <<_ACEOF
                   16632: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   16633: _ACEOF
                   16634: 
                   16635: 
                   16636: fi
                   16637: 
                   16638: 
                   16639:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16640:   ;;
                   16641: esac
                   16642: 
                   16643: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16644: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16645: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.66      paf      16646:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16647: else
                   16648:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16649: LIBS="-ldld  $LIBS"
1.66      paf      16650: cat >conftest.$ac_ext <<_ACEOF
                   16651: /* confdefs.h.  */
                   16652: _ACEOF
                   16653: cat confdefs.h >>conftest.$ac_ext
                   16654: cat >>conftest.$ac_ext <<_ACEOF
                   16655: /* end confdefs.h.  */
1.62      paf      16656: 
1.66      paf      16657: /* Override any gcc2 internal prototype to avoid an error.  */
                   16658: #ifdef __cplusplus
                   16659: extern "C"
                   16660: #endif
                   16661: /* We use char because int might match the return type of a gcc2
                   16662:    builtin and then its argument prototype would still apply.  */
1.128     moko     16663: char dld_link ();
1.66      paf      16664: int
                   16665: main ()
                   16666: {
1.128     moko     16667: dld_link ();
1.66      paf      16668:   ;
                   16669:   return 0;
                   16670: }
                   16671: _ACEOF
                   16672: rm -f conftest.$ac_objext conftest$ac_exeext
                   16673: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16674:   (eval $ac_link) 2>conftest.er1
1.66      paf      16675:   ac_status=$?
1.86      paf      16676:   grep -v '^ *+' conftest.er1 >conftest.err
                   16677:   rm -f conftest.er1
                   16678:   cat conftest.err >&5
1.66      paf      16679:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16680:   (exit $ac_status); } &&
1.86      paf      16681:         { ac_try='test -z "$ac_c_werror_flag"
                   16682:                         || test ! -s conftest.err'
                   16683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16684:   (eval $ac_try) 2>&5
                   16685:   ac_status=$?
                   16686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16687:   (exit $ac_status); }; } &&
                   16688:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16690:   (eval $ac_try) 2>&5
                   16691:   ac_status=$?
                   16692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16693:   (exit $ac_status); }; }; then
1.128     moko     16694:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16695: else
                   16696:   echo "$as_me: failed program was:" >&5
1.128     moko     16697: sed 's/^/| /' conftest.$ac_ext >&5
                   16698: 
                   16699: ac_cv_lib_dld_dld_link=no
                   16700: fi
                   16701: rm -f conftest.err conftest.$ac_objext \
                   16702:       conftest$ac_exeext conftest.$ac_ext
                   16703: LIBS=$ac_check_lib_save_LIBS
                   16704: fi
                   16705: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16706: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16707: if test $ac_cv_lib_dld_dld_link = yes; then
                   16708: 
                   16709: cat >>confdefs.h <<\_ACEOF
                   16710: #define HAVE_DLD 1
                   16711: _ACEOF
                   16712: 
                   16713:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16714: fi
                   16715: 
                   16716: 
                   16717: 
                   16718: 
                   16719: LT_DLPREOPEN=
                   16720: if test -n "$LT_DLLOADERS"
                   16721: then
                   16722:   for lt_loader in $LT_DLLOADERS; do
                   16723:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16724:   done
                   16725: 
                   16726: cat >>confdefs.h <<\_ACEOF
                   16727: #define HAVE_LIBDLLOADER 1
                   16728: _ACEOF
                   16729: 
                   16730: fi
                   16731: 
                   16732: 
                   16733: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16734: 
                   16735: 
                   16736: ac_ext=c
                   16737: ac_cpp='$CPP $CPPFLAGS'
                   16738: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16739: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16740: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16741: 
                   16742: 
                   16743: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16744: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16745: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16746:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16747: else
                   16748:   lt_cv_sys_symbol_underscore=no
                   16749:   cat > conftest.$ac_ext <<_LT_EOF
                   16750: void nm_test_func(){}
                   16751: int main(){nm_test_func;return 0;}
                   16752: _LT_EOF
                   16753:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16754:   (eval $ac_compile) 2>&5
                   16755:   ac_status=$?
                   16756:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16757:   (exit $ac_status); }; then
                   16758:     # Now try to grab the symbols.
                   16759:     ac_nlist=conftest.nm
                   16760:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16761:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16762:   ac_status=$?
                   16763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16764:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16765:       # See whether the symbols have a leading underscore.
                   16766:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16767:         lt_cv_sys_symbol_underscore=yes
                   16768:       else
                   16769:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16770:          :
                   16771:         else
                   16772:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16773:         fi
                   16774:       fi
                   16775:     else
                   16776:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16777:     fi
                   16778:   else
                   16779:     echo "configure: failed program was:" >&5
                   16780:     cat conftest.c >&5
                   16781:   fi
                   16782:   rm -rf conftest*
1.29      paf      16783: 
1.66      paf      16784: fi
1.128     moko     16785: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16786: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16787:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16788: 
1.62      paf      16789: 
1.128     moko     16790: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16791:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16792:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16793:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16794: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16795: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16796:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16797: else
1.128     moko     16798:   libltdl_cv_need_uscore=unknown
                   16799:           save_LIBS="$LIBS"
                   16800:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16801:          if test "$cross_compiling" = yes; then :
                   16802:   libltdl_cv_need_uscore=cross
                   16803: else
                   16804:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16805:   lt_status=$lt_dlunknown
                   16806:   cat > conftest.$ac_ext <<_LT_EOF
                   16807: #line $LINENO "configure"
                   16808: #include "confdefs.h"
                   16809: 
1.66      paf      16810: #if HAVE_DLFCN_H
1.128     moko     16811: #include <dlfcn.h>
                   16812: #endif
                   16813: 
                   16814: #include <stdio.h>
                   16815: 
                   16816: #ifdef RTLD_GLOBAL
                   16817: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16818: #else
                   16819: #  ifdef DL_GLOBAL
                   16820: #    define LT_DLGLOBAL                DL_GLOBAL
                   16821: #  else
                   16822: #    define LT_DLGLOBAL                0
                   16823: #  endif
                   16824: #endif
                   16825: 
                   16826: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16827:    find out it does not work in some platform. */
                   16828: #ifndef LT_DLLAZY_OR_NOW
                   16829: #  ifdef RTLD_LAZY
                   16830: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16831: #  else
                   16832: #    ifdef DL_LAZY
                   16833: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16834: #    else
                   16835: #      ifdef RTLD_NOW
                   16836: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16837: #      else
                   16838: #        ifdef DL_NOW
                   16839: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16840: #        else
                   16841: #          define LT_DLLAZY_OR_NOW     0
                   16842: #        endif
                   16843: #      endif
                   16844: #    endif
                   16845: #  endif
                   16846: #endif
                   16847: 
                   16848: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16849:    correspondingly for the symbols needed.  */
                   16850: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16851: int fnord () __attribute__((visibility("default")));
1.66      paf      16852: #endif
1.62      paf      16853: 
1.128     moko     16854: int fnord () { return 42; }
                   16855: int main ()
1.66      paf      16856: {
1.128     moko     16857:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16858:   int status = $lt_dlunknown;
                   16859: 
                   16860:   if (self)
                   16861:     {
                   16862:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16863:       else
                   16864:         {
                   16865:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16866:           else puts (dlerror ());
                   16867:        }
                   16868:       /* dlclose (self); */
                   16869:     }
                   16870:   else
                   16871:     puts (dlerror ());
                   16872: 
                   16873:   return status;
1.66      paf      16874: }
1.128     moko     16875: _LT_EOF
                   16876:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16877:   (eval $ac_link) 2>&5
1.66      paf      16878:   ac_status=$?
                   16879:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     16880:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16881:     (./conftest; exit; ) >&5 2>/dev/null
                   16882:     lt_status=$?
                   16883:     case x$lt_status in
                   16884:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16885:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16886:       x$lt_dlunknown|x*)  ;;
                   16887:     esac
                   16888:   else :
                   16889:     # compilation failed
                   16890: 
                   16891:   fi
                   16892: fi
                   16893: rm -fr conftest*
                   16894: 
                   16895:          LIBS="$save_LIBS"
                   16896: 
                   16897: fi
                   16898: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16899: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16900:   fi
                   16901: fi
                   16902: 
                   16903: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16904: 
1.66      paf      16905: cat >>confdefs.h <<\_ACEOF
1.128     moko     16906: #define NEED_USCORE 1
1.66      paf      16907: _ACEOF
1.29      paf      16908: 
1.128     moko     16909: fi
                   16910: 
                   16911: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16912: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16913: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16914:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16915: else
1.128     moko     16916:   # PORTME does your system automatically load deplibs for dlopen?
                   16917:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16918:   # For now, we just catch OSes we know something about -- in the
                   16919:   # future, we'll try test this programmatically.
                   16920:   lt_cv_sys_dlopen_deplibs=unknown
                   16921:   case $host_os in
                   16922:   aix3*|aix4.1.*|aix4.2.*)
                   16923:     # Unknown whether this is true for these versions of AIX, but
                   16924:     # we want this `case' here to explicitly catch those versions.
                   16925:     lt_cv_sys_dlopen_deplibs=unknown
                   16926:     ;;
                   16927:   aix[4-9]*)
                   16928:     lt_cv_sys_dlopen_deplibs=yes
                   16929:     ;;
                   16930:   amigaos*)
                   16931:     case $host_cpu in
                   16932:     powerpc)
                   16933:       lt_cv_sys_dlopen_deplibs=no
                   16934:       ;;
                   16935:     esac
                   16936:     ;;
                   16937:   darwin*)
                   16938:     # Assuming the user has installed a libdl from somewhere, this is true
                   16939:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16940:     lt_cv_sys_dlopen_deplibs=yes
                   16941:     ;;
                   16942:   freebsd* | dragonfly*)
                   16943:     lt_cv_sys_dlopen_deplibs=yes
                   16944:     ;;
                   16945:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16946:     # GNU and its variants, using gnu ld.so (Glibc)
                   16947:     lt_cv_sys_dlopen_deplibs=yes
                   16948:     ;;
                   16949:   hpux10*|hpux11*)
                   16950:     lt_cv_sys_dlopen_deplibs=yes
                   16951:     ;;
                   16952:   interix*)
                   16953:     lt_cv_sys_dlopen_deplibs=yes
                   16954:     ;;
                   16955:   irix[12345]*|irix6.[01]*)
                   16956:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16957:     # know how it worked for any of those versions.
                   16958:     lt_cv_sys_dlopen_deplibs=unknown
                   16959:     ;;
                   16960:   irix*)
                   16961:     # The case above catches anything before 6.2, and it's known that
                   16962:     # at 6.2 and later dlopen does load deplibs.
                   16963:     lt_cv_sys_dlopen_deplibs=yes
                   16964:     ;;
                   16965:   netbsd*)
                   16966:     lt_cv_sys_dlopen_deplibs=yes
                   16967:     ;;
                   16968:   openbsd*)
                   16969:     lt_cv_sys_dlopen_deplibs=yes
                   16970:     ;;
                   16971:   osf[1234]*)
                   16972:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16973:     # it did *not* use an RPATH in a shared library to find objects the
                   16974:     # library depends on, so we explicitly say `no'.
                   16975:     lt_cv_sys_dlopen_deplibs=no
                   16976:     ;;
                   16977:   osf5.0|osf5.0a|osf5.1)
                   16978:     # dlopen *does* load deplibs and with the right loader patch applied
                   16979:     # it even uses RPATH in a shared library to search for shared objects
                   16980:     # that the library depends on, but there's no easy way to know if that
                   16981:     # patch is installed.  Since this is the case, all we can really
                   16982:     # say is unknown -- it depends on the patch being installed.  If
                   16983:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16984:     lt_cv_sys_dlopen_deplibs=unknown
                   16985:     ;;
                   16986:   osf*)
                   16987:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16988:     # the comments above for what we know about them.
                   16989:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16990:     # is used to find them so we can finally say `yes'.
                   16991:     lt_cv_sys_dlopen_deplibs=yes
                   16992:     ;;
                   16993:   qnx*)
                   16994:     lt_cv_sys_dlopen_deplibs=yes
                   16995:     ;;
                   16996:   solaris*)
                   16997:     lt_cv_sys_dlopen_deplibs=yes
                   16998:     ;;
                   16999:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17000:     libltdl_cv_sys_dlopen_deplibs=yes
                   17001:     ;;
                   17002:   esac
                   17003: 
                   17004: fi
                   17005: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17006: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   17007: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17008: 
                   17009: cat >>confdefs.h <<\_ACEOF
                   17010: #define LTDL_DLOPEN_DEPLIBS 1
                   17011: _ACEOF
                   17012: 
                   17013: fi
                   17014: 
                   17015: :
                   17016: 
1.29      paf      17017: 
1.128     moko     17018: for ac_header in argz.h
                   17019: do
                   17020: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17021: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17022: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17023: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.66      paf      17024:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17025: else
1.128     moko     17026:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17027: /* confdefs.h.  */
                   17028: _ACEOF
                   17029: cat confdefs.h >>conftest.$ac_ext
                   17030: cat >>conftest.$ac_ext <<_ACEOF
                   17031: /* end confdefs.h.  */
1.128     moko     17032: $ac_includes_default
1.29      paf      17033: 
1.128     moko     17034: #include <$ac_header>
1.66      paf      17035: _ACEOF
1.128     moko     17036: rm -f conftest.$ac_objext
                   17037: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17038:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17039:   ac_status=$?
1.86      paf      17040:   grep -v '^ *+' conftest.er1 >conftest.err
                   17041:   rm -f conftest.er1
                   17042:   cat conftest.err >&5
1.66      paf      17043:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17044:   (exit $ac_status); } &&
1.86      paf      17045:         { ac_try='test -z "$ac_c_werror_flag"
                   17046:                         || test ! -s conftest.err'
                   17047:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17048:   (eval $ac_try) 2>&5
                   17049:   ac_status=$?
                   17050:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17051:   (exit $ac_status); }; } &&
1.128     moko     17052:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17053:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17054:   (eval $ac_try) 2>&5
                   17055:   ac_status=$?
                   17056:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17057:   (exit $ac_status); }; }; then
1.128     moko     17058:   eval "$as_ac_Header=yes"
1.66      paf      17059: else
                   17060:   echo "$as_me: failed program was:" >&5
                   17061: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17062: 
1.128     moko     17063: eval "$as_ac_Header=no"
                   17064: fi
                   17065: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17066: fi
1.128     moko     17067: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17068: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17069: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17070:   cat >>confdefs.h <<_ACEOF
                   17071: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17072: _ACEOF
                   17073: 
1.66      paf      17074: fi
1.62      paf      17075: 
1.128     moko     17076: done
                   17077: 
1.29      paf      17078: 
1.128     moko     17079: echo "$as_me:$LINENO: checking for error_t" >&5
                   17080: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   17081: if test "${ac_cv_type_error_t+set}" = set; then
1.66      paf      17082:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17083: else
1.128     moko     17084:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17085: /* confdefs.h.  */
                   17086: _ACEOF
                   17087: cat confdefs.h >>conftest.$ac_ext
                   17088: cat >>conftest.$ac_ext <<_ACEOF
                   17089: /* end confdefs.h.  */
1.128     moko     17090: #if defined(HAVE_ARGZ_H)
                   17091: #  include <argz.h>
                   17092: #endif
1.29      paf      17093: 
1.66      paf      17094: int
                   17095: main ()
                   17096: {
1.128     moko     17097: if ((error_t *) 0)
                   17098:   return 0;
                   17099: if (sizeof (error_t))
                   17100:   return 0;
1.66      paf      17101:   ;
                   17102:   return 0;
                   17103: }
                   17104: _ACEOF
1.128     moko     17105: rm -f conftest.$ac_objext
                   17106: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17107:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17108:   ac_status=$?
1.86      paf      17109:   grep -v '^ *+' conftest.er1 >conftest.err
                   17110:   rm -f conftest.er1
                   17111:   cat conftest.err >&5
1.66      paf      17112:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17113:   (exit $ac_status); } &&
1.86      paf      17114:         { ac_try='test -z "$ac_c_werror_flag"
                   17115:                         || test ! -s conftest.err'
                   17116:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17117:   (eval $ac_try) 2>&5
                   17118:   ac_status=$?
                   17119:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17120:   (exit $ac_status); }; } &&
1.128     moko     17121:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17122:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17123:   (eval $ac_try) 2>&5
                   17124:   ac_status=$?
                   17125:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17126:   (exit $ac_status); }; }; then
1.128     moko     17127:   ac_cv_type_error_t=yes
1.66      paf      17128: else
                   17129:   echo "$as_me: failed program was:" >&5
                   17130: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17131: 
1.128     moko     17132: ac_cv_type_error_t=no
1.66      paf      17133: fi
1.128     moko     17134: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17135: fi
1.128     moko     17136: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   17137: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   17138: if test $ac_cv_type_error_t = yes; then
1.29      paf      17139: 
1.128     moko     17140: cat >>confdefs.h <<_ACEOF
                   17141: #define HAVE_ERROR_T 1
1.62      paf      17142: _ACEOF
1.16      paf      17143: 
                   17144: 
1.128     moko     17145: else
1.16      paf      17146: 
1.128     moko     17147: cat >>confdefs.h <<\_ACEOF
                   17148: #define error_t int
                   17149: _ACEOF
1.16      paf      17150: 
1.12      paf      17151: 
1.128     moko     17152: cat >>confdefs.h <<\_ACEOF
                   17153: #define __error_t_defined 1
                   17154: _ACEOF
1.12      paf      17155: 
1.66      paf      17156: fi
1.12      paf      17157: 
1.128     moko     17158: 
                   17159: ARGZ_H=
1.12      paf      17160: 
                   17161: 
1.62      paf      17162: 
1.1       paf      17163: 
                   17164: 
                   17165: 
                   17166: 
1.128     moko     17167: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17168:        argz_next argz_stringify
1.66      paf      17169: do
                   17170: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17171: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17172: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17173: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17174:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      17175: else
1.64      paf      17176:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17177: /* confdefs.h.  */
                   17178: _ACEOF
                   17179: cat confdefs.h >>conftest.$ac_ext
                   17180: cat >>conftest.$ac_ext <<_ACEOF
                   17181: /* end confdefs.h.  */
1.86      paf      17182: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17183:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17184: #define $ac_func innocuous_$ac_func
                   17185: 
1.64      paf      17186: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      17187:     which can conflict with char $ac_func (); below.
1.64      paf      17188:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17189:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      17190: 
1.64      paf      17191: #ifdef __STDC__
                   17192: # include <limits.h>
                   17193: #else
                   17194: # include <assert.h>
                   17195: #endif
1.86      paf      17196: 
                   17197: #undef $ac_func
                   17198: 
1.8       paf      17199: /* Override any gcc2 internal prototype to avoid an error.  */
                   17200: #ifdef __cplusplus
                   17201: extern "C"
1.64      paf      17202: {
1.8       paf      17203: #endif
                   17204: /* We use char because int might match the return type of a gcc2
1.62      paf      17205:    builtin and then its argument prototype would still apply.  */
1.66      paf      17206: char $ac_func ();
1.64      paf      17207: /* The GNU C library defines this for functions which it implements
                   17208:     to always fail with ENOSYS.  Some functions are actually named
                   17209:     something starting with __ and the normal name is an alias.  */
1.66      paf      17210: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      17211: choke me
                   17212: #else
1.66      paf      17213: char (*f) () = $ac_func;
1.64      paf      17214: #endif
                   17215: #ifdef __cplusplus
                   17216: }
                   17217: #endif
                   17218: 
1.62      paf      17219: int
                   17220: main ()
                   17221: {
1.66      paf      17222: return f != $ac_func;
1.62      paf      17223:   ;
                   17224:   return 0;
                   17225: }
                   17226: _ACEOF
                   17227: rm -f conftest.$ac_objext conftest$ac_exeext
                   17228: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      17229:   (eval $ac_link) 2>conftest.er1
1.62      paf      17230:   ac_status=$?
1.86      paf      17231:   grep -v '^ *+' conftest.er1 >conftest.err
                   17232:   rm -f conftest.er1
                   17233:   cat conftest.err >&5
1.62      paf      17234:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17235:   (exit $ac_status); } &&
1.86      paf      17236:         { ac_try='test -z "$ac_c_werror_flag"
                   17237:                         || test ! -s conftest.err'
                   17238:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17239:   (eval $ac_try) 2>&5
                   17240:   ac_status=$?
                   17241:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17242:   (exit $ac_status); }; } &&
                   17243:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17244:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.128     moko     17245:   (eval $ac_try) 2>&5
                   17246:   ac_status=$?
                   17247:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17248:   (exit $ac_status); }; }; then
                   17249:   eval "$as_ac_var=yes"
                   17250: else
                   17251:   echo "$as_me: failed program was:" >&5
                   17252: sed 's/^/| /' conftest.$ac_ext >&5
                   17253: 
                   17254: eval "$as_ac_var=no"
                   17255: fi
                   17256: rm -f conftest.err conftest.$ac_objext \
                   17257:       conftest$ac_exeext conftest.$ac_ext
                   17258: fi
                   17259: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17260: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17261: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17262:   cat >>confdefs.h <<_ACEOF
                   17263: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17264: _ACEOF
                   17265: 
                   17266: else
                   17267:   ARGZ_H=argz.h;
                   17268: 
                   17269:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17270: 
                   17271: fi
                   17272: done
                   17273: 
                   17274: 
                   17275: if test -z "$ARGZ_H"; then
                   17276:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   17277: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   17278: if test "${lt_cv_sys_argz_works+set}" = set; then
                   17279:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17280: else
                   17281:   case $host_os in #(
                   17282:         *cygwin*)
                   17283:           lt_cv_sys_argz_works=no
                   17284:           if test "$cross_compiling" != no; then
                   17285:             lt_cv_sys_argz_works="guessing no"
                   17286:           else
                   17287:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17288:             save_IFS=$IFS
                   17289:             IFS=-.
                   17290:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17291:             IFS=$save_IFS
                   17292:             lt_os_major=${2-0}
                   17293:             lt_os_minor=${3-0}
                   17294:             lt_os_micro=${4-0}
                   17295:             if test "$lt_os_major" -gt 1 \
                   17296:                || { test "$lt_os_major" -eq 1 \
                   17297:                  && { test "$lt_os_minor" -gt 5 \
                   17298:                    || { test "$lt_os_minor" -eq 5 \
                   17299:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17300:               lt_cv_sys_argz_works=yes
                   17301:             fi
                   17302:           fi
                   17303:           ;; #(
                   17304:         *) lt_cv_sys_argz_works=yes ;;
                   17305:         esac
                   17306: fi
                   17307: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   17308: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   17309:      if test "$lt_cv_sys_argz_works" = yes; then
                   17310: 
                   17311: cat >>confdefs.h <<\_ACEOF
                   17312: #define HAVE_WORKING_ARGZ 1
                   17313: _ACEOF
                   17314: 
1.62      paf      17315: else
1.128     moko     17316:   ARGZ_H=argz.h
                   17317: 
                   17318: 
                   17319:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17320: 
                   17321: fi
1.62      paf      17322: 
                   17323: fi
1.128     moko     17324: 
                   17325: 
                   17326: 
                   17327: 
                   17328: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17329: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   17330: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   17331:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17332: else
                   17333:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17334:     libltdl_cv_preloaded_symbols=yes
                   17335:   else
                   17336:     libltdl_cv_preloaded_symbols=no
                   17337:   fi
                   17338: 
1.62      paf      17339: fi
1.128     moko     17340: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   17341: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   17342: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17343: 
                   17344: cat >>confdefs.h <<\_ACEOF
                   17345: #define HAVE_PRELOADED_SYMBOLS 1
1.66      paf      17346: _ACEOF
                   17347: 
                   17348: fi
                   17349: 
1.128     moko     17350: # Set options
                   17351: 
                   17352: 
                   17353: 
                   17354: 
                   17355: 
                   17356: 
                   17357: 
                   17358: 
                   17359: 
                   17360: 
1.66      paf      17361: 
                   17362: 
1.128     moko     17363: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   17364: if test "${with_included_ltdl+set}" = set; then
                   17365:   withval="$with_included_ltdl"
1.64      paf      17366: 
1.128     moko     17367: fi;
1.64      paf      17368: 
1.128     moko     17369: if test "x$with_included_ltdl" != xyes; then
                   17370:   # We are not being forced to use the included libltdl sources, so
                   17371:   # decide whether there is a useful installed version we can use.
                   17372:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   17373: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   17374: if test "${ac_cv_header_ltdl_h+set}" = set; then
1.79      paf      17375:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17376: else
1.128     moko     17377:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17378: /* confdefs.h.  */
                   17379: _ACEOF
                   17380: cat confdefs.h >>conftest.$ac_ext
                   17381: cat >>conftest.$ac_ext <<_ACEOF
                   17382: /* end confdefs.h.  */
1.128     moko     17383: $ac_includes_default
1.79      paf      17384: 
                   17385: 
1.128     moko     17386: #include <ltdl.h>
1.79      paf      17387: _ACEOF
                   17388: rm -f conftest.$ac_objext
                   17389: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17390:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17391:   ac_status=$?
1.86      paf      17392:   grep -v '^ *+' conftest.er1 >conftest.err
                   17393:   rm -f conftest.er1
                   17394:   cat conftest.err >&5
1.79      paf      17395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17396:   (exit $ac_status); } &&
1.86      paf      17397:         { ac_try='test -z "$ac_c_werror_flag"
                   17398:                         || test ! -s conftest.err'
                   17399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17400:   (eval $ac_try) 2>&5
                   17401:   ac_status=$?
                   17402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17403:   (exit $ac_status); }; } &&
                   17404:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17405:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17406:   (eval $ac_try) 2>&5
                   17407:   ac_status=$?
                   17408:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17409:   (exit $ac_status); }; }; then
1.128     moko     17410:   ac_cv_header_ltdl_h=yes
                   17411: else
                   17412:   echo "$as_me: failed program was:" >&5
                   17413: sed 's/^/| /' conftest.$ac_ext >&5
                   17414: 
                   17415: ac_cv_header_ltdl_h=no
                   17416: fi
                   17417: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17418: fi
                   17419: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   17420: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   17421: if test $ac_cv_header_ltdl_h = yes; then
                   17422:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   17423: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   17424: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   17425:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17426: else
                   17427:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17428: /* confdefs.h.  */
                   17429: _ACEOF
                   17430: cat confdefs.h >>conftest.$ac_ext
                   17431: cat >>conftest.$ac_ext <<_ACEOF
                   17432: /* end confdefs.h.  */
1.128     moko     17433: $ac_includes_default
                   17434:            #include <ltdl.h>
1.79      paf      17435: 
                   17436: int
                   17437: main ()
                   17438: {
1.128     moko     17439: #ifndef lt_dlinterface_register
                   17440:   char *p = (char *) lt_dlinterface_register;
1.79      paf      17441: #endif
                   17442: 
                   17443:   ;
                   17444:   return 0;
                   17445: }
                   17446: _ACEOF
                   17447: rm -f conftest.$ac_objext
                   17448: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17449:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17450:   ac_status=$?
1.86      paf      17451:   grep -v '^ *+' conftest.er1 >conftest.err
                   17452:   rm -f conftest.er1
                   17453:   cat conftest.err >&5
1.79      paf      17454:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17455:   (exit $ac_status); } &&
1.86      paf      17456:         { ac_try='test -z "$ac_c_werror_flag"
                   17457:                         || test ! -s conftest.err'
                   17458:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17459:   (eval $ac_try) 2>&5
                   17460:   ac_status=$?
                   17461:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17462:   (exit $ac_status); }; } &&
                   17463:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17464:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17465:   (eval $ac_try) 2>&5
                   17466:   ac_status=$?
                   17467:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17468:   (exit $ac_status); }; }; then
1.128     moko     17469:   ac_cv_have_decl_lt_dlinterface_register=yes
1.79      paf      17470: else
                   17471:   echo "$as_me: failed program was:" >&5
                   17472: sed 's/^/| /' conftest.$ac_ext >&5
                   17473: 
1.128     moko     17474: ac_cv_have_decl_lt_dlinterface_register=no
1.79      paf      17475: fi
1.86      paf      17476: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17477: fi
                   17478: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   17479: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   17480: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   17481:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   17482: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   17483: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   17484:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.79      paf      17485: else
1.128     moko     17486:   ac_check_lib_save_LIBS=$LIBS
                   17487: LIBS="-lltdl  $LIBS"
                   17488: cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17489: /* confdefs.h.  */
                   17490: _ACEOF
                   17491: cat confdefs.h >>conftest.$ac_ext
                   17492: cat >>conftest.$ac_ext <<_ACEOF
                   17493: /* end confdefs.h.  */
1.128     moko     17494: 
                   17495: /* Override any gcc2 internal prototype to avoid an error.  */
                   17496: #ifdef __cplusplus
                   17497: extern "C"
                   17498: #endif
                   17499: /* We use char because int might match the return type of a gcc2
                   17500:    builtin and then its argument prototype would still apply.  */
                   17501: char lt_dladvise_preload ();
1.79      paf      17502: int
                   17503: main ()
                   17504: {
1.128     moko     17505: lt_dladvise_preload ();
1.79      paf      17506:   ;
                   17507:   return 0;
                   17508: }
                   17509: _ACEOF
1.128     moko     17510: rm -f conftest.$ac_objext conftest$ac_exeext
                   17511: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17512:   (eval $ac_link) 2>conftest.er1
1.79      paf      17513:   ac_status=$?
1.86      paf      17514:   grep -v '^ *+' conftest.er1 >conftest.err
                   17515:   rm -f conftest.er1
                   17516:   cat conftest.err >&5
1.79      paf      17517:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17518:   (exit $ac_status); } &&
1.86      paf      17519:         { ac_try='test -z "$ac_c_werror_flag"
                   17520:                         || test ! -s conftest.err'
                   17521:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17522:   (eval $ac_try) 2>&5
                   17523:   ac_status=$?
                   17524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17525:   (exit $ac_status); }; } &&
1.128     moko     17526:         { ac_try='test -s conftest$ac_exeext'
1.79      paf      17527:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17528:   (eval $ac_try) 2>&5
                   17529:   ac_status=$?
                   17530:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17531:   (exit $ac_status); }; }; then
1.128     moko     17532:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17533: else
                   17534:   echo "$as_me: failed program was:" >&5
                   17535: sed 's/^/| /' conftest.$ac_ext >&5
                   17536: 
1.128     moko     17537: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   17538: fi
                   17539: rm -f conftest.err conftest.$ac_objext \
                   17540:       conftest$ac_exeext conftest.$ac_ext
                   17541: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17542: fi
1.128     moko     17543: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17544: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   17545: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   17546:   with_included_ltdl=no
1.79      paf      17547: else
1.128     moko     17548:   with_included_ltdl=yes
                   17549: fi
                   17550: 
1.79      paf      17551: else
1.128     moko     17552:   with_included_ltdl=yes
                   17553: fi
1.79      paf      17554: 
1.128     moko     17555: else
                   17556:   with_included_ltdl=yes
1.79      paf      17557: fi
1.128     moko     17558: 
                   17559: 
1.79      paf      17560: fi
1.128     moko     17561: 
                   17562: 
                   17563: 
                   17564: 
                   17565: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   17566: if test "${with_ltdl_include+set}" = set; then
                   17567:   withval="$with_ltdl_include"
                   17568: 
                   17569: fi;
                   17570: 
                   17571: if test -n "$with_ltdl_include"; then
                   17572:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17573:   else
                   17574:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   17575: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   17576:    { (exit 1); exit 1; }; }
                   17577:   fi
                   17578: else
                   17579:   with_ltdl_include=no
1.79      paf      17580: fi
1.128     moko     17581: 
                   17582: 
                   17583: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   17584: if test "${with_ltdl_lib+set}" = set; then
                   17585:   withval="$with_ltdl_lib"
                   17586: 
                   17587: fi;
                   17588: 
                   17589: if test -n "$with_ltdl_lib"; then
                   17590:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17591:   else
                   17592:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17593: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17594:    { (exit 1); exit 1; }; }
                   17595:   fi
                   17596: else
                   17597:   with_ltdl_lib=no
1.79      paf      17598: fi
                   17599: 
1.128     moko     17600: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17601:   ,yes,no,no,)
                   17602:        case $enable_ltdl_convenience in
                   17603:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17604: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17605:    { (exit 1); exit 1; }; } ;;
                   17606:   "") enable_ltdl_convenience=yes
                   17607:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17608: esac
                   17609: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   17610: LTDLDEPS=$LIBLTDL
                   17611: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17612: 
                   17613: 
                   17614: 
                   17615: 
                   17616: 
                   17617: # For backwards non-gettext consistent compatibility...
                   17618: INCLTDL="$LTDLINCL"
                   17619: 
1.79      paf      17620: 
1.128     moko     17621:        ;;
                   17622:   ,no,no,no,)
                   17623:        # If the included ltdl is not to be used, then use the
                   17624:        # preinstalled libltdl we found.
1.79      paf      17625: 
                   17626: cat >>confdefs.h <<\_ACEOF
1.128     moko     17627: #define HAVE_LTDL 1
1.79      paf      17628: _ACEOF
                   17629: 
1.128     moko     17630:        LIBLTDL=-lltdl
                   17631:        LTDLDEPS=
                   17632:        LTDLINCL=
                   17633:        ;;
                   17634:   ,no*,no,*)
                   17635:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17636: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
1.79      paf      17637:    { (exit 1); exit 1; }; }
1.128     moko     17638:        ;;
                   17639:   *)   with_included_ltdl=no
                   17640:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17641:        LTDLDEPS=
                   17642:        LTDLINCL="-I$with_ltdl_include"
                   17643:        ;;
                   17644: esac
                   17645: INCLTDL="$LTDLINCL"
                   17646: 
                   17647: # Report our decision...
                   17648: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17649: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17650: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17651: echo "${ECHO_T}$LTDLINCL" >&6
                   17652: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17653: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17654: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17655: echo "${ECHO_T}$LIBLTDL" >&6
                   17656: 
                   17657: 
                   17658: 
                   17659: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17660: if test "${enable_ltdl_install+set}" = set; then
                   17661:   enableval="$enable_ltdl_install"
                   17662: 
                   17663: fi;
                   17664: 
                   17665: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17666:   *yes*) ;;
                   17667:   *) enable_ltdl_convenience=yes ;;
                   17668: esac
                   17669: 
                   17670: 
                   17671: 
                   17672: if test x"${enable_ltdl_install-no}" != xno; then
                   17673:   INSTALL_LTDL_TRUE=
                   17674:   INSTALL_LTDL_FALSE='#'
                   17675: else
                   17676:   INSTALL_LTDL_TRUE='#'
                   17677:   INSTALL_LTDL_FALSE=
                   17678: fi
                   17679: 
                   17680: 
                   17681: 
                   17682: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17683:   CONVENIENCE_LTDL_TRUE=
                   17684:   CONVENIENCE_LTDL_FALSE='#'
                   17685: else
                   17686:   CONVENIENCE_LTDL_TRUE='#'
                   17687:   CONVENIENCE_LTDL_FALSE=
                   17688: fi
                   17689: 
                   17690: 
                   17691: 
                   17692: 
                   17693: 
                   17694: subdirs="$subdirs src/lib/ltdl"
                   17695: 
                   17696: 
                   17697: 
                   17698: 
                   17699: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17700: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17701: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17702: # definitions required by ltdl.c.
                   17703: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17704: 
                   17705: 
                   17706: 
                   17707: 
                   17708: 
                   17709: 
                   17710: 
1.79      paf      17711: 
                   17712: 
1.128     moko     17713: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17714: do
                   17715: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17716: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17717: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17718: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      17719:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17720: else
1.66      paf      17721:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17722: /* confdefs.h.  */
                   17723: _ACEOF
                   17724: cat confdefs.h >>conftest.$ac_ext
                   17725: cat >>conftest.$ac_ext <<_ACEOF
                   17726: /* end confdefs.h.  */
1.128     moko     17727: $ac_includes_default
                   17728: 
                   17729: #include <$ac_header>
1.62      paf      17730: _ACEOF
1.128     moko     17731: rm -f conftest.$ac_objext
                   17732: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17733:   (eval $ac_compile) 2>conftest.er1
1.62      paf      17734:   ac_status=$?
1.66      paf      17735:   grep -v '^ *+' conftest.er1 >conftest.err
                   17736:   rm -f conftest.er1
                   17737:   cat conftest.err >&5
1.62      paf      17738:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17739:   (exit $ac_status); } &&
                   17740:         { ac_try='test -z "$ac_c_werror_flag"
                   17741:                         || test ! -s conftest.err'
                   17742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17743:   (eval $ac_try) 2>&5
                   17744:   ac_status=$?
                   17745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17746:   (exit $ac_status); }; } &&
                   17747:         { ac_try='test -s conftest.$ac_objext'
                   17748:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17749:   (eval $ac_try) 2>&5
                   17750:   ac_status=$?
                   17751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17752:   (exit $ac_status); }; }; then
                   17753:   eval "$as_ac_Header=yes"
1.62      paf      17754: else
                   17755:   echo "$as_me: failed program was:" >&5
                   17756: sed 's/^/| /' conftest.$ac_ext >&5
                   17757: 
1.128     moko     17758: eval "$as_ac_Header=no"
                   17759: fi
                   17760: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17761: fi
1.128     moko     17762: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17763: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17764: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17765:   cat >>confdefs.h <<_ACEOF
                   17766: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17767: _ACEOF
                   17768: 
                   17769: fi
1.66      paf      17770: 
                   17771: done
1.64      paf      17772: 
                   17773: 
1.128     moko     17774: 
                   17775: 
                   17776: 
                   17777: for ac_func in closedir opendir readdir
                   17778: do
                   17779: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17780: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17781: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17782: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17783:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      17784: else
                   17785:   cat >conftest.$ac_ext <<_ACEOF
                   17786: /* confdefs.h.  */
                   17787: _ACEOF
                   17788: cat confdefs.h >>conftest.$ac_ext
                   17789: cat >>conftest.$ac_ext <<_ACEOF
                   17790: /* end confdefs.h.  */
1.128     moko     17791: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17792:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17793: #define $ac_func innocuous_$ac_func
                   17794: 
                   17795: /* System header to define __stub macros and hopefully few prototypes,
                   17796:     which can conflict with char $ac_func (); below.
                   17797:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17798:     <limits.h> exists even on freestanding compilers.  */
                   17799: 
1.66      paf      17800: #ifdef __STDC__
                   17801: # include <limits.h>
                   17802: #else
                   17803: # include <assert.h>
1.64      paf      17804: #endif
1.128     moko     17805: 
                   17806: #undef $ac_func
                   17807: 
                   17808: /* Override any gcc2 internal prototype to avoid an error.  */
                   17809: #ifdef __cplusplus
                   17810: extern "C"
                   17811: {
                   17812: #endif
                   17813: /* We use char because int might match the return type of a gcc2
                   17814:    builtin and then its argument prototype would still apply.  */
                   17815: char $ac_func ();
                   17816: /* The GNU C library defines this for functions which it implements
                   17817:     to always fail with ENOSYS.  Some functions are actually named
                   17818:     something starting with __ and the normal name is an alias.  */
                   17819: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17820: choke me
                   17821: #else
                   17822: char (*f) () = $ac_func;
                   17823: #endif
                   17824: #ifdef __cplusplus
                   17825: }
                   17826: #endif
                   17827: 
                   17828: int
                   17829: main ()
                   17830: {
                   17831: return f != $ac_func;
                   17832:   ;
                   17833:   return 0;
                   17834: }
1.64      paf      17835: _ACEOF
1.128     moko     17836: rm -f conftest.$ac_objext conftest$ac_exeext
                   17837: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17838:   (eval $ac_link) 2>conftest.er1
1.64      paf      17839:   ac_status=$?
1.66      paf      17840:   grep -v '^ *+' conftest.er1 >conftest.err
                   17841:   rm -f conftest.er1
                   17842:   cat conftest.err >&5
1.64      paf      17843:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17844:   (exit $ac_status); } &&
                   17845:         { ac_try='test -z "$ac_c_werror_flag"
                   17846:                         || test ! -s conftest.err'
                   17847:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17848:   (eval $ac_try) 2>&5
                   17849:   ac_status=$?
                   17850:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17851:   (exit $ac_status); }; } &&
                   17852:         { ac_try='test -s conftest$ac_exeext'
                   17853:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17854:   (eval $ac_try) 2>&5
1.62      paf      17855:   ac_status=$?
                   17856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17857:   (exit $ac_status); }; }; then
                   17858:   eval "$as_ac_var=yes"
1.62      paf      17859: else
                   17860:   echo "$as_me: failed program was:" >&5
                   17861: sed 's/^/| /' conftest.$ac_ext >&5
                   17862: 
1.128     moko     17863: eval "$as_ac_var=no"
                   17864: fi
                   17865: rm -f conftest.err conftest.$ac_objext \
                   17866:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      17867: fi
1.128     moko     17868: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17869: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17870: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17871:   cat >>confdefs.h <<_ACEOF
                   17872: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17873: _ACEOF
1.66      paf      17874: 
                   17875: else
1.64      paf      17876: 
1.66      paf      17877: 
1.128     moko     17878:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17879: 
1.66      paf      17880: fi
1.128     moko     17881: done
                   17882: 
1.66      paf      17883: 
                   17884: 
1.128     moko     17885: for ac_func in strlcat strlcpy
                   17886: do
                   17887: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17888: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17889: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17890: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17891:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      17892: else
1.66      paf      17893:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17894: /* confdefs.h.  */
                   17895: _ACEOF
                   17896: cat confdefs.h >>conftest.$ac_ext
                   17897: cat >>conftest.$ac_ext <<_ACEOF
                   17898: /* end confdefs.h.  */
1.128     moko     17899: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17900:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17901: #define $ac_func innocuous_$ac_func
                   17902: 
                   17903: /* System header to define __stub macros and hopefully few prototypes,
                   17904:     which can conflict with char $ac_func (); below.
                   17905:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17906:     <limits.h> exists even on freestanding compilers.  */
                   17907: 
                   17908: #ifdef __STDC__
                   17909: # include <limits.h>
                   17910: #else
                   17911: # include <assert.h>
                   17912: #endif
                   17913: 
                   17914: #undef $ac_func
                   17915: 
                   17916: /* Override any gcc2 internal prototype to avoid an error.  */
                   17917: #ifdef __cplusplus
                   17918: extern "C"
                   17919: {
                   17920: #endif
                   17921: /* We use char because int might match the return type of a gcc2
                   17922:    builtin and then its argument prototype would still apply.  */
                   17923: char $ac_func ();
                   17924: /* The GNU C library defines this for functions which it implements
                   17925:     to always fail with ENOSYS.  Some functions are actually named
                   17926:     something starting with __ and the normal name is an alias.  */
                   17927: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17928: choke me
                   17929: #else
                   17930: char (*f) () = $ac_func;
                   17931: #endif
                   17932: #ifdef __cplusplus
                   17933: }
                   17934: #endif
1.62      paf      17935: 
                   17936: int
                   17937: main ()
                   17938: {
1.128     moko     17939: return f != $ac_func;
1.62      paf      17940:   ;
                   17941:   return 0;
                   17942: }
                   17943: _ACEOF
1.128     moko     17944: rm -f conftest.$ac_objext conftest$ac_exeext
                   17945: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17946:   (eval $ac_link) 2>conftest.er1
1.62      paf      17947:   ac_status=$?
1.86      paf      17948:   grep -v '^ *+' conftest.er1 >conftest.err
                   17949:   rm -f conftest.er1
                   17950:   cat conftest.err >&5
1.62      paf      17951:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17952:   (exit $ac_status); } &&
1.86      paf      17953:         { ac_try='test -z "$ac_c_werror_flag"
                   17954:                         || test ! -s conftest.err'
                   17955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17956:   (eval $ac_try) 2>&5
                   17957:   ac_status=$?
                   17958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17959:   (exit $ac_status); }; } &&
1.128     moko     17960:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17961:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17962:   (eval $ac_try) 2>&5
                   17963:   ac_status=$?
                   17964:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17965:   (exit $ac_status); }; }; then
1.128     moko     17966:   eval "$as_ac_var=yes"
1.62      paf      17967: else
                   17968:   echo "$as_me: failed program was:" >&5
                   17969: sed 's/^/| /' conftest.$ac_ext >&5
                   17970: 
1.128     moko     17971: eval "$as_ac_var=no"
                   17972: fi
                   17973: rm -f conftest.err conftest.$ac_objext \
                   17974:       conftest$ac_exeext conftest.$ac_ext
                   17975: fi
                   17976: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17977: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17978: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17979:   cat >>confdefs.h <<_ACEOF
                   17980: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17981: _ACEOF
                   17982: 
                   17983: else
                   17984: 
                   17985: 
                   17986:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17987: 
1.62      paf      17988: fi
1.128     moko     17989: done
                   17990: 
                   17991: 
1.64      paf      17992: 
1.128     moko     17993: cat >>confdefs.h <<_ACEOF
                   17994: #define LT_LIBEXT "$libext"
1.62      paf      17995: _ACEOF
1.64      paf      17996: 
1.128     moko     17997: 
                   17998: name=
                   17999: eval "lt_libprefix=\"$libname_spec\""
                   18000: 
                   18001: cat >>confdefs.h <<_ACEOF
                   18002: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      18003: _ACEOF
1.128     moko     18004: 
                   18005: 
                   18006: name=ltdl
                   18007: eval "LTDLOPEN=\"$libname_spec\""
                   18008: 
                   18009: 
                   18010: 
                   18011: 
                   18012: 
                   18013: 
                   18014: 
                   18015: 
                   18016: # Only expand once:
                   18017: 
                   18018: 
                   18019: 
                   18020: 
                   18021: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   18022: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   18023: if test "${ac_cv_c_bigendian+set}" = set; then
                   18024:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18025: else
                   18026:   # See if sys/param.h defines the BYTE_ORDER macro.
                   18027: cat >conftest.$ac_ext <<_ACEOF
1.66      paf      18028: /* confdefs.h.  */
                   18029: _ACEOF
                   18030: cat confdefs.h >>conftest.$ac_ext
                   18031: cat >>conftest.$ac_ext <<_ACEOF
                   18032: /* end confdefs.h.  */
1.128     moko     18033: #include <sys/types.h>
                   18034: #include <sys/param.h>
                   18035: 
                   18036: int
                   18037: main ()
                   18038: {
                   18039: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   18040:  bogus endian macros
                   18041: #endif
1.64      paf      18042: 
1.128     moko     18043:   ;
                   18044:   return 0;
                   18045: }
1.66      paf      18046: _ACEOF
1.128     moko     18047: rm -f conftest.$ac_objext
                   18048: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18049:   (eval $ac_compile) 2>conftest.er1
                   18050:   ac_status=$?
                   18051:   grep -v '^ *+' conftest.er1 >conftest.err
                   18052:   rm -f conftest.er1
                   18053:   cat conftest.err >&5
                   18054:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18055:   (exit $ac_status); } &&
                   18056:         { ac_try='test -z "$ac_c_werror_flag"
                   18057:                         || test ! -s conftest.err'
                   18058:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18059:   (eval $ac_try) 2>&5
                   18060:   ac_status=$?
                   18061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18062:   (exit $ac_status); }; } &&
                   18063:         { ac_try='test -s conftest.$ac_objext'
                   18064:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18065:   (eval $ac_try) 2>&5
                   18066:   ac_status=$?
                   18067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18068:   (exit $ac_status); }; }; then
                   18069:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   18070: cat >conftest.$ac_ext <<_ACEOF
1.64      paf      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: #include <sys/types.h>
                   18077: #include <sys/param.h>
1.64      paf      18078: 
                   18079: int
                   18080: main ()
1.128     moko     18081: {
                   18082: #if BYTE_ORDER != BIG_ENDIAN
                   18083:  not big endian
                   18084: #endif
                   18085: 
                   18086:   ;
                   18087:   return 0;
1.64      paf      18088: }
                   18089: _ACEOF
1.128     moko     18090: rm -f conftest.$ac_objext
                   18091: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18092:   (eval $ac_compile) 2>conftest.er1
                   18093:   ac_status=$?
                   18094:   grep -v '^ *+' conftest.er1 >conftest.err
                   18095:   rm -f conftest.er1
                   18096:   cat conftest.err >&5
                   18097:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18098:   (exit $ac_status); } &&
                   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
1.64      paf      18103:   ac_status=$?
                   18104:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     18105:   (exit $ac_status); }; } &&
                   18106:         { ac_try='test -s conftest.$ac_objext'
1.64      paf      18107:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18108:   (eval $ac_try) 2>&5
                   18109:   ac_status=$?
                   18110:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18111:   (exit $ac_status); }; }; then
1.128     moko     18112:   ac_cv_c_bigendian=yes
1.64      paf      18113: else
1.128     moko     18114:   echo "$as_me: failed program was:" >&5
1.64      paf      18115: sed 's/^/| /' conftest.$ac_ext >&5
                   18116: 
1.128     moko     18117: ac_cv_c_bigendian=no
1.66      paf      18118: fi
1.128     moko     18119: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18120: else
                   18121:   echo "$as_me: failed program was:" >&5
                   18122: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      18123: 
1.128     moko     18124: # It does not; compile a test program.
                   18125: if test "$cross_compiling" = yes; then
                   18126:   # try to guess the endianness by grepping values into an object file
                   18127:   ac_cv_c_bigendian=unknown
1.62      paf      18128:   cat >conftest.$ac_ext <<_ACEOF
                   18129: /* confdefs.h.  */
                   18130: _ACEOF
                   18131: cat confdefs.h >>conftest.$ac_ext
                   18132: cat >>conftest.$ac_ext <<_ACEOF
                   18133: /* end confdefs.h.  */
1.128     moko     18134: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   18135: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   18136: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   18137: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   18138: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   18139: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   18140: int
                   18141: main ()
                   18142: {
                   18143:  _ascii (); _ebcdic ();
                   18144:   ;
                   18145:   return 0;
                   18146: }
1.62      paf      18147: _ACEOF
1.66      paf      18148: rm -f conftest.$ac_objext
                   18149: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18150:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18151:   ac_status=$?
1.86      paf      18152:   grep -v '^ *+' conftest.er1 >conftest.err
                   18153:   rm -f conftest.er1
                   18154:   cat conftest.err >&5
1.66      paf      18155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18156:   (exit $ac_status); } &&
1.86      paf      18157:         { ac_try='test -z "$ac_c_werror_flag"
                   18158:                         || test ! -s conftest.err'
                   18159:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18160:   (eval $ac_try) 2>&5
                   18161:   ac_status=$?
                   18162:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18163:   (exit $ac_status); }; } &&
                   18164:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18165:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18166:   (eval $ac_try) 2>&5
1.62      paf      18167:   ac_status=$?
                   18168:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18169:   (exit $ac_status); }; }; then
1.128     moko     18170:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   18171:   ac_cv_c_bigendian=yes
                   18172: fi
                   18173: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   18174:   if test "$ac_cv_c_bigendian" = unknown; then
                   18175:     ac_cv_c_bigendian=no
                   18176:   else
                   18177:     # finding both strings is unlikely to happen, but who knows?
                   18178:     ac_cv_c_bigendian=unknown
                   18179:   fi
                   18180: fi
1.62      paf      18181: else
                   18182:   echo "$as_me: failed program was:" >&5
                   18183: sed 's/^/| /' conftest.$ac_ext >&5
                   18184: 
1.128     moko     18185: fi
                   18186: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18187: else
                   18188:   cat >conftest.$ac_ext <<_ACEOF
                   18189: /* confdefs.h.  */
                   18190: _ACEOF
                   18191: cat confdefs.h >>conftest.$ac_ext
                   18192: cat >>conftest.$ac_ext <<_ACEOF
                   18193: /* end confdefs.h.  */
                   18194: int
                   18195: main ()
                   18196: {
                   18197:   /* Are we little or big endian?  From Harbison&Steele.  */
                   18198:   union
                   18199:   {
                   18200:     long l;
                   18201:     char c[sizeof (long)];
                   18202:   } u;
                   18203:   u.l = 1;
                   18204:   exit (u.c[sizeof (long) - 1] == 1);
                   18205: }
                   18206: _ACEOF
                   18207: rm -f conftest$ac_exeext
                   18208: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   18209:   (eval $ac_link) 2>&5
                   18210:   ac_status=$?
                   18211:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18212:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   18213:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18214:   (eval $ac_try) 2>&5
                   18215:   ac_status=$?
                   18216:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18217:   (exit $ac_status); }; }; then
                   18218:   ac_cv_c_bigendian=no
                   18219: else
                   18220:   echo "$as_me: program exited with status $ac_status" >&5
                   18221: echo "$as_me: failed program was:" >&5
                   18222: sed 's/^/| /' conftest.$ac_ext >&5
                   18223: 
                   18224: ( exit $ac_status )
                   18225: ac_cv_c_bigendian=yes
                   18226: fi
                   18227: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   18228: fi
1.66      paf      18229: fi
1.86      paf      18230: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18231: fi
1.128     moko     18232: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   18233: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   18234: case $ac_cv_c_bigendian in
                   18235:   yes)
                   18236: 
                   18237: cat >>confdefs.h <<\_ACEOF
                   18238: #define PA_BIG_ENDIAN
1.66      paf      18239: _ACEOF
                   18240: 
1.128     moko     18241:  ;;
                   18242:   no)
                   18243: 
                   18244: cat >>confdefs.h <<\_ACEOF
                   18245: #define PA_LITTLE_ENDIAN
                   18246: _ACEOF
1.1       paf      18247: 
1.128     moko     18248:  ;;
                   18249:   *)
                   18250:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   18251: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   18252:    { (exit 1); exit 1; }; }
                   18253:  ;;
                   18254: esac
1.66      paf      18255: 
                   18256: 
                   18257: echo "$as_me:$LINENO: checking for size_t" >&5
                   18258: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   18259: if test "${ac_cv_type_size_t+set}" = set; then
                   18260:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18261: else
1.62      paf      18262:   cat >conftest.$ac_ext <<_ACEOF
                   18263: /* confdefs.h.  */
                   18264: _ACEOF
                   18265: cat confdefs.h >>conftest.$ac_ext
                   18266: cat >>conftest.$ac_ext <<_ACEOF
                   18267: /* end confdefs.h.  */
1.66      paf      18268: $ac_includes_default
                   18269: int
                   18270: main ()
                   18271: {
                   18272: if ((size_t *) 0)
                   18273:   return 0;
                   18274: if (sizeof (size_t))
                   18275:   return 0;
                   18276:   ;
                   18277:   return 0;
                   18278: }
1.62      paf      18279: _ACEOF
1.66      paf      18280: rm -f conftest.$ac_objext
                   18281: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18282:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18283:   ac_status=$?
1.86      paf      18284:   grep -v '^ *+' conftest.er1 >conftest.err
                   18285:   rm -f conftest.er1
                   18286:   cat conftest.err >&5
1.66      paf      18287:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18288:   (exit $ac_status); } &&
1.86      paf      18289:         { ac_try='test -z "$ac_c_werror_flag"
                   18290:                         || test ! -s conftest.err'
                   18291:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18292:   (eval $ac_try) 2>&5
                   18293:   ac_status=$?
                   18294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18295:   (exit $ac_status); }; } &&
                   18296:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18297:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18298:   (eval $ac_try) 2>&5
1.62      paf      18299:   ac_status=$?
                   18300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18301:   (exit $ac_status); }; }; then
                   18302:   ac_cv_type_size_t=yes
1.1       paf      18303: else
1.62      paf      18304:   echo "$as_me: failed program was:" >&5
                   18305: sed 's/^/| /' conftest.$ac_ext >&5
                   18306: 
1.66      paf      18307: ac_cv_type_size_t=no
1.1       paf      18308: fi
1.86      paf      18309: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18310: fi
1.66      paf      18311: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   18312: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   18313: if test $ac_cv_type_size_t = yes; then
                   18314:   :
                   18315: else
1.1       paf      18316: 
1.66      paf      18317: cat >>confdefs.h <<_ACEOF
                   18318: #define size_t unsigned
                   18319: _ACEOF
1.62      paf      18320: 
                   18321: fi
1.66      paf      18322: 
1.128     moko     18323: 
                   18324: 
1.66      paf      18325: echo "$as_me:$LINENO: checking for off_t" >&5
                   18326: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   18327: if test "${ac_cv_type_off_t+set}" = set; then
                   18328:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      18329: else
                   18330:   cat >conftest.$ac_ext <<_ACEOF
                   18331: /* confdefs.h.  */
                   18332: _ACEOF
                   18333: cat confdefs.h >>conftest.$ac_ext
                   18334: cat >>conftest.$ac_ext <<_ACEOF
                   18335: /* end confdefs.h.  */
1.66      paf      18336: $ac_includes_default
                   18337: int
                   18338: main ()
                   18339: {
                   18340: if ((off_t *) 0)
                   18341:   return 0;
                   18342: if (sizeof (off_t))
                   18343:   return 0;
                   18344:   ;
                   18345:   return 0;
                   18346: }
1.62      paf      18347: _ACEOF
1.66      paf      18348: rm -f conftest.$ac_objext
                   18349: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18350:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18351:   ac_status=$?
1.86      paf      18352:   grep -v '^ *+' conftest.er1 >conftest.err
                   18353:   rm -f conftest.er1
                   18354:   cat conftest.err >&5
1.66      paf      18355:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18356:   (exit $ac_status); } &&
1.86      paf      18357:         { ac_try='test -z "$ac_c_werror_flag"
                   18358:                         || test ! -s conftest.err'
                   18359:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18360:   (eval $ac_try) 2>&5
                   18361:   ac_status=$?
                   18362:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18363:   (exit $ac_status); }; } &&
                   18364:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18365:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18366:   (eval $ac_try) 2>&5
1.62      paf      18367:   ac_status=$?
                   18368:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18369:   (exit $ac_status); }; }; then
                   18370:   ac_cv_type_off_t=yes
1.62      paf      18371: else
1.66      paf      18372:   echo "$as_me: failed program was:" >&5
                   18373: sed 's/^/| /' conftest.$ac_ext >&5
                   18374: 
                   18375: ac_cv_type_off_t=no
                   18376: fi
1.86      paf      18377: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18378: fi
1.66      paf      18379: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   18380: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   18381: if test $ac_cv_type_off_t = yes; then
1.62      paf      18382:   :
                   18383: else
1.1       paf      18384: 
1.66      paf      18385: cat >>confdefs.h <<_ACEOF
                   18386: #define off_t long
                   18387: _ACEOF
                   18388: 
1.62      paf      18389: fi
1.1       paf      18390: 
1.66      paf      18391: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   18392: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   18393: if test "${ac_cv_type_ssize_t+set}" = set; then
                   18394:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18395: else
1.62      paf      18396:   cat >conftest.$ac_ext <<_ACEOF
                   18397: /* confdefs.h.  */
                   18398: _ACEOF
                   18399: cat confdefs.h >>conftest.$ac_ext
                   18400: cat >>conftest.$ac_ext <<_ACEOF
                   18401: /* end confdefs.h.  */
1.66      paf      18402: $ac_includes_default
                   18403: int
                   18404: main ()
                   18405: {
                   18406: if ((ssize_t *) 0)
                   18407:   return 0;
                   18408: if (sizeof (ssize_t))
                   18409:   return 0;
                   18410:   ;
                   18411:   return 0;
                   18412: }
1.62      paf      18413: _ACEOF
1.66      paf      18414: rm -f conftest.$ac_objext
                   18415: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18416:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18417:   ac_status=$?
1.86      paf      18418:   grep -v '^ *+' conftest.er1 >conftest.err
                   18419:   rm -f conftest.er1
                   18420:   cat conftest.err >&5
1.66      paf      18421:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18422:   (exit $ac_status); } &&
1.86      paf      18423:         { ac_try='test -z "$ac_c_werror_flag"
                   18424:                         || test ! -s conftest.err'
                   18425:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18426:   (eval $ac_try) 2>&5
                   18427:   ac_status=$?
                   18428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18429:   (exit $ac_status); }; } &&
                   18430:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18431:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18432:   (eval $ac_try) 2>&5
1.62      paf      18433:   ac_status=$?
                   18434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18435:   (exit $ac_status); }; }; then
                   18436:   ac_cv_type_ssize_t=yes
1.1       paf      18437: else
1.62      paf      18438:   echo "$as_me: failed program was:" >&5
                   18439: sed 's/^/| /' conftest.$ac_ext >&5
                   18440: 
1.66      paf      18441: ac_cv_type_ssize_t=no
                   18442: fi
1.86      paf      18443: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18444: fi
1.66      paf      18445: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   18446: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   18447: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      18448:   :
                   18449: else
1.66      paf      18450: 
                   18451: cat >>confdefs.h <<_ACEOF
                   18452: #define ssize_t int
                   18453: _ACEOF
                   18454: 
1.1       paf      18455: fi
1.62      paf      18456: 
                   18457: 
                   18458: 
1.66      paf      18459: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   18460: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   18461: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      18462:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18463: else
                   18464:   cat >conftest.$ac_ext <<_ACEOF
                   18465: /* confdefs.h.  */
                   18466: _ACEOF
                   18467: cat confdefs.h >>conftest.$ac_ext
                   18468: cat >>conftest.$ac_ext <<_ACEOF
                   18469: /* end confdefs.h.  */
1.66      paf      18470: #include <sys/types.h>
                   18471: #include <sys/time.h>
                   18472: #include <time.h>
1.62      paf      18473: 
                   18474: int
                   18475: main ()
                   18476: {
1.66      paf      18477: if ((struct tm *) 0)
                   18478: return 0;
1.62      paf      18479:   ;
                   18480:   return 0;
                   18481: }
                   18482: _ACEOF
                   18483: rm -f conftest.$ac_objext
                   18484: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18485:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18486:   ac_status=$?
1.86      paf      18487:   grep -v '^ *+' conftest.er1 >conftest.err
                   18488:   rm -f conftest.er1
                   18489:   cat conftest.err >&5
1.62      paf      18490:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18491:   (exit $ac_status); } &&
1.86      paf      18492:         { ac_try='test -z "$ac_c_werror_flag"
                   18493:                         || test ! -s conftest.err'
                   18494:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18495:   (eval $ac_try) 2>&5
                   18496:   ac_status=$?
                   18497:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18498:   (exit $ac_status); }; } &&
                   18499:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18500:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18501:   (eval $ac_try) 2>&5
                   18502:   ac_status=$?
                   18503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18504:   (exit $ac_status); }; }; then
1.66      paf      18505:   ac_cv_header_time=yes
1.1       paf      18506: else
1.62      paf      18507:   echo "$as_me: failed program was:" >&5
                   18508: sed 's/^/| /' conftest.$ac_ext >&5
                   18509: 
1.66      paf      18510: ac_cv_header_time=no
1.1       paf      18511: fi
1.86      paf      18512: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18513: fi
                   18514: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   18515: echo "${ECHO_T}$ac_cv_header_time" >&6
                   18516: if test $ac_cv_header_time = yes; then
1.1       paf      18517: 
1.66      paf      18518: cat >>confdefs.h <<\_ACEOF
                   18519: #define TIME_WITH_SYS_TIME 1
1.62      paf      18520: _ACEOF
                   18521: 
1.1       paf      18522: fi
                   18523: 
                   18524: 
1.62      paf      18525: 
1.1       paf      18526: 
1.66      paf      18527: 
                   18528: 
                   18529: 
                   18530: 
                   18531: 
                   18532: 
                   18533: 
                   18534: 
                   18535: 
                   18536: 
                   18537: 
                   18538: 
                   18539: 
                   18540: 
                   18541: 
                   18542: 
                   18543: 
                   18544: 
                   18545: 
                   18546: 
                   18547: 
                   18548: 
                   18549: 
                   18550: 
                   18551: 
                   18552: 
                   18553: 
                   18554: 
1.128     moko     18555: 
1.67      paf      18556: for ac_header in assert.h \
                   18557: signal.h \
1.66      paf      18558: unistd.h \
                   18559: process.h \
                   18560: stddef.h \
                   18561: stdarg.h \
                   18562: fcntl.h \
                   18563: sys/stat.h \
                   18564: io.h \
                   18565: stdio.h \
                   18566: errno.h \
                   18567: ctype.h \
                   18568: math.h \
                   18569: crypt.h \
                   18570: time.h sys/time.h \
                   18571: string.h \
                   18572: direct.h \
                   18573: setjmp.h \
                   18574: memory.h \
1.128     moko     18575: limits.h \
1.66      paf      18576: sys/file.h \
                   18577: sys/locking.h \
                   18578: sys/types.h \
                   18579: sys/select.h \
                   18580: sys/resource.h \
                   18581: winsock.h \
                   18582: sys/socket.h \
                   18583: netinet/in.h \
                   18584: arpa/inet.h \
                   18585: netdb.h
                   18586: 
                   18587: do
                   18588: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18589: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18590:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18591: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18592: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18593:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      18594: fi
1.66      paf      18595: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18596: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18597: else
1.66      paf      18598:   # Is the header compilable?
                   18599: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   18600: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   18601: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18602: /* confdefs.h.  */
                   18603: _ACEOF
                   18604: cat confdefs.h >>conftest.$ac_ext
                   18605: cat >>conftest.$ac_ext <<_ACEOF
                   18606: /* end confdefs.h.  */
1.66      paf      18607: $ac_includes_default
                   18608: #include <$ac_header>
1.62      paf      18609: _ACEOF
1.66      paf      18610: rm -f conftest.$ac_objext
                   18611: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18612:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18613:   ac_status=$?
1.86      paf      18614:   grep -v '^ *+' conftest.er1 >conftest.err
                   18615:   rm -f conftest.er1
                   18616:   cat conftest.err >&5
1.62      paf      18617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18618:   (exit $ac_status); } &&
1.86      paf      18619:         { ac_try='test -z "$ac_c_werror_flag"
                   18620:                         || test ! -s conftest.err'
                   18621:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18622:   (eval $ac_try) 2>&5
                   18623:   ac_status=$?
                   18624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18625:   (exit $ac_status); }; } &&
                   18626:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18627:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18628:   (eval $ac_try) 2>&5
                   18629:   ac_status=$?
                   18630:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18631:   (exit $ac_status); }; }; then
1.66      paf      18632:   ac_header_compiler=yes
1.1       paf      18633: else
1.66      paf      18634:   echo "$as_me: failed program was:" >&5
1.62      paf      18635: sed 's/^/| /' conftest.$ac_ext >&5
                   18636: 
1.66      paf      18637: ac_header_compiler=no
1.1       paf      18638: fi
1.86      paf      18639: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18640: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   18641: echo "${ECHO_T}$ac_header_compiler" >&6
                   18642: 
                   18643: # Is the header present?
                   18644: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   18645: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   18646: cat >conftest.$ac_ext <<_ACEOF
                   18647: /* confdefs.h.  */
                   18648: _ACEOF
                   18649: cat confdefs.h >>conftest.$ac_ext
                   18650: cat >>conftest.$ac_ext <<_ACEOF
                   18651: /* end confdefs.h.  */
                   18652: #include <$ac_header>
                   18653: _ACEOF
                   18654: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   18655:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   18656:   ac_status=$?
                   18657:   grep -v '^ *+' conftest.er1 >conftest.err
                   18658:   rm -f conftest.er1
                   18659:   cat conftest.err >&5
                   18660:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18661:   (exit $ac_status); } >/dev/null; then
                   18662:   if test -s conftest.err; then
                   18663:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      18664:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      18665:   else
                   18666:     ac_cpp_err=
                   18667:   fi
                   18668: else
                   18669:   ac_cpp_err=yes
1.1       paf      18670: fi
1.66      paf      18671: if test -z "$ac_cpp_err"; then
                   18672:   ac_header_preproc=yes
                   18673: else
                   18674:   echo "$as_me: failed program was:" >&5
                   18675: sed 's/^/| /' conftest.$ac_ext >&5
                   18676: 
                   18677:   ac_header_preproc=no
1.1       paf      18678: fi
1.66      paf      18679: rm -f conftest.err conftest.$ac_ext
                   18680: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   18681: echo "${ECHO_T}$ac_header_preproc" >&6
                   18682: 
                   18683: # So?  What about this header?
1.86      paf      18684: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   18685:   yes:no: )
1.66      paf      18686:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   18687: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      18688:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   18689: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   18690:     ac_header_preproc=yes
1.66      paf      18691:     ;;
1.86      paf      18692:   no:yes:* )
1.66      paf      18693:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   18694: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      18695:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   18696: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   18697:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   18698: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   18699:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   18700: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      18701:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   18702: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      18703:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   18704: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      18705:     (
                   18706:       cat <<\_ASBOX
1.128     moko     18707: ## --------------------------------- ##
                   18708: ## Report this to the parser lists.  ##
                   18709: ## --------------------------------- ##
1.66      paf      18710: _ASBOX
                   18711:     ) |
                   18712:       sed "s/^/$as_me: WARNING:     /" >&2
                   18713:     ;;
                   18714: esac
                   18715: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18716: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18717: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18718:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18719: else
1.86      paf      18720:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      18721: fi
1.66      paf      18722: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18723: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18724: 
1.66      paf      18725: fi
                   18726: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   18727:   cat >>confdefs.h <<_ACEOF
                   18728: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18729: _ACEOF
                   18730: 
                   18731: fi
                   18732: 
1.66      paf      18733: done
1.62      paf      18734: 
                   18735: 
                   18736: 
1.128     moko     18737: 
                   18738: 
1.66      paf      18739: case "$host" in
1.107     misha    18740:   *-freebsd4*)
                   18741: 
                   18742: cat >>confdefs.h <<\_ACEOF
                   18743: #define FREEBSD4
                   18744: _ACEOF
                   18745: 
                   18746:   ;;
1.66      paf      18747:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      18748: 
1.66      paf      18749: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   18750: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   18751: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      18752:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18753: else
1.66      paf      18754:   ac_check_lib_save_LIBS=$LIBS
                   18755: LIBS="-lxnet  $LIBS"
                   18756: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18757: /* confdefs.h.  */
                   18758: _ACEOF
                   18759: cat confdefs.h >>conftest.$ac_ext
                   18760: cat >>conftest.$ac_ext <<_ACEOF
                   18761: /* end confdefs.h.  */
                   18762: 
1.66      paf      18763: 
                   18764: int
                   18765: main ()
                   18766: {
                   18767: main ();
                   18768:   ;
                   18769:   return 0;
                   18770: }
1.62      paf      18771: _ACEOF
1.66      paf      18772: rm -f conftest.$ac_objext conftest$ac_exeext
                   18773: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18774:   (eval $ac_link) 2>conftest.er1
1.62      paf      18775:   ac_status=$?
1.86      paf      18776:   grep -v '^ *+' conftest.er1 >conftest.err
                   18777:   rm -f conftest.er1
                   18778:   cat conftest.err >&5
1.62      paf      18779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18780:   (exit $ac_status); } &&
1.86      paf      18781:         { ac_try='test -z "$ac_c_werror_flag"
                   18782:                         || test ! -s conftest.err'
                   18783:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18784:   (eval $ac_try) 2>&5
                   18785:   ac_status=$?
                   18786:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18787:   (exit $ac_status); }; } &&
                   18788:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18789:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18790:   (eval $ac_try) 2>&5
                   18791:   ac_status=$?
                   18792:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18793:   (exit $ac_status); }; }; then
1.66      paf      18794:   ac_cv_lib_xnet_main=yes
1.62      paf      18795: else
                   18796:   echo "$as_me: failed program was:" >&5
                   18797: sed 's/^/| /' conftest.$ac_ext >&5
                   18798: 
1.66      paf      18799: ac_cv_lib_xnet_main=no
1.62      paf      18800: fi
1.86      paf      18801: rm -f conftest.err conftest.$ac_objext \
                   18802:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18803: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18804: fi
1.66      paf      18805: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   18806: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   18807: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      18808:   cat >>confdefs.h <<_ACEOF
1.66      paf      18809: #define HAVE_LIBXNET 1
1.62      paf      18810: _ACEOF
1.1       paf      18811: 
1.66      paf      18812:   LIBS="-lxnet $LIBS"
                   18813: 
1.1       paf      18814: fi
                   18815: 
1.66      paf      18816:   ;;
                   18817:   *-sunos5* | *-solaris2*)
1.62      paf      18818: 
1.66      paf      18819: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   18820: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   18821: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      18822:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18823: else
1.66      paf      18824:   ac_check_lib_save_LIBS=$LIBS
                   18825: LIBS="-lsocket  $LIBS"
                   18826: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18827: /* confdefs.h.  */
                   18828: _ACEOF
                   18829: cat confdefs.h >>conftest.$ac_ext
                   18830: cat >>conftest.$ac_ext <<_ACEOF
                   18831: /* end confdefs.h.  */
1.66      paf      18832: 
                   18833: 
1.62      paf      18834: int
                   18835: main ()
                   18836: {
1.66      paf      18837: main ();
1.62      paf      18838:   ;
                   18839:   return 0;
                   18840: }
                   18841: _ACEOF
1.66      paf      18842: rm -f conftest.$ac_objext conftest$ac_exeext
                   18843: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18844:   (eval $ac_link) 2>conftest.er1
1.62      paf      18845:   ac_status=$?
1.86      paf      18846:   grep -v '^ *+' conftest.er1 >conftest.err
                   18847:   rm -f conftest.er1
                   18848:   cat conftest.err >&5
1.62      paf      18849:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18850:   (exit $ac_status); } &&
1.86      paf      18851:         { ac_try='test -z "$ac_c_werror_flag"
                   18852:                         || test ! -s conftest.err'
                   18853:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18854:   (eval $ac_try) 2>&5
                   18855:   ac_status=$?
                   18856:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18857:   (exit $ac_status); }; } &&
                   18858:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18859:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18860:   (eval $ac_try) 2>&5
                   18861:   ac_status=$?
                   18862:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18863:   (exit $ac_status); }; }; then
1.66      paf      18864:   ac_cv_lib_socket_main=yes
1.1       paf      18865: else
1.62      paf      18866:   echo "$as_me: failed program was:" >&5
                   18867: sed 's/^/| /' conftest.$ac_ext >&5
                   18868: 
1.66      paf      18869: ac_cv_lib_socket_main=no
1.1       paf      18870: fi
1.86      paf      18871: rm -f conftest.err conftest.$ac_objext \
                   18872:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18873: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18874: fi
1.66      paf      18875: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   18876: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   18877: if test $ac_cv_lib_socket_main = yes; then
                   18878:   cat >>confdefs.h <<_ACEOF
                   18879: #define HAVE_LIBSOCKET 1
                   18880: _ACEOF
1.1       paf      18881: 
1.66      paf      18882:   LIBS="-lsocket $LIBS"
1.1       paf      18883: 
                   18884: fi
                   18885: 
1.66      paf      18886: 
                   18887: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   18888: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   18889: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      18890:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18891: else
1.66      paf      18892:   ac_check_lib_save_LIBS=$LIBS
                   18893: LIBS="-lnsl  $LIBS"
                   18894: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18895: /* confdefs.h.  */
                   18896: _ACEOF
                   18897: cat confdefs.h >>conftest.$ac_ext
                   18898: cat >>conftest.$ac_ext <<_ACEOF
                   18899: /* end confdefs.h.  */
1.66      paf      18900: 
                   18901: 
1.62      paf      18902: int
                   18903: main ()
                   18904: {
1.66      paf      18905: main ();
1.62      paf      18906:   ;
                   18907:   return 0;
                   18908: }
                   18909: _ACEOF
1.66      paf      18910: rm -f conftest.$ac_objext conftest$ac_exeext
                   18911: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18912:   (eval $ac_link) 2>conftest.er1
1.62      paf      18913:   ac_status=$?
1.86      paf      18914:   grep -v '^ *+' conftest.er1 >conftest.err
                   18915:   rm -f conftest.er1
                   18916:   cat conftest.err >&5
1.62      paf      18917:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18918:   (exit $ac_status); } &&
1.86      paf      18919:         { ac_try='test -z "$ac_c_werror_flag"
                   18920:                         || test ! -s conftest.err'
                   18921:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18922:   (eval $ac_try) 2>&5
                   18923:   ac_status=$?
                   18924:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18925:   (exit $ac_status); }; } &&
                   18926:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18927:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18928:   (eval $ac_try) 2>&5
                   18929:   ac_status=$?
                   18930:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18931:   (exit $ac_status); }; }; then
1.66      paf      18932:   ac_cv_lib_nsl_main=yes
1.30      paf      18933: else
1.62      paf      18934:   echo "$as_me: failed program was:" >&5
                   18935: sed 's/^/| /' conftest.$ac_ext >&5
                   18936: 
1.66      paf      18937: ac_cv_lib_nsl_main=no
1.30      paf      18938: fi
1.86      paf      18939: rm -f conftest.err conftest.$ac_objext \
                   18940:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18941: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18942: fi
1.66      paf      18943: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   18944: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   18945: if test $ac_cv_lib_nsl_main = yes; then
                   18946:   cat >>confdefs.h <<_ACEOF
                   18947: #define HAVE_LIBNSL 1
                   18948: _ACEOF
1.30      paf      18949: 
1.66      paf      18950:   LIBS="-lnsl $LIBS"
1.30      paf      18951: 
                   18952: fi
                   18953: 
1.66      paf      18954:   ;;
                   18955:   *-nec-sysv4*)
                   18956: 
                   18957: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   18958: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   18959: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      18960:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18961: else
1.66      paf      18962:   ac_check_lib_save_LIBS=$LIBS
                   18963: LIBS="-lnsl  $LIBS"
                   18964: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18965: /* confdefs.h.  */
                   18966: _ACEOF
                   18967: cat confdefs.h >>conftest.$ac_ext
                   18968: cat >>conftest.$ac_ext <<_ACEOF
                   18969: /* end confdefs.h.  */
1.66      paf      18970: 
                   18971: /* Override any gcc2 internal prototype to avoid an error.  */
                   18972: #ifdef __cplusplus
                   18973: extern "C"
                   18974: #endif
                   18975: /* We use char because int might match the return type of a gcc2
                   18976:    builtin and then its argument prototype would still apply.  */
                   18977: char gethostbyname ();
1.62      paf      18978: int
                   18979: main ()
                   18980: {
1.66      paf      18981: gethostbyname ();
1.62      paf      18982:   ;
                   18983:   return 0;
                   18984: }
                   18985: _ACEOF
1.66      paf      18986: rm -f conftest.$ac_objext conftest$ac_exeext
                   18987: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18988:   (eval $ac_link) 2>conftest.er1
1.62      paf      18989:   ac_status=$?
1.86      paf      18990:   grep -v '^ *+' conftest.er1 >conftest.err
                   18991:   rm -f conftest.er1
                   18992:   cat conftest.err >&5
1.62      paf      18993:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18994:   (exit $ac_status); } &&
1.86      paf      18995:         { ac_try='test -z "$ac_c_werror_flag"
                   18996:                         || test ! -s conftest.err'
                   18997:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18998:   (eval $ac_try) 2>&5
                   18999:   ac_status=$?
                   19000:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19001:   (exit $ac_status); }; } &&
                   19002:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19003:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19004:   (eval $ac_try) 2>&5
                   19005:   ac_status=$?
                   19006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19007:   (exit $ac_status); }; }; then
1.66      paf      19008:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      19009: else
1.62      paf      19010:   echo "$as_me: failed program was:" >&5
                   19011: sed 's/^/| /' conftest.$ac_ext >&5
                   19012: 
1.66      paf      19013: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      19014: fi
1.86      paf      19015: rm -f conftest.err conftest.$ac_objext \
                   19016:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19017: LIBS=$ac_check_lib_save_LIBS
1.62      paf      19018: fi
1.66      paf      19019: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   19020: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   19021: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   19022:   cat >>confdefs.h <<_ACEOF
                   19023: #define HAVE_LIBNSL 1
                   19024: _ACEOF
1.30      paf      19025: 
1.66      paf      19026:   LIBS="-lnsl $LIBS"
1.30      paf      19027: 
                   19028: fi
                   19029: 
                   19030: 
1.66      paf      19031: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   19032: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   19033: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      19034:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      19035: else
1.66      paf      19036:   ac_check_lib_save_LIBS=$LIBS
                   19037: LIBS="-lsocket  $LIBS"
                   19038: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19039: /* confdefs.h.  */
                   19040: _ACEOF
                   19041: cat confdefs.h >>conftest.$ac_ext
                   19042: cat >>conftest.$ac_ext <<_ACEOF
                   19043: /* end confdefs.h.  */
                   19044: 
1.66      paf      19045: /* Override any gcc2 internal prototype to avoid an error.  */
                   19046: #ifdef __cplusplus
                   19047: extern "C"
                   19048: #endif
                   19049: /* We use char because int might match the return type of a gcc2
                   19050:    builtin and then its argument prototype would still apply.  */
                   19051: char socket ();
1.62      paf      19052: int
                   19053: main ()
                   19054: {
1.66      paf      19055: socket ();
1.62      paf      19056:   ;
                   19057:   return 0;
                   19058: }
                   19059: _ACEOF
1.66      paf      19060: rm -f conftest.$ac_objext conftest$ac_exeext
                   19061: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19062:   (eval $ac_link) 2>conftest.er1
1.62      paf      19063:   ac_status=$?
1.86      paf      19064:   grep -v '^ *+' conftest.er1 >conftest.err
                   19065:   rm -f conftest.er1
                   19066:   cat conftest.err >&5
1.62      paf      19067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19068:   (exit $ac_status); } &&
1.86      paf      19069:         { ac_try='test -z "$ac_c_werror_flag"
                   19070:                         || test ! -s conftest.err'
                   19071:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19072:   (eval $ac_try) 2>&5
                   19073:   ac_status=$?
                   19074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19075:   (exit $ac_status); }; } &&
                   19076:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19077:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19078:   (eval $ac_try) 2>&5
                   19079:   ac_status=$?
                   19080:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19081:   (exit $ac_status); }; }; then
1.66      paf      19082:   ac_cv_lib_socket_socket=yes
1.8       paf      19083: else
1.62      paf      19084:   echo "$as_me: failed program was:" >&5
                   19085: sed 's/^/| /' conftest.$ac_ext >&5
                   19086: 
1.66      paf      19087: ac_cv_lib_socket_socket=no
1.8       paf      19088: fi
1.86      paf      19089: rm -f conftest.err conftest.$ac_objext \
                   19090:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19091: LIBS=$ac_check_lib_save_LIBS
1.8       paf      19092: fi
1.66      paf      19093: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   19094: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   19095: if test $ac_cv_lib_socket_socket = yes; then
                   19096:   cat >>confdefs.h <<_ACEOF
1.128     moko     19097: #define HAVE_LIBSOCKET 1
1.66      paf      19098: _ACEOF
                   19099: 
1.128     moko     19100:   LIBS="-lsocket $LIBS"
1.66      paf      19101: 
1.62      paf      19102: fi
                   19103: 
1.66      paf      19104:   ;;
1.128     moko     19105:   *-cygwin*)
                   19106: 
                   19107: cat >>confdefs.h <<\_ACEOF
                   19108: #define WIN32
                   19109: _ACEOF
1.66      paf      19110: 
1.128     moko     19111: 
                   19112: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   19113: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   19114: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.66      paf      19115:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19116: else
                   19117:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     19118: LIBS="-lwsock32  $LIBS"
1.62      paf      19119: cat >conftest.$ac_ext <<_ACEOF
                   19120: /* confdefs.h.  */
                   19121: _ACEOF
                   19122: cat confdefs.h >>conftest.$ac_ext
                   19123: cat >>conftest.$ac_ext <<_ACEOF
                   19124: /* end confdefs.h.  */
1.66      paf      19125: 
1.128     moko     19126: /* Override any gcc2 internal prototype to avoid an error.  */
                   19127: #ifdef __cplusplus
                   19128: extern "C"
                   19129: #endif
                   19130: /* We use char because int might match the return type of a gcc2
                   19131:    builtin and then its argument prototype would still apply.  */
                   19132: char socket ();
1.66      paf      19133: int
                   19134: main ()
                   19135: {
1.128     moko     19136: socket ();
1.66      paf      19137:   ;
                   19138:   return 0;
                   19139: }
1.62      paf      19140: _ACEOF
1.66      paf      19141: rm -f conftest.$ac_objext conftest$ac_exeext
                   19142: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19143:   (eval $ac_link) 2>conftest.er1
1.66      paf      19144:   ac_status=$?
1.86      paf      19145:   grep -v '^ *+' conftest.er1 >conftest.err
                   19146:   rm -f conftest.er1
                   19147:   cat conftest.err >&5
1.66      paf      19148:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19149:   (exit $ac_status); } &&
1.86      paf      19150:         { ac_try='test -z "$ac_c_werror_flag"
                   19151:                         || test ! -s conftest.err'
                   19152:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19153:   (eval $ac_try) 2>&5
                   19154:   ac_status=$?
                   19155:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19156:   (exit $ac_status); }; } &&
                   19157:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      19158:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19159:   (eval $ac_try) 2>&5
1.62      paf      19160:   ac_status=$?
                   19161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      19162:   (exit $ac_status); }; }; then
1.128     moko     19163:   ac_cv_lib_wsock32_socket=yes
1.62      paf      19164: else
                   19165:   echo "$as_me: failed program was:" >&5
                   19166: sed 's/^/| /' conftest.$ac_ext >&5
                   19167: 
1.128     moko     19168: ac_cv_lib_wsock32_socket=no
1.62      paf      19169: fi
1.86      paf      19170: rm -f conftest.err conftest.$ac_objext \
                   19171:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19172: LIBS=$ac_check_lib_save_LIBS
1.1       paf      19173: fi
1.128     moko     19174: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   19175: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   19176: if test $ac_cv_lib_wsock32_socket = yes; then
1.62      paf      19177:   cat >>confdefs.h <<_ACEOF
1.128     moko     19178: #define HAVE_LIBWSOCK32 1
1.62      paf      19179: _ACEOF
                   19180: 
1.128     moko     19181:   LIBS="-lwsock32 $LIBS"
1.66      paf      19182: 
1.1       paf      19183: fi
1.62      paf      19184: 
1.66      paf      19185:   ;;
                   19186: esac
1.1       paf      19187: 
                   19188: 
1.66      paf      19189: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   19190: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   19191: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      19192:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19193: else
1.62      paf      19194:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19195: LIBS="-lm  $LIBS"
1.62      paf      19196: cat >conftest.$ac_ext <<_ACEOF
                   19197: /* confdefs.h.  */
                   19198: _ACEOF
                   19199: cat confdefs.h >>conftest.$ac_ext
                   19200: cat >>conftest.$ac_ext <<_ACEOF
                   19201: /* end confdefs.h.  */
                   19202: 
1.66      paf      19203: /* Override any gcc2 internal prototype to avoid an error.  */
                   19204: #ifdef __cplusplus
                   19205: extern "C"
                   19206: #endif
                   19207: /* We use char because int might match the return type of a gcc2
                   19208:    builtin and then its argument prototype would still apply.  */
                   19209: char sin ();
1.62      paf      19210: int
                   19211: main ()
                   19212: {
1.66      paf      19213: sin ();
1.62      paf      19214:   ;
                   19215:   return 0;
                   19216: }
                   19217: _ACEOF
                   19218: rm -f conftest.$ac_objext conftest$ac_exeext
                   19219: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19220:   (eval $ac_link) 2>conftest.er1
1.62      paf      19221:   ac_status=$?
1.86      paf      19222:   grep -v '^ *+' conftest.er1 >conftest.err
                   19223:   rm -f conftest.er1
                   19224:   cat conftest.err >&5
1.62      paf      19225:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19226:   (exit $ac_status); } &&
1.86      paf      19227:         { ac_try='test -z "$ac_c_werror_flag"
                   19228:                         || test ! -s conftest.err'
                   19229:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19230:   (eval $ac_try) 2>&5
                   19231:   ac_status=$?
                   19232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19233:   (exit $ac_status); }; } &&
                   19234:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19235:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19236:   (eval $ac_try) 2>&5
                   19237:   ac_status=$?
                   19238:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19239:   (exit $ac_status); }; }; then
1.66      paf      19240:   ac_cv_lib_m_sin=yes
1.62      paf      19241: else
                   19242:   echo "$as_me: failed program was:" >&5
                   19243: sed 's/^/| /' conftest.$ac_ext >&5
                   19244: 
1.66      paf      19245: ac_cv_lib_m_sin=no
1.62      paf      19246: fi
1.86      paf      19247: rm -f conftest.err conftest.$ac_objext \
                   19248:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19249: LIBS=$ac_check_lib_save_LIBS
                   19250: fi
1.66      paf      19251: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   19252: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   19253: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      19254:   cat >>confdefs.h <<_ACEOF
1.66      paf      19255: #define HAVE_LIBM 1
1.62      paf      19256: _ACEOF
1.1       paf      19257: 
1.66      paf      19258:   LIBS="-lm $LIBS"
1.1       paf      19259: 
                   19260: fi
                   19261: 
1.62      paf      19262: 
1.66      paf      19263: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   19264: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   19265: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      19266:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19267: else
1.62      paf      19268:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19269: LIBS="-lcrypt  $LIBS"
1.62      paf      19270: cat >conftest.$ac_ext <<_ACEOF
                   19271: /* confdefs.h.  */
                   19272: _ACEOF
                   19273: cat confdefs.h >>conftest.$ac_ext
                   19274: cat >>conftest.$ac_ext <<_ACEOF
                   19275: /* end confdefs.h.  */
                   19276: 
1.66      paf      19277: /* Override any gcc2 internal prototype to avoid an error.  */
                   19278: #ifdef __cplusplus
                   19279: extern "C"
                   19280: #endif
                   19281: /* We use char because int might match the return type of a gcc2
                   19282:    builtin and then its argument prototype would still apply.  */
                   19283: char crypt ();
1.62      paf      19284: int
                   19285: main ()
                   19286: {
1.66      paf      19287: crypt ();
1.62      paf      19288:   ;
                   19289:   return 0;
                   19290: }
                   19291: _ACEOF
                   19292: rm -f conftest.$ac_objext conftest$ac_exeext
                   19293: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19294:   (eval $ac_link) 2>conftest.er1
1.62      paf      19295:   ac_status=$?
1.86      paf      19296:   grep -v '^ *+' conftest.er1 >conftest.err
                   19297:   rm -f conftest.er1
                   19298:   cat conftest.err >&5
1.62      paf      19299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19300:   (exit $ac_status); } &&
1.86      paf      19301:         { ac_try='test -z "$ac_c_werror_flag"
                   19302:                         || test ! -s conftest.err'
                   19303:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19304:   (eval $ac_try) 2>&5
                   19305:   ac_status=$?
                   19306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19307:   (exit $ac_status); }; } &&
                   19308:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19309:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19310:   (eval $ac_try) 2>&5
                   19311:   ac_status=$?
                   19312:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19313:   (exit $ac_status); }; }; then
1.66      paf      19314:   ac_cv_lib_crypt_crypt=yes
1.62      paf      19315: else
                   19316:   echo "$as_me: failed program was:" >&5
                   19317: sed 's/^/| /' conftest.$ac_ext >&5
                   19318: 
1.66      paf      19319: ac_cv_lib_crypt_crypt=no
1.62      paf      19320: fi
1.86      paf      19321: rm -f conftest.err conftest.$ac_objext \
                   19322:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19323: LIBS=$ac_check_lib_save_LIBS
                   19324: fi
1.66      paf      19325: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   19326: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   19327: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      19328:   cat >>confdefs.h <<_ACEOF
1.66      paf      19329: #define HAVE_LIBCRYPT 1
1.62      paf      19330: _ACEOF
1.1       paf      19331: 
1.66      paf      19332:   LIBS="-lcrypt $LIBS"
                   19333: 
                   19334: fi
                   19335: 
                   19336: 
                   19337: 
                   19338: 
                   19339: 
                   19340: 
                   19341: 
                   19342: 
                   19343: 
                   19344: 
                   19345: 
                   19346: 
1.80      paf      19347: 
1.92      misha    19348: 
1.112     misha    19349: 
1.67      paf      19350: for ac_func in flock \
1.66      paf      19351: _locking \
                   19352: fcntl \
                   19353: lockf \
                   19354: ftruncate \
1.112     misha    19355: fchmod \
1.66      paf      19356: getrusage \
                   19357: gettimeofday \
                   19358: crypt \
1.80      paf      19359: sigsetjmp \
1.92      misha    19360: siglongjmp \
                   19361: unsetenv
1.66      paf      19362: 
                   19363: do
                   19364: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19365: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19366: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19367: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   19368:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19369: else
                   19370:   cat >conftest.$ac_ext <<_ACEOF
                   19371: /* confdefs.h.  */
                   19372: _ACEOF
                   19373: cat confdefs.h >>conftest.$ac_ext
                   19374: cat >>conftest.$ac_ext <<_ACEOF
                   19375: /* end confdefs.h.  */
1.86      paf      19376: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19377:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19378: #define $ac_func innocuous_$ac_func
                   19379: 
1.66      paf      19380: /* System header to define __stub macros and hopefully few prototypes,
                   19381:     which can conflict with char $ac_func (); below.
                   19382:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19383:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19384: 
1.66      paf      19385: #ifdef __STDC__
                   19386: # include <limits.h>
                   19387: #else
                   19388: # include <assert.h>
                   19389: #endif
1.86      paf      19390: 
                   19391: #undef $ac_func
                   19392: 
1.66      paf      19393: /* Override any gcc2 internal prototype to avoid an error.  */
                   19394: #ifdef __cplusplus
                   19395: extern "C"
                   19396: {
                   19397: #endif
                   19398: /* We use char because int might match the return type of a gcc2
                   19399:    builtin and then its argument prototype would still apply.  */
                   19400: char $ac_func ();
                   19401: /* The GNU C library defines this for functions which it implements
                   19402:     to always fail with ENOSYS.  Some functions are actually named
                   19403:     something starting with __ and the normal name is an alias.  */
                   19404: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19405: choke me
                   19406: #else
                   19407: char (*f) () = $ac_func;
                   19408: #endif
                   19409: #ifdef __cplusplus
                   19410: }
                   19411: #endif
1.62      paf      19412: 
                   19413: int
                   19414: main ()
                   19415: {
1.66      paf      19416: return f != $ac_func;
1.62      paf      19417:   ;
                   19418:   return 0;
                   19419: }
                   19420: _ACEOF
                   19421: rm -f conftest.$ac_objext conftest$ac_exeext
                   19422: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19423:   (eval $ac_link) 2>conftest.er1
1.62      paf      19424:   ac_status=$?
1.86      paf      19425:   grep -v '^ *+' conftest.er1 >conftest.err
                   19426:   rm -f conftest.er1
                   19427:   cat conftest.err >&5
1.62      paf      19428:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19429:   (exit $ac_status); } &&
1.86      paf      19430:         { ac_try='test -z "$ac_c_werror_flag"
                   19431:                         || test ! -s conftest.err'
                   19432:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19433:   (eval $ac_try) 2>&5
                   19434:   ac_status=$?
                   19435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19436:   (exit $ac_status); }; } &&
                   19437:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19438:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19439:   (eval $ac_try) 2>&5
                   19440:   ac_status=$?
                   19441:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19442:   (exit $ac_status); }; }; then
1.66      paf      19443:   eval "$as_ac_var=yes"
1.62      paf      19444: else
                   19445:   echo "$as_me: failed program was:" >&5
                   19446: sed 's/^/| /' conftest.$ac_ext >&5
                   19447: 
1.66      paf      19448: eval "$as_ac_var=no"
1.62      paf      19449: fi
1.86      paf      19450: rm -f conftest.err conftest.$ac_objext \
                   19451:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19452: fi
1.66      paf      19453: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19454: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19455: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19456:   cat >>confdefs.h <<_ACEOF
1.66      paf      19457: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19458: _ACEOF
1.1       paf      19459: 
1.66      paf      19460: fi
                   19461: done
                   19462: 
1.1       paf      19463: 
                   19464: 
1.67      paf      19465: pa_func=sigsetjmp
                   19466: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   19467: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   19468: cat >conftest.$ac_ext <<_ACEOF
                   19469: /* confdefs.h.  */
                   19470: _ACEOF
                   19471: cat confdefs.h >>conftest.$ac_ext
                   19472: cat >>conftest.$ac_ext <<_ACEOF
                   19473: /* end confdefs.h.  */
                   19474: 
                   19475: #ifdef HAVE_SETJMP_H
                   19476: #      include <setjmp.h>
                   19477: #endif
                   19478: 
                   19479: int
                   19480: main ()
                   19481: {
                   19482: 
                   19483:         $pa_func(0,0);
                   19484: 
                   19485:   ;
                   19486:   return 0;
                   19487: }
                   19488: _ACEOF
                   19489: rm -f conftest.$ac_objext
                   19490: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19491:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19492:   ac_status=$?
1.86      paf      19493:   grep -v '^ *+' conftest.er1 >conftest.err
                   19494:   rm -f conftest.er1
                   19495:   cat conftest.err >&5
1.67      paf      19496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19497:   (exit $ac_status); } &&
1.86      paf      19498:         { ac_try='test -z "$ac_c_werror_flag"
                   19499:                         || test ! -s conftest.err'
                   19500:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19501:   (eval $ac_try) 2>&5
                   19502:   ac_status=$?
                   19503:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19504:   (exit $ac_status); }; } &&
                   19505:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19506:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19507:   (eval $ac_try) 2>&5
                   19508:   ac_status=$?
                   19509:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19510:   (exit $ac_status); }; }; then
                   19511:   echo "$as_me:$LINENO: result: yes" >&5
                   19512: echo "${ECHO_T}yes" >&6
                   19513: cat >>confdefs.h <<_ACEOF
                   19514: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   19515: _ACEOF
                   19516: 
                   19517: 
                   19518: else
                   19519:   echo "$as_me: failed program was:" >&5
                   19520: sed 's/^/| /' conftest.$ac_ext >&5
                   19521: 
                   19522: echo "$as_me:$LINENO: result: no" >&5
                   19523: echo "${ECHO_T}no" >&6
                   19524: 
                   19525: fi
1.86      paf      19526: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19527: 
                   19528: 
                   19529: 
                   19530: ac_ext=cc
                   19531: ac_cpp='$CXXCPP $CPPFLAGS'
                   19532: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19533: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19534: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   19535: 
                   19536: 
                   19537: 
                   19538: 
                   19539: 
                   19540: 
                   19541: for pa_func in trunc \
                   19542: round \
                   19543: sign
                   19544: 
                   19545: do
                   19546: 
                   19547: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   19548: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   19549: cat >conftest.$ac_ext <<_ACEOF
                   19550: /* confdefs.h.  */
                   19551: _ACEOF
                   19552: cat confdefs.h >>conftest.$ac_ext
                   19553: cat >>conftest.$ac_ext <<_ACEOF
                   19554: /* end confdefs.h.  */
                   19555: 
                   19556: #ifdef HAVE_MATH_H
                   19557: #       include <math.h>
                   19558: #endif
                   19559: 
                   19560: int
                   19561: main ()
                   19562: {
                   19563: 
                   19564:         double result=$pa_func(1.6);
                   19565: 
                   19566:   ;
                   19567:   return 0;
                   19568: }
                   19569: _ACEOF
                   19570: rm -f conftest.$ac_objext
                   19571: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19572:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19573:   ac_status=$?
1.86      paf      19574:   grep -v '^ *+' conftest.er1 >conftest.err
                   19575:   rm -f conftest.er1
                   19576:   cat conftest.err >&5
1.67      paf      19577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19578:   (exit $ac_status); } &&
1.86      paf      19579:         { ac_try='test -z "$ac_cxx_werror_flag"
                   19580:                         || test ! -s conftest.err'
                   19581:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19582:   (eval $ac_try) 2>&5
                   19583:   ac_status=$?
                   19584:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19585:   (exit $ac_status); }; } &&
                   19586:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19587:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19588:   (eval $ac_try) 2>&5
                   19589:   ac_status=$?
                   19590:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19591:   (exit $ac_status); }; }; then
                   19592:   echo "$as_me:$LINENO: result: yes" >&5
                   19593: echo "${ECHO_T}yes" >&6
                   19594: cat >>confdefs.h <<_ACEOF
                   19595: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   19596: _ACEOF
                   19597: 
                   19598: else
                   19599:   echo "$as_me: failed program was:" >&5
                   19600: sed 's/^/| /' conftest.$ac_ext >&5
                   19601: 
                   19602: echo "$as_me:$LINENO: result: no" >&5
                   19603: echo "${ECHO_T}no" >&6
                   19604: 
                   19605: fi
1.86      paf      19606: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19607: 
                   19608: done
                   19609: 
                   19610: ac_ext=c
                   19611: ac_cpp='$CPP $CPPFLAGS'
                   19612: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19613: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19614: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19615: 
                   19616: 
                   19617: 
1.62      paf      19618: 
1.66      paf      19619: for ac_func in qsort
                   19620: do
                   19621: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19622: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19623: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19624: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      19625:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19626: else
1.66      paf      19627:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19628: /* confdefs.h.  */
                   19629: _ACEOF
                   19630: cat confdefs.h >>conftest.$ac_ext
                   19631: cat >>conftest.$ac_ext <<_ACEOF
                   19632: /* end confdefs.h.  */
1.86      paf      19633: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19634:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19635: #define $ac_func innocuous_$ac_func
                   19636: 
1.66      paf      19637: /* System header to define __stub macros and hopefully few prototypes,
                   19638:     which can conflict with char $ac_func (); below.
                   19639:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19640:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19641: 
1.66      paf      19642: #ifdef __STDC__
                   19643: # include <limits.h>
                   19644: #else
                   19645: # include <assert.h>
                   19646: #endif
1.86      paf      19647: 
                   19648: #undef $ac_func
                   19649: 
1.1       paf      19650: /* Override any gcc2 internal prototype to avoid an error.  */
                   19651: #ifdef __cplusplus
                   19652: extern "C"
1.66      paf      19653: {
1.1       paf      19654: #endif
                   19655: /* We use char because int might match the return type of a gcc2
1.62      paf      19656:    builtin and then its argument prototype would still apply.  */
1.66      paf      19657: char $ac_func ();
                   19658: /* The GNU C library defines this for functions which it implements
                   19659:     to always fail with ENOSYS.  Some functions are actually named
                   19660:     something starting with __ and the normal name is an alias.  */
                   19661: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19662: choke me
                   19663: #else
                   19664: char (*f) () = $ac_func;
                   19665: #endif
                   19666: #ifdef __cplusplus
                   19667: }
                   19668: #endif
                   19669: 
1.62      paf      19670: int
                   19671: main ()
                   19672: {
1.66      paf      19673: return f != $ac_func;
1.62      paf      19674:   ;
                   19675:   return 0;
                   19676: }
                   19677: _ACEOF
                   19678: rm -f conftest.$ac_objext conftest$ac_exeext
                   19679: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19680:   (eval $ac_link) 2>conftest.er1
1.62      paf      19681:   ac_status=$?
1.86      paf      19682:   grep -v '^ *+' conftest.er1 >conftest.err
                   19683:   rm -f conftest.er1
                   19684:   cat conftest.err >&5
1.62      paf      19685:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19686:   (exit $ac_status); } &&
1.86      paf      19687:         { ac_try='test -z "$ac_c_werror_flag"
                   19688:                         || test ! -s conftest.err'
                   19689:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19690:   (eval $ac_try) 2>&5
                   19691:   ac_status=$?
                   19692:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19693:   (exit $ac_status); }; } &&
                   19694:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19695:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19696:   (eval $ac_try) 2>&5
                   19697:   ac_status=$?
                   19698:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19699:   (exit $ac_status); }; }; then
1.66      paf      19700:   eval "$as_ac_var=yes"
1.62      paf      19701: else
                   19702:   echo "$as_me: failed program was:" >&5
                   19703: sed 's/^/| /' conftest.$ac_ext >&5
                   19704: 
1.66      paf      19705: eval "$as_ac_var=no"
1.62      paf      19706: fi
1.86      paf      19707: rm -f conftest.err conftest.$ac_objext \
                   19708:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19709: fi
1.66      paf      19710: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19711: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19712: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19713:   cat >>confdefs.h <<_ACEOF
1.66      paf      19714: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19715: _ACEOF
1.1       paf      19716: 
1.66      paf      19717: else
                   19718:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   19719: echo "$as_me: error: No qsort library function." >&2;}
                   19720:    { (exit 1); exit 1; }; }
1.1       paf      19721: fi
1.66      paf      19722: done
1.1       paf      19723: 
                   19724: 
1.62      paf      19725: 
1.66      paf      19726: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   19727: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      19728: cat >conftest.$ac_ext <<_ACEOF
                   19729: /* confdefs.h.  */
                   19730: _ACEOF
                   19731: cat confdefs.h >>conftest.$ac_ext
                   19732: cat >>conftest.$ac_ext <<_ACEOF
                   19733: /* end confdefs.h.  */
1.66      paf      19734: #include <time.h>
1.62      paf      19735: int
                   19736: main ()
                   19737: {
1.66      paf      19738: 
                   19739: time_t test=timezone;
                   19740: 
1.62      paf      19741:   ;
                   19742:   return 0;
                   19743: }
                   19744: _ACEOF
1.66      paf      19745: rm -f conftest.$ac_objext
                   19746: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19747:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19748:   ac_status=$?
1.86      paf      19749:   grep -v '^ *+' conftest.er1 >conftest.err
                   19750:   rm -f conftest.er1
                   19751:   cat conftest.err >&5
1.62      paf      19752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19753:   (exit $ac_status); } &&
1.86      paf      19754:         { ac_try='test -z "$ac_c_werror_flag"
                   19755:                         || test ! -s conftest.err'
                   19756:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19757:   (eval $ac_try) 2>&5
                   19758:   ac_status=$?
                   19759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19760:   (exit $ac_status); }; } &&
                   19761:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19762:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19763:   (eval $ac_try) 2>&5
                   19764:   ac_status=$?
                   19765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19766:   (exit $ac_status); }; }; then
1.66      paf      19767:   cat >>confdefs.h <<\_ACEOF
                   19768: #define HAVE_TIMEZONE 1
                   19769: _ACEOF
                   19770: 
                   19771: echo "$as_me:$LINENO: result: yes" >&5
                   19772: echo "${ECHO_T}yes" >&6
1.62      paf      19773: else
                   19774:   echo "$as_me: failed program was:" >&5
                   19775: sed 's/^/| /' conftest.$ac_ext >&5
                   19776: 
1.66      paf      19777: echo "$as_me:$LINENO: result: no" >&5
                   19778: echo "${ECHO_T}no" >&6
1.62      paf      19779: fi
1.86      paf      19780: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19781: 
1.66      paf      19782: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   19783: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      19784: cat >conftest.$ac_ext <<_ACEOF
                   19785: /* confdefs.h.  */
                   19786: _ACEOF
                   19787: cat confdefs.h >>conftest.$ac_ext
                   19788: cat >>conftest.$ac_ext <<_ACEOF
                   19789: /* end confdefs.h.  */
1.66      paf      19790: #include <time.h>
1.62      paf      19791: int
                   19792: main ()
                   19793: {
1.66      paf      19794: 
                   19795: int test=daylight;
                   19796: 
1.62      paf      19797:   ;
                   19798:   return 0;
                   19799: }
                   19800: _ACEOF
1.66      paf      19801: rm -f conftest.$ac_objext
                   19802: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19803:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19804:   ac_status=$?
1.86      paf      19805:   grep -v '^ *+' conftest.er1 >conftest.err
                   19806:   rm -f conftest.er1
                   19807:   cat conftest.err >&5
1.62      paf      19808:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19809:   (exit $ac_status); } &&
1.86      paf      19810:         { ac_try='test -z "$ac_c_werror_flag"
                   19811:                         || test ! -s conftest.err'
                   19812:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19813:   (eval $ac_try) 2>&5
                   19814:   ac_status=$?
                   19815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19816:   (exit $ac_status); }; } &&
                   19817:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19818:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19819:   (eval $ac_try) 2>&5
                   19820:   ac_status=$?
                   19821:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19822:   (exit $ac_status); }; }; then
1.66      paf      19823:   cat >>confdefs.h <<\_ACEOF
                   19824: #define HAVE_DAYLIGHT 1
                   19825: _ACEOF
                   19826: 
                   19827: echo "$as_me:$LINENO: result: yes" >&5
                   19828: echo "${ECHO_T}yes" >&6
1.62      paf      19829: else
                   19830:   echo "$as_me: failed program was:" >&5
                   19831: sed 's/^/| /' conftest.$ac_ext >&5
                   19832: 
1.66      paf      19833: echo "$as_me:$LINENO: result: no" >&5
                   19834: echo "${ECHO_T}no" >&6
1.62      paf      19835: fi
1.86      paf      19836: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      19837: 
1.66      paf      19838: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   19839: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      19840: cat >conftest.$ac_ext <<_ACEOF
                   19841: /* confdefs.h.  */
                   19842: _ACEOF
                   19843: cat confdefs.h >>conftest.$ac_ext
                   19844: cat >>conftest.$ac_ext <<_ACEOF
                   19845: /* end confdefs.h.  */
1.66      paf      19846: #include <time.h>
1.62      paf      19847: int
                   19848: main ()
                   19849: {
1.66      paf      19850: struct tm tm;
                   19851: tm.tm_gmtoff=0;
                   19852: 
1.62      paf      19853:   ;
                   19854:   return 0;
                   19855: }
                   19856: _ACEOF
1.66      paf      19857: rm -f conftest.$ac_objext
                   19858: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19859:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19860:   ac_status=$?
1.86      paf      19861:   grep -v '^ *+' conftest.er1 >conftest.err
                   19862:   rm -f conftest.er1
                   19863:   cat conftest.err >&5
1.62      paf      19864:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19865:   (exit $ac_status); } &&
1.86      paf      19866:         { ac_try='test -z "$ac_c_werror_flag"
                   19867:                         || test ! -s conftest.err'
                   19868:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19869:   (eval $ac_try) 2>&5
                   19870:   ac_status=$?
                   19871:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19872:   (exit $ac_status); }; } &&
                   19873:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19874:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19875:   (eval $ac_try) 2>&5
                   19876:   ac_status=$?
                   19877:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19878:   (exit $ac_status); }; }; then
1.66      paf      19879:   cat >>confdefs.h <<\_ACEOF
                   19880: #define HAVE_TM_GMTOFF 1
                   19881: _ACEOF
                   19882: 
                   19883: echo "$as_me:$LINENO: result: yes" >&5
                   19884: echo "${ECHO_T}yes" >&6
1.62      paf      19885: else
                   19886:   echo "$as_me: failed program was:" >&5
                   19887: sed 's/^/| /' conftest.$ac_ext >&5
                   19888: 
1.66      paf      19889: echo "$as_me:$LINENO: result: no" >&5
                   19890: echo "${ECHO_T}no" >&6
1.62      paf      19891: fi
1.86      paf      19892: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19893: 
1.66      paf      19894: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   19895: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      19896: cat >conftest.$ac_ext <<_ACEOF
                   19897: /* confdefs.h.  */
                   19898: _ACEOF
                   19899: cat confdefs.h >>conftest.$ac_ext
                   19900: cat >>conftest.$ac_ext <<_ACEOF
                   19901: /* end confdefs.h.  */
1.66      paf      19902: #include <time.h>
1.62      paf      19903: int
                   19904: main ()
                   19905: {
1.66      paf      19906: struct tm tm;
                   19907: tm.tm_tzadj=0;
                   19908: 
1.62      paf      19909:   ;
                   19910:   return 0;
                   19911: }
                   19912: _ACEOF
1.66      paf      19913: rm -f conftest.$ac_objext
                   19914: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19915:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19916:   ac_status=$?
1.86      paf      19917:   grep -v '^ *+' conftest.er1 >conftest.err
                   19918:   rm -f conftest.er1
                   19919:   cat conftest.err >&5
1.62      paf      19920:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19921:   (exit $ac_status); } &&
1.86      paf      19922:         { ac_try='test -z "$ac_c_werror_flag"
                   19923:                         || test ! -s conftest.err'
                   19924:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19925:   (eval $ac_try) 2>&5
                   19926:   ac_status=$?
                   19927:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19928:   (exit $ac_status); }; } &&
                   19929:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19930:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19931:   (eval $ac_try) 2>&5
                   19932:   ac_status=$?
                   19933:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19934:   (exit $ac_status); }; }; then
1.66      paf      19935:   cat >>confdefs.h <<\_ACEOF
                   19936: #define HAVE_TM_TZADJ 1
                   19937: _ACEOF
                   19938: 
                   19939: echo "$as_me:$LINENO: result: yes" >&5
                   19940: echo "${ECHO_T}yes" >&6
1.62      paf      19941: else
                   19942:   echo "$as_me: failed program was:" >&5
                   19943: sed 's/^/| /' conftest.$ac_ext >&5
                   19944: 
1.66      paf      19945: echo "$as_me:$LINENO: result: no" >&5
                   19946: echo "${ECHO_T}no" >&6
1.62      paf      19947: fi
1.86      paf      19948: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      19949: 
                   19950: 
                   19951: 
                   19952: 
1.1       paf      19953: 
                   19954: 
                   19955: 
1.62      paf      19956: 
                   19957: 
                   19958: 
                   19959: 
                   19960: 
                   19961: 
                   19962: 
                   19963: 
                   19964: 
                   19965: 
                   19966: 
                   19967: 
                   19968: 
                   19969: 
                   19970: 
                   19971: 
                   19972: 
                   19973: 
                   19974: 
                   19975: 
                   19976: 
                   19977: 
                   19978: 
                   19979: 
1.128     moko     19980:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19981: 
                   19982: 
1.130     moko     19983:                                                                                                                                                                                                                                                                                                             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      19984: cat >confcache <<\_ACEOF
1.1       paf      19985: # This file is a shell script that caches the results of configure
                   19986: # tests run on this system so they can be shared between configure
1.62      paf      19987: # scripts and configure runs, see configure's option --config-cache.
                   19988: # It is not useful on other systems.  If it contains results you don't
                   19989: # want to keep, you may remove or edit it.
1.1       paf      19990: #
1.62      paf      19991: # config.status only pays attention to the cache file if you give it
                   19992: # the --recheck option to rerun configure.
1.1       paf      19993: #
1.62      paf      19994: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19995: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19996: # following values.
                   19997: 
                   19998: _ACEOF
                   19999: 
1.1       paf      20000: # The following way of writing the cache mishandles newlines in values,
                   20001: # but we know of no workaround that is simple, portable, and efficient.
                   20002: # So, don't put newlines in cache variables' values.
                   20003: # Ultrix sh set writes to stderr and can't be redirected directly,
                   20004: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      20005: {
                   20006:   (set) 2>&1 |
                   20007:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   20008:     *ac_space=\ *)
                   20009:       # `set' does not quote correctly, so add quotes (double-quote
                   20010:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   20011:       sed -n \
1.86      paf      20012:        "s/'/'\\\\''/g;
                   20013:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      20014:       ;;
                   20015:     *)
                   20016:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   20017:       sed -n \
1.86      paf      20018:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      20019:       ;;
                   20020:     esac;
                   20021: } |
                   20022:   sed '
                   20023:      t clear
                   20024:      : clear
                   20025:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   20026:      t end
                   20027:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   20028:      : end' >>confcache
                   20029: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      20030:   if test -w $cache_file; then
1.62      paf      20031:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   20032:     cat confcache >$cache_file
1.1       paf      20033:   else
                   20034:     echo "not updating unwritable cache $cache_file"
                   20035:   fi
                   20036: fi
                   20037: rm -f confcache
                   20038: 
                   20039: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   20040: # Let make expand exec_prefix.
                   20041: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   20042: 
1.62      paf      20043: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   20044: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   20045: # trailing colons and then remove the whole line if VPATH becomes empty
                   20046: # (actually we leave an empty line to preserve line numbers).
1.1       paf      20047: if test "x$srcdir" = x.; then
1.86      paf      20048:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      20049: s/:*\$(srcdir):*/:/;
                   20050: s/:*\${srcdir}:*/:/;
                   20051: s/:*@srcdir@:*/:/;
1.86      paf      20052: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      20053: s/:*$//;
1.86      paf      20054: s/^[^=]*=[      ]*$//;
1.62      paf      20055: }'
1.1       paf      20056: fi
                   20057: 
1.62      paf      20058: DEFS=-DHAVE_CONFIG_H
                   20059: 
                   20060: ac_libobjs=
                   20061: ac_ltlibobjs=
                   20062: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20063:   # 1. Remove the extension, and $U if already installed.
                   20064:   ac_i=`echo "$ac_i" |
1.86      paf      20065:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      20066:   # 2. Add them.
                   20067:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   20068:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   20069: done
                   20070: LIBOBJS=$ac_libobjs
                   20071: 
                   20072: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      20073: 
                   20074: 
1.62      paf      20075: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20076:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   20077: Usually this means the macro was only invoked conditionally." >&5
                   20078: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   20079: Usually this means the macro was only invoked conditionally." >&2;}
                   20080:    { (exit 1); exit 1; }; }
                   20081: fi
1.66      paf      20082: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   20083:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20084: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20085: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20086: Usually this means the macro was only invoked conditionally." >&2;}
                   20087:    { (exit 1); exit 1; }; }
                   20088: fi
1.66      paf      20089: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20090:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20091: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20092: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20093: Usually this means the macro was only invoked conditionally." >&2;}
                   20094:    { (exit 1); exit 1; }; }
                   20095: fi
1.122     moko     20096: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   20097:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20098: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     20099: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20100: Usually this means the macro was only invoked conditionally." >&2;}
                   20101:    { (exit 1); exit 1; }; }
                   20102: fi
1.128     moko     20103: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   20104:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   20105: Usually this means the macro was only invoked conditionally." >&5
                   20106: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   20107: Usually this means the macro was only invoked conditionally." >&2;}
                   20108:    { (exit 1); exit 1; }; }
                   20109: fi
                   20110: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   20111:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20112: Usually this means the macro was only invoked conditionally." >&5
                   20113: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20114: Usually this means the macro was only invoked conditionally." >&2;}
                   20115:    { (exit 1); exit 1; }; }
                   20116: fi
                   20117: LT_CONFIG_H=`echo " src/include/pa_config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   20118: 
                   20119:     _ltdl_libobjs=
                   20120:     _ltdl_ltlibobjs=
                   20121:     if test -n "$_LT_LIBOBJS"; then
                   20122:       # Remove the extension.
                   20123:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   20124:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   20125:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   20126:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   20127:       done
                   20128:     fi
                   20129:     ltdl_LIBOBJS=$_ltdl_libobjs
                   20130: 
                   20131:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   20132: 
                   20133: 
1.62      paf      20134: 
1.1       paf      20135: : ${CONFIG_STATUS=./config.status}
1.62      paf      20136: ac_clean_files_save=$ac_clean_files
                   20137: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20138: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   20139: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   20140: cat >$CONFIG_STATUS <<_ACEOF
                   20141: #! $SHELL
                   20142: # Generated by $as_me.
                   20143: # Run this file to recreate the current configuration.
                   20144: # Compiler output produced by configure, useful for debugging
                   20145: # configure, is in config.log if it exists.
                   20146: 
                   20147: debug=false
                   20148: ac_cs_recheck=false
                   20149: ac_cs_silent=false
                   20150: SHELL=\${CONFIG_SHELL-$SHELL}
                   20151: _ACEOF
                   20152: 
                   20153: cat >>$CONFIG_STATUS <<\_ACEOF
                   20154: ## --------------------- ##
                   20155: ## M4sh Initialization.  ##
                   20156: ## --------------------- ##
                   20157: 
                   20158: # Be Bourne compatible
                   20159: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   20160:   emulate sh
                   20161:   NULLCMD=:
                   20162:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   20163:   # is contrary to our usage.  Disable this feature.
                   20164:   alias -g '${1+"$@"}'='"$@"'
                   20165: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   20166:   set -o posix
                   20167: fi
1.86      paf      20168: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      20169: 
                   20170: # Support unset when possible.
1.86      paf      20171: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      20172:   as_unset=unset
                   20173: else
                   20174:   as_unset=false
                   20175: fi
                   20176: 
                   20177: 
                   20178: # Work around bugs in pre-3.0 UWIN ksh.
                   20179: $as_unset ENV MAIL MAILPATH
                   20180: PS1='$ '
                   20181: PS2='> '
                   20182: PS4='+ '
                   20183: 
                   20184: # NLS nuisances.
                   20185: for as_var in \
                   20186:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   20187:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   20188:   LC_TELEPHONE LC_TIME
                   20189: do
1.86      paf      20190:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      20191:     eval $as_var=C; export $as_var
                   20192:   else
                   20193:     $as_unset $as_var
                   20194:   fi
                   20195: done
1.1       paf      20196: 
1.62      paf      20197: # Required to use basename.
                   20198: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20199:   as_expr=expr
                   20200: else
                   20201:   as_expr=false
                   20202: fi
                   20203: 
                   20204: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   20205:   as_basename=basename
                   20206: else
                   20207:   as_basename=false
                   20208: fi
                   20209: 
                   20210: 
                   20211: # Name of the executable.
                   20212: as_me=`$as_basename "$0" ||
                   20213: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   20214:         X"$0" : 'X\(//\)$' \| \
                   20215:         X"$0" : 'X\(/\)$' \| \
                   20216:         .     : '\(.\)' 2>/dev/null ||
                   20217: echo X/"$0" |
                   20218:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   20219:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   20220:          /^X\/\(\/\).*/{ s//\1/; q; }
                   20221:          s/.*/./; q'`
                   20222: 
                   20223: 
                   20224: # PATH needs CR, and LINENO needs CR and PATH.
                   20225: # Avoid depending upon Character Ranges.
                   20226: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   20227: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   20228: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   20229: as_cr_digits='0123456789'
                   20230: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   20231: 
                   20232: # The user is always right.
                   20233: if test "${PATH_SEPARATOR+set}" != set; then
                   20234:   echo "#! /bin/sh" >conf$$.sh
                   20235:   echo  "exit 0"   >>conf$$.sh
                   20236:   chmod +x conf$$.sh
                   20237:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   20238:     PATH_SEPARATOR=';'
                   20239:   else
                   20240:     PATH_SEPARATOR=:
                   20241:   fi
                   20242:   rm -f conf$$.sh
                   20243: fi
                   20244: 
                   20245: 
                   20246:   as_lineno_1=$LINENO
                   20247:   as_lineno_2=$LINENO
                   20248:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20249:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20250:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   20251:   # Find who we are.  Look in the path if we contain no path at all
                   20252:   # relative or not.
                   20253:   case $0 in
                   20254:     *[\\/]* ) as_myself=$0 ;;
                   20255:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20256: for as_dir in $PATH
                   20257: do
                   20258:   IFS=$as_save_IFS
                   20259:   test -z "$as_dir" && as_dir=.
                   20260:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   20261: done
                   20262: 
                   20263:        ;;
                   20264:   esac
                   20265:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   20266:   # in which case we are not to be found in the path.
                   20267:   if test "x$as_myself" = x; then
                   20268:     as_myself=$0
                   20269:   fi
                   20270:   if test ! -f "$as_myself"; then
                   20271:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   20272: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   20273:    { (exit 1); exit 1; }; }
                   20274:   fi
                   20275:   case $CONFIG_SHELL in
                   20276:   '')
                   20277:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20278: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   20279: do
                   20280:   IFS=$as_save_IFS
                   20281:   test -z "$as_dir" && as_dir=.
                   20282:   for as_base in sh bash ksh sh5; do
                   20283:         case $as_dir in
                   20284:         /*)
                   20285:           if ("$as_dir/$as_base" -c '
                   20286:   as_lineno_1=$LINENO
                   20287:   as_lineno_2=$LINENO
                   20288:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20289:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20290:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   20291:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   20292:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   20293:             CONFIG_SHELL=$as_dir/$as_base
                   20294:             export CONFIG_SHELL
                   20295:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   20296:           fi;;
                   20297:         esac
                   20298:        done
                   20299: done
                   20300: ;;
                   20301:   esac
                   20302: 
                   20303:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   20304:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   20305:   # line-number line before each line; the second 'sed' does the real
                   20306:   # work.  The second script uses 'N' to pair each line-number line
                   20307:   # with the numbered line, and appends trailing '-' during
                   20308:   # substitution so that $LINENO is not a special case at line end.
                   20309:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   20310:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   20311:   sed '=' <$as_myself |
                   20312:     sed '
                   20313:       N
                   20314:       s,$,-,
                   20315:       : loop
                   20316:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   20317:       t loop
                   20318:       s,-$,,
                   20319:       s,^['$as_cr_digits']*\n,,
                   20320:     ' >$as_me.lineno &&
                   20321:   chmod +x $as_me.lineno ||
                   20322:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   20323: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   20324:    { (exit 1); exit 1; }; }
                   20325: 
                   20326:   # Don't try to exec as it changes $[0], causing all sort of problems
                   20327:   # (the dirname of $[0] is not the place where we might find the
                   20328:   # original and so on.  Autoconf is especially sensible to this).
                   20329:   . ./$as_me.lineno
                   20330:   # Exit status is that of the last command.
                   20331:   exit
                   20332: }
                   20333: 
                   20334: 
                   20335: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   20336:   *c*,-n*) ECHO_N= ECHO_C='
                   20337: ' ECHO_T='     ' ;;
                   20338:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   20339:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   20340: esac
                   20341: 
                   20342: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20343:   as_expr=expr
                   20344: else
                   20345:   as_expr=false
                   20346: fi
                   20347: 
                   20348: rm -f conf$$ conf$$.exe conf$$.file
                   20349: echo >conf$$.file
                   20350: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   20351:   # We could just check for DJGPP; but this test a) works b) is more generic
                   20352:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   20353:   if test -f conf$$.exe; then
                   20354:     # Don't use ln at all; we don't have any links
                   20355:     as_ln_s='cp -p'
                   20356:   else
                   20357:     as_ln_s='ln -s'
                   20358:   fi
                   20359: elif ln conf$$.file conf$$ 2>/dev/null; then
                   20360:   as_ln_s=ln
                   20361: else
                   20362:   as_ln_s='cp -p'
                   20363: fi
                   20364: rm -f conf$$ conf$$.exe conf$$.file
                   20365: 
                   20366: if mkdir -p . 2>/dev/null; then
                   20367:   as_mkdir_p=:
                   20368: else
1.86      paf      20369:   test -d ./-p && rmdir ./-p
1.62      paf      20370:   as_mkdir_p=false
                   20371: fi
                   20372: 
                   20373: as_executable_p="test -f"
                   20374: 
                   20375: # Sed expression to map a string onto a valid CPP name.
1.86      paf      20376: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20377: 
                   20378: # Sed expression to map a string onto a valid variable name.
1.86      paf      20379: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20380: 
                   20381: 
                   20382: # IFS
                   20383: # We need space, tab and new line, in precisely that order.
                   20384: as_nl='
                   20385: '
                   20386: IFS="  $as_nl"
                   20387: 
                   20388: # CDPATH.
                   20389: $as_unset CDPATH
                   20390: 
                   20391: exec 6>&1
                   20392: 
                   20393: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   20394: # report actual input values of CONFIG_FILES etc. instead of their
                   20395: # values after options handling.  Logging --version etc. is OK.
                   20396: exec 5>>config.log
                   20397: {
                   20398:   echo
                   20399:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20400: ## Running $as_me. ##
                   20401: _ASBOX
                   20402: } >&5
                   20403: cat >&5 <<_CSEOF
                   20404: 
1.147     moko     20405: This file was extended by parser $as_me 3.4.2, which was
1.86      paf      20406: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      20407: 
                   20408:   CONFIG_FILES    = $CONFIG_FILES
                   20409:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20410:   CONFIG_LINKS    = $CONFIG_LINKS
                   20411:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20412:   $ $0 $@
                   20413: 
                   20414: _CSEOF
                   20415: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   20416: echo >&5
                   20417: _ACEOF
                   20418: 
                   20419: # Files that config.status was made for.
                   20420: if test -n "$ac_config_files"; then
                   20421:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   20422: fi
                   20423: 
                   20424: if test -n "$ac_config_headers"; then
                   20425:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   20426: fi
                   20427: 
                   20428: if test -n "$ac_config_links"; then
                   20429:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   20430: fi
                   20431: 
                   20432: if test -n "$ac_config_commands"; then
                   20433:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   20434: fi
                   20435: 
                   20436: cat >>$CONFIG_STATUS <<\_ACEOF
                   20437: 
                   20438: ac_cs_usage="\
                   20439: \`$as_me' instantiates files from templates according to the
                   20440: current configuration.
                   20441: 
                   20442: Usage: $0 [OPTIONS] [FILE]...
                   20443: 
                   20444:   -h, --help       print this help, then exit
                   20445:   -V, --version    print version number, then exit
                   20446:   -q, --quiet      do not print progress messages
                   20447:   -d, --debug      don't remove temporary files
                   20448:       --recheck    update $as_me by reconfiguring in the same conditions
                   20449:   --file=FILE[:TEMPLATE]
1.86      paf      20450:                   instantiate the configuration file FILE
1.62      paf      20451:   --header=FILE[:TEMPLATE]
1.86      paf      20452:                   instantiate the configuration header FILE
1.62      paf      20453: 
                   20454: Configuration files:
                   20455: $config_files
                   20456: 
                   20457: Configuration headers:
                   20458: $config_headers
                   20459: 
                   20460: Configuration commands:
                   20461: $config_commands
                   20462: 
                   20463: Report bugs to <bug-autoconf@gnu.org>."
                   20464: _ACEOF
                   20465: 
                   20466: cat >>$CONFIG_STATUS <<_ACEOF
                   20467: ac_cs_version="\\
1.147     moko     20468: parser config.status 3.4.2
1.86      paf      20469: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      20470:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   20471: 
1.86      paf      20472: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      20473: This config.status script is free software; the Free Software Foundation
                   20474: gives unlimited permission to copy, distribute and modify it."
                   20475: srcdir=$srcdir
                   20476: INSTALL="$INSTALL"
                   20477: _ACEOF
                   20478: 
                   20479: cat >>$CONFIG_STATUS <<\_ACEOF
                   20480: # If no file are specified by the user, then we need to provide default
                   20481: # value.  By we need to know if files were specified by the user.
                   20482: ac_need_defaults=:
                   20483: while test $# != 0
                   20484: do
                   20485:   case $1 in
                   20486:   --*=*)
                   20487:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   20488:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   20489:     ac_shift=:
                   20490:     ;;
                   20491:   -*)
                   20492:     ac_option=$1
                   20493:     ac_optarg=$2
                   20494:     ac_shift=shift
                   20495:     ;;
                   20496:   *) # This is not an option, so the user has probably given explicit
                   20497:      # arguments.
                   20498:      ac_option=$1
                   20499:      ac_need_defaults=false;;
                   20500:   esac
                   20501: 
                   20502:   case $ac_option in
                   20503:   # Handling of the options.
                   20504: _ACEOF
                   20505: cat >>$CONFIG_STATUS <<\_ACEOF
                   20506:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20507:     ac_cs_recheck=: ;;
                   20508:   --version | --vers* | -V )
                   20509:     echo "$ac_cs_version"; exit 0 ;;
                   20510:   --he | --h)
                   20511:     # Conflict between --help and --header
                   20512:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   20513: Try \`$0 --help' for more information." >&5
                   20514: echo "$as_me: error: ambiguous option: $1
                   20515: Try \`$0 --help' for more information." >&2;}
                   20516:    { (exit 1); exit 1; }; };;
                   20517:   --help | --hel | -h )
                   20518:     echo "$ac_cs_usage"; exit 0 ;;
                   20519:   --debug | --d* | -d )
                   20520:     debug=: ;;
                   20521:   --file | --fil | --fi | --f )
                   20522:     $ac_shift
                   20523:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   20524:     ac_need_defaults=false;;
                   20525:   --header | --heade | --head | --hea )
                   20526:     $ac_shift
                   20527:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   20528:     ac_need_defaults=false;;
                   20529:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20530:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20531:     ac_cs_silent=: ;;
                   20532: 
                   20533:   # This is an error.
                   20534:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   20535: Try \`$0 --help' for more information." >&5
                   20536: echo "$as_me: error: unrecognized option: $1
                   20537: Try \`$0 --help' for more information." >&2;}
                   20538:    { (exit 1); exit 1; }; } ;;
                   20539: 
                   20540:   *) ac_config_targets="$ac_config_targets $1" ;;
                   20541: 
                   20542:   esac
                   20543:   shift
                   20544: done
                   20545: 
                   20546: ac_configure_extra_args=
                   20547: 
                   20548: if $ac_cs_silent; then
                   20549:   exec 6>/dev/null
                   20550:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20551: fi
                   20552: 
                   20553: _ACEOF
                   20554: cat >>$CONFIG_STATUS <<_ACEOF
                   20555: if \$ac_cs_recheck; then
                   20556:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   20557:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   20558: fi
                   20559: 
                   20560: _ACEOF
                   20561: 
                   20562: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      20563: #
1.62      paf      20564: # INIT-COMMANDS section.
1.1       paf      20565: #
                   20566: 
1.62      paf      20567: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20568: 
1.128     moko     20569: 
                   20570: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20571: # if CDPATH is set.
                   20572: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20573: 
                   20574: sed_quote_subst='$sed_quote_subst'
                   20575: double_quote_subst='$double_quote_subst'
                   20576: delay_variable_subst='$delay_variable_subst'
                   20577: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20578: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20579: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20580: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20581: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     20582: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     20583: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     20584: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     20585: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20586: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20587: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   20588: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   20589: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20590: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20591: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20592: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20593: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20594: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20595: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20596: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20597: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20598: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20599: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20600: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20601: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20602: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20603: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20604: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20605: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20606: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20607: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20608: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20609: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20610: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20611: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20612: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20613: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20614: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20615: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20616: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20617: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20618: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20619: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20620: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20621: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20622: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20623: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20624: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20625: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20626: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20627: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20628: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20629: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20630: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20631: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20632: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20633: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20634: 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"`'
                   20635: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20636: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20637: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20638: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20639: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20640: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20641: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20642: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20643: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20644: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20645: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20646: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20647: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20648: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20649: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20650: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20651: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20652: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20653: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20654: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20655: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20656: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20657: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20658: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20659: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20660: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20661: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20662: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20663: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20664: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20665: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20666: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20667: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20668: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20669: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20670: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20671: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20672: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20673: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20674: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20675: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20676: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20677: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20678: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20679: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20680: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20681: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20682: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20683: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20684: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20685: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20686: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20687: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20688: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20689: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20690: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20691: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20692: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20693: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20694: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20695: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20696: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20697: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20698: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20699: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20700: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20701: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20702: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20703: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20704: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20705: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20706: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20707: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20708: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20709: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20710: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20711: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20712: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20713: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20714: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20715: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20716: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20717: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20718: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20719: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20720: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20721: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20722: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20723: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20724: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20725: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20726: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20727: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20728: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20729: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20730: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20731: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20732: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20733: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20734: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20735: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20736: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20737: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20738: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20739: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20740: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20741: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20742: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20743: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20744: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20745: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20746: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20747: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20748: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20749: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20750: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20751: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20752: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20753: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20754: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20755: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20756: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20757: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20758: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20759: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20760: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20761: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20762: 
                   20763: LTCC='$LTCC'
                   20764: LTCFLAGS='$LTCFLAGS'
                   20765: compiler='$compiler_DEFAULT'
                   20766: 
                   20767: # A function that is used when there is no print builtin or printf.
                   20768: func_fallback_echo ()
                   20769: {
                   20770:   eval 'cat <<_LTECHO_EOF
                   20771: \$1
                   20772: _LTECHO_EOF'
                   20773: }
                   20774: 
                   20775: # Quote evaled strings.
                   20776: for var in AS \
                   20777: DLLTOOL \
                   20778: OBJDUMP \
                   20779: SHELL \
                   20780: ECHO \
                   20781: PATH_SEPARATOR \
                   20782: SED \
                   20783: GREP \
                   20784: EGREP \
                   20785: FGREP \
                   20786: LD \
                   20787: NM \
                   20788: LN_S \
                   20789: lt_SP2NL \
                   20790: lt_NL2SP \
                   20791: reload_flag \
                   20792: deplibs_check_method \
                   20793: file_magic_cmd \
                   20794: file_magic_glob \
                   20795: want_nocaseglob \
                   20796: sharedlib_from_linklib_cmd \
                   20797: AR \
                   20798: AR_FLAGS \
                   20799: archiver_list_spec \
                   20800: STRIP \
                   20801: RANLIB \
                   20802: CC \
                   20803: CFLAGS \
                   20804: compiler \
                   20805: lt_cv_sys_global_symbol_pipe \
                   20806: lt_cv_sys_global_symbol_to_cdecl \
                   20807: lt_cv_sys_global_symbol_to_c_name_address \
                   20808: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20809: nm_file_list_spec \
                   20810: lt_prog_compiler_no_builtin_flag \
                   20811: lt_prog_compiler_pic \
                   20812: lt_prog_compiler_wl \
                   20813: lt_prog_compiler_static \
                   20814: lt_cv_prog_compiler_c_o \
                   20815: need_locks \
                   20816: MANIFEST_TOOL \
                   20817: DSYMUTIL \
                   20818: NMEDIT \
                   20819: LIPO \
                   20820: OTOOL \
                   20821: OTOOL64 \
                   20822: shrext_cmds \
                   20823: export_dynamic_flag_spec \
                   20824: whole_archive_flag_spec \
                   20825: compiler_needs_object \
                   20826: with_gnu_ld \
                   20827: allow_undefined_flag \
                   20828: no_undefined_flag \
                   20829: hardcode_libdir_flag_spec \
                   20830: hardcode_libdir_separator \
                   20831: exclude_expsyms \
                   20832: include_expsyms \
                   20833: file_list_spec \
                   20834: variables_saved_for_relink \
                   20835: libname_spec \
                   20836: library_names_spec \
                   20837: soname_spec \
                   20838: install_override_mode \
                   20839: finish_eval \
                   20840: old_striplib \
                   20841: striplib \
                   20842: compiler_lib_search_dirs \
                   20843: predep_objects \
                   20844: postdep_objects \
                   20845: predeps \
                   20846: postdeps \
                   20847: compiler_lib_search_path \
                   20848: LD_CXX \
                   20849: reload_flag_CXX \
                   20850: compiler_CXX \
                   20851: lt_prog_compiler_no_builtin_flag_CXX \
                   20852: lt_prog_compiler_pic_CXX \
                   20853: lt_prog_compiler_wl_CXX \
                   20854: lt_prog_compiler_static_CXX \
                   20855: lt_cv_prog_compiler_c_o_CXX \
                   20856: export_dynamic_flag_spec_CXX \
                   20857: whole_archive_flag_spec_CXX \
                   20858: compiler_needs_object_CXX \
                   20859: with_gnu_ld_CXX \
                   20860: allow_undefined_flag_CXX \
                   20861: no_undefined_flag_CXX \
                   20862: hardcode_libdir_flag_spec_CXX \
                   20863: hardcode_libdir_separator_CXX \
                   20864: exclude_expsyms_CXX \
                   20865: include_expsyms_CXX \
                   20866: file_list_spec_CXX \
                   20867: compiler_lib_search_dirs_CXX \
                   20868: predep_objects_CXX \
                   20869: postdep_objects_CXX \
                   20870: predeps_CXX \
                   20871: postdeps_CXX \
                   20872: compiler_lib_search_path_CXX; do
                   20873:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20874:     *[\\\\\\\`\\"\\\$]*)
                   20875:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20876:       ;;
                   20877:     *)
                   20878:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20879:       ;;
                   20880:     esac
                   20881: done
                   20882: 
                   20883: # Double-quote double-evaled strings.
                   20884: for var in reload_cmds \
                   20885: old_postinstall_cmds \
                   20886: old_postuninstall_cmds \
                   20887: old_archive_cmds \
                   20888: extract_expsyms_cmds \
                   20889: old_archive_from_new_cmds \
                   20890: old_archive_from_expsyms_cmds \
                   20891: archive_cmds \
                   20892: archive_expsym_cmds \
                   20893: module_cmds \
                   20894: module_expsym_cmds \
                   20895: export_symbols_cmds \
                   20896: prelink_cmds \
                   20897: postlink_cmds \
                   20898: postinstall_cmds \
                   20899: postuninstall_cmds \
                   20900: finish_cmds \
                   20901: sys_lib_search_path_spec \
                   20902: sys_lib_dlsearch_path_spec \
                   20903: reload_cmds_CXX \
                   20904: old_archive_cmds_CXX \
                   20905: old_archive_from_new_cmds_CXX \
                   20906: old_archive_from_expsyms_cmds_CXX \
                   20907: archive_cmds_CXX \
                   20908: archive_expsym_cmds_CXX \
                   20909: module_cmds_CXX \
                   20910: module_expsym_cmds_CXX \
                   20911: export_symbols_cmds_CXX \
                   20912: prelink_cmds_CXX \
                   20913: postlink_cmds_CXX; do
                   20914:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20915:     *[\\\\\\\`\\"\\\$]*)
                   20916:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20917:       ;;
                   20918:     *)
                   20919:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20920:       ;;
                   20921:     esac
                   20922: done
                   20923: 
                   20924: ac_aux_dir='$ac_aux_dir'
                   20925: xsi_shell='$xsi_shell'
                   20926: lt_shell_append='$lt_shell_append'
                   20927: 
                   20928: # See if we are running on zsh, and set the options which allow our
                   20929: # commands through without removal of \ escapes INIT.
                   20930: if test -n "\${ZSH_VERSION+set}" ; then
                   20931:    setopt NO_GLOB_SUBST
                   20932: fi
                   20933: 
                   20934: 
                   20935:     PACKAGE='$PACKAGE'
                   20936:     VERSION='$VERSION'
                   20937:     TIMESTAMP='$TIMESTAMP'
                   20938:     RM='$RM'
                   20939:     ofile='$ofile'
                   20940: 
                   20941: 
                   20942: 
                   20943: 
                   20944: 
                   20945: 
1.62      paf      20946: _ACEOF
                   20947: 
                   20948: 
                   20949: 
                   20950: cat >>$CONFIG_STATUS <<\_ACEOF
                   20951: for ac_config_target in $ac_config_targets
1.1       paf      20952: do
1.62      paf      20953:   case "$ac_config_target" in
                   20954:   # Handling of arguments.
                   20955:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20956:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20957:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20958:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20959:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20960:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20961:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20962:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      20963:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20964:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      20965:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20966:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    20967:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      20968:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20969:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20970:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      20971:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      20972:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
1.124     moko     20973:   "src/lib/sdbm/pa-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
1.120     misha    20974:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.126     moko     20975:   "src/lib/memcached/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
1.127     moko     20976:   "src/lib/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
1.62      paf      20977:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20978:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     20979:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      20980:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20981:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20982:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   20983:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   20984:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   20985:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.128     moko     20986:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.62      paf      20987:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20988:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   20989: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   20990:    { (exit 1); exit 1; }; };;
1.1       paf      20991:   esac
                   20992: done
                   20993: 
1.62      paf      20994: # If the user did not use the arguments to specify the items to instantiate,
                   20995: # then the envvar interface is used.  Set only those that are not.
                   20996: # We use the long form for the default assignment because of an extremely
                   20997: # bizarre bug on SunOS 4.1.3.
                   20998: if $ac_need_defaults; then
                   20999:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   21000:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   21001:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   21002: fi
                   21003: 
                   21004: # Have a temporary directory for convenience.  Make it in the build tree
                   21005: # simply because there is no reason to put it here, and in addition,
                   21006: # creating and moving files from /tmp can sometimes cause problems.
                   21007: # Create a temporary directory, and hook for its removal unless debugging.
                   21008: $debug ||
                   21009: {
                   21010:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   21011:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   21012: }
                   21013: 
                   21014: # Create a (secure) tmp directory for tmp files.
                   21015: 
                   21016: {
                   21017:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   21018:   test -n "$tmp" && test -d "$tmp"
                   21019: }  ||
                   21020: {
                   21021:   tmp=./confstat$$-$RANDOM
                   21022:   (umask 077 && mkdir $tmp)
                   21023: } ||
                   21024: {
                   21025:    echo "$me: cannot create a temporary directory in ." >&2
                   21026:    { (exit 1); exit 1; }
                   21027: }
                   21028: 
                   21029: _ACEOF
1.1       paf      21030: 
1.62      paf      21031: cat >>$CONFIG_STATUS <<_ACEOF
                   21032: 
                   21033: #
                   21034: # CONFIG_FILES section.
                   21035: #
1.1       paf      21036: 
1.62      paf      21037: # No need to generate the scripts if there are no CONFIG_FILES.
                   21038: # This happens for instance when ./config.status config.h
                   21039: if test -n "\$CONFIG_FILES"; then
                   21040:   # Protect against being on the right side of a sed subst in config.status.
                   21041:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   21042:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   21043: s,@SHELL@,$SHELL,;t t
                   21044: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   21045: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   21046: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   21047: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   21048: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   21049: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   21050: s,@exec_prefix@,$exec_prefix,;t t
                   21051: s,@prefix@,$prefix,;t t
                   21052: s,@program_transform_name@,$program_transform_name,;t t
                   21053: s,@bindir@,$bindir,;t t
                   21054: s,@sbindir@,$sbindir,;t t
                   21055: s,@libexecdir@,$libexecdir,;t t
                   21056: s,@datadir@,$datadir,;t t
                   21057: s,@sysconfdir@,$sysconfdir,;t t
                   21058: s,@sharedstatedir@,$sharedstatedir,;t t
                   21059: s,@localstatedir@,$localstatedir,;t t
                   21060: s,@libdir@,$libdir,;t t
                   21061: s,@includedir@,$includedir,;t t
                   21062: s,@oldincludedir@,$oldincludedir,;t t
                   21063: s,@infodir@,$infodir,;t t
                   21064: s,@mandir@,$mandir,;t t
                   21065: s,@build_alias@,$build_alias,;t t
                   21066: s,@host_alias@,$host_alias,;t t
                   21067: s,@target_alias@,$target_alias,;t t
                   21068: s,@DEFS@,$DEFS,;t t
                   21069: s,@ECHO_C@,$ECHO_C,;t t
                   21070: s,@ECHO_N@,$ECHO_N,;t t
                   21071: s,@ECHO_T@,$ECHO_T,;t t
                   21072: s,@LIBS@,$LIBS,;t t
                   21073: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   21074: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   21075: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   21076: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   21077: s,@PACKAGE@,$PACKAGE,;t t
                   21078: s,@VERSION@,$VERSION,;t t
                   21079: s,@ACLOCAL@,$ACLOCAL,;t t
                   21080: s,@AUTOCONF@,$AUTOCONF,;t t
                   21081: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   21082: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   21083: s,@MAKEINFO@,$MAKEINFO,;t t
                   21084: s,@install_sh@,$install_sh,;t t
                   21085: s,@STRIP@,$STRIP,;t t
                   21086: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   21087: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      21088: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      21089: s,@AWK@,$AWK,;t t
                   21090: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      21091: s,@am__leading_dot@,$am__leading_dot,;t t
                   21092: s,@AMTAR@,$AMTAR,;t t
                   21093: s,@am__tar@,$am__tar,;t t
                   21094: s,@am__untar@,$am__untar,;t t
1.62      paf      21095: s,@P3S@,$P3S,;t t
                   21096: s,@build@,$build,;t t
                   21097: s,@build_cpu@,$build_cpu,;t t
                   21098: s,@build_vendor@,$build_vendor,;t t
                   21099: s,@build_os@,$build_os,;t t
                   21100: s,@host@,$host,;t t
                   21101: s,@host_cpu@,$host_cpu,;t t
                   21102: s,@host_vendor@,$host_vendor,;t t
                   21103: s,@host_os@,$host_os,;t t
                   21104: s,@YACC@,$YACC,;t t
1.66      paf      21105: s,@CXX@,$CXX,;t t
                   21106: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      21107: s,@LDFLAGS@,$LDFLAGS,;t t
                   21108: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      21109: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      21110: s,@EXEEXT@,$EXEEXT,;t t
                   21111: s,@OBJEXT@,$OBJEXT,;t t
                   21112: s,@DEPDIR@,$DEPDIR,;t t
                   21113: s,@am__include@,$am__include,;t t
                   21114: s,@am__quote@,$am__quote,;t t
                   21115: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   21116: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   21117: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      21118: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   21119: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   21120: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   21121: s,@CC@,$CC,;t t
                   21122: s,@CFLAGS@,$CFLAGS,;t t
                   21123: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      21124: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   21125: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   21126: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   21127: s,@dll_extension@,$dll_extension,;t t
1.67      paf      21128: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    21129: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   21130: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      21131: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   21132: s,@XML_LIBS@,$XML_LIBS,;t t
                   21133: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   21134: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     21135: s,@APACHE@,$APACHE,;t t
                   21136: s,@APACHE_INC@,$APACHE_INC,;t t
                   21137: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   21138: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   21139: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.128     moko     21140: s,@AS@,$AS,;t t
                   21141: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   21142: s,@DLLTOOL@,$DLLTOOL,;t t
                   21143: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   21144: s,@OBJDUMP@,$OBJDUMP,;t t
                   21145: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   21146: s,@LIBTOOL@,$LIBTOOL,;t t
                   21147: s,@SED@,$SED,;t t
                   21148: s,@EGREP@,$EGREP,;t t
                   21149: s,@FGREP@,$FGREP,;t t
                   21150: s,@GREP@,$GREP,;t t
                   21151: s,@LD@,$LD,;t t
                   21152: s,@DUMPBIN@,$DUMPBIN,;t t
                   21153: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   21154: s,@NM@,$NM,;t t
                   21155: s,@LN_S@,$LN_S,;t t
                   21156: s,@AR@,$AR,;t t
                   21157: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   21158: s,@RANLIB@,$RANLIB,;t t
                   21159: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   21160: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   21161: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   21162: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   21163: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   21164: s,@NMEDIT@,$NMEDIT,;t t
                   21165: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   21166: s,@LIPO@,$LIPO,;t t
                   21167: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   21168: s,@OTOOL@,$OTOOL,;t t
                   21169: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   21170: s,@OTOOL64@,$OTOOL64,;t t
                   21171: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   21172: s,@CPP@,$CPP,;t t
                   21173: s,@CXXCPP@,$CXXCPP,;t t
                   21174: s,@LIBLTDL@,$LIBLTDL,;t t
                   21175: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   21176: s,@LTDLINCL@,$LTDLINCL,;t t
1.62      paf      21177: s,@INCLTDL@,$INCLTDL,;t t
1.128     moko     21178: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   21179: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   21180: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   21181: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   21182: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   21183: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   21184: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   21185: s,@ARGZ_H@,$ARGZ_H,;t t
                   21186: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   21187: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   21188: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   21189: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
1.62      paf      21190: s,@subdirs@,$subdirs,;t t
1.128     moko     21191: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   21192: s,@LTDLOPEN@,$LTDLOPEN,;t t
1.62      paf      21193: s,@LIBOBJS@,$LIBOBJS,;t t
                   21194: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.128     moko     21195: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   21196: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
1.1       paf      21197: CEOF
                   21198: 
1.62      paf      21199: _ACEOF
1.1       paf      21200: 
1.62      paf      21201:   cat >>$CONFIG_STATUS <<\_ACEOF
                   21202:   # Split the substitutions into bite-sized pieces for seds with
                   21203:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   21204:   ac_max_sed_lines=48
                   21205:   ac_sed_frag=1 # Number of current file.
                   21206:   ac_beg=1 # First line for current file.
                   21207:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   21208:   ac_more_lines=:
                   21209:   ac_sed_cmds=
                   21210:   while $ac_more_lines; do
                   21211:     if test $ac_beg -gt 1; then
                   21212:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21213:     else
                   21214:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21215:     fi
                   21216:     if test ! -s $tmp/subs.frag; then
                   21217:       ac_more_lines=false
1.1       paf      21218:     else
1.62      paf      21219:       # The purpose of the label and of the branching condition is to
                   21220:       # speed up the sed processing (if there are no `@' at all, there
                   21221:       # is no need to browse any of the substitutions).
                   21222:       # These are the two extra sed commands mentioned above.
                   21223:       (echo ':t
                   21224:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   21225:       if test -z "$ac_sed_cmds"; then
1.86      paf      21226:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21227:       else
1.86      paf      21228:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21229:       fi
                   21230:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   21231:       ac_beg=$ac_end
                   21232:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      21233:     fi
1.62      paf      21234:   done
                   21235:   if test -z "$ac_sed_cmds"; then
                   21236:     ac_sed_cmds=cat
1.1       paf      21237:   fi
1.62      paf      21238: fi # test -n "$CONFIG_FILES"
1.1       paf      21239: 
1.62      paf      21240: _ACEOF
                   21241: cat >>$CONFIG_STATUS <<\_ACEOF
                   21242: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      21243:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21244:   case $ac_file in
                   21245:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21246:        cat >$tmp/stdin
                   21247:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21248:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21249:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21250:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21251:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21252:   esac
                   21253: 
1.62      paf      21254:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   21255:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21256: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21257:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21258:         X"$ac_file" : 'X\(//\)$' \| \
                   21259:         X"$ac_file" : 'X\(/\)' \| \
                   21260:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21261: echo X"$ac_file" |
                   21262:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21263:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21264:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21265:          /^X\(\/\).*/{ s//\1/; q; }
                   21266:          s/.*/./; q'`
                   21267:   { if $as_mkdir_p; then
                   21268:     mkdir -p "$ac_dir"
                   21269:   else
                   21270:     as_dir="$ac_dir"
                   21271:     as_dirs=
                   21272:     while test ! -d "$as_dir"; do
                   21273:       as_dirs="$as_dir $as_dirs"
                   21274:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21275: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21276:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21277:         X"$as_dir" : 'X\(//\)$' \| \
                   21278:         X"$as_dir" : 'X\(/\)' \| \
                   21279:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21280: echo X"$as_dir" |
                   21281:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21282:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21283:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21284:          /^X\(\/\).*/{ s//\1/; q; }
                   21285:          s/.*/./; q'`
                   21286:     done
                   21287:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21288:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21289: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21290:    { (exit 1); exit 1; }; }; }
                   21291: 
                   21292:   ac_builddir=.
                   21293: 
                   21294: if test "$ac_dir" != .; then
                   21295:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21296:   # A "../" for each directory in $ac_dir_suffix.
                   21297:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21298: else
                   21299:   ac_dir_suffix= ac_top_builddir=
                   21300: fi
                   21301: 
                   21302: case $srcdir in
                   21303:   .)  # No --srcdir option.  We are building in place.
                   21304:     ac_srcdir=.
                   21305:     if test -z "$ac_top_builddir"; then
                   21306:        ac_top_srcdir=.
                   21307:     else
                   21308:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21309:     fi ;;
                   21310:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21311:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21312:     ac_top_srcdir=$srcdir ;;
                   21313:   *) # Relative path.
                   21314:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21315:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21316: esac
1.86      paf      21317: 
                   21318: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21319: # the directories may not exist.
                   21320: case `pwd` in
                   21321: .) ac_abs_builddir="$ac_dir";;
                   21322: *)
                   21323:   case "$ac_dir" in
                   21324:   .) ac_abs_builddir=`pwd`;;
                   21325:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21326:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21327:   esac;;
                   21328: esac
                   21329: case $ac_abs_builddir in
                   21330: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21331: *)
                   21332:   case ${ac_top_builddir}. in
                   21333:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21334:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21335:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21336:   esac;;
                   21337: esac
                   21338: case $ac_abs_builddir in
                   21339: .) ac_abs_srcdir=$ac_srcdir;;
                   21340: *)
                   21341:   case $ac_srcdir in
                   21342:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21343:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21344:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21345:   esac;;
                   21346: esac
                   21347: case $ac_abs_builddir in
                   21348: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21349: *)
                   21350:   case $ac_top_srcdir in
                   21351:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21352:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21353:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21354:   esac;;
                   21355: esac
1.62      paf      21356: 
1.1       paf      21357: 
1.62      paf      21358:   case $INSTALL in
                   21359:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21360:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      21361:   esac
                   21362: 
1.62      paf      21363:   if test x"$ac_file" != x-; then
                   21364:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21365: echo "$as_me: creating $ac_file" >&6;}
                   21366:     rm -f "$ac_file"
                   21367:   fi
                   21368:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21369:   # use $as_me), people would be surprised to read:
                   21370:   #    /* config.h.  Generated by config.status.  */
                   21371:   if test x"$ac_file" = x-; then
                   21372:     configure_input=
                   21373:   else
                   21374:     configure_input="$ac_file.  "
                   21375:   fi
                   21376:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      21377:                                     sed 's,.*/,,'` by configure."
1.62      paf      21378: 
                   21379:   # First look for the input files in the build tree, otherwise in the
                   21380:   # src tree.
                   21381:   ac_file_inputs=`IFS=:
                   21382:     for f in $ac_file_in; do
                   21383:       case $f in
                   21384:       -) echo $tmp/stdin ;;
                   21385:       [\\/$]*)
1.86      paf      21386:         # Absolute (can't be DOS-style, as IFS=:)
                   21387:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21388: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21389:    { (exit 1); exit 1; }; }
1.86      paf      21390:         echo "$f";;
1.62      paf      21391:       *) # Relative
1.86      paf      21392:         if test -f "$f"; then
                   21393:           # Build tree
                   21394:           echo "$f"
                   21395:         elif test -f "$srcdir/$f"; then
                   21396:           # Source tree
                   21397:           echo "$srcdir/$f"
                   21398:         else
                   21399:           # /dev/null tree
                   21400:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21401: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21402:    { (exit 1); exit 1; }; }
1.86      paf      21403:         fi;;
1.62      paf      21404:       esac
                   21405:     done` || { (exit 1); exit 1; }
                   21406: _ACEOF
                   21407: cat >>$CONFIG_STATUS <<_ACEOF
                   21408:   sed "$ac_vpsub
                   21409: $extrasub
                   21410: _ACEOF
                   21411: cat >>$CONFIG_STATUS <<\_ACEOF
                   21412: :t
                   21413: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21414: s,@configure_input@,$configure_input,;t t
                   21415: s,@srcdir@,$ac_srcdir,;t t
                   21416: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   21417: s,@top_srcdir@,$ac_top_srcdir,;t t
                   21418: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   21419: s,@builddir@,$ac_builddir,;t t
                   21420: s,@abs_builddir@,$ac_abs_builddir,;t t
                   21421: s,@top_builddir@,$ac_top_builddir,;t t
                   21422: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   21423: s,@INSTALL@,$ac_INSTALL,;t t
                   21424: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   21425:   rm -f $tmp/stdin
                   21426:   if test x"$ac_file" != x-; then
                   21427:     mv $tmp/out $ac_file
                   21428:   else
                   21429:     cat $tmp/out
                   21430:     rm -f $tmp/out
                   21431:   fi
1.1       paf      21432: 
1.62      paf      21433: done
                   21434: _ACEOF
                   21435: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      21436: 
1.62      paf      21437: #
                   21438: # CONFIG_HEADER section.
                   21439: #
1.1       paf      21440: 
                   21441: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   21442: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   21443: #
                   21444: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      21445: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   21446: ac_dB='[        ].*$,\1#\2'
1.62      paf      21447: ac_dC=' '
                   21448: ac_dD=',;t'
                   21449: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      21450: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      21451: ac_uB='$,\1#\2define\3'
1.1       paf      21452: ac_uC=' '
1.62      paf      21453: ac_uD=',;t'
                   21454: 
                   21455: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      21456:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21457:   case $ac_file in
                   21458:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21459:        cat >$tmp/stdin
                   21460:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21461:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21462:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21463:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21464:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21465:   esac
                   21466: 
1.62      paf      21467:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21468: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      21469: 
1.62      paf      21470:   # First look for the input files in the build tree, otherwise in the
                   21471:   # src tree.
                   21472:   ac_file_inputs=`IFS=:
                   21473:     for f in $ac_file_in; do
                   21474:       case $f in
                   21475:       -) echo $tmp/stdin ;;
                   21476:       [\\/$]*)
1.86      paf      21477:         # Absolute (can't be DOS-style, as IFS=:)
                   21478:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21479: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21480:    { (exit 1); exit 1; }; }
1.86      paf      21481:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   21482:         echo "$f";;
1.62      paf      21483:       *) # Relative
1.86      paf      21484:         if test -f "$f"; then
                   21485:           # Build tree
                   21486:           echo "$f"
                   21487:         elif test -f "$srcdir/$f"; then
                   21488:           # Source tree
                   21489:           echo "$srcdir/$f"
                   21490:         else
                   21491:           # /dev/null tree
                   21492:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21493: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21494:    { (exit 1); exit 1; }; }
1.86      paf      21495:         fi;;
1.62      paf      21496:       esac
                   21497:     done` || { (exit 1); exit 1; }
                   21498:   # Remove the trailing spaces.
1.86      paf      21499:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      21500: 
                   21501: _ACEOF
                   21502: 
                   21503: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   21504: # `conftest.undefs', that substitutes the proper values into
                   21505: # config.h.in to produce config.h.  The first handles `#define'
                   21506: # templates, and the second `#undef' templates.
                   21507: # And first: Protect against being on the right side of a sed subst in
                   21508: # config.status.  Protect against being in an unquoted here document
                   21509: # in config.status.
                   21510: rm -f conftest.defines conftest.undefs
                   21511: # Using a here document instead of a string reduces the quoting nightmare.
                   21512: # Putting comments in sed scripts is not portable.
                   21513: #
                   21514: # `end' is used to avoid that the second main sed command (meant for
                   21515: # 0-ary CPP macros) applies to n-ary macro definitions.
                   21516: # See the Autoconf documentation for `clear'.
                   21517: cat >confdef2sed.sed <<\_ACEOF
                   21518: s/[\\&,]/\\&/g
                   21519: s,[\\$`],\\&,g
                   21520: t clear
                   21521: : clear
1.86      paf      21522: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      21523: t end
1.86      paf      21524: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      21525: : end
                   21526: _ACEOF
                   21527: # If some macros were called several times there might be several times
                   21528: # the same #defines, which is useless.  Nevertheless, we may not want to
                   21529: # sort them, since we want the *last* AC-DEFINE to be honored.
                   21530: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   21531: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   21532: rm -f confdef2sed.sed
1.1       paf      21533: 
                   21534: # This sed command replaces #undef with comments.  This is necessary, for
                   21535: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   21536: # on some systems where configure will not decide to define it.
1.62      paf      21537: cat >>conftest.undefs <<\_ACEOF
1.86      paf      21538: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      21539: _ACEOF
                   21540: 
                   21541: # Break up conftest.defines because some shells have a limit on the size
                   21542: # of here documents, and old seds have small limits too (100 cmds).
                   21543: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      21544: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      21545: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   21546: echo '  :' >>$CONFIG_STATUS
                   21547: rm -f conftest.tail
                   21548: while grep . conftest.defines >/dev/null
                   21549: do
                   21550:   # Write a limited-size here document to $tmp/defines.sed.
                   21551:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   21552:   # Speed up: don't consider the non `#define' lines.
1.86      paf      21553:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      21554:   # Work around the forget-to-reset-the-flag bug.
                   21555:   echo 't clr' >>$CONFIG_STATUS
                   21556:   echo ': clr' >>$CONFIG_STATUS
                   21557:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   21558:   echo 'CEOF
                   21559:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   21560:   rm -f $tmp/in
                   21561:   mv $tmp/out $tmp/in
                   21562: ' >>$CONFIG_STATUS
                   21563:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   21564:   rm -f conftest.defines
                   21565:   mv conftest.tail conftest.defines
                   21566: done
                   21567: rm -f conftest.defines
                   21568: echo '  fi # grep' >>$CONFIG_STATUS
                   21569: echo >>$CONFIG_STATUS
                   21570: 
                   21571: # Break up conftest.undefs because some shells have a limit on the size
                   21572: # of here documents, and old seds have small limits too (100 cmds).
                   21573: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      21574: rm -f conftest.tail
1.62      paf      21575: while grep . conftest.undefs >/dev/null
1.1       paf      21576: do
1.62      paf      21577:   # Write a limited-size here document to $tmp/undefs.sed.
                   21578:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   21579:   # Speed up: don't consider the non `#undef'
1.86      paf      21580:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      21581:   # Work around the forget-to-reset-the-flag bug.
                   21582:   echo 't clr' >>$CONFIG_STATUS
                   21583:   echo ': clr' >>$CONFIG_STATUS
                   21584:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      21585:   echo 'CEOF
1.62      paf      21586:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   21587:   rm -f $tmp/in
                   21588:   mv $tmp/out $tmp/in
                   21589: ' >>$CONFIG_STATUS
                   21590:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   21591:   rm -f conftest.undefs
                   21592:   mv conftest.tail conftest.undefs
                   21593: done
                   21594: rm -f conftest.undefs
                   21595: 
                   21596: cat >>$CONFIG_STATUS <<\_ACEOF
                   21597:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21598:   # use $as_me), people would be surprised to read:
                   21599:   #    /* config.h.  Generated by config.status.  */
                   21600:   if test x"$ac_file" = x-; then
                   21601:     echo "/* Generated by configure.  */" >$tmp/config.h
                   21602:   else
                   21603:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   21604:   fi
                   21605:   cat $tmp/in >>$tmp/config.h
                   21606:   rm -f $tmp/in
                   21607:   if test x"$ac_file" != x-; then
                   21608:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   21609:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   21610: echo "$as_me: $ac_file is unchanged" >&6;}
                   21611:     else
                   21612:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21613: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21614:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21615:         X"$ac_file" : 'X\(//\)$' \| \
                   21616:         X"$ac_file" : 'X\(/\)' \| \
                   21617:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21618: echo X"$ac_file" |
                   21619:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21620:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21621:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21622:          /^X\(\/\).*/{ s//\1/; q; }
                   21623:          s/.*/./; q'`
                   21624:       { if $as_mkdir_p; then
                   21625:     mkdir -p "$ac_dir"
                   21626:   else
                   21627:     as_dir="$ac_dir"
                   21628:     as_dirs=
                   21629:     while test ! -d "$as_dir"; do
                   21630:       as_dirs="$as_dir $as_dirs"
                   21631:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21632: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21633:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21634:         X"$as_dir" : 'X\(//\)$' \| \
                   21635:         X"$as_dir" : 'X\(/\)' \| \
                   21636:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21637: echo X"$as_dir" |
                   21638:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21639:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21640:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21641:          /^X\(\/\).*/{ s//\1/; q; }
                   21642:          s/.*/./; q'`
                   21643:     done
                   21644:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21645:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21646: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21647:    { (exit 1); exit 1; }; }; }
                   21648: 
                   21649:       rm -f $ac_file
                   21650:       mv $tmp/config.h $ac_file
                   21651:     fi
                   21652:   else
                   21653:     cat $tmp/config.h
                   21654:     rm -f $tmp/config.h
                   21655:   fi
1.86      paf      21656: # Compute $ac_file's index in $config_headers.
                   21657: _am_stamp_count=1
                   21658: for _am_header in $config_headers :; do
                   21659:   case $_am_header in
                   21660:     $ac_file | $ac_file:* )
                   21661:       break ;;
                   21662:     * )
                   21663:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21664:   esac
                   21665: done
1.62      paf      21666: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   21667: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21668:         X$ac_file : 'X\(//\)[^/]' \| \
                   21669:         X$ac_file : 'X\(//\)$' \| \
                   21670:         X$ac_file : 'X\(/\)' \| \
                   21671:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21672: echo X$ac_file |
                   21673:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21674:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21675:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21676:          /^X\(\/\).*/{ s//\1/; q; }
                   21677:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21678: done
                   21679: _ACEOF
                   21680: cat >>$CONFIG_STATUS <<\_ACEOF
                   21681: 
                   21682: #
                   21683: # CONFIG_COMMANDS section.
                   21684: #
                   21685: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   21686:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   21687:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21688:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   21689: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21690:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   21691:         X"$ac_dest" : 'X\(//\)$' \| \
                   21692:         X"$ac_dest" : 'X\(/\)' \| \
                   21693:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21694: echo X"$ac_dest" |
                   21695:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21696:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21697:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21698:          /^X\(\/\).*/{ s//\1/; q; }
                   21699:          s/.*/./; q'`
1.86      paf      21700:   { if $as_mkdir_p; then
                   21701:     mkdir -p "$ac_dir"
                   21702:   else
                   21703:     as_dir="$ac_dir"
                   21704:     as_dirs=
                   21705:     while test ! -d "$as_dir"; do
                   21706:       as_dirs="$as_dir $as_dirs"
                   21707:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21708: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21709:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21710:         X"$as_dir" : 'X\(//\)$' \| \
                   21711:         X"$as_dir" : 'X\(/\)' \| \
                   21712:         .     : '\(.\)' 2>/dev/null ||
                   21713: echo X"$as_dir" |
                   21714:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21715:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21716:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21717:          /^X\(\/\).*/{ s//\1/; q; }
                   21718:          s/.*/./; q'`
                   21719:     done
                   21720:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21721:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21722: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21723:    { (exit 1); exit 1; }; }; }
                   21724: 
1.62      paf      21725:   ac_builddir=.
                   21726: 
                   21727: if test "$ac_dir" != .; then
                   21728:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21729:   # A "../" for each directory in $ac_dir_suffix.
                   21730:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21731: else
                   21732:   ac_dir_suffix= ac_top_builddir=
                   21733: fi
                   21734: 
                   21735: case $srcdir in
                   21736:   .)  # No --srcdir option.  We are building in place.
                   21737:     ac_srcdir=.
                   21738:     if test -z "$ac_top_builddir"; then
                   21739:        ac_top_srcdir=.
                   21740:     else
                   21741:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21742:     fi ;;
                   21743:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21744:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21745:     ac_top_srcdir=$srcdir ;;
                   21746:   *) # Relative path.
                   21747:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21748:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21749: esac
1.86      paf      21750: 
                   21751: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21752: # the directories may not exist.
                   21753: case `pwd` in
                   21754: .) ac_abs_builddir="$ac_dir";;
                   21755: *)
                   21756:   case "$ac_dir" in
                   21757:   .) ac_abs_builddir=`pwd`;;
                   21758:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21759:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21760:   esac;;
                   21761: esac
                   21762: case $ac_abs_builddir in
                   21763: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21764: *)
                   21765:   case ${ac_top_builddir}. in
                   21766:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21767:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21768:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21769:   esac;;
                   21770: esac
                   21771: case $ac_abs_builddir in
                   21772: .) ac_abs_srcdir=$ac_srcdir;;
                   21773: *)
                   21774:   case $ac_srcdir in
                   21775:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21776:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21777:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21778:   esac;;
                   21779: esac
                   21780: case $ac_abs_builddir in
                   21781: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21782: *)
                   21783:   case $ac_top_srcdir in
                   21784:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21785:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21786:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21787:   esac;;
                   21788: esac
1.62      paf      21789: 
                   21790: 
                   21791:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   21792: echo "$as_me: executing $ac_dest commands" >&6;}
                   21793:   case $ac_dest in
                   21794:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   21795:   # Strip MF so we end up with the name of the file.
                   21796:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21797:   # Check whether this is an Automake generated Makefile or not.
                   21798:   # We used to match only the files named `Makefile.in', but
                   21799:   # some people rename them; so instead we look at the file content.
                   21800:   # Grep'ing the first line is not enough: some people post-process
                   21801:   # each Makefile.in and add a new line on top of each file to say so.
                   21802:   # So let's grep whole file.
                   21803:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   21804:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   21805: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21806:         X"$mf" : 'X\(//\)[^/]' \| \
                   21807:         X"$mf" : 'X\(//\)$' \| \
                   21808:         X"$mf" : 'X\(/\)' \| \
                   21809:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21810: echo X"$mf" |
                   21811:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21812:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21813:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21814:          /^X\(\/\).*/{ s//\1/; q; }
                   21815:          s/.*/./; q'`
                   21816:   else
                   21817:     continue
                   21818:   fi
1.86      paf      21819:   # Extract the definition of DEPDIR, am__include, and am__quote
                   21820:   # from the Makefile without running `make'.
                   21821:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      21822:   test -z "$DEPDIR" && continue
1.86      paf      21823:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   21824:   test -z "am__include" && continue
                   21825:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      21826:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      21827:   U=`sed -n 's/^U = //p' < "$mf"`
                   21828:   # Find all dependency output files, they are included files with
                   21829:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21830:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   21831:   # expansion.
                   21832:   for file in `sed -n "
                   21833:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      21834:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   21835:     # Make sure the directory exists.
                   21836:     test -f "$dirpart/$file" && continue
                   21837:     fdir=`(dirname "$file") 2>/dev/null ||
                   21838: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21839:         X"$file" : 'X\(//\)[^/]' \| \
                   21840:         X"$file" : 'X\(//\)$' \| \
                   21841:         X"$file" : 'X\(/\)' \| \
                   21842:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21843: echo X"$file" |
                   21844:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21845:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21846:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21847:          /^X\(\/\).*/{ s//\1/; q; }
                   21848:          s/.*/./; q'`
                   21849:     { if $as_mkdir_p; then
                   21850:     mkdir -p $dirpart/$fdir
                   21851:   else
                   21852:     as_dir=$dirpart/$fdir
                   21853:     as_dirs=
                   21854:     while test ! -d "$as_dir"; do
                   21855:       as_dirs="$as_dir $as_dirs"
                   21856:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21857: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21858:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21859:         X"$as_dir" : 'X\(//\)$' \| \
                   21860:         X"$as_dir" : 'X\(/\)' \| \
                   21861:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21862: echo X"$as_dir" |
                   21863:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21864:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21865:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21866:          /^X\(\/\).*/{ s//\1/; q; }
                   21867:          s/.*/./; q'`
                   21868:     done
                   21869:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21870:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   21871: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   21872:    { (exit 1); exit 1; }; }; }
1.1       paf      21873: 
1.62      paf      21874:     # echo "creating $dirpart/$file"
                   21875:     echo '# dummy' > "$dirpart/$file"
                   21876:   done
                   21877: done
                   21878:  ;;
1.128     moko     21879:     libtool )
                   21880: 
                   21881:     # See if we are running on zsh, and set the options which allow our
                   21882:     # commands through without removal of \ escapes.
                   21883:     if test -n "${ZSH_VERSION+set}" ; then
                   21884:       setopt NO_GLOB_SUBST
                   21885:     fi
                   21886: 
                   21887:     cfgfile="${ofile}T"
                   21888:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21889:     $RM "$cfgfile"
                   21890: 
                   21891:     cat <<_LT_EOF >> "$cfgfile"
                   21892: #! $SHELL
                   21893: 
                   21894: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21895: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21896: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21897: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21898: #
                   21899: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   21900: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21901: #                 Foundation, Inc.
                   21902: #   Written by Gordon Matzigkeit, 1996
                   21903: #
                   21904: #   This file is part of GNU Libtool.
                   21905: #
                   21906: # GNU Libtool is free software; you can redistribute it and/or
                   21907: # modify it under the terms of the GNU General Public License as
                   21908: # published by the Free Software Foundation; either version 2 of
                   21909: # the License, or (at your option) any later version.
                   21910: #
                   21911: # As a special exception to the GNU General Public License,
                   21912: # if you distribute this file as part of a program or library that
                   21913: # is built using GNU Libtool, you may include this file under the
                   21914: # same distribution terms that you use for the rest of that program.
                   21915: #
                   21916: # GNU Libtool is distributed in the hope that it will be useful,
                   21917: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21918: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21919: # GNU General Public License for more details.
                   21920: #
                   21921: # You should have received a copy of the GNU General Public License
                   21922: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21923: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21924: # obtained by writing to the Free Software Foundation, Inc.,
                   21925: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21926: 
                   21927: 
                   21928: # The names of the tagged configurations supported by this script.
                   21929: available_tags="CXX "
                   21930: 
                   21931: # ### BEGIN LIBTOOL CONFIG
                   21932: 
                   21933: # Which release of libtool.m4 was used?
                   21934: macro_version=$macro_version
                   21935: macro_revision=$macro_revision
                   21936: 
                   21937: # Assembler program.
                   21938: AS=$lt_AS
                   21939: 
                   21940: # DLL creation program.
                   21941: DLLTOOL=$lt_DLLTOOL
                   21942: 
                   21943: # Object dumper program.
                   21944: OBJDUMP=$lt_OBJDUMP
                   21945: 
1.145     moko     21946: # What type of objects to build.
                   21947: pic_mode=$pic_mode
                   21948: 
1.128     moko     21949: # Whether or not to build shared libraries.
                   21950: build_libtool_libs=$enable_shared
                   21951: 
1.138     moko     21952: # Whether or not to build static libraries.
                   21953: build_old_libs=$enable_static
                   21954: 
1.128     moko     21955: # Whether or not to optimize for fast installation.
                   21956: fast_install=$enable_fast_install
                   21957: 
                   21958: # Shell to use when invoking shell scripts.
                   21959: SHELL=$lt_SHELL
                   21960: 
                   21961: # An echo program that protects backslashes.
                   21962: ECHO=$lt_ECHO
                   21963: 
                   21964: # The PATH separator for the build system.
                   21965: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21966: 
                   21967: # The host system.
                   21968: host_alias=$host_alias
                   21969: host=$host
                   21970: host_os=$host_os
                   21971: 
                   21972: # The build system.
                   21973: build_alias=$build_alias
                   21974: build=$build
                   21975: build_os=$build_os
                   21976: 
                   21977: # A sed program that does not truncate output.
                   21978: SED=$lt_SED
                   21979: 
                   21980: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21981: Xsed="\$SED -e 1s/^X//"
                   21982: 
                   21983: # A grep program that handles long lines.
                   21984: GREP=$lt_GREP
                   21985: 
                   21986: # An ERE matcher.
                   21987: EGREP=$lt_EGREP
                   21988: 
                   21989: # A literal string matcher.
                   21990: FGREP=$lt_FGREP
                   21991: 
                   21992: # A BSD- or MS-compatible name lister.
                   21993: NM=$lt_NM
                   21994: 
                   21995: # Whether we need soft or hard links.
                   21996: LN_S=$lt_LN_S
                   21997: 
                   21998: # What is the maximum length of a command?
                   21999: max_cmd_len=$max_cmd_len
                   22000: 
                   22001: # Object file suffix (normally "o").
                   22002: objext=$ac_objext
                   22003: 
                   22004: # Executable file suffix (normally "").
                   22005: exeext=$exeext
                   22006: 
                   22007: # whether the shell understands "unset".
                   22008: lt_unset=$lt_unset
                   22009: 
                   22010: # turn spaces into newlines.
                   22011: SP2NL=$lt_lt_SP2NL
                   22012: 
                   22013: # turn newlines into spaces.
                   22014: NL2SP=$lt_lt_NL2SP
                   22015: 
                   22016: # convert \$build file names to \$host format.
                   22017: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   22018: 
                   22019: # convert \$build files to toolchain format.
                   22020: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   22021: 
                   22022: # Method to check whether dependent libraries are shared objects.
                   22023: deplibs_check_method=$lt_deplibs_check_method
                   22024: 
                   22025: # Command to use when deplibs_check_method = "file_magic".
                   22026: file_magic_cmd=$lt_file_magic_cmd
                   22027: 
                   22028: # How to find potential files when deplibs_check_method = "file_magic".
                   22029: file_magic_glob=$lt_file_magic_glob
                   22030: 
                   22031: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   22032: want_nocaseglob=$lt_want_nocaseglob
                   22033: 
                   22034: # Command to associate shared and link libraries.
                   22035: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   22036: 
                   22037: # The archiver.
                   22038: AR=$lt_AR
                   22039: 
                   22040: # Flags to create an archive.
                   22041: AR_FLAGS=$lt_AR_FLAGS
                   22042: 
                   22043: # How to feed a file listing to the archiver.
                   22044: archiver_list_spec=$lt_archiver_list_spec
                   22045: 
                   22046: # A symbol stripping program.
                   22047: STRIP=$lt_STRIP
                   22048: 
                   22049: # Commands used to install an old-style archive.
                   22050: RANLIB=$lt_RANLIB
                   22051: old_postinstall_cmds=$lt_old_postinstall_cmds
                   22052: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   22053: 
                   22054: # Whether to use a lock for old archive extraction.
                   22055: lock_old_archive_extraction=$lock_old_archive_extraction
                   22056: 
                   22057: # A C compiler.
                   22058: LTCC=$lt_CC
                   22059: 
                   22060: # LTCC compiler flags.
                   22061: LTCFLAGS=$lt_CFLAGS
                   22062: 
                   22063: # Take the output of nm and produce a listing of raw symbols and C names.
                   22064: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22065: 
                   22066: # Transform the output of nm in a proper C declaration.
                   22067: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22068: 
                   22069: # Transform the output of nm in a C name address pair.
                   22070: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22071: 
                   22072: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22073: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22074: 
                   22075: # Specify filename containing input files for \$NM.
                   22076: nm_file_list_spec=$lt_nm_file_list_spec
                   22077: 
                   22078: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22079: lt_sysroot=$lt_sysroot
                   22080: 
                   22081: # The name of the directory that contains temporary libtool files.
                   22082: objdir=$objdir
                   22083: 
                   22084: # Used to examine libraries when file_magic_cmd begins with "file".
                   22085: MAGIC_CMD=$MAGIC_CMD
                   22086: 
                   22087: # Must we lock files when doing compilation?
                   22088: need_locks=$lt_need_locks
                   22089: 
                   22090: # Manifest tool.
                   22091: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22092: 
                   22093: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22094: DSYMUTIL=$lt_DSYMUTIL
                   22095: 
                   22096: # Tool to change global to local symbols on Mac OS X.
                   22097: NMEDIT=$lt_NMEDIT
                   22098: 
                   22099: # Tool to manipulate fat objects and archives on Mac OS X.
                   22100: LIPO=$lt_LIPO
                   22101: 
                   22102: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22103: OTOOL=$lt_OTOOL
                   22104: 
                   22105: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22106: OTOOL64=$lt_OTOOL64
                   22107: 
                   22108: # Old archive suffix (normally "a").
                   22109: libext=$libext
                   22110: 
                   22111: # Shared library suffix (normally ".so").
                   22112: shrext_cmds=$lt_shrext_cmds
                   22113: 
                   22114: # The commands to extract the exported symbol list from a shared archive.
                   22115: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22116: 
                   22117: # Variables whose values should be saved in libtool wrapper scripts and
                   22118: # restored at link time.
                   22119: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22120: 
                   22121: # Do we need the "lib" prefix for modules?
                   22122: need_lib_prefix=$need_lib_prefix
                   22123: 
                   22124: # Do we need a version for libraries?
                   22125: need_version=$need_version
                   22126: 
                   22127: # Library versioning type.
                   22128: version_type=$version_type
                   22129: 
                   22130: # Shared library runtime path variable.
                   22131: runpath_var=$runpath_var
                   22132: 
                   22133: # Shared library path variable.
                   22134: shlibpath_var=$shlibpath_var
                   22135: 
                   22136: # Is shlibpath searched before the hard-coded library search path?
                   22137: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22138: 
                   22139: # Format of library name prefix.
                   22140: libname_spec=$lt_libname_spec
                   22141: 
                   22142: # List of archive names.  First name is the real one, the rest are links.
                   22143: # The last name is the one that the linker finds with -lNAME
                   22144: library_names_spec=$lt_library_names_spec
                   22145: 
                   22146: # The coded name of the library, if different from the real name.
                   22147: soname_spec=$lt_soname_spec
                   22148: 
                   22149: # Permission mode override for installation of shared libraries.
                   22150: install_override_mode=$lt_install_override_mode
                   22151: 
                   22152: # Command to use after installation of a shared archive.
                   22153: postinstall_cmds=$lt_postinstall_cmds
                   22154: 
                   22155: # Command to use after uninstallation of a shared archive.
                   22156: postuninstall_cmds=$lt_postuninstall_cmds
                   22157: 
                   22158: # Commands used to finish a libtool library installation in a directory.
                   22159: finish_cmds=$lt_finish_cmds
                   22160: 
                   22161: # As "finish_cmds", except a single script fragment to be evaled but
                   22162: # not shown.
                   22163: finish_eval=$lt_finish_eval
                   22164: 
                   22165: # Whether we should hardcode library paths into libraries.
                   22166: hardcode_into_libs=$hardcode_into_libs
                   22167: 
                   22168: # Compile-time system search path for libraries.
                   22169: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22170: 
                   22171: # Run-time system search path for libraries.
                   22172: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22173: 
                   22174: # Whether dlopen is supported.
                   22175: dlopen_support=$enable_dlopen
                   22176: 
                   22177: # Whether dlopen of programs is supported.
                   22178: dlopen_self=$enable_dlopen_self
                   22179: 
                   22180: # Whether dlopen of statically linked programs is supported.
                   22181: dlopen_self_static=$enable_dlopen_self_static
                   22182: 
                   22183: # Commands to strip libraries.
                   22184: old_striplib=$lt_old_striplib
                   22185: striplib=$lt_striplib
                   22186: 
                   22187: 
                   22188: # The linker used to build libraries.
                   22189: LD=$lt_LD
                   22190: 
                   22191: # How to create reloadable object files.
                   22192: reload_flag=$lt_reload_flag
                   22193: reload_cmds=$lt_reload_cmds
                   22194: 
                   22195: # Commands used to build an old-style archive.
                   22196: old_archive_cmds=$lt_old_archive_cmds
                   22197: 
                   22198: # A language specific compiler.
                   22199: CC=$lt_compiler
                   22200: 
                   22201: # Is the compiler the GNU compiler?
                   22202: with_gcc=$GCC
                   22203: 
                   22204: # Compiler flag to turn off builtin functions.
                   22205: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22206: 
                   22207: # Additional compiler flags for building library objects.
                   22208: pic_flag=$lt_lt_prog_compiler_pic
                   22209: 
                   22210: # How to pass a linker flag through the compiler.
                   22211: wl=$lt_lt_prog_compiler_wl
                   22212: 
                   22213: # Compiler flag to prevent dynamic linking.
                   22214: link_static_flag=$lt_lt_prog_compiler_static
                   22215: 
                   22216: # Does compiler simultaneously support -c and -o options?
                   22217: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22218: 
                   22219: # Whether or not to add -lc for building shared libraries.
                   22220: build_libtool_need_lc=$archive_cmds_need_lc
                   22221: 
                   22222: # Whether or not to disallow shared libs when runtime libs are static.
                   22223: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22224: 
                   22225: # Compiler flag to allow reflexive dlopens.
                   22226: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22227: 
                   22228: # Compiler flag to generate shared objects directly from archives.
                   22229: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22230: 
                   22231: # Whether the compiler copes with passing no objects directly.
                   22232: compiler_needs_object=$lt_compiler_needs_object
                   22233: 
                   22234: # Create an old-style archive from a shared archive.
                   22235: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22236: 
                   22237: # Create a temporary old-style archive to link instead of a shared archive.
                   22238: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22239: 
                   22240: # Commands used to build a shared archive.
                   22241: archive_cmds=$lt_archive_cmds
                   22242: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22243: 
                   22244: # Commands used to build a loadable module if different from building
                   22245: # a shared archive.
                   22246: module_cmds=$lt_module_cmds
                   22247: module_expsym_cmds=$lt_module_expsym_cmds
                   22248: 
                   22249: # Whether we are building with GNU ld or not.
                   22250: with_gnu_ld=$lt_with_gnu_ld
                   22251: 
                   22252: # Flag that allows shared libraries with undefined symbols to be built.
                   22253: allow_undefined_flag=$lt_allow_undefined_flag
                   22254: 
                   22255: # Flag that enforces no undefined symbols.
                   22256: no_undefined_flag=$lt_no_undefined_flag
                   22257: 
                   22258: # Flag to hardcode \$libdir into a binary during linking.
                   22259: # This must work even if \$libdir does not exist
                   22260: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22261: 
                   22262: # Whether we need a single "-rpath" flag with a separated argument.
                   22263: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22264: 
                   22265: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22266: # DIR into the resulting binary.
                   22267: hardcode_direct=$hardcode_direct
                   22268: 
                   22269: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22270: # DIR into the resulting binary and the resulting library dependency is
                   22271: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22272: # library is relocated.
                   22273: hardcode_direct_absolute=$hardcode_direct_absolute
                   22274: 
                   22275: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22276: # into the resulting binary.
                   22277: hardcode_minus_L=$hardcode_minus_L
                   22278: 
                   22279: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22280: # into the resulting binary.
                   22281: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22282: 
                   22283: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22284: # into the library and all subsequent libraries and executables linked
                   22285: # against it.
                   22286: hardcode_automatic=$hardcode_automatic
                   22287: 
                   22288: # Set to yes if linker adds runtime paths of dependent libraries
                   22289: # to runtime path list.
                   22290: inherit_rpath=$inherit_rpath
                   22291: 
                   22292: # Whether libtool must link a program against all its dependency libraries.
                   22293: link_all_deplibs=$link_all_deplibs
                   22294: 
                   22295: # Set to "yes" if exported symbols are required.
                   22296: always_export_symbols=$always_export_symbols
                   22297: 
                   22298: # The commands to list exported symbols.
                   22299: export_symbols_cmds=$lt_export_symbols_cmds
                   22300: 
                   22301: # Symbols that should not be listed in the preloaded symbols.
                   22302: exclude_expsyms=$lt_exclude_expsyms
                   22303: 
                   22304: # Symbols that must always be exported.
                   22305: include_expsyms=$lt_include_expsyms
                   22306: 
                   22307: # Commands necessary for linking programs (against libraries) with templates.
                   22308: prelink_cmds=$lt_prelink_cmds
                   22309: 
                   22310: # Commands necessary for finishing linking programs.
                   22311: postlink_cmds=$lt_postlink_cmds
                   22312: 
                   22313: # Specify filename containing input files.
                   22314: file_list_spec=$lt_file_list_spec
                   22315: 
                   22316: # How to hardcode a shared library path into an executable.
                   22317: hardcode_action=$hardcode_action
                   22318: 
                   22319: # The directories searched by this compiler when creating a shared library.
                   22320: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   22321: 
                   22322: # Dependencies to place before and after the objects being linked to
                   22323: # create a shared library.
                   22324: predep_objects=$lt_predep_objects
                   22325: postdep_objects=$lt_postdep_objects
                   22326: predeps=$lt_predeps
                   22327: postdeps=$lt_postdeps
                   22328: 
                   22329: # The library search path used internally by the compiler when linking
                   22330: # a shared library.
                   22331: compiler_lib_search_path=$lt_compiler_lib_search_path
                   22332: 
                   22333: # ### END LIBTOOL CONFIG
                   22334: 
                   22335: _LT_EOF
                   22336: 
                   22337:   case $host_os in
                   22338:   aix3*)
                   22339:     cat <<\_LT_EOF >> "$cfgfile"
                   22340: # AIX sometimes has problems with the GCC collect2 program.  For some
                   22341: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   22342: # vanish in a puff of smoke.
                   22343: if test "X${COLLECT_NAMES+set}" != Xset; then
                   22344:   COLLECT_NAMES=
                   22345:   export COLLECT_NAMES
                   22346: fi
                   22347: _LT_EOF
                   22348:     ;;
                   22349:   esac
                   22350: 
                   22351: 
                   22352: ltmain="$ac_aux_dir/ltmain.sh"
                   22353: 
                   22354: 
                   22355:   # We use sed instead of cat because bash on DJGPP gets confused if
                   22356:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   22357:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   22358:   # is reportedly fixed, but why not run on old versions too?
                   22359:   sed '$q' "$ltmain" >> "$cfgfile" \
                   22360:      || (rm -f "$cfgfile"; exit 1)
                   22361: 
                   22362:   if test x"$xsi_shell" = xyes; then
                   22363:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   22364: func_dirname ()\
                   22365: {\
                   22366: \    case ${1} in\
                   22367: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22368: \      *  ) func_dirname_result="${3}" ;;\
                   22369: \    esac\
                   22370: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   22371:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22372:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22373: test 0 -eq $? || _lt_function_replace_fail=:
                   22374: 
                   22375: 
                   22376:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   22377: func_basename ()\
                   22378: {\
                   22379: \    func_basename_result="${1##*/}"\
                   22380: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22381:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22382:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22383: test 0 -eq $? || _lt_function_replace_fail=:
                   22384: 
                   22385: 
                   22386:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   22387: func_dirname_and_basename ()\
                   22388: {\
                   22389: \    case ${1} in\
                   22390: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22391: \      *  ) func_dirname_result="${3}" ;;\
                   22392: \    esac\
                   22393: \    func_basename_result="${1##*/}"\
                   22394: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22395:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22396:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22397: test 0 -eq $? || _lt_function_replace_fail=:
                   22398: 
                   22399: 
                   22400:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   22401: func_stripname ()\
                   22402: {\
                   22403: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   22404: \    # positional parameters, so assign one to ordinary parameter first.\
                   22405: \    func_stripname_result=${3}\
                   22406: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   22407: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   22408: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   22409:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22410:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22411: test 0 -eq $? || _lt_function_replace_fail=:
                   22412: 
                   22413: 
                   22414:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   22415: func_split_long_opt ()\
                   22416: {\
                   22417: \    func_split_long_opt_name=${1%%=*}\
                   22418: \    func_split_long_opt_arg=${1#*=}\
                   22419: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22420:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22421:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22422: test 0 -eq $? || _lt_function_replace_fail=:
                   22423: 
                   22424: 
                   22425:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   22426: func_split_short_opt ()\
                   22427: {\
                   22428: \    func_split_short_opt_arg=${1#??}\
                   22429: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   22430: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22431:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22432:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22433: test 0 -eq $? || _lt_function_replace_fail=:
                   22434: 
                   22435: 
                   22436:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   22437: func_lo2o ()\
                   22438: {\
                   22439: \    case ${1} in\
                   22440: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   22441: \      *)    func_lo2o_result=${1} ;;\
                   22442: \    esac\
                   22443: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   22444:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22445:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22446: test 0 -eq $? || _lt_function_replace_fail=:
                   22447: 
                   22448: 
                   22449:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   22450: func_xform ()\
                   22451: {\
                   22452:     func_xform_result=${1%.*}.lo\
                   22453: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   22454:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22455:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22456: test 0 -eq $? || _lt_function_replace_fail=:
                   22457: 
                   22458: 
                   22459:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   22460: func_arith ()\
                   22461: {\
                   22462:     func_arith_result=$(( $* ))\
                   22463: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   22464:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22465:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22466: test 0 -eq $? || _lt_function_replace_fail=:
                   22467: 
                   22468: 
                   22469:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   22470: func_len ()\
                   22471: {\
                   22472:     func_len_result=${#1}\
                   22473: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   22474:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22475:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22476: test 0 -eq $? || _lt_function_replace_fail=:
                   22477: 
                   22478: fi
                   22479: 
                   22480: if test x"$lt_shell_append" = xyes; then
                   22481:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   22482: func_append ()\
                   22483: {\
                   22484:     eval "${1}+=\\${2}"\
                   22485: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   22486:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22487:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22488: test 0 -eq $? || _lt_function_replace_fail=:
                   22489: 
                   22490: 
                   22491:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   22492: func_append_quoted ()\
                   22493: {\
                   22494: \    func_quote_for_eval "${2}"\
                   22495: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   22496: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   22497:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22498:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22499: test 0 -eq $? || _lt_function_replace_fail=:
                   22500: 
                   22501: 
                   22502:   # Save a `func_append' function call where possible by direct use of '+='
                   22503:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   22504:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22505:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22506:   test 0 -eq $? || _lt_function_replace_fail=:
                   22507: else
                   22508:   # Save a `func_append' function call even when '+=' is not available
                   22509:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   22510:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22511:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22512:   test 0 -eq $? || _lt_function_replace_fail=:
                   22513: fi
                   22514: 
                   22515: if test x"$_lt_function_replace_fail" = x":"; then
                   22516:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22517: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22518: fi
                   22519: 
                   22520: 
                   22521:    mv -f "$cfgfile" "$ofile" ||
                   22522:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22523:   chmod +x "$ofile"
                   22524: 
                   22525: 
                   22526:     cat <<_LT_EOF >> "$ofile"
                   22527: 
                   22528: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22529: 
                   22530: # The linker used to build libraries.
                   22531: LD=$lt_LD_CXX
                   22532: 
                   22533: # How to create reloadable object files.
                   22534: reload_flag=$lt_reload_flag_CXX
                   22535: reload_cmds=$lt_reload_cmds_CXX
                   22536: 
                   22537: # Commands used to build an old-style archive.
                   22538: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22539: 
                   22540: # A language specific compiler.
                   22541: CC=$lt_compiler_CXX
                   22542: 
                   22543: # Is the compiler the GNU compiler?
                   22544: with_gcc=$GCC_CXX
                   22545: 
                   22546: # Compiler flag to turn off builtin functions.
                   22547: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22548: 
                   22549: # Additional compiler flags for building library objects.
                   22550: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22551: 
                   22552: # How to pass a linker flag through the compiler.
                   22553: wl=$lt_lt_prog_compiler_wl_CXX
                   22554: 
                   22555: # Compiler flag to prevent dynamic linking.
                   22556: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22557: 
                   22558: # Does compiler simultaneously support -c and -o options?
                   22559: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22560: 
                   22561: # Whether or not to add -lc for building shared libraries.
                   22562: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22563: 
                   22564: # Whether or not to disallow shared libs when runtime libs are static.
                   22565: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22566: 
                   22567: # Compiler flag to allow reflexive dlopens.
                   22568: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22569: 
                   22570: # Compiler flag to generate shared objects directly from archives.
                   22571: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22572: 
                   22573: # Whether the compiler copes with passing no objects directly.
                   22574: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22575: 
                   22576: # Create an old-style archive from a shared archive.
                   22577: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22578: 
                   22579: # Create a temporary old-style archive to link instead of a shared archive.
                   22580: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22581: 
                   22582: # Commands used to build a shared archive.
                   22583: archive_cmds=$lt_archive_cmds_CXX
                   22584: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22585: 
                   22586: # Commands used to build a loadable module if different from building
                   22587: # a shared archive.
                   22588: module_cmds=$lt_module_cmds_CXX
                   22589: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22590: 
                   22591: # Whether we are building with GNU ld or not.
                   22592: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22593: 
                   22594: # Flag that allows shared libraries with undefined symbols to be built.
                   22595: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22596: 
                   22597: # Flag that enforces no undefined symbols.
                   22598: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22599: 
                   22600: # Flag to hardcode \$libdir into a binary during linking.
                   22601: # This must work even if \$libdir does not exist
                   22602: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22603: 
                   22604: # Whether we need a single "-rpath" flag with a separated argument.
                   22605: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22606: 
                   22607: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22608: # DIR into the resulting binary.
                   22609: hardcode_direct=$hardcode_direct_CXX
                   22610: 
                   22611: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22612: # DIR into the resulting binary and the resulting library dependency is
                   22613: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22614: # library is relocated.
                   22615: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22616: 
                   22617: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22618: # into the resulting binary.
                   22619: hardcode_minus_L=$hardcode_minus_L_CXX
                   22620: 
                   22621: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22622: # into the resulting binary.
                   22623: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22624: 
                   22625: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22626: # into the library and all subsequent libraries and executables linked
                   22627: # against it.
                   22628: hardcode_automatic=$hardcode_automatic_CXX
                   22629: 
                   22630: # Set to yes if linker adds runtime paths of dependent libraries
                   22631: # to runtime path list.
                   22632: inherit_rpath=$inherit_rpath_CXX
                   22633: 
                   22634: # Whether libtool must link a program against all its dependency libraries.
                   22635: link_all_deplibs=$link_all_deplibs_CXX
                   22636: 
                   22637: # Set to "yes" if exported symbols are required.
                   22638: always_export_symbols=$always_export_symbols_CXX
                   22639: 
                   22640: # The commands to list exported symbols.
                   22641: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22642: 
                   22643: # Symbols that should not be listed in the preloaded symbols.
                   22644: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22645: 
                   22646: # Symbols that must always be exported.
                   22647: include_expsyms=$lt_include_expsyms_CXX
                   22648: 
                   22649: # Commands necessary for linking programs (against libraries) with templates.
                   22650: prelink_cmds=$lt_prelink_cmds_CXX
                   22651: 
                   22652: # Commands necessary for finishing linking programs.
                   22653: postlink_cmds=$lt_postlink_cmds_CXX
                   22654: 
                   22655: # Specify filename containing input files.
                   22656: file_list_spec=$lt_file_list_spec_CXX
                   22657: 
                   22658: # How to hardcode a shared library path into an executable.
                   22659: hardcode_action=$hardcode_action_CXX
                   22660: 
                   22661: # The directories searched by this compiler when creating a shared library.
                   22662: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22663: 
                   22664: # Dependencies to place before and after the objects being linked to
                   22665: # create a shared library.
                   22666: predep_objects=$lt_predep_objects_CXX
                   22667: postdep_objects=$lt_postdep_objects_CXX
                   22668: predeps=$lt_predeps_CXX
                   22669: postdeps=$lt_postdeps_CXX
                   22670: 
                   22671: # The library search path used internally by the compiler when linking
                   22672: # a shared library.
                   22673: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22674: 
                   22675: # ### END LIBTOOL TAG CONFIG: CXX
                   22676: _LT_EOF
                   22677: 
                   22678:  ;;
1.62      paf      22679:   esac
                   22680: done
                   22681: _ACEOF
                   22682: 
                   22683: cat >>$CONFIG_STATUS <<\_ACEOF
                   22684: 
                   22685: { (exit 0); exit 0; }
                   22686: _ACEOF
1.1       paf      22687: chmod +x $CONFIG_STATUS
1.62      paf      22688: ac_clean_files=$ac_clean_files_save
                   22689: 
1.1       paf      22690: 
1.62      paf      22691: # configure is writing to config.log, and then calls config.status.
                   22692: # config.status does its own redirection, appending to config.log.
                   22693: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22694: # by configure, so config.status won't be able to write to it; its
                   22695: # output is simply discarded.  So we exec the FD to /dev/null,
                   22696: # effectively closing config.log, so it can be properly (re)opened and
                   22697: # appended to by config.status.  When coming back to configure, we
                   22698: # need to make the FD available again.
                   22699: if test "$no_create" != yes; then
                   22700:   ac_cs_success=:
                   22701:   ac_config_status_args=
                   22702:   test "$silent" = yes &&
                   22703:     ac_config_status_args="$ac_config_status_args --quiet"
                   22704:   exec 5>/dev/null
                   22705:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22706:   exec 5>>config.log
                   22707:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22708:   # would make configure fail if this is the last instruction.
                   22709:   $ac_cs_success || { (exit 1); exit 1; }
                   22710: fi
                   22711: 
                   22712: #
                   22713: # CONFIG_SUBDIRS section.
                   22714: #
1.1       paf      22715: if test "$no_recursion" != yes; then
                   22716: 
                   22717:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   22718:   ac_sub_configure_args=
                   22719:   ac_prev=
                   22720:   for ac_arg in $ac_configure_args; do
                   22721:     if test -n "$ac_prev"; then
                   22722:       ac_prev=
                   22723:       continue
                   22724:     fi
1.62      paf      22725:     case $ac_arg in
1.1       paf      22726:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   22727:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   22728:       ac_prev=cache_file ;;
                   22729:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      22730:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   22731:     | --c=*)
                   22732:       ;;
                   22733:     --config-cache | -C)
1.1       paf      22734:       ;;
                   22735:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   22736:       ac_prev=srcdir ;;
                   22737:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   22738:       ;;
1.62      paf      22739:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   22740:       ac_prev=prefix ;;
                   22741:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   22742:       ;;
1.1       paf      22743:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   22744:     esac
                   22745:   done
                   22746: 
1.62      paf      22747:   # Always prepend --prefix to ensure using the same prefix
                   22748:   # in subdir configurations.
                   22749:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   22750: 
                   22751:   ac_popdir=`pwd`
                   22752:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      22753: 
                   22754:     # Do not complain, so a configure script can configure whichever
                   22755:     # parts of a large source tree are present.
1.62      paf      22756:     test -d $srcdir/$ac_dir || continue
1.1       paf      22757: 
1.62      paf      22758:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   22759: echo "$as_me: configuring in $ac_dir" >&6;}
                   22760:     { if $as_mkdir_p; then
                   22761:     mkdir -p "$ac_dir"
                   22762:   else
                   22763:     as_dir="$ac_dir"
                   22764:     as_dirs=
                   22765:     while test ! -d "$as_dir"; do
                   22766:       as_dirs="$as_dir $as_dirs"
                   22767:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   22768: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      22769:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   22770:         X"$as_dir" : 'X\(//\)$' \| \
                   22771:         X"$as_dir" : 'X\(/\)' \| \
                   22772:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      22773: echo X"$as_dir" |
                   22774:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   22775:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   22776:          /^X\(\/\/\)$/{ s//\1/; q; }
                   22777:          /^X\(\/\).*/{ s//\1/; q; }
                   22778:          s/.*/./; q'`
                   22779:     done
                   22780:     test ! -n "$as_dirs" || mkdir $as_dirs
                   22781:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   22782: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   22783:    { (exit 1); exit 1; }; }; }
                   22784: 
                   22785:     ac_builddir=.
                   22786: 
                   22787: if test "$ac_dir" != .; then
                   22788:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   22789:   # A "../" for each directory in $ac_dir_suffix.
                   22790:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   22791: else
                   22792:   ac_dir_suffix= ac_top_builddir=
                   22793: fi
                   22794: 
                   22795: case $srcdir in
                   22796:   .)  # No --srcdir option.  We are building in place.
                   22797:     ac_srcdir=.
                   22798:     if test -z "$ac_top_builddir"; then
                   22799:        ac_top_srcdir=.
                   22800:     else
                   22801:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   22802:     fi ;;
                   22803:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   22804:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22805:     ac_top_srcdir=$srcdir ;;
                   22806:   *) # Relative path.
                   22807:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   22808:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   22809: esac
1.86      paf      22810: 
                   22811: # Do not use `cd foo && pwd` to compute absolute paths, because
                   22812: # the directories may not exist.
                   22813: case `pwd` in
                   22814: .) ac_abs_builddir="$ac_dir";;
                   22815: *)
                   22816:   case "$ac_dir" in
                   22817:   .) ac_abs_builddir=`pwd`;;
                   22818:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   22819:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   22820:   esac;;
                   22821: esac
                   22822: case $ac_abs_builddir in
                   22823: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22824: *)
                   22825:   case ${ac_top_builddir}. in
                   22826:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   22827:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22828:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   22829:   esac;;
                   22830: esac
                   22831: case $ac_abs_builddir in
                   22832: .) ac_abs_srcdir=$ac_srcdir;;
                   22833: *)
                   22834:   case $ac_srcdir in
                   22835:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   22836:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   22837:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   22838:   esac;;
                   22839: esac
                   22840: case $ac_abs_builddir in
                   22841: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22842: *)
                   22843:   case $ac_top_srcdir in
                   22844:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   22845:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22846:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   22847:   esac;;
                   22848: esac
1.1       paf      22849: 
                   22850: 
1.62      paf      22851:     cd $ac_dir
1.1       paf      22852: 
                   22853:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      22854:     if test -f $ac_srcdir/configure.gnu; then
                   22855:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   22856:     elif test -f $ac_srcdir/configure; then
                   22857:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   22858:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      22859:       ac_sub_configure=$ac_configure
                   22860:     else
1.62      paf      22861:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   22862: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      22863:       ac_sub_configure=
                   22864:     fi
                   22865: 
                   22866:     # The recursion is here.
                   22867:     if test -n "$ac_sub_configure"; then
                   22868:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      22869:       case $cache_file in
                   22870:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      22871:       *) # Relative path.
1.86      paf      22872:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      22873:       esac
                   22874: 
1.62      paf      22875:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   22876: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      22877:       # The eval makes quoting arguments work.
1.62      paf      22878:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      22879:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   22880:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      22881: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   22882:    { (exit 1); exit 1; }; }
1.1       paf      22883:     fi
                   22884: 
                   22885:     cd $ac_popdir
                   22886:   done
                   22887: fi
                   22888: 

E-mail: