Annotation of parser3/configure, revision 1.148

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"
                   3886:        { echo "$as_me:$LINENO: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   3887: echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
1.100     misha    3888: 
                   3889: fi;
                   3890: 
1.142     moko     3891: if test -z "$PCRE_OK"; then
                   3892:        echo "$as_me:$LINENO: checking for prce" >&5
                   3893: echo $ECHO_N "checking for prce... $ECHO_C" >&6
                   3894:        SAVE_LIBS=$LIBS
                   3895:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
                   3896:        cat >conftest.$ac_ext <<_ACEOF
                   3897: /* confdefs.h.  */
                   3898: _ACEOF
                   3899: cat confdefs.h >>conftest.$ac_ext
                   3900: cat >>conftest.$ac_ext <<_ACEOF
                   3901: /* end confdefs.h.  */
                   3902:  #include <pcre.h>
                   3903: int
                   3904: main ()
                   3905: {
                   3906:  const char *v=pcre_version();
                   3907:   ;
                   3908:   return 0;
                   3909: }
                   3910: _ACEOF
                   3911: rm -f conftest.$ac_objext conftest$ac_exeext
                   3912: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   3913:   (eval $ac_link) 2>conftest.er1
                   3914:   ac_status=$?
                   3915:   grep -v '^ *+' conftest.er1 >conftest.err
                   3916:   rm -f conftest.er1
                   3917:   cat conftest.err >&5
                   3918:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3919:   (exit $ac_status); } &&
                   3920:         { ac_try='test -z "$ac_c_werror_flag"
                   3921:                         || test ! -s conftest.err'
                   3922:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3923:   (eval $ac_try) 2>&5
                   3924:   ac_status=$?
                   3925:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3926:   (exit $ac_status); }; } &&
                   3927:         { ac_try='test -s conftest$ac_exeext'
                   3928:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3929:   (eval $ac_try) 2>&5
                   3930:   ac_status=$?
                   3931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3932:   (exit $ac_status); }; }; then
                   3933:   echo "$as_me:$LINENO: result: yes" >&5
                   3934: echo "${ECHO_T}yes" >&6
                   3935: 
                   3936: else
                   3937:   echo "$as_me: failed program was:" >&5
                   3938: sed 's/^/| /' conftest.$ac_ext >&5
                   3939: 
                   3940: echo "$as_me:$LINENO: result: no" >&5
                   3941: echo "${ECHO_T}no" >&6
                   3942:                if test -z "$PCRE"; then
                   3943:                        { { echo "$as_me:$LINENO: error: please specify path to PCRE: --with-pcre" >&5
                   3944: echo "$as_me: error: please specify path to PCRE: --with-pcre" >&2;}
                   3945:    { (exit 1); exit 1; }; }
                   3946:                else
                   3947:                        { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   3948: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   3949:    { (exit 1); exit 1; }; }
                   3950:                fi
                   3951: 
                   3952: fi
                   3953: rm -f conftest.err conftest.$ac_objext \
                   3954:       conftest$ac_exeext conftest.$ac_ext
                   3955:        LIBS=$SAVE_LIBS
                   3956: fi
1.100     misha    3957: 
                   3958: 
                   3959: 
                   3960: 
1.66      paf      3961: 
                   3962: 
1.142     moko     3963: # Check whether --with-xml or --without-xml was given.
                   3964: if test "${with_xml+set}" = set; then
                   3965:   withval="$with_xml"
1.66      paf      3966: 
                   3967: 
1.142     moko     3968:        XML=$withval
                   3969:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   3970: 
                   3971:        if test -z "$XML" -o "$XML" = "yes"; then
                   3972:                XML=""
                   3973:                XML_INCLUDES="-I/usr/include/libxml2"
                   3974:                { echo "$as_me:$LINENO: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   3975: echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
                   3976:        else
                   3977:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      3978: 
1.142     moko     3979:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   3980:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   3981:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   3982:                        XML_OK="yes"
                   3983:                fi
1.67      paf      3984:        fi
1.66      paf      3985: 
1.142     moko     3986:        if test -z "$XML_OK"; then
                   3987:                echo "$as_me:$LINENO: checking for xml" >&5
                   3988: echo $ECHO_N "checking for xml... $ECHO_C" >&6
                   3989:                SAVE_LIBS=$LIBS
                   3990:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
                   3991:                cat >conftest.$ac_ext <<_ACEOF
                   3992: /* confdefs.h.  */
                   3993: _ACEOF
                   3994: cat confdefs.h >>conftest.$ac_ext
                   3995: cat >>conftest.$ac_ext <<_ACEOF
                   3996: /* end confdefs.h.  */
                   3997:  #include <libxslt/xslt.h>
                   3998: int
                   3999: main ()
                   4000: {
                   4001:  const char *v=xsltEngineVersion;
                   4002:   ;
                   4003:   return 0;
                   4004: }
                   4005: _ACEOF
                   4006: rm -f conftest.$ac_objext conftest$ac_exeext
                   4007: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4008:   (eval $ac_link) 2>conftest.er1
                   4009:   ac_status=$?
                   4010:   grep -v '^ *+' conftest.er1 >conftest.err
                   4011:   rm -f conftest.er1
                   4012:   cat conftest.err >&5
                   4013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4014:   (exit $ac_status); } &&
                   4015:         { ac_try='test -z "$ac_c_werror_flag"
                   4016:                         || test ! -s conftest.err'
                   4017:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4018:   (eval $ac_try) 2>&5
                   4019:   ac_status=$?
                   4020:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4021:   (exit $ac_status); }; } &&
                   4022:         { ac_try='test -s conftest$ac_exeext'
                   4023:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4024:   (eval $ac_try) 2>&5
                   4025:   ac_status=$?
                   4026:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4027:   (exit $ac_status); }; }; then
                   4028:   echo "$as_me:$LINENO: result: yes" >&5
                   4029: echo "${ECHO_T}yes" >&6
                   4030: 
                   4031: else
                   4032:   echo "$as_me: failed program was:" >&5
                   4033: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      4034: 
1.142     moko     4035: echo "$as_me:$LINENO: result: no" >&5
                   4036: echo "${ECHO_T}no" >&6
                   4037:                        if test -z "$XML"; then
                   4038:                                { { echo "$as_me:$LINENO: error: please specify path to Gnome XML libraries: --with-xml" >&5
                   4039: echo "$as_me: error: please specify path to Gnome XML libraries: --with-xml" >&2;}
                   4040:    { (exit 1); exit 1; }; }
                   4041:                        else
                   4042:                                { { echo "$as_me:$LINENO: error: $XML does not seem to be valid Gnome XML installation directory" >&5
                   4043: echo "$as_me: error: $XML does not seem to be valid Gnome XML installation directory" >&2;}
1.66      paf      4044:    { (exit 1); exit 1; }; }
1.142     moko     4045:                        fi
                   4046: 
                   4047: fi
                   4048: rm -f conftest.err conftest.$ac_objext \
                   4049:       conftest$ac_exeext conftest.$ac_ext
                   4050:                LIBS=$SAVE_LIBS
1.67      paf      4051:        fi
1.66      paf      4052: 
                   4053: cat >>confdefs.h <<\_ACEOF
                   4054: #define XML
                   4055: _ACEOF
                   4056: 
                   4057: 
1.142     moko     4058: fi;
1.90      paf      4059: 
1.66      paf      4060: 
                   4061: 
                   4062: 
                   4063: 
1.90      paf      4064: # Check whether --with-glib-config or --without-glib-config was given.
                   4065: if test "${with_glib_config+set}" = set; then
                   4066:   withval="$with_glib_config"
                   4067:   GLIB_CONFIG=$withval
                   4068: 
                   4069: fi;
1.66      paf      4070: 
                   4071: 
                   4072: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   4073: if test "${with_shared_mailreceive+set}" = set; then
                   4074:   withval="$with_shared_mailreceive"
                   4075: 
1.67      paf      4076:        GNOME_MIME=$withval
                   4077:        MIMEBIN="$GNOME_MIME/bin"
                   4078:        MIMEINC="$GNOME_MIME/include"
                   4079:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4080: 
1.67      paf      4081:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4082:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4083: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4084:    { (exit 1); exit 1; }; }
1.67      paf      4085:        fi
1.66      paf      4086: 
                   4087: 
                   4088: cat >>confdefs.h <<\_ACEOF
                   4089: #define WITH_MAILRECEIVE
                   4090: _ACEOF
                   4091: 
                   4092: 
1.67      paf      4093:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4094: 
1.67      paf      4095:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4096:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4097:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4098:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4099:                        if test \! -x $GLIB_CONFIG; then
                   4100:                                GLIB_CONFIG=glib-config
                   4101:                        fi
1.67      paf      4102:                fi
                   4103:        fi
                   4104:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4105:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4106: 
1.67      paf      4107:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4108:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4109:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4110:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4111:        fi
1.66      paf      4112: 
                   4113: fi;
                   4114: 
                   4115: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4116: if test "${with_static_mailreceive+set}" = set; then
                   4117:   withval="$with_static_mailreceive"
                   4118: 
1.67      paf      4119:        GNOME_MIME=$withval
                   4120:        MIMEBIN="$GNOME_MIME/bin"
                   4121:        MIMEINC="$GNOME_MIME/include"
                   4122:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4123: 
1.67      paf      4124:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4125:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4126: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4127:    { (exit 1); exit 1; }; }
1.67      paf      4128:        fi
1.66      paf      4129: 
                   4130: 
                   4131: cat >>confdefs.h <<\_ACEOF
                   4132: #define WITH_MAILRECEIVE
                   4133: _ACEOF
                   4134: 
                   4135: 
1.67      paf      4136:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4137:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4138:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4139:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4140:                        if test \! -x $GLIB_CONFIG; then
                   4141:                                GLIB_CONFIG=glib-config
                   4142:                        fi
1.67      paf      4143:                fi
                   4144:        fi
                   4145:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4146: 
1.67      paf      4147:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4148:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4149:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4150:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4151: 
                   4152: fi;
                   4153: 
                   4154: 
                   4155: 
                   4156: 
                   4157: 
                   4158: # Check whether --with-sendmail or --without-sendmail was given.
                   4159: if test "${with_sendmail+set}" = set; then
                   4160:   withval="$with_sendmail"
                   4161: 
                   4162: cat >>confdefs.h <<_ACEOF
                   4163: #define PA_FORCED_SENDMAIL "$withval"
                   4164: _ACEOF
                   4165: 
                   4166: 
                   4167: fi;
                   4168: 
                   4169: 
                   4170: 
1.122     moko     4171: # Check whether --with-apache or --without-apache was given.
                   4172: if test "${with_apache+set}" = set; then
                   4173:   withval="$with_apache"
                   4174: 
                   4175:        APXS=$withval
                   4176: 
                   4177:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4178:                APXS=`which apxs 2>/dev/null`
1.142     moko     4179:                if test -z "$APXS"; then
                   4180:                        APXS=`which apxs2 2>/dev/null`
                   4181:                fi
                   4182:        fi
1.122     moko     4183: 
                   4184:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4185: 
                   4186:        if test -z "$APACHE"; then
1.142     moko     4187:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
1.122     moko     4188: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4189:    { (exit 1); exit 1; }; }
1.67      paf      4190:        fi
1.7       paf      4191: 
1.122     moko     4192:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4193:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4194:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4195:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4196: 
1.62      paf      4197: fi;
1.7       paf      4198: 
                   4199: 
1.62      paf      4200: 
1.122     moko     4201: 
                   4202: 
                   4203: if test -n "$APACHE"; then
                   4204:   COMPILE_APACHE_MODULE_TRUE=
                   4205:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4206: else
1.122     moko     4207:   COMPILE_APACHE_MODULE_TRUE='#'
                   4208:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4209: fi
1.1       paf      4210: 
                   4211: 
                   4212: 
1.62      paf      4213: 
                   4214: 
1.7       paf      4215: 
1.1       paf      4216: 
                   4217: 
                   4218: 
1.62      paf      4219: 
1.128     moko     4220: case `pwd` in
                   4221:   *\ * | *\    *)
                   4222:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4223: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4224: esac
                   4225: 
                   4226: 
                   4227: 
                   4228: macro_version='2.4.2'
                   4229: macro_revision='1.3337'
                   4230: 
                   4231: 
                   4232: 
                   4233: 
                   4234: 
                   4235: 
                   4236: 
                   4237: 
                   4238: 
                   4239: 
                   4240: 
                   4241: 
                   4242: 
                   4243: ltmain="$ac_aux_dir/ltmain.sh"
                   4244: 
                   4245: # Backslashify metacharacters that are still active within
                   4246: # double-quoted strings.
                   4247: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      4248: 
1.128     moko     4249: # Same as above, but do not quote variable references.
                   4250: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      4251: 
1.128     moko     4252: # Sed substitution to delay expansion of an escaped shell variable in a
                   4253: # double_quote_subst'ed string.
                   4254: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      4255: 
1.128     moko     4256: # Sed substitution to delay expansion of an escaped single quote.
                   4257: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      4258: 
1.128     moko     4259: # Sed substitution to avoid accidental globbing in evaled expressions
                   4260: no_glob_subst='s/\*/\\\*/g'
1.86      paf      4261: 
1.128     moko     4262: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4263: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4264: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      4265: 
1.128     moko     4266: echo "$as_me:$LINENO: checking how to print strings" >&5
                   4267: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   4268: # Test print first, because it will be a builtin if present.
                   4269: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4270:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4271:   ECHO='print -r --'
                   4272: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4273:   ECHO='printf %s\n'
                   4274: else
                   4275:   # Use this function as a fallback that always works.
                   4276:   func_fallback_echo ()
                   4277:   {
                   4278:     eval 'cat <<_LTECHO_EOF
                   4279: $1
                   4280: _LTECHO_EOF'
                   4281:   }
                   4282:   ECHO='func_fallback_echo'
                   4283: fi
1.86      paf      4284: 
1.128     moko     4285: # func_echo_all arg...
                   4286: # Invoke $ECHO with all args, space-separated.
                   4287: func_echo_all ()
1.66      paf      4288: {
1.128     moko     4289:     $ECHO ""
1.66      paf      4290: }
1.10      paf      4291: 
1.128     moko     4292: case "$ECHO" in
                   4293:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   4294: echo "${ECHO_T}printf" >&6 ;;
                   4295:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   4296: echo "${ECHO_T}print -r" >&6 ;;
                   4297:   *) echo "$as_me:$LINENO: result: cat" >&5
                   4298: echo "${ECHO_T}cat" >&6 ;;
                   4299: esac
                   4300: 
                   4301: 
                   4302: 
                   4303: 
                   4304: 
                   4305: 
                   4306: 
                   4307: 
                   4308: 
                   4309: 
                   4310: 
                   4311: 
                   4312: 
                   4313: 
                   4314: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   4315: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   4316: if test "${lt_cv_path_SED+set}" = set; then
                   4317:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      4318: else
1.128     moko     4319:   # Loop through the user's path and test for sed and gsed.
                   4320: # Then use that list of sed's as ones to test for truncation.
                   4321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4322: for as_dir in $PATH
                   4323: do
                   4324:   IFS=$as_save_IFS
                   4325:   test -z "$as_dir" && as_dir=.
                   4326:   for lt_ac_prog in sed gsed; do
                   4327:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4328:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   4329:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   4330:       fi
                   4331:     done
                   4332:   done
                   4333: done
                   4334: IFS=$as_save_IFS
                   4335: lt_ac_max=0
                   4336: lt_ac_count=0
                   4337: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   4338: # along with /bin/sed that truncates output.
                   4339: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   4340:   test ! -f $lt_ac_sed && continue
                   4341:   cat /dev/null > conftest.in
                   4342:   lt_ac_count=0
                   4343:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   4344:   # Check for GNU sed and select it if it is found.
                   4345:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   4346:     lt_cv_path_SED=$lt_ac_sed
                   4347:     break
                   4348:   fi
                   4349:   while true; do
                   4350:     cat conftest.in conftest.in >conftest.tmp
                   4351:     mv conftest.tmp conftest.in
                   4352:     cp conftest.in conftest.nl
                   4353:     echo >>conftest.nl
                   4354:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   4355:     cmp -s conftest.out conftest.nl || break
                   4356:     # 10000 chars as input seems more than enough
                   4357:     test $lt_ac_count -gt 10 && break
                   4358:     lt_ac_count=`expr $lt_ac_count + 1`
                   4359:     if test $lt_ac_count -gt $lt_ac_max; then
                   4360:       lt_ac_max=$lt_ac_count
                   4361:       lt_cv_path_SED=$lt_ac_sed
                   4362:     fi
                   4363:   done
                   4364: done
1.10      paf      4365: 
1.66      paf      4366: fi
1.10      paf      4367: 
1.128     moko     4368: SED=$lt_cv_path_SED
                   4369: 
                   4370: echo "$as_me:$LINENO: result: $SED" >&5
                   4371: echo "${ECHO_T}$SED" >&6
                   4372: 
                   4373: test -z "$SED" && SED=sed
                   4374: Xsed="$SED -e 1s/^X//"
1.10      paf      4375: 
1.128     moko     4376: 
                   4377: 
                   4378: 
                   4379: 
                   4380: 
                   4381: 
                   4382: 
                   4383: 
                   4384: 
                   4385: 
                   4386: echo "$as_me:$LINENO: checking for egrep" >&5
                   4387: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4388: if test "${ac_cv_prog_egrep+set}" = set; then
                   4389:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4390: else
                   4391:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4392:     then ac_cv_prog_egrep='grep -E'
                   4393:     else ac_cv_prog_egrep='egrep'
                   4394:     fi
                   4395: fi
                   4396: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4397: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4398:  EGREP=$ac_cv_prog_egrep
                   4399: 
                   4400: 
                   4401: echo "$as_me:$LINENO: checking for fgrep" >&5
                   4402: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   4403: if test "${ac_cv_prog_fgrep+set}" = set; then
                   4404:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4405: else
                   4406:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   4407:     then ac_cv_prog_fgrep='grep -F'
                   4408:     else ac_cv_prog_fgrep='fgrep'
                   4409:     fi
                   4410: fi
                   4411: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   4412: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   4413:  FGREP=$ac_cv_prog_fgrep
                   4414: 
                   4415: 
                   4416: test -z "$GREP" && GREP=grep
                   4417: 
                   4418: 
                   4419: 
                   4420: 
                   4421: 
                   4422: 
                   4423: 
                   4424: 
                   4425: 
                   4426: 
                   4427: 
                   4428: 
                   4429: 
                   4430: 
                   4431: 
                   4432: 
                   4433: 
                   4434: 
                   4435: 
                   4436: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   4437: if test "${with_gnu_ld+set}" = set; then
                   4438:   withval="$with_gnu_ld"
                   4439:   test "$withval" = no || with_gnu_ld=yes
                   4440: else
                   4441:   with_gnu_ld=no
                   4442: fi;
                   4443: ac_prog=ld
                   4444: if test "$GCC" = yes; then
                   4445:   # Check if gcc -print-prog-name=ld gives a path.
                   4446:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   4447: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   4448:   case $host in
                   4449:   *-*-mingw*)
                   4450:     # gcc leaves a trailing carriage return which upsets mingw
                   4451:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4452:   *)
                   4453:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4454:   esac
                   4455:   case $ac_prog in
                   4456:     # Accept absolute paths.
                   4457:     [\\/]* | ?:[\\/]*)
                   4458:       re_direlt='/[^/][^/]*/\.\./'
                   4459:       # Canonicalize the pathname of ld
                   4460:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4461:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4462:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4463:       done
                   4464:       test -z "$LD" && LD="$ac_prog"
                   4465:       ;;
                   4466:   "")
                   4467:     # If it fails, then pretend we aren't using GCC.
                   4468:     ac_prog=ld
                   4469:     ;;
                   4470:   *)
                   4471:     # If it is relative, then search for the first ld in PATH.
                   4472:     with_gnu_ld=unknown
                   4473:     ;;
                   4474:   esac
                   4475: elif test "$with_gnu_ld" = yes; then
                   4476:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   4477: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   4478: else
                   4479:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   4480: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   4481: fi
                   4482: if test "${lt_cv_path_LD+set}" = set; then
                   4483:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4484: else
                   4485:   if test -z "$LD"; then
                   4486:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4487:   for ac_dir in $PATH; do
                   4488:     IFS="$lt_save_ifs"
                   4489:     test -z "$ac_dir" && ac_dir=.
                   4490:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4491:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4492:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4493:       # but apparently some variants of GNU ld only accept -v.
                   4494:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4495:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4496:       *GNU* | *'with BFD'*)
                   4497:        test "$with_gnu_ld" != no && break
                   4498:        ;;
                   4499:       *)
                   4500:        test "$with_gnu_ld" != yes && break
                   4501:        ;;
                   4502:       esac
                   4503:     fi
                   4504:   done
                   4505:   IFS="$lt_save_ifs"
                   4506: else
                   4507:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4508: fi
                   4509: fi
                   4510: 
                   4511: LD="$lt_cv_path_LD"
                   4512: if test -n "$LD"; then
                   4513:   echo "$as_me:$LINENO: result: $LD" >&5
                   4514: echo "${ECHO_T}$LD" >&6
                   4515: else
                   4516:   echo "$as_me:$LINENO: result: no" >&5
                   4517: echo "${ECHO_T}no" >&6
                   4518: fi
                   4519: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   4520: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   4521:    { (exit 1); exit 1; }; }
                   4522: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   4523: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   4524: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   4525:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4526: else
                   4527:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4528: case `$LD -v 2>&1 </dev/null` in
                   4529: *GNU* | *'with BFD'*)
                   4530:   lt_cv_prog_gnu_ld=yes
                   4531:   ;;
                   4532: *)
                   4533:   lt_cv_prog_gnu_ld=no
                   4534:   ;;
                   4535: esac
                   4536: fi
                   4537: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   4538: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   4539: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4540: 
                   4541: 
                   4542: 
                   4543: 
                   4544: 
                   4545: 
                   4546: 
                   4547: 
                   4548: 
                   4549: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4550: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
                   4551: if test "${lt_cv_path_NM+set}" = set; then
                   4552:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4553: else
                   4554:   if test -n "$NM"; then
                   4555:   # Let the user override the test.
                   4556:   lt_cv_path_NM="$NM"
                   4557: else
                   4558:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4559:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4560:     lt_nm_to_check="$lt_nm_to_check nm"
                   4561:   fi
                   4562:   for lt_tmp_nm in $lt_nm_to_check; do
                   4563:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4564:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4565:       IFS="$lt_save_ifs"
                   4566:       test -z "$ac_dir" && ac_dir=.
                   4567:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4568:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4569:        # Check to see if the nm accepts a BSD-compat flag.
                   4570:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4571:        #   nm: unknown option "B" ignored
                   4572:        # Tru64's nm complains that /dev/null is an invalid object file
                   4573:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4574:        */dev/null* | *'Invalid file or object type'*)
                   4575:          lt_cv_path_NM="$tmp_nm -B"
                   4576:          break
                   4577:          ;;
                   4578:        *)
                   4579:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4580:          */dev/null*)
                   4581:            lt_cv_path_NM="$tmp_nm -p"
                   4582:            break
                   4583:            ;;
                   4584:          *)
                   4585:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4586:            continue # so that we can try to find one that supports BSD flags
                   4587:            ;;
                   4588:          esac
                   4589:          ;;
                   4590:        esac
                   4591:       fi
                   4592:     done
                   4593:     IFS="$lt_save_ifs"
                   4594:   done
                   4595:   : ${lt_cv_path_NM=no}
                   4596: fi
                   4597: fi
                   4598: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   4599: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   4600: if test "$lt_cv_path_NM" != "no"; then
                   4601:   NM="$lt_cv_path_NM"
                   4602: else
                   4603:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4604:   if test -n "$DUMPBIN"; then :
                   4605:     # Let the user override the test.
                   4606:   else
                   4607:     if test -n "$ac_tool_prefix"; then
                   4608:   for ac_prog in dumpbin "link -dump"
                   4609:   do
                   4610:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4611: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4612: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4613: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4614: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   4615:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4616: else
                   4617:   if test -n "$DUMPBIN"; then
                   4618:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4619: else
                   4620: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4621: for as_dir in $PATH
                   4622: do
                   4623:   IFS=$as_save_IFS
                   4624:   test -z "$as_dir" && as_dir=.
                   4625:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4626:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4627:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4628:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4629:     break 2
                   4630:   fi
                   4631: done
                   4632: done
                   4633: 
                   4634: fi
                   4635: fi
                   4636: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4637: if test -n "$DUMPBIN"; then
                   4638:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   4639: echo "${ECHO_T}$DUMPBIN" >&6
                   4640: else
                   4641:   echo "$as_me:$LINENO: result: no" >&5
                   4642: echo "${ECHO_T}no" >&6
                   4643: fi
                   4644: 
                   4645:     test -n "$DUMPBIN" && break
                   4646:   done
                   4647: fi
                   4648: if test -z "$DUMPBIN"; then
                   4649:   ac_ct_DUMPBIN=$DUMPBIN
                   4650:   for ac_prog in dumpbin "link -dump"
                   4651: do
                   4652:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4653: set dummy $ac_prog; ac_word=$2
                   4654: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4655: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4656: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
                   4657:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4658: else
                   4659:   if test -n "$ac_ct_DUMPBIN"; then
                   4660:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4661: else
                   4662: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4663: for as_dir in $PATH
                   4664: do
                   4665:   IFS=$as_save_IFS
                   4666:   test -z "$as_dir" && as_dir=.
                   4667:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4668:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4669:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4670:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4671:     break 2
                   4672:   fi
                   4673: done
                   4674: done
                   4675: 
                   4676: fi
                   4677: fi
                   4678: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4679: if test -n "$ac_ct_DUMPBIN"; then
                   4680:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4681: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4682: else
                   4683:   echo "$as_me:$LINENO: result: no" >&5
                   4684: echo "${ECHO_T}no" >&6
                   4685: fi
                   4686: 
                   4687:   test -n "$ac_ct_DUMPBIN" && break
                   4688: done
                   4689: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
                   4690: 
                   4691:   DUMPBIN=$ac_ct_DUMPBIN
                   4692: fi
                   4693: 
                   4694:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4695:     *COFF*)
                   4696:       DUMPBIN="$DUMPBIN -symbols"
                   4697:       ;;
                   4698:     *)
                   4699:       DUMPBIN=:
                   4700:       ;;
                   4701:     esac
                   4702:   fi
                   4703: 
                   4704:   if test "$DUMPBIN" != ":"; then
                   4705:     NM="$DUMPBIN"
                   4706:   fi
                   4707: fi
                   4708: test -z "$NM" && NM=nm
                   4709: 
                   4710: 
                   4711: 
                   4712: 
                   4713: 
                   4714: 
                   4715: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4716: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4717: if test "${lt_cv_nm_interface+set}" = set; then
                   4718:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4719: else
                   4720:   lt_cv_nm_interface="BSD nm"
                   4721:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4722:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4723:   (eval "$ac_compile" 2>conftest.err)
                   4724:   cat conftest.err >&5
                   4725:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4726:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4727:   cat conftest.err >&5
                   4728:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4729:   cat conftest.out >&5
                   4730:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4731:     lt_cv_nm_interface="MS dumpbin"
                   4732:   fi
                   4733:   rm -f conftest*
                   4734: fi
                   4735: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4736: echo "${ECHO_T}$lt_cv_nm_interface" >&6
                   4737: 
                   4738: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4739: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4740: LN_S=$as_ln_s
                   4741: if test "$LN_S" = "ln -s"; then
                   4742:   echo "$as_me:$LINENO: result: yes" >&5
                   4743: echo "${ECHO_T}yes" >&6
                   4744: else
                   4745:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4746: echo "${ECHO_T}no, using $LN_S" >&6
                   4747: fi
                   4748: 
                   4749: # find the maximum length of command line arguments
                   4750: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4751: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4752: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
                   4753:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4754: else
                   4755:     i=0
                   4756:   teststring="ABCD"
                   4757: 
                   4758:   case $build_os in
                   4759:   msdosdjgpp*)
                   4760:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4761:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4762:     # during glob expansion).  Even if it were fixed, the result of this
                   4763:     # check would be larger than it should be.
                   4764:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4765:     ;;
                   4766: 
                   4767:   gnu*)
                   4768:     # Under GNU Hurd, this test is not required because there is
                   4769:     # no limit to the length of command line arguments.
                   4770:     # Libtool will interpret -1 as no limit whatsoever
                   4771:     lt_cv_sys_max_cmd_len=-1;
                   4772:     ;;
                   4773: 
                   4774:   cygwin* | mingw* | cegcc*)
                   4775:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4776:     # about 5 minutes as the teststring grows exponentially.
                   4777:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4778:     # you end up with a "frozen" computer, even though with patience
                   4779:     # the test eventually succeeds (with a max line length of 256k).
                   4780:     # Instead, let's just punt: use the minimum linelength reported by
                   4781:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4782:     lt_cv_sys_max_cmd_len=8192;
                   4783:     ;;
                   4784: 
                   4785:   mint*)
                   4786:     # On MiNT this can take a long time and run out of memory.
                   4787:     lt_cv_sys_max_cmd_len=8192;
                   4788:     ;;
                   4789: 
                   4790:   amigaos*)
                   4791:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4792:     # So we just punt and use a minimum line length of 8192.
                   4793:     lt_cv_sys_max_cmd_len=8192;
                   4794:     ;;
                   4795: 
                   4796:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4797:     # This has been around since 386BSD, at least.  Likely further.
                   4798:     if test -x /sbin/sysctl; then
                   4799:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4800:     elif test -x /usr/sbin/sysctl; then
                   4801:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4802:     else
                   4803:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4804:     fi
                   4805:     # And add a safety zone
                   4806:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4807:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4808:     ;;
                   4809: 
                   4810:   interix*)
                   4811:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4812:     lt_cv_sys_max_cmd_len=196608
                   4813:     ;;
                   4814: 
                   4815:   os2*)
                   4816:     # The test takes a long time on OS/2.
                   4817:     lt_cv_sys_max_cmd_len=8192
                   4818:     ;;
                   4819: 
                   4820:   osf*)
                   4821:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4822:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4823:     # nice to cause kernel panics so lets avoid the loop below.
                   4824:     # First set a reasonable default.
                   4825:     lt_cv_sys_max_cmd_len=16384
                   4826:     #
                   4827:     if test -x /sbin/sysconfig; then
                   4828:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4829:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4830:       esac
                   4831:     fi
                   4832:     ;;
                   4833:   sco3.2v5*)
                   4834:     lt_cv_sys_max_cmd_len=102400
                   4835:     ;;
                   4836:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4837:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4838:     if test -n "$kargmax"; then
                   4839:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4840:     else
                   4841:       lt_cv_sys_max_cmd_len=32768
                   4842:     fi
                   4843:     ;;
                   4844:   *)
                   4845:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4846:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4847:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4848:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4849:     else
                   4850:       # Make teststring a little bigger before we do anything with it.
                   4851:       # a 1K string should be a reasonable start.
                   4852:       for i in 1 2 3 4 5 6 7 8 ; do
                   4853:         teststring=$teststring$teststring
                   4854:       done
                   4855:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4856:       # If test is not a shell built-in, we'll probably end up computing a
                   4857:       # maximum length that is only half of the actual maximum length, but
                   4858:       # we can't tell.
                   4859:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4860:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4861:              test $i != 17 # 1/2 MB should be enough
                   4862:       do
                   4863:         i=`expr $i + 1`
                   4864:         teststring=$teststring$teststring
                   4865:       done
                   4866:       # Only check the string length outside the loop.
                   4867:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4868:       teststring=
                   4869:       # Add a significant safety factor because C++ compilers can tack on
                   4870:       # massive amounts of additional arguments before passing them to the
                   4871:       # linker.  It appears as though 1/2 is a usable value.
                   4872:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4873:     fi
                   4874:     ;;
                   4875:   esac
                   4876: 
                   4877: fi
                   4878: 
                   4879: if test -n $lt_cv_sys_max_cmd_len ; then
                   4880:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4881: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4882: else
                   4883:   echo "$as_me:$LINENO: result: none" >&5
                   4884: echo "${ECHO_T}none" >&6
                   4885: fi
                   4886: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4887: 
                   4888: 
                   4889: 
                   4890: 
                   4891: 
                   4892: 
                   4893: : ${CP="cp -f"}
                   4894: : ${MV="mv -f"}
                   4895: : ${RM="rm -f"}
                   4896: 
                   4897: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4898: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4899: # Try some XSI features
                   4900: xsi_shell=no
                   4901: ( _lt_dummy="a/b/c"
                   4902:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4903:       = c,a/b,b/c, \
                   4904:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4905:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4906:   && xsi_shell=yes
                   4907: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4908: echo "${ECHO_T}$xsi_shell" >&6
                   4909: 
                   4910: 
                   4911: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4912: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4913: lt_shell_append=no
                   4914: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4915:     >/dev/null 2>&1 \
                   4916:   && lt_shell_append=yes
                   4917: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4918: echo "${ECHO_T}$lt_shell_append" >&6
                   4919: 
                   4920: 
                   4921: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4922:   lt_unset=unset
                   4923: else
                   4924:   lt_unset=false
                   4925: fi
                   4926: 
                   4927: 
                   4928: 
                   4929: 
                   4930: 
                   4931: # test EBCDIC or ASCII
                   4932: case `echo X|tr X '\101'` in
                   4933:  A) # ASCII based system
                   4934:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4935:   lt_SP2NL='tr \040 \012'
                   4936:   lt_NL2SP='tr \015\012 \040\040'
                   4937:   ;;
                   4938:  *) # EBCDIC based system
                   4939:   lt_SP2NL='tr \100 \n'
                   4940:   lt_NL2SP='tr \r\n \100\100'
                   4941:   ;;
                   4942: esac
                   4943: 
                   4944: 
                   4945: 
                   4946: 
                   4947: 
                   4948: 
                   4949: 
                   4950: 
                   4951: 
                   4952: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4953: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4954: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4955:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4956: else
                   4957:   case $host in
                   4958:   *-*-mingw* )
                   4959:     case $build in
                   4960:       *-*-mingw* ) # actually msys
                   4961:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4962:         ;;
                   4963:       *-*-cygwin* )
                   4964:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4965:         ;;
                   4966:       * ) # otherwise, assume *nix
                   4967:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4968:         ;;
                   4969:     esac
                   4970:     ;;
                   4971:   *-*-cygwin* )
                   4972:     case $build in
                   4973:       *-*-mingw* ) # actually msys
                   4974:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4975:         ;;
                   4976:       *-*-cygwin* )
                   4977:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4978:         ;;
                   4979:       * ) # otherwise, assume *nix
                   4980:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4981:         ;;
                   4982:     esac
                   4983:     ;;
                   4984:   * ) # unhandled hosts (and "normal" native builds)
                   4985:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4986:     ;;
                   4987: esac
                   4988: 
                   4989: fi
                   4990: 
                   4991: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4992: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4993: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   4994: 
                   4995: 
                   4996: 
                   4997: 
                   4998: 
                   4999: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   5000: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   5001: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   5002:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5003: else
                   5004:   #assume ordinary cross tools, or native build.
                   5005: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5006: case $host in
                   5007:   *-*-mingw* )
                   5008:     case $build in
                   5009:       *-*-mingw* ) # actually msys
                   5010:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5011:         ;;
                   5012:     esac
                   5013:     ;;
                   5014: esac
                   5015: 
                   5016: fi
                   5017: 
                   5018: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5019: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   5020: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   5021: 
                   5022: 
                   5023: 
                   5024: 
                   5025: 
                   5026: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   5027: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   5028: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   5029:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5030: else
                   5031:   lt_cv_ld_reload_flag='-r'
                   5032: fi
                   5033: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   5034: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   5035: reload_flag=$lt_cv_ld_reload_flag
                   5036: case $reload_flag in
                   5037: "" | " "*) ;;
                   5038: *) reload_flag=" $reload_flag" ;;
                   5039: esac
                   5040: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5041: case $host_os in
                   5042:   cygwin* | mingw* | pw32* | cegcc*)
                   5043:     if test "$GCC" != yes; then
                   5044:       reload_cmds=false
                   5045:     fi
                   5046:     ;;
                   5047:   darwin*)
                   5048:     if test "$GCC" = yes; then
                   5049:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5050:     else
                   5051:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5052:     fi
                   5053:     ;;
                   5054: esac
                   5055: 
                   5056: 
                   5057: 
                   5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: 
                   5063: 
                   5064: if test -n "$ac_tool_prefix"; then
                   5065:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5066: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5067: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5068: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5069: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   5070:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5071: else
                   5072:   if test -n "$OBJDUMP"; then
                   5073:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5074: else
                   5075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5076: for as_dir in $PATH
                   5077: do
                   5078:   IFS=$as_save_IFS
                   5079:   test -z "$as_dir" && as_dir=.
                   5080:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5081:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5082:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5083:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5084:     break 2
                   5085:   fi
                   5086: done
                   5087: done
                   5088: 
                   5089: fi
                   5090: fi
                   5091: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5092: if test -n "$OBJDUMP"; then
                   5093:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   5094: echo "${ECHO_T}$OBJDUMP" >&6
                   5095: else
                   5096:   echo "$as_me:$LINENO: result: no" >&5
                   5097: echo "${ECHO_T}no" >&6
                   5098: fi
                   5099: 
                   5100: fi
                   5101: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5102:   ac_ct_OBJDUMP=$OBJDUMP
                   5103:   # Extract the first word of "objdump", so it can be a program name with args.
                   5104: set dummy objdump; ac_word=$2
                   5105: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5106: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5107: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   5108:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5109: else
                   5110:   if test -n "$ac_ct_OBJDUMP"; then
                   5111:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5112: else
                   5113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5114: for as_dir in $PATH
                   5115: do
                   5116:   IFS=$as_save_IFS
                   5117:   test -z "$as_dir" && as_dir=.
                   5118:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5119:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5120:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5121:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5122:     break 2
                   5123:   fi
                   5124: done
                   5125: done
                   5126: 
                   5127:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   5128: fi
                   5129: fi
                   5130: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5131: if test -n "$ac_ct_OBJDUMP"; then
                   5132:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   5133: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   5134: else
                   5135:   echo "$as_me:$LINENO: result: no" >&5
                   5136: echo "${ECHO_T}no" >&6
                   5137: fi
                   5138: 
                   5139:   OBJDUMP=$ac_ct_OBJDUMP
                   5140: else
                   5141:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5142: fi
                   5143: 
                   5144: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5145: 
                   5146: 
                   5147: 
                   5148: 
                   5149: 
                   5150: 
                   5151: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   5152: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   5153: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   5154:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5155: else
                   5156:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5157: lt_cv_file_magic_test_file=
                   5158: lt_cv_deplibs_check_method='unknown'
                   5159: # Need to set the preceding variable on all platforms that support
                   5160: # interlibrary dependencies.
                   5161: # 'none' -- dependencies not supported.
                   5162: # `unknown' -- same as none, but documents that we really don't know.
                   5163: # 'pass_all' -- all dependencies passed with no checks.
                   5164: # 'test_compile' -- check by making test program.
                   5165: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5166: # which responds to the $file_magic_cmd with a given extended regex.
                   5167: # If you have `file' or equivalent on your system and you're not sure
                   5168: # whether `pass_all' will *always* work, you probably want this one.
                   5169: 
                   5170: case $host_os in
                   5171: aix[4-9]*)
                   5172:   lt_cv_deplibs_check_method=pass_all
                   5173:   ;;
                   5174: 
                   5175: beos*)
                   5176:   lt_cv_deplibs_check_method=pass_all
                   5177:   ;;
                   5178: 
                   5179: bsdi[45]*)
                   5180:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5181:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5182:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5183:   ;;
                   5184: 
                   5185: cygwin*)
                   5186:   # func_win32_libid is a shell function defined in ltmain.sh
                   5187:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5188:   lt_cv_file_magic_cmd='func_win32_libid'
                   5189:   ;;
                   5190: 
                   5191: mingw* | pw32*)
                   5192:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5193:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5194:   # unless we find 'file', for example because we are cross-compiling.
                   5195:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   5196:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   5197:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5198:     lt_cv_file_magic_cmd='func_win32_libid'
                   5199:   else
                   5200:     # Keep this pattern in sync with the one in func_win32_libid.
                   5201:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5202:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5203:   fi
                   5204:   ;;
                   5205: 
                   5206: cegcc*)
                   5207:   # use the weaker test based on 'objdump'. See mingw*.
                   5208:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5209:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5210:   ;;
                   5211: 
                   5212: darwin* | rhapsody*)
                   5213:   lt_cv_deplibs_check_method=pass_all
                   5214:   ;;
                   5215: 
                   5216: freebsd* | dragonfly*)
                   5217:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5218:     case $host_cpu in
                   5219:     i*86 )
                   5220:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5221:       # Let's accept both of them until this is cleared up.
                   5222:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5223:       lt_cv_file_magic_cmd=/usr/bin/file
                   5224:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5225:       ;;
                   5226:     esac
                   5227:   else
                   5228:     lt_cv_deplibs_check_method=pass_all
                   5229:   fi
                   5230:   ;;
                   5231: 
                   5232: gnu*)
                   5233:   lt_cv_deplibs_check_method=pass_all
                   5234:   ;;
                   5235: 
                   5236: haiku*)
                   5237:   lt_cv_deplibs_check_method=pass_all
                   5238:   ;;
                   5239: 
                   5240: hpux10.20* | hpux11*)
                   5241:   lt_cv_file_magic_cmd=/usr/bin/file
                   5242:   case $host_cpu in
                   5243:   ia64*)
                   5244:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5245:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5246:     ;;
                   5247:   hppa*64*)
                   5248:     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]'
                   5249:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5250:     ;;
                   5251:   *)
                   5252:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5253:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5254:     ;;
                   5255:   esac
                   5256:   ;;
                   5257: 
                   5258: interix[3-9]*)
                   5259:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5260:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5261:   ;;
                   5262: 
                   5263: irix5* | irix6* | nonstopux*)
                   5264:   case $LD in
                   5265:   *-32|*"-32 ") libmagic=32-bit;;
                   5266:   *-n32|*"-n32 ") libmagic=N32;;
                   5267:   *-64|*"-64 ") libmagic=64-bit;;
                   5268:   *) libmagic=never-match;;
                   5269:   esac
                   5270:   lt_cv_deplibs_check_method=pass_all
                   5271:   ;;
                   5272: 
                   5273: # This must be glibc/ELF.
                   5274: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5275:   lt_cv_deplibs_check_method=pass_all
                   5276:   ;;
                   5277: 
                   5278: netbsd*)
                   5279:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5280:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5281:   else
                   5282:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5283:   fi
                   5284:   ;;
                   5285: 
                   5286: newos6*)
                   5287:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5288:   lt_cv_file_magic_cmd=/usr/bin/file
                   5289:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5290:   ;;
                   5291: 
                   5292: *nto* | *qnx*)
                   5293:   lt_cv_deplibs_check_method=pass_all
                   5294:   ;;
                   5295: 
                   5296: openbsd*)
                   5297:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5298:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5299:   else
                   5300:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5301:   fi
                   5302:   ;;
                   5303: 
                   5304: osf3* | osf4* | osf5*)
                   5305:   lt_cv_deplibs_check_method=pass_all
                   5306:   ;;
                   5307: 
                   5308: rdos*)
                   5309:   lt_cv_deplibs_check_method=pass_all
                   5310:   ;;
                   5311: 
                   5312: solaris*)
                   5313:   lt_cv_deplibs_check_method=pass_all
                   5314:   ;;
                   5315: 
                   5316: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5317:   lt_cv_deplibs_check_method=pass_all
                   5318:   ;;
                   5319: 
                   5320: sysv4 | sysv4.3*)
                   5321:   case $host_vendor in
                   5322:   motorola)
                   5323:     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]'
                   5324:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5325:     ;;
                   5326:   ncr)
                   5327:     lt_cv_deplibs_check_method=pass_all
                   5328:     ;;
                   5329:   sequent)
                   5330:     lt_cv_file_magic_cmd='/bin/file'
                   5331:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5332:     ;;
                   5333:   sni)
                   5334:     lt_cv_file_magic_cmd='/bin/file'
                   5335:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5336:     lt_cv_file_magic_test_file=/lib/libc.so
                   5337:     ;;
                   5338:   siemens)
                   5339:     lt_cv_deplibs_check_method=pass_all
                   5340:     ;;
                   5341:   pc)
                   5342:     lt_cv_deplibs_check_method=pass_all
                   5343:     ;;
                   5344:   esac
                   5345:   ;;
                   5346: 
                   5347: tpf*)
                   5348:   lt_cv_deplibs_check_method=pass_all
                   5349:   ;;
                   5350: esac
                   5351: 
                   5352: fi
                   5353: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   5354: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
                   5355: 
                   5356: file_magic_glob=
                   5357: want_nocaseglob=no
                   5358: if test "$build" = "$host"; then
                   5359:   case $host_os in
                   5360:   mingw* | pw32*)
                   5361:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5362:       want_nocaseglob=yes
                   5363:     else
                   5364:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5365:     fi
                   5366:     ;;
                   5367:   esac
                   5368: fi
                   5369: 
                   5370: file_magic_cmd=$lt_cv_file_magic_cmd
                   5371: deplibs_check_method=$lt_cv_deplibs_check_method
                   5372: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5373: 
                   5374: 
                   5375: 
                   5376: 
                   5377: 
                   5378: 
                   5379: 
                   5380: 
                   5381: 
                   5382: 
                   5383: 
                   5384: 
                   5385: 
                   5386: 
                   5387: 
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: if test -n "$ac_tool_prefix"; then
                   5396:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5397: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5398: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5399: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5400: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   5401:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5402: else
                   5403:   if test -n "$DLLTOOL"; then
                   5404:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5405: else
                   5406: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5407: for as_dir in $PATH
                   5408: do
                   5409:   IFS=$as_save_IFS
                   5410:   test -z "$as_dir" && as_dir=.
                   5411:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5412:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5413:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5414:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5415:     break 2
                   5416:   fi
                   5417: done
                   5418: done
                   5419: 
                   5420: fi
                   5421: fi
                   5422: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5423: if test -n "$DLLTOOL"; then
                   5424:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   5425: echo "${ECHO_T}$DLLTOOL" >&6
                   5426: else
                   5427:   echo "$as_me:$LINENO: result: no" >&5
                   5428: echo "${ECHO_T}no" >&6
                   5429: fi
                   5430: 
                   5431: fi
                   5432: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5433:   ac_ct_DLLTOOL=$DLLTOOL
                   5434:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5435: set dummy dlltool; ac_word=$2
                   5436: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5437: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5438: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   5439:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5440: else
                   5441:   if test -n "$ac_ct_DLLTOOL"; then
                   5442:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5443: else
                   5444: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5445: for as_dir in $PATH
                   5446: do
                   5447:   IFS=$as_save_IFS
                   5448:   test -z "$as_dir" && as_dir=.
                   5449:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5450:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5451:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5452:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5453:     break 2
                   5454:   fi
                   5455: done
                   5456: done
                   5457: 
                   5458:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   5459: fi
                   5460: fi
                   5461: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5462: if test -n "$ac_ct_DLLTOOL"; then
                   5463:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   5464: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   5465: else
                   5466:   echo "$as_me:$LINENO: result: no" >&5
                   5467: echo "${ECHO_T}no" >&6
                   5468: fi
                   5469: 
                   5470:   DLLTOOL=$ac_ct_DLLTOOL
                   5471: else
                   5472:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5473: fi
                   5474: 
                   5475: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5476: 
                   5477: 
                   5478: 
                   5479: 
                   5480: 
                   5481: 
                   5482: 
                   5483: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   5484: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   5485: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   5486:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5487: else
                   5488:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5489: 
                   5490: case $host_os in
                   5491: cygwin* | mingw* | pw32* | cegcc*)
                   5492:   # two different shell functions defined in ltmain.sh
                   5493:   # decide which to use based on capabilities of $DLLTOOL
                   5494:   case `$DLLTOOL --help 2>&1` in
                   5495:   *--identify-strict*)
                   5496:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5497:     ;;
                   5498:   *)
                   5499:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5500:     ;;
                   5501:   esac
                   5502:   ;;
                   5503: *)
                   5504:   # fallback: assume linklib IS sharedlib
                   5505:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5506:   ;;
                   5507: esac
                   5508: 
                   5509: fi
                   5510: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5511: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   5512: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5513: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5514: 
                   5515: 
                   5516: 
                   5517: 
                   5518: 
                   5519: 
                   5520: 
                   5521: if test -n "$ac_tool_prefix"; then
                   5522:   for ac_prog in ar
                   5523:   do
                   5524:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5525: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5526: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5527: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5528: if test "${ac_cv_prog_AR+set}" = set; then
                   5529:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5530: else
                   5531:   if test -n "$AR"; then
                   5532:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5533: else
                   5534: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5535: for as_dir in $PATH
                   5536: do
                   5537:   IFS=$as_save_IFS
                   5538:   test -z "$as_dir" && as_dir=.
                   5539:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5540:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5541:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5542:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5543:     break 2
                   5544:   fi
                   5545: done
                   5546: done
                   5547: 
                   5548: fi
                   5549: fi
                   5550: AR=$ac_cv_prog_AR
                   5551: if test -n "$AR"; then
                   5552:   echo "$as_me:$LINENO: result: $AR" >&5
                   5553: echo "${ECHO_T}$AR" >&6
                   5554: else
                   5555:   echo "$as_me:$LINENO: result: no" >&5
                   5556: echo "${ECHO_T}no" >&6
                   5557: fi
                   5558: 
                   5559:     test -n "$AR" && break
                   5560:   done
                   5561: fi
                   5562: if test -z "$AR"; then
                   5563:   ac_ct_AR=$AR
                   5564:   for ac_prog in ar
                   5565: do
                   5566:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5567: set dummy $ac_prog; ac_word=$2
                   5568: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5569: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5570: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
                   5571:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5572: else
                   5573:   if test -n "$ac_ct_AR"; then
                   5574:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5575: else
                   5576: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5577: for as_dir in $PATH
                   5578: do
                   5579:   IFS=$as_save_IFS
                   5580:   test -z "$as_dir" && as_dir=.
                   5581:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5582:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5583:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5584:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5585:     break 2
                   5586:   fi
                   5587: done
                   5588: done
                   5589: 
                   5590: fi
                   5591: fi
                   5592: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5593: if test -n "$ac_ct_AR"; then
                   5594:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   5595: echo "${ECHO_T}$ac_ct_AR" >&6
                   5596: else
                   5597:   echo "$as_me:$LINENO: result: no" >&5
                   5598: echo "${ECHO_T}no" >&6
                   5599: fi
                   5600: 
                   5601:   test -n "$ac_ct_AR" && break
                   5602: done
                   5603: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   5604: 
                   5605:   AR=$ac_ct_AR
                   5606: fi
                   5607: 
                   5608: : ${AR=ar}
                   5609: : ${AR_FLAGS=cru}
                   5610: 
                   5611: 
                   5612: 
                   5613: 
                   5614: 
                   5615: 
                   5616: 
                   5617: 
                   5618: 
                   5619: 
                   5620: 
                   5621: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   5622: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   5623: if test "${lt_cv_ar_at_file+set}" = set; then
                   5624:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5625: else
                   5626:   lt_cv_ar_at_file=no
                   5627:    cat >conftest.$ac_ext <<_ACEOF
                   5628: /* confdefs.h.  */
                   5629: _ACEOF
                   5630: cat confdefs.h >>conftest.$ac_ext
                   5631: cat >>conftest.$ac_ext <<_ACEOF
                   5632: /* end confdefs.h.  */
                   5633: 
                   5634: int
                   5635: main ()
                   5636: {
                   5637: 
                   5638:   ;
                   5639:   return 0;
                   5640: }
                   5641: _ACEOF
                   5642: rm -f conftest.$ac_objext
                   5643: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5644:   (eval $ac_compile) 2>conftest.er1
                   5645:   ac_status=$?
                   5646:   grep -v '^ *+' conftest.er1 >conftest.err
                   5647:   rm -f conftest.er1
                   5648:   cat conftest.err >&5
                   5649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5650:   (exit $ac_status); } &&
                   5651:         { ac_try='test -z "$ac_c_werror_flag"
                   5652:                         || test ! -s conftest.err'
                   5653:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5654:   (eval $ac_try) 2>&5
                   5655:   ac_status=$?
                   5656:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5657:   (exit $ac_status); }; } &&
                   5658:         { ac_try='test -s conftest.$ac_objext'
                   5659:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5660:   (eval $ac_try) 2>&5
                   5661:   ac_status=$?
                   5662:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5663:   (exit $ac_status); }; }; then
                   5664:   echo conftest.$ac_objext > conftest.lst
                   5665:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5666:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5667:   (eval $lt_ar_try) 2>&5
                   5668:   ac_status=$?
                   5669:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5670:   (exit $ac_status); }
                   5671:       if test "$ac_status" -eq 0; then
                   5672:        # Ensure the archiver fails upon bogus file names.
                   5673:        rm -f conftest.$ac_objext libconftest.a
                   5674:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5675:   (eval $lt_ar_try) 2>&5
                   5676:   ac_status=$?
                   5677:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5678:   (exit $ac_status); }
                   5679:        if test "$ac_status" -ne 0; then
                   5680:           lt_cv_ar_at_file=@
                   5681:         fi
                   5682:       fi
                   5683:       rm -f conftest.* libconftest.a
                   5684: 
                   5685: else
                   5686:   echo "$as_me: failed program was:" >&5
                   5687: sed 's/^/| /' conftest.$ac_ext >&5
                   5688: 
                   5689: fi
                   5690: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   5691: 
                   5692: fi
                   5693: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5694: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
                   5695: 
                   5696: if test "x$lt_cv_ar_at_file" = xno; then
                   5697:   archiver_list_spec=
                   5698: else
                   5699:   archiver_list_spec=$lt_cv_ar_at_file
                   5700: fi
                   5701: 
                   5702: 
                   5703: 
                   5704: 
                   5705: 
                   5706: 
                   5707: 
                   5708: if test -n "$ac_tool_prefix"; then
                   5709:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5710: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5711: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5712: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5713: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5714:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5715: else
                   5716:   if test -n "$STRIP"; then
                   5717:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5718: else
                   5719: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5720: for as_dir in $PATH
                   5721: do
                   5722:   IFS=$as_save_IFS
                   5723:   test -z "$as_dir" && as_dir=.
                   5724:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5725:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5726:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5727:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5728:     break 2
                   5729:   fi
                   5730: done
                   5731: done
                   5732: 
                   5733: fi
                   5734: fi
                   5735: STRIP=$ac_cv_prog_STRIP
                   5736: if test -n "$STRIP"; then
                   5737:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5738: echo "${ECHO_T}$STRIP" >&6
                   5739: else
                   5740:   echo "$as_me:$LINENO: result: no" >&5
                   5741: echo "${ECHO_T}no" >&6
                   5742: fi
                   5743: 
                   5744: fi
                   5745: if test -z "$ac_cv_prog_STRIP"; then
                   5746:   ac_ct_STRIP=$STRIP
                   5747:   # Extract the first word of "strip", so it can be a program name with args.
                   5748: set dummy strip; ac_word=$2
                   5749: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5750: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5751: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5752:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5753: else
                   5754:   if test -n "$ac_ct_STRIP"; then
                   5755:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5756: else
                   5757: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5758: for as_dir in $PATH
                   5759: do
                   5760:   IFS=$as_save_IFS
                   5761:   test -z "$as_dir" && as_dir=.
                   5762:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5763:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5764:     ac_cv_prog_ac_ct_STRIP="strip"
                   5765:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5766:     break 2
                   5767:   fi
                   5768: done
                   5769: done
                   5770: 
                   5771:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   5772: fi
                   5773: fi
                   5774: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5775: if test -n "$ac_ct_STRIP"; then
                   5776:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5777: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5778: else
                   5779:   echo "$as_me:$LINENO: result: no" >&5
                   5780: echo "${ECHO_T}no" >&6
                   5781: fi
                   5782: 
                   5783:   STRIP=$ac_ct_STRIP
                   5784: else
                   5785:   STRIP="$ac_cv_prog_STRIP"
                   5786: fi
                   5787: 
                   5788: test -z "$STRIP" && STRIP=:
                   5789: 
                   5790: 
                   5791: 
                   5792: 
                   5793: 
                   5794: 
                   5795: if test -n "$ac_tool_prefix"; then
                   5796:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5797: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5798: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5799: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5800: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   5801:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5802: else
                   5803:   if test -n "$RANLIB"; then
                   5804:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5805: else
                   5806: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5807: for as_dir in $PATH
                   5808: do
                   5809:   IFS=$as_save_IFS
                   5810:   test -z "$as_dir" && as_dir=.
                   5811:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5812:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5813:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5814:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5815:     break 2
                   5816:   fi
                   5817: done
                   5818: done
                   5819: 
                   5820: fi
                   5821: fi
                   5822: RANLIB=$ac_cv_prog_RANLIB
                   5823: if test -n "$RANLIB"; then
                   5824:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5825: echo "${ECHO_T}$RANLIB" >&6
                   5826: else
                   5827:   echo "$as_me:$LINENO: result: no" >&5
                   5828: echo "${ECHO_T}no" >&6
                   5829: fi
                   5830: 
                   5831: fi
                   5832: if test -z "$ac_cv_prog_RANLIB"; then
                   5833:   ac_ct_RANLIB=$RANLIB
                   5834:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5835: set dummy ranlib; ac_word=$2
                   5836: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5837: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5838: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5839:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5840: else
                   5841:   if test -n "$ac_ct_RANLIB"; then
                   5842:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5843: else
                   5844: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5845: for as_dir in $PATH
                   5846: do
                   5847:   IFS=$as_save_IFS
                   5848:   test -z "$as_dir" && as_dir=.
                   5849:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5850:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5851:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5852:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5853:     break 2
                   5854:   fi
                   5855: done
                   5856: done
                   5857: 
                   5858:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5859: fi
                   5860: fi
                   5861: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5862: if test -n "$ac_ct_RANLIB"; then
                   5863:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5864: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   5865: else
                   5866:   echo "$as_me:$LINENO: result: no" >&5
                   5867: echo "${ECHO_T}no" >&6
                   5868: fi
                   5869: 
                   5870:   RANLIB=$ac_ct_RANLIB
                   5871: else
                   5872:   RANLIB="$ac_cv_prog_RANLIB"
                   5873: fi
                   5874: 
                   5875: test -z "$RANLIB" && RANLIB=:
                   5876: 
                   5877: 
                   5878: 
                   5879: 
                   5880: 
                   5881: 
                   5882: # Determine commands to create old-style static archives.
                   5883: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5884: old_postinstall_cmds='chmod 644 $oldlib'
                   5885: old_postuninstall_cmds=
                   5886: 
                   5887: if test -n "$RANLIB"; then
                   5888:   case $host_os in
                   5889:   openbsd*)
                   5890:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5891:     ;;
                   5892:   *)
                   5893:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5894:     ;;
                   5895:   esac
                   5896:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   5897: fi
                   5898: 
                   5899: case $host_os in
                   5900:   darwin*)
                   5901:     lock_old_archive_extraction=yes ;;
                   5902:   *)
                   5903:     lock_old_archive_extraction=no ;;
                   5904: esac
                   5905: 
                   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: # If no C compiler was specified, use CC.
                   5945: LTCC=${LTCC-"$CC"}
                   5946: 
                   5947: # If no C compiler flags were specified, use CFLAGS.
                   5948: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5949: 
                   5950: # Allow CC to be a program name with arguments.
                   5951: compiler=$CC
                   5952: 
                   5953: 
                   5954: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5955: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5956: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5957: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5958:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5959: else
                   5960: 
                   5961: # These are sane defaults that work on at least a few old systems.
                   5962: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5963: 
                   5964: # Character class describing NM global symbol codes.
                   5965: symcode='[BCDEGRST]'
                   5966: 
                   5967: # Regexp to match symbols that can be accessed directly from C.
                   5968: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5969: 
                   5970: # Define system-specific variables.
                   5971: case $host_os in
                   5972: aix*)
                   5973:   symcode='[BCDT]'
                   5974:   ;;
                   5975: cygwin* | mingw* | pw32* | cegcc*)
                   5976:   symcode='[ABCDGISTW]'
                   5977:   ;;
                   5978: hpux*)
                   5979:   if test "$host_cpu" = ia64; then
                   5980:     symcode='[ABCDEGRST]'
                   5981:   fi
                   5982:   ;;
                   5983: irix* | nonstopux*)
                   5984:   symcode='[BCDEGRST]'
                   5985:   ;;
                   5986: osf*)
                   5987:   symcode='[BCDEGQRST]'
                   5988:   ;;
                   5989: solaris*)
                   5990:   symcode='[BDRT]'
                   5991:   ;;
                   5992: sco3.2v5*)
                   5993:   symcode='[DT]'
                   5994:   ;;
                   5995: sysv4.2uw2*)
                   5996:   symcode='[DT]'
                   5997:   ;;
                   5998: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5999:   symcode='[ABDT]'
                   6000:   ;;
                   6001: sysv4)
                   6002:   symcode='[DFNSTU]'
                   6003:   ;;
                   6004: esac
                   6005: 
                   6006: # If we're using GNU nm, then use its standard symbol codes.
                   6007: case `$NM -V 2>&1` in
                   6008: *GNU* | *'with BFD'*)
                   6009:   symcode='[ABCDGIRSTW]' ;;
                   6010: esac
                   6011: 
                   6012: # Transform an extracted symbol line into a proper C declaration.
                   6013: # Some systems (esp. on ia64) link data and code symbols differently,
                   6014: # so use this general approach.
                   6015: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6016: 
                   6017: # Transform an extracted symbol line into symbol name and symbol address
                   6018: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6019: 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'"
                   6020: 
                   6021: # Handle CRLF in mingw tool chain
                   6022: opt_cr=
                   6023: case $build_os in
                   6024: mingw*)
                   6025:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6026:   ;;
                   6027: esac
                   6028: 
                   6029: # Try without a prefix underscore, then with it.
                   6030: for ac_symprfx in "" "_"; do
                   6031: 
                   6032:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6033:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6034: 
                   6035:   # Write the raw and C identifiers.
                   6036:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6037:     # Fake it for dumpbin and say T for any non-static function
                   6038:     # and D for any global variable.
                   6039:     # Also find C++ and __fastcall symbols from MSVC++,
                   6040:     # which start with @ or ?.
                   6041:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6042: "     {last_section=section; section=\$ 3};"\
                   6043: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   6044: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6045: "     \$ 0!~/External *\|/{next};"\
                   6046: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6047: "     {if(hide[section]) next};"\
                   6048: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6049: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6050: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6051: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6052: "     ' prfx=^$ac_symprfx"
                   6053:   else
                   6054:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6055:   fi
                   6056:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6057: 
                   6058:   # Check to see that the pipe works correctly.
                   6059:   pipe_works=no
                   6060: 
                   6061:   rm -f conftest*
                   6062:   cat > conftest.$ac_ext <<_LT_EOF
                   6063: #ifdef __cplusplus
                   6064: extern "C" {
                   6065: #endif
                   6066: char nm_test_var;
                   6067: void nm_test_func(void);
                   6068: void nm_test_func(void){}
                   6069: #ifdef __cplusplus
                   6070: }
                   6071: #endif
                   6072: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6073: _LT_EOF
                   6074: 
                   6075:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6076:   (eval $ac_compile) 2>&5
                   6077:   ac_status=$?
                   6078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6079:   (exit $ac_status); }; then
                   6080:     # Now try to grab the symbols.
                   6081:     nlist=conftest.nm
                   6082:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   6083:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6084:   ac_status=$?
                   6085:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6086:   (exit $ac_status); } && test -s "$nlist"; then
                   6087:       # Try sorting and uniquifying the output.
                   6088:       if sort "$nlist" | uniq > "$nlist"T; then
                   6089:        mv -f "$nlist"T "$nlist"
                   6090:       else
                   6091:        rm -f "$nlist"T
                   6092:       fi
                   6093: 
                   6094:       # Make sure that we snagged all the symbols we need.
                   6095:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6096:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6097:          cat <<_LT_EOF > conftest.$ac_ext
                   6098: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6099: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6100: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6101:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6102: # define LT_DLSYM_CONST
                   6103: #elif defined(__osf__)
                   6104: /* This system does not cope well with relocations in const data.  */
                   6105: # define LT_DLSYM_CONST
                   6106: #else
                   6107: # define LT_DLSYM_CONST const
                   6108: #endif
                   6109: 
                   6110: #ifdef __cplusplus
                   6111: extern "C" {
                   6112: #endif
                   6113: 
                   6114: _LT_EOF
                   6115:          # Now generate the symbol file.
                   6116:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6117: 
                   6118:          cat <<_LT_EOF >> conftest.$ac_ext
                   6119: 
                   6120: /* The mapping between symbol names and symbols.  */
                   6121: LT_DLSYM_CONST struct {
                   6122:   const char *name;
                   6123:   void       *address;
                   6124: }
                   6125: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6126: {
                   6127:   { "@PROGRAM@", (void *) 0 },
                   6128: _LT_EOF
                   6129:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6130:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6131:   {0, (void *) 0}
                   6132: };
                   6133: 
                   6134: /* This works around a problem in FreeBSD linker */
                   6135: #ifdef FREEBSD_WORKAROUND
                   6136: static const void *lt_preloaded_setup() {
                   6137:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6138: }
                   6139: #endif
                   6140: 
                   6141: #ifdef __cplusplus
                   6142: }
                   6143: #endif
                   6144: _LT_EOF
                   6145:          # Now try linking the two files.
                   6146:          mv conftest.$ac_objext conftstm.$ac_objext
                   6147:          lt_globsym_save_LIBS=$LIBS
                   6148:          lt_globsym_save_CFLAGS=$CFLAGS
                   6149:          LIBS="conftstm.$ac_objext"
                   6150:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6151:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6152:   (eval $ac_link) 2>&5
                   6153:   ac_status=$?
                   6154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6155:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   6156:            pipe_works=yes
                   6157:          fi
                   6158:          LIBS=$lt_globsym_save_LIBS
                   6159:          CFLAGS=$lt_globsym_save_CFLAGS
                   6160:        else
                   6161:          echo "cannot find nm_test_func in $nlist" >&5
                   6162:        fi
                   6163:       else
                   6164:        echo "cannot find nm_test_var in $nlist" >&5
                   6165:       fi
                   6166:     else
                   6167:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6168:     fi
                   6169:   else
                   6170:     echo "$progname: failed program was:" >&5
                   6171:     cat conftest.$ac_ext >&5
                   6172:   fi
                   6173:   rm -rf conftest* conftst*
                   6174: 
                   6175:   # Do not use the global_symbol_pipe unless it works.
                   6176:   if test "$pipe_works" = yes; then
                   6177:     break
                   6178:   else
                   6179:     lt_cv_sys_global_symbol_pipe=
                   6180:   fi
                   6181: done
                   6182: 
                   6183: fi
                   6184: 
                   6185: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6186:   lt_cv_sys_global_symbol_to_cdecl=
                   6187: fi
                   6188: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6189:   echo "$as_me:$LINENO: result: failed" >&5
                   6190: echo "${ECHO_T}failed" >&6
                   6191: else
                   6192:   echo "$as_me:$LINENO: result: ok" >&5
                   6193: echo "${ECHO_T}ok" >&6
                   6194: fi
                   6195: 
                   6196: # Response file support.
                   6197: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6198:   nm_file_list_spec='@'
                   6199: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6200:   nm_file_list_spec='@'
                   6201: fi
                   6202: 
                   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: echo "$as_me:$LINENO: checking for sysroot" >&5
                   6230: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   6231: 
                   6232: # Check whether --with-sysroot or --without-sysroot was given.
                   6233: if test "${with_sysroot+set}" = set; then
                   6234:   withval="$with_sysroot"
                   6235: 
                   6236: else
                   6237:   with_sysroot=no
                   6238: fi;
                   6239: 
                   6240: lt_sysroot=
                   6241: case ${with_sysroot} in #(
                   6242:  yes)
                   6243:    if test "$GCC" = yes; then
                   6244:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6245:    fi
                   6246:    ;; #(
                   6247:  /*)
                   6248:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6249:    ;; #(
                   6250:  no|'')
                   6251:    ;; #(
                   6252:  *)
                   6253:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   6254: echo "${ECHO_T}${with_sysroot}" >&6
                   6255:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   6256: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   6257:    { (exit 1); exit 1; }; }
                   6258:    ;;
                   6259: esac
                   6260: 
                   6261:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   6262: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   6263: 
                   6264: 
                   6265: 
                   6266: 
                   6267: 
                   6268: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   6269: if test "${enable_libtool_lock+set}" = set; then
                   6270:   enableval="$enable_libtool_lock"
                   6271: 
                   6272: fi;
                   6273: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6274: 
                   6275: # Some flags need to be propagated to the compiler or linker for good
                   6276: # libtool support.
                   6277: case $host in
                   6278: ia64-*-hpux*)
                   6279:   # Find out which ABI we are using.
                   6280:   echo 'int i;' > conftest.$ac_ext
                   6281:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6282:   (eval $ac_compile) 2>&5
                   6283:   ac_status=$?
                   6284:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6285:   (exit $ac_status); }; then
                   6286:     case `/usr/bin/file conftest.$ac_objext` in
                   6287:       *ELF-32*)
                   6288:        HPUX_IA64_MODE="32"
                   6289:        ;;
                   6290:       *ELF-64*)
                   6291:        HPUX_IA64_MODE="64"
                   6292:        ;;
                   6293:     esac
                   6294:   fi
                   6295:   rm -rf conftest*
                   6296:   ;;
                   6297: *-*-irix6*)
                   6298:   # Find out which ABI we are using.
                   6299:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6300:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6301:   (eval $ac_compile) 2>&5
                   6302:   ac_status=$?
                   6303:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6304:   (exit $ac_status); }; then
                   6305:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6306:       case `/usr/bin/file conftest.$ac_objext` in
                   6307:        *32-bit*)
                   6308:          LD="${LD-ld} -melf32bsmip"
                   6309:          ;;
                   6310:        *N32*)
                   6311:          LD="${LD-ld} -melf32bmipn32"
                   6312:          ;;
                   6313:        *64-bit*)
                   6314:          LD="${LD-ld} -melf64bmip"
                   6315:        ;;
                   6316:       esac
                   6317:     else
                   6318:       case `/usr/bin/file conftest.$ac_objext` in
                   6319:        *32-bit*)
                   6320:          LD="${LD-ld} -32"
                   6321:          ;;
                   6322:        *N32*)
                   6323:          LD="${LD-ld} -n32"
                   6324:          ;;
                   6325:        *64-bit*)
                   6326:          LD="${LD-ld} -64"
                   6327:          ;;
                   6328:       esac
                   6329:     fi
                   6330:   fi
                   6331:   rm -rf conftest*
                   6332:   ;;
                   6333: 
                   6334: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6335: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6336:   # Find out which ABI we are using.
                   6337:   echo 'int i;' > conftest.$ac_ext
                   6338:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6339:   (eval $ac_compile) 2>&5
                   6340:   ac_status=$?
                   6341:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6342:   (exit $ac_status); }; then
                   6343:     case `/usr/bin/file conftest.o` in
                   6344:       *32-bit*)
                   6345:        case $host in
                   6346:          x86_64-*kfreebsd*-gnu)
                   6347:            LD="${LD-ld} -m elf_i386_fbsd"
                   6348:            ;;
                   6349:          x86_64-*linux*)
                   6350:            LD="${LD-ld} -m elf_i386"
                   6351:            ;;
                   6352:          ppc64-*linux*|powerpc64-*linux*)
                   6353:            LD="${LD-ld} -m elf32ppclinux"
                   6354:            ;;
                   6355:          s390x-*linux*)
                   6356:            LD="${LD-ld} -m elf_s390"
                   6357:            ;;
                   6358:          sparc64-*linux*)
                   6359:            LD="${LD-ld} -m elf32_sparc"
                   6360:            ;;
                   6361:        esac
                   6362:        ;;
                   6363:       *64-bit*)
                   6364:        case $host in
                   6365:          x86_64-*kfreebsd*-gnu)
                   6366:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6367:            ;;
                   6368:          x86_64-*linux*)
                   6369:            LD="${LD-ld} -m elf_x86_64"
                   6370:            ;;
                   6371:          ppc*-*linux*|powerpc*-*linux*)
                   6372:            LD="${LD-ld} -m elf64ppc"
                   6373:            ;;
                   6374:          s390*-*linux*|s390*-*tpf*)
                   6375:            LD="${LD-ld} -m elf64_s390"
                   6376:            ;;
                   6377:          sparc*-*linux*)
                   6378:            LD="${LD-ld} -m elf64_sparc"
                   6379:            ;;
                   6380:        esac
                   6381:        ;;
                   6382:     esac
                   6383:   fi
                   6384:   rm -rf conftest*
                   6385:   ;;
                   6386: 
                   6387: *-*-sco3.2v5*)
                   6388:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6389:   SAVE_CFLAGS="$CFLAGS"
                   6390:   CFLAGS="$CFLAGS -belf"
                   6391:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   6392: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   6393: if test "${lt_cv_cc_needs_belf+set}" = set; then
                   6394:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6395: else
                   6396:   ac_ext=c
                   6397: ac_cpp='$CPP $CPPFLAGS'
                   6398: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6399: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6400: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6401: 
                   6402:      cat >conftest.$ac_ext <<_ACEOF
                   6403: /* confdefs.h.  */
                   6404: _ACEOF
                   6405: cat confdefs.h >>conftest.$ac_ext
                   6406: cat >>conftest.$ac_ext <<_ACEOF
                   6407: /* end confdefs.h.  */
                   6408: 
                   6409: int
                   6410: main ()
                   6411: {
                   6412: 
                   6413:   ;
                   6414:   return 0;
                   6415: }
                   6416: _ACEOF
                   6417: rm -f conftest.$ac_objext conftest$ac_exeext
                   6418: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6419:   (eval $ac_link) 2>conftest.er1
                   6420:   ac_status=$?
                   6421:   grep -v '^ *+' conftest.er1 >conftest.err
                   6422:   rm -f conftest.er1
                   6423:   cat conftest.err >&5
                   6424:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6425:   (exit $ac_status); } &&
                   6426:         { ac_try='test -z "$ac_c_werror_flag"
                   6427:                         || test ! -s conftest.err'
                   6428:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6429:   (eval $ac_try) 2>&5
                   6430:   ac_status=$?
                   6431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6432:   (exit $ac_status); }; } &&
                   6433:         { ac_try='test -s conftest$ac_exeext'
                   6434:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6435:   (eval $ac_try) 2>&5
                   6436:   ac_status=$?
                   6437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6438:   (exit $ac_status); }; }; then
                   6439:   lt_cv_cc_needs_belf=yes
                   6440: else
                   6441:   echo "$as_me: failed program was:" >&5
                   6442: sed 's/^/| /' conftest.$ac_ext >&5
                   6443: 
                   6444: lt_cv_cc_needs_belf=no
                   6445: fi
                   6446: rm -f conftest.err conftest.$ac_objext \
                   6447:       conftest$ac_exeext conftest.$ac_ext
                   6448:      ac_ext=c
                   6449: ac_cpp='$CPP $CPPFLAGS'
                   6450: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6451: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6452: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6453: 
                   6454: fi
                   6455: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   6456: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   6457:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6458:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6459:     CFLAGS="$SAVE_CFLAGS"
                   6460:   fi
                   6461:   ;;
                   6462: *-*solaris*)
                   6463:   # Find out which ABI we are using.
                   6464:   echo 'int i;' > conftest.$ac_ext
                   6465:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6466:   (eval $ac_compile) 2>&5
                   6467:   ac_status=$?
                   6468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6469:   (exit $ac_status); }; then
                   6470:     case `/usr/bin/file conftest.o` in
                   6471:     *64-bit*)
                   6472:       case $lt_cv_prog_gnu_ld in
                   6473:       yes*)
                   6474:         case $host in
                   6475:         i?86-*-solaris*)
                   6476:           LD="${LD-ld} -m elf_x86_64"
                   6477:           ;;
                   6478:         sparc*-*-solaris*)
                   6479:           LD="${LD-ld} -m elf64_sparc"
                   6480:           ;;
                   6481:         esac
                   6482:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6483:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6484:           LD="${LD-ld}_sol2"
                   6485:         fi
                   6486:         ;;
                   6487:       *)
                   6488:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6489:          LD="${LD-ld} -64"
                   6490:        fi
                   6491:        ;;
                   6492:       esac
                   6493:       ;;
                   6494:     esac
                   6495:   fi
                   6496:   rm -rf conftest*
                   6497:   ;;
                   6498: esac
                   6499: 
                   6500: need_locks="$enable_libtool_lock"
                   6501: 
                   6502: if test -n "$ac_tool_prefix"; then
                   6503:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6504: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6505: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6506: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6507: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   6508:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6509: else
                   6510:   if test -n "$MANIFEST_TOOL"; then
                   6511:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6512: else
                   6513: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6514: for as_dir in $PATH
                   6515: do
                   6516:   IFS=$as_save_IFS
                   6517:   test -z "$as_dir" && as_dir=.
                   6518:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6519:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6520:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6521:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6522:     break 2
                   6523:   fi
                   6524: done
                   6525: done
                   6526: 
                   6527: fi
                   6528: fi
                   6529: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6530: if test -n "$MANIFEST_TOOL"; then
                   6531:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   6532: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   6533: else
                   6534:   echo "$as_me:$LINENO: result: no" >&5
                   6535: echo "${ECHO_T}no" >&6
                   6536: fi
                   6537: 
                   6538: fi
                   6539: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6540:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6541:   # Extract the first word of "mt", so it can be a program name with args.
                   6542: set dummy mt; ac_word=$2
                   6543: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6544: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6545: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
                   6546:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6547: else
                   6548:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6549:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6550: else
                   6551: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6552: for as_dir in $PATH
                   6553: do
                   6554:   IFS=$as_save_IFS
                   6555:   test -z "$as_dir" && as_dir=.
                   6556:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6557:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6558:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6559:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6560:     break 2
                   6561:   fi
                   6562: done
                   6563: done
                   6564: 
                   6565:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   6566: fi
                   6567: fi
                   6568: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6569: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6570:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   6571: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
                   6572: else
                   6573:   echo "$as_me:$LINENO: result: no" >&5
                   6574: echo "${ECHO_T}no" >&6
                   6575: fi
                   6576: 
                   6577:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6578: else
                   6579:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6580: fi
                   6581: 
                   6582: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6583: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6584: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   6585: if test "${lt_cv_path_mainfest_tool+set}" = set; then
                   6586:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6587: else
                   6588:   lt_cv_path_mainfest_tool=no
                   6589:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6590:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6591:   cat conftest.err >&5
                   6592:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6593:     lt_cv_path_mainfest_tool=yes
                   6594:   fi
                   6595:   rm -f conftest*
                   6596: fi
                   6597: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   6598: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   6599: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6600:   MANIFEST_TOOL=:
                   6601: fi
                   6602: 
                   6603: 
                   6604: 
                   6605: 
                   6606: 
                   6607: 
                   6608:   case $host_os in
                   6609:     rhapsody* | darwin*)
                   6610:     if test -n "$ac_tool_prefix"; then
                   6611:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6612: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6613: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6614: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6615: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   6616:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6617: else
                   6618:   if test -n "$DSYMUTIL"; then
                   6619:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6620: else
                   6621: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6622: for as_dir in $PATH
                   6623: do
                   6624:   IFS=$as_save_IFS
                   6625:   test -z "$as_dir" && as_dir=.
                   6626:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6627:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6628:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6629:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6630:     break 2
                   6631:   fi
                   6632: done
                   6633: done
                   6634: 
                   6635: fi
                   6636: fi
                   6637: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6638: if test -n "$DSYMUTIL"; then
                   6639:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   6640: echo "${ECHO_T}$DSYMUTIL" >&6
                   6641: else
                   6642:   echo "$as_me:$LINENO: result: no" >&5
                   6643: echo "${ECHO_T}no" >&6
                   6644: fi
                   6645: 
                   6646: fi
                   6647: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6648:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6649:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6650: set dummy dsymutil; ac_word=$2
                   6651: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6652: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6653: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   6654:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6655: else
                   6656:   if test -n "$ac_ct_DSYMUTIL"; then
                   6657:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6658: else
                   6659: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6660: for as_dir in $PATH
                   6661: do
                   6662:   IFS=$as_save_IFS
                   6663:   test -z "$as_dir" && as_dir=.
                   6664:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6665:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6666:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6667:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6668:     break 2
                   6669:   fi
                   6670: done
                   6671: done
                   6672: 
                   6673:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6674: fi
                   6675: fi
                   6676: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6677: if test -n "$ac_ct_DSYMUTIL"; then
                   6678:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6679: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6680: else
                   6681:   echo "$as_me:$LINENO: result: no" >&5
                   6682: echo "${ECHO_T}no" >&6
                   6683: fi
                   6684: 
                   6685:   DSYMUTIL=$ac_ct_DSYMUTIL
                   6686: else
                   6687:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6688: fi
                   6689: 
                   6690:     if test -n "$ac_tool_prefix"; then
                   6691:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6692: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6693: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6694: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6695: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6696:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6697: else
                   6698:   if test -n "$NMEDIT"; then
                   6699:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6700: else
                   6701: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6702: for as_dir in $PATH
                   6703: do
                   6704:   IFS=$as_save_IFS
                   6705:   test -z "$as_dir" && as_dir=.
                   6706:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6707:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6708:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6709:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6710:     break 2
                   6711:   fi
                   6712: done
                   6713: done
                   6714: 
                   6715: fi
                   6716: fi
                   6717: NMEDIT=$ac_cv_prog_NMEDIT
                   6718: if test -n "$NMEDIT"; then
                   6719:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6720: echo "${ECHO_T}$NMEDIT" >&6
                   6721: else
                   6722:   echo "$as_me:$LINENO: result: no" >&5
                   6723: echo "${ECHO_T}no" >&6
                   6724: fi
                   6725: 
                   6726: fi
                   6727: if test -z "$ac_cv_prog_NMEDIT"; then
                   6728:   ac_ct_NMEDIT=$NMEDIT
                   6729:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6730: set dummy nmedit; ac_word=$2
                   6731: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6732: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6733: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6734:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6735: else
                   6736:   if test -n "$ac_ct_NMEDIT"; then
                   6737:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6738: else
                   6739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6740: for as_dir in $PATH
                   6741: do
                   6742:   IFS=$as_save_IFS
                   6743:   test -z "$as_dir" && as_dir=.
                   6744:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6745:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6746:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6747:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6748:     break 2
                   6749:   fi
                   6750: done
                   6751: done
                   6752: 
                   6753:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6754: fi
                   6755: fi
                   6756: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6757: if test -n "$ac_ct_NMEDIT"; then
                   6758:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6759: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6760: else
                   6761:   echo "$as_me:$LINENO: result: no" >&5
                   6762: echo "${ECHO_T}no" >&6
                   6763: fi
                   6764: 
                   6765:   NMEDIT=$ac_ct_NMEDIT
                   6766: else
                   6767:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6768: fi
                   6769: 
                   6770:     if test -n "$ac_tool_prefix"; then
                   6771:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6772: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6773: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6774: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6775: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6776:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6777: else
                   6778:   if test -n "$LIPO"; then
                   6779:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6780: else
                   6781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6782: for as_dir in $PATH
                   6783: do
                   6784:   IFS=$as_save_IFS
                   6785:   test -z "$as_dir" && as_dir=.
                   6786:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6787:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6788:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6789:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6790:     break 2
                   6791:   fi
                   6792: done
                   6793: done
                   6794: 
                   6795: fi
                   6796: fi
                   6797: LIPO=$ac_cv_prog_LIPO
                   6798: if test -n "$LIPO"; then
                   6799:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6800: echo "${ECHO_T}$LIPO" >&6
                   6801: else
                   6802:   echo "$as_me:$LINENO: result: no" >&5
                   6803: echo "${ECHO_T}no" >&6
                   6804: fi
                   6805: 
                   6806: fi
                   6807: if test -z "$ac_cv_prog_LIPO"; then
                   6808:   ac_ct_LIPO=$LIPO
                   6809:   # Extract the first word of "lipo", so it can be a program name with args.
                   6810: set dummy lipo; ac_word=$2
                   6811: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6812: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6813: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6814:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6815: else
                   6816:   if test -n "$ac_ct_LIPO"; then
                   6817:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6818: else
                   6819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6820: for as_dir in $PATH
                   6821: do
                   6822:   IFS=$as_save_IFS
                   6823:   test -z "$as_dir" && as_dir=.
                   6824:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6825:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6826:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6827:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6828:     break 2
                   6829:   fi
                   6830: done
                   6831: done
                   6832: 
                   6833:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6834: fi
                   6835: fi
                   6836: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6837: if test -n "$ac_ct_LIPO"; then
                   6838:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6839: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6840: else
                   6841:   echo "$as_me:$LINENO: result: no" >&5
                   6842: echo "${ECHO_T}no" >&6
                   6843: fi
                   6844: 
                   6845:   LIPO=$ac_ct_LIPO
                   6846: else
                   6847:   LIPO="$ac_cv_prog_LIPO"
                   6848: fi
                   6849: 
                   6850:     if test -n "$ac_tool_prefix"; then
                   6851:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6852: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6853: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6854: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6855: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6856:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6857: else
                   6858:   if test -n "$OTOOL"; then
                   6859:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6860: else
                   6861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6862: for as_dir in $PATH
                   6863: do
                   6864:   IFS=$as_save_IFS
                   6865:   test -z "$as_dir" && as_dir=.
                   6866:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6867:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6868:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6869:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6870:     break 2
                   6871:   fi
                   6872: done
                   6873: done
                   6874: 
                   6875: fi
                   6876: fi
                   6877: OTOOL=$ac_cv_prog_OTOOL
                   6878: if test -n "$OTOOL"; then
                   6879:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6880: echo "${ECHO_T}$OTOOL" >&6
                   6881: else
                   6882:   echo "$as_me:$LINENO: result: no" >&5
                   6883: echo "${ECHO_T}no" >&6
                   6884: fi
                   6885: 
                   6886: fi
                   6887: if test -z "$ac_cv_prog_OTOOL"; then
                   6888:   ac_ct_OTOOL=$OTOOL
                   6889:   # Extract the first word of "otool", so it can be a program name with args.
                   6890: set dummy otool; ac_word=$2
                   6891: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6892: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6893: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6894:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6895: else
                   6896:   if test -n "$ac_ct_OTOOL"; then
                   6897:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6898: else
                   6899: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6900: for as_dir in $PATH
                   6901: do
                   6902:   IFS=$as_save_IFS
                   6903:   test -z "$as_dir" && as_dir=.
                   6904:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6905:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6906:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6907:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6908:     break 2
                   6909:   fi
                   6910: done
                   6911: done
                   6912: 
                   6913:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6914: fi
                   6915: fi
                   6916: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6917: if test -n "$ac_ct_OTOOL"; then
                   6918:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6919: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6920: else
                   6921:   echo "$as_me:$LINENO: result: no" >&5
                   6922: echo "${ECHO_T}no" >&6
                   6923: fi
                   6924: 
                   6925:   OTOOL=$ac_ct_OTOOL
                   6926: else
                   6927:   OTOOL="$ac_cv_prog_OTOOL"
                   6928: fi
                   6929: 
                   6930:     if test -n "$ac_tool_prefix"; then
                   6931:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6932: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6933: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6934: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6935: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6936:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6937: else
                   6938:   if test -n "$OTOOL64"; then
                   6939:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6940: else
                   6941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6942: for as_dir in $PATH
                   6943: do
                   6944:   IFS=$as_save_IFS
                   6945:   test -z "$as_dir" && as_dir=.
                   6946:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6947:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6948:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6949:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6950:     break 2
                   6951:   fi
                   6952: done
                   6953: done
                   6954: 
                   6955: fi
                   6956: fi
                   6957: OTOOL64=$ac_cv_prog_OTOOL64
                   6958: if test -n "$OTOOL64"; then
                   6959:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6960: echo "${ECHO_T}$OTOOL64" >&6
                   6961: else
                   6962:   echo "$as_me:$LINENO: result: no" >&5
                   6963: echo "${ECHO_T}no" >&6
                   6964: fi
                   6965: 
                   6966: fi
                   6967: if test -z "$ac_cv_prog_OTOOL64"; then
                   6968:   ac_ct_OTOOL64=$OTOOL64
                   6969:   # Extract the first word of "otool64", so it can be a program name with args.
                   6970: set dummy otool64; ac_word=$2
                   6971: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6972: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6973: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6974:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6975: else
                   6976:   if test -n "$ac_ct_OTOOL64"; then
                   6977:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6978: else
                   6979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6980: for as_dir in $PATH
                   6981: do
                   6982:   IFS=$as_save_IFS
                   6983:   test -z "$as_dir" && as_dir=.
                   6984:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6985:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6986:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6987:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6988:     break 2
                   6989:   fi
                   6990: done
                   6991: done
                   6992: 
                   6993:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   6994: fi
                   6995: fi
                   6996: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6997: if test -n "$ac_ct_OTOOL64"; then
                   6998:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   6999: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   7000: else
                   7001:   echo "$as_me:$LINENO: result: no" >&5
                   7002: echo "${ECHO_T}no" >&6
                   7003: fi
                   7004: 
                   7005:   OTOOL64=$ac_ct_OTOOL64
                   7006: else
                   7007:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7008: fi
                   7009: 
                   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:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   7037: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   7038: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   7039:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7040: else
                   7041:   lt_cv_apple_cc_single_mod=no
                   7042:       if test -z "${LT_MULTI_MODULE}"; then
                   7043:        # By default we will add the -single_module flag. You can override
                   7044:        # by either setting the environment variable LT_MULTI_MODULE
                   7045:        # non-empty at configure time, or by adding -multi_module to the
                   7046:        # link flags.
                   7047:        rm -rf libconftest.dylib*
                   7048:        echo "int foo(void){return 1;}" > conftest.c
                   7049:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7050: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7051:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7052:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7053:         _lt_result=$?
                   7054:        # If there is a non-empty error log, and "single_module"
                   7055:        # appears in it, assume the flag caused a linker warning
                   7056:         if test -s conftest.err && $GREP single_module conftest.err; then
                   7057:          cat conftest.err >&5
                   7058:        # Otherwise, if the output was created with a 0 exit code from
                   7059:        # the compiler, it worked.
                   7060:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   7061:          lt_cv_apple_cc_single_mod=yes
                   7062:        else
                   7063:          cat conftest.err >&5
                   7064:        fi
                   7065:        rm -rf libconftest.dylib*
                   7066:        rm -f conftest.*
                   7067:       fi
                   7068: fi
                   7069: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   7070: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
                   7071: 
                   7072:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   7073: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   7074: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   7075:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7076: else
                   7077:   lt_cv_ld_exported_symbols_list=no
                   7078:       save_LDFLAGS=$LDFLAGS
                   7079:       echo "_main" > conftest.sym
                   7080:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7081:       cat >conftest.$ac_ext <<_ACEOF
                   7082: /* confdefs.h.  */
                   7083: _ACEOF
                   7084: cat confdefs.h >>conftest.$ac_ext
                   7085: cat >>conftest.$ac_ext <<_ACEOF
                   7086: /* end confdefs.h.  */
                   7087: 
                   7088: int
                   7089: main ()
                   7090: {
                   7091: 
                   7092:   ;
                   7093:   return 0;
                   7094: }
                   7095: _ACEOF
                   7096: rm -f conftest.$ac_objext conftest$ac_exeext
                   7097: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7098:   (eval $ac_link) 2>conftest.er1
                   7099:   ac_status=$?
                   7100:   grep -v '^ *+' conftest.er1 >conftest.err
                   7101:   rm -f conftest.er1
                   7102:   cat conftest.err >&5
                   7103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7104:   (exit $ac_status); } &&
                   7105:         { ac_try='test -z "$ac_c_werror_flag"
                   7106:                         || test ! -s conftest.err'
                   7107:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7108:   (eval $ac_try) 2>&5
                   7109:   ac_status=$?
                   7110:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7111:   (exit $ac_status); }; } &&
                   7112:         { ac_try='test -s conftest$ac_exeext'
                   7113:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7114:   (eval $ac_try) 2>&5
                   7115:   ac_status=$?
                   7116:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7117:   (exit $ac_status); }; }; then
                   7118:   lt_cv_ld_exported_symbols_list=yes
                   7119: else
                   7120:   echo "$as_me: failed program was:" >&5
                   7121: sed 's/^/| /' conftest.$ac_ext >&5
                   7122: 
                   7123: lt_cv_ld_exported_symbols_list=no
                   7124: fi
                   7125: rm -f conftest.err conftest.$ac_objext \
                   7126:       conftest$ac_exeext conftest.$ac_ext
                   7127:        LDFLAGS="$save_LDFLAGS"
                   7128: 
                   7129: fi
                   7130: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   7131: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
                   7132: 
                   7133:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   7134: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   7135: if test "${lt_cv_ld_force_load+set}" = set; then
                   7136:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7137: else
                   7138:   lt_cv_ld_force_load=no
                   7139:       cat > conftest.c << _LT_EOF
                   7140: int forced_loaded() { return 2;}
                   7141: _LT_EOF
                   7142:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7143:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7144:       echo "$AR cru libconftest.a conftest.o" >&5
                   7145:       $AR cru libconftest.a conftest.o 2>&5
                   7146:       echo "$RANLIB libconftest.a" >&5
                   7147:       $RANLIB libconftest.a 2>&5
                   7148:       cat > conftest.c << _LT_EOF
                   7149: int main() { return 0;}
                   7150: _LT_EOF
                   7151:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7152:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7153:       _lt_result=$?
                   7154:       if test -s conftest.err && $GREP force_load conftest.err; then
                   7155:        cat conftest.err >&5
                   7156:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   7157:        lt_cv_ld_force_load=yes
                   7158:       else
                   7159:        cat conftest.err >&5
                   7160:       fi
                   7161:         rm -f conftest.err libconftest.a conftest conftest.c
                   7162:         rm -rf conftest.dSYM
                   7163: 
                   7164: fi
                   7165: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   7166: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   7167:     case $host_os in
                   7168:     rhapsody* | darwin1.[012])
                   7169:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7170:     darwin1.*)
                   7171:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7172:     darwin*) # darwin 5.x on
                   7173:       # if running on 10.5 or later, the deployment target defaults
                   7174:       # to the OS version, if on x86, and 10.4, the deployment
                   7175:       # target defaults to 10.4. Don't you love it?
                   7176:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7177:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7178:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7179:        10.[012]*)
                   7180:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7181:        10.*)
                   7182:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7183:       esac
                   7184:     ;;
                   7185:   esac
                   7186:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7187:       _lt_dar_single_mod='$single_module'
                   7188:     fi
                   7189:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7190:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7191:     else
                   7192:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7193:     fi
                   7194:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   7195:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7196:     else
                   7197:       _lt_dsymutil=
                   7198:     fi
                   7199:     ;;
                   7200:   esac
                   7201: 
                   7202: ac_ext=c
                   7203: ac_cpp='$CPP $CPPFLAGS'
                   7204: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7205: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7206: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7207: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   7208: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   7209: # On Suns, sometimes $CPP names a directory.
                   7210: if test -n "$CPP" && test -d "$CPP"; then
                   7211:   CPP=
                   7212: fi
                   7213: if test -z "$CPP"; then
                   7214:   if test "${ac_cv_prog_CPP+set}" = set; then
                   7215:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7216: else
                   7217:       # Double quotes because CPP needs to be expanded
                   7218:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7219:     do
                   7220:       ac_preproc_ok=false
                   7221: for ac_c_preproc_warn_flag in '' yes
                   7222: do
                   7223:   # Use a header file that comes with gcc, so configuring glibc
                   7224:   # with a fresh cross-compiler works.
                   7225:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7226:   # <limits.h> exists even on freestanding compilers.
                   7227:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7228:   # not just through cpp. "Syntax error" is here to catch this case.
                   7229:   cat >conftest.$ac_ext <<_ACEOF
                   7230: /* confdefs.h.  */
                   7231: _ACEOF
                   7232: cat confdefs.h >>conftest.$ac_ext
                   7233: cat >>conftest.$ac_ext <<_ACEOF
                   7234: /* end confdefs.h.  */
                   7235: #ifdef __STDC__
                   7236: # include <limits.h>
                   7237: #else
                   7238: # include <assert.h>
                   7239: #endif
                   7240:                     Syntax error
                   7241: _ACEOF
                   7242: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7243:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7244:   ac_status=$?
                   7245:   grep -v '^ *+' conftest.er1 >conftest.err
                   7246:   rm -f conftest.er1
                   7247:   cat conftest.err >&5
                   7248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7249:   (exit $ac_status); } >/dev/null; then
                   7250:   if test -s conftest.err; then
                   7251:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7252:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7253:   else
                   7254:     ac_cpp_err=
                   7255:   fi
                   7256: else
                   7257:   ac_cpp_err=yes
                   7258: fi
                   7259: if test -z "$ac_cpp_err"; then
                   7260:   :
                   7261: else
                   7262:   echo "$as_me: failed program was:" >&5
                   7263: sed 's/^/| /' conftest.$ac_ext >&5
                   7264: 
                   7265:   # Broken: fails on valid input.
                   7266: continue
                   7267: fi
                   7268: rm -f conftest.err conftest.$ac_ext
                   7269: 
                   7270:   # OK, works on sane cases.  Now check whether non-existent headers
                   7271:   # can be detected and how.
                   7272:   cat >conftest.$ac_ext <<_ACEOF
                   7273: /* confdefs.h.  */
                   7274: _ACEOF
                   7275: cat confdefs.h >>conftest.$ac_ext
                   7276: cat >>conftest.$ac_ext <<_ACEOF
                   7277: /* end confdefs.h.  */
                   7278: #include <ac_nonexistent.h>
                   7279: _ACEOF
                   7280: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7281:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7282:   ac_status=$?
                   7283:   grep -v '^ *+' conftest.er1 >conftest.err
                   7284:   rm -f conftest.er1
                   7285:   cat conftest.err >&5
                   7286:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7287:   (exit $ac_status); } >/dev/null; then
                   7288:   if test -s conftest.err; then
                   7289:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7290:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7291:   else
                   7292:     ac_cpp_err=
                   7293:   fi
                   7294: else
                   7295:   ac_cpp_err=yes
                   7296: fi
                   7297: if test -z "$ac_cpp_err"; then
                   7298:   # Broken: success on invalid input.
                   7299: continue
                   7300: else
                   7301:   echo "$as_me: failed program was:" >&5
                   7302: sed 's/^/| /' conftest.$ac_ext >&5
                   7303: 
                   7304:   # Passes both tests.
                   7305: ac_preproc_ok=:
                   7306: break
                   7307: fi
                   7308: rm -f conftest.err conftest.$ac_ext
                   7309: 
                   7310: done
                   7311: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7312: rm -f conftest.err conftest.$ac_ext
                   7313: if $ac_preproc_ok; then
                   7314:   break
                   7315: fi
                   7316: 
                   7317:     done
                   7318:     ac_cv_prog_CPP=$CPP
                   7319: 
                   7320: fi
                   7321:   CPP=$ac_cv_prog_CPP
                   7322: else
                   7323:   ac_cv_prog_CPP=$CPP
                   7324: fi
                   7325: echo "$as_me:$LINENO: result: $CPP" >&5
                   7326: echo "${ECHO_T}$CPP" >&6
                   7327: ac_preproc_ok=false
                   7328: for ac_c_preproc_warn_flag in '' yes
                   7329: do
                   7330:   # Use a header file that comes with gcc, so configuring glibc
                   7331:   # with a fresh cross-compiler works.
                   7332:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7333:   # <limits.h> exists even on freestanding compilers.
                   7334:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7335:   # not just through cpp. "Syntax error" is here to catch this case.
                   7336:   cat >conftest.$ac_ext <<_ACEOF
                   7337: /* confdefs.h.  */
                   7338: _ACEOF
                   7339: cat confdefs.h >>conftest.$ac_ext
                   7340: cat >>conftest.$ac_ext <<_ACEOF
                   7341: /* end confdefs.h.  */
                   7342: #ifdef __STDC__
                   7343: # include <limits.h>
                   7344: #else
                   7345: # include <assert.h>
                   7346: #endif
                   7347:                     Syntax error
                   7348: _ACEOF
                   7349: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7350:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7351:   ac_status=$?
                   7352:   grep -v '^ *+' conftest.er1 >conftest.err
                   7353:   rm -f conftest.er1
                   7354:   cat conftest.err >&5
                   7355:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7356:   (exit $ac_status); } >/dev/null; then
                   7357:   if test -s conftest.err; then
                   7358:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7359:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7360:   else
                   7361:     ac_cpp_err=
                   7362:   fi
                   7363: else
                   7364:   ac_cpp_err=yes
                   7365: fi
                   7366: if test -z "$ac_cpp_err"; then
                   7367:   :
                   7368: else
                   7369:   echo "$as_me: failed program was:" >&5
                   7370: sed 's/^/| /' conftest.$ac_ext >&5
                   7371: 
                   7372:   # Broken: fails on valid input.
                   7373: continue
                   7374: fi
                   7375: rm -f conftest.err conftest.$ac_ext
                   7376: 
                   7377:   # OK, works on sane cases.  Now check whether non-existent headers
                   7378:   # can be detected and how.
                   7379:   cat >conftest.$ac_ext <<_ACEOF
                   7380: /* confdefs.h.  */
                   7381: _ACEOF
                   7382: cat confdefs.h >>conftest.$ac_ext
                   7383: cat >>conftest.$ac_ext <<_ACEOF
                   7384: /* end confdefs.h.  */
                   7385: #include <ac_nonexistent.h>
                   7386: _ACEOF
                   7387: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   7388:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   7389:   ac_status=$?
                   7390:   grep -v '^ *+' conftest.er1 >conftest.err
                   7391:   rm -f conftest.er1
                   7392:   cat conftest.err >&5
                   7393:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7394:   (exit $ac_status); } >/dev/null; then
                   7395:   if test -s conftest.err; then
                   7396:     ac_cpp_err=$ac_c_preproc_warn_flag
                   7397:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   7398:   else
                   7399:     ac_cpp_err=
                   7400:   fi
                   7401: else
                   7402:   ac_cpp_err=yes
                   7403: fi
                   7404: if test -z "$ac_cpp_err"; then
                   7405:   # Broken: success on invalid input.
                   7406: continue
                   7407: else
                   7408:   echo "$as_me: failed program was:" >&5
                   7409: sed 's/^/| /' conftest.$ac_ext >&5
                   7410: 
                   7411:   # Passes both tests.
                   7412: ac_preproc_ok=:
                   7413: break
                   7414: fi
                   7415: rm -f conftest.err conftest.$ac_ext
                   7416: 
                   7417: done
                   7418: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7419: rm -f conftest.err conftest.$ac_ext
                   7420: if $ac_preproc_ok; then
                   7421:   :
                   7422: else
                   7423:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   7424: See \`config.log' for more details." >&5
                   7425: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   7426: See \`config.log' for more details." >&2;}
                   7427:    { (exit 1); exit 1; }; }
                   7428: fi
                   7429: 
                   7430: ac_ext=c
                   7431: ac_cpp='$CPP $CPPFLAGS'
                   7432: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7433: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7434: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7435: 
                   7436: 
                   7437: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   7438: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   7439: if test "${ac_cv_header_stdc+set}" = set; then
                   7440:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7441: else
                   7442:   cat >conftest.$ac_ext <<_ACEOF
                   7443: /* confdefs.h.  */
                   7444: _ACEOF
                   7445: cat confdefs.h >>conftest.$ac_ext
                   7446: cat >>conftest.$ac_ext <<_ACEOF
                   7447: /* end confdefs.h.  */
                   7448: #include <stdlib.h>
                   7449: #include <stdarg.h>
                   7450: #include <string.h>
                   7451: #include <float.h>
                   7452: 
                   7453: int
                   7454: main ()
                   7455: {
                   7456: 
                   7457:   ;
                   7458:   return 0;
                   7459: }
                   7460: _ACEOF
                   7461: rm -f conftest.$ac_objext
                   7462: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7463:   (eval $ac_compile) 2>conftest.er1
                   7464:   ac_status=$?
                   7465:   grep -v '^ *+' conftest.er1 >conftest.err
                   7466:   rm -f conftest.er1
                   7467:   cat conftest.err >&5
                   7468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7469:   (exit $ac_status); } &&
                   7470:         { ac_try='test -z "$ac_c_werror_flag"
                   7471:                         || test ! -s conftest.err'
                   7472:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7473:   (eval $ac_try) 2>&5
                   7474:   ac_status=$?
                   7475:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7476:   (exit $ac_status); }; } &&
                   7477:         { ac_try='test -s conftest.$ac_objext'
                   7478:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7479:   (eval $ac_try) 2>&5
                   7480:   ac_status=$?
                   7481:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7482:   (exit $ac_status); }; }; then
                   7483:   ac_cv_header_stdc=yes
                   7484: else
                   7485:   echo "$as_me: failed program was:" >&5
                   7486: sed 's/^/| /' conftest.$ac_ext >&5
                   7487: 
                   7488: ac_cv_header_stdc=no
                   7489: fi
                   7490: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7491: 
                   7492: if test $ac_cv_header_stdc = yes; then
                   7493:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7494:   cat >conftest.$ac_ext <<_ACEOF
                   7495: /* confdefs.h.  */
                   7496: _ACEOF
                   7497: cat confdefs.h >>conftest.$ac_ext
                   7498: cat >>conftest.$ac_ext <<_ACEOF
                   7499: /* end confdefs.h.  */
                   7500: #include <string.h>
                   7501: 
                   7502: _ACEOF
                   7503: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7504:   $EGREP "memchr" >/dev/null 2>&1; then
                   7505:   :
                   7506: else
                   7507:   ac_cv_header_stdc=no
                   7508: fi
                   7509: rm -f conftest*
                   7510: 
                   7511: fi
                   7512: 
                   7513: if test $ac_cv_header_stdc = yes; then
                   7514:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7515:   cat >conftest.$ac_ext <<_ACEOF
                   7516: /* confdefs.h.  */
                   7517: _ACEOF
                   7518: cat confdefs.h >>conftest.$ac_ext
                   7519: cat >>conftest.$ac_ext <<_ACEOF
                   7520: /* end confdefs.h.  */
                   7521: #include <stdlib.h>
                   7522: 
                   7523: _ACEOF
                   7524: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7525:   $EGREP "free" >/dev/null 2>&1; then
                   7526:   :
                   7527: else
                   7528:   ac_cv_header_stdc=no
                   7529: fi
                   7530: rm -f conftest*
                   7531: 
                   7532: fi
                   7533: 
                   7534: if test $ac_cv_header_stdc = yes; then
                   7535:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7536:   if test "$cross_compiling" = yes; then
                   7537:   :
                   7538: else
                   7539:   cat >conftest.$ac_ext <<_ACEOF
                   7540: /* confdefs.h.  */
                   7541: _ACEOF
                   7542: cat confdefs.h >>conftest.$ac_ext
                   7543: cat >>conftest.$ac_ext <<_ACEOF
                   7544: /* end confdefs.h.  */
                   7545: #include <ctype.h>
                   7546: #if ((' ' & 0x0FF) == 0x020)
                   7547: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7548: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7549: #else
                   7550: # define ISLOWER(c) \
                   7551:                   (('a' <= (c) && (c) <= 'i') \
                   7552:                     || ('j' <= (c) && (c) <= 'r') \
                   7553:                     || ('s' <= (c) && (c) <= 'z'))
                   7554: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7555: #endif
                   7556: 
                   7557: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7558: int
                   7559: main ()
                   7560: {
                   7561:   int i;
                   7562:   for (i = 0; i < 256; i++)
                   7563:     if (XOR (islower (i), ISLOWER (i))
                   7564:        || toupper (i) != TOUPPER (i))
                   7565:       exit(2);
                   7566:   exit (0);
                   7567: }
                   7568: _ACEOF
                   7569: rm -f conftest$ac_exeext
                   7570: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   7571:   (eval $ac_link) 2>&5
                   7572:   ac_status=$?
                   7573:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7574:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   7575:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7576:   (eval $ac_try) 2>&5
                   7577:   ac_status=$?
                   7578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7579:   (exit $ac_status); }; }; then
                   7580:   :
                   7581: else
                   7582:   echo "$as_me: program exited with status $ac_status" >&5
                   7583: echo "$as_me: failed program was:" >&5
                   7584: sed 's/^/| /' conftest.$ac_ext >&5
                   7585: 
                   7586: ( exit $ac_status )
                   7587: ac_cv_header_stdc=no
                   7588: fi
                   7589: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   7590: fi
                   7591: fi
                   7592: fi
                   7593: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   7594: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   7595: if test $ac_cv_header_stdc = yes; then
                   7596: 
                   7597: cat >>confdefs.h <<\_ACEOF
                   7598: #define STDC_HEADERS 1
                   7599: _ACEOF
                   7600: 
                   7601: fi
                   7602: 
                   7603: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7604: 
                   7605: 
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
                   7611: 
                   7612: 
                   7613: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7614:                  inttypes.h stdint.h unistd.h
                   7615: do
                   7616: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7617: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7618: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7619: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7620:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7621: else
                   7622:   cat >conftest.$ac_ext <<_ACEOF
                   7623: /* confdefs.h.  */
                   7624: _ACEOF
                   7625: cat confdefs.h >>conftest.$ac_ext
                   7626: cat >>conftest.$ac_ext <<_ACEOF
                   7627: /* end confdefs.h.  */
                   7628: $ac_includes_default
                   7629: 
                   7630: #include <$ac_header>
                   7631: _ACEOF
                   7632: rm -f conftest.$ac_objext
                   7633: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7634:   (eval $ac_compile) 2>conftest.er1
                   7635:   ac_status=$?
                   7636:   grep -v '^ *+' conftest.er1 >conftest.err
                   7637:   rm -f conftest.er1
                   7638:   cat conftest.err >&5
                   7639:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7640:   (exit $ac_status); } &&
                   7641:         { ac_try='test -z "$ac_c_werror_flag"
                   7642:                         || test ! -s conftest.err'
                   7643:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7644:   (eval $ac_try) 2>&5
                   7645:   ac_status=$?
                   7646:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7647:   (exit $ac_status); }; } &&
                   7648:         { ac_try='test -s conftest.$ac_objext'
                   7649:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7650:   (eval $ac_try) 2>&5
                   7651:   ac_status=$?
                   7652:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7653:   (exit $ac_status); }; }; then
                   7654:   eval "$as_ac_Header=yes"
                   7655: else
                   7656:   echo "$as_me: failed program was:" >&5
                   7657: sed 's/^/| /' conftest.$ac_ext >&5
                   7658: 
                   7659: eval "$as_ac_Header=no"
                   7660: fi
                   7661: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7662: fi
                   7663: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7664: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7665: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7666:   cat >>confdefs.h <<_ACEOF
                   7667: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7668: _ACEOF
                   7669: 
                   7670: fi
                   7671: 
                   7672: done
                   7673: 
                   7674: 
                   7675: 
                   7676: for ac_header in dlfcn.h
                   7677: do
                   7678: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7679: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7680: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7681: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   7682:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7683: else
                   7684:   cat >conftest.$ac_ext <<_ACEOF
                   7685: /* confdefs.h.  */
                   7686: _ACEOF
                   7687: cat confdefs.h >>conftest.$ac_ext
                   7688: cat >>conftest.$ac_ext <<_ACEOF
                   7689: /* end confdefs.h.  */
                   7690: $ac_includes_default
                   7691: 
                   7692: #include <$ac_header>
                   7693: _ACEOF
                   7694: rm -f conftest.$ac_objext
                   7695: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7696:   (eval $ac_compile) 2>conftest.er1
                   7697:   ac_status=$?
                   7698:   grep -v '^ *+' conftest.er1 >conftest.err
                   7699:   rm -f conftest.er1
                   7700:   cat conftest.err >&5
                   7701:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7702:   (exit $ac_status); } &&
                   7703:         { ac_try='test -z "$ac_c_werror_flag"
                   7704:                         || test ! -s conftest.err'
                   7705:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7706:   (eval $ac_try) 2>&5
                   7707:   ac_status=$?
                   7708:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7709:   (exit $ac_status); }; } &&
                   7710:         { ac_try='test -s conftest.$ac_objext'
                   7711:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7712:   (eval $ac_try) 2>&5
                   7713:   ac_status=$?
                   7714:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7715:   (exit $ac_status); }; }; then
                   7716:   eval "$as_ac_Header=yes"
                   7717: else
                   7718:   echo "$as_me: failed program was:" >&5
                   7719: sed 's/^/| /' conftest.$ac_ext >&5
                   7720: 
                   7721: eval "$as_ac_Header=no"
                   7722: fi
                   7723: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   7724: fi
                   7725: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7726: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7727: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7728:   cat >>confdefs.h <<_ACEOF
                   7729: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7730: _ACEOF
                   7731: 
                   7732: fi
                   7733: 
                   7734: done
                   7735: 
                   7736: 
                   7737: 
                   7738: 
                   7739: func_stripname_cnf ()
                   7740: {
                   7741:   case ${2} in
                   7742:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7743:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7744:   esac
                   7745: } # func_stripname_cnf
                   7746: 
                   7747: 
                   7748: 
                   7749: 
                   7750: 
                   7751: # Set options
                   7752: enable_dlopen=yes
                   7753: enable_win32_dll=yes
                   7754: 
                   7755: case $host in
                   7756: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7757:   if test -n "$ac_tool_prefix"; then
                   7758:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7759: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7760: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7761: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7762: if test "${ac_cv_prog_AS+set}" = set; then
                   7763:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7764: else
                   7765:   if test -n "$AS"; then
                   7766:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7767: else
                   7768: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7769: for as_dir in $PATH
                   7770: do
                   7771:   IFS=$as_save_IFS
                   7772:   test -z "$as_dir" && as_dir=.
                   7773:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7774:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7775:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7776:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7777:     break 2
                   7778:   fi
                   7779: done
                   7780: done
                   7781: 
                   7782: fi
                   7783: fi
                   7784: AS=$ac_cv_prog_AS
                   7785: if test -n "$AS"; then
                   7786:   echo "$as_me:$LINENO: result: $AS" >&5
                   7787: echo "${ECHO_T}$AS" >&6
                   7788: else
                   7789:   echo "$as_me:$LINENO: result: no" >&5
                   7790: echo "${ECHO_T}no" >&6
                   7791: fi
                   7792: 
                   7793: fi
                   7794: if test -z "$ac_cv_prog_AS"; then
                   7795:   ac_ct_AS=$AS
                   7796:   # Extract the first word of "as", so it can be a program name with args.
                   7797: set dummy as; ac_word=$2
                   7798: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7799: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7800: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7801:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7802: else
                   7803:   if test -n "$ac_ct_AS"; then
                   7804:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7805: else
                   7806: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7807: for as_dir in $PATH
                   7808: do
                   7809:   IFS=$as_save_IFS
                   7810:   test -z "$as_dir" && as_dir=.
                   7811:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7812:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7813:     ac_cv_prog_ac_ct_AS="as"
                   7814:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7815:     break 2
                   7816:   fi
                   7817: done
                   7818: done
                   7819: 
                   7820:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7821: fi
                   7822: fi
                   7823: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7824: if test -n "$ac_ct_AS"; then
                   7825:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7826: echo "${ECHO_T}$ac_ct_AS" >&6
                   7827: else
                   7828:   echo "$as_me:$LINENO: result: no" >&5
                   7829: echo "${ECHO_T}no" >&6
                   7830: fi
                   7831: 
                   7832:   AS=$ac_ct_AS
                   7833: else
                   7834:   AS="$ac_cv_prog_AS"
                   7835: fi
                   7836: 
                   7837:   if test -n "$ac_tool_prefix"; then
                   7838:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7839: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7840: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7841: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7842: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   7843:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7844: else
                   7845:   if test -n "$DLLTOOL"; then
                   7846:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7847: else
                   7848: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7849: for as_dir in $PATH
                   7850: do
                   7851:   IFS=$as_save_IFS
                   7852:   test -z "$as_dir" && as_dir=.
                   7853:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7854:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7855:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7856:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7857:     break 2
                   7858:   fi
                   7859: done
                   7860: done
                   7861: 
                   7862: fi
                   7863: fi
                   7864: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7865: if test -n "$DLLTOOL"; then
                   7866:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7867: echo "${ECHO_T}$DLLTOOL" >&6
                   7868: else
                   7869:   echo "$as_me:$LINENO: result: no" >&5
                   7870: echo "${ECHO_T}no" >&6
                   7871: fi
                   7872: 
                   7873: fi
                   7874: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7875:   ac_ct_DLLTOOL=$DLLTOOL
                   7876:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7877: set dummy dlltool; ac_word=$2
                   7878: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7879: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7880: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
                   7881:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7882: else
                   7883:   if test -n "$ac_ct_DLLTOOL"; then
                   7884:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7885: else
                   7886: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7887: for as_dir in $PATH
                   7888: do
                   7889:   IFS=$as_save_IFS
                   7890:   test -z "$as_dir" && as_dir=.
                   7891:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7892:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7893:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7894:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7895:     break 2
                   7896:   fi
                   7897: done
                   7898: done
                   7899: 
                   7900:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7901: fi
                   7902: fi
                   7903: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7904: if test -n "$ac_ct_DLLTOOL"; then
                   7905:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7906: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7907: else
                   7908:   echo "$as_me:$LINENO: result: no" >&5
                   7909: echo "${ECHO_T}no" >&6
                   7910: fi
                   7911: 
                   7912:   DLLTOOL=$ac_ct_DLLTOOL
                   7913: else
                   7914:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7915: fi
                   7916: 
                   7917:   if test -n "$ac_tool_prefix"; then
                   7918:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7919: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7920: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7921: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7922: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   7923:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7924: else
                   7925:   if test -n "$OBJDUMP"; then
                   7926:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7927: else
                   7928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7929: for as_dir in $PATH
                   7930: do
                   7931:   IFS=$as_save_IFS
                   7932:   test -z "$as_dir" && as_dir=.
                   7933:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7934:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7935:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7936:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7937:     break 2
                   7938:   fi
                   7939: done
                   7940: done
                   7941: 
                   7942: fi
                   7943: fi
                   7944: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7945: if test -n "$OBJDUMP"; then
                   7946:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7947: echo "${ECHO_T}$OBJDUMP" >&6
                   7948: else
                   7949:   echo "$as_me:$LINENO: result: no" >&5
                   7950: echo "${ECHO_T}no" >&6
                   7951: fi
                   7952: 
                   7953: fi
                   7954: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7955:   ac_ct_OBJDUMP=$OBJDUMP
                   7956:   # Extract the first word of "objdump", so it can be a program name with args.
                   7957: set dummy objdump; ac_word=$2
                   7958: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7959: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7960: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7961:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7962: else
                   7963:   if test -n "$ac_ct_OBJDUMP"; then
                   7964:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7965: else
                   7966: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7967: for as_dir in $PATH
                   7968: do
                   7969:   IFS=$as_save_IFS
                   7970:   test -z "$as_dir" && as_dir=.
                   7971:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7972:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7973:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7974:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7975:     break 2
                   7976:   fi
                   7977: done
                   7978: done
                   7979: 
                   7980:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7981: fi
                   7982: fi
                   7983: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7984: if test -n "$ac_ct_OBJDUMP"; then
                   7985:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7986: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7987: else
                   7988:   echo "$as_me:$LINENO: result: no" >&5
                   7989: echo "${ECHO_T}no" >&6
                   7990: fi
                   7991: 
                   7992:   OBJDUMP=$ac_ct_OBJDUMP
                   7993: else
                   7994:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7995: fi
                   7996: 
                   7997:   ;;
                   7998: esac
                   7999: 
                   8000: test -z "$AS" && AS=as
                   8001: 
                   8002: 
                   8003: 
                   8004: 
                   8005: 
                   8006: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8007: 
                   8008: 
                   8009: 
                   8010: 
                   8011: 
                   8012: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8013: 
                   8014: 
                   8015: 
                   8016: 
                   8017: 
1.145     moko     8018: # Check whether --with-pic or --without-pic was given.
                   8019: if test "${with_pic+set}" = set; then
                   8020:   withval="$with_pic"
                   8021:   lt_p=${PACKAGE-default}
                   8022:     case $withval in
                   8023:     yes|no) pic_mode=$withval ;;
                   8024:     *)
                   8025:       pic_mode=default
                   8026:       # Look at the argument we got.  We use all the common list separators.
                   8027:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8028:       for lt_pkg in $withval; do
                   8029:        IFS="$lt_save_ifs"
                   8030:        if test "X$lt_pkg" = "X$lt_p"; then
                   8031:          pic_mode=yes
                   8032:        fi
                   8033:       done
                   8034:       IFS="$lt_save_ifs"
                   8035:       ;;
                   8036:     esac
                   8037: else
                   8038:   pic_mode=default
                   8039: fi;
                   8040: 
                   8041: test -z "$pic_mode" && pic_mode=no
                   8042: 
                   8043: 
                   8044: 
                   8045: 
                   8046: 
                   8047: 
1.128     moko     8048: 
                   8049: 
                   8050: 
                   8051: 
                   8052:             # Check whether --enable-shared or --disable-shared was given.
                   8053: if test "${enable_shared+set}" = set; then
                   8054:   enableval="$enable_shared"
                   8055:   p=${PACKAGE-default}
                   8056:     case $enableval in
                   8057:     yes) enable_shared=yes ;;
                   8058:     no) enable_shared=no ;;
                   8059:     *)
                   8060:       enable_shared=no
                   8061:       # Look at the argument we got.  We use all the common list separators.
                   8062:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8063:       for pkg in $enableval; do
                   8064:        IFS="$lt_save_ifs"
                   8065:        if test "X$pkg" = "X$p"; then
                   8066:          enable_shared=yes
                   8067:        fi
                   8068:       done
                   8069:       IFS="$lt_save_ifs"
                   8070:       ;;
                   8071:     esac
                   8072: else
                   8073:   enable_shared=yes
                   8074: fi;
                   8075: 
                   8076: 
                   8077: 
                   8078: 
                   8079: 
                   8080: 
                   8081: 
                   8082: 
1.138     moko     8083:   # Check whether --enable-static or --disable-static was given.
                   8084: if test "${enable_static+set}" = set; then
                   8085:   enableval="$enable_static"
                   8086:   p=${PACKAGE-default}
                   8087:     case $enableval in
                   8088:     yes) enable_static=yes ;;
                   8089:     no) enable_static=no ;;
                   8090:     *)
                   8091:      enable_static=no
                   8092:       # Look at the argument we got.  We use all the common list separators.
                   8093:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8094:       for pkg in $enableval; do
                   8095:        IFS="$lt_save_ifs"
                   8096:        if test "X$pkg" = "X$p"; then
                   8097:          enable_static=yes
                   8098:        fi
                   8099:       done
                   8100:       IFS="$lt_save_ifs"
                   8101:       ;;
                   8102:     esac
                   8103: else
                   8104:   enable_static=yes
                   8105: fi;
                   8106: 
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: 
                   8112: 
1.128     moko     8113: 
                   8114: 
                   8115:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   8116: if test "${enable_fast_install+set}" = set; then
                   8117:   enableval="$enable_fast_install"
                   8118:   p=${PACKAGE-default}
                   8119:     case $enableval in
                   8120:     yes) enable_fast_install=yes ;;
                   8121:     no) enable_fast_install=no ;;
                   8122:     *)
                   8123:       enable_fast_install=no
                   8124:       # Look at the argument we got.  We use all the common list separators.
                   8125:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8126:       for pkg in $enableval; do
                   8127:        IFS="$lt_save_ifs"
                   8128:        if test "X$pkg" = "X$p"; then
                   8129:          enable_fast_install=yes
                   8130:        fi
                   8131:       done
                   8132:       IFS="$lt_save_ifs"
                   8133:       ;;
                   8134:     esac
                   8135: else
                   8136:   enable_fast_install=yes
                   8137: fi;
                   8138: 
                   8139: 
                   8140: 
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: 
                   8146: 
                   8147: 
                   8148: # This can be used to rebuild libtool when needed
                   8149: LIBTOOL_DEPS="$ltmain"
                   8150: 
                   8151: # Always use our own libtool.
                   8152: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8153: 
                   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: test -z "$LN_S" && LN_S="ln -s"
                   8184: 
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: if test -n "${ZSH_VERSION+set}" ; then
                   8199:    setopt NO_GLOB_SUBST
                   8200: fi
                   8201: 
                   8202: echo "$as_me:$LINENO: checking for objdir" >&5
                   8203: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   8204: if test "${lt_cv_objdir+set}" = set; then
                   8205:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8206: else
                   8207:   rm -f .libs 2>/dev/null
                   8208: mkdir .libs 2>/dev/null
                   8209: if test -d .libs; then
                   8210:   lt_cv_objdir=.libs
                   8211: else
                   8212:   # MS-DOS does not allow filenames that begin with a dot.
                   8213:   lt_cv_objdir=_libs
                   8214: fi
                   8215: rmdir .libs 2>/dev/null
                   8216: fi
                   8217: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   8218: echo "${ECHO_T}$lt_cv_objdir" >&6
                   8219: objdir=$lt_cv_objdir
                   8220: 
                   8221: 
                   8222: 
                   8223: 
                   8224: 
                   8225: cat >>confdefs.h <<_ACEOF
                   8226: #define LT_OBJDIR "$lt_cv_objdir/"
                   8227: _ACEOF
                   8228: 
                   8229: 
                   8230: 
                   8231: 
                   8232: case $host_os in
                   8233: aix3*)
                   8234:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8235:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8236:   # vanish in a puff of smoke.
                   8237:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8238:     COLLECT_NAMES=
                   8239:     export COLLECT_NAMES
                   8240:   fi
                   8241:   ;;
                   8242: esac
                   8243: 
                   8244: # Global variables:
                   8245: ofile=libtool
                   8246: can_build_shared=yes
                   8247: 
                   8248: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8249: # which needs '.lib').
                   8250: libext=a
                   8251: 
                   8252: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8253: 
                   8254: old_CC="$CC"
                   8255: old_CFLAGS="$CFLAGS"
                   8256: 
                   8257: # Set sane defaults for various variables
                   8258: test -z "$CC" && CC=cc
                   8259: test -z "$LTCC" && LTCC=$CC
                   8260: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8261: test -z "$LD" && LD=ld
                   8262: test -z "$ac_objext" && ac_objext=o
                   8263: 
                   8264: for cc_temp in $compiler""; do
                   8265:   case $cc_temp in
                   8266:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8267:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8268:     \-*) ;;
                   8269:     *) break;;
                   8270:   esac
                   8271: done
                   8272: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8273: 
                   8274: 
                   8275: # Only perform the check for file, if the check method requires it
                   8276: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8277: case $deplibs_check_method in
                   8278: file_magic*)
                   8279:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8280:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   8281: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   8282: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8283:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8284: else
                   8285:   case $MAGIC_CMD in
                   8286: [\\/*] |  ?:[\\/]*)
                   8287:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8288:   ;;
                   8289: *)
                   8290:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8291:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8292:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8293:   for ac_dir in $ac_dummy; do
                   8294:     IFS="$lt_save_ifs"
                   8295:     test -z "$ac_dir" && ac_dir=.
                   8296:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8297:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8298:       if test -n "$file_magic_test_file"; then
                   8299:        case $deplibs_check_method in
                   8300:        "file_magic "*)
                   8301:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8302:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8303:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8304:            $EGREP "$file_magic_regex" > /dev/null; then
                   8305:            :
                   8306:          else
                   8307:            cat <<_LT_EOF 1>&2
                   8308: 
                   8309: *** Warning: the command libtool uses to detect shared libraries,
                   8310: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8311: *** The result is that libtool may fail to recognize shared libraries
                   8312: *** as such.  This will affect the creation of libtool libraries that
                   8313: *** depend on shared libraries, but programs linked with such libtool
                   8314: *** libraries will work regardless of this problem.  Nevertheless, you
                   8315: *** may want to report the problem to your system manager and/or to
                   8316: *** bug-libtool@gnu.org
                   8317: 
                   8318: _LT_EOF
                   8319:          fi ;;
                   8320:        esac
                   8321:       fi
                   8322:       break
                   8323:     fi
                   8324:   done
                   8325:   IFS="$lt_save_ifs"
                   8326:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8327:   ;;
                   8328: esac
                   8329: fi
                   8330: 
                   8331: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8332: if test -n "$MAGIC_CMD"; then
                   8333:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8334: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8335: else
                   8336:   echo "$as_me:$LINENO: result: no" >&5
                   8337: echo "${ECHO_T}no" >&6
                   8338: fi
                   8339: 
                   8340: 
                   8341: 
                   8342: 
                   8343: 
                   8344: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8345:   if test -n "$ac_tool_prefix"; then
                   8346:     echo "$as_me:$LINENO: checking for file" >&5
                   8347: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   8348: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   8349:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8350: else
                   8351:   case $MAGIC_CMD in
                   8352: [\\/*] |  ?:[\\/]*)
                   8353:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8354:   ;;
                   8355: *)
                   8356:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8357:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8358:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8359:   for ac_dir in $ac_dummy; do
                   8360:     IFS="$lt_save_ifs"
                   8361:     test -z "$ac_dir" && ac_dir=.
                   8362:     if test -f $ac_dir/file; then
                   8363:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8364:       if test -n "$file_magic_test_file"; then
                   8365:        case $deplibs_check_method in
                   8366:        "file_magic "*)
                   8367:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8368:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8369:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8370:            $EGREP "$file_magic_regex" > /dev/null; then
                   8371:            :
                   8372:          else
                   8373:            cat <<_LT_EOF 1>&2
                   8374: 
                   8375: *** Warning: the command libtool uses to detect shared libraries,
                   8376: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8377: *** The result is that libtool may fail to recognize shared libraries
                   8378: *** as such.  This will affect the creation of libtool libraries that
                   8379: *** depend on shared libraries, but programs linked with such libtool
                   8380: *** libraries will work regardless of this problem.  Nevertheless, you
                   8381: *** may want to report the problem to your system manager and/or to
                   8382: *** bug-libtool@gnu.org
                   8383: 
                   8384: _LT_EOF
                   8385:          fi ;;
                   8386:        esac
                   8387:       fi
                   8388:       break
                   8389:     fi
                   8390:   done
                   8391:   IFS="$lt_save_ifs"
                   8392:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8393:   ;;
                   8394: esac
                   8395: fi
                   8396: 
                   8397: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8398: if test -n "$MAGIC_CMD"; then
                   8399:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   8400: echo "${ECHO_T}$MAGIC_CMD" >&6
                   8401: else
                   8402:   echo "$as_me:$LINENO: result: no" >&5
                   8403: echo "${ECHO_T}no" >&6
                   8404: fi
                   8405: 
                   8406: 
                   8407:   else
                   8408:     MAGIC_CMD=:
                   8409:   fi
                   8410: fi
                   8411: 
                   8412:   fi
                   8413:   ;;
                   8414: esac
                   8415: 
                   8416: # Use C for the default configuration in the libtool script
                   8417: 
                   8418: lt_save_CC="$CC"
                   8419: ac_ext=c
                   8420: ac_cpp='$CPP $CPPFLAGS'
                   8421: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8422: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8423: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8424: 
                   8425: 
                   8426: # Source file extension for C test sources.
                   8427: ac_ext=c
                   8428: 
                   8429: # Object file extension for compiled C test sources.
                   8430: objext=o
                   8431: objext=$objext
                   8432: 
                   8433: # Code to be used in simple compile tests
                   8434: lt_simple_compile_test_code="int some_variable = 0;"
                   8435: 
                   8436: # Code to be used in simple link tests
                   8437: lt_simple_link_test_code='int main(){return(0);}'
                   8438: 
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: # If no C compiler was specified, use CC.
                   8446: LTCC=${LTCC-"$CC"}
                   8447: 
                   8448: # If no C compiler flags were specified, use CFLAGS.
                   8449: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8450: 
                   8451: # Allow CC to be a program name with arguments.
                   8452: compiler=$CC
                   8453: 
                   8454: # Save the default compiler, since it gets overwritten when the other
                   8455: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8456: compiler_DEFAULT=$CC
                   8457: 
                   8458: # save warnings/boilerplate of simple test code
                   8459: ac_outfile=conftest.$ac_objext
                   8460: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8461: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8462: _lt_compiler_boilerplate=`cat conftest.err`
                   8463: $RM conftest*
                   8464: 
                   8465: ac_outfile=conftest.$ac_objext
                   8466: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8467: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8468: _lt_linker_boilerplate=`cat conftest.err`
                   8469: $RM -r conftest*
                   8470: 
                   8471: 
                   8472: ## CAVEAT EMPTOR:
                   8473: ## There is no encapsulation within the following macros, do not change
                   8474: ## the running order or otherwise move them around unless you know exactly
                   8475: ## what you are doing...
                   8476: if test -n "$compiler"; then
                   8477: 
                   8478: lt_prog_compiler_no_builtin_flag=
                   8479: 
                   8480: if test "$GCC" = yes; then
                   8481:   case $cc_basename in
                   8482:   nvcc*)
                   8483:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8484:   *)
                   8485:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8486:   esac
                   8487: 
                   8488:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8489: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   8490: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
                   8491:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8492: else
                   8493:   lt_cv_prog_compiler_rtti_exceptions=no
                   8494:    ac_outfile=conftest.$ac_objext
                   8495:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8496:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8497:    # Insert the option either (1) after the last *FLAGS variable, or
                   8498:    # (2) before a word containing "conftest.", or (3) at the end.
                   8499:    # Note that $ac_compile itself does not contain backslashes and begins
                   8500:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8501:    # The option is referenced via a variable to avoid confusing sed.
                   8502:    lt_compile=`echo "$ac_compile" | $SED \
                   8503:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8504:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8505:    -e 's:$: $lt_compiler_flag:'`
                   8506:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8507:    (eval "$lt_compile" 2>conftest.err)
                   8508:    ac_status=$?
                   8509:    cat conftest.err >&5
                   8510:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8511:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8512:      # The compiler can only warn and ignore the option if not recognized
                   8513:      # So say no if there are warnings other than the usual output.
                   8514:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8515:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8516:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8517:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8518:      fi
                   8519:    fi
                   8520:    $RM conftest*
                   8521: 
                   8522: fi
                   8523: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8524: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
                   8525: 
                   8526: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8527:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8528: else
                   8529:     :
                   8530: fi
                   8531: 
                   8532: fi
                   8533: 
                   8534: 
                   8535: 
                   8536: 
                   8537: 
                   8538: 
                   8539:   lt_prog_compiler_wl=
                   8540: lt_prog_compiler_pic=
                   8541: lt_prog_compiler_static=
                   8542: 
                   8543: 
                   8544:   if test "$GCC" = yes; then
                   8545:     lt_prog_compiler_wl='-Wl,'
                   8546:     lt_prog_compiler_static='-static'
                   8547: 
                   8548:     case $host_os in
                   8549:       aix*)
                   8550:       # All AIX code is PIC.
                   8551:       if test "$host_cpu" = ia64; then
                   8552:        # AIX 5 now supports IA64 processor
                   8553:        lt_prog_compiler_static='-Bstatic'
                   8554:       fi
                   8555:       ;;
                   8556: 
                   8557:     amigaos*)
                   8558:       case $host_cpu in
                   8559:       powerpc)
                   8560:             # see comment about AmigaOS4 .so support
                   8561:             lt_prog_compiler_pic='-fPIC'
                   8562:         ;;
                   8563:       m68k)
                   8564:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8565:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8566:             # like `-m68040'.
                   8567:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8568:         ;;
                   8569:       esac
                   8570:       ;;
                   8571: 
                   8572:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8573:       # PIC is the default for these OSes.
                   8574:       ;;
                   8575: 
                   8576:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8577:       # This hack is so that the source file can tell whether it is being
                   8578:       # built for inclusion in a dll (and should export symbols for example).
                   8579:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8580:       # (--disable-auto-import) libraries
                   8581:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8582:       ;;
                   8583: 
                   8584:     darwin* | rhapsody*)
                   8585:       # PIC is the default on this platform
                   8586:       # Common symbols not allowed in MH_DYLIB files
                   8587:       lt_prog_compiler_pic='-fno-common'
                   8588:       ;;
                   8589: 
                   8590:     haiku*)
                   8591:       # PIC is the default for Haiku.
                   8592:       # The "-static" flag exists, but is broken.
                   8593:       lt_prog_compiler_static=
                   8594:       ;;
                   8595: 
                   8596:     hpux*)
                   8597:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8598:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8599:       # sets the default TLS model and affects inlining.
                   8600:       case $host_cpu in
                   8601:       hppa*64*)
                   8602:        # +Z the default
                   8603:        ;;
                   8604:       *)
                   8605:        lt_prog_compiler_pic='-fPIC'
                   8606:        ;;
                   8607:       esac
                   8608:       ;;
                   8609: 
                   8610:     interix[3-9]*)
                   8611:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8612:       # Instead, we relocate shared libraries at runtime.
                   8613:       ;;
                   8614: 
                   8615:     msdosdjgpp*)
                   8616:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8617:       # on systems that don't support them.
                   8618:       lt_prog_compiler_can_build_shared=no
                   8619:       enable_shared=no
                   8620:       ;;
                   8621: 
                   8622:     *nto* | *qnx*)
                   8623:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8624:       # it will coredump.
                   8625:       lt_prog_compiler_pic='-fPIC -shared'
                   8626:       ;;
                   8627: 
                   8628:     sysv4*MP*)
                   8629:       if test -d /usr/nec; then
                   8630:        lt_prog_compiler_pic=-Kconform_pic
                   8631:       fi
                   8632:       ;;
                   8633: 
                   8634:     *)
                   8635:       lt_prog_compiler_pic='-fPIC'
                   8636:       ;;
                   8637:     esac
                   8638: 
                   8639:     case $cc_basename in
                   8640:     nvcc*) # Cuda Compiler Driver 2.2
                   8641:       lt_prog_compiler_wl='-Xlinker '
                   8642:       if test -n "$lt_prog_compiler_pic"; then
                   8643:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8644:       fi
                   8645:       ;;
                   8646:     esac
                   8647:   else
                   8648:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8649:     case $host_os in
                   8650:     aix*)
                   8651:       lt_prog_compiler_wl='-Wl,'
                   8652:       if test "$host_cpu" = ia64; then
                   8653:        # AIX 5 now supports IA64 processor
                   8654:        lt_prog_compiler_static='-Bstatic'
                   8655:       else
                   8656:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8657:       fi
                   8658:       ;;
                   8659: 
                   8660:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8661:       # This hack is so that the source file can tell whether it is being
                   8662:       # built for inclusion in a dll (and should export symbols for example).
                   8663:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8664:       ;;
                   8665: 
                   8666:     hpux9* | hpux10* | hpux11*)
                   8667:       lt_prog_compiler_wl='-Wl,'
                   8668:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8669:       # not for PA HP-UX.
                   8670:       case $host_cpu in
                   8671:       hppa*64*|ia64*)
                   8672:        # +Z the default
                   8673:        ;;
                   8674:       *)
                   8675:        lt_prog_compiler_pic='+Z'
                   8676:        ;;
                   8677:       esac
                   8678:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8679:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8680:       ;;
                   8681: 
                   8682:     irix5* | irix6* | nonstopux*)
                   8683:       lt_prog_compiler_wl='-Wl,'
                   8684:       # PIC (with -KPIC) is the default.
                   8685:       lt_prog_compiler_static='-non_shared'
                   8686:       ;;
                   8687: 
                   8688:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8689:       case $cc_basename in
                   8690:       # old Intel for x86_64 which still supported -KPIC.
                   8691:       ecc*)
                   8692:        lt_prog_compiler_wl='-Wl,'
                   8693:        lt_prog_compiler_pic='-KPIC'
                   8694:        lt_prog_compiler_static='-static'
                   8695:         ;;
                   8696:       # icc used to be incompatible with GCC.
                   8697:       # ICC 10 doesn't accept -KPIC any more.
                   8698:       icc* | ifort*)
                   8699:        lt_prog_compiler_wl='-Wl,'
                   8700:        lt_prog_compiler_pic='-fPIC'
                   8701:        lt_prog_compiler_static='-static'
                   8702:         ;;
                   8703:       # Lahey Fortran 8.1.
                   8704:       lf95*)
                   8705:        lt_prog_compiler_wl='-Wl,'
                   8706:        lt_prog_compiler_pic='--shared'
                   8707:        lt_prog_compiler_static='--static'
                   8708:        ;;
                   8709:       nagfor*)
                   8710:        # NAG Fortran compiler
                   8711:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8712:        lt_prog_compiler_pic='-PIC'
                   8713:        lt_prog_compiler_static='-Bstatic'
                   8714:        ;;
                   8715:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8716:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8717:        # which looks to be a dead project)
                   8718:        lt_prog_compiler_wl='-Wl,'
                   8719:        lt_prog_compiler_pic='-fpic'
                   8720:        lt_prog_compiler_static='-Bstatic'
                   8721:         ;;
                   8722:       ccc*)
                   8723:         lt_prog_compiler_wl='-Wl,'
                   8724:         # All Alpha code is PIC.
                   8725:         lt_prog_compiler_static='-non_shared'
                   8726:         ;;
                   8727:       xl* | bgxl* | bgf* | mpixl*)
                   8728:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8729:        lt_prog_compiler_wl='-Wl,'
                   8730:        lt_prog_compiler_pic='-qpic'
                   8731:        lt_prog_compiler_static='-qstaticlink'
                   8732:        ;;
                   8733:       *)
                   8734:        case `$CC -V 2>&1 | sed 5q` in
                   8735:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8736:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8737:          lt_prog_compiler_pic='-KPIC'
                   8738:          lt_prog_compiler_static='-Bstatic'
                   8739:          lt_prog_compiler_wl=''
                   8740:          ;;
                   8741:        *Sun\ F* | *Sun*Fortran*)
                   8742:          lt_prog_compiler_pic='-KPIC'
                   8743:          lt_prog_compiler_static='-Bstatic'
                   8744:          lt_prog_compiler_wl='-Qoption ld '
                   8745:          ;;
                   8746:        *Sun\ C*)
                   8747:          # Sun C 5.9
                   8748:          lt_prog_compiler_pic='-KPIC'
                   8749:          lt_prog_compiler_static='-Bstatic'
                   8750:          lt_prog_compiler_wl='-Wl,'
                   8751:          ;;
                   8752:         *Intel*\ [CF]*Compiler*)
                   8753:          lt_prog_compiler_wl='-Wl,'
                   8754:          lt_prog_compiler_pic='-fPIC'
                   8755:          lt_prog_compiler_static='-static'
                   8756:          ;;
                   8757:        *Portland\ Group*)
                   8758:          lt_prog_compiler_wl='-Wl,'
                   8759:          lt_prog_compiler_pic='-fpic'
                   8760:          lt_prog_compiler_static='-Bstatic'
                   8761:          ;;
                   8762:        esac
                   8763:        ;;
                   8764:       esac
                   8765:       ;;
                   8766: 
                   8767:     newsos6)
                   8768:       lt_prog_compiler_pic='-KPIC'
                   8769:       lt_prog_compiler_static='-Bstatic'
                   8770:       ;;
                   8771: 
                   8772:     *nto* | *qnx*)
                   8773:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8774:       # it will coredump.
                   8775:       lt_prog_compiler_pic='-fPIC -shared'
                   8776:       ;;
                   8777: 
                   8778:     osf3* | osf4* | osf5*)
                   8779:       lt_prog_compiler_wl='-Wl,'
                   8780:       # All OSF/1 code is PIC.
                   8781:       lt_prog_compiler_static='-non_shared'
                   8782:       ;;
                   8783: 
                   8784:     rdos*)
                   8785:       lt_prog_compiler_static='-non_shared'
                   8786:       ;;
                   8787: 
                   8788:     solaris*)
                   8789:       lt_prog_compiler_pic='-KPIC'
                   8790:       lt_prog_compiler_static='-Bstatic'
                   8791:       case $cc_basename in
                   8792:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8793:        lt_prog_compiler_wl='-Qoption ld ';;
                   8794:       *)
                   8795:        lt_prog_compiler_wl='-Wl,';;
                   8796:       esac
                   8797:       ;;
                   8798: 
                   8799:     sunos4*)
                   8800:       lt_prog_compiler_wl='-Qoption ld '
                   8801:       lt_prog_compiler_pic='-PIC'
                   8802:       lt_prog_compiler_static='-Bstatic'
                   8803:       ;;
                   8804: 
                   8805:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8806:       lt_prog_compiler_wl='-Wl,'
                   8807:       lt_prog_compiler_pic='-KPIC'
                   8808:       lt_prog_compiler_static='-Bstatic'
                   8809:       ;;
                   8810: 
                   8811:     sysv4*MP*)
                   8812:       if test -d /usr/nec ;then
                   8813:        lt_prog_compiler_pic='-Kconform_pic'
                   8814:        lt_prog_compiler_static='-Bstatic'
                   8815:       fi
                   8816:       ;;
                   8817: 
                   8818:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8819:       lt_prog_compiler_wl='-Wl,'
                   8820:       lt_prog_compiler_pic='-KPIC'
                   8821:       lt_prog_compiler_static='-Bstatic'
                   8822:       ;;
                   8823: 
                   8824:     unicos*)
                   8825:       lt_prog_compiler_wl='-Wl,'
                   8826:       lt_prog_compiler_can_build_shared=no
                   8827:       ;;
                   8828: 
                   8829:     uts4*)
                   8830:       lt_prog_compiler_pic='-pic'
                   8831:       lt_prog_compiler_static='-Bstatic'
                   8832:       ;;
                   8833: 
                   8834:     *)
                   8835:       lt_prog_compiler_can_build_shared=no
                   8836:       ;;
                   8837:     esac
                   8838:   fi
                   8839: 
                   8840: case $host_os in
                   8841:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8842:   *djgpp*)
                   8843:     lt_prog_compiler_pic=
                   8844:     ;;
                   8845:   *)
                   8846:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8847:     ;;
                   8848: esac
                   8849: 
                   8850: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8851: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8852: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8853:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8854: else
                   8855:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8856: fi
                   8857: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8858: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8859: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8860: 
                   8861: #
                   8862: # Check to make sure the PIC flag actually works.
                   8863: #
                   8864: if test -n "$lt_prog_compiler_pic"; then
                   8865:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8866: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8867: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
                   8868:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8869: else
                   8870:   lt_cv_prog_compiler_pic_works=no
                   8871:    ac_outfile=conftest.$ac_objext
                   8872:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8873:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8874:    # Insert the option either (1) after the last *FLAGS variable, or
                   8875:    # (2) before a word containing "conftest.", or (3) at the end.
                   8876:    # Note that $ac_compile itself does not contain backslashes and begins
                   8877:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8878:    # The option is referenced via a variable to avoid confusing sed.
                   8879:    lt_compile=`echo "$ac_compile" | $SED \
                   8880:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8881:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8882:    -e 's:$: $lt_compiler_flag:'`
                   8883:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8884:    (eval "$lt_compile" 2>conftest.err)
                   8885:    ac_status=$?
                   8886:    cat conftest.err >&5
                   8887:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8888:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8889:      # The compiler can only warn and ignore the option if not recognized
                   8890:      # So say no if there are warnings other than the usual output.
                   8891:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8892:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8893:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8894:        lt_cv_prog_compiler_pic_works=yes
                   8895:      fi
                   8896:    fi
                   8897:    $RM conftest*
                   8898: 
                   8899: fi
                   8900: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8901: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
                   8902: 
                   8903: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8904:     case $lt_prog_compiler_pic in
                   8905:      "" | " "*) ;;
                   8906:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8907:      esac
                   8908: else
                   8909:     lt_prog_compiler_pic=
                   8910:      lt_prog_compiler_can_build_shared=no
                   8911: fi
                   8912: 
                   8913: fi
                   8914: 
                   8915: 
                   8916: 
                   8917: 
                   8918: 
                   8919: 
                   8920: 
                   8921: 
                   8922: 
                   8923: 
                   8924: 
                   8925: #
                   8926: # Check to make sure the static flag actually works.
                   8927: #
                   8928: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8929: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8930: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8931: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8932:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8933: else
                   8934:   lt_cv_prog_compiler_static_works=no
                   8935:    save_LDFLAGS="$LDFLAGS"
                   8936:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8937:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8938:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8939:      # The linker can only warn and ignore the option if not recognized
                   8940:      # So say no if there are warnings
                   8941:      if test -s conftest.err; then
                   8942:        # Append any errors to the config.log.
                   8943:        cat conftest.err 1>&5
                   8944:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8945:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8946:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8947:          lt_cv_prog_compiler_static_works=yes
                   8948:        fi
                   8949:      else
                   8950:        lt_cv_prog_compiler_static_works=yes
                   8951:      fi
                   8952:    fi
                   8953:    $RM -r conftest*
                   8954:    LDFLAGS="$save_LDFLAGS"
                   8955: 
                   8956: fi
                   8957: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8958: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8959: 
                   8960: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8961:     :
                   8962: else
                   8963:     lt_prog_compiler_static=
                   8964: fi
                   8965: 
                   8966: 
                   8967: 
                   8968: 
                   8969: 
                   8970: 
                   8971: 
                   8972:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8973: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8974: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8975:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8976: else
                   8977:   lt_cv_prog_compiler_c_o=no
                   8978:    $RM -r conftest 2>/dev/null
                   8979:    mkdir conftest
                   8980:    cd conftest
                   8981:    mkdir out
                   8982:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8983: 
                   8984:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8985:    # Insert the option either (1) after the last *FLAGS variable, or
                   8986:    # (2) before a word containing "conftest.", or (3) at the end.
                   8987:    # Note that $ac_compile itself does not contain backslashes and begins
                   8988:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8989:    lt_compile=`echo "$ac_compile" | $SED \
                   8990:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8991:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8992:    -e 's:$: $lt_compiler_flag:'`
                   8993:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8994:    (eval "$lt_compile" 2>out/conftest.err)
                   8995:    ac_status=$?
                   8996:    cat out/conftest.err >&5
                   8997:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8998:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8999:    then
                   9000:      # The compiler can only warn and ignore the option if not recognized
                   9001:      # So say no if there are warnings
                   9002:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9003:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9004:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9005:        lt_cv_prog_compiler_c_o=yes
                   9006:      fi
                   9007:    fi
                   9008:    chmod u+w . 2>&5
                   9009:    $RM conftest*
                   9010:    # SGI C++ compiler will create directory out/ii_files/ for
                   9011:    # template instantiation
                   9012:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9013:    $RM out/* && rmdir out
                   9014:    cd ..
                   9015:    $RM -r conftest
                   9016:    $RM conftest*
                   9017: 
                   9018: fi
                   9019: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9020: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9021: 
                   9022: 
                   9023: 
                   9024: 
                   9025: 
                   9026: 
                   9027:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9028: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   9029: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   9030:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9031: else
                   9032:   lt_cv_prog_compiler_c_o=no
                   9033:    $RM -r conftest 2>/dev/null
                   9034:    mkdir conftest
                   9035:    cd conftest
                   9036:    mkdir out
                   9037:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9038: 
                   9039:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9040:    # Insert the option either (1) after the last *FLAGS variable, or
                   9041:    # (2) before a word containing "conftest.", or (3) at the end.
                   9042:    # Note that $ac_compile itself does not contain backslashes and begins
                   9043:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9044:    lt_compile=`echo "$ac_compile" | $SED \
                   9045:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9046:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9047:    -e 's:$: $lt_compiler_flag:'`
                   9048:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9049:    (eval "$lt_compile" 2>out/conftest.err)
                   9050:    ac_status=$?
                   9051:    cat out/conftest.err >&5
                   9052:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9053:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9054:    then
                   9055:      # The compiler can only warn and ignore the option if not recognized
                   9056:      # So say no if there are warnings
                   9057:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9058:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9059:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9060:        lt_cv_prog_compiler_c_o=yes
                   9061:      fi
                   9062:    fi
                   9063:    chmod u+w . 2>&5
                   9064:    $RM conftest*
                   9065:    # SGI C++ compiler will create directory out/ii_files/ for
                   9066:    # template instantiation
                   9067:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9068:    $RM out/* && rmdir out
                   9069:    cd ..
                   9070:    $RM -r conftest
                   9071:    $RM conftest*
                   9072: 
                   9073: fi
                   9074: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   9075: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: hard_links="nottested"
                   9081: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9082:   # do not overwrite the value of need_locks provided by the user
                   9083:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   9084: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   9085:   hard_links=yes
                   9086:   $RM conftest*
                   9087:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9088:   touch conftest.a
                   9089:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9090:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9091:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   9092: echo "${ECHO_T}$hard_links" >&6
                   9093:   if test "$hard_links" = no; then
                   9094:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9095: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9096:     need_locks=warn
                   9097:   fi
                   9098: else
                   9099:   need_locks=no
                   9100: fi
                   9101: 
                   9102: 
                   9103: 
                   9104: 
                   9105: 
                   9106: 
                   9107:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9108: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   9109: 
                   9110:   runpath_var=
                   9111:   allow_undefined_flag=
                   9112:   always_export_symbols=no
                   9113:   archive_cmds=
                   9114:   archive_expsym_cmds=
                   9115:   compiler_needs_object=no
                   9116:   enable_shared_with_static_runtimes=no
                   9117:   export_dynamic_flag_spec=
                   9118:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9119:   hardcode_automatic=no
                   9120:   hardcode_direct=no
                   9121:   hardcode_direct_absolute=no
                   9122:   hardcode_libdir_flag_spec=
                   9123:   hardcode_libdir_separator=
                   9124:   hardcode_minus_L=no
                   9125:   hardcode_shlibpath_var=unsupported
                   9126:   inherit_rpath=no
                   9127:   link_all_deplibs=unknown
                   9128:   module_cmds=
                   9129:   module_expsym_cmds=
                   9130:   old_archive_from_new_cmds=
                   9131:   old_archive_from_expsyms_cmds=
                   9132:   thread_safe_flag_spec=
                   9133:   whole_archive_flag_spec=
                   9134:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9135:   # included in the symbol list
                   9136:   include_expsyms=
                   9137:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9138:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9139:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9140:   # as well as any symbol that contains `d'.
                   9141:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9142:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9143:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9144:   # the symbol is explicitly referenced.  Since portable code cannot
                   9145:   # rely on this symbol name, it's probably fine to never include it in
                   9146:   # preloaded symbol tables.
                   9147:   # Exclude shared library initialization/finalization symbols.
                   9148:   extract_expsyms_cmds=
                   9149: 
                   9150:   case $host_os in
                   9151:   cygwin* | mingw* | pw32* | cegcc*)
                   9152:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9153:     # When not using gcc, we currently assume that we are using
                   9154:     # Microsoft Visual C++.
                   9155:     if test "$GCC" != yes; then
                   9156:       with_gnu_ld=no
                   9157:     fi
                   9158:     ;;
                   9159:   interix*)
                   9160:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9161:     with_gnu_ld=yes
                   9162:     ;;
                   9163:   openbsd*)
                   9164:     with_gnu_ld=no
                   9165:     ;;
                   9166:   esac
                   9167: 
                   9168:   ld_shlibs=yes
                   9169: 
                   9170:   # On some targets, GNU ld is compatible enough with the native linker
                   9171:   # that we're better off using the native interface for both.
                   9172:   lt_use_gnu_ld_interface=no
                   9173:   if test "$with_gnu_ld" = yes; then
                   9174:     case $host_os in
                   9175:       aix*)
                   9176:        # The AIX port of GNU ld has always aspired to compatibility
                   9177:        # with the native linker.  However, as the warning in the GNU ld
                   9178:        # block says, versions before 2.19.5* couldn't really create working
                   9179:        # shared libraries, regardless of the interface used.
                   9180:        case `$LD -v 2>&1` in
                   9181:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9182:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9183:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9184:          *)
                   9185:            lt_use_gnu_ld_interface=yes
                   9186:            ;;
                   9187:        esac
                   9188:        ;;
                   9189:       *)
                   9190:        lt_use_gnu_ld_interface=yes
                   9191:        ;;
                   9192:     esac
                   9193:   fi
                   9194: 
                   9195:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9196:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9197:     wlarc='${wl}'
                   9198: 
                   9199:     # Set some defaults for GNU ld with shared library support. These
                   9200:     # are reset later if shared libraries are not supported. Putting them
                   9201:     # here allows them to be overridden if necessary.
                   9202:     runpath_var=LD_RUN_PATH
                   9203:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9204:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9205:     # ancient GNU ld didn't support --whole-archive et. al.
                   9206:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9207:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9208:     else
                   9209:       whole_archive_flag_spec=
                   9210:     fi
                   9211:     supports_anon_versioning=no
                   9212:     case `$LD -v 2>&1` in
                   9213:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9214:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9215:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9216:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9217:       *\ 2.11.*) ;; # other 2.11 versions
                   9218:       *) supports_anon_versioning=yes ;;
                   9219:     esac
                   9220: 
                   9221:     # See if GNU ld supports shared libraries.
                   9222:     case $host_os in
                   9223:     aix[3-9]*)
                   9224:       # On AIX/PPC, the GNU linker is very broken
                   9225:       if test "$host_cpu" != ia64; then
                   9226:        ld_shlibs=no
                   9227:        cat <<_LT_EOF 1>&2
                   9228: 
                   9229: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9230: *** to be unable to reliably create shared libraries on AIX.
                   9231: *** Therefore, libtool is disabling shared libraries support.  If you
                   9232: *** really care for shared libraries, you may want to install binutils
                   9233: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9234: *** You will then need to restart the configuration process.
                   9235: 
                   9236: _LT_EOF
                   9237:       fi
                   9238:       ;;
                   9239: 
                   9240:     amigaos*)
                   9241:       case $host_cpu in
                   9242:       powerpc)
                   9243:             # see comment about AmigaOS4 .so support
                   9244:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9245:             archive_expsym_cmds=''
                   9246:         ;;
                   9247:       m68k)
                   9248:             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)'
                   9249:             hardcode_libdir_flag_spec='-L$libdir'
                   9250:             hardcode_minus_L=yes
                   9251:         ;;
                   9252:       esac
                   9253:       ;;
                   9254: 
                   9255:     beos*)
                   9256:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9257:        allow_undefined_flag=unsupported
                   9258:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9259:        # support --undefined.  This deserves some investigation.  FIXME
                   9260:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9261:       else
                   9262:        ld_shlibs=no
                   9263:       fi
                   9264:       ;;
                   9265: 
                   9266:     cygwin* | mingw* | pw32* | cegcc*)
                   9267:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9268:       # as there is no search path for DLLs.
                   9269:       hardcode_libdir_flag_spec='-L$libdir'
                   9270:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9271:       allow_undefined_flag=unsupported
                   9272:       always_export_symbols=no
                   9273:       enable_shared_with_static_runtimes=yes
                   9274:       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'
                   9275:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9276: 
                   9277:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9278:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9279:        # If the export-symbols file already is a .def file (1st line
                   9280:        # is EXPORTS), use it as is; otherwise, prepend...
                   9281:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9282:          cp $export_symbols $output_objdir/$soname.def;
                   9283:        else
                   9284:          echo EXPORTS > $output_objdir/$soname.def;
                   9285:          cat $export_symbols >> $output_objdir/$soname.def;
                   9286:        fi~
                   9287:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9288:       else
                   9289:        ld_shlibs=no
                   9290:       fi
                   9291:       ;;
                   9292: 
                   9293:     haiku*)
                   9294:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9295:       link_all_deplibs=yes
                   9296:       ;;
                   9297: 
                   9298:     interix[3-9]*)
                   9299:       hardcode_direct=no
                   9300:       hardcode_shlibpath_var=no
                   9301:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9302:       export_dynamic_flag_spec='${wl}-E'
                   9303:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9304:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9305:       # default) and relocated if they conflict, which is a slow very memory
                   9306:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9307:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9308:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9309:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9310:       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'
                   9311:       ;;
                   9312: 
                   9313:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9314:       tmp_diet=no
                   9315:       if test "$host_os" = linux-dietlibc; then
                   9316:        case $cc_basename in
                   9317:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9318:        esac
                   9319:       fi
                   9320:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9321:         && test "$tmp_diet" = no
                   9322:       then
                   9323:        tmp_addflag=' $pic_flag'
                   9324:        tmp_sharedflag='-shared'
                   9325:        case $cc_basename,$host_cpu in
                   9326:         pgcc*)                         # Portland Group C compiler
                   9327:          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'
                   9328:          tmp_addflag=' $pic_flag'
                   9329:          ;;
                   9330:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9331:                                        # Portland Group f77 and f90 compilers
                   9332:          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'
                   9333:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9334:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9335:          tmp_addflag=' -i_dynamic' ;;
                   9336:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9337:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9338:        ifc* | ifort*)                  # Intel Fortran compiler
                   9339:          tmp_addflag=' -nofor_main' ;;
                   9340:        lf95*)                          # Lahey Fortran 8.1
                   9341:          whole_archive_flag_spec=
                   9342:          tmp_sharedflag='--shared' ;;
                   9343:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9344:          tmp_sharedflag='-qmkshrobj'
                   9345:          tmp_addflag= ;;
                   9346:        nvcc*)  # Cuda Compiler Driver 2.2
                   9347:          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'
                   9348:          compiler_needs_object=yes
                   9349:          ;;
                   9350:        esac
                   9351:        case `$CC -V 2>&1 | sed 5q` in
                   9352:        *Sun\ C*)                       # Sun C 5.9
                   9353:          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'
                   9354:          compiler_needs_object=yes
                   9355:          tmp_sharedflag='-G' ;;
                   9356:        *Sun\ F*)                       # Sun Fortran 8.3
                   9357:          tmp_sharedflag='-G' ;;
                   9358:        esac
                   9359:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9360: 
                   9361:         if test "x$supports_anon_versioning" = xyes; then
                   9362:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9363:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9364:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9365:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9366:         fi
                   9367: 
                   9368:        case $cc_basename in
                   9369:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9370:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9371:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   9372:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9373:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9374:          if test "x$supports_anon_versioning" = xyes; then
                   9375:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9376:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9377:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9378:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9379:          fi
                   9380:          ;;
                   9381:        esac
                   9382:       else
                   9383:         ld_shlibs=no
                   9384:       fi
                   9385:       ;;
                   9386: 
                   9387:     netbsd*)
                   9388:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9389:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9390:        wlarc=
                   9391:       else
                   9392:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9393:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9394:       fi
                   9395:       ;;
                   9396: 
                   9397:     solaris*)
                   9398:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9399:        ld_shlibs=no
                   9400:        cat <<_LT_EOF 1>&2
                   9401: 
                   9402: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9403: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9404: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9405: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9406: *** your PATH or compiler configuration so that the native linker is
                   9407: *** used, and then restart.
                   9408: 
                   9409: _LT_EOF
                   9410:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9411:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9412:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9413:       else
                   9414:        ld_shlibs=no
                   9415:       fi
                   9416:       ;;
                   9417: 
                   9418:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9419:       case `$LD -v 2>&1` in
                   9420:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9421:        ld_shlibs=no
                   9422:        cat <<_LT_EOF 1>&2
                   9423: 
                   9424: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9425: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9426: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9427: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9428: *** your PATH or compiler configuration so that the native linker is
                   9429: *** used, and then restart.
                   9430: 
                   9431: _LT_EOF
                   9432:        ;;
                   9433:        *)
                   9434:          # For security reasons, it is highly recommended that you always
                   9435:          # use absolute paths for naming shared libraries, and exclude the
                   9436:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9437:          # requires that you compile everything twice, which is a pain.
                   9438:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9439:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9440:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9441:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9442:          else
                   9443:            ld_shlibs=no
                   9444:          fi
                   9445:        ;;
                   9446:       esac
                   9447:       ;;
                   9448: 
                   9449:     sunos4*)
                   9450:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9451:       wlarc=
                   9452:       hardcode_direct=yes
                   9453:       hardcode_shlibpath_var=no
                   9454:       ;;
                   9455: 
                   9456:     *)
                   9457:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9458:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9459:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9460:       else
                   9461:        ld_shlibs=no
                   9462:       fi
                   9463:       ;;
                   9464:     esac
                   9465: 
                   9466:     if test "$ld_shlibs" = no; then
                   9467:       runpath_var=
                   9468:       hardcode_libdir_flag_spec=
                   9469:       export_dynamic_flag_spec=
                   9470:       whole_archive_flag_spec=
                   9471:     fi
                   9472:   else
                   9473:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9474:     case $host_os in
                   9475:     aix3*)
                   9476:       allow_undefined_flag=unsupported
                   9477:       always_export_symbols=yes
                   9478:       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'
                   9479:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9480:       # are no directories specified by -L.
                   9481:       hardcode_minus_L=yes
                   9482:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9483:        # Neither direct hardcoding nor static linking is supported with a
                   9484:        # broken collect2.
                   9485:        hardcode_direct=unsupported
                   9486:       fi
                   9487:       ;;
                   9488: 
                   9489:     aix[4-9]*)
                   9490:       if test "$host_cpu" = ia64; then
                   9491:        # On IA64, the linker does run time linking by default, so we don't
                   9492:        # have to do anything special.
                   9493:        aix_use_runtimelinking=no
                   9494:        exp_sym_flag='-Bexport'
                   9495:        no_entry_flag=""
                   9496:       else
                   9497:        # If we're using GNU nm, then we don't want the "-C" option.
                   9498:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9499:        # Also, AIX nm treats weak defined symbols like other global
                   9500:        # defined symbols, whereas GNU nm marks them as "W".
                   9501:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9502:          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'
                   9503:        else
                   9504:          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'
                   9505:        fi
                   9506:        aix_use_runtimelinking=no
                   9507: 
                   9508:        # Test if we are trying to use run time linking or normal
                   9509:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9510:        # need to do runtime linking.
                   9511:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9512:          for ld_flag in $LDFLAGS; do
                   9513:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9514:            aix_use_runtimelinking=yes
                   9515:            break
                   9516:          fi
                   9517:          done
                   9518:          ;;
                   9519:        esac
                   9520: 
                   9521:        exp_sym_flag='-bexport'
                   9522:        no_entry_flag='-bnoentry'
                   9523:       fi
                   9524: 
                   9525:       # When large executables or shared objects are built, AIX ld can
                   9526:       # have problems creating the table of contents.  If linking a library
                   9527:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9528:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9529:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9530: 
                   9531:       archive_cmds=''
                   9532:       hardcode_direct=yes
                   9533:       hardcode_direct_absolute=yes
                   9534:       hardcode_libdir_separator=':'
                   9535:       link_all_deplibs=yes
                   9536:       file_list_spec='${wl}-f,'
                   9537: 
                   9538:       if test "$GCC" = yes; then
                   9539:        case $host_os in aix4.[012]|aix4.[012].*)
                   9540:        # We only want to do this on AIX 4.2 and lower, the check
                   9541:        # below for broken collect2 doesn't work under 4.3+
                   9542:          collect2name=`${CC} -print-prog-name=collect2`
                   9543:          if test -f "$collect2name" &&
                   9544:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9545:          then
                   9546:          # We have reworked collect2
                   9547:          :
                   9548:          else
                   9549:          # We have old collect2
                   9550:          hardcode_direct=unsupported
                   9551:          # It fails to find uninstalled libraries when the uninstalled
                   9552:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9553:          # to unsupported forces relinking
                   9554:          hardcode_minus_L=yes
                   9555:          hardcode_libdir_flag_spec='-L$libdir'
                   9556:          hardcode_libdir_separator=
                   9557:          fi
                   9558:          ;;
                   9559:        esac
                   9560:        shared_flag='-shared'
                   9561:        if test "$aix_use_runtimelinking" = yes; then
                   9562:          shared_flag="$shared_flag "'${wl}-G'
                   9563:        fi
                   9564:       else
                   9565:        # not using gcc
                   9566:        if test "$host_cpu" = ia64; then
                   9567:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9568:        # chokes on -Wl,-G. The following line is correct:
                   9569:          shared_flag='-G'
                   9570:        else
                   9571:          if test "$aix_use_runtimelinking" = yes; then
                   9572:            shared_flag='${wl}-G'
                   9573:          else
                   9574:            shared_flag='${wl}-bM:SRE'
                   9575:          fi
                   9576:        fi
                   9577:       fi
                   9578: 
                   9579:       export_dynamic_flag_spec='${wl}-bexpall'
                   9580:       # It seems that -bexpall does not export symbols beginning with
                   9581:       # underscore (_), so it is better to generate a list of symbols to export.
                   9582:       always_export_symbols=yes
                   9583:       if test "$aix_use_runtimelinking" = yes; then
                   9584:        # Warning - without using the other runtime loading flags (-brtl),
                   9585:        # -berok will link without error, but may produce a broken library.
                   9586:        allow_undefined_flag='-berok'
                   9587:         # Determine the default libpath from the value encoded in an
                   9588:         # empty executable.
                   9589:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9590:   aix_libpath=$lt_cv_aix_libpath
                   9591: else
                   9592:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9593:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9594: else
                   9595:   cat >conftest.$ac_ext <<_ACEOF
                   9596: /* confdefs.h.  */
                   9597: _ACEOF
                   9598: cat confdefs.h >>conftest.$ac_ext
                   9599: cat >>conftest.$ac_ext <<_ACEOF
                   9600: /* end confdefs.h.  */
                   9601: 
                   9602: int
                   9603: main ()
                   9604: {
                   9605: 
                   9606:   ;
                   9607:   return 0;
                   9608: }
                   9609: _ACEOF
                   9610: rm -f conftest.$ac_objext conftest$ac_exeext
                   9611: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9612:   (eval $ac_link) 2>conftest.er1
                   9613:   ac_status=$?
                   9614:   grep -v '^ *+' conftest.er1 >conftest.err
                   9615:   rm -f conftest.er1
                   9616:   cat conftest.err >&5
                   9617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9618:   (exit $ac_status); } &&
                   9619:         { ac_try='test -z "$ac_c_werror_flag"
                   9620:                         || test ! -s conftest.err'
                   9621:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9622:   (eval $ac_try) 2>&5
                   9623:   ac_status=$?
                   9624:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9625:   (exit $ac_status); }; } &&
                   9626:         { ac_try='test -s conftest$ac_exeext'
                   9627:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9628:   (eval $ac_try) 2>&5
                   9629:   ac_status=$?
                   9630:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9631:   (exit $ac_status); }; }; then
                   9632: 
                   9633:   lt_aix_libpath_sed='
                   9634:       /Import File Strings/,/^$/ {
                   9635:          /^0/ {
                   9636:              s/^0  *\([^ ]*\) *$/\1/
                   9637:              p
                   9638:          }
                   9639:       }'
                   9640:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9641:   # Check for a 64-bit object if we didn't find anything.
                   9642:   if test -z "$lt_cv_aix_libpath_"; then
                   9643:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9644:   fi
                   9645: else
                   9646:   echo "$as_me: failed program was:" >&5
                   9647: sed 's/^/| /' conftest.$ac_ext >&5
                   9648: 
                   9649: fi
                   9650: rm -f conftest.err conftest.$ac_objext \
                   9651:       conftest$ac_exeext conftest.$ac_ext
                   9652:   if test -z "$lt_cv_aix_libpath_"; then
                   9653:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9654:   fi
                   9655: 
                   9656: fi
                   9657: 
                   9658:   aix_libpath=$lt_cv_aix_libpath_
                   9659: fi
                   9660: 
                   9661:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9662:         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"
                   9663:       else
                   9664:        if test "$host_cpu" = ia64; then
                   9665:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9666:          allow_undefined_flag="-z nodefs"
                   9667:          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"
                   9668:        else
                   9669:         # Determine the default libpath from the value encoded in an
                   9670:         # empty executable.
                   9671:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9672:   aix_libpath=$lt_cv_aix_libpath
                   9673: else
                   9674:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   9675:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9676: else
                   9677:   cat >conftest.$ac_ext <<_ACEOF
                   9678: /* confdefs.h.  */
                   9679: _ACEOF
                   9680: cat confdefs.h >>conftest.$ac_ext
                   9681: cat >>conftest.$ac_ext <<_ACEOF
                   9682: /* end confdefs.h.  */
                   9683: 
                   9684: int
                   9685: main ()
                   9686: {
                   9687: 
                   9688:   ;
                   9689:   return 0;
                   9690: }
                   9691: _ACEOF
                   9692: rm -f conftest.$ac_objext conftest$ac_exeext
                   9693: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9694:   (eval $ac_link) 2>conftest.er1
                   9695:   ac_status=$?
                   9696:   grep -v '^ *+' conftest.er1 >conftest.err
                   9697:   rm -f conftest.er1
                   9698:   cat conftest.err >&5
                   9699:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9700:   (exit $ac_status); } &&
                   9701:         { ac_try='test -z "$ac_c_werror_flag"
                   9702:                         || test ! -s conftest.err'
                   9703:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9704:   (eval $ac_try) 2>&5
                   9705:   ac_status=$?
                   9706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9707:   (exit $ac_status); }; } &&
                   9708:         { ac_try='test -s conftest$ac_exeext'
                   9709:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9710:   (eval $ac_try) 2>&5
                   9711:   ac_status=$?
                   9712:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9713:   (exit $ac_status); }; }; then
                   9714: 
                   9715:   lt_aix_libpath_sed='
                   9716:       /Import File Strings/,/^$/ {
                   9717:          /^0/ {
                   9718:              s/^0  *\([^ ]*\) *$/\1/
                   9719:              p
                   9720:          }
                   9721:       }'
                   9722:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9723:   # Check for a 64-bit object if we didn't find anything.
                   9724:   if test -z "$lt_cv_aix_libpath_"; then
                   9725:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9726:   fi
                   9727: else
                   9728:   echo "$as_me: failed program was:" >&5
                   9729: sed 's/^/| /' conftest.$ac_ext >&5
                   9730: 
                   9731: fi
                   9732: rm -f conftest.err conftest.$ac_objext \
                   9733:       conftest$ac_exeext conftest.$ac_ext
                   9734:   if test -z "$lt_cv_aix_libpath_"; then
                   9735:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9736:   fi
                   9737: 
                   9738: fi
                   9739: 
                   9740:   aix_libpath=$lt_cv_aix_libpath_
                   9741: fi
                   9742: 
                   9743:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9744:          # Warning - without using the other run time loading flags,
                   9745:          # -berok will link without error, but may produce a broken library.
                   9746:          no_undefined_flag=' ${wl}-bernotok'
                   9747:          allow_undefined_flag=' ${wl}-berok'
                   9748:          if test "$with_gnu_ld" = yes; then
                   9749:            # We only use this code for GNU lds that support --whole-archive.
                   9750:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9751:          else
                   9752:            # Exported symbols can be pulled into shared objects from archives
                   9753:            whole_archive_flag_spec='$convenience'
                   9754:          fi
                   9755:          archive_cmds_need_lc=yes
                   9756:          # This is similar to how AIX traditionally builds its shared libraries.
                   9757:          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'
                   9758:        fi
                   9759:       fi
                   9760:       ;;
                   9761: 
                   9762:     amigaos*)
                   9763:       case $host_cpu in
                   9764:       powerpc)
                   9765:             # see comment about AmigaOS4 .so support
                   9766:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9767:             archive_expsym_cmds=''
                   9768:         ;;
                   9769:       m68k)
                   9770:             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)'
                   9771:             hardcode_libdir_flag_spec='-L$libdir'
                   9772:             hardcode_minus_L=yes
                   9773:         ;;
                   9774:       esac
                   9775:       ;;
                   9776: 
                   9777:     bsdi[45]*)
                   9778:       export_dynamic_flag_spec=-rdynamic
                   9779:       ;;
                   9780: 
                   9781:     cygwin* | mingw* | pw32* | cegcc*)
                   9782:       # When not using gcc, we currently assume that we are using
                   9783:       # Microsoft Visual C++.
                   9784:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9785:       # no search path for DLLs.
                   9786:       case $cc_basename in
                   9787:       cl*)
                   9788:        # Native MSVC
                   9789:        hardcode_libdir_flag_spec=' '
                   9790:        allow_undefined_flag=unsupported
                   9791:        always_export_symbols=yes
                   9792:        file_list_spec='@'
                   9793:        # Tell ltmain to make .lib files, not .a files.
                   9794:        libext=lib
                   9795:        # Tell ltmain to make .dll files, not .so files.
                   9796:        shrext_cmds=".dll"
                   9797:        # FIXME: Setting linknames here is a bad hack.
                   9798:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9799:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9800:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9801:          else
                   9802:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9803:          fi~
                   9804:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9805:          linknames='
                   9806:        # The linker will not automatically build a static lib if we build a DLL.
                   9807:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9808:        enable_shared_with_static_runtimes=yes
                   9809:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9810:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9811:        # Don't use ranlib
                   9812:        old_postinstall_cmds='chmod 644 $oldlib'
                   9813:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9814:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9815:          case $lt_outputfile in
                   9816:            *.exe|*.EXE) ;;
                   9817:            *)
                   9818:              lt_outputfile="$lt_outputfile.exe"
                   9819:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9820:              ;;
                   9821:          esac~
                   9822:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9823:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9824:            $RM "$lt_outputfile.manifest";
                   9825:          fi'
                   9826:        ;;
                   9827:       *)
                   9828:        # Assume MSVC wrapper
                   9829:        hardcode_libdir_flag_spec=' '
                   9830:        allow_undefined_flag=unsupported
                   9831:        # Tell ltmain to make .lib files, not .a files.
                   9832:        libext=lib
                   9833:        # Tell ltmain to make .dll files, not .so files.
                   9834:        shrext_cmds=".dll"
                   9835:        # FIXME: Setting linknames here is a bad hack.
                   9836:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9837:        # The linker will automatically build a .lib file if we build a DLL.
                   9838:        old_archive_from_new_cmds='true'
                   9839:        # FIXME: Should let the user specify the lib program.
                   9840:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9841:        enable_shared_with_static_runtimes=yes
                   9842:        ;;
                   9843:       esac
                   9844:       ;;
                   9845: 
                   9846:     darwin* | rhapsody*)
                   9847: 
                   9848: 
                   9849:   archive_cmds_need_lc=no
                   9850:   hardcode_direct=no
                   9851:   hardcode_automatic=yes
                   9852:   hardcode_shlibpath_var=unsupported
                   9853:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9854:     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\"`'
                   9855: 
                   9856:   else
                   9857:     whole_archive_flag_spec=''
                   9858:   fi
                   9859:   link_all_deplibs=yes
                   9860:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9861:   case $cc_basename in
                   9862:      ifort*) _lt_dar_can_shared=yes ;;
                   9863:      *) _lt_dar_can_shared=$GCC ;;
                   9864:   esac
                   9865:   if test "$_lt_dar_can_shared" = "yes"; then
                   9866:     output_verbose_link_cmd=func_echo_all
                   9867:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9868:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9869:     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}"
                   9870:     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}"
                   9871: 
                   9872:   else
                   9873:   ld_shlibs=no
                   9874:   fi
                   9875: 
                   9876:       ;;
                   9877: 
                   9878:     dgux*)
                   9879:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9880:       hardcode_libdir_flag_spec='-L$libdir'
                   9881:       hardcode_shlibpath_var=no
                   9882:       ;;
                   9883: 
                   9884:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9885:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9886:     # does not break anything, and helps significantly (at the cost of a little
                   9887:     # extra space).
                   9888:     freebsd2.2*)
                   9889:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9890:       hardcode_libdir_flag_spec='-R$libdir'
                   9891:       hardcode_direct=yes
                   9892:       hardcode_shlibpath_var=no
                   9893:       ;;
                   9894: 
                   9895:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9896:     freebsd2.*)
                   9897:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9898:       hardcode_direct=yes
                   9899:       hardcode_minus_L=yes
                   9900:       hardcode_shlibpath_var=no
                   9901:       ;;
                   9902: 
                   9903:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9904:     freebsd* | dragonfly*)
                   9905:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9906:       hardcode_libdir_flag_spec='-R$libdir'
                   9907:       hardcode_direct=yes
                   9908:       hardcode_shlibpath_var=no
                   9909:       ;;
                   9910: 
                   9911:     hpux9*)
                   9912:       if test "$GCC" = yes; then
                   9913:        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'
                   9914:       else
                   9915:        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'
                   9916:       fi
                   9917:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9918:       hardcode_libdir_separator=:
                   9919:       hardcode_direct=yes
                   9920: 
                   9921:       # hardcode_minus_L: Not really in the search PATH,
                   9922:       # but as the default location of the library.
                   9923:       hardcode_minus_L=yes
                   9924:       export_dynamic_flag_spec='${wl}-E'
                   9925:       ;;
                   9926: 
                   9927:     hpux10*)
                   9928:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9929:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9930:       else
                   9931:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9932:       fi
                   9933:       if test "$with_gnu_ld" = no; then
                   9934:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9935:        hardcode_libdir_separator=:
                   9936:        hardcode_direct=yes
                   9937:        hardcode_direct_absolute=yes
                   9938:        export_dynamic_flag_spec='${wl}-E'
                   9939:        # hardcode_minus_L: Not really in the search PATH,
                   9940:        # but as the default location of the library.
                   9941:        hardcode_minus_L=yes
                   9942:       fi
                   9943:       ;;
                   9944: 
                   9945:     hpux11*)
                   9946:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9947:        case $host_cpu in
                   9948:        hppa*64*)
                   9949:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9950:          ;;
                   9951:        ia64*)
                   9952:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9953:          ;;
                   9954:        *)
                   9955:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9956:          ;;
                   9957:        esac
                   9958:       else
                   9959:        case $host_cpu in
                   9960:        hppa*64*)
                   9961:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9962:          ;;
                   9963:        ia64*)
                   9964:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9965:          ;;
                   9966:        *)
                   9967: 
                   9968:          # Older versions of the 11.00 compiler do not understand -b yet
                   9969:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9970:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9971: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9972: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9973:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9974: else
                   9975:   lt_cv_prog_compiler__b=no
                   9976:    save_LDFLAGS="$LDFLAGS"
                   9977:    LDFLAGS="$LDFLAGS -b"
                   9978:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9979:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9980:      # The linker can only warn and ignore the option if not recognized
                   9981:      # So say no if there are warnings
                   9982:      if test -s conftest.err; then
                   9983:        # Append any errors to the config.log.
                   9984:        cat conftest.err 1>&5
                   9985:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9986:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9987:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9988:          lt_cv_prog_compiler__b=yes
                   9989:        fi
                   9990:      else
                   9991:        lt_cv_prog_compiler__b=yes
                   9992:      fi
                   9993:    fi
                   9994:    $RM -r conftest*
                   9995:    LDFLAGS="$save_LDFLAGS"
                   9996: 
                   9997: fi
                   9998: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9999: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
                   10000: 
                   10001: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10002:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10003: else
                   10004:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10005: fi
                   10006: 
                   10007:          ;;
                   10008:        esac
                   10009:       fi
                   10010:       if test "$with_gnu_ld" = no; then
                   10011:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10012:        hardcode_libdir_separator=:
                   10013: 
                   10014:        case $host_cpu in
                   10015:        hppa*64*|ia64*)
                   10016:          hardcode_direct=no
                   10017:          hardcode_shlibpath_var=no
                   10018:          ;;
                   10019:        *)
                   10020:          hardcode_direct=yes
                   10021:          hardcode_direct_absolute=yes
                   10022:          export_dynamic_flag_spec='${wl}-E'
                   10023: 
                   10024:          # hardcode_minus_L: Not really in the search PATH,
                   10025:          # but as the default location of the library.
                   10026:          hardcode_minus_L=yes
                   10027:          ;;
                   10028:        esac
                   10029:       fi
                   10030:       ;;
                   10031: 
                   10032:     irix5* | irix6* | nonstopux*)
                   10033:       if test "$GCC" = yes; then
                   10034:        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'
                   10035:        # Try to use the -exported_symbol ld option, if it does not
                   10036:        # work, assume that -exports_file does not work either and
                   10037:        # implicitly export all symbols.
                   10038:        # This should be the same for all languages, so no per-tag cache variable.
                   10039:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10040: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   10041: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   10042:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10043: else
                   10044:   save_LDFLAGS="$LDFLAGS"
                   10045:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   10046:           cat >conftest.$ac_ext <<_ACEOF
                   10047: /* confdefs.h.  */
                   10048: _ACEOF
                   10049: cat confdefs.h >>conftest.$ac_ext
                   10050: cat >>conftest.$ac_ext <<_ACEOF
                   10051: /* end confdefs.h.  */
                   10052: int foo (void) { return 0; }
                   10053: _ACEOF
                   10054: rm -f conftest.$ac_objext conftest$ac_exeext
                   10055: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10056:   (eval $ac_link) 2>conftest.er1
                   10057:   ac_status=$?
                   10058:   grep -v '^ *+' conftest.er1 >conftest.err
                   10059:   rm -f conftest.er1
                   10060:   cat conftest.err >&5
                   10061:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10062:   (exit $ac_status); } &&
                   10063:         { ac_try='test -z "$ac_c_werror_flag"
                   10064:                         || test ! -s conftest.err'
                   10065:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10066:   (eval $ac_try) 2>&5
                   10067:   ac_status=$?
                   10068:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10069:   (exit $ac_status); }; } &&
                   10070:         { ac_try='test -s conftest$ac_exeext'
                   10071:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10072:   (eval $ac_try) 2>&5
                   10073:   ac_status=$?
                   10074:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10075:   (exit $ac_status); }; }; then
                   10076:   lt_cv_irix_exported_symbol=yes
                   10077: else
                   10078:   echo "$as_me: failed program was:" >&5
                   10079: sed 's/^/| /' conftest.$ac_ext >&5
                   10080: 
                   10081: lt_cv_irix_exported_symbol=no
                   10082: fi
                   10083: rm -f conftest.err conftest.$ac_objext \
                   10084:       conftest$ac_exeext conftest.$ac_ext
                   10085:            LDFLAGS="$save_LDFLAGS"
                   10086: fi
                   10087: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   10088: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   10089:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10090:           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'
                   10091:        fi
                   10092:       else
                   10093:        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'
                   10094:        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'
                   10095:       fi
                   10096:       archive_cmds_need_lc='no'
                   10097:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10098:       hardcode_libdir_separator=:
                   10099:       inherit_rpath=yes
                   10100:       link_all_deplibs=yes
                   10101:       ;;
                   10102: 
                   10103:     netbsd*)
                   10104:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10105:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10106:       else
                   10107:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10108:       fi
                   10109:       hardcode_libdir_flag_spec='-R$libdir'
                   10110:       hardcode_direct=yes
                   10111:       hardcode_shlibpath_var=no
                   10112:       ;;
                   10113: 
                   10114:     newsos6)
                   10115:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10116:       hardcode_direct=yes
                   10117:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10118:       hardcode_libdir_separator=:
                   10119:       hardcode_shlibpath_var=no
                   10120:       ;;
                   10121: 
                   10122:     *nto* | *qnx*)
                   10123:       ;;
                   10124: 
                   10125:     openbsd*)
                   10126:       if test -f /usr/libexec/ld.so; then
                   10127:        hardcode_direct=yes
                   10128:        hardcode_shlibpath_var=no
                   10129:        hardcode_direct_absolute=yes
                   10130:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10131:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10132:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10133:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10134:          export_dynamic_flag_spec='${wl}-E'
                   10135:        else
                   10136:          case $host_os in
                   10137:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10138:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10139:             hardcode_libdir_flag_spec='-R$libdir'
                   10140:             ;;
                   10141:           *)
                   10142:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10143:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10144:             ;;
                   10145:          esac
                   10146:        fi
                   10147:       else
                   10148:        ld_shlibs=no
                   10149:       fi
                   10150:       ;;
                   10151: 
                   10152:     os2*)
                   10153:       hardcode_libdir_flag_spec='-L$libdir'
                   10154:       hardcode_minus_L=yes
                   10155:       allow_undefined_flag=unsupported
                   10156:       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'
                   10157:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10158:       ;;
                   10159: 
                   10160:     osf3*)
                   10161:       if test "$GCC" = yes; then
                   10162:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10163:        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'
                   10164:       else
                   10165:        allow_undefined_flag=' -expect_unresolved \*'
                   10166:        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'
                   10167:       fi
                   10168:       archive_cmds_need_lc='no'
                   10169:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10170:       hardcode_libdir_separator=:
                   10171:       ;;
                   10172: 
                   10173:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10174:       if test "$GCC" = yes; then
                   10175:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10176:        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'
                   10177:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10178:       else
                   10179:        allow_undefined_flag=' -expect_unresolved \*'
                   10180:        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'
                   10181:        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~
                   10182:        $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'
                   10183: 
                   10184:        # Both c and cxx compiler support -rpath directly
                   10185:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10186:       fi
                   10187:       archive_cmds_need_lc='no'
                   10188:       hardcode_libdir_separator=:
                   10189:       ;;
                   10190: 
                   10191:     solaris*)
                   10192:       no_undefined_flag=' -z defs'
                   10193:       if test "$GCC" = yes; then
                   10194:        wlarc='${wl}'
                   10195:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10196:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10197:          $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'
                   10198:       else
                   10199:        case `$CC -V 2>&1` in
                   10200:        *"Compilers 5.0"*)
                   10201:          wlarc=''
                   10202:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10203:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10204:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10205:          ;;
                   10206:        *)
                   10207:          wlarc='${wl}'
                   10208:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10209:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10210:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10211:          ;;
                   10212:        esac
                   10213:       fi
                   10214:       hardcode_libdir_flag_spec='-R$libdir'
                   10215:       hardcode_shlibpath_var=no
                   10216:       case $host_os in
                   10217:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10218:       *)
                   10219:        # The compiler driver will combine and reorder linker options,
                   10220:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10221:        # but is careful enough not to reorder.
                   10222:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10223:        if test "$GCC" = yes; then
                   10224:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10225:        else
                   10226:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10227:        fi
                   10228:        ;;
                   10229:       esac
                   10230:       link_all_deplibs=yes
                   10231:       ;;
                   10232: 
                   10233:     sunos4*)
                   10234:       if test "x$host_vendor" = xsequent; then
                   10235:        # Use $CC to link under sequent, because it throws in some extra .o
                   10236:        # files that make .init and .fini sections work.
                   10237:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10238:       else
                   10239:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10240:       fi
                   10241:       hardcode_libdir_flag_spec='-L$libdir'
                   10242:       hardcode_direct=yes
                   10243:       hardcode_minus_L=yes
                   10244:       hardcode_shlibpath_var=no
                   10245:       ;;
                   10246: 
                   10247:     sysv4)
                   10248:       case $host_vendor in
                   10249:        sni)
                   10250:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10251:          hardcode_direct=yes # is this really true???
                   10252:        ;;
                   10253:        siemens)
                   10254:          ## LD is ld it makes a PLAMLIB
                   10255:          ## CC just makes a GrossModule.
                   10256:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10257:          reload_cmds='$CC -r -o $output$reload_objs'
                   10258:          hardcode_direct=no
                   10259:         ;;
                   10260:        motorola)
                   10261:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10262:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10263:        ;;
                   10264:       esac
                   10265:       runpath_var='LD_RUN_PATH'
                   10266:       hardcode_shlibpath_var=no
                   10267:       ;;
                   10268: 
                   10269:     sysv4.3*)
                   10270:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10271:       hardcode_shlibpath_var=no
                   10272:       export_dynamic_flag_spec='-Bexport'
                   10273:       ;;
                   10274: 
                   10275:     sysv4*MP*)
                   10276:       if test -d /usr/nec; then
                   10277:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10278:        hardcode_shlibpath_var=no
                   10279:        runpath_var=LD_RUN_PATH
                   10280:        hardcode_runpath_var=yes
                   10281:        ld_shlibs=yes
                   10282:       fi
                   10283:       ;;
                   10284: 
                   10285:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10286:       no_undefined_flag='${wl}-z,text'
                   10287:       archive_cmds_need_lc=no
                   10288:       hardcode_shlibpath_var=no
                   10289:       runpath_var='LD_RUN_PATH'
                   10290: 
                   10291:       if test "$GCC" = yes; then
                   10292:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10293:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10294:       else
                   10295:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10296:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10297:       fi
                   10298:       ;;
                   10299: 
                   10300:     sysv5* | sco3.2v5* | sco5v6*)
                   10301:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10302:       # link with -lc, and that would cause any symbols used from libc to
                   10303:       # always be unresolved, which means just about no library would
                   10304:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10305:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10306:       # as -z defs.
                   10307:       no_undefined_flag='${wl}-z,text'
                   10308:       allow_undefined_flag='${wl}-z,nodefs'
                   10309:       archive_cmds_need_lc=no
                   10310:       hardcode_shlibpath_var=no
                   10311:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10312:       hardcode_libdir_separator=':'
                   10313:       link_all_deplibs=yes
                   10314:       export_dynamic_flag_spec='${wl}-Bexport'
                   10315:       runpath_var='LD_RUN_PATH'
                   10316: 
                   10317:       if test "$GCC" = yes; then
                   10318:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10319:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10320:       else
                   10321:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10322:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10323:       fi
                   10324:       ;;
                   10325: 
                   10326:     uts4*)
                   10327:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10328:       hardcode_libdir_flag_spec='-L$libdir'
                   10329:       hardcode_shlibpath_var=no
                   10330:       ;;
                   10331: 
                   10332:     *)
                   10333:       ld_shlibs=no
                   10334:       ;;
                   10335:     esac
                   10336: 
                   10337:     if test x$host_vendor = xsni; then
                   10338:       case $host in
                   10339:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10340:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10341:        ;;
                   10342:       esac
                   10343:     fi
                   10344:   fi
                   10345: 
                   10346: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   10347: echo "${ECHO_T}$ld_shlibs" >&6
                   10348: test "$ld_shlibs" = no && can_build_shared=no
                   10349: 
                   10350: with_gnu_ld=$with_gnu_ld
                   10351: 
                   10352: 
                   10353: 
                   10354: 
                   10355: 
                   10356: 
                   10357: 
                   10358: 
                   10359: 
                   10360: 
                   10361: 
                   10362: 
                   10363: 
                   10364: 
                   10365: 
                   10366: #
                   10367: # Do we need to explicitly link libc?
                   10368: #
                   10369: case "x$archive_cmds_need_lc" in
                   10370: x|xyes)
                   10371:   # Assume -lc should be added
                   10372:   archive_cmds_need_lc=yes
                   10373: 
                   10374:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10375:     case $archive_cmds in
                   10376:     *'~'*)
                   10377:       # FIXME: we may have to deal with multi-command sequences.
                   10378:       ;;
                   10379:     '$CC '*)
                   10380:       # Test whether the compiler implicitly links with -lc since on some
                   10381:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10382:       # to ld, don't add -lc before -lgcc.
                   10383:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   10384: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   10385: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   10386:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10387: else
                   10388:   $RM conftest*
                   10389:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10390: 
                   10391:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   10392:   (eval $ac_compile) 2>&5
                   10393:   ac_status=$?
                   10394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10395:   (exit $ac_status); } 2>conftest.err; then
                   10396:          soname=conftest
                   10397:          lib=conftest
                   10398:          libobjs=conftest.$ac_objext
                   10399:          deplibs=
                   10400:          wl=$lt_prog_compiler_wl
                   10401:          pic_flag=$lt_prog_compiler_pic
                   10402:          compiler_flags=-v
                   10403:          linker_flags=-v
                   10404:          verstring=
                   10405:          output_objdir=.
                   10406:          libname=conftest
                   10407:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10408:          allow_undefined_flag=
                   10409:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   10410:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10411:   ac_status=$?
                   10412:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10413:   (exit $ac_status); }
                   10414:          then
                   10415:            lt_cv_archive_cmds_need_lc=no
                   10416:          else
                   10417:            lt_cv_archive_cmds_need_lc=yes
                   10418:          fi
                   10419:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10420:        else
                   10421:          cat conftest.err 1>&5
                   10422:        fi
                   10423:        $RM conftest*
                   10424: 
                   10425: fi
                   10426: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   10427: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   10428:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10429:       ;;
                   10430:     esac
                   10431:   fi
                   10432:   ;;
                   10433: esac
                   10434: 
                   10435: 
                   10436: 
                   10437: 
                   10438: 
                   10439: 
                   10440: 
                   10441: 
                   10442: 
                   10443: 
                   10444: 
                   10445: 
                   10446: 
                   10447: 
                   10448: 
                   10449: 
                   10450: 
                   10451: 
                   10452: 
                   10453: 
                   10454: 
                   10455: 
                   10456: 
                   10457: 
                   10458: 
                   10459: 
                   10460: 
                   10461: 
                   10462: 
                   10463: 
                   10464: 
                   10465: 
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499: 
                   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:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   10587: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   10588: 
                   10589: if test "$GCC" = yes; then
                   10590:   case $host_os in
                   10591:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10592:     *) lt_awk_arg="/^libraries:/" ;;
                   10593:   esac
                   10594:   case $host_os in
                   10595:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10596:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10597:   esac
                   10598:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10599:   case $lt_search_path_spec in
                   10600:   *\;*)
                   10601:     # if the path contains ";" then we assume it to be the separator
                   10602:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10603:     # assumed that no part of a normal pathname contains ";" but that should
                   10604:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10605:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10606:     ;;
                   10607:   *)
                   10608:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10609:     ;;
                   10610:   esac
                   10611:   # Ok, now we have the path, separated by spaces, we can step through it
                   10612:   # and add multilib dir if necessary.
                   10613:   lt_tmp_lt_search_path_spec=
                   10614:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10615:   for lt_sys_path in $lt_search_path_spec; do
                   10616:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10617:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10618:     else
                   10619:       test -d "$lt_sys_path" && \
                   10620:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10621:     fi
                   10622:   done
                   10623:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10624: BEGIN {RS=" "; FS="/|\n";} {
                   10625:   lt_foo="";
                   10626:   lt_count=0;
                   10627:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10628:     if ($lt_i != "" && $lt_i != ".") {
                   10629:       if ($lt_i == "..") {
                   10630:         lt_count++;
                   10631:       } else {
                   10632:         if (lt_count == 0) {
                   10633:           lt_foo="/" $lt_i lt_foo;
                   10634:         } else {
                   10635:           lt_count--;
                   10636:         }
                   10637:       }
                   10638:     }
                   10639:   }
                   10640:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10641:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10642: }'`
                   10643:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10644:   # for these hosts.
                   10645:   case $host_os in
                   10646:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10647:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10648:   esac
                   10649:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10650: else
                   10651:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10652: fi
                   10653: library_names_spec=
                   10654: libname_spec='lib$name'
                   10655: soname_spec=
                   10656: shrext_cmds=".so"
                   10657: postinstall_cmds=
                   10658: postuninstall_cmds=
                   10659: finish_cmds=
                   10660: finish_eval=
                   10661: shlibpath_var=
                   10662: shlibpath_overrides_runpath=unknown
                   10663: version_type=none
                   10664: dynamic_linker="$host_os ld.so"
                   10665: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10666: need_lib_prefix=unknown
                   10667: hardcode_into_libs=no
                   10668: 
                   10669: # when you set need_version to no, make sure it does not cause -set_version
                   10670: # flags to be left without arguments
                   10671: need_version=unknown
                   10672: 
                   10673: case $host_os in
                   10674: aix3*)
                   10675:   version_type=linux # correct to gnu/linux during the next big refactor
                   10676:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10677:   shlibpath_var=LIBPATH
                   10678: 
                   10679:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10680:   soname_spec='${libname}${release}${shared_ext}$major'
                   10681:   ;;
                   10682: 
                   10683: aix[4-9]*)
                   10684:   version_type=linux # correct to gnu/linux during the next big refactor
                   10685:   need_lib_prefix=no
                   10686:   need_version=no
                   10687:   hardcode_into_libs=yes
                   10688:   if test "$host_cpu" = ia64; then
                   10689:     # AIX 5 supports IA64
                   10690:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10691:     shlibpath_var=LD_LIBRARY_PATH
                   10692:   else
                   10693:     # With GCC up to 2.95.x, collect2 would create an import file
                   10694:     # for dependence libraries.  The import file would start with
                   10695:     # the line `#! .'.  This would cause the generated library to
                   10696:     # depend on `.', always an invalid library.  This was fixed in
                   10697:     # development snapshots of GCC prior to 3.0.
                   10698:     case $host_os in
                   10699:       aix4 | aix4.[01] | aix4.[01].*)
                   10700:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10701:           echo ' yes '
                   10702:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10703:        :
                   10704:       else
                   10705:        can_build_shared=no
                   10706:       fi
                   10707:       ;;
                   10708:     esac
                   10709:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10710:     # soname into executable. Probably we can add versioning support to
                   10711:     # collect2, so additional links can be useful in future.
                   10712:     if test "$aix_use_runtimelinking" = yes; then
                   10713:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10714:       # instead of lib<name>.a to let people know that these are not
                   10715:       # typical AIX shared libraries.
                   10716:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10717:     else
                   10718:       # We preserve .a as extension for shared libraries through AIX4.2
                   10719:       # and later when we are not doing run time linking.
                   10720:       library_names_spec='${libname}${release}.a $libname.a'
                   10721:       soname_spec='${libname}${release}${shared_ext}$major'
                   10722:     fi
                   10723:     shlibpath_var=LIBPATH
                   10724:   fi
                   10725:   ;;
                   10726: 
                   10727: amigaos*)
                   10728:   case $host_cpu in
                   10729:   powerpc)
                   10730:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10731:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10732:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10733:     ;;
                   10734:   m68k)
                   10735:     library_names_spec='$libname.ixlibrary $libname.a'
                   10736:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10737:     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'
                   10738:     ;;
                   10739:   esac
                   10740:   ;;
                   10741: 
                   10742: beos*)
                   10743:   library_names_spec='${libname}${shared_ext}'
                   10744:   dynamic_linker="$host_os ld.so"
                   10745:   shlibpath_var=LIBRARY_PATH
                   10746:   ;;
                   10747: 
                   10748: bsdi[45]*)
                   10749:   version_type=linux # correct to gnu/linux during the next big refactor
                   10750:   need_version=no
                   10751:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10752:   soname_spec='${libname}${release}${shared_ext}$major'
                   10753:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10754:   shlibpath_var=LD_LIBRARY_PATH
                   10755:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10756:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10757:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10758:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10759:   # libtool to hard-code these into programs
                   10760:   ;;
                   10761: 
                   10762: cygwin* | mingw* | pw32* | cegcc*)
                   10763:   version_type=windows
                   10764:   shrext_cmds=".dll"
                   10765:   need_version=no
                   10766:   need_lib_prefix=no
                   10767: 
                   10768:   case $GCC,$cc_basename in
                   10769:   yes,*)
                   10770:     # gcc
                   10771:     library_names_spec='$libname.dll.a'
                   10772:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10773:     postinstall_cmds='base_file=`basename \${file}`~
                   10774:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10775:       dldir=$destdir/`dirname \$dlpath`~
                   10776:       test -d \$dldir || mkdir -p \$dldir~
                   10777:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10778:       chmod a+x \$dldir/$dlname~
                   10779:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10780:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10781:       fi'
                   10782:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10783:       dlpath=$dir/\$dldll~
                   10784:        $RM \$dlpath'
                   10785:     shlibpath_overrides_runpath=yes
                   10786: 
                   10787:     case $host_os in
                   10788:     cygwin*)
                   10789:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10790:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10791: 
                   10792:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10793:       ;;
                   10794:     mingw* | cegcc*)
                   10795:       # MinGW DLLs use traditional 'lib' prefix
                   10796:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10797:       ;;
                   10798:     pw32*)
                   10799:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10800:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10801:       ;;
                   10802:     esac
                   10803:     dynamic_linker='Win32 ld.exe'
                   10804:     ;;
                   10805: 
                   10806:   *,cl*)
                   10807:     # Native MSVC
                   10808:     libname_spec='$name'
                   10809:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10810:     library_names_spec='${libname}.dll.lib'
                   10811: 
                   10812:     case $build_os in
                   10813:     mingw*)
                   10814:       sys_lib_search_path_spec=
                   10815:       lt_save_ifs=$IFS
                   10816:       IFS=';'
                   10817:       for lt_path in $LIB
                   10818:       do
                   10819:         IFS=$lt_save_ifs
                   10820:         # Let DOS variable expansion print the short 8.3 style file name.
                   10821:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10822:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10823:       done
                   10824:       IFS=$lt_save_ifs
                   10825:       # Convert to MSYS style.
                   10826:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10827:       ;;
                   10828:     cygwin*)
                   10829:       # Convert to unix form, then to dos form, then back to unix form
                   10830:       # but this time dos style (no spaces!) so that the unix form looks
                   10831:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10832:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10833:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10834:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10835:       ;;
                   10836:     *)
                   10837:       sys_lib_search_path_spec="$LIB"
                   10838:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10839:         # It is most probably a Windows format PATH.
                   10840:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10841:       else
                   10842:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10843:       fi
                   10844:       # FIXME: find the short name or the path components, as spaces are
                   10845:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10846:       ;;
                   10847:     esac
                   10848: 
                   10849:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10850:     postinstall_cmds='base_file=`basename \${file}`~
                   10851:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10852:       dldir=$destdir/`dirname \$dlpath`~
                   10853:       test -d \$dldir || mkdir -p \$dldir~
                   10854:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10855:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10856:       dlpath=$dir/\$dldll~
                   10857:        $RM \$dlpath'
                   10858:     shlibpath_overrides_runpath=yes
                   10859:     dynamic_linker='Win32 link.exe'
                   10860:     ;;
                   10861: 
                   10862:   *)
                   10863:     # Assume MSVC wrapper
                   10864:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10865:     dynamic_linker='Win32 ld.exe'
                   10866:     ;;
                   10867:   esac
                   10868:   # FIXME: first we should search . and the directory the executable is in
                   10869:   shlibpath_var=PATH
                   10870:   ;;
                   10871: 
                   10872: darwin* | rhapsody*)
                   10873:   dynamic_linker="$host_os dyld"
                   10874:   version_type=darwin
                   10875:   need_lib_prefix=no
                   10876:   need_version=no
                   10877:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10878:   soname_spec='${libname}${release}${major}$shared_ext'
                   10879:   shlibpath_overrides_runpath=yes
                   10880:   shlibpath_var=DYLD_LIBRARY_PATH
                   10881:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10882: 
                   10883:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10884:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10885:   ;;
                   10886: 
                   10887: dgux*)
                   10888:   version_type=linux # correct to gnu/linux during the next big refactor
                   10889:   need_lib_prefix=no
                   10890:   need_version=no
                   10891:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10892:   soname_spec='${libname}${release}${shared_ext}$major'
                   10893:   shlibpath_var=LD_LIBRARY_PATH
                   10894:   ;;
                   10895: 
                   10896: freebsd* | dragonfly*)
                   10897:   # DragonFly does not have aout.  When/if they implement a new
                   10898:   # versioning mechanism, adjust this.
                   10899:   if test -x /usr/bin/objformat; then
                   10900:     objformat=`/usr/bin/objformat`
                   10901:   else
                   10902:     case $host_os in
                   10903:     freebsd[23].*) objformat=aout ;;
                   10904:     *) objformat=elf ;;
                   10905:     esac
                   10906:   fi
                   10907:   version_type=freebsd-$objformat
                   10908:   case $version_type in
                   10909:     freebsd-elf*)
                   10910:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10911:       need_version=no
                   10912:       need_lib_prefix=no
                   10913:       ;;
                   10914:     freebsd-*)
                   10915:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10916:       need_version=yes
                   10917:       ;;
                   10918:   esac
                   10919:   shlibpath_var=LD_LIBRARY_PATH
                   10920:   case $host_os in
                   10921:   freebsd2.*)
                   10922:     shlibpath_overrides_runpath=yes
                   10923:     ;;
                   10924:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10925:     shlibpath_overrides_runpath=yes
                   10926:     hardcode_into_libs=yes
                   10927:     ;;
                   10928:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10929:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10930:     shlibpath_overrides_runpath=no
                   10931:     hardcode_into_libs=yes
                   10932:     ;;
                   10933:   *) # from 4.6 on, and DragonFly
                   10934:     shlibpath_overrides_runpath=yes
                   10935:     hardcode_into_libs=yes
                   10936:     ;;
                   10937:   esac
                   10938:   ;;
                   10939: 
                   10940: gnu*)
                   10941:   version_type=linux # correct to gnu/linux during the next big refactor
                   10942:   need_lib_prefix=no
                   10943:   need_version=no
                   10944:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10945:   soname_spec='${libname}${release}${shared_ext}$major'
                   10946:   shlibpath_var=LD_LIBRARY_PATH
                   10947:   shlibpath_overrides_runpath=no
                   10948:   hardcode_into_libs=yes
                   10949:   ;;
                   10950: 
                   10951: haiku*)
                   10952:   version_type=linux # correct to gnu/linux during the next big refactor
                   10953:   need_lib_prefix=no
                   10954:   need_version=no
                   10955:   dynamic_linker="$host_os runtime_loader"
                   10956:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10957:   soname_spec='${libname}${release}${shared_ext}$major'
                   10958:   shlibpath_var=LIBRARY_PATH
                   10959:   shlibpath_overrides_runpath=yes
                   10960:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10961:   hardcode_into_libs=yes
                   10962:   ;;
                   10963: 
                   10964: hpux9* | hpux10* | hpux11*)
                   10965:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10966:   # link against other versions.
                   10967:   version_type=sunos
                   10968:   need_lib_prefix=no
                   10969:   need_version=no
                   10970:   case $host_cpu in
                   10971:   ia64*)
                   10972:     shrext_cmds='.so'
                   10973:     hardcode_into_libs=yes
                   10974:     dynamic_linker="$host_os dld.so"
                   10975:     shlibpath_var=LD_LIBRARY_PATH
                   10976:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10977:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10978:     soname_spec='${libname}${release}${shared_ext}$major'
                   10979:     if test "X$HPUX_IA64_MODE" = X32; then
                   10980:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10981:     else
                   10982:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10983:     fi
                   10984:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10985:     ;;
                   10986:   hppa*64*)
                   10987:     shrext_cmds='.sl'
                   10988:     hardcode_into_libs=yes
                   10989:     dynamic_linker="$host_os dld.sl"
                   10990:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10991:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10992:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10993:     soname_spec='${libname}${release}${shared_ext}$major'
                   10994:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10995:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10996:     ;;
                   10997:   *)
                   10998:     shrext_cmds='.sl'
                   10999:     dynamic_linker="$host_os dld.sl"
                   11000:     shlibpath_var=SHLIB_PATH
                   11001:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11002:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11003:     soname_spec='${libname}${release}${shared_ext}$major'
                   11004:     ;;
                   11005:   esac
                   11006:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11007:   postinstall_cmds='chmod 555 $lib'
                   11008:   # or fails outright, so override atomically:
                   11009:   install_override_mode=555
                   11010:   ;;
                   11011: 
                   11012: interix[3-9]*)
                   11013:   version_type=linux # correct to gnu/linux during the next big refactor
                   11014:   need_lib_prefix=no
                   11015:   need_version=no
                   11016:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11017:   soname_spec='${libname}${release}${shared_ext}$major'
                   11018:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11019:   shlibpath_var=LD_LIBRARY_PATH
                   11020:   shlibpath_overrides_runpath=no
                   11021:   hardcode_into_libs=yes
                   11022:   ;;
                   11023: 
                   11024: irix5* | irix6* | nonstopux*)
                   11025:   case $host_os in
                   11026:     nonstopux*) version_type=nonstopux ;;
                   11027:     *)
                   11028:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11029:                version_type=linux # correct to gnu/linux during the next big refactor
                   11030:        else
                   11031:                version_type=irix
                   11032:        fi ;;
                   11033:   esac
                   11034:   need_lib_prefix=no
                   11035:   need_version=no
                   11036:   soname_spec='${libname}${release}${shared_ext}$major'
                   11037:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11038:   case $host_os in
                   11039:   irix5* | nonstopux*)
                   11040:     libsuff= shlibsuff=
                   11041:     ;;
                   11042:   *)
                   11043:     case $LD in # libtool.m4 will add one of these switches to LD
                   11044:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11045:       libsuff= shlibsuff= libmagic=32-bit;;
                   11046:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11047:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11048:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11049:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11050:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11051:     esac
                   11052:     ;;
                   11053:   esac
                   11054:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11055:   shlibpath_overrides_runpath=no
                   11056:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11057:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11058:   hardcode_into_libs=yes
                   11059:   ;;
                   11060: 
                   11061: # No shared lib support for Linux oldld, aout, or coff.
                   11062: linux*oldld* | linux*aout* | linux*coff*)
                   11063:   dynamic_linker=no
                   11064:   ;;
                   11065: 
                   11066: # This must be glibc/ELF.
                   11067: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11068:   version_type=linux # correct to gnu/linux during the next big refactor
                   11069:   need_lib_prefix=no
                   11070:   need_version=no
                   11071:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11072:   soname_spec='${libname}${release}${shared_ext}$major'
                   11073:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11074:   shlibpath_var=LD_LIBRARY_PATH
                   11075:   shlibpath_overrides_runpath=no
                   11076: 
                   11077:   # Some binutils ld are patched to set DT_RUNPATH
                   11078:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   11079:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11080: else
                   11081:   lt_cv_shlibpath_overrides_runpath=no
                   11082:     save_LDFLAGS=$LDFLAGS
                   11083:     save_libdir=$libdir
                   11084:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11085:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11086:     cat >conftest.$ac_ext <<_ACEOF
                   11087: /* confdefs.h.  */
                   11088: _ACEOF
                   11089: cat confdefs.h >>conftest.$ac_ext
                   11090: cat >>conftest.$ac_ext <<_ACEOF
                   11091: /* end confdefs.h.  */
                   11092: 
                   11093: int
                   11094: main ()
                   11095: {
                   11096: 
                   11097:   ;
                   11098:   return 0;
                   11099: }
                   11100: _ACEOF
                   11101: rm -f conftest.$ac_objext conftest$ac_exeext
                   11102: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11103:   (eval $ac_link) 2>conftest.er1
                   11104:   ac_status=$?
                   11105:   grep -v '^ *+' conftest.er1 >conftest.err
                   11106:   rm -f conftest.er1
                   11107:   cat conftest.err >&5
                   11108:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11109:   (exit $ac_status); } &&
                   11110:         { ac_try='test -z "$ac_c_werror_flag"
                   11111:                         || test ! -s conftest.err'
                   11112:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11113:   (eval $ac_try) 2>&5
                   11114:   ac_status=$?
                   11115:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11116:   (exit $ac_status); }; } &&
                   11117:         { ac_try='test -s conftest$ac_exeext'
                   11118:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11119:   (eval $ac_try) 2>&5
                   11120:   ac_status=$?
                   11121:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11122:   (exit $ac_status); }; }; then
                   11123:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   11124:   lt_cv_shlibpath_overrides_runpath=yes
                   11125: fi
                   11126: 
                   11127: else
                   11128:   echo "$as_me: failed program was:" >&5
                   11129: sed 's/^/| /' conftest.$ac_ext >&5
                   11130: 
                   11131: fi
                   11132: rm -f conftest.err conftest.$ac_objext \
                   11133:       conftest$ac_exeext conftest.$ac_ext
                   11134:     LDFLAGS=$save_LDFLAGS
                   11135:     libdir=$save_libdir
                   11136: 
                   11137: fi
                   11138: 
                   11139:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11140: 
                   11141:   # This implies no fast_install, which is unacceptable.
                   11142:   # Some rework will be needed to allow for fast_install
                   11143:   # before this can be enabled.
                   11144:   hardcode_into_libs=yes
                   11145: 
                   11146:   # Append ld.so.conf contents to the search path
                   11147:   if test -f /etc/ld.so.conf; then
                   11148:     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' ' '`
                   11149:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11150:   fi
                   11151: 
                   11152:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11153:   # powerpc, because MkLinux only supported shared libraries with the
                   11154:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11155:   # most powerpc-linux boxes support dynamic linking these days and
                   11156:   # people can always --disable-shared, the test was removed, and we
                   11157:   # assume the GNU/Linux dynamic linker is in use.
                   11158:   dynamic_linker='GNU/Linux ld.so'
                   11159:   ;;
                   11160: 
                   11161: netbsd*)
                   11162:   version_type=sunos
                   11163:   need_lib_prefix=no
                   11164:   need_version=no
                   11165:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11166:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11167:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11168:     dynamic_linker='NetBSD (a.out) ld.so'
                   11169:   else
                   11170:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11171:     soname_spec='${libname}${release}${shared_ext}$major'
                   11172:     dynamic_linker='NetBSD ld.elf_so'
                   11173:   fi
                   11174:   shlibpath_var=LD_LIBRARY_PATH
                   11175:   shlibpath_overrides_runpath=yes
                   11176:   hardcode_into_libs=yes
                   11177:   ;;
                   11178: 
                   11179: newsos6)
                   11180:   version_type=linux # correct to gnu/linux during the next big refactor
                   11181:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11182:   shlibpath_var=LD_LIBRARY_PATH
                   11183:   shlibpath_overrides_runpath=yes
                   11184:   ;;
                   11185: 
                   11186: *nto* | *qnx*)
                   11187:   version_type=qnx
                   11188:   need_lib_prefix=no
                   11189:   need_version=no
                   11190:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11191:   soname_spec='${libname}${release}${shared_ext}$major'
                   11192:   shlibpath_var=LD_LIBRARY_PATH
                   11193:   shlibpath_overrides_runpath=no
                   11194:   hardcode_into_libs=yes
                   11195:   dynamic_linker='ldqnx.so'
                   11196:   ;;
                   11197: 
                   11198: openbsd*)
                   11199:   version_type=sunos
                   11200:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11201:   need_lib_prefix=no
                   11202:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11203:   case $host_os in
                   11204:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11205:     *)                         need_version=no  ;;
                   11206:   esac
                   11207:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11208:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11209:   shlibpath_var=LD_LIBRARY_PATH
                   11210:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11211:     case $host_os in
                   11212:       openbsd2.[89] | openbsd2.[89].*)
                   11213:        shlibpath_overrides_runpath=no
                   11214:        ;;
                   11215:       *)
                   11216:        shlibpath_overrides_runpath=yes
                   11217:        ;;
                   11218:       esac
                   11219:   else
                   11220:     shlibpath_overrides_runpath=yes
                   11221:   fi
                   11222:   ;;
                   11223: 
                   11224: os2*)
                   11225:   libname_spec='$name'
                   11226:   shrext_cmds=".dll"
                   11227:   need_lib_prefix=no
                   11228:   library_names_spec='$libname${shared_ext} $libname.a'
                   11229:   dynamic_linker='OS/2 ld.exe'
                   11230:   shlibpath_var=LIBPATH
                   11231:   ;;
                   11232: 
                   11233: osf3* | osf4* | osf5*)
                   11234:   version_type=osf
                   11235:   need_lib_prefix=no
                   11236:   need_version=no
                   11237:   soname_spec='${libname}${release}${shared_ext}$major'
                   11238:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11239:   shlibpath_var=LD_LIBRARY_PATH
                   11240:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11241:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11242:   ;;
                   11243: 
                   11244: rdos*)
                   11245:   dynamic_linker=no
                   11246:   ;;
                   11247: 
                   11248: solaris*)
                   11249:   version_type=linux # correct to gnu/linux during the next big refactor
                   11250:   need_lib_prefix=no
                   11251:   need_version=no
                   11252:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11253:   soname_spec='${libname}${release}${shared_ext}$major'
                   11254:   shlibpath_var=LD_LIBRARY_PATH
                   11255:   shlibpath_overrides_runpath=yes
                   11256:   hardcode_into_libs=yes
                   11257:   # ldd complains unless libraries are executable
                   11258:   postinstall_cmds='chmod +x $lib'
                   11259:   ;;
                   11260: 
                   11261: sunos4*)
                   11262:   version_type=sunos
                   11263:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11264:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11265:   shlibpath_var=LD_LIBRARY_PATH
                   11266:   shlibpath_overrides_runpath=yes
                   11267:   if test "$with_gnu_ld" = yes; then
                   11268:     need_lib_prefix=no
                   11269:   fi
                   11270:   need_version=yes
                   11271:   ;;
                   11272: 
                   11273: sysv4 | sysv4.3*)
                   11274:   version_type=linux # correct to gnu/linux during the next big refactor
                   11275:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11276:   soname_spec='${libname}${release}${shared_ext}$major'
                   11277:   shlibpath_var=LD_LIBRARY_PATH
                   11278:   case $host_vendor in
                   11279:     sni)
                   11280:       shlibpath_overrides_runpath=no
                   11281:       need_lib_prefix=no
                   11282:       runpath_var=LD_RUN_PATH
                   11283:       ;;
                   11284:     siemens)
                   11285:       need_lib_prefix=no
                   11286:       ;;
                   11287:     motorola)
                   11288:       need_lib_prefix=no
                   11289:       need_version=no
                   11290:       shlibpath_overrides_runpath=no
                   11291:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11292:       ;;
                   11293:   esac
                   11294:   ;;
                   11295: 
                   11296: sysv4*MP*)
                   11297:   if test -d /usr/nec ;then
                   11298:     version_type=linux # correct to gnu/linux during the next big refactor
                   11299:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11300:     soname_spec='$libname${shared_ext}.$major'
                   11301:     shlibpath_var=LD_LIBRARY_PATH
                   11302:   fi
                   11303:   ;;
                   11304: 
                   11305: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11306:   version_type=freebsd-elf
                   11307:   need_lib_prefix=no
                   11308:   need_version=no
                   11309:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11310:   soname_spec='${libname}${release}${shared_ext}$major'
                   11311:   shlibpath_var=LD_LIBRARY_PATH
                   11312:   shlibpath_overrides_runpath=yes
                   11313:   hardcode_into_libs=yes
                   11314:   if test "$with_gnu_ld" = yes; then
                   11315:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11316:   else
                   11317:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11318:     case $host_os in
                   11319:       sco3.2v5*)
                   11320:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11321:        ;;
                   11322:     esac
                   11323:   fi
                   11324:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11325:   ;;
                   11326: 
                   11327: tpf*)
                   11328:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   11329:   version_type=linux # correct to gnu/linux during the next big refactor
                   11330:   need_lib_prefix=no
                   11331:   need_version=no
                   11332:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11333:   shlibpath_var=LD_LIBRARY_PATH
                   11334:   shlibpath_overrides_runpath=no
                   11335:   hardcode_into_libs=yes
                   11336:   ;;
                   11337: 
                   11338: uts4*)
                   11339:   version_type=linux # correct to gnu/linux during the next big refactor
                   11340:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11341:   soname_spec='${libname}${release}${shared_ext}$major'
                   11342:   shlibpath_var=LD_LIBRARY_PATH
                   11343:   ;;
                   11344: 
                   11345: *)
                   11346:   dynamic_linker=no
                   11347:   ;;
                   11348: esac
                   11349: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   11350: echo "${ECHO_T}$dynamic_linker" >&6
                   11351: test "$dynamic_linker" = no && can_build_shared=no
                   11352: 
                   11353: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11354: if test "$GCC" = yes; then
                   11355:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11356: fi
                   11357: 
                   11358: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11359:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11360: fi
                   11361: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11362:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11363: fi
                   11364: 
                   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:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   11457: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   11458: hardcode_action=
                   11459: if test -n "$hardcode_libdir_flag_spec" ||
                   11460:    test -n "$runpath_var" ||
                   11461:    test "X$hardcode_automatic" = "Xyes" ; then
                   11462: 
                   11463:   # We can hardcode non-existent directories.
                   11464:   if test "$hardcode_direct" != no &&
                   11465:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11466:      # have to relink, otherwise we might link with an installed library
                   11467:      # when we should be linking with a yet-to-be-installed one
                   11468:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11469:      test "$hardcode_minus_L" != no; then
                   11470:     # Linking always hardcodes the temporary library directory.
                   11471:     hardcode_action=relink
                   11472:   else
                   11473:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11474:     hardcode_action=immediate
                   11475:   fi
                   11476: else
                   11477:   # We cannot hardcode anything, or else we can only hardcode existing
                   11478:   # directories.
                   11479:   hardcode_action=unsupported
                   11480: fi
                   11481: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   11482: echo "${ECHO_T}$hardcode_action" >&6
                   11483: 
                   11484: if test "$hardcode_action" = relink ||
                   11485:    test "$inherit_rpath" = yes; then
                   11486:   # Fast installation is not supported
                   11487:   enable_fast_install=no
                   11488: elif test "$shlibpath_overrides_runpath" = yes ||
                   11489:      test "$enable_shared" = no; then
                   11490:   # Fast installation is not necessary
                   11491:   enable_fast_install=needless
                   11492: fi
                   11493: 
                   11494: 
                   11495: 
                   11496: 
                   11497: 
                   11498: 
                   11499:   if test "x$enable_dlopen" != xyes; then
                   11500:   enable_dlopen=unknown
                   11501:   enable_dlopen_self=unknown
                   11502:   enable_dlopen_self_static=unknown
                   11503: else
                   11504:   lt_cv_dlopen=no
                   11505:   lt_cv_dlopen_libs=
                   11506: 
                   11507:   case $host_os in
                   11508:   beos*)
                   11509:     lt_cv_dlopen="load_add_on"
                   11510:     lt_cv_dlopen_libs=
                   11511:     lt_cv_dlopen_self=yes
                   11512:     ;;
                   11513: 
                   11514:   mingw* | pw32* | cegcc*)
                   11515:     lt_cv_dlopen="LoadLibrary"
                   11516:     lt_cv_dlopen_libs=
                   11517:     ;;
                   11518: 
                   11519:   cygwin*)
                   11520:     lt_cv_dlopen="dlopen"
                   11521:     lt_cv_dlopen_libs=
                   11522:     ;;
                   11523: 
                   11524:   darwin*)
                   11525:   # if libdl is installed we need to link against it
                   11526:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11527: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11528: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11529:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11530: else
                   11531:   ac_check_lib_save_LIBS=$LIBS
                   11532: LIBS="-ldl  $LIBS"
                   11533: cat >conftest.$ac_ext <<_ACEOF
                   11534: /* confdefs.h.  */
                   11535: _ACEOF
                   11536: cat confdefs.h >>conftest.$ac_ext
                   11537: cat >>conftest.$ac_ext <<_ACEOF
                   11538: /* end confdefs.h.  */
                   11539: 
                   11540: /* Override any gcc2 internal prototype to avoid an error.  */
                   11541: #ifdef __cplusplus
                   11542: extern "C"
                   11543: #endif
                   11544: /* We use char because int might match the return type of a gcc2
                   11545:    builtin and then its argument prototype would still apply.  */
                   11546: char dlopen ();
                   11547: int
                   11548: main ()
                   11549: {
                   11550: dlopen ();
                   11551:   ;
                   11552:   return 0;
                   11553: }
                   11554: _ACEOF
                   11555: rm -f conftest.$ac_objext conftest$ac_exeext
                   11556: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11557:   (eval $ac_link) 2>conftest.er1
                   11558:   ac_status=$?
                   11559:   grep -v '^ *+' conftest.er1 >conftest.err
                   11560:   rm -f conftest.er1
                   11561:   cat conftest.err >&5
                   11562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11563:   (exit $ac_status); } &&
                   11564:         { ac_try='test -z "$ac_c_werror_flag"
                   11565:                         || test ! -s conftest.err'
                   11566:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11567:   (eval $ac_try) 2>&5
                   11568:   ac_status=$?
                   11569:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11570:   (exit $ac_status); }; } &&
                   11571:         { ac_try='test -s conftest$ac_exeext'
                   11572:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11573:   (eval $ac_try) 2>&5
                   11574:   ac_status=$?
                   11575:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11576:   (exit $ac_status); }; }; then
                   11577:   ac_cv_lib_dl_dlopen=yes
                   11578: else
                   11579:   echo "$as_me: failed program was:" >&5
                   11580: sed 's/^/| /' conftest.$ac_ext >&5
                   11581: 
                   11582: ac_cv_lib_dl_dlopen=no
                   11583: fi
                   11584: rm -f conftest.err conftest.$ac_objext \
                   11585:       conftest$ac_exeext conftest.$ac_ext
                   11586: LIBS=$ac_check_lib_save_LIBS
                   11587: fi
                   11588: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11589: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11590: if test $ac_cv_lib_dl_dlopen = yes; then
                   11591:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11592: else
                   11593: 
                   11594:     lt_cv_dlopen="dyld"
                   11595:     lt_cv_dlopen_libs=
                   11596:     lt_cv_dlopen_self=yes
                   11597: 
                   11598: fi
                   11599: 
                   11600:     ;;
                   11601: 
                   11602:   *)
                   11603:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   11604: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   11605: if test "${ac_cv_func_shl_load+set}" = set; then
                   11606:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11607: else
                   11608:   cat >conftest.$ac_ext <<_ACEOF
                   11609: /* confdefs.h.  */
                   11610: _ACEOF
                   11611: cat confdefs.h >>conftest.$ac_ext
                   11612: cat >>conftest.$ac_ext <<_ACEOF
                   11613: /* end confdefs.h.  */
                   11614: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   11615:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11616: #define shl_load innocuous_shl_load
                   11617: 
                   11618: /* System header to define __stub macros and hopefully few prototypes,
                   11619:     which can conflict with char shl_load (); below.
                   11620:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11621:     <limits.h> exists even on freestanding compilers.  */
                   11622: 
                   11623: #ifdef __STDC__
                   11624: # include <limits.h>
                   11625: #else
                   11626: # include <assert.h>
                   11627: #endif
                   11628: 
                   11629: #undef shl_load
                   11630: 
                   11631: /* Override any gcc2 internal prototype to avoid an error.  */
                   11632: #ifdef __cplusplus
                   11633: extern "C"
                   11634: {
                   11635: #endif
                   11636: /* We use char because int might match the return type of a gcc2
                   11637:    builtin and then its argument prototype would still apply.  */
                   11638: char shl_load ();
                   11639: /* The GNU C library defines this for functions which it implements
                   11640:     to always fail with ENOSYS.  Some functions are actually named
                   11641:     something starting with __ and the normal name is an alias.  */
                   11642: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   11643: choke me
                   11644: #else
                   11645: char (*f) () = shl_load;
                   11646: #endif
                   11647: #ifdef __cplusplus
                   11648: }
                   11649: #endif
                   11650: 
                   11651: int
                   11652: main ()
                   11653: {
                   11654: return f != shl_load;
                   11655:   ;
                   11656:   return 0;
                   11657: }
                   11658: _ACEOF
                   11659: rm -f conftest.$ac_objext conftest$ac_exeext
                   11660: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11661:   (eval $ac_link) 2>conftest.er1
                   11662:   ac_status=$?
                   11663:   grep -v '^ *+' conftest.er1 >conftest.err
                   11664:   rm -f conftest.er1
                   11665:   cat conftest.err >&5
                   11666:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11667:   (exit $ac_status); } &&
                   11668:         { ac_try='test -z "$ac_c_werror_flag"
                   11669:                         || test ! -s conftest.err'
                   11670:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11671:   (eval $ac_try) 2>&5
                   11672:   ac_status=$?
                   11673:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11674:   (exit $ac_status); }; } &&
                   11675:         { ac_try='test -s conftest$ac_exeext'
                   11676:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11677:   (eval $ac_try) 2>&5
                   11678:   ac_status=$?
                   11679:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11680:   (exit $ac_status); }; }; then
                   11681:   ac_cv_func_shl_load=yes
                   11682: else
                   11683:   echo "$as_me: failed program was:" >&5
                   11684: sed 's/^/| /' conftest.$ac_ext >&5
                   11685: 
                   11686: ac_cv_func_shl_load=no
                   11687: fi
                   11688: rm -f conftest.err conftest.$ac_objext \
                   11689:       conftest$ac_exeext conftest.$ac_ext
                   11690: fi
                   11691: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11692: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11693: if test $ac_cv_func_shl_load = yes; then
                   11694:   lt_cv_dlopen="shl_load"
                   11695: else
                   11696:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11697: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11698: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11699:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11700: else
                   11701:   ac_check_lib_save_LIBS=$LIBS
                   11702: LIBS="-ldld  $LIBS"
                   11703: cat >conftest.$ac_ext <<_ACEOF
                   11704: /* confdefs.h.  */
                   11705: _ACEOF
                   11706: cat confdefs.h >>conftest.$ac_ext
                   11707: cat >>conftest.$ac_ext <<_ACEOF
                   11708: /* end confdefs.h.  */
                   11709: 
                   11710: /* Override any gcc2 internal prototype to avoid an error.  */
                   11711: #ifdef __cplusplus
                   11712: extern "C"
                   11713: #endif
                   11714: /* We use char because int might match the return type of a gcc2
                   11715:    builtin and then its argument prototype would still apply.  */
                   11716: char shl_load ();
                   11717: int
                   11718: main ()
                   11719: {
                   11720: shl_load ();
                   11721:   ;
                   11722:   return 0;
                   11723: }
                   11724: _ACEOF
                   11725: rm -f conftest.$ac_objext conftest$ac_exeext
                   11726: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11727:   (eval $ac_link) 2>conftest.er1
                   11728:   ac_status=$?
                   11729:   grep -v '^ *+' conftest.er1 >conftest.err
                   11730:   rm -f conftest.er1
                   11731:   cat conftest.err >&5
                   11732:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11733:   (exit $ac_status); } &&
                   11734:         { ac_try='test -z "$ac_c_werror_flag"
                   11735:                         || test ! -s conftest.err'
                   11736:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11737:   (eval $ac_try) 2>&5
                   11738:   ac_status=$?
                   11739:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11740:   (exit $ac_status); }; } &&
                   11741:         { ac_try='test -s conftest$ac_exeext'
                   11742:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11743:   (eval $ac_try) 2>&5
                   11744:   ac_status=$?
                   11745:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11746:   (exit $ac_status); }; }; then
                   11747:   ac_cv_lib_dld_shl_load=yes
                   11748: else
                   11749:   echo "$as_me: failed program was:" >&5
                   11750: sed 's/^/| /' conftest.$ac_ext >&5
                   11751: 
                   11752: ac_cv_lib_dld_shl_load=no
                   11753: fi
                   11754: rm -f conftest.err conftest.$ac_objext \
                   11755:       conftest$ac_exeext conftest.$ac_ext
                   11756: LIBS=$ac_check_lib_save_LIBS
                   11757: fi
                   11758: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11759: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11760: if test $ac_cv_lib_dld_shl_load = yes; then
                   11761:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11762: else
                   11763:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11764: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11765: if test "${ac_cv_func_dlopen+set}" = set; then
                   11766:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11767: else
                   11768:   cat >conftest.$ac_ext <<_ACEOF
                   11769: /* confdefs.h.  */
                   11770: _ACEOF
                   11771: cat confdefs.h >>conftest.$ac_ext
                   11772: cat >>conftest.$ac_ext <<_ACEOF
                   11773: /* end confdefs.h.  */
                   11774: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11775:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11776: #define dlopen innocuous_dlopen
                   11777: 
                   11778: /* System header to define __stub macros and hopefully few prototypes,
                   11779:     which can conflict with char dlopen (); below.
                   11780:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11781:     <limits.h> exists even on freestanding compilers.  */
                   11782: 
                   11783: #ifdef __STDC__
                   11784: # include <limits.h>
                   11785: #else
                   11786: # include <assert.h>
                   11787: #endif
                   11788: 
                   11789: #undef dlopen
                   11790: 
                   11791: /* Override any gcc2 internal prototype to avoid an error.  */
                   11792: #ifdef __cplusplus
                   11793: extern "C"
                   11794: {
                   11795: #endif
                   11796: /* We use char because int might match the return type of a gcc2
                   11797:    builtin and then its argument prototype would still apply.  */
                   11798: char dlopen ();
                   11799: /* The GNU C library defines this for functions which it implements
                   11800:     to always fail with ENOSYS.  Some functions are actually named
                   11801:     something starting with __ and the normal name is an alias.  */
                   11802: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11803: choke me
                   11804: #else
                   11805: char (*f) () = dlopen;
                   11806: #endif
                   11807: #ifdef __cplusplus
                   11808: }
                   11809: #endif
                   11810: 
                   11811: int
                   11812: main ()
                   11813: {
                   11814: return f != dlopen;
                   11815:   ;
                   11816:   return 0;
                   11817: }
                   11818: _ACEOF
                   11819: rm -f conftest.$ac_objext conftest$ac_exeext
                   11820: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11821:   (eval $ac_link) 2>conftest.er1
                   11822:   ac_status=$?
                   11823:   grep -v '^ *+' conftest.er1 >conftest.err
                   11824:   rm -f conftest.er1
                   11825:   cat conftest.err >&5
                   11826:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11827:   (exit $ac_status); } &&
                   11828:         { ac_try='test -z "$ac_c_werror_flag"
                   11829:                         || test ! -s conftest.err'
                   11830:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11831:   (eval $ac_try) 2>&5
                   11832:   ac_status=$?
                   11833:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11834:   (exit $ac_status); }; } &&
                   11835:         { ac_try='test -s conftest$ac_exeext'
                   11836:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11837:   (eval $ac_try) 2>&5
                   11838:   ac_status=$?
                   11839:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11840:   (exit $ac_status); }; }; then
                   11841:   ac_cv_func_dlopen=yes
                   11842: else
                   11843:   echo "$as_me: failed program was:" >&5
                   11844: sed 's/^/| /' conftest.$ac_ext >&5
                   11845: 
                   11846: ac_cv_func_dlopen=no
                   11847: fi
                   11848: rm -f conftest.err conftest.$ac_objext \
                   11849:       conftest$ac_exeext conftest.$ac_ext
                   11850: fi
                   11851: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11852: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11853: if test $ac_cv_func_dlopen = yes; then
                   11854:   lt_cv_dlopen="dlopen"
                   11855: else
                   11856:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11857: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11858: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11859:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11860: else
                   11861:   ac_check_lib_save_LIBS=$LIBS
                   11862: LIBS="-ldl  $LIBS"
                   11863: cat >conftest.$ac_ext <<_ACEOF
                   11864: /* confdefs.h.  */
                   11865: _ACEOF
                   11866: cat confdefs.h >>conftest.$ac_ext
                   11867: cat >>conftest.$ac_ext <<_ACEOF
                   11868: /* end confdefs.h.  */
                   11869: 
                   11870: /* Override any gcc2 internal prototype to avoid an error.  */
                   11871: #ifdef __cplusplus
                   11872: extern "C"
                   11873: #endif
                   11874: /* We use char because int might match the return type of a gcc2
                   11875:    builtin and then its argument prototype would still apply.  */
                   11876: char dlopen ();
                   11877: int
                   11878: main ()
                   11879: {
                   11880: dlopen ();
                   11881:   ;
                   11882:   return 0;
                   11883: }
                   11884: _ACEOF
                   11885: rm -f conftest.$ac_objext conftest$ac_exeext
                   11886: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11887:   (eval $ac_link) 2>conftest.er1
                   11888:   ac_status=$?
                   11889:   grep -v '^ *+' conftest.er1 >conftest.err
                   11890:   rm -f conftest.er1
                   11891:   cat conftest.err >&5
                   11892:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11893:   (exit $ac_status); } &&
                   11894:         { ac_try='test -z "$ac_c_werror_flag"
                   11895:                         || test ! -s conftest.err'
                   11896:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11897:   (eval $ac_try) 2>&5
                   11898:   ac_status=$?
                   11899:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11900:   (exit $ac_status); }; } &&
                   11901:         { ac_try='test -s conftest$ac_exeext'
                   11902:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11903:   (eval $ac_try) 2>&5
                   11904:   ac_status=$?
                   11905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11906:   (exit $ac_status); }; }; then
                   11907:   ac_cv_lib_dl_dlopen=yes
                   11908: else
                   11909:   echo "$as_me: failed program was:" >&5
                   11910: sed 's/^/| /' conftest.$ac_ext >&5
                   11911: 
                   11912: ac_cv_lib_dl_dlopen=no
                   11913: fi
                   11914: rm -f conftest.err conftest.$ac_objext \
                   11915:       conftest$ac_exeext conftest.$ac_ext
                   11916: LIBS=$ac_check_lib_save_LIBS
                   11917: fi
                   11918: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11919: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11920: if test $ac_cv_lib_dl_dlopen = yes; then
                   11921:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11922: else
                   11923:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11924: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11925: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11926:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11927: else
                   11928:   ac_check_lib_save_LIBS=$LIBS
                   11929: LIBS="-lsvld  $LIBS"
                   11930: cat >conftest.$ac_ext <<_ACEOF
                   11931: /* confdefs.h.  */
                   11932: _ACEOF
                   11933: cat confdefs.h >>conftest.$ac_ext
                   11934: cat >>conftest.$ac_ext <<_ACEOF
                   11935: /* end confdefs.h.  */
                   11936: 
                   11937: /* Override any gcc2 internal prototype to avoid an error.  */
                   11938: #ifdef __cplusplus
                   11939: extern "C"
                   11940: #endif
                   11941: /* We use char because int might match the return type of a gcc2
                   11942:    builtin and then its argument prototype would still apply.  */
                   11943: char dlopen ();
                   11944: int
                   11945: main ()
                   11946: {
                   11947: dlopen ();
                   11948:   ;
                   11949:   return 0;
                   11950: }
                   11951: _ACEOF
                   11952: rm -f conftest.$ac_objext conftest$ac_exeext
                   11953: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11954:   (eval $ac_link) 2>conftest.er1
                   11955:   ac_status=$?
                   11956:   grep -v '^ *+' conftest.er1 >conftest.err
                   11957:   rm -f conftest.er1
                   11958:   cat conftest.err >&5
                   11959:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11960:   (exit $ac_status); } &&
                   11961:         { ac_try='test -z "$ac_c_werror_flag"
                   11962:                         || test ! -s conftest.err'
                   11963:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11964:   (eval $ac_try) 2>&5
                   11965:   ac_status=$?
                   11966:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11967:   (exit $ac_status); }; } &&
                   11968:         { ac_try='test -s conftest$ac_exeext'
                   11969:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11970:   (eval $ac_try) 2>&5
                   11971:   ac_status=$?
                   11972:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11973:   (exit $ac_status); }; }; then
                   11974:   ac_cv_lib_svld_dlopen=yes
                   11975: else
                   11976:   echo "$as_me: failed program was:" >&5
                   11977: sed 's/^/| /' conftest.$ac_ext >&5
                   11978: 
                   11979: ac_cv_lib_svld_dlopen=no
                   11980: fi
                   11981: rm -f conftest.err conftest.$ac_objext \
                   11982:       conftest$ac_exeext conftest.$ac_ext
                   11983: LIBS=$ac_check_lib_save_LIBS
                   11984: fi
                   11985: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11986: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11987: if test $ac_cv_lib_svld_dlopen = yes; then
                   11988:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11989: else
                   11990:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11991: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11992: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11993:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11994: else
                   11995:   ac_check_lib_save_LIBS=$LIBS
                   11996: LIBS="-ldld  $LIBS"
                   11997: cat >conftest.$ac_ext <<_ACEOF
                   11998: /* confdefs.h.  */
                   11999: _ACEOF
                   12000: cat confdefs.h >>conftest.$ac_ext
                   12001: cat >>conftest.$ac_ext <<_ACEOF
                   12002: /* end confdefs.h.  */
                   12003: 
                   12004: /* Override any gcc2 internal prototype to avoid an error.  */
                   12005: #ifdef __cplusplus
                   12006: extern "C"
                   12007: #endif
                   12008: /* We use char because int might match the return type of a gcc2
                   12009:    builtin and then its argument prototype would still apply.  */
                   12010: char dld_link ();
                   12011: int
                   12012: main ()
                   12013: {
                   12014: dld_link ();
                   12015:   ;
                   12016:   return 0;
                   12017: }
                   12018: _ACEOF
                   12019: rm -f conftest.$ac_objext conftest$ac_exeext
                   12020: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12021:   (eval $ac_link) 2>conftest.er1
                   12022:   ac_status=$?
                   12023:   grep -v '^ *+' conftest.er1 >conftest.err
                   12024:   rm -f conftest.er1
                   12025:   cat conftest.err >&5
                   12026:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12027:   (exit $ac_status); } &&
                   12028:         { ac_try='test -z "$ac_c_werror_flag"
                   12029:                         || test ! -s conftest.err'
                   12030:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12031:   (eval $ac_try) 2>&5
                   12032:   ac_status=$?
                   12033:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12034:   (exit $ac_status); }; } &&
                   12035:         { ac_try='test -s conftest$ac_exeext'
                   12036:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12037:   (eval $ac_try) 2>&5
                   12038:   ac_status=$?
                   12039:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12040:   (exit $ac_status); }; }; then
                   12041:   ac_cv_lib_dld_dld_link=yes
                   12042: else
                   12043:   echo "$as_me: failed program was:" >&5
                   12044: sed 's/^/| /' conftest.$ac_ext >&5
                   12045: 
                   12046: ac_cv_lib_dld_dld_link=no
                   12047: fi
                   12048: rm -f conftest.err conftest.$ac_objext \
                   12049:       conftest$ac_exeext conftest.$ac_ext
                   12050: LIBS=$ac_check_lib_save_LIBS
                   12051: fi
                   12052: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   12053: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   12054: if test $ac_cv_lib_dld_dld_link = yes; then
                   12055:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12056: fi
                   12057: 
                   12058: 
                   12059: fi
                   12060: 
                   12061: 
                   12062: fi
                   12063: 
                   12064: 
                   12065: fi
                   12066: 
                   12067: 
                   12068: fi
                   12069: 
                   12070: 
                   12071: fi
                   12072: 
                   12073:     ;;
                   12074:   esac
                   12075: 
                   12076:   if test "x$lt_cv_dlopen" != xno; then
                   12077:     enable_dlopen=yes
                   12078:   else
                   12079:     enable_dlopen=no
                   12080:   fi
                   12081: 
                   12082:   case $lt_cv_dlopen in
                   12083:   dlopen)
                   12084:     save_CPPFLAGS="$CPPFLAGS"
                   12085:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12086: 
                   12087:     save_LDFLAGS="$LDFLAGS"
                   12088:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12089: 
                   12090:     save_LIBS="$LIBS"
                   12091:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12092: 
                   12093:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   12094: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   12095: if test "${lt_cv_dlopen_self+set}" = set; then
                   12096:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12097: else
                   12098:          if test "$cross_compiling" = yes; then :
                   12099:   lt_cv_dlopen_self=cross
                   12100: else
                   12101:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12102:   lt_status=$lt_dlunknown
                   12103:   cat > conftest.$ac_ext <<_LT_EOF
                   12104: #line $LINENO "configure"
                   12105: #include "confdefs.h"
                   12106: 
                   12107: #if HAVE_DLFCN_H
                   12108: #include <dlfcn.h>
                   12109: #endif
                   12110: 
                   12111: #include <stdio.h>
                   12112: 
                   12113: #ifdef RTLD_GLOBAL
                   12114: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12115: #else
                   12116: #  ifdef DL_GLOBAL
                   12117: #    define LT_DLGLOBAL                DL_GLOBAL
                   12118: #  else
                   12119: #    define LT_DLGLOBAL                0
                   12120: #  endif
                   12121: #endif
                   12122: 
                   12123: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12124:    find out it does not work in some platform. */
                   12125: #ifndef LT_DLLAZY_OR_NOW
                   12126: #  ifdef RTLD_LAZY
                   12127: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12128: #  else
                   12129: #    ifdef DL_LAZY
                   12130: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12131: #    else
                   12132: #      ifdef RTLD_NOW
                   12133: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12134: #      else
                   12135: #        ifdef DL_NOW
                   12136: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12137: #        else
                   12138: #          define LT_DLLAZY_OR_NOW     0
                   12139: #        endif
                   12140: #      endif
                   12141: #    endif
                   12142: #  endif
                   12143: #endif
                   12144: 
                   12145: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12146:    correspondingly for the symbols needed.  */
                   12147: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12148: int fnord () __attribute__((visibility("default")));
                   12149: #endif
                   12150: 
                   12151: int fnord () { return 42; }
                   12152: int main ()
                   12153: {
                   12154:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12155:   int status = $lt_dlunknown;
                   12156: 
                   12157:   if (self)
                   12158:     {
                   12159:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12160:       else
                   12161:         {
                   12162:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12163:           else puts (dlerror ());
                   12164:        }
                   12165:       /* dlclose (self); */
                   12166:     }
                   12167:   else
                   12168:     puts (dlerror ());
                   12169: 
                   12170:   return status;
                   12171: }
                   12172: _LT_EOF
                   12173:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12174:   (eval $ac_link) 2>&5
                   12175:   ac_status=$?
                   12176:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12177:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12178:     (./conftest; exit; ) >&5 2>/dev/null
                   12179:     lt_status=$?
                   12180:     case x$lt_status in
                   12181:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12182:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12183:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12184:     esac
                   12185:   else :
                   12186:     # compilation failed
                   12187:     lt_cv_dlopen_self=no
                   12188:   fi
                   12189: fi
                   12190: rm -fr conftest*
                   12191: 
                   12192: 
                   12193: fi
                   12194: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   12195: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   12196: 
                   12197:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12198:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12199:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   12200: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   12201: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   12202:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12203: else
                   12204:          if test "$cross_compiling" = yes; then :
                   12205:   lt_cv_dlopen_self_static=cross
                   12206: else
                   12207:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12208:   lt_status=$lt_dlunknown
                   12209:   cat > conftest.$ac_ext <<_LT_EOF
                   12210: #line $LINENO "configure"
                   12211: #include "confdefs.h"
                   12212: 
                   12213: #if HAVE_DLFCN_H
                   12214: #include <dlfcn.h>
                   12215: #endif
                   12216: 
                   12217: #include <stdio.h>
                   12218: 
                   12219: #ifdef RTLD_GLOBAL
                   12220: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12221: #else
                   12222: #  ifdef DL_GLOBAL
                   12223: #    define LT_DLGLOBAL                DL_GLOBAL
                   12224: #  else
                   12225: #    define LT_DLGLOBAL                0
                   12226: #  endif
                   12227: #endif
                   12228: 
                   12229: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12230:    find out it does not work in some platform. */
                   12231: #ifndef LT_DLLAZY_OR_NOW
                   12232: #  ifdef RTLD_LAZY
                   12233: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12234: #  else
                   12235: #    ifdef DL_LAZY
                   12236: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12237: #    else
                   12238: #      ifdef RTLD_NOW
                   12239: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12240: #      else
                   12241: #        ifdef DL_NOW
                   12242: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12243: #        else
                   12244: #          define LT_DLLAZY_OR_NOW     0
                   12245: #        endif
                   12246: #      endif
                   12247: #    endif
                   12248: #  endif
                   12249: #endif
                   12250: 
                   12251: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12252:    correspondingly for the symbols needed.  */
                   12253: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12254: int fnord () __attribute__((visibility("default")));
                   12255: #endif
                   12256: 
                   12257: int fnord () { return 42; }
                   12258: int main ()
                   12259: {
                   12260:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12261:   int status = $lt_dlunknown;
                   12262: 
                   12263:   if (self)
                   12264:     {
                   12265:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12266:       else
                   12267:         {
                   12268:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12269:           else puts (dlerror ());
                   12270:        }
                   12271:       /* dlclose (self); */
                   12272:     }
                   12273:   else
                   12274:     puts (dlerror ());
                   12275: 
                   12276:   return status;
                   12277: }
                   12278: _LT_EOF
                   12279:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12280:   (eval $ac_link) 2>&5
                   12281:   ac_status=$?
                   12282:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12283:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12284:     (./conftest; exit; ) >&5 2>/dev/null
                   12285:     lt_status=$?
                   12286:     case x$lt_status in
                   12287:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12288:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12289:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12290:     esac
                   12291:   else :
                   12292:     # compilation failed
                   12293:     lt_cv_dlopen_self_static=no
                   12294:   fi
                   12295: fi
                   12296: rm -fr conftest*
                   12297: 
                   12298: 
                   12299: fi
                   12300: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   12301: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   12302:     fi
                   12303: 
                   12304:     CPPFLAGS="$save_CPPFLAGS"
                   12305:     LDFLAGS="$save_LDFLAGS"
                   12306:     LIBS="$save_LIBS"
                   12307:     ;;
                   12308:   esac
                   12309: 
                   12310:   case $lt_cv_dlopen_self in
                   12311:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12312:   *) enable_dlopen_self=unknown ;;
                   12313:   esac
                   12314: 
                   12315:   case $lt_cv_dlopen_self_static in
                   12316:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12317:   *) enable_dlopen_self_static=unknown ;;
                   12318:   esac
                   12319: fi
                   12320: 
                   12321: 
                   12322: 
                   12323: 
                   12324: 
                   12325: 
                   12326: 
                   12327: 
                   12328: 
                   12329: 
                   12330: 
                   12331: 
                   12332: 
                   12333: 
                   12334: 
                   12335: 
                   12336: 
                   12337: striplib=
                   12338: old_striplib=
                   12339: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   12340: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   12341: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12342:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12343:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12344:   echo "$as_me:$LINENO: result: yes" >&5
                   12345: echo "${ECHO_T}yes" >&6
                   12346: else
                   12347: # FIXME - insert some real tests, host_os isn't really good enough
                   12348:   case $host_os in
                   12349:   darwin*)
                   12350:     if test -n "$STRIP" ; then
                   12351:       striplib="$STRIP -x"
                   12352:       old_striplib="$STRIP -S"
                   12353:       echo "$as_me:$LINENO: result: yes" >&5
                   12354: echo "${ECHO_T}yes" >&6
                   12355:     else
                   12356:       echo "$as_me:$LINENO: result: no" >&5
                   12357: echo "${ECHO_T}no" >&6
                   12358:     fi
                   12359:     ;;
                   12360:   *)
                   12361:     echo "$as_me:$LINENO: result: no" >&5
                   12362: echo "${ECHO_T}no" >&6
                   12363:     ;;
                   12364:   esac
                   12365: fi
                   12366: 
                   12367: 
                   12368: 
                   12369: 
                   12370: 
                   12371: 
                   12372: 
                   12373: 
                   12374: 
                   12375: 
                   12376: 
                   12377: 
                   12378:   # Report which library types will actually be built
                   12379:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   12380: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   12381:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   12382: echo "${ECHO_T}$can_build_shared" >&6
                   12383: 
                   12384:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   12385: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   12386:   test "$can_build_shared" = "no" && enable_shared=no
                   12387: 
                   12388:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12389:   # are all built from PIC.
                   12390:   case $host_os in
                   12391:   aix3*)
                   12392:     test "$enable_shared" = yes && enable_static=no
                   12393:     if test -n "$RANLIB"; then
                   12394:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12395:       postinstall_cmds='$RANLIB $lib'
                   12396:     fi
                   12397:     ;;
                   12398: 
                   12399:   aix[4-9]*)
                   12400:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12401:       test "$enable_shared" = yes && enable_static=no
                   12402:     fi
                   12403:     ;;
                   12404:   esac
                   12405:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   12406: echo "${ECHO_T}$enable_shared" >&6
                   12407: 
                   12408:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   12409: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   12410:   # Make sure either enable_shared or enable_static is yes.
                   12411:   test "$enable_shared" = yes || enable_static=yes
                   12412:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   12413: echo "${ECHO_T}$enable_static" >&6
                   12414: 
                   12415: 
                   12416: 
                   12417: 
                   12418: fi
                   12419: ac_ext=c
                   12420: ac_cpp='$CPP $CPPFLAGS'
                   12421: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12422: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12423: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12424: 
                   12425: CC="$lt_save_CC"
                   12426: 
                   12427:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12428:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12429:     (test "X$CXX" != "Xg++"))) ; then
                   12430:   ac_ext=cc
                   12431: ac_cpp='$CXXCPP $CPPFLAGS'
                   12432: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12433: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12434: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12435: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   12436: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   12437: if test -z "$CXXCPP"; then
                   12438:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   12439:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12440: else
                   12441:       # Double quotes because CXXCPP needs to be expanded
                   12442:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12443:     do
                   12444:       ac_preproc_ok=false
                   12445: for ac_cxx_preproc_warn_flag in '' yes
                   12446: do
                   12447:   # Use a header file that comes with gcc, so configuring glibc
                   12448:   # with a fresh cross-compiler works.
                   12449:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12450:   # <limits.h> exists even on freestanding compilers.
                   12451:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12452:   # not just through cpp. "Syntax error" is here to catch this case.
                   12453:   cat >conftest.$ac_ext <<_ACEOF
                   12454: /* confdefs.h.  */
                   12455: _ACEOF
                   12456: cat confdefs.h >>conftest.$ac_ext
                   12457: cat >>conftest.$ac_ext <<_ACEOF
                   12458: /* end confdefs.h.  */
                   12459: #ifdef __STDC__
                   12460: # include <limits.h>
                   12461: #else
                   12462: # include <assert.h>
                   12463: #endif
                   12464:                     Syntax error
                   12465: _ACEOF
                   12466: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12467:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12468:   ac_status=$?
                   12469:   grep -v '^ *+' conftest.er1 >conftest.err
                   12470:   rm -f conftest.er1
                   12471:   cat conftest.err >&5
                   12472:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12473:   (exit $ac_status); } >/dev/null; then
                   12474:   if test -s conftest.err; then
                   12475:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12476:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12477:   else
                   12478:     ac_cpp_err=
                   12479:   fi
                   12480: else
                   12481:   ac_cpp_err=yes
                   12482: fi
                   12483: if test -z "$ac_cpp_err"; then
                   12484:   :
                   12485: else
                   12486:   echo "$as_me: failed program was:" >&5
                   12487: sed 's/^/| /' conftest.$ac_ext >&5
                   12488: 
                   12489:   # Broken: fails on valid input.
                   12490: continue
                   12491: fi
                   12492: rm -f conftest.err conftest.$ac_ext
                   12493: 
                   12494:   # OK, works on sane cases.  Now check whether non-existent headers
                   12495:   # can be detected and how.
                   12496:   cat >conftest.$ac_ext <<_ACEOF
                   12497: /* confdefs.h.  */
                   12498: _ACEOF
                   12499: cat confdefs.h >>conftest.$ac_ext
                   12500: cat >>conftest.$ac_ext <<_ACEOF
                   12501: /* end confdefs.h.  */
                   12502: #include <ac_nonexistent.h>
                   12503: _ACEOF
                   12504: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12505:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12506:   ac_status=$?
                   12507:   grep -v '^ *+' conftest.er1 >conftest.err
                   12508:   rm -f conftest.er1
                   12509:   cat conftest.err >&5
                   12510:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12511:   (exit $ac_status); } >/dev/null; then
                   12512:   if test -s conftest.err; then
                   12513:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12514:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12515:   else
                   12516:     ac_cpp_err=
                   12517:   fi
                   12518: else
                   12519:   ac_cpp_err=yes
                   12520: fi
                   12521: if test -z "$ac_cpp_err"; then
                   12522:   # Broken: success on invalid input.
                   12523: continue
                   12524: else
                   12525:   echo "$as_me: failed program was:" >&5
                   12526: sed 's/^/| /' conftest.$ac_ext >&5
                   12527: 
                   12528:   # Passes both tests.
                   12529: ac_preproc_ok=:
                   12530: break
                   12531: fi
                   12532: rm -f conftest.err conftest.$ac_ext
                   12533: 
                   12534: done
                   12535: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12536: rm -f conftest.err conftest.$ac_ext
                   12537: if $ac_preproc_ok; then
                   12538:   break
                   12539: fi
                   12540: 
                   12541:     done
                   12542:     ac_cv_prog_CXXCPP=$CXXCPP
                   12543: 
                   12544: fi
                   12545:   CXXCPP=$ac_cv_prog_CXXCPP
                   12546: else
                   12547:   ac_cv_prog_CXXCPP=$CXXCPP
                   12548: fi
                   12549: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   12550: echo "${ECHO_T}$CXXCPP" >&6
                   12551: ac_preproc_ok=false
                   12552: for ac_cxx_preproc_warn_flag in '' yes
                   12553: do
                   12554:   # Use a header file that comes with gcc, so configuring glibc
                   12555:   # with a fresh cross-compiler works.
                   12556:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12557:   # <limits.h> exists even on freestanding compilers.
                   12558:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12559:   # not just through cpp. "Syntax error" is here to catch this case.
                   12560:   cat >conftest.$ac_ext <<_ACEOF
                   12561: /* confdefs.h.  */
                   12562: _ACEOF
                   12563: cat confdefs.h >>conftest.$ac_ext
                   12564: cat >>conftest.$ac_ext <<_ACEOF
                   12565: /* end confdefs.h.  */
                   12566: #ifdef __STDC__
                   12567: # include <limits.h>
                   12568: #else
                   12569: # include <assert.h>
                   12570: #endif
                   12571:                     Syntax error
                   12572: _ACEOF
                   12573: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12574:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12575:   ac_status=$?
                   12576:   grep -v '^ *+' conftest.er1 >conftest.err
                   12577:   rm -f conftest.er1
                   12578:   cat conftest.err >&5
                   12579:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12580:   (exit $ac_status); } >/dev/null; then
                   12581:   if test -s conftest.err; then
                   12582:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12583:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12584:   else
                   12585:     ac_cpp_err=
                   12586:   fi
                   12587: else
                   12588:   ac_cpp_err=yes
                   12589: fi
                   12590: if test -z "$ac_cpp_err"; then
                   12591:   :
                   12592: else
                   12593:   echo "$as_me: failed program was:" >&5
                   12594: sed 's/^/| /' conftest.$ac_ext >&5
                   12595: 
                   12596:   # Broken: fails on valid input.
                   12597: continue
                   12598: fi
                   12599: rm -f conftest.err conftest.$ac_ext
                   12600: 
                   12601:   # OK, works on sane cases.  Now check whether non-existent headers
                   12602:   # can be detected and how.
                   12603:   cat >conftest.$ac_ext <<_ACEOF
                   12604: /* confdefs.h.  */
                   12605: _ACEOF
                   12606: cat confdefs.h >>conftest.$ac_ext
                   12607: cat >>conftest.$ac_ext <<_ACEOF
                   12608: /* end confdefs.h.  */
                   12609: #include <ac_nonexistent.h>
                   12610: _ACEOF
                   12611: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   12612:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   12613:   ac_status=$?
                   12614:   grep -v '^ *+' conftest.er1 >conftest.err
                   12615:   rm -f conftest.er1
                   12616:   cat conftest.err >&5
                   12617:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12618:   (exit $ac_status); } >/dev/null; then
                   12619:   if test -s conftest.err; then
                   12620:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   12621:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   12622:   else
                   12623:     ac_cpp_err=
                   12624:   fi
                   12625: else
                   12626:   ac_cpp_err=yes
                   12627: fi
                   12628: if test -z "$ac_cpp_err"; then
                   12629:   # Broken: success on invalid input.
                   12630: continue
                   12631: else
                   12632:   echo "$as_me: failed program was:" >&5
                   12633: sed 's/^/| /' conftest.$ac_ext >&5
                   12634: 
                   12635:   # Passes both tests.
                   12636: ac_preproc_ok=:
                   12637: break
                   12638: fi
                   12639: rm -f conftest.err conftest.$ac_ext
                   12640: 
                   12641: done
                   12642: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   12643: rm -f conftest.err conftest.$ac_ext
                   12644: if $ac_preproc_ok; then
                   12645:   :
                   12646: else
                   12647:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12648: See \`config.log' for more details." >&5
                   12649: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   12650: See \`config.log' for more details." >&2;}
                   12651:    { (exit 1); exit 1; }; }
                   12652: fi
                   12653: 
                   12654: ac_ext=c
                   12655: ac_cpp='$CPP $CPPFLAGS'
                   12656: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12657: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12658: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12659: 
                   12660: else
                   12661:   _lt_caught_CXX_error=yes
                   12662: fi
                   12663: 
                   12664: ac_ext=cc
                   12665: ac_cpp='$CXXCPP $CPPFLAGS'
                   12666: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12667: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12668: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12669: 
                   12670: archive_cmds_need_lc_CXX=no
                   12671: allow_undefined_flag_CXX=
                   12672: always_export_symbols_CXX=no
                   12673: archive_expsym_cmds_CXX=
                   12674: compiler_needs_object_CXX=no
                   12675: export_dynamic_flag_spec_CXX=
                   12676: hardcode_direct_CXX=no
                   12677: hardcode_direct_absolute_CXX=no
                   12678: hardcode_libdir_flag_spec_CXX=
                   12679: hardcode_libdir_separator_CXX=
                   12680: hardcode_minus_L_CXX=no
                   12681: hardcode_shlibpath_var_CXX=unsupported
                   12682: hardcode_automatic_CXX=no
                   12683: inherit_rpath_CXX=no
                   12684: module_cmds_CXX=
                   12685: module_expsym_cmds_CXX=
                   12686: link_all_deplibs_CXX=unknown
                   12687: old_archive_cmds_CXX=$old_archive_cmds
                   12688: reload_flag_CXX=$reload_flag
                   12689: reload_cmds_CXX=$reload_cmds
                   12690: no_undefined_flag_CXX=
                   12691: whole_archive_flag_spec_CXX=
                   12692: enable_shared_with_static_runtimes_CXX=no
                   12693: 
                   12694: # Source file extension for C++ test sources.
                   12695: ac_ext=cpp
                   12696: 
                   12697: # Object file extension for compiled C++ test sources.
                   12698: objext=o
                   12699: objext_CXX=$objext
                   12700: 
                   12701: # No sense in running all these tests if we already determined that
                   12702: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12703: # are currently assumed to apply to all compilers on this platform,
                   12704: # and will be corrupted by setting them based on a non-working compiler.
                   12705: if test "$_lt_caught_CXX_error" != yes; then
                   12706:   # Code to be used in simple compile tests
                   12707:   lt_simple_compile_test_code="int some_variable = 0;"
                   12708: 
                   12709:   # Code to be used in simple link tests
                   12710:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12711: 
                   12712:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12713: 
                   12714: 
                   12715: 
                   12716: 
                   12717: 
                   12718: 
                   12719: # If no C compiler was specified, use CC.
                   12720: LTCC=${LTCC-"$CC"}
                   12721: 
                   12722: # If no C compiler flags were specified, use CFLAGS.
                   12723: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12724: 
                   12725: # Allow CC to be a program name with arguments.
                   12726: compiler=$CC
                   12727: 
                   12728: 
                   12729:   # save warnings/boilerplate of simple test code
                   12730:   ac_outfile=conftest.$ac_objext
                   12731: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12732: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12733: _lt_compiler_boilerplate=`cat conftest.err`
                   12734: $RM conftest*
                   12735: 
                   12736:   ac_outfile=conftest.$ac_objext
                   12737: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12738: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12739: _lt_linker_boilerplate=`cat conftest.err`
                   12740: $RM -r conftest*
                   12741: 
                   12742: 
                   12743:   # Allow CC to be a program name with arguments.
                   12744:   lt_save_CC=$CC
                   12745:   lt_save_CFLAGS=$CFLAGS
                   12746:   lt_save_LD=$LD
                   12747:   lt_save_GCC=$GCC
                   12748:   GCC=$GXX
                   12749:   lt_save_with_gnu_ld=$with_gnu_ld
                   12750:   lt_save_path_LD=$lt_cv_path_LD
                   12751:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12752:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12753:   else
                   12754:     $as_unset lt_cv_prog_gnu_ld
                   12755:   fi
                   12756:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12757:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12758:   else
                   12759:     $as_unset lt_cv_path_LD
                   12760:   fi
                   12761:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12762:   CC=${CXX-"c++"}
                   12763:   CFLAGS=$CXXFLAGS
                   12764:   compiler=$CC
                   12765:   compiler_CXX=$CC
                   12766:   for cc_temp in $compiler""; do
                   12767:   case $cc_temp in
                   12768:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12769:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12770:     \-*) ;;
                   12771:     *) break;;
                   12772:   esac
                   12773: done
                   12774: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12775: 
                   12776: 
                   12777:   if test -n "$compiler"; then
                   12778:     # We don't want -fno-exception when compiling C++ code, so set the
                   12779:     # no_builtin_flag separately
                   12780:     if test "$GXX" = yes; then
                   12781:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12782:     else
                   12783:       lt_prog_compiler_no_builtin_flag_CXX=
                   12784:     fi
                   12785: 
                   12786:     if test "$GXX" = yes; then
                   12787:       # Set up default GNU C++ configuration
                   12788: 
                   12789: 
                   12790: 
                   12791: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12792: if test "${with_gnu_ld+set}" = set; then
                   12793:   withval="$with_gnu_ld"
                   12794:   test "$withval" = no || with_gnu_ld=yes
                   12795: else
                   12796:   with_gnu_ld=no
                   12797: fi;
                   12798: ac_prog=ld
                   12799: if test "$GCC" = yes; then
                   12800:   # Check if gcc -print-prog-name=ld gives a path.
                   12801:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12802: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12803:   case $host in
                   12804:   *-*-mingw*)
                   12805:     # gcc leaves a trailing carriage return which upsets mingw
                   12806:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12807:   *)
                   12808:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12809:   esac
                   12810:   case $ac_prog in
                   12811:     # Accept absolute paths.
                   12812:     [\\/]* | ?:[\\/]*)
                   12813:       re_direlt='/[^/][^/]*/\.\./'
                   12814:       # Canonicalize the pathname of ld
                   12815:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12816:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12817:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12818:       done
                   12819:       test -z "$LD" && LD="$ac_prog"
                   12820:       ;;
                   12821:   "")
                   12822:     # If it fails, then pretend we aren't using GCC.
                   12823:     ac_prog=ld
                   12824:     ;;
                   12825:   *)
                   12826:     # If it is relative, then search for the first ld in PATH.
                   12827:     with_gnu_ld=unknown
                   12828:     ;;
                   12829:   esac
                   12830: elif test "$with_gnu_ld" = yes; then
                   12831:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12832: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12833: else
                   12834:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12835: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12836: fi
                   12837: if test "${lt_cv_path_LD+set}" = set; then
                   12838:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12839: else
                   12840:   if test -z "$LD"; then
                   12841:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12842:   for ac_dir in $PATH; do
                   12843:     IFS="$lt_save_ifs"
                   12844:     test -z "$ac_dir" && ac_dir=.
                   12845:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12846:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12847:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12848:       # but apparently some variants of GNU ld only accept -v.
                   12849:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12850:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12851:       *GNU* | *'with BFD'*)
                   12852:        test "$with_gnu_ld" != no && break
                   12853:        ;;
                   12854:       *)
                   12855:        test "$with_gnu_ld" != yes && break
                   12856:        ;;
                   12857:       esac
                   12858:     fi
                   12859:   done
                   12860:   IFS="$lt_save_ifs"
                   12861: else
                   12862:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12863: fi
                   12864: fi
                   12865: 
                   12866: LD="$lt_cv_path_LD"
                   12867: if test -n "$LD"; then
                   12868:   echo "$as_me:$LINENO: result: $LD" >&5
                   12869: echo "${ECHO_T}$LD" >&6
                   12870: else
                   12871:   echo "$as_me:$LINENO: result: no" >&5
                   12872: echo "${ECHO_T}no" >&6
                   12873: fi
                   12874: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12875: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12876:    { (exit 1); exit 1; }; }
                   12877: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12878: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12879: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12880:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12881: else
                   12882:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12883: case `$LD -v 2>&1 </dev/null` in
                   12884: *GNU* | *'with BFD'*)
                   12885:   lt_cv_prog_gnu_ld=yes
                   12886:   ;;
                   12887: *)
                   12888:   lt_cv_prog_gnu_ld=no
                   12889:   ;;
                   12890: esac
                   12891: fi
                   12892: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12893: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12894: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12895: 
                   12896: 
                   12897: 
                   12898: 
                   12899: 
                   12900: 
                   12901: 
                   12902:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12903:       # archiving commands below assume that GNU ld is being used.
                   12904:       if test "$with_gnu_ld" = yes; then
                   12905:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12906:         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'
                   12907: 
                   12908:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12909:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12910: 
                   12911:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12912:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12913:         #     investigate it a little bit more. (MM)
                   12914:         wlarc='${wl}'
                   12915: 
                   12916:         # ancient GNU ld didn't support --whole-archive et. al.
                   12917:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12918:          $GREP 'no-whole-archive' > /dev/null; then
                   12919:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12920:         else
                   12921:           whole_archive_flag_spec_CXX=
                   12922:         fi
                   12923:       else
                   12924:         with_gnu_ld=no
                   12925:         wlarc=
                   12926: 
                   12927:         # A generic and very simple default shared library creation
                   12928:         # command for GNU C++ for the case where it uses the native
                   12929:         # linker, instead of GNU ld.  If possible, this setting should
                   12930:         # overridden to take advantage of the native linker features on
                   12931:         # the platform it is being used on.
                   12932:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12933:       fi
                   12934: 
                   12935:       # Commands to make compiler produce verbose output that lists
                   12936:       # what "hidden" libraries, object files and flags are used when
                   12937:       # linking a shared library.
                   12938:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12939: 
                   12940:     else
                   12941:       GXX=no
                   12942:       with_gnu_ld=no
                   12943:       wlarc=
                   12944:     fi
                   12945: 
                   12946:     # PORTME: fill in a description of your system's C++ link characteristics
                   12947:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12948: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12949:     ld_shlibs_CXX=yes
                   12950:     case $host_os in
                   12951:       aix3*)
                   12952:         # FIXME: insert proper C++ library support
                   12953:         ld_shlibs_CXX=no
                   12954:         ;;
                   12955:       aix[4-9]*)
                   12956:         if test "$host_cpu" = ia64; then
                   12957:           # On IA64, the linker does run time linking by default, so we don't
                   12958:           # have to do anything special.
                   12959:           aix_use_runtimelinking=no
                   12960:           exp_sym_flag='-Bexport'
                   12961:           no_entry_flag=""
                   12962:         else
                   12963:           aix_use_runtimelinking=no
                   12964: 
                   12965:           # Test if we are trying to use run time linking or normal
                   12966:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12967:           # need to do runtime linking.
                   12968:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12969:            for ld_flag in $LDFLAGS; do
                   12970:              case $ld_flag in
                   12971:              *-brtl*)
                   12972:                aix_use_runtimelinking=yes
                   12973:                break
                   12974:                ;;
                   12975:              esac
                   12976:            done
                   12977:            ;;
                   12978:           esac
                   12979: 
                   12980:           exp_sym_flag='-bexport'
                   12981:           no_entry_flag='-bnoentry'
                   12982:         fi
                   12983: 
                   12984:         # When large executables or shared objects are built, AIX ld can
                   12985:         # have problems creating the table of contents.  If linking a library
                   12986:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12987:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12988:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12989: 
                   12990:         archive_cmds_CXX=''
                   12991:         hardcode_direct_CXX=yes
                   12992:         hardcode_direct_absolute_CXX=yes
                   12993:         hardcode_libdir_separator_CXX=':'
                   12994:         link_all_deplibs_CXX=yes
                   12995:         file_list_spec_CXX='${wl}-f,'
                   12996: 
                   12997:         if test "$GXX" = yes; then
                   12998:           case $host_os in aix4.[012]|aix4.[012].*)
                   12999:           # We only want to do this on AIX 4.2 and lower, the check
                   13000:           # below for broken collect2 doesn't work under 4.3+
                   13001:          collect2name=`${CC} -print-prog-name=collect2`
                   13002:          if test -f "$collect2name" &&
                   13003:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13004:          then
                   13005:            # We have reworked collect2
                   13006:            :
                   13007:          else
                   13008:            # We have old collect2
                   13009:            hardcode_direct_CXX=unsupported
                   13010:            # It fails to find uninstalled libraries when the uninstalled
                   13011:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13012:            # to unsupported forces relinking
                   13013:            hardcode_minus_L_CXX=yes
                   13014:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13015:            hardcode_libdir_separator_CXX=
                   13016:          fi
                   13017:           esac
                   13018:           shared_flag='-shared'
                   13019:          if test "$aix_use_runtimelinking" = yes; then
                   13020:            shared_flag="$shared_flag "'${wl}-G'
                   13021:          fi
                   13022:         else
                   13023:           # not using gcc
                   13024:           if test "$host_cpu" = ia64; then
                   13025:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13026:          # chokes on -Wl,-G. The following line is correct:
                   13027:          shared_flag='-G'
                   13028:           else
                   13029:            if test "$aix_use_runtimelinking" = yes; then
                   13030:              shared_flag='${wl}-G'
                   13031:            else
                   13032:              shared_flag='${wl}-bM:SRE'
                   13033:            fi
                   13034:           fi
                   13035:         fi
                   13036: 
                   13037:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13038:         # It seems that -bexpall does not export symbols beginning with
                   13039:         # underscore (_), so it is better to generate a list of symbols to
                   13040:        # export.
                   13041:         always_export_symbols_CXX=yes
                   13042:         if test "$aix_use_runtimelinking" = yes; then
                   13043:           # Warning - without using the other runtime loading flags (-brtl),
                   13044:           # -berok will link without error, but may produce a broken library.
                   13045:           allow_undefined_flag_CXX='-berok'
                   13046:           # Determine the default libpath from the value encoded in an empty
                   13047:           # executable.
                   13048:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13049:   aix_libpath=$lt_cv_aix_libpath
                   13050: else
                   13051:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13052:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13053: else
                   13054:   cat >conftest.$ac_ext <<_ACEOF
                   13055: /* confdefs.h.  */
                   13056: _ACEOF
                   13057: cat confdefs.h >>conftest.$ac_ext
                   13058: cat >>conftest.$ac_ext <<_ACEOF
                   13059: /* end confdefs.h.  */
                   13060: 
                   13061: int
                   13062: main ()
                   13063: {
                   13064: 
                   13065:   ;
                   13066:   return 0;
                   13067: }
                   13068: _ACEOF
                   13069: rm -f conftest.$ac_objext conftest$ac_exeext
                   13070: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13071:   (eval $ac_link) 2>conftest.er1
                   13072:   ac_status=$?
                   13073:   grep -v '^ *+' conftest.er1 >conftest.err
                   13074:   rm -f conftest.er1
                   13075:   cat conftest.err >&5
                   13076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13077:   (exit $ac_status); } &&
                   13078:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13079:                         || test ! -s conftest.err'
                   13080:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13081:   (eval $ac_try) 2>&5
                   13082:   ac_status=$?
                   13083:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13084:   (exit $ac_status); }; } &&
                   13085:         { ac_try='test -s conftest$ac_exeext'
                   13086:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13087:   (eval $ac_try) 2>&5
                   13088:   ac_status=$?
                   13089:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13090:   (exit $ac_status); }; }; then
                   13091: 
                   13092:   lt_aix_libpath_sed='
                   13093:       /Import File Strings/,/^$/ {
                   13094:          /^0/ {
                   13095:              s/^0  *\([^ ]*\) *$/\1/
                   13096:              p
                   13097:          }
                   13098:       }'
                   13099:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13100:   # Check for a 64-bit object if we didn't find anything.
                   13101:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13102:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13103:   fi
                   13104: else
                   13105:   echo "$as_me: failed program was:" >&5
                   13106: sed 's/^/| /' conftest.$ac_ext >&5
                   13107: 
                   13108: fi
                   13109: rm -f conftest.err conftest.$ac_objext \
                   13110:       conftest$ac_exeext conftest.$ac_ext
                   13111:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13112:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13113:   fi
                   13114: 
                   13115: fi
                   13116: 
                   13117:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13118: fi
                   13119: 
                   13120:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13121: 
                   13122:           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"
                   13123:         else
                   13124:           if test "$host_cpu" = ia64; then
                   13125:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13126:            allow_undefined_flag_CXX="-z nodefs"
                   13127:            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"
                   13128:           else
                   13129:            # Determine the default libpath from the value encoded in an
                   13130:            # empty executable.
                   13131:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13132:   aix_libpath=$lt_cv_aix_libpath
                   13133: else
                   13134:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   13135:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13136: else
                   13137:   cat >conftest.$ac_ext <<_ACEOF
                   13138: /* confdefs.h.  */
                   13139: _ACEOF
                   13140: cat confdefs.h >>conftest.$ac_ext
                   13141: cat >>conftest.$ac_ext <<_ACEOF
                   13142: /* end confdefs.h.  */
                   13143: 
                   13144: int
                   13145: main ()
                   13146: {
                   13147: 
                   13148:   ;
                   13149:   return 0;
                   13150: }
                   13151: _ACEOF
                   13152: rm -f conftest.$ac_objext conftest$ac_exeext
                   13153: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   13154:   (eval $ac_link) 2>conftest.er1
                   13155:   ac_status=$?
                   13156:   grep -v '^ *+' conftest.er1 >conftest.err
                   13157:   rm -f conftest.er1
                   13158:   cat conftest.err >&5
                   13159:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13160:   (exit $ac_status); } &&
                   13161:         { ac_try='test -z "$ac_cxx_werror_flag"
                   13162:                         || test ! -s conftest.err'
                   13163:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13164:   (eval $ac_try) 2>&5
                   13165:   ac_status=$?
                   13166:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13167:   (exit $ac_status); }; } &&
                   13168:         { ac_try='test -s conftest$ac_exeext'
                   13169:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   13170:   (eval $ac_try) 2>&5
                   13171:   ac_status=$?
                   13172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13173:   (exit $ac_status); }; }; then
                   13174: 
                   13175:   lt_aix_libpath_sed='
                   13176:       /Import File Strings/,/^$/ {
                   13177:          /^0/ {
                   13178:              s/^0  *\([^ ]*\) *$/\1/
                   13179:              p
                   13180:          }
                   13181:       }'
                   13182:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13183:   # Check for a 64-bit object if we didn't find anything.
                   13184:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13185:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13186:   fi
                   13187: else
                   13188:   echo "$as_me: failed program was:" >&5
                   13189: sed 's/^/| /' conftest.$ac_ext >&5
                   13190: 
                   13191: fi
                   13192: rm -f conftest.err conftest.$ac_objext \
                   13193:       conftest$ac_exeext conftest.$ac_ext
                   13194:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13195:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13196:   fi
                   13197: 
                   13198: fi
                   13199: 
                   13200:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13201: fi
                   13202: 
                   13203:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13204:            # Warning - without using the other run time loading flags,
                   13205:            # -berok will link without error, but may produce a broken library.
                   13206:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13207:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13208:            if test "$with_gnu_ld" = yes; then
                   13209:              # We only use this code for GNU lds that support --whole-archive.
                   13210:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13211:            else
                   13212:              # Exported symbols can be pulled into shared objects from archives
                   13213:              whole_archive_flag_spec_CXX='$convenience'
                   13214:            fi
                   13215:            archive_cmds_need_lc_CXX=yes
                   13216:            # This is similar to how AIX traditionally builds its shared
                   13217:            # libraries.
                   13218:            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'
                   13219:           fi
                   13220:         fi
                   13221:         ;;
                   13222: 
                   13223:       beos*)
                   13224:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13225:          allow_undefined_flag_CXX=unsupported
                   13226:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13227:          # support --undefined.  This deserves some investigation.  FIXME
                   13228:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13229:        else
                   13230:          ld_shlibs_CXX=no
                   13231:        fi
                   13232:        ;;
                   13233: 
                   13234:       chorus*)
                   13235:         case $cc_basename in
                   13236:           *)
                   13237:          # FIXME: insert proper C++ library support
                   13238:          ld_shlibs_CXX=no
                   13239:          ;;
                   13240:         esac
                   13241:         ;;
                   13242: 
                   13243:       cygwin* | mingw* | pw32* | cegcc*)
                   13244:        case $GXX,$cc_basename in
                   13245:        ,cl* | no,cl*)
                   13246:          # Native MSVC
                   13247:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13248:          # no search path for DLLs.
                   13249:          hardcode_libdir_flag_spec_CXX=' '
                   13250:          allow_undefined_flag_CXX=unsupported
                   13251:          always_export_symbols_CXX=yes
                   13252:          file_list_spec_CXX='@'
                   13253:          # Tell ltmain to make .lib files, not .a files.
                   13254:          libext=lib
                   13255:          # Tell ltmain to make .dll files, not .so files.
                   13256:          shrext_cmds=".dll"
                   13257:          # FIXME: Setting linknames here is a bad hack.
                   13258:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13259:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13260:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13261:            else
                   13262:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13263:            fi~
                   13264:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13265:            linknames='
                   13266:          # The linker will not automatically build a static lib if we build a DLL.
                   13267:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13268:          enable_shared_with_static_runtimes_CXX=yes
                   13269:          # Don't use ranlib
                   13270:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13271:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13272:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13273:            case $lt_outputfile in
                   13274:              *.exe|*.EXE) ;;
                   13275:              *)
                   13276:                lt_outputfile="$lt_outputfile.exe"
                   13277:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13278:                ;;
                   13279:            esac~
                   13280:            func_to_tool_file "$lt_outputfile"~
                   13281:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13282:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13283:              $RM "$lt_outputfile.manifest";
                   13284:            fi'
                   13285:          ;;
                   13286:        *)
                   13287:          # g++
                   13288:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13289:          # as there is no search path for DLLs.
                   13290:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13291:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13292:          allow_undefined_flag_CXX=unsupported
                   13293:          always_export_symbols_CXX=no
                   13294:          enable_shared_with_static_runtimes_CXX=yes
                   13295: 
                   13296:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13297:            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'
                   13298:            # If the export-symbols file already is a .def file (1st line
                   13299:            # is EXPORTS), use it as is; otherwise, prepend...
                   13300:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13301:              cp $export_symbols $output_objdir/$soname.def;
                   13302:            else
                   13303:              echo EXPORTS > $output_objdir/$soname.def;
                   13304:              cat $export_symbols >> $output_objdir/$soname.def;
                   13305:            fi~
                   13306:            $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'
                   13307:          else
                   13308:            ld_shlibs_CXX=no
                   13309:          fi
                   13310:          ;;
                   13311:        esac
                   13312:        ;;
                   13313:       darwin* | rhapsody*)
                   13314: 
                   13315: 
                   13316:   archive_cmds_need_lc_CXX=no
                   13317:   hardcode_direct_CXX=no
                   13318:   hardcode_automatic_CXX=yes
                   13319:   hardcode_shlibpath_var_CXX=unsupported
                   13320:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13321:     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\"`'
                   13322: 
                   13323:   else
                   13324:     whole_archive_flag_spec_CXX=''
                   13325:   fi
                   13326:   link_all_deplibs_CXX=yes
                   13327:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13328:   case $cc_basename in
                   13329:      ifort*) _lt_dar_can_shared=yes ;;
                   13330:      *) _lt_dar_can_shared=$GCC ;;
                   13331:   esac
                   13332:   if test "$_lt_dar_can_shared" = "yes"; then
                   13333:     output_verbose_link_cmd=func_echo_all
                   13334:     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}"
                   13335:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13336:     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}"
                   13337:     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}"
                   13338:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13339:       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}"
                   13340:       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}"
                   13341:     fi
                   13342: 
                   13343:   else
                   13344:   ld_shlibs_CXX=no
                   13345:   fi
                   13346: 
                   13347:        ;;
                   13348: 
                   13349:       dgux*)
                   13350:         case $cc_basename in
                   13351:           ec++*)
                   13352:            # FIXME: insert proper C++ library support
                   13353:            ld_shlibs_CXX=no
                   13354:            ;;
                   13355:           ghcx*)
                   13356:            # Green Hills C++ Compiler
                   13357:            # FIXME: insert proper C++ library support
                   13358:            ld_shlibs_CXX=no
                   13359:            ;;
                   13360:           *)
                   13361:            # FIXME: insert proper C++ library support
                   13362:            ld_shlibs_CXX=no
                   13363:            ;;
                   13364:         esac
                   13365:         ;;
                   13366: 
                   13367:       freebsd2.*)
                   13368:         # C++ shared libraries reported to be fairly broken before
                   13369:        # switch to ELF
                   13370:         ld_shlibs_CXX=no
                   13371:         ;;
                   13372: 
                   13373:       freebsd-elf*)
                   13374:         archive_cmds_need_lc_CXX=no
                   13375:         ;;
                   13376: 
                   13377:       freebsd* | dragonfly*)
                   13378:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13379:         # conventions
                   13380:         ld_shlibs_CXX=yes
                   13381:         ;;
                   13382: 
                   13383:       gnu*)
                   13384:         ;;
                   13385: 
                   13386:       haiku*)
                   13387:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13388:         link_all_deplibs_CXX=yes
                   13389:         ;;
                   13390: 
                   13391:       hpux9*)
                   13392:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13393:         hardcode_libdir_separator_CXX=:
                   13394:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13395:         hardcode_direct_CXX=yes
                   13396:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13397:                                             # but as the default
                   13398:                                             # location of the library.
                   13399: 
                   13400:         case $cc_basename in
                   13401:           CC*)
                   13402:             # FIXME: insert proper C++ library support
                   13403:             ld_shlibs_CXX=no
                   13404:             ;;
                   13405:           aCC*)
                   13406:             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'
                   13407:             # Commands to make compiler produce verbose output that lists
                   13408:             # what "hidden" libraries, object files and flags are used when
                   13409:             # linking a shared library.
                   13410:             #
                   13411:             # There doesn't appear to be a way to prevent this compiler from
                   13412:             # explicitly linking system object files so we need to strip them
                   13413:             # from the output so that they don't get included in the library
                   13414:             # dependencies.
                   13415:             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"'
                   13416:             ;;
                   13417:           *)
                   13418:             if test "$GXX" = yes; then
                   13419:               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'
                   13420:             else
                   13421:               # FIXME: insert proper C++ library support
                   13422:               ld_shlibs_CXX=no
                   13423:             fi
                   13424:             ;;
                   13425:         esac
                   13426:         ;;
                   13427: 
                   13428:       hpux10*|hpux11*)
                   13429:         if test $with_gnu_ld = no; then
                   13430:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13431:          hardcode_libdir_separator_CXX=:
                   13432: 
                   13433:           case $host_cpu in
                   13434:             hppa*64*|ia64*)
                   13435:               ;;
                   13436:             *)
                   13437:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13438:               ;;
                   13439:           esac
                   13440:         fi
                   13441:         case $host_cpu in
                   13442:           hppa*64*|ia64*)
                   13443:             hardcode_direct_CXX=no
                   13444:             hardcode_shlibpath_var_CXX=no
                   13445:             ;;
                   13446:           *)
                   13447:             hardcode_direct_CXX=yes
                   13448:             hardcode_direct_absolute_CXX=yes
                   13449:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13450:                                                 # but as the default
                   13451:                                                 # location of the library.
                   13452:             ;;
                   13453:         esac
                   13454: 
                   13455:         case $cc_basename in
                   13456:           CC*)
                   13457:            # FIXME: insert proper C++ library support
                   13458:            ld_shlibs_CXX=no
                   13459:            ;;
                   13460:           aCC*)
                   13461:            case $host_cpu in
                   13462:              hppa*64*)
                   13463:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13464:                ;;
                   13465:              ia64*)
                   13466:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13467:                ;;
                   13468:              *)
                   13469:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13470:                ;;
                   13471:            esac
                   13472:            # Commands to make compiler produce verbose output that lists
                   13473:            # what "hidden" libraries, object files and flags are used when
                   13474:            # linking a shared library.
                   13475:            #
                   13476:            # There doesn't appear to be a way to prevent this compiler from
                   13477:            # explicitly linking system object files so we need to strip them
                   13478:            # from the output so that they don't get included in the library
                   13479:            # dependencies.
                   13480:            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"'
                   13481:            ;;
                   13482:           *)
                   13483:            if test "$GXX" = yes; then
                   13484:              if test $with_gnu_ld = no; then
                   13485:                case $host_cpu in
                   13486:                  hppa*64*)
                   13487:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13488:                    ;;
                   13489:                  ia64*)
                   13490:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13491:                    ;;
                   13492:                  *)
                   13493:                    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'
                   13494:                    ;;
                   13495:                esac
                   13496:              fi
                   13497:            else
                   13498:              # FIXME: insert proper C++ library support
                   13499:              ld_shlibs_CXX=no
                   13500:            fi
                   13501:            ;;
                   13502:         esac
                   13503:         ;;
                   13504: 
                   13505:       interix[3-9]*)
                   13506:        hardcode_direct_CXX=no
                   13507:        hardcode_shlibpath_var_CXX=no
                   13508:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13509:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13510:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13511:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13512:        # default) and relocated if they conflict, which is a slow very memory
                   13513:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13514:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13515:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13516:        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'
                   13517:        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'
                   13518:        ;;
                   13519:       irix5* | irix6*)
                   13520:         case $cc_basename in
                   13521:           CC*)
                   13522:            # SGI C++
                   13523:            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'
                   13524: 
                   13525:            # Archives containing C++ object files must be created using
                   13526:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13527:            # necessary to make sure instantiated templates are included
                   13528:            # in the archive.
                   13529:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13530:            ;;
                   13531:           *)
                   13532:            if test "$GXX" = yes; then
                   13533:              if test "$with_gnu_ld" = no; then
                   13534:                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'
                   13535:              else
                   13536:                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'
                   13537:              fi
                   13538:            fi
                   13539:            link_all_deplibs_CXX=yes
                   13540:            ;;
                   13541:         esac
                   13542:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13543:         hardcode_libdir_separator_CXX=:
                   13544:         inherit_rpath_CXX=yes
                   13545:         ;;
                   13546: 
                   13547:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13548:         case $cc_basename in
                   13549:           KCC*)
                   13550:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13551: 
                   13552:            # KCC will only create a shared library if the output file
                   13553:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13554:            # to its proper name (with version) after linking.
                   13555:            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'
                   13556:            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'
                   13557:            # Commands to make compiler produce verbose output that lists
                   13558:            # what "hidden" libraries, object files and flags are used when
                   13559:            # linking a shared library.
                   13560:            #
                   13561:            # There doesn't appear to be a way to prevent this compiler from
                   13562:            # explicitly linking system object files so we need to strip them
                   13563:            # from the output so that they don't get included in the library
                   13564:            # dependencies.
                   13565:            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"'
                   13566: 
                   13567:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13568:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13569: 
                   13570:            # Archives containing C++ object files must be created using
                   13571:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13572:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13573:            ;;
                   13574:          icpc* | ecpc* )
                   13575:            # Intel C++
                   13576:            with_gnu_ld=yes
                   13577:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13578:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13579:            # earlier do not add the objects themselves.
                   13580:            case `$CC -V 2>&1` in
                   13581:              *"Version 7."*)
                   13582:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13583:                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'
                   13584:                ;;
                   13585:              *)  # Version 8.0 or newer
                   13586:                tmp_idyn=
                   13587:                case $host_cpu in
                   13588:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13589:                esac
                   13590:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13591:                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'
                   13592:                ;;
                   13593:            esac
                   13594:            archive_cmds_need_lc_CXX=no
                   13595:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13596:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13597:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13598:            ;;
                   13599:           pgCC* | pgcpp*)
                   13600:             # Portland Group C++ compiler
                   13601:            case `$CC -V` in
                   13602:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13603:              prelink_cmds_CXX='tpldir=Template.dir~
                   13604:                rm -rf $tpldir~
                   13605:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13606:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13607:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13608:                rm -rf $tpldir~
                   13609:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13610:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13611:                $RANLIB $oldlib'
                   13612:              archive_cmds_CXX='tpldir=Template.dir~
                   13613:                rm -rf $tpldir~
                   13614:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13615:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13616:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13617:                rm -rf $tpldir~
                   13618:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13619:                $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'
                   13620:              ;;
                   13621:            *) # Version 6 and above use weak symbols
                   13622:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13623:              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'
                   13624:              ;;
                   13625:            esac
                   13626: 
                   13627:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13628:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13629:            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'
                   13630:             ;;
                   13631:          cxx*)
                   13632:            # Compaq C++
                   13633:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13634:            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'
                   13635: 
                   13636:            runpath_var=LD_RUN_PATH
                   13637:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13638:            hardcode_libdir_separator_CXX=:
                   13639: 
                   13640:            # Commands to make compiler produce verbose output that lists
                   13641:            # what "hidden" libraries, object files and flags are used when
                   13642:            # linking a shared library.
                   13643:            #
                   13644:            # There doesn't appear to be a way to prevent this compiler from
                   13645:            # explicitly linking system object files so we need to strip them
                   13646:            # from the output so that they don't get included in the library
                   13647:            # dependencies.
                   13648:            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'
                   13649:            ;;
                   13650:          xl* | mpixl* | bgxl*)
                   13651:            # IBM XL 8.0 on PPC, with GNU ld
                   13652:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13653:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13654:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13655:            if test "x$supports_anon_versioning" = xyes; then
                   13656:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13657:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13658:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13659:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13660:            fi
                   13661:            ;;
                   13662:          *)
                   13663:            case `$CC -V 2>&1 | sed 5q` in
                   13664:            *Sun\ C*)
                   13665:              # Sun C++ 5.9
                   13666:              no_undefined_flag_CXX=' -zdefs'
                   13667:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13668:              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'
                   13669:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13670:              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'
                   13671:              compiler_needs_object_CXX=yes
                   13672: 
                   13673:              # Not sure whether something based on
                   13674:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13675:              # would be better.
                   13676:              output_verbose_link_cmd='func_echo_all'
                   13677: 
                   13678:              # Archives containing C++ object files must be created using
                   13679:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13680:              # necessary to make sure instantiated templates are included
                   13681:              # in the archive.
                   13682:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13683:              ;;
                   13684:            esac
                   13685:            ;;
                   13686:        esac
                   13687:        ;;
                   13688: 
                   13689:       lynxos*)
                   13690:         # FIXME: insert proper C++ library support
                   13691:        ld_shlibs_CXX=no
                   13692:        ;;
                   13693: 
                   13694:       m88k*)
                   13695:         # FIXME: insert proper C++ library support
                   13696:         ld_shlibs_CXX=no
                   13697:        ;;
                   13698: 
                   13699:       mvs*)
                   13700:         case $cc_basename in
                   13701:           cxx*)
                   13702:            # FIXME: insert proper C++ library support
                   13703:            ld_shlibs_CXX=no
                   13704:            ;;
                   13705:          *)
                   13706:            # FIXME: insert proper C++ library support
                   13707:            ld_shlibs_CXX=no
                   13708:            ;;
                   13709:        esac
                   13710:        ;;
                   13711: 
                   13712:       netbsd*)
                   13713:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13714:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13715:          wlarc=
                   13716:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13717:          hardcode_direct_CXX=yes
                   13718:          hardcode_shlibpath_var_CXX=no
                   13719:        fi
                   13720:        # Workaround some broken pre-1.5 toolchains
                   13721:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13722:        ;;
                   13723: 
                   13724:       *nto* | *qnx*)
                   13725:         ld_shlibs_CXX=yes
                   13726:        ;;
                   13727: 
                   13728:       openbsd2*)
                   13729:         # C++ shared libraries are fairly broken
                   13730:        ld_shlibs_CXX=no
                   13731:        ;;
                   13732: 
                   13733:       openbsd*)
                   13734:        if test -f /usr/libexec/ld.so; then
                   13735:          hardcode_direct_CXX=yes
                   13736:          hardcode_shlibpath_var_CXX=no
                   13737:          hardcode_direct_absolute_CXX=yes
                   13738:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13739:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13740:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13741:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13742:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13743:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13744:          fi
                   13745:          output_verbose_link_cmd=func_echo_all
                   13746:        else
                   13747:          ld_shlibs_CXX=no
                   13748:        fi
                   13749:        ;;
                   13750: 
                   13751:       osf3* | osf4* | osf5*)
                   13752:         case $cc_basename in
                   13753:           KCC*)
                   13754:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13755: 
                   13756:            # KCC will only create a shared library if the output file
                   13757:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13758:            # to its proper name (with version) after linking.
                   13759:            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'
                   13760: 
                   13761:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13762:            hardcode_libdir_separator_CXX=:
                   13763: 
                   13764:            # Archives containing C++ object files must be created using
                   13765:            # the KAI C++ compiler.
                   13766:            case $host in
                   13767:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13768:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13769:            esac
                   13770:            ;;
                   13771:           RCC*)
                   13772:            # Rational C++ 2.4.1
                   13773:            # FIXME: insert proper C++ library support
                   13774:            ld_shlibs_CXX=no
                   13775:            ;;
                   13776:           cxx*)
                   13777:            case $host in
                   13778:              osf3*)
                   13779:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13780:                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'
                   13781:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13782:                ;;
                   13783:              *)
                   13784:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13785:                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'
                   13786:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13787:                  echo "-hidden">> $lib.exp~
                   13788:                  $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~
                   13789:                  $RM $lib.exp'
                   13790:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13791:                ;;
                   13792:            esac
                   13793: 
                   13794:            hardcode_libdir_separator_CXX=:
                   13795: 
                   13796:            # Commands to make compiler produce verbose output that lists
                   13797:            # what "hidden" libraries, object files and flags are used when
                   13798:            # linking a shared library.
                   13799:            #
                   13800:            # There doesn't appear to be a way to prevent this compiler from
                   13801:            # explicitly linking system object files so we need to strip them
                   13802:            # from the output so that they don't get included in the library
                   13803:            # dependencies.
                   13804:            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"'
                   13805:            ;;
                   13806:          *)
                   13807:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13808:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13809:              case $host in
                   13810:                osf3*)
                   13811:                  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'
                   13812:                  ;;
                   13813:                *)
                   13814:                  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'
                   13815:                  ;;
                   13816:              esac
                   13817: 
                   13818:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13819:              hardcode_libdir_separator_CXX=:
                   13820: 
                   13821:              # Commands to make compiler produce verbose output that lists
                   13822:              # what "hidden" libraries, object files and flags are used when
                   13823:              # linking a shared library.
                   13824:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13825: 
                   13826:            else
                   13827:              # FIXME: insert proper C++ library support
                   13828:              ld_shlibs_CXX=no
                   13829:            fi
                   13830:            ;;
                   13831:         esac
                   13832:         ;;
                   13833: 
                   13834:       psos*)
                   13835:         # FIXME: insert proper C++ library support
                   13836:         ld_shlibs_CXX=no
                   13837:         ;;
                   13838: 
                   13839:       sunos4*)
                   13840:         case $cc_basename in
                   13841:           CC*)
                   13842:            # Sun C++ 4.x
                   13843:            # FIXME: insert proper C++ library support
                   13844:            ld_shlibs_CXX=no
                   13845:            ;;
                   13846:           lcc*)
                   13847:            # Lucid
                   13848:            # FIXME: insert proper C++ library support
                   13849:            ld_shlibs_CXX=no
                   13850:            ;;
                   13851:           *)
                   13852:            # FIXME: insert proper C++ library support
                   13853:            ld_shlibs_CXX=no
                   13854:            ;;
                   13855:         esac
                   13856:         ;;
                   13857: 
                   13858:       solaris*)
                   13859:         case $cc_basename in
                   13860:           CC* | sunCC*)
                   13861:            # Sun C++ 4.2, 5.x and Centerline C++
                   13862:             archive_cmds_need_lc_CXX=yes
                   13863:            no_undefined_flag_CXX=' -zdefs'
                   13864:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13865:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13866:              $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'
                   13867: 
                   13868:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13869:            hardcode_shlibpath_var_CXX=no
                   13870:            case $host_os in
                   13871:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13872:              *)
                   13873:                # The compiler driver will combine and reorder linker options,
                   13874:                # but understands `-z linker_flag'.
                   13875:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13876:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13877:                ;;
                   13878:            esac
                   13879:            link_all_deplibs_CXX=yes
                   13880: 
                   13881:            output_verbose_link_cmd='func_echo_all'
                   13882: 
                   13883:            # Archives containing C++ object files must be created using
                   13884:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13885:            # necessary to make sure instantiated templates are included
                   13886:            # in the archive.
                   13887:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13888:            ;;
                   13889:           gcx*)
                   13890:            # Green Hills C++ Compiler
                   13891:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13892: 
                   13893:            # The C++ compiler must be used to create the archive.
                   13894:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13895:            ;;
                   13896:           *)
                   13897:            # GNU C++ compiler with Solaris linker
                   13898:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13899:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13900:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13901:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13902:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13903:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13904: 
                   13905:                # Commands to make compiler produce verbose output that lists
                   13906:                # what "hidden" libraries, object files and flags are used when
                   13907:                # linking a shared library.
                   13908:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13909:              else
                   13910:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13911:                # platform.
                   13912:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13913:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13914:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13915: 
                   13916:                # Commands to make compiler produce verbose output that lists
                   13917:                # what "hidden" libraries, object files and flags are used when
                   13918:                # linking a shared library.
                   13919:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13920:              fi
                   13921: 
                   13922:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13923:              case $host_os in
                   13924:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13925:                *)
                   13926:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13927:                  ;;
                   13928:              esac
                   13929:            fi
                   13930:            ;;
                   13931:         esac
                   13932:         ;;
                   13933: 
                   13934:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13935:       no_undefined_flag_CXX='${wl}-z,text'
                   13936:       archive_cmds_need_lc_CXX=no
                   13937:       hardcode_shlibpath_var_CXX=no
                   13938:       runpath_var='LD_RUN_PATH'
                   13939: 
                   13940:       case $cc_basename in
                   13941:         CC*)
                   13942:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13943:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13944:          ;;
                   13945:        *)
                   13946:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13947:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13948:          ;;
                   13949:       esac
                   13950:       ;;
                   13951: 
                   13952:       sysv5* | sco3.2v5* | sco5v6*)
                   13953:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13954:        # link with -lc, and that would cause any symbols used from libc to
                   13955:        # always be unresolved, which means just about no library would
                   13956:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13957:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13958:        # as -z defs.
                   13959:        no_undefined_flag_CXX='${wl}-z,text'
                   13960:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13961:        archive_cmds_need_lc_CXX=no
                   13962:        hardcode_shlibpath_var_CXX=no
                   13963:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13964:        hardcode_libdir_separator_CXX=':'
                   13965:        link_all_deplibs_CXX=yes
                   13966:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13967:        runpath_var='LD_RUN_PATH'
                   13968: 
                   13969:        case $cc_basename in
                   13970:           CC*)
                   13971:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13972:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13973:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13974:              '"$old_archive_cmds_CXX"
                   13975:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13976:              '"$reload_cmds_CXX"
                   13977:            ;;
                   13978:          *)
                   13979:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13980:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13981:            ;;
                   13982:        esac
                   13983:       ;;
                   13984: 
                   13985:       tandem*)
                   13986:         case $cc_basename in
                   13987:           NCC*)
                   13988:            # NonStop-UX NCC 3.20
                   13989:            # FIXME: insert proper C++ library support
                   13990:            ld_shlibs_CXX=no
                   13991:            ;;
                   13992:           *)
                   13993:            # FIXME: insert proper C++ library support
                   13994:            ld_shlibs_CXX=no
                   13995:            ;;
                   13996:         esac
                   13997:         ;;
                   13998: 
                   13999:       vxworks*)
                   14000:         # FIXME: insert proper C++ library support
                   14001:         ld_shlibs_CXX=no
                   14002:         ;;
                   14003: 
                   14004:       *)
                   14005:         # FIXME: insert proper C++ library support
                   14006:         ld_shlibs_CXX=no
                   14007:         ;;
                   14008:     esac
                   14009: 
                   14010:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14011: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14012:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14013: 
                   14014:     GCC_CXX="$GXX"
                   14015:     LD_CXX="$LD"
                   14016: 
                   14017:     ## CAVEAT EMPTOR:
                   14018:     ## There is no encapsulation within the following macros, do not change
                   14019:     ## the running order or otherwise move them around unless you know exactly
                   14020:     ## what you are doing...
                   14021:     # Dependencies to place before and after the object being linked:
                   14022: predep_objects_CXX=
                   14023: postdep_objects_CXX=
                   14024: predeps_CXX=
                   14025: postdeps_CXX=
                   14026: compiler_lib_search_path_CXX=
                   14027: 
                   14028: cat > conftest.$ac_ext <<_LT_EOF
                   14029: class Foo
                   14030: {
                   14031: public:
                   14032:   Foo (void) { a = 0; }
                   14033: private:
                   14034:   int a;
                   14035: };
                   14036: _LT_EOF
                   14037: 
                   14038: 
                   14039: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14040: case "$CC $CFLAGS " in #(
                   14041: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14042: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14043: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14044: esac
                   14045: 
                   14046: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14047:   (eval $ac_compile) 2>&5
                   14048:   ac_status=$?
                   14049:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14050:   (exit $ac_status); }; then
                   14051:   # Parse the compiler output and extract the necessary
                   14052:   # objects, libraries and library flags.
                   14053: 
                   14054:   # Sentinel used to keep track of whether or not we are before
                   14055:   # the conftest object file.
                   14056:   pre_test_object_deps_done=no
                   14057: 
                   14058:   for p in `eval "$output_verbose_link_cmd"`; do
                   14059:     case ${prev}${p} in
                   14060: 
                   14061:     -L* | -R* | -l*)
                   14062:        # Some compilers place space between "-{L,R}" and the path.
                   14063:        # Remove the space.
                   14064:        if test $p = "-L" ||
                   14065:           test $p = "-R"; then
                   14066:         prev=$p
                   14067:         continue
                   14068:        fi
                   14069: 
                   14070:        # Expand the sysroot to ease extracting the directories later.
                   14071:        if test -z "$prev"; then
                   14072:          case $p in
                   14073:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14074:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14075:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14076:          esac
                   14077:        fi
                   14078:        case $p in
                   14079:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14080:        esac
                   14081:        if test "$pre_test_object_deps_done" = no; then
                   14082:         case ${prev} in
                   14083:         -L | -R)
                   14084:           # Internal compiler library paths should come after those
                   14085:           # provided the user.  The postdeps already come after the
                   14086:           # user supplied libs so there is no need to process them.
                   14087:           if test -z "$compiler_lib_search_path_CXX"; then
                   14088:             compiler_lib_search_path_CXX="${prev}${p}"
                   14089:           else
                   14090:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14091:           fi
                   14092:           ;;
                   14093:         # The "-l" case would never come before the object being
                   14094:         # linked, so don't bother handling this case.
                   14095:         esac
                   14096:        else
                   14097:         if test -z "$postdeps_CXX"; then
                   14098:           postdeps_CXX="${prev}${p}"
                   14099:         else
                   14100:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14101:         fi
                   14102:        fi
                   14103:        prev=
                   14104:        ;;
                   14105: 
                   14106:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14107:     *.$objext)
                   14108:        # This assumes that the test object file only shows up
                   14109:        # once in the compiler output.
                   14110:        if test "$p" = "conftest.$objext"; then
                   14111:         pre_test_object_deps_done=yes
                   14112:         continue
                   14113:        fi
                   14114: 
                   14115:        if test "$pre_test_object_deps_done" = no; then
                   14116:         if test -z "$predep_objects_CXX"; then
                   14117:           predep_objects_CXX="$p"
                   14118:         else
                   14119:           predep_objects_CXX="$predep_objects_CXX $p"
                   14120:         fi
                   14121:        else
                   14122:         if test -z "$postdep_objects_CXX"; then
                   14123:           postdep_objects_CXX="$p"
                   14124:         else
                   14125:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14126:         fi
                   14127:        fi
                   14128:        ;;
                   14129: 
                   14130:     *) ;; # Ignore the rest.
                   14131: 
                   14132:     esac
                   14133:   done
                   14134: 
                   14135:   # Clean up.
                   14136:   rm -f a.out a.exe
                   14137: else
                   14138:   echo "libtool.m4: error: problem compiling CXX test program"
                   14139: fi
                   14140: 
                   14141: $RM -f confest.$objext
                   14142: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14143: 
                   14144: # PORTME: override above test on systems where it is broken
                   14145: case $host_os in
                   14146: interix[3-9]*)
                   14147:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14148:   # hack all around it, let's just trust "g++" to DTRT.
                   14149:   predep_objects_CXX=
                   14150:   postdep_objects_CXX=
                   14151:   postdeps_CXX=
                   14152:   ;;
                   14153: 
                   14154: linux*)
                   14155:   case `$CC -V 2>&1 | sed 5q` in
                   14156:   *Sun\ C*)
                   14157:     # Sun C++ 5.9
                   14158: 
                   14159:     # The more standards-conforming stlport4 library is
                   14160:     # incompatible with the Cstd library. Avoid specifying
                   14161:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14162:     # -library=stlport4 depends on it.
                   14163:     case " $CXX $CXXFLAGS " in
                   14164:     *" -library=stlport4 "*)
                   14165:       solaris_use_stlport4=yes
                   14166:       ;;
                   14167:     esac
                   14168: 
                   14169:     if test "$solaris_use_stlport4" != yes; then
                   14170:       postdeps_CXX='-library=Cstd -library=Crun'
                   14171:     fi
                   14172:     ;;
                   14173:   esac
                   14174:   ;;
                   14175: 
                   14176: solaris*)
                   14177:   case $cc_basename in
                   14178:   CC* | sunCC*)
                   14179:     # The more standards-conforming stlport4 library is
                   14180:     # incompatible with the Cstd library. Avoid specifying
                   14181:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14182:     # -library=stlport4 depends on it.
                   14183:     case " $CXX $CXXFLAGS " in
                   14184:     *" -library=stlport4 "*)
                   14185:       solaris_use_stlport4=yes
                   14186:       ;;
                   14187:     esac
                   14188: 
                   14189:     # Adding this requires a known-good setup of shared libraries for
                   14190:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14191:     # archive will be linked into the output, leading to subtle bugs.
                   14192:     if test "$solaris_use_stlport4" != yes; then
                   14193:       postdeps_CXX='-library=Cstd -library=Crun'
                   14194:     fi
                   14195:     ;;
                   14196:   esac
                   14197:   ;;
                   14198: esac
                   14199: 
                   14200: 
                   14201: case " $postdeps_CXX " in
                   14202: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14203: esac
                   14204:  compiler_lib_search_dirs_CXX=
                   14205: if test -n "${compiler_lib_search_path_CXX}"; then
                   14206:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14207: fi
                   14208: 
                   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:     lt_prog_compiler_wl_CXX=
                   14240: lt_prog_compiler_pic_CXX=
                   14241: lt_prog_compiler_static_CXX=
                   14242: 
                   14243: 
                   14244:   # C++ specific cases for pic, static, wl, etc.
                   14245:   if test "$GXX" = yes; then
                   14246:     lt_prog_compiler_wl_CXX='-Wl,'
                   14247:     lt_prog_compiler_static_CXX='-static'
                   14248: 
                   14249:     case $host_os in
                   14250:     aix*)
                   14251:       # All AIX code is PIC.
                   14252:       if test "$host_cpu" = ia64; then
                   14253:        # AIX 5 now supports IA64 processor
                   14254:        lt_prog_compiler_static_CXX='-Bstatic'
                   14255:       fi
                   14256:       ;;
                   14257: 
                   14258:     amigaos*)
                   14259:       case $host_cpu in
                   14260:       powerpc)
                   14261:             # see comment about AmigaOS4 .so support
                   14262:             lt_prog_compiler_pic_CXX='-fPIC'
                   14263:         ;;
                   14264:       m68k)
                   14265:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14266:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14267:             # like `-m68040'.
                   14268:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14269:         ;;
                   14270:       esac
                   14271:       ;;
                   14272: 
                   14273:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14274:       # PIC is the default for these OSes.
                   14275:       ;;
                   14276:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14277:       # This hack is so that the source file can tell whether it is being
                   14278:       # built for inclusion in a dll (and should export symbols for example).
                   14279:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14280:       # (--disable-auto-import) libraries
                   14281:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14282:       ;;
                   14283:     darwin* | rhapsody*)
                   14284:       # PIC is the default on this platform
                   14285:       # Common symbols not allowed in MH_DYLIB files
                   14286:       lt_prog_compiler_pic_CXX='-fno-common'
                   14287:       ;;
                   14288:     *djgpp*)
                   14289:       # DJGPP does not support shared libraries at all
                   14290:       lt_prog_compiler_pic_CXX=
                   14291:       ;;
                   14292:     haiku*)
                   14293:       # PIC is the default for Haiku.
                   14294:       # The "-static" flag exists, but is broken.
                   14295:       lt_prog_compiler_static_CXX=
                   14296:       ;;
                   14297:     interix[3-9]*)
                   14298:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14299:       # Instead, we relocate shared libraries at runtime.
                   14300:       ;;
                   14301:     sysv4*MP*)
                   14302:       if test -d /usr/nec; then
                   14303:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14304:       fi
                   14305:       ;;
                   14306:     hpux*)
                   14307:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14308:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14309:       # sets the default TLS model and affects inlining.
                   14310:       case $host_cpu in
                   14311:       hppa*64*)
                   14312:        ;;
                   14313:       *)
                   14314:        lt_prog_compiler_pic_CXX='-fPIC'
                   14315:        ;;
                   14316:       esac
                   14317:       ;;
                   14318:     *qnx* | *nto*)
                   14319:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14320:       # it will coredump.
                   14321:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14322:       ;;
                   14323:     *)
                   14324:       lt_prog_compiler_pic_CXX='-fPIC'
                   14325:       ;;
                   14326:     esac
                   14327:   else
                   14328:     case $host_os in
                   14329:       aix[4-9]*)
                   14330:        # All AIX code is PIC.
                   14331:        if test "$host_cpu" = ia64; then
                   14332:          # AIX 5 now supports IA64 processor
                   14333:          lt_prog_compiler_static_CXX='-Bstatic'
                   14334:        else
                   14335:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14336:        fi
                   14337:        ;;
                   14338:       chorus*)
                   14339:        case $cc_basename in
                   14340:        cxch68*)
                   14341:          # Green Hills C++ Compiler
                   14342:          # _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"
                   14343:          ;;
                   14344:        esac
                   14345:        ;;
                   14346:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14347:        # This hack is so that the source file can tell whether it is being
                   14348:        # built for inclusion in a dll (and should export symbols for example).
                   14349:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14350:        ;;
                   14351:       dgux*)
                   14352:        case $cc_basename in
                   14353:          ec++*)
                   14354:            lt_prog_compiler_pic_CXX='-KPIC'
                   14355:            ;;
                   14356:          ghcx*)
                   14357:            # Green Hills C++ Compiler
                   14358:            lt_prog_compiler_pic_CXX='-pic'
                   14359:            ;;
                   14360:          *)
                   14361:            ;;
                   14362:        esac
                   14363:        ;;
                   14364:       freebsd* | dragonfly*)
                   14365:        # FreeBSD uses GNU C++
                   14366:        ;;
                   14367:       hpux9* | hpux10* | hpux11*)
                   14368:        case $cc_basename in
                   14369:          CC*)
                   14370:            lt_prog_compiler_wl_CXX='-Wl,'
                   14371:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14372:            if test "$host_cpu" != ia64; then
                   14373:              lt_prog_compiler_pic_CXX='+Z'
                   14374:            fi
                   14375:            ;;
                   14376:          aCC*)
                   14377:            lt_prog_compiler_wl_CXX='-Wl,'
                   14378:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14379:            case $host_cpu in
                   14380:            hppa*64*|ia64*)
                   14381:              # +Z the default
                   14382:              ;;
                   14383:            *)
                   14384:              lt_prog_compiler_pic_CXX='+Z'
                   14385:              ;;
                   14386:            esac
                   14387:            ;;
                   14388:          *)
                   14389:            ;;
                   14390:        esac
                   14391:        ;;
                   14392:       interix*)
                   14393:        # This is c89, which is MS Visual C++ (no shared libs)
                   14394:        # Anyone wants to do a port?
                   14395:        ;;
                   14396:       irix5* | irix6* | nonstopux*)
                   14397:        case $cc_basename in
                   14398:          CC*)
                   14399:            lt_prog_compiler_wl_CXX='-Wl,'
                   14400:            lt_prog_compiler_static_CXX='-non_shared'
                   14401:            # CC pic flag -KPIC is the default.
                   14402:            ;;
                   14403:          *)
                   14404:            ;;
                   14405:        esac
                   14406:        ;;
                   14407:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14408:        case $cc_basename in
                   14409:          KCC*)
                   14410:            # KAI C++ Compiler
                   14411:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14412:            lt_prog_compiler_pic_CXX='-fPIC'
                   14413:            ;;
                   14414:          ecpc* )
                   14415:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14416:            lt_prog_compiler_wl_CXX='-Wl,'
                   14417:            lt_prog_compiler_pic_CXX='-KPIC'
                   14418:            lt_prog_compiler_static_CXX='-static'
                   14419:            ;;
                   14420:          icpc* )
                   14421:            # Intel C++, used to be incompatible with GCC.
                   14422:            # ICC 10 doesn't accept -KPIC any more.
                   14423:            lt_prog_compiler_wl_CXX='-Wl,'
                   14424:            lt_prog_compiler_pic_CXX='-fPIC'
                   14425:            lt_prog_compiler_static_CXX='-static'
                   14426:            ;;
                   14427:          pgCC* | pgcpp*)
                   14428:            # Portland Group C++ compiler
                   14429:            lt_prog_compiler_wl_CXX='-Wl,'
                   14430:            lt_prog_compiler_pic_CXX='-fpic'
                   14431:            lt_prog_compiler_static_CXX='-Bstatic'
                   14432:            ;;
                   14433:          cxx*)
                   14434:            # Compaq C++
                   14435:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14436:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14437:            lt_prog_compiler_pic_CXX=
                   14438:            lt_prog_compiler_static_CXX='-non_shared'
                   14439:            ;;
                   14440:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14441:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14442:            lt_prog_compiler_wl_CXX='-Wl,'
                   14443:            lt_prog_compiler_pic_CXX='-qpic'
                   14444:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14445:            ;;
                   14446:          *)
                   14447:            case `$CC -V 2>&1 | sed 5q` in
                   14448:            *Sun\ C*)
                   14449:              # Sun C++ 5.9
                   14450:              lt_prog_compiler_pic_CXX='-KPIC'
                   14451:              lt_prog_compiler_static_CXX='-Bstatic'
                   14452:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14453:              ;;
                   14454:            esac
                   14455:            ;;
                   14456:        esac
                   14457:        ;;
                   14458:       lynxos*)
                   14459:        ;;
                   14460:       m88k*)
                   14461:        ;;
                   14462:       mvs*)
                   14463:        case $cc_basename in
                   14464:          cxx*)
                   14465:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14466:            ;;
                   14467:          *)
                   14468:            ;;
                   14469:        esac
                   14470:        ;;
                   14471:       netbsd*)
                   14472:        ;;
                   14473:       *qnx* | *nto*)
                   14474:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14475:         # it will coredump.
                   14476:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14477:         ;;
                   14478:       osf3* | osf4* | osf5*)
                   14479:        case $cc_basename in
                   14480:          KCC*)
                   14481:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14482:            ;;
                   14483:          RCC*)
                   14484:            # Rational C++ 2.4.1
                   14485:            lt_prog_compiler_pic_CXX='-pic'
                   14486:            ;;
                   14487:          cxx*)
                   14488:            # Digital/Compaq C++
                   14489:            lt_prog_compiler_wl_CXX='-Wl,'
                   14490:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14491:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14492:            lt_prog_compiler_pic_CXX=
                   14493:            lt_prog_compiler_static_CXX='-non_shared'
                   14494:            ;;
                   14495:          *)
                   14496:            ;;
                   14497:        esac
                   14498:        ;;
                   14499:       psos*)
                   14500:        ;;
                   14501:       solaris*)
                   14502:        case $cc_basename in
                   14503:          CC* | sunCC*)
                   14504:            # Sun C++ 4.2, 5.x and Centerline C++
                   14505:            lt_prog_compiler_pic_CXX='-KPIC'
                   14506:            lt_prog_compiler_static_CXX='-Bstatic'
                   14507:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14508:            ;;
                   14509:          gcx*)
                   14510:            # Green Hills C++ Compiler
                   14511:            lt_prog_compiler_pic_CXX='-PIC'
                   14512:            ;;
                   14513:          *)
                   14514:            ;;
                   14515:        esac
                   14516:        ;;
                   14517:       sunos4*)
                   14518:        case $cc_basename in
                   14519:          CC*)
                   14520:            # Sun C++ 4.x
                   14521:            lt_prog_compiler_pic_CXX='-pic'
                   14522:            lt_prog_compiler_static_CXX='-Bstatic'
                   14523:            ;;
                   14524:          lcc*)
                   14525:            # Lucid
                   14526:            lt_prog_compiler_pic_CXX='-pic'
                   14527:            ;;
                   14528:          *)
                   14529:            ;;
                   14530:        esac
                   14531:        ;;
                   14532:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14533:        case $cc_basename in
                   14534:          CC*)
                   14535:            lt_prog_compiler_wl_CXX='-Wl,'
                   14536:            lt_prog_compiler_pic_CXX='-KPIC'
                   14537:            lt_prog_compiler_static_CXX='-Bstatic'
                   14538:            ;;
                   14539:        esac
                   14540:        ;;
                   14541:       tandem*)
                   14542:        case $cc_basename in
                   14543:          NCC*)
                   14544:            # NonStop-UX NCC 3.20
                   14545:            lt_prog_compiler_pic_CXX='-KPIC'
                   14546:            ;;
                   14547:          *)
                   14548:            ;;
                   14549:        esac
                   14550:        ;;
                   14551:       vxworks*)
                   14552:        ;;
                   14553:       *)
                   14554:        lt_prog_compiler_can_build_shared_CXX=no
                   14555:        ;;
                   14556:     esac
                   14557:   fi
                   14558: 
                   14559: case $host_os in
                   14560:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14561:   *djgpp*)
                   14562:     lt_prog_compiler_pic_CXX=
                   14563:     ;;
                   14564:   *)
                   14565:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14566:     ;;
                   14567: esac
                   14568: 
                   14569: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   14570: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   14571: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   14572:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14573: else
                   14574:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14575: fi
                   14576: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14577: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   14578: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14579: 
                   14580: #
                   14581: # Check to make sure the PIC flag actually works.
                   14582: #
                   14583: if test -n "$lt_prog_compiler_pic_CXX"; then
                   14584:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14585: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   14586: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   14587:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14588: else
                   14589:   lt_cv_prog_compiler_pic_works_CXX=no
                   14590:    ac_outfile=conftest.$ac_objext
                   14591:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14592:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14593:    # Insert the option either (1) after the last *FLAGS variable, or
                   14594:    # (2) before a word containing "conftest.", or (3) at the end.
                   14595:    # Note that $ac_compile itself does not contain backslashes and begins
                   14596:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14597:    # The option is referenced via a variable to avoid confusing sed.
                   14598:    lt_compile=`echo "$ac_compile" | $SED \
                   14599:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14600:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14601:    -e 's:$: $lt_compiler_flag:'`
                   14602:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14603:    (eval "$lt_compile" 2>conftest.err)
                   14604:    ac_status=$?
                   14605:    cat conftest.err >&5
                   14606:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14607:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14608:      # The compiler can only warn and ignore the option if not recognized
                   14609:      # So say no if there are warnings other than the usual output.
                   14610:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14611:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14612:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14613:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14614:      fi
                   14615:    fi
                   14616:    $RM conftest*
                   14617: 
                   14618: fi
                   14619: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14620: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   14621: 
                   14622: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14623:     case $lt_prog_compiler_pic_CXX in
                   14624:      "" | " "*) ;;
                   14625:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14626:      esac
                   14627: else
                   14628:     lt_prog_compiler_pic_CXX=
                   14629:      lt_prog_compiler_can_build_shared_CXX=no
                   14630: fi
                   14631: 
                   14632: fi
                   14633: 
                   14634: 
                   14635: 
                   14636: 
                   14637: 
                   14638: #
                   14639: # Check to make sure the static flag actually works.
                   14640: #
                   14641: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   14642: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14643: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   14644: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   14645:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14646: else
                   14647:   lt_cv_prog_compiler_static_works_CXX=no
                   14648:    save_LDFLAGS="$LDFLAGS"
                   14649:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14650:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14651:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14652:      # The linker can only warn and ignore the option if not recognized
                   14653:      # So say no if there are warnings
                   14654:      if test -s conftest.err; then
                   14655:        # Append any errors to the config.log.
                   14656:        cat conftest.err 1>&5
                   14657:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14658:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14659:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14660:          lt_cv_prog_compiler_static_works_CXX=yes
                   14661:        fi
                   14662:      else
                   14663:        lt_cv_prog_compiler_static_works_CXX=yes
                   14664:      fi
                   14665:    fi
                   14666:    $RM -r conftest*
                   14667:    LDFLAGS="$save_LDFLAGS"
                   14668: 
                   14669: fi
                   14670: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14671: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14672: 
                   14673: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14674:     :
                   14675: else
                   14676:     lt_prog_compiler_static_CXX=
                   14677: fi
                   14678: 
                   14679: 
                   14680: 
                   14681: 
                   14682:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14683: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14684: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14685:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14686: else
                   14687:   lt_cv_prog_compiler_c_o_CXX=no
                   14688:    $RM -r conftest 2>/dev/null
                   14689:    mkdir conftest
                   14690:    cd conftest
                   14691:    mkdir out
                   14692:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14693: 
                   14694:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14695:    # Insert the option either (1) after the last *FLAGS variable, or
                   14696:    # (2) before a word containing "conftest.", or (3) at the end.
                   14697:    # Note that $ac_compile itself does not contain backslashes and begins
                   14698:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14699:    lt_compile=`echo "$ac_compile" | $SED \
                   14700:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14701:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14702:    -e 's:$: $lt_compiler_flag:'`
                   14703:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14704:    (eval "$lt_compile" 2>out/conftest.err)
                   14705:    ac_status=$?
                   14706:    cat out/conftest.err >&5
                   14707:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14708:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14709:    then
                   14710:      # The compiler can only warn and ignore the option if not recognized
                   14711:      # So say no if there are warnings
                   14712:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14713:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14714:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14715:        lt_cv_prog_compiler_c_o_CXX=yes
                   14716:      fi
                   14717:    fi
                   14718:    chmod u+w . 2>&5
                   14719:    $RM conftest*
                   14720:    # SGI C++ compiler will create directory out/ii_files/ for
                   14721:    # template instantiation
                   14722:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14723:    $RM out/* && rmdir out
                   14724:    cd ..
                   14725:    $RM -r conftest
                   14726:    $RM conftest*
                   14727: 
                   14728: fi
                   14729: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14730: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14731: 
                   14732: 
                   14733: 
                   14734:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14735: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14736: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14737:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14738: else
                   14739:   lt_cv_prog_compiler_c_o_CXX=no
                   14740:    $RM -r conftest 2>/dev/null
                   14741:    mkdir conftest
                   14742:    cd conftest
                   14743:    mkdir out
                   14744:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14745: 
                   14746:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14747:    # Insert the option either (1) after the last *FLAGS variable, or
                   14748:    # (2) before a word containing "conftest.", or (3) at the end.
                   14749:    # Note that $ac_compile itself does not contain backslashes and begins
                   14750:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14751:    lt_compile=`echo "$ac_compile" | $SED \
                   14752:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14753:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14754:    -e 's:$: $lt_compiler_flag:'`
                   14755:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14756:    (eval "$lt_compile" 2>out/conftest.err)
                   14757:    ac_status=$?
                   14758:    cat out/conftest.err >&5
                   14759:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14760:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14761:    then
                   14762:      # The compiler can only warn and ignore the option if not recognized
                   14763:      # So say no if there are warnings
                   14764:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14765:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14766:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14767:        lt_cv_prog_compiler_c_o_CXX=yes
                   14768:      fi
                   14769:    fi
                   14770:    chmod u+w . 2>&5
                   14771:    $RM conftest*
                   14772:    # SGI C++ compiler will create directory out/ii_files/ for
                   14773:    # template instantiation
                   14774:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14775:    $RM out/* && rmdir out
                   14776:    cd ..
                   14777:    $RM -r conftest
                   14778:    $RM conftest*
                   14779: 
                   14780: fi
                   14781: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14782: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14783: 
                   14784: 
                   14785: 
                   14786: 
                   14787: hard_links="nottested"
                   14788: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14789:   # do not overwrite the value of need_locks provided by the user
                   14790:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14791: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14792:   hard_links=yes
                   14793:   $RM conftest*
                   14794:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14795:   touch conftest.a
                   14796:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14797:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14798:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14799: echo "${ECHO_T}$hard_links" >&6
                   14800:   if test "$hard_links" = no; then
                   14801:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14802: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14803:     need_locks=warn
                   14804:   fi
                   14805: else
                   14806:   need_locks=no
                   14807: fi
                   14808: 
                   14809: 
                   14810: 
                   14811:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14812: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14813: 
                   14814:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14815:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14816:   case $host_os in
                   14817:   aix[4-9]*)
                   14818:     # If we're using GNU nm, then we don't want the "-C" option.
                   14819:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14820:     # Also, AIX nm treats weak defined symbols like other global defined
                   14821:     # symbols, whereas GNU nm marks them as "W".
                   14822:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14823:       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'
                   14824:     else
                   14825:       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'
                   14826:     fi
                   14827:     ;;
                   14828:   pw32*)
                   14829:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14830:     ;;
                   14831:   cygwin* | mingw* | cegcc*)
                   14832:     case $cc_basename in
                   14833:     cl*)
                   14834:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14835:       ;;
                   14836:     *)
                   14837:       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'
                   14838:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14839:       ;;
                   14840:     esac
                   14841:     ;;
                   14842:   *)
                   14843:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14844:     ;;
                   14845:   esac
                   14846: 
                   14847: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14848: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14849: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14850: 
                   14851: with_gnu_ld_CXX=$with_gnu_ld
                   14852: 
                   14853: 
                   14854: 
                   14855: 
                   14856: 
                   14857: 
                   14858: #
                   14859: # Do we need to explicitly link libc?
                   14860: #
                   14861: case "x$archive_cmds_need_lc_CXX" in
                   14862: x|xyes)
                   14863:   # Assume -lc should be added
                   14864:   archive_cmds_need_lc_CXX=yes
                   14865: 
                   14866:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14867:     case $archive_cmds_CXX in
                   14868:     *'~'*)
                   14869:       # FIXME: we may have to deal with multi-command sequences.
                   14870:       ;;
                   14871:     '$CC '*)
                   14872:       # Test whether the compiler implicitly links with -lc since on some
                   14873:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14874:       # to ld, don't add -lc before -lgcc.
                   14875:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14876: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14877: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14878:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14879: else
                   14880:   $RM conftest*
                   14881:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14882: 
                   14883:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14884:   (eval $ac_compile) 2>&5
                   14885:   ac_status=$?
                   14886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14887:   (exit $ac_status); } 2>conftest.err; then
                   14888:          soname=conftest
                   14889:          lib=conftest
                   14890:          libobjs=conftest.$ac_objext
                   14891:          deplibs=
                   14892:          wl=$lt_prog_compiler_wl_CXX
                   14893:          pic_flag=$lt_prog_compiler_pic_CXX
                   14894:          compiler_flags=-v
                   14895:          linker_flags=-v
                   14896:          verstring=
                   14897:          output_objdir=.
                   14898:          libname=conftest
                   14899:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14900:          allow_undefined_flag_CXX=
                   14901:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14902:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14903:   ac_status=$?
                   14904:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14905:   (exit $ac_status); }
                   14906:          then
                   14907:            lt_cv_archive_cmds_need_lc_CXX=no
                   14908:          else
                   14909:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14910:          fi
                   14911:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14912:        else
                   14913:          cat conftest.err 1>&5
                   14914:        fi
                   14915:        $RM conftest*
                   14916: 
                   14917: fi
                   14918: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14919: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14920:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14921:       ;;
                   14922:     esac
                   14923:   fi
                   14924:   ;;
                   14925: esac
                   14926: 
                   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:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14989: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14990: 
                   14991: library_names_spec=
                   14992: libname_spec='lib$name'
                   14993: soname_spec=
                   14994: shrext_cmds=".so"
                   14995: postinstall_cmds=
                   14996: postuninstall_cmds=
                   14997: finish_cmds=
                   14998: finish_eval=
                   14999: shlibpath_var=
                   15000: shlibpath_overrides_runpath=unknown
                   15001: version_type=none
                   15002: dynamic_linker="$host_os ld.so"
                   15003: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15004: need_lib_prefix=unknown
                   15005: hardcode_into_libs=no
                   15006: 
                   15007: # when you set need_version to no, make sure it does not cause -set_version
                   15008: # flags to be left without arguments
                   15009: need_version=unknown
                   15010: 
                   15011: case $host_os in
                   15012: aix3*)
                   15013:   version_type=linux # correct to gnu/linux during the next big refactor
                   15014:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15015:   shlibpath_var=LIBPATH
                   15016: 
                   15017:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15018:   soname_spec='${libname}${release}${shared_ext}$major'
                   15019:   ;;
                   15020: 
                   15021: aix[4-9]*)
                   15022:   version_type=linux # correct to gnu/linux during the next big refactor
                   15023:   need_lib_prefix=no
                   15024:   need_version=no
                   15025:   hardcode_into_libs=yes
                   15026:   if test "$host_cpu" = ia64; then
                   15027:     # AIX 5 supports IA64
                   15028:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15029:     shlibpath_var=LD_LIBRARY_PATH
                   15030:   else
                   15031:     # With GCC up to 2.95.x, collect2 would create an import file
                   15032:     # for dependence libraries.  The import file would start with
                   15033:     # the line `#! .'.  This would cause the generated library to
                   15034:     # depend on `.', always an invalid library.  This was fixed in
                   15035:     # development snapshots of GCC prior to 3.0.
                   15036:     case $host_os in
                   15037:       aix4 | aix4.[01] | aix4.[01].*)
                   15038:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15039:           echo ' yes '
                   15040:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15041:        :
                   15042:       else
                   15043:        can_build_shared=no
                   15044:       fi
                   15045:       ;;
                   15046:     esac
                   15047:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15048:     # soname into executable. Probably we can add versioning support to
                   15049:     # collect2, so additional links can be useful in future.
                   15050:     if test "$aix_use_runtimelinking" = yes; then
                   15051:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15052:       # instead of lib<name>.a to let people know that these are not
                   15053:       # typical AIX shared libraries.
                   15054:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15055:     else
                   15056:       # We preserve .a as extension for shared libraries through AIX4.2
                   15057:       # and later when we are not doing run time linking.
                   15058:       library_names_spec='${libname}${release}.a $libname.a'
                   15059:       soname_spec='${libname}${release}${shared_ext}$major'
                   15060:     fi
                   15061:     shlibpath_var=LIBPATH
                   15062:   fi
                   15063:   ;;
                   15064: 
                   15065: amigaos*)
                   15066:   case $host_cpu in
                   15067:   powerpc)
                   15068:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15069:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15070:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15071:     ;;
                   15072:   m68k)
                   15073:     library_names_spec='$libname.ixlibrary $libname.a'
                   15074:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15075:     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'
                   15076:     ;;
                   15077:   esac
                   15078:   ;;
                   15079: 
                   15080: beos*)
                   15081:   library_names_spec='${libname}${shared_ext}'
                   15082:   dynamic_linker="$host_os ld.so"
                   15083:   shlibpath_var=LIBRARY_PATH
                   15084:   ;;
                   15085: 
                   15086: bsdi[45]*)
                   15087:   version_type=linux # correct to gnu/linux during the next big refactor
                   15088:   need_version=no
                   15089:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15090:   soname_spec='${libname}${release}${shared_ext}$major'
                   15091:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15092:   shlibpath_var=LD_LIBRARY_PATH
                   15093:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15094:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15095:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15096:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15097:   # libtool to hard-code these into programs
                   15098:   ;;
                   15099: 
                   15100: cygwin* | mingw* | pw32* | cegcc*)
                   15101:   version_type=windows
                   15102:   shrext_cmds=".dll"
                   15103:   need_version=no
                   15104:   need_lib_prefix=no
                   15105: 
                   15106:   case $GCC,$cc_basename in
                   15107:   yes,*)
                   15108:     # gcc
                   15109:     library_names_spec='$libname.dll.a'
                   15110:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15111:     postinstall_cmds='base_file=`basename \${file}`~
                   15112:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15113:       dldir=$destdir/`dirname \$dlpath`~
                   15114:       test -d \$dldir || mkdir -p \$dldir~
                   15115:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15116:       chmod a+x \$dldir/$dlname~
                   15117:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15118:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15119:       fi'
                   15120:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15121:       dlpath=$dir/\$dldll~
                   15122:        $RM \$dlpath'
                   15123:     shlibpath_overrides_runpath=yes
                   15124: 
                   15125:     case $host_os in
                   15126:     cygwin*)
                   15127:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15128:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15129: 
                   15130:       ;;
                   15131:     mingw* | cegcc*)
                   15132:       # MinGW DLLs use traditional 'lib' prefix
                   15133:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15134:       ;;
                   15135:     pw32*)
                   15136:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15137:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15138:       ;;
                   15139:     esac
                   15140:     dynamic_linker='Win32 ld.exe'
                   15141:     ;;
                   15142: 
                   15143:   *,cl*)
                   15144:     # Native MSVC
                   15145:     libname_spec='$name'
                   15146:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15147:     library_names_spec='${libname}.dll.lib'
                   15148: 
                   15149:     case $build_os in
                   15150:     mingw*)
                   15151:       sys_lib_search_path_spec=
                   15152:       lt_save_ifs=$IFS
                   15153:       IFS=';'
                   15154:       for lt_path in $LIB
                   15155:       do
                   15156:         IFS=$lt_save_ifs
                   15157:         # Let DOS variable expansion print the short 8.3 style file name.
                   15158:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15159:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15160:       done
                   15161:       IFS=$lt_save_ifs
                   15162:       # Convert to MSYS style.
                   15163:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15164:       ;;
                   15165:     cygwin*)
                   15166:       # Convert to unix form, then to dos form, then back to unix form
                   15167:       # but this time dos style (no spaces!) so that the unix form looks
                   15168:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15169:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15170:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15171:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15172:       ;;
                   15173:     *)
                   15174:       sys_lib_search_path_spec="$LIB"
                   15175:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15176:         # It is most probably a Windows format PATH.
                   15177:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15178:       else
                   15179:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15180:       fi
                   15181:       # FIXME: find the short name or the path components, as spaces are
                   15182:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15183:       ;;
                   15184:     esac
                   15185: 
                   15186:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15187:     postinstall_cmds='base_file=`basename \${file}`~
                   15188:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15189:       dldir=$destdir/`dirname \$dlpath`~
                   15190:       test -d \$dldir || mkdir -p \$dldir~
                   15191:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15192:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15193:       dlpath=$dir/\$dldll~
                   15194:        $RM \$dlpath'
                   15195:     shlibpath_overrides_runpath=yes
                   15196:     dynamic_linker='Win32 link.exe'
                   15197:     ;;
                   15198: 
                   15199:   *)
                   15200:     # Assume MSVC wrapper
                   15201:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15202:     dynamic_linker='Win32 ld.exe'
                   15203:     ;;
                   15204:   esac
                   15205:   # FIXME: first we should search . and the directory the executable is in
                   15206:   shlibpath_var=PATH
                   15207:   ;;
                   15208: 
                   15209: darwin* | rhapsody*)
                   15210:   dynamic_linker="$host_os dyld"
                   15211:   version_type=darwin
                   15212:   need_lib_prefix=no
                   15213:   need_version=no
                   15214:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15215:   soname_spec='${libname}${release}${major}$shared_ext'
                   15216:   shlibpath_overrides_runpath=yes
                   15217:   shlibpath_var=DYLD_LIBRARY_PATH
                   15218:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15219: 
                   15220:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15221:   ;;
                   15222: 
                   15223: dgux*)
                   15224:   version_type=linux # correct to gnu/linux during the next big refactor
                   15225:   need_lib_prefix=no
                   15226:   need_version=no
                   15227:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15228:   soname_spec='${libname}${release}${shared_ext}$major'
                   15229:   shlibpath_var=LD_LIBRARY_PATH
                   15230:   ;;
                   15231: 
                   15232: freebsd* | dragonfly*)
                   15233:   # DragonFly does not have aout.  When/if they implement a new
                   15234:   # versioning mechanism, adjust this.
                   15235:   if test -x /usr/bin/objformat; then
                   15236:     objformat=`/usr/bin/objformat`
                   15237:   else
                   15238:     case $host_os in
                   15239:     freebsd[23].*) objformat=aout ;;
                   15240:     *) objformat=elf ;;
                   15241:     esac
                   15242:   fi
                   15243:   version_type=freebsd-$objformat
                   15244:   case $version_type in
                   15245:     freebsd-elf*)
                   15246:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15247:       need_version=no
                   15248:       need_lib_prefix=no
                   15249:       ;;
                   15250:     freebsd-*)
                   15251:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15252:       need_version=yes
                   15253:       ;;
                   15254:   esac
                   15255:   shlibpath_var=LD_LIBRARY_PATH
                   15256:   case $host_os in
                   15257:   freebsd2.*)
                   15258:     shlibpath_overrides_runpath=yes
                   15259:     ;;
                   15260:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15261:     shlibpath_overrides_runpath=yes
                   15262:     hardcode_into_libs=yes
                   15263:     ;;
                   15264:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15265:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15266:     shlibpath_overrides_runpath=no
                   15267:     hardcode_into_libs=yes
                   15268:     ;;
                   15269:   *) # from 4.6 on, and DragonFly
                   15270:     shlibpath_overrides_runpath=yes
                   15271:     hardcode_into_libs=yes
                   15272:     ;;
                   15273:   esac
                   15274:   ;;
                   15275: 
                   15276: gnu*)
                   15277:   version_type=linux # correct to gnu/linux during the next big refactor
                   15278:   need_lib_prefix=no
                   15279:   need_version=no
                   15280:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15281:   soname_spec='${libname}${release}${shared_ext}$major'
                   15282:   shlibpath_var=LD_LIBRARY_PATH
                   15283:   shlibpath_overrides_runpath=no
                   15284:   hardcode_into_libs=yes
                   15285:   ;;
                   15286: 
                   15287: haiku*)
                   15288:   version_type=linux # correct to gnu/linux during the next big refactor
                   15289:   need_lib_prefix=no
                   15290:   need_version=no
                   15291:   dynamic_linker="$host_os runtime_loader"
                   15292:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15293:   soname_spec='${libname}${release}${shared_ext}$major'
                   15294:   shlibpath_var=LIBRARY_PATH
                   15295:   shlibpath_overrides_runpath=yes
                   15296:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15297:   hardcode_into_libs=yes
                   15298:   ;;
                   15299: 
                   15300: hpux9* | hpux10* | hpux11*)
                   15301:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15302:   # link against other versions.
                   15303:   version_type=sunos
                   15304:   need_lib_prefix=no
                   15305:   need_version=no
                   15306:   case $host_cpu in
                   15307:   ia64*)
                   15308:     shrext_cmds='.so'
                   15309:     hardcode_into_libs=yes
                   15310:     dynamic_linker="$host_os dld.so"
                   15311:     shlibpath_var=LD_LIBRARY_PATH
                   15312:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15313:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15314:     soname_spec='${libname}${release}${shared_ext}$major'
                   15315:     if test "X$HPUX_IA64_MODE" = X32; then
                   15316:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15317:     else
                   15318:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15319:     fi
                   15320:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15321:     ;;
                   15322:   hppa*64*)
                   15323:     shrext_cmds='.sl'
                   15324:     hardcode_into_libs=yes
                   15325:     dynamic_linker="$host_os dld.sl"
                   15326:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15327:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15328:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15329:     soname_spec='${libname}${release}${shared_ext}$major'
                   15330:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15331:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15332:     ;;
                   15333:   *)
                   15334:     shrext_cmds='.sl'
                   15335:     dynamic_linker="$host_os dld.sl"
                   15336:     shlibpath_var=SHLIB_PATH
                   15337:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15338:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15339:     soname_spec='${libname}${release}${shared_ext}$major'
                   15340:     ;;
                   15341:   esac
                   15342:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15343:   postinstall_cmds='chmod 555 $lib'
                   15344:   # or fails outright, so override atomically:
                   15345:   install_override_mode=555
                   15346:   ;;
                   15347: 
                   15348: interix[3-9]*)
                   15349:   version_type=linux # correct to gnu/linux during the next big refactor
                   15350:   need_lib_prefix=no
                   15351:   need_version=no
                   15352:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15353:   soname_spec='${libname}${release}${shared_ext}$major'
                   15354:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15355:   shlibpath_var=LD_LIBRARY_PATH
                   15356:   shlibpath_overrides_runpath=no
                   15357:   hardcode_into_libs=yes
                   15358:   ;;
                   15359: 
                   15360: irix5* | irix6* | nonstopux*)
                   15361:   case $host_os in
                   15362:     nonstopux*) version_type=nonstopux ;;
                   15363:     *)
                   15364:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15365:                version_type=linux # correct to gnu/linux during the next big refactor
                   15366:        else
                   15367:                version_type=irix
                   15368:        fi ;;
                   15369:   esac
                   15370:   need_lib_prefix=no
                   15371:   need_version=no
                   15372:   soname_spec='${libname}${release}${shared_ext}$major'
                   15373:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15374:   case $host_os in
                   15375:   irix5* | nonstopux*)
                   15376:     libsuff= shlibsuff=
                   15377:     ;;
                   15378:   *)
                   15379:     case $LD in # libtool.m4 will add one of these switches to LD
                   15380:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15381:       libsuff= shlibsuff= libmagic=32-bit;;
                   15382:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15383:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15384:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15385:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15386:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15387:     esac
                   15388:     ;;
                   15389:   esac
                   15390:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15391:   shlibpath_overrides_runpath=no
                   15392:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15393:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15394:   hardcode_into_libs=yes
                   15395:   ;;
                   15396: 
                   15397: # No shared lib support for Linux oldld, aout, or coff.
                   15398: linux*oldld* | linux*aout* | linux*coff*)
                   15399:   dynamic_linker=no
                   15400:   ;;
                   15401: 
                   15402: # This must be glibc/ELF.
                   15403: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15404:   version_type=linux # correct to gnu/linux during the next big refactor
                   15405:   need_lib_prefix=no
                   15406:   need_version=no
                   15407:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15408:   soname_spec='${libname}${release}${shared_ext}$major'
                   15409:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15410:   shlibpath_var=LD_LIBRARY_PATH
                   15411:   shlibpath_overrides_runpath=no
                   15412: 
                   15413:   # Some binutils ld are patched to set DT_RUNPATH
                   15414:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   15415:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15416: else
                   15417:   lt_cv_shlibpath_overrides_runpath=no
                   15418:     save_LDFLAGS=$LDFLAGS
                   15419:     save_libdir=$libdir
                   15420:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15421:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   15422:     cat >conftest.$ac_ext <<_ACEOF
                   15423: /* confdefs.h.  */
                   15424: _ACEOF
                   15425: cat confdefs.h >>conftest.$ac_ext
                   15426: cat >>conftest.$ac_ext <<_ACEOF
                   15427: /* end confdefs.h.  */
                   15428: 
                   15429: int
                   15430: main ()
                   15431: {
                   15432: 
                   15433:   ;
                   15434:   return 0;
                   15435: }
                   15436: _ACEOF
                   15437: rm -f conftest.$ac_objext conftest$ac_exeext
                   15438: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15439:   (eval $ac_link) 2>conftest.er1
                   15440:   ac_status=$?
                   15441:   grep -v '^ *+' conftest.er1 >conftest.err
                   15442:   rm -f conftest.er1
                   15443:   cat conftest.err >&5
                   15444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15445:   (exit $ac_status); } &&
                   15446:         { ac_try='test -z "$ac_cxx_werror_flag"
                   15447:                         || test ! -s conftest.err'
                   15448:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15449:   (eval $ac_try) 2>&5
                   15450:   ac_status=$?
                   15451:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15452:   (exit $ac_status); }; } &&
                   15453:         { ac_try='test -s conftest$ac_exeext'
                   15454:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15455:   (eval $ac_try) 2>&5
                   15456:   ac_status=$?
                   15457:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15458:   (exit $ac_status); }; }; then
                   15459:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   15460:   lt_cv_shlibpath_overrides_runpath=yes
                   15461: fi
                   15462: 
                   15463: else
                   15464:   echo "$as_me: failed program was:" >&5
                   15465: sed 's/^/| /' conftest.$ac_ext >&5
                   15466: 
                   15467: fi
                   15468: rm -f conftest.err conftest.$ac_objext \
                   15469:       conftest$ac_exeext conftest.$ac_ext
                   15470:     LDFLAGS=$save_LDFLAGS
                   15471:     libdir=$save_libdir
                   15472: 
                   15473: fi
                   15474: 
                   15475:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15476: 
                   15477:   # This implies no fast_install, which is unacceptable.
                   15478:   # Some rework will be needed to allow for fast_install
                   15479:   # before this can be enabled.
                   15480:   hardcode_into_libs=yes
                   15481: 
                   15482:   # Append ld.so.conf contents to the search path
                   15483:   if test -f /etc/ld.so.conf; then
                   15484:     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' ' '`
                   15485:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15486:   fi
                   15487: 
                   15488:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15489:   # powerpc, because MkLinux only supported shared libraries with the
                   15490:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15491:   # most powerpc-linux boxes support dynamic linking these days and
                   15492:   # people can always --disable-shared, the test was removed, and we
                   15493:   # assume the GNU/Linux dynamic linker is in use.
                   15494:   dynamic_linker='GNU/Linux ld.so'
                   15495:   ;;
                   15496: 
                   15497: netbsd*)
                   15498:   version_type=sunos
                   15499:   need_lib_prefix=no
                   15500:   need_version=no
                   15501:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15502:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15503:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15504:     dynamic_linker='NetBSD (a.out) ld.so'
                   15505:   else
                   15506:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15507:     soname_spec='${libname}${release}${shared_ext}$major'
                   15508:     dynamic_linker='NetBSD ld.elf_so'
                   15509:   fi
                   15510:   shlibpath_var=LD_LIBRARY_PATH
                   15511:   shlibpath_overrides_runpath=yes
                   15512:   hardcode_into_libs=yes
                   15513:   ;;
                   15514: 
                   15515: newsos6)
                   15516:   version_type=linux # correct to gnu/linux during the next big refactor
                   15517:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15518:   shlibpath_var=LD_LIBRARY_PATH
                   15519:   shlibpath_overrides_runpath=yes
                   15520:   ;;
                   15521: 
                   15522: *nto* | *qnx*)
                   15523:   version_type=qnx
                   15524:   need_lib_prefix=no
                   15525:   need_version=no
                   15526:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15527:   soname_spec='${libname}${release}${shared_ext}$major'
                   15528:   shlibpath_var=LD_LIBRARY_PATH
                   15529:   shlibpath_overrides_runpath=no
                   15530:   hardcode_into_libs=yes
                   15531:   dynamic_linker='ldqnx.so'
                   15532:   ;;
                   15533: 
                   15534: openbsd*)
                   15535:   version_type=sunos
                   15536:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15537:   need_lib_prefix=no
                   15538:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15539:   case $host_os in
                   15540:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15541:     *)                         need_version=no  ;;
                   15542:   esac
                   15543:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15544:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15545:   shlibpath_var=LD_LIBRARY_PATH
                   15546:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15547:     case $host_os in
                   15548:       openbsd2.[89] | openbsd2.[89].*)
                   15549:        shlibpath_overrides_runpath=no
                   15550:        ;;
                   15551:       *)
                   15552:        shlibpath_overrides_runpath=yes
                   15553:        ;;
                   15554:       esac
                   15555:   else
                   15556:     shlibpath_overrides_runpath=yes
                   15557:   fi
                   15558:   ;;
                   15559: 
                   15560: os2*)
                   15561:   libname_spec='$name'
                   15562:   shrext_cmds=".dll"
                   15563:   need_lib_prefix=no
                   15564:   library_names_spec='$libname${shared_ext} $libname.a'
                   15565:   dynamic_linker='OS/2 ld.exe'
                   15566:   shlibpath_var=LIBPATH
                   15567:   ;;
                   15568: 
                   15569: osf3* | osf4* | osf5*)
                   15570:   version_type=osf
                   15571:   need_lib_prefix=no
                   15572:   need_version=no
                   15573:   soname_spec='${libname}${release}${shared_ext}$major'
                   15574:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15575:   shlibpath_var=LD_LIBRARY_PATH
                   15576:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15577:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15578:   ;;
                   15579: 
                   15580: rdos*)
                   15581:   dynamic_linker=no
                   15582:   ;;
                   15583: 
                   15584: solaris*)
                   15585:   version_type=linux # correct to gnu/linux during the next big refactor
                   15586:   need_lib_prefix=no
                   15587:   need_version=no
                   15588:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15589:   soname_spec='${libname}${release}${shared_ext}$major'
                   15590:   shlibpath_var=LD_LIBRARY_PATH
                   15591:   shlibpath_overrides_runpath=yes
                   15592:   hardcode_into_libs=yes
                   15593:   # ldd complains unless libraries are executable
                   15594:   postinstall_cmds='chmod +x $lib'
                   15595:   ;;
                   15596: 
                   15597: sunos4*)
                   15598:   version_type=sunos
                   15599:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15600:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15601:   shlibpath_var=LD_LIBRARY_PATH
                   15602:   shlibpath_overrides_runpath=yes
                   15603:   if test "$with_gnu_ld" = yes; then
                   15604:     need_lib_prefix=no
                   15605:   fi
                   15606:   need_version=yes
                   15607:   ;;
                   15608: 
                   15609: sysv4 | sysv4.3*)
                   15610:   version_type=linux # correct to gnu/linux during the next big refactor
                   15611:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15612:   soname_spec='${libname}${release}${shared_ext}$major'
                   15613:   shlibpath_var=LD_LIBRARY_PATH
                   15614:   case $host_vendor in
                   15615:     sni)
                   15616:       shlibpath_overrides_runpath=no
                   15617:       need_lib_prefix=no
                   15618:       runpath_var=LD_RUN_PATH
                   15619:       ;;
                   15620:     siemens)
                   15621:       need_lib_prefix=no
                   15622:       ;;
                   15623:     motorola)
                   15624:       need_lib_prefix=no
                   15625:       need_version=no
                   15626:       shlibpath_overrides_runpath=no
                   15627:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15628:       ;;
                   15629:   esac
                   15630:   ;;
                   15631: 
                   15632: sysv4*MP*)
                   15633:   if test -d /usr/nec ;then
                   15634:     version_type=linux # correct to gnu/linux during the next big refactor
                   15635:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15636:     soname_spec='$libname${shared_ext}.$major'
                   15637:     shlibpath_var=LD_LIBRARY_PATH
                   15638:   fi
                   15639:   ;;
                   15640: 
                   15641: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15642:   version_type=freebsd-elf
                   15643:   need_lib_prefix=no
                   15644:   need_version=no
                   15645:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15646:   soname_spec='${libname}${release}${shared_ext}$major'
                   15647:   shlibpath_var=LD_LIBRARY_PATH
                   15648:   shlibpath_overrides_runpath=yes
                   15649:   hardcode_into_libs=yes
                   15650:   if test "$with_gnu_ld" = yes; then
                   15651:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15652:   else
                   15653:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15654:     case $host_os in
                   15655:       sco3.2v5*)
                   15656:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15657:        ;;
                   15658:     esac
                   15659:   fi
                   15660:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15661:   ;;
                   15662: 
                   15663: tpf*)
                   15664:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15665:   version_type=linux # correct to gnu/linux during the next big refactor
                   15666:   need_lib_prefix=no
                   15667:   need_version=no
                   15668:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15669:   shlibpath_var=LD_LIBRARY_PATH
                   15670:   shlibpath_overrides_runpath=no
                   15671:   hardcode_into_libs=yes
                   15672:   ;;
                   15673: 
                   15674: uts4*)
                   15675:   version_type=linux # correct to gnu/linux during the next big refactor
                   15676:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15677:   soname_spec='${libname}${release}${shared_ext}$major'
                   15678:   shlibpath_var=LD_LIBRARY_PATH
                   15679:   ;;
                   15680: 
                   15681: *)
                   15682:   dynamic_linker=no
                   15683:   ;;
                   15684: esac
                   15685: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15686: echo "${ECHO_T}$dynamic_linker" >&6
                   15687: test "$dynamic_linker" = no && can_build_shared=no
                   15688: 
                   15689: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15690: if test "$GCC" = yes; then
                   15691:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15692: fi
                   15693: 
                   15694: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15695:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15696: fi
                   15697: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15698:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15699: fi
                   15700: 
                   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:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15739: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15740: hardcode_action_CXX=
                   15741: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15742:    test -n "$runpath_var_CXX" ||
                   15743:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15744: 
                   15745:   # We can hardcode non-existent directories.
                   15746:   if test "$hardcode_direct_CXX" != no &&
                   15747:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15748:      # have to relink, otherwise we might link with an installed library
                   15749:      # when we should be linking with a yet-to-be-installed one
                   15750:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15751:      test "$hardcode_minus_L_CXX" != no; then
                   15752:     # Linking always hardcodes the temporary library directory.
                   15753:     hardcode_action_CXX=relink
                   15754:   else
                   15755:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15756:     hardcode_action_CXX=immediate
                   15757:   fi
                   15758: else
                   15759:   # We cannot hardcode anything, or else we can only hardcode existing
                   15760:   # directories.
                   15761:   hardcode_action_CXX=unsupported
                   15762: fi
                   15763: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15764: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15765: 
                   15766: if test "$hardcode_action_CXX" = relink ||
                   15767:    test "$inherit_rpath_CXX" = yes; then
                   15768:   # Fast installation is not supported
                   15769:   enable_fast_install=no
                   15770: elif test "$shlibpath_overrides_runpath" = yes ||
                   15771:      test "$enable_shared" = no; then
                   15772:   # Fast installation is not necessary
                   15773:   enable_fast_install=needless
                   15774: fi
                   15775: 
                   15776: 
                   15777: 
                   15778: 
                   15779: 
                   15780: 
                   15781: 
                   15782:   fi # test -n "$compiler"
                   15783: 
                   15784:   CC=$lt_save_CC
                   15785:   CFLAGS=$lt_save_CFLAGS
                   15786:   LDCXX=$LD
                   15787:   LD=$lt_save_LD
                   15788:   GCC=$lt_save_GCC
                   15789:   with_gnu_ld=$lt_save_with_gnu_ld
                   15790:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15791:   lt_cv_path_LD=$lt_save_path_LD
                   15792:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15793:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15794: fi # test "$_lt_caught_CXX_error" != yes
                   15795: 
                   15796: ac_ext=c
                   15797: ac_cpp='$CPP $CPPFLAGS'
                   15798: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15799: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15800: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15801: 
                   15802: 
                   15803: 
                   15804: 
                   15805: 
                   15806: 
                   15807: 
                   15808: 
                   15809: 
                   15810: 
                   15811: 
                   15812: 
                   15813: 
                   15814: 
                   15815: 
                   15816:                   ac_config_commands="$ac_config_commands libtool"
                   15817: 
                   15818: 
                   15819: 
                   15820: 
                   15821: # Only expand once:
                   15822: 
                   15823: 
                   15824: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15825: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15826: if test "${libltdl_cv_shlibext+set}" = set; then
                   15827:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15828: else
                   15829: 
                   15830: module=yes
                   15831: eval libltdl_cv_shlibext=$shrext_cmds
                   15832: module=no
                   15833: eval libltdl_cv_shrext=$shrext_cmds
                   15834: 
                   15835: fi
                   15836: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15837: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15838: if test -n "$libltdl_cv_shlibext"; then
                   15839: 
                   15840: cat >>confdefs.h <<_ACEOF
                   15841: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15842: _ACEOF
                   15843: 
                   15844: fi
                   15845: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15846: 
                   15847: cat >>confdefs.h <<_ACEOF
                   15848: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15849: _ACEOF
                   15850: 
                   15851: fi
                   15852: 
                   15853: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15854: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15855: if test "${lt_cv_module_path_var+set}" = set; then
                   15856:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15857: else
                   15858:   lt_cv_module_path_var="$shlibpath_var"
                   15859: fi
                   15860: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15861: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15862: if test -n "$lt_cv_module_path_var"; then
                   15863: 
                   15864: cat >>confdefs.h <<_ACEOF
                   15865: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15866: _ACEOF
                   15867: 
                   15868: fi
                   15869: 
                   15870: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15871: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15872: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15873:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15874: else
                   15875:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15876: fi
                   15877: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15878: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15879: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15880:   sys_dlsearch_path=
                   15881:   for dir in $lt_cv_sys_dlsearch_path; do
                   15882:     if test -z "$sys_dlsearch_path"; then
                   15883:       sys_dlsearch_path="$dir"
                   15884:     else
                   15885:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15886:     fi
                   15887:   done
                   15888: 
                   15889: cat >>confdefs.h <<_ACEOF
                   15890: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15891: _ACEOF
                   15892: 
                   15893: fi
                   15894: 
                   15895: 
                   15896: LT_DLLOADERS=
                   15897: 
                   15898: 
                   15899: ac_ext=c
                   15900: ac_cpp='$CPP $CPPFLAGS'
                   15901: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15902: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15903: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15904: 
                   15905: 
                   15906: LIBADD_DLOPEN=
                   15907: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15908: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15909: if test "${ac_cv_search_dlopen+set}" = set; then
                   15910:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15911: else
                   15912:   ac_func_search_save_LIBS=$LIBS
                   15913: ac_cv_search_dlopen=no
                   15914: cat >conftest.$ac_ext <<_ACEOF
                   15915: /* confdefs.h.  */
                   15916: _ACEOF
                   15917: cat confdefs.h >>conftest.$ac_ext
                   15918: cat >>conftest.$ac_ext <<_ACEOF
                   15919: /* end confdefs.h.  */
                   15920: 
                   15921: /* Override any gcc2 internal prototype to avoid an error.  */
                   15922: #ifdef __cplusplus
                   15923: extern "C"
                   15924: #endif
                   15925: /* We use char because int might match the return type of a gcc2
                   15926:    builtin and then its argument prototype would still apply.  */
                   15927: char dlopen ();
                   15928: int
                   15929: main ()
                   15930: {
                   15931: dlopen ();
                   15932:   ;
                   15933:   return 0;
                   15934: }
                   15935: _ACEOF
                   15936: rm -f conftest.$ac_objext conftest$ac_exeext
                   15937: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15938:   (eval $ac_link) 2>conftest.er1
                   15939:   ac_status=$?
                   15940:   grep -v '^ *+' conftest.er1 >conftest.err
                   15941:   rm -f conftest.er1
                   15942:   cat conftest.err >&5
                   15943:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15944:   (exit $ac_status); } &&
                   15945:         { ac_try='test -z "$ac_c_werror_flag"
                   15946:                         || test ! -s conftest.err'
                   15947:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15948:   (eval $ac_try) 2>&5
                   15949:   ac_status=$?
                   15950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15951:   (exit $ac_status); }; } &&
                   15952:         { ac_try='test -s conftest$ac_exeext'
                   15953:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15954:   (eval $ac_try) 2>&5
                   15955:   ac_status=$?
                   15956:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15957:   (exit $ac_status); }; }; then
                   15958:   ac_cv_search_dlopen="none required"
                   15959: else
                   15960:   echo "$as_me: failed program was:" >&5
                   15961: sed 's/^/| /' conftest.$ac_ext >&5
                   15962: 
                   15963: fi
                   15964: rm -f conftest.err conftest.$ac_objext \
                   15965:       conftest$ac_exeext conftest.$ac_ext
                   15966: if test "$ac_cv_search_dlopen" = no; then
                   15967:   for ac_lib in dl; do
                   15968:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15969:     cat >conftest.$ac_ext <<_ACEOF
                   15970: /* confdefs.h.  */
                   15971: _ACEOF
                   15972: cat confdefs.h >>conftest.$ac_ext
                   15973: cat >>conftest.$ac_ext <<_ACEOF
                   15974: /* end confdefs.h.  */
                   15975: 
                   15976: /* Override any gcc2 internal prototype to avoid an error.  */
                   15977: #ifdef __cplusplus
                   15978: extern "C"
                   15979: #endif
                   15980: /* We use char because int might match the return type of a gcc2
                   15981:    builtin and then its argument prototype would still apply.  */
                   15982: char dlopen ();
                   15983: int
                   15984: main ()
                   15985: {
                   15986: dlopen ();
                   15987:   ;
                   15988:   return 0;
                   15989: }
                   15990: _ACEOF
                   15991: rm -f conftest.$ac_objext conftest$ac_exeext
                   15992: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15993:   (eval $ac_link) 2>conftest.er1
                   15994:   ac_status=$?
                   15995:   grep -v '^ *+' conftest.er1 >conftest.err
                   15996:   rm -f conftest.er1
                   15997:   cat conftest.err >&5
                   15998:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15999:   (exit $ac_status); } &&
                   16000:         { ac_try='test -z "$ac_c_werror_flag"
                   16001:                         || test ! -s conftest.err'
                   16002:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16003:   (eval $ac_try) 2>&5
                   16004:   ac_status=$?
                   16005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16006:   (exit $ac_status); }; } &&
                   16007:         { ac_try='test -s conftest$ac_exeext'
                   16008:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16009:   (eval $ac_try) 2>&5
                   16010:   ac_status=$?
                   16011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16012:   (exit $ac_status); }; }; then
                   16013:   ac_cv_search_dlopen="-l$ac_lib"
                   16014: break
                   16015: else
                   16016:   echo "$as_me: failed program was:" >&5
                   16017: sed 's/^/| /' conftest.$ac_ext >&5
                   16018: 
                   16019: fi
                   16020: rm -f conftest.err conftest.$ac_objext \
                   16021:       conftest$ac_exeext conftest.$ac_ext
                   16022:   done
                   16023: fi
                   16024: LIBS=$ac_func_search_save_LIBS
                   16025: fi
                   16026: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   16027: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   16028: if test "$ac_cv_search_dlopen" != no; then
                   16029:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   16030: 
                   16031: cat >>confdefs.h <<\_ACEOF
                   16032: #define HAVE_LIBDL 1
                   16033: _ACEOF
                   16034: 
                   16035:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16036:          LIBADD_DLOPEN="-ldl"
                   16037:        fi
                   16038:        libltdl_cv_lib_dl_dlopen="yes"
                   16039:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16040: else
                   16041:   cat >conftest.$ac_ext <<_ACEOF
                   16042: /* confdefs.h.  */
                   16043: _ACEOF
                   16044: cat confdefs.h >>conftest.$ac_ext
                   16045: cat >>conftest.$ac_ext <<_ACEOF
                   16046: /* end confdefs.h.  */
                   16047: #if HAVE_DLFCN_H
                   16048: #  include <dlfcn.h>
                   16049: #endif
                   16050: 
                   16051: int
                   16052: main ()
                   16053: {
                   16054: dlopen(0, 0);
                   16055:   ;
                   16056:   return 0;
                   16057: }
                   16058: _ACEOF
                   16059: rm -f conftest.$ac_objext conftest$ac_exeext
                   16060: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16061:   (eval $ac_link) 2>conftest.er1
                   16062:   ac_status=$?
                   16063:   grep -v '^ *+' conftest.er1 >conftest.err
                   16064:   rm -f conftest.er1
                   16065:   cat conftest.err >&5
                   16066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16067:   (exit $ac_status); } &&
                   16068:         { ac_try='test -z "$ac_c_werror_flag"
                   16069:                         || test ! -s conftest.err'
                   16070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16071:   (eval $ac_try) 2>&5
                   16072:   ac_status=$?
                   16073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16074:   (exit $ac_status); }; } &&
                   16075:         { ac_try='test -s conftest$ac_exeext'
                   16076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16077:   (eval $ac_try) 2>&5
                   16078:   ac_status=$?
                   16079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16080:   (exit $ac_status); }; }; then
                   16081: 
                   16082: cat >>confdefs.h <<\_ACEOF
                   16083: #define HAVE_LIBDL 1
                   16084: _ACEOF
                   16085: 
                   16086:            libltdl_cv_func_dlopen="yes"
                   16087:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16088: else
                   16089:   echo "$as_me: failed program was:" >&5
                   16090: sed 's/^/| /' conftest.$ac_ext >&5
                   16091: 
                   16092: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   16093: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   16094: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   16095:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16096: else
                   16097:   ac_check_lib_save_LIBS=$LIBS
                   16098: LIBS="-lsvld  $LIBS"
                   16099: cat >conftest.$ac_ext <<_ACEOF
                   16100: /* confdefs.h.  */
                   16101: _ACEOF
                   16102: cat confdefs.h >>conftest.$ac_ext
                   16103: cat >>conftest.$ac_ext <<_ACEOF
                   16104: /* end confdefs.h.  */
                   16105: 
                   16106: /* Override any gcc2 internal prototype to avoid an error.  */
                   16107: #ifdef __cplusplus
                   16108: extern "C"
                   16109: #endif
                   16110: /* We use char because int might match the return type of a gcc2
                   16111:    builtin and then its argument prototype would still apply.  */
                   16112: char dlopen ();
                   16113: int
                   16114: main ()
                   16115: {
                   16116: dlopen ();
                   16117:   ;
                   16118:   return 0;
                   16119: }
                   16120: _ACEOF
                   16121: rm -f conftest.$ac_objext conftest$ac_exeext
                   16122: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16123:   (eval $ac_link) 2>conftest.er1
                   16124:   ac_status=$?
                   16125:   grep -v '^ *+' conftest.er1 >conftest.err
                   16126:   rm -f conftest.er1
                   16127:   cat conftest.err >&5
                   16128:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16129:   (exit $ac_status); } &&
                   16130:         { ac_try='test -z "$ac_c_werror_flag"
                   16131:                         || test ! -s conftest.err'
                   16132:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16133:   (eval $ac_try) 2>&5
                   16134:   ac_status=$?
                   16135:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16136:   (exit $ac_status); }; } &&
                   16137:         { ac_try='test -s conftest$ac_exeext'
                   16138:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16139:   (eval $ac_try) 2>&5
                   16140:   ac_status=$?
                   16141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16142:   (exit $ac_status); }; }; then
                   16143:   ac_cv_lib_svld_dlopen=yes
                   16144: else
                   16145:   echo "$as_me: failed program was:" >&5
                   16146: sed 's/^/| /' conftest.$ac_ext >&5
                   16147: 
                   16148: ac_cv_lib_svld_dlopen=no
                   16149: fi
                   16150: rm -f conftest.err conftest.$ac_objext \
                   16151:       conftest$ac_exeext conftest.$ac_ext
                   16152: LIBS=$ac_check_lib_save_LIBS
                   16153: fi
                   16154: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   16155: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   16156: if test $ac_cv_lib_svld_dlopen = yes; then
                   16157: 
                   16158: cat >>confdefs.h <<\_ACEOF
                   16159: #define HAVE_LIBDL 1
                   16160: _ACEOF
                   16161: 
                   16162:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16163:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16164: fi
                   16165: 
                   16166: fi
                   16167: rm -f conftest.err conftest.$ac_objext \
                   16168:       conftest$ac_exeext conftest.$ac_ext
                   16169: fi
                   16170: 
                   16171: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16172: then
                   16173:   lt_save_LIBS="$LIBS"
                   16174:   LIBS="$LIBS $LIBADD_DLOPEN"
                   16175: 
                   16176: for ac_func in dlerror
                   16177: do
                   16178: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16179: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16180: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16181: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16182:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16183: else
                   16184:   cat >conftest.$ac_ext <<_ACEOF
                   16185: /* confdefs.h.  */
                   16186: _ACEOF
                   16187: cat confdefs.h >>conftest.$ac_ext
                   16188: cat >>conftest.$ac_ext <<_ACEOF
                   16189: /* end confdefs.h.  */
                   16190: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16191:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16192: #define $ac_func innocuous_$ac_func
                   16193: 
                   16194: /* System header to define __stub macros and hopefully few prototypes,
                   16195:     which can conflict with char $ac_func (); below.
                   16196:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16197:     <limits.h> exists even on freestanding compilers.  */
                   16198: 
                   16199: #ifdef __STDC__
                   16200: # include <limits.h>
                   16201: #else
                   16202: # include <assert.h>
                   16203: #endif
                   16204: 
                   16205: #undef $ac_func
                   16206: 
                   16207: /* Override any gcc2 internal prototype to avoid an error.  */
                   16208: #ifdef __cplusplus
                   16209: extern "C"
                   16210: {
                   16211: #endif
                   16212: /* We use char because int might match the return type of a gcc2
                   16213:    builtin and then its argument prototype would still apply.  */
                   16214: char $ac_func ();
                   16215: /* The GNU C library defines this for functions which it implements
                   16216:     to always fail with ENOSYS.  Some functions are actually named
                   16217:     something starting with __ and the normal name is an alias.  */
                   16218: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16219: choke me
                   16220: #else
                   16221: char (*f) () = $ac_func;
                   16222: #endif
                   16223: #ifdef __cplusplus
                   16224: }
                   16225: #endif
                   16226: 
                   16227: int
                   16228: main ()
                   16229: {
                   16230: return f != $ac_func;
                   16231:   ;
                   16232:   return 0;
                   16233: }
                   16234: _ACEOF
                   16235: rm -f conftest.$ac_objext conftest$ac_exeext
                   16236: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16237:   (eval $ac_link) 2>conftest.er1
                   16238:   ac_status=$?
                   16239:   grep -v '^ *+' conftest.er1 >conftest.err
                   16240:   rm -f conftest.er1
                   16241:   cat conftest.err >&5
                   16242:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16243:   (exit $ac_status); } &&
                   16244:         { ac_try='test -z "$ac_c_werror_flag"
                   16245:                         || test ! -s conftest.err'
                   16246:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16247:   (eval $ac_try) 2>&5
                   16248:   ac_status=$?
                   16249:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16250:   (exit $ac_status); }; } &&
                   16251:         { ac_try='test -s conftest$ac_exeext'
                   16252:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16253:   (eval $ac_try) 2>&5
                   16254:   ac_status=$?
                   16255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16256:   (exit $ac_status); }; }; then
                   16257:   eval "$as_ac_var=yes"
                   16258: else
                   16259:   echo "$as_me: failed program was:" >&5
                   16260: sed 's/^/| /' conftest.$ac_ext >&5
                   16261: 
                   16262: eval "$as_ac_var=no"
                   16263: fi
                   16264: rm -f conftest.err conftest.$ac_objext \
                   16265:       conftest$ac_exeext conftest.$ac_ext
                   16266: fi
                   16267: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16268: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16269: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16270:   cat >>confdefs.h <<_ACEOF
                   16271: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16272: _ACEOF
                   16273: 
                   16274: fi
                   16275: done
                   16276: 
                   16277:   LIBS="$lt_save_LIBS"
                   16278: fi
                   16279: 
                   16280: 
                   16281: LIBADD_SHL_LOAD=
                   16282: echo "$as_me:$LINENO: checking for shl_load" >&5
                   16283: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   16284: if test "${ac_cv_func_shl_load+set}" = set; then
                   16285:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16286: else
                   16287:   cat >conftest.$ac_ext <<_ACEOF
                   16288: /* confdefs.h.  */
                   16289: _ACEOF
                   16290: cat confdefs.h >>conftest.$ac_ext
                   16291: cat >>conftest.$ac_ext <<_ACEOF
                   16292: /* end confdefs.h.  */
                   16293: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   16294:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16295: #define shl_load innocuous_shl_load
                   16296: 
                   16297: /* System header to define __stub macros and hopefully few prototypes,
                   16298:     which can conflict with char shl_load (); below.
                   16299:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16300:     <limits.h> exists even on freestanding compilers.  */
                   16301: 
                   16302: #ifdef __STDC__
                   16303: # include <limits.h>
                   16304: #else
                   16305: # include <assert.h>
                   16306: #endif
                   16307: 
                   16308: #undef shl_load
                   16309: 
                   16310: /* Override any gcc2 internal prototype to avoid an error.  */
                   16311: #ifdef __cplusplus
                   16312: extern "C"
                   16313: {
                   16314: #endif
                   16315: /* We use char because int might match the return type of a gcc2
                   16316:    builtin and then its argument prototype would still apply.  */
                   16317: char shl_load ();
                   16318: /* The GNU C library defines this for functions which it implements
                   16319:     to always fail with ENOSYS.  Some functions are actually named
                   16320:     something starting with __ and the normal name is an alias.  */
                   16321: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   16322: choke me
                   16323: #else
                   16324: char (*f) () = shl_load;
                   16325: #endif
                   16326: #ifdef __cplusplus
                   16327: }
                   16328: #endif
                   16329: 
                   16330: int
                   16331: main ()
                   16332: {
                   16333: return f != shl_load;
                   16334:   ;
                   16335:   return 0;
                   16336: }
                   16337: _ACEOF
                   16338: rm -f conftest.$ac_objext conftest$ac_exeext
                   16339: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16340:   (eval $ac_link) 2>conftest.er1
                   16341:   ac_status=$?
                   16342:   grep -v '^ *+' conftest.er1 >conftest.err
                   16343:   rm -f conftest.er1
                   16344:   cat conftest.err >&5
                   16345:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16346:   (exit $ac_status); } &&
                   16347:         { ac_try='test -z "$ac_c_werror_flag"
                   16348:                         || test ! -s conftest.err'
                   16349:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16350:   (eval $ac_try) 2>&5
                   16351:   ac_status=$?
                   16352:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16353:   (exit $ac_status); }; } &&
                   16354:         { ac_try='test -s conftest$ac_exeext'
                   16355:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16356:   (eval $ac_try) 2>&5
                   16357:   ac_status=$?
                   16358:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16359:   (exit $ac_status); }; }; then
                   16360:   ac_cv_func_shl_load=yes
                   16361: else
                   16362:   echo "$as_me: failed program was:" >&5
                   16363: sed 's/^/| /' conftest.$ac_ext >&5
                   16364: 
                   16365: ac_cv_func_shl_load=no
                   16366: fi
                   16367: rm -f conftest.err conftest.$ac_objext \
                   16368:       conftest$ac_exeext conftest.$ac_ext
                   16369: fi
                   16370: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   16371: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   16372: if test $ac_cv_func_shl_load = yes; then
                   16373: 
                   16374: cat >>confdefs.h <<\_ACEOF
                   16375: #define HAVE_SHL_LOAD 1
                   16376: _ACEOF
                   16377: 
                   16378:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16379: else
                   16380:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   16381: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   16382: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   16383:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16384: else
                   16385:   ac_check_lib_save_LIBS=$LIBS
                   16386: LIBS="-ldld  $LIBS"
                   16387: cat >conftest.$ac_ext <<_ACEOF
                   16388: /* confdefs.h.  */
                   16389: _ACEOF
                   16390: cat confdefs.h >>conftest.$ac_ext
                   16391: cat >>conftest.$ac_ext <<_ACEOF
                   16392: /* end confdefs.h.  */
1.10      paf      16393: 
1.66      paf      16394: /* Override any gcc2 internal prototype to avoid an error.  */
                   16395: #ifdef __cplusplus
                   16396: extern "C"
                   16397: #endif
                   16398: /* We use char because int might match the return type of a gcc2
                   16399:    builtin and then its argument prototype would still apply.  */
                   16400: char shl_load ();
                   16401: int
                   16402: main ()
                   16403: {
                   16404: shl_load ();
                   16405:   ;
                   16406:   return 0;
                   16407: }
                   16408: _ACEOF
                   16409: rm -f conftest.$ac_objext conftest$ac_exeext
                   16410: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16411:   (eval $ac_link) 2>conftest.er1
1.66      paf      16412:   ac_status=$?
1.86      paf      16413:   grep -v '^ *+' conftest.er1 >conftest.err
                   16414:   rm -f conftest.er1
                   16415:   cat conftest.err >&5
1.66      paf      16416:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16417:   (exit $ac_status); } &&
1.86      paf      16418:         { ac_try='test -z "$ac_c_werror_flag"
                   16419:                         || test ! -s conftest.err'
                   16420:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16421:   (eval $ac_try) 2>&5
                   16422:   ac_status=$?
                   16423:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16424:   (exit $ac_status); }; } &&
                   16425:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16426:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16427:   (eval $ac_try) 2>&5
                   16428:   ac_status=$?
                   16429:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16430:   (exit $ac_status); }; }; then
                   16431:   ac_cv_lib_dld_shl_load=yes
                   16432: else
                   16433:   echo "$as_me: failed program was:" >&5
                   16434: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      16435: 
1.66      paf      16436: ac_cv_lib_dld_shl_load=no
                   16437: fi
1.86      paf      16438: rm -f conftest.err conftest.$ac_objext \
                   16439:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      16440: LIBS=$ac_check_lib_save_LIBS
                   16441: fi
                   16442: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   16443: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   16444: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      16445: 
1.66      paf      16446: cat >>confdefs.h <<\_ACEOF
                   16447: #define HAVE_SHL_LOAD 1
                   16448: _ACEOF
1.1       paf      16449: 
1.128     moko     16450:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16451:            LIBADD_SHL_LOAD="-ldld"
                   16452: fi
                   16453: 
                   16454: fi
                   16455: 
                   16456: 
                   16457: 
                   16458: case $host_os in
                   16459: darwin[1567].*)
                   16460: # We only want this for pre-Mac OS X 10.4.
                   16461:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   16462: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   16463: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   16464:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16465: else
                   16466:   cat >conftest.$ac_ext <<_ACEOF
                   16467: /* confdefs.h.  */
                   16468: _ACEOF
                   16469: cat confdefs.h >>conftest.$ac_ext
                   16470: cat >>conftest.$ac_ext <<_ACEOF
                   16471: /* end confdefs.h.  */
                   16472: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   16473:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16474: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   16475: 
                   16476: /* System header to define __stub macros and hopefully few prototypes,
                   16477:     which can conflict with char _dyld_func_lookup (); below.
                   16478:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16479:     <limits.h> exists even on freestanding compilers.  */
                   16480: 
                   16481: #ifdef __STDC__
                   16482: # include <limits.h>
                   16483: #else
                   16484: # include <assert.h>
                   16485: #endif
                   16486: 
                   16487: #undef _dyld_func_lookup
                   16488: 
                   16489: /* Override any gcc2 internal prototype to avoid an error.  */
                   16490: #ifdef __cplusplus
                   16491: extern "C"
                   16492: {
                   16493: #endif
                   16494: /* We use char because int might match the return type of a gcc2
                   16495:    builtin and then its argument prototype would still apply.  */
                   16496: char _dyld_func_lookup ();
                   16497: /* The GNU C library defines this for functions which it implements
                   16498:     to always fail with ENOSYS.  Some functions are actually named
                   16499:     something starting with __ and the normal name is an alias.  */
                   16500: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   16501: choke me
                   16502: #else
                   16503: char (*f) () = _dyld_func_lookup;
                   16504: #endif
                   16505: #ifdef __cplusplus
                   16506: }
                   16507: #endif
                   16508: 
                   16509: int
                   16510: main ()
                   16511: {
                   16512: return f != _dyld_func_lookup;
                   16513:   ;
                   16514:   return 0;
                   16515: }
                   16516: _ACEOF
                   16517: rm -f conftest.$ac_objext conftest$ac_exeext
                   16518: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16519:   (eval $ac_link) 2>conftest.er1
                   16520:   ac_status=$?
                   16521:   grep -v '^ *+' conftest.er1 >conftest.err
                   16522:   rm -f conftest.er1
                   16523:   cat conftest.err >&5
                   16524:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16525:   (exit $ac_status); } &&
                   16526:         { ac_try='test -z "$ac_c_werror_flag"
                   16527:                         || test ! -s conftest.err'
                   16528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16529:   (eval $ac_try) 2>&5
                   16530:   ac_status=$?
                   16531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16532:   (exit $ac_status); }; } &&
                   16533:         { ac_try='test -s conftest$ac_exeext'
                   16534:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16535:   (eval $ac_try) 2>&5
                   16536:   ac_status=$?
                   16537:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16538:   (exit $ac_status); }; }; then
                   16539:   ac_cv_func__dyld_func_lookup=yes
                   16540: else
                   16541:   echo "$as_me: failed program was:" >&5
                   16542: sed 's/^/| /' conftest.$ac_ext >&5
                   16543: 
                   16544: ac_cv_func__dyld_func_lookup=no
                   16545: fi
                   16546: rm -f conftest.err conftest.$ac_objext \
                   16547:       conftest$ac_exeext conftest.$ac_ext
                   16548: fi
                   16549: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   16550: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   16551: if test $ac_cv_func__dyld_func_lookup = yes; then
                   16552: 
                   16553: cat >>confdefs.h <<\_ACEOF
                   16554: #define HAVE_DYLD 1
                   16555: _ACEOF
                   16556: 
                   16557:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16558: fi
                   16559: 
                   16560:   ;;
                   16561: beos*)
                   16562:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16563:   ;;
                   16564: cygwin* | mingw* | os2* | pw32*)
                   16565:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   16566: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   16567: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   16568:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16569: else
                   16570:   cat >conftest.$ac_ext <<_ACEOF
                   16571: /* confdefs.h.  */
                   16572: _ACEOF
                   16573: cat confdefs.h >>conftest.$ac_ext
                   16574: cat >>conftest.$ac_ext <<_ACEOF
                   16575: /* end confdefs.h.  */
                   16576: #include <sys/cygwin.h>
                   16577: 
                   16578: int
                   16579: main ()
                   16580: {
                   16581: #ifndef cygwin_conv_path
                   16582:   char *p = (char *) cygwin_conv_path;
                   16583: #endif
                   16584: 
                   16585:   ;
                   16586:   return 0;
                   16587: }
                   16588: _ACEOF
                   16589: rm -f conftest.$ac_objext
                   16590: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16591:   (eval $ac_compile) 2>conftest.er1
                   16592:   ac_status=$?
                   16593:   grep -v '^ *+' conftest.er1 >conftest.err
                   16594:   rm -f conftest.er1
                   16595:   cat conftest.err >&5
                   16596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16597:   (exit $ac_status); } &&
                   16598:         { ac_try='test -z "$ac_c_werror_flag"
                   16599:                         || test ! -s conftest.err'
                   16600:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16601:   (eval $ac_try) 2>&5
                   16602:   ac_status=$?
                   16603:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16604:   (exit $ac_status); }; } &&
                   16605:         { ac_try='test -s conftest.$ac_objext'
                   16606:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16607:   (eval $ac_try) 2>&5
                   16608:   ac_status=$?
                   16609:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16610:   (exit $ac_status); }; }; then
                   16611:   ac_cv_have_decl_cygwin_conv_path=yes
                   16612: else
                   16613:   echo "$as_me: failed program was:" >&5
                   16614: sed 's/^/| /' conftest.$ac_ext >&5
                   16615: 
                   16616: ac_cv_have_decl_cygwin_conv_path=no
                   16617: fi
                   16618: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16619: fi
                   16620: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   16621: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   16622: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   16623: 
                   16624: cat >>confdefs.h <<_ACEOF
                   16625: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   16626: _ACEOF
                   16627: 
                   16628: 
1.66      paf      16629: else
1.128     moko     16630:   cat >>confdefs.h <<_ACEOF
                   16631: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   16632: _ACEOF
                   16633: 
                   16634: 
                   16635: fi
                   16636: 
                   16637: 
                   16638:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16639:   ;;
                   16640: esac
                   16641: 
                   16642: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   16643: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   16644: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
1.66      paf      16645:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16646: else
                   16647:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16648: LIBS="-ldld  $LIBS"
1.66      paf      16649: cat >conftest.$ac_ext <<_ACEOF
                   16650: /* confdefs.h.  */
                   16651: _ACEOF
                   16652: cat confdefs.h >>conftest.$ac_ext
                   16653: cat >>conftest.$ac_ext <<_ACEOF
                   16654: /* end confdefs.h.  */
1.62      paf      16655: 
1.66      paf      16656: /* Override any gcc2 internal prototype to avoid an error.  */
                   16657: #ifdef __cplusplus
                   16658: extern "C"
                   16659: #endif
                   16660: /* We use char because int might match the return type of a gcc2
                   16661:    builtin and then its argument prototype would still apply.  */
1.128     moko     16662: char dld_link ();
1.66      paf      16663: int
                   16664: main ()
                   16665: {
1.128     moko     16666: dld_link ();
1.66      paf      16667:   ;
                   16668:   return 0;
                   16669: }
                   16670: _ACEOF
                   16671: rm -f conftest.$ac_objext conftest$ac_exeext
                   16672: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      16673:   (eval $ac_link) 2>conftest.er1
1.66      paf      16674:   ac_status=$?
1.86      paf      16675:   grep -v '^ *+' conftest.er1 >conftest.err
                   16676:   rm -f conftest.er1
                   16677:   cat conftest.err >&5
1.66      paf      16678:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16679:   (exit $ac_status); } &&
1.86      paf      16680:         { ac_try='test -z "$ac_c_werror_flag"
                   16681:                         || test ! -s conftest.err'
                   16682:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16683:   (eval $ac_try) 2>&5
                   16684:   ac_status=$?
                   16685:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16686:   (exit $ac_status); }; } &&
                   16687:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      16688:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16689:   (eval $ac_try) 2>&5
                   16690:   ac_status=$?
                   16691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16692:   (exit $ac_status); }; }; then
1.128     moko     16693:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16694: else
                   16695:   echo "$as_me: failed program was:" >&5
1.128     moko     16696: sed 's/^/| /' conftest.$ac_ext >&5
                   16697: 
                   16698: ac_cv_lib_dld_dld_link=no
                   16699: fi
                   16700: rm -f conftest.err conftest.$ac_objext \
                   16701:       conftest$ac_exeext conftest.$ac_ext
                   16702: LIBS=$ac_check_lib_save_LIBS
                   16703: fi
                   16704: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16705: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16706: if test $ac_cv_lib_dld_dld_link = yes; then
                   16707: 
                   16708: cat >>confdefs.h <<\_ACEOF
                   16709: #define HAVE_DLD 1
                   16710: _ACEOF
                   16711: 
                   16712:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16713: fi
                   16714: 
                   16715: 
                   16716: 
                   16717: 
                   16718: LT_DLPREOPEN=
                   16719: if test -n "$LT_DLLOADERS"
                   16720: then
                   16721:   for lt_loader in $LT_DLLOADERS; do
                   16722:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16723:   done
                   16724: 
                   16725: cat >>confdefs.h <<\_ACEOF
                   16726: #define HAVE_LIBDLLOADER 1
                   16727: _ACEOF
                   16728: 
                   16729: fi
                   16730: 
                   16731: 
                   16732: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16733: 
                   16734: 
                   16735: ac_ext=c
                   16736: ac_cpp='$CPP $CPPFLAGS'
                   16737: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16738: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16739: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16740: 
                   16741: 
                   16742: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16743: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16744: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16745:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16746: else
                   16747:   lt_cv_sys_symbol_underscore=no
                   16748:   cat > conftest.$ac_ext <<_LT_EOF
                   16749: void nm_test_func(){}
                   16750: int main(){nm_test_func;return 0;}
                   16751: _LT_EOF
                   16752:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16753:   (eval $ac_compile) 2>&5
                   16754:   ac_status=$?
                   16755:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16756:   (exit $ac_status); }; then
                   16757:     # Now try to grab the symbols.
                   16758:     ac_nlist=conftest.nm
                   16759:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16760:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16761:   ac_status=$?
                   16762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16763:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16764:       # See whether the symbols have a leading underscore.
                   16765:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16766:         lt_cv_sys_symbol_underscore=yes
                   16767:       else
                   16768:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16769:          :
                   16770:         else
                   16771:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16772:         fi
                   16773:       fi
                   16774:     else
                   16775:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16776:     fi
                   16777:   else
                   16778:     echo "configure: failed program was:" >&5
                   16779:     cat conftest.c >&5
                   16780:   fi
                   16781:   rm -rf conftest*
1.29      paf      16782: 
1.66      paf      16783: fi
1.128     moko     16784: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16785: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16786:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16787: 
1.62      paf      16788: 
1.128     moko     16789: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16790:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16791:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16792:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16793: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16794: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16795:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16796: else
1.128     moko     16797:   libltdl_cv_need_uscore=unknown
                   16798:           save_LIBS="$LIBS"
                   16799:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16800:          if test "$cross_compiling" = yes; then :
                   16801:   libltdl_cv_need_uscore=cross
                   16802: else
                   16803:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16804:   lt_status=$lt_dlunknown
                   16805:   cat > conftest.$ac_ext <<_LT_EOF
                   16806: #line $LINENO "configure"
                   16807: #include "confdefs.h"
                   16808: 
1.66      paf      16809: #if HAVE_DLFCN_H
1.128     moko     16810: #include <dlfcn.h>
                   16811: #endif
                   16812: 
                   16813: #include <stdio.h>
                   16814: 
                   16815: #ifdef RTLD_GLOBAL
                   16816: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16817: #else
                   16818: #  ifdef DL_GLOBAL
                   16819: #    define LT_DLGLOBAL                DL_GLOBAL
                   16820: #  else
                   16821: #    define LT_DLGLOBAL                0
                   16822: #  endif
                   16823: #endif
                   16824: 
                   16825: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16826:    find out it does not work in some platform. */
                   16827: #ifndef LT_DLLAZY_OR_NOW
                   16828: #  ifdef RTLD_LAZY
                   16829: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16830: #  else
                   16831: #    ifdef DL_LAZY
                   16832: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16833: #    else
                   16834: #      ifdef RTLD_NOW
                   16835: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16836: #      else
                   16837: #        ifdef DL_NOW
                   16838: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16839: #        else
                   16840: #          define LT_DLLAZY_OR_NOW     0
                   16841: #        endif
                   16842: #      endif
                   16843: #    endif
                   16844: #  endif
                   16845: #endif
                   16846: 
                   16847: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16848:    correspondingly for the symbols needed.  */
                   16849: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16850: int fnord () __attribute__((visibility("default")));
1.66      paf      16851: #endif
1.62      paf      16852: 
1.128     moko     16853: int fnord () { return 42; }
                   16854: int main ()
1.66      paf      16855: {
1.128     moko     16856:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16857:   int status = $lt_dlunknown;
                   16858: 
                   16859:   if (self)
                   16860:     {
                   16861:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16862:       else
                   16863:         {
                   16864:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16865:           else puts (dlerror ());
                   16866:        }
                   16867:       /* dlclose (self); */
                   16868:     }
                   16869:   else
                   16870:     puts (dlerror ());
                   16871: 
                   16872:   return status;
1.66      paf      16873: }
1.128     moko     16874: _LT_EOF
                   16875:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16876:   (eval $ac_link) 2>&5
1.66      paf      16877:   ac_status=$?
                   16878:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     16879:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16880:     (./conftest; exit; ) >&5 2>/dev/null
                   16881:     lt_status=$?
                   16882:     case x$lt_status in
                   16883:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16884:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16885:       x$lt_dlunknown|x*)  ;;
                   16886:     esac
                   16887:   else :
                   16888:     # compilation failed
                   16889: 
                   16890:   fi
                   16891: fi
                   16892: rm -fr conftest*
                   16893: 
                   16894:          LIBS="$save_LIBS"
                   16895: 
                   16896: fi
                   16897: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16898: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16899:   fi
                   16900: fi
                   16901: 
                   16902: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16903: 
1.66      paf      16904: cat >>confdefs.h <<\_ACEOF
1.128     moko     16905: #define NEED_USCORE 1
1.66      paf      16906: _ACEOF
1.29      paf      16907: 
1.128     moko     16908: fi
                   16909: 
                   16910: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16911: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16912: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16913:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.66      paf      16914: else
1.128     moko     16915:   # PORTME does your system automatically load deplibs for dlopen?
                   16916:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16917:   # For now, we just catch OSes we know something about -- in the
                   16918:   # future, we'll try test this programmatically.
                   16919:   lt_cv_sys_dlopen_deplibs=unknown
                   16920:   case $host_os in
                   16921:   aix3*|aix4.1.*|aix4.2.*)
                   16922:     # Unknown whether this is true for these versions of AIX, but
                   16923:     # we want this `case' here to explicitly catch those versions.
                   16924:     lt_cv_sys_dlopen_deplibs=unknown
                   16925:     ;;
                   16926:   aix[4-9]*)
                   16927:     lt_cv_sys_dlopen_deplibs=yes
                   16928:     ;;
                   16929:   amigaos*)
                   16930:     case $host_cpu in
                   16931:     powerpc)
                   16932:       lt_cv_sys_dlopen_deplibs=no
                   16933:       ;;
                   16934:     esac
                   16935:     ;;
                   16936:   darwin*)
                   16937:     # Assuming the user has installed a libdl from somewhere, this is true
                   16938:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16939:     lt_cv_sys_dlopen_deplibs=yes
                   16940:     ;;
                   16941:   freebsd* | dragonfly*)
                   16942:     lt_cv_sys_dlopen_deplibs=yes
                   16943:     ;;
                   16944:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16945:     # GNU and its variants, using gnu ld.so (Glibc)
                   16946:     lt_cv_sys_dlopen_deplibs=yes
                   16947:     ;;
                   16948:   hpux10*|hpux11*)
                   16949:     lt_cv_sys_dlopen_deplibs=yes
                   16950:     ;;
                   16951:   interix*)
                   16952:     lt_cv_sys_dlopen_deplibs=yes
                   16953:     ;;
                   16954:   irix[12345]*|irix6.[01]*)
                   16955:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16956:     # know how it worked for any of those versions.
                   16957:     lt_cv_sys_dlopen_deplibs=unknown
                   16958:     ;;
                   16959:   irix*)
                   16960:     # The case above catches anything before 6.2, and it's known that
                   16961:     # at 6.2 and later dlopen does load deplibs.
                   16962:     lt_cv_sys_dlopen_deplibs=yes
                   16963:     ;;
                   16964:   netbsd*)
                   16965:     lt_cv_sys_dlopen_deplibs=yes
                   16966:     ;;
                   16967:   openbsd*)
                   16968:     lt_cv_sys_dlopen_deplibs=yes
                   16969:     ;;
                   16970:   osf[1234]*)
                   16971:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16972:     # it did *not* use an RPATH in a shared library to find objects the
                   16973:     # library depends on, so we explicitly say `no'.
                   16974:     lt_cv_sys_dlopen_deplibs=no
                   16975:     ;;
                   16976:   osf5.0|osf5.0a|osf5.1)
                   16977:     # dlopen *does* load deplibs and with the right loader patch applied
                   16978:     # it even uses RPATH in a shared library to search for shared objects
                   16979:     # that the library depends on, but there's no easy way to know if that
                   16980:     # patch is installed.  Since this is the case, all we can really
                   16981:     # say is unknown -- it depends on the patch being installed.  If
                   16982:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16983:     lt_cv_sys_dlopen_deplibs=unknown
                   16984:     ;;
                   16985:   osf*)
                   16986:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16987:     # the comments above for what we know about them.
                   16988:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16989:     # is used to find them so we can finally say `yes'.
                   16990:     lt_cv_sys_dlopen_deplibs=yes
                   16991:     ;;
                   16992:   qnx*)
                   16993:     lt_cv_sys_dlopen_deplibs=yes
                   16994:     ;;
                   16995:   solaris*)
                   16996:     lt_cv_sys_dlopen_deplibs=yes
                   16997:     ;;
                   16998:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16999:     libltdl_cv_sys_dlopen_deplibs=yes
                   17000:     ;;
                   17001:   esac
                   17002: 
                   17003: fi
                   17004: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17005: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   17006: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17007: 
                   17008: cat >>confdefs.h <<\_ACEOF
                   17009: #define LTDL_DLOPEN_DEPLIBS 1
                   17010: _ACEOF
                   17011: 
                   17012: fi
                   17013: 
                   17014: :
                   17015: 
1.29      paf      17016: 
1.128     moko     17017: for ac_header in argz.h
                   17018: do
                   17019: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17020: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17021: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17022: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.66      paf      17023:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17024: else
1.128     moko     17025:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17026: /* confdefs.h.  */
                   17027: _ACEOF
                   17028: cat confdefs.h >>conftest.$ac_ext
                   17029: cat >>conftest.$ac_ext <<_ACEOF
                   17030: /* end confdefs.h.  */
1.128     moko     17031: $ac_includes_default
1.29      paf      17032: 
1.128     moko     17033: #include <$ac_header>
1.66      paf      17034: _ACEOF
1.128     moko     17035: rm -f conftest.$ac_objext
                   17036: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17037:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17038:   ac_status=$?
1.86      paf      17039:   grep -v '^ *+' conftest.er1 >conftest.err
                   17040:   rm -f conftest.er1
                   17041:   cat conftest.err >&5
1.66      paf      17042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17043:   (exit $ac_status); } &&
1.86      paf      17044:         { ac_try='test -z "$ac_c_werror_flag"
                   17045:                         || test ! -s conftest.err'
                   17046:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17047:   (eval $ac_try) 2>&5
                   17048:   ac_status=$?
                   17049:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17050:   (exit $ac_status); }; } &&
1.128     moko     17051:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17052:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17053:   (eval $ac_try) 2>&5
                   17054:   ac_status=$?
                   17055:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17056:   (exit $ac_status); }; }; then
1.128     moko     17057:   eval "$as_ac_Header=yes"
1.66      paf      17058: else
                   17059:   echo "$as_me: failed program was:" >&5
                   17060: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17061: 
1.128     moko     17062: eval "$as_ac_Header=no"
                   17063: fi
                   17064: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17065: fi
1.128     moko     17066: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17067: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17068: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17069:   cat >>confdefs.h <<_ACEOF
                   17070: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17071: _ACEOF
                   17072: 
1.66      paf      17073: fi
1.62      paf      17074: 
1.128     moko     17075: done
                   17076: 
1.29      paf      17077: 
1.128     moko     17078: echo "$as_me:$LINENO: checking for error_t" >&5
                   17079: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   17080: if test "${ac_cv_type_error_t+set}" = set; then
1.66      paf      17081:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17082: else
1.128     moko     17083:   cat >conftest.$ac_ext <<_ACEOF
1.66      paf      17084: /* confdefs.h.  */
                   17085: _ACEOF
                   17086: cat confdefs.h >>conftest.$ac_ext
                   17087: cat >>conftest.$ac_ext <<_ACEOF
                   17088: /* end confdefs.h.  */
1.128     moko     17089: #if defined(HAVE_ARGZ_H)
                   17090: #  include <argz.h>
                   17091: #endif
1.29      paf      17092: 
1.66      paf      17093: int
                   17094: main ()
                   17095: {
1.128     moko     17096: if ((error_t *) 0)
                   17097:   return 0;
                   17098: if (sizeof (error_t))
                   17099:   return 0;
1.66      paf      17100:   ;
                   17101:   return 0;
                   17102: }
                   17103: _ACEOF
1.128     moko     17104: rm -f conftest.$ac_objext
                   17105: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17106:   (eval $ac_compile) 2>conftest.er1
1.66      paf      17107:   ac_status=$?
1.86      paf      17108:   grep -v '^ *+' conftest.er1 >conftest.err
                   17109:   rm -f conftest.er1
                   17110:   cat conftest.err >&5
1.66      paf      17111:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17112:   (exit $ac_status); } &&
1.86      paf      17113:         { ac_try='test -z "$ac_c_werror_flag"
                   17114:                         || test ! -s conftest.err'
                   17115:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17116:   (eval $ac_try) 2>&5
                   17117:   ac_status=$?
                   17118:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17119:   (exit $ac_status); }; } &&
1.128     moko     17120:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      17121:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17122:   (eval $ac_try) 2>&5
                   17123:   ac_status=$?
                   17124:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17125:   (exit $ac_status); }; }; then
1.128     moko     17126:   ac_cv_type_error_t=yes
1.66      paf      17127: else
                   17128:   echo "$as_me: failed program was:" >&5
                   17129: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      17130: 
1.128     moko     17131: ac_cv_type_error_t=no
1.66      paf      17132: fi
1.128     moko     17133: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17134: fi
1.128     moko     17135: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   17136: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   17137: if test $ac_cv_type_error_t = yes; then
1.29      paf      17138: 
1.128     moko     17139: cat >>confdefs.h <<_ACEOF
                   17140: #define HAVE_ERROR_T 1
1.62      paf      17141: _ACEOF
1.16      paf      17142: 
                   17143: 
1.128     moko     17144: else
1.16      paf      17145: 
1.128     moko     17146: cat >>confdefs.h <<\_ACEOF
                   17147: #define error_t int
                   17148: _ACEOF
1.16      paf      17149: 
1.12      paf      17150: 
1.128     moko     17151: cat >>confdefs.h <<\_ACEOF
                   17152: #define __error_t_defined 1
                   17153: _ACEOF
1.12      paf      17154: 
1.66      paf      17155: fi
1.12      paf      17156: 
1.128     moko     17157: 
                   17158: ARGZ_H=
1.12      paf      17159: 
                   17160: 
1.62      paf      17161: 
1.1       paf      17162: 
                   17163: 
                   17164: 
                   17165: 
1.128     moko     17166: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17167:        argz_next argz_stringify
1.66      paf      17168: do
                   17169: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17170: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17171: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17172: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17173:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      17174: else
1.64      paf      17175:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17176: /* confdefs.h.  */
                   17177: _ACEOF
                   17178: cat confdefs.h >>conftest.$ac_ext
                   17179: cat >>conftest.$ac_ext <<_ACEOF
                   17180: /* end confdefs.h.  */
1.86      paf      17181: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17182:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17183: #define $ac_func innocuous_$ac_func
                   17184: 
1.64      paf      17185: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      17186:     which can conflict with char $ac_func (); below.
1.64      paf      17187:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17188:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      17189: 
1.64      paf      17190: #ifdef __STDC__
                   17191: # include <limits.h>
                   17192: #else
                   17193: # include <assert.h>
                   17194: #endif
1.86      paf      17195: 
                   17196: #undef $ac_func
                   17197: 
1.8       paf      17198: /* Override any gcc2 internal prototype to avoid an error.  */
                   17199: #ifdef __cplusplus
                   17200: extern "C"
1.64      paf      17201: {
1.8       paf      17202: #endif
                   17203: /* We use char because int might match the return type of a gcc2
1.62      paf      17204:    builtin and then its argument prototype would still apply.  */
1.66      paf      17205: char $ac_func ();
1.64      paf      17206: /* The GNU C library defines this for functions which it implements
                   17207:     to always fail with ENOSYS.  Some functions are actually named
                   17208:     something starting with __ and the normal name is an alias.  */
1.66      paf      17209: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      17210: choke me
                   17211: #else
1.66      paf      17212: char (*f) () = $ac_func;
1.64      paf      17213: #endif
                   17214: #ifdef __cplusplus
                   17215: }
                   17216: #endif
                   17217: 
1.62      paf      17218: int
                   17219: main ()
                   17220: {
1.66      paf      17221: return f != $ac_func;
1.62      paf      17222:   ;
                   17223:   return 0;
                   17224: }
                   17225: _ACEOF
                   17226: rm -f conftest.$ac_objext conftest$ac_exeext
                   17227: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      17228:   (eval $ac_link) 2>conftest.er1
1.62      paf      17229:   ac_status=$?
1.86      paf      17230:   grep -v '^ *+' conftest.er1 >conftest.err
                   17231:   rm -f conftest.er1
                   17232:   cat conftest.err >&5
1.62      paf      17233:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17234:   (exit $ac_status); } &&
1.86      paf      17235:         { ac_try='test -z "$ac_c_werror_flag"
                   17236:                         || test ! -s conftest.err'
                   17237:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17238:   (eval $ac_try) 2>&5
                   17239:   ac_status=$?
                   17240:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17241:   (exit $ac_status); }; } &&
                   17242:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17243:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.128     moko     17244:   (eval $ac_try) 2>&5
                   17245:   ac_status=$?
                   17246:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17247:   (exit $ac_status); }; }; then
                   17248:   eval "$as_ac_var=yes"
                   17249: else
                   17250:   echo "$as_me: failed program was:" >&5
                   17251: sed 's/^/| /' conftest.$ac_ext >&5
                   17252: 
                   17253: eval "$as_ac_var=no"
                   17254: fi
                   17255: rm -f conftest.err conftest.$ac_objext \
                   17256:       conftest$ac_exeext conftest.$ac_ext
                   17257: fi
                   17258: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17259: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17260: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17261:   cat >>confdefs.h <<_ACEOF
                   17262: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17263: _ACEOF
                   17264: 
                   17265: else
                   17266:   ARGZ_H=argz.h;
                   17267: 
                   17268:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17269: 
                   17270: fi
                   17271: done
                   17272: 
                   17273: 
                   17274: if test -z "$ARGZ_H"; then
                   17275:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   17276: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   17277: if test "${lt_cv_sys_argz_works+set}" = set; then
                   17278:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17279: else
                   17280:   case $host_os in #(
                   17281:         *cygwin*)
                   17282:           lt_cv_sys_argz_works=no
                   17283:           if test "$cross_compiling" != no; then
                   17284:             lt_cv_sys_argz_works="guessing no"
                   17285:           else
                   17286:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17287:             save_IFS=$IFS
                   17288:             IFS=-.
                   17289:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17290:             IFS=$save_IFS
                   17291:             lt_os_major=${2-0}
                   17292:             lt_os_minor=${3-0}
                   17293:             lt_os_micro=${4-0}
                   17294:             if test "$lt_os_major" -gt 1 \
                   17295:                || { test "$lt_os_major" -eq 1 \
                   17296:                  && { test "$lt_os_minor" -gt 5 \
                   17297:                    || { test "$lt_os_minor" -eq 5 \
                   17298:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17299:               lt_cv_sys_argz_works=yes
                   17300:             fi
                   17301:           fi
                   17302:           ;; #(
                   17303:         *) lt_cv_sys_argz_works=yes ;;
                   17304:         esac
                   17305: fi
                   17306: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   17307: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   17308:      if test "$lt_cv_sys_argz_works" = yes; then
                   17309: 
                   17310: cat >>confdefs.h <<\_ACEOF
                   17311: #define HAVE_WORKING_ARGZ 1
                   17312: _ACEOF
                   17313: 
1.62      paf      17314: else
1.128     moko     17315:   ARGZ_H=argz.h
                   17316: 
                   17317: 
                   17318:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17319: 
                   17320: fi
1.62      paf      17321: 
                   17322: fi
1.128     moko     17323: 
                   17324: 
                   17325: 
                   17326: 
                   17327: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17328: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   17329: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   17330:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17331: else
                   17332:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17333:     libltdl_cv_preloaded_symbols=yes
                   17334:   else
                   17335:     libltdl_cv_preloaded_symbols=no
                   17336:   fi
                   17337: 
1.62      paf      17338: fi
1.128     moko     17339: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   17340: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   17341: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17342: 
                   17343: cat >>confdefs.h <<\_ACEOF
                   17344: #define HAVE_PRELOADED_SYMBOLS 1
1.66      paf      17345: _ACEOF
                   17346: 
                   17347: fi
                   17348: 
1.128     moko     17349: # Set options
                   17350: 
                   17351: 
                   17352: 
                   17353: 
                   17354: 
                   17355: 
                   17356: 
                   17357: 
                   17358: 
                   17359: 
1.66      paf      17360: 
                   17361: 
1.128     moko     17362: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   17363: if test "${with_included_ltdl+set}" = set; then
                   17364:   withval="$with_included_ltdl"
1.64      paf      17365: 
1.128     moko     17366: fi;
1.64      paf      17367: 
1.128     moko     17368: if test "x$with_included_ltdl" != xyes; then
                   17369:   # We are not being forced to use the included libltdl sources, so
                   17370:   # decide whether there is a useful installed version we can use.
                   17371:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   17372: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   17373: if test "${ac_cv_header_ltdl_h+set}" = set; then
1.79      paf      17374:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17375: else
1.128     moko     17376:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17377: /* confdefs.h.  */
                   17378: _ACEOF
                   17379: cat confdefs.h >>conftest.$ac_ext
                   17380: cat >>conftest.$ac_ext <<_ACEOF
                   17381: /* end confdefs.h.  */
1.128     moko     17382: $ac_includes_default
1.79      paf      17383: 
                   17384: 
1.128     moko     17385: #include <ltdl.h>
1.79      paf      17386: _ACEOF
                   17387: rm -f conftest.$ac_objext
                   17388: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17389:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17390:   ac_status=$?
1.86      paf      17391:   grep -v '^ *+' conftest.er1 >conftest.err
                   17392:   rm -f conftest.er1
                   17393:   cat conftest.err >&5
1.79      paf      17394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17395:   (exit $ac_status); } &&
1.86      paf      17396:         { ac_try='test -z "$ac_c_werror_flag"
                   17397:                         || test ! -s conftest.err'
                   17398:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17399:   (eval $ac_try) 2>&5
                   17400:   ac_status=$?
                   17401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17402:   (exit $ac_status); }; } &&
                   17403:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17404:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17405:   (eval $ac_try) 2>&5
                   17406:   ac_status=$?
                   17407:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17408:   (exit $ac_status); }; }; then
1.128     moko     17409:   ac_cv_header_ltdl_h=yes
                   17410: else
                   17411:   echo "$as_me: failed program was:" >&5
                   17412: sed 's/^/| /' conftest.$ac_ext >&5
                   17413: 
                   17414: ac_cv_header_ltdl_h=no
                   17415: fi
                   17416: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17417: fi
                   17418: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   17419: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   17420: if test $ac_cv_header_ltdl_h = yes; then
                   17421:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   17422: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   17423: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   17424:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17425: else
                   17426:   cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17427: /* confdefs.h.  */
                   17428: _ACEOF
                   17429: cat confdefs.h >>conftest.$ac_ext
                   17430: cat >>conftest.$ac_ext <<_ACEOF
                   17431: /* end confdefs.h.  */
1.128     moko     17432: $ac_includes_default
                   17433:            #include <ltdl.h>
1.79      paf      17434: 
                   17435: int
                   17436: main ()
                   17437: {
1.128     moko     17438: #ifndef lt_dlinterface_register
                   17439:   char *p = (char *) lt_dlinterface_register;
1.79      paf      17440: #endif
                   17441: 
                   17442:   ;
                   17443:   return 0;
                   17444: }
                   17445: _ACEOF
                   17446: rm -f conftest.$ac_objext
                   17447: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      17448:   (eval $ac_compile) 2>conftest.er1
1.79      paf      17449:   ac_status=$?
1.86      paf      17450:   grep -v '^ *+' conftest.er1 >conftest.err
                   17451:   rm -f conftest.er1
                   17452:   cat conftest.err >&5
1.79      paf      17453:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17454:   (exit $ac_status); } &&
1.86      paf      17455:         { ac_try='test -z "$ac_c_werror_flag"
                   17456:                         || test ! -s conftest.err'
                   17457:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17458:   (eval $ac_try) 2>&5
                   17459:   ac_status=$?
                   17460:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17461:   (exit $ac_status); }; } &&
                   17462:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      17463:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17464:   (eval $ac_try) 2>&5
                   17465:   ac_status=$?
                   17466:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17467:   (exit $ac_status); }; }; then
1.128     moko     17468:   ac_cv_have_decl_lt_dlinterface_register=yes
1.79      paf      17469: else
                   17470:   echo "$as_me: failed program was:" >&5
                   17471: sed 's/^/| /' conftest.$ac_ext >&5
                   17472: 
1.128     moko     17473: ac_cv_have_decl_lt_dlinterface_register=no
1.79      paf      17474: fi
1.86      paf      17475: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17476: fi
                   17477: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   17478: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   17479: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   17480:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   17481: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   17482: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   17483:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.79      paf      17484: else
1.128     moko     17485:   ac_check_lib_save_LIBS=$LIBS
                   17486: LIBS="-lltdl  $LIBS"
                   17487: cat >conftest.$ac_ext <<_ACEOF
1.79      paf      17488: /* confdefs.h.  */
                   17489: _ACEOF
                   17490: cat confdefs.h >>conftest.$ac_ext
                   17491: cat >>conftest.$ac_ext <<_ACEOF
                   17492: /* end confdefs.h.  */
1.128     moko     17493: 
                   17494: /* Override any gcc2 internal prototype to avoid an error.  */
                   17495: #ifdef __cplusplus
                   17496: extern "C"
                   17497: #endif
                   17498: /* We use char because int might match the return type of a gcc2
                   17499:    builtin and then its argument prototype would still apply.  */
                   17500: char lt_dladvise_preload ();
1.79      paf      17501: int
                   17502: main ()
                   17503: {
1.128     moko     17504: lt_dladvise_preload ();
1.79      paf      17505:   ;
                   17506:   return 0;
                   17507: }
                   17508: _ACEOF
1.128     moko     17509: rm -f conftest.$ac_objext conftest$ac_exeext
                   17510: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17511:   (eval $ac_link) 2>conftest.er1
1.79      paf      17512:   ac_status=$?
1.86      paf      17513:   grep -v '^ *+' conftest.er1 >conftest.err
                   17514:   rm -f conftest.er1
                   17515:   cat conftest.err >&5
1.79      paf      17516:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17517:   (exit $ac_status); } &&
1.86      paf      17518:         { ac_try='test -z "$ac_c_werror_flag"
                   17519:                         || test ! -s conftest.err'
                   17520:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17521:   (eval $ac_try) 2>&5
                   17522:   ac_status=$?
                   17523:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17524:   (exit $ac_status); }; } &&
1.128     moko     17525:         { ac_try='test -s conftest$ac_exeext'
1.79      paf      17526:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17527:   (eval $ac_try) 2>&5
                   17528:   ac_status=$?
                   17529:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17530:   (exit $ac_status); }; }; then
1.128     moko     17531:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17532: else
                   17533:   echo "$as_me: failed program was:" >&5
                   17534: sed 's/^/| /' conftest.$ac_ext >&5
                   17535: 
1.128     moko     17536: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   17537: fi
                   17538: rm -f conftest.err conftest.$ac_objext \
                   17539:       conftest$ac_exeext conftest.$ac_ext
                   17540: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17541: fi
1.128     moko     17542: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17543: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   17544: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   17545:   with_included_ltdl=no
1.79      paf      17546: else
1.128     moko     17547:   with_included_ltdl=yes
                   17548: fi
                   17549: 
1.79      paf      17550: else
1.128     moko     17551:   with_included_ltdl=yes
                   17552: fi
1.79      paf      17553: 
1.128     moko     17554: else
                   17555:   with_included_ltdl=yes
1.79      paf      17556: fi
1.128     moko     17557: 
                   17558: 
1.79      paf      17559: fi
1.128     moko     17560: 
                   17561: 
                   17562: 
                   17563: 
                   17564: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   17565: if test "${with_ltdl_include+set}" = set; then
                   17566:   withval="$with_ltdl_include"
                   17567: 
                   17568: fi;
                   17569: 
                   17570: if test -n "$with_ltdl_include"; then
                   17571:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17572:   else
                   17573:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   17574: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   17575:    { (exit 1); exit 1; }; }
                   17576:   fi
                   17577: else
                   17578:   with_ltdl_include=no
1.79      paf      17579: fi
1.128     moko     17580: 
                   17581: 
                   17582: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   17583: if test "${with_ltdl_lib+set}" = set; then
                   17584:   withval="$with_ltdl_lib"
                   17585: 
                   17586: fi;
                   17587: 
                   17588: if test -n "$with_ltdl_lib"; then
                   17589:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17590:   else
                   17591:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   17592: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   17593:    { (exit 1); exit 1; }; }
                   17594:   fi
                   17595: else
                   17596:   with_ltdl_lib=no
1.79      paf      17597: fi
                   17598: 
1.128     moko     17599: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17600:   ,yes,no,no,)
                   17601:        case $enable_ltdl_convenience in
                   17602:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   17603: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   17604:    { (exit 1); exit 1; }; } ;;
                   17605:   "") enable_ltdl_convenience=yes
                   17606:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17607: esac
                   17608: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   17609: LTDLDEPS=$LIBLTDL
                   17610: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17611: 
                   17612: 
                   17613: 
                   17614: 
                   17615: 
                   17616: # For backwards non-gettext consistent compatibility...
                   17617: INCLTDL="$LTDLINCL"
                   17618: 
1.79      paf      17619: 
1.128     moko     17620:        ;;
                   17621:   ,no,no,no,)
                   17622:        # If the included ltdl is not to be used, then use the
                   17623:        # preinstalled libltdl we found.
1.79      paf      17624: 
                   17625: cat >>confdefs.h <<\_ACEOF
1.128     moko     17626: #define HAVE_LTDL 1
1.79      paf      17627: _ACEOF
                   17628: 
1.128     moko     17629:        LIBLTDL=-lltdl
                   17630:        LTDLDEPS=
                   17631:        LTDLINCL=
                   17632:        ;;
                   17633:   ,no*,no,*)
                   17634:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   17635: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
1.79      paf      17636:    { (exit 1); exit 1; }; }
1.128     moko     17637:        ;;
                   17638:   *)   with_included_ltdl=no
                   17639:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17640:        LTDLDEPS=
                   17641:        LTDLINCL="-I$with_ltdl_include"
                   17642:        ;;
                   17643: esac
                   17644: INCLTDL="$LTDLINCL"
                   17645: 
                   17646: # Report our decision...
                   17647: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   17648: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   17649: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   17650: echo "${ECHO_T}$LTDLINCL" >&6
                   17651: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   17652: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   17653: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   17654: echo "${ECHO_T}$LIBLTDL" >&6
                   17655: 
                   17656: 
                   17657: 
                   17658: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   17659: if test "${enable_ltdl_install+set}" = set; then
                   17660:   enableval="$enable_ltdl_install"
                   17661: 
                   17662: fi;
                   17663: 
                   17664: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17665:   *yes*) ;;
                   17666:   *) enable_ltdl_convenience=yes ;;
                   17667: esac
                   17668: 
                   17669: 
                   17670: 
                   17671: if test x"${enable_ltdl_install-no}" != xno; then
                   17672:   INSTALL_LTDL_TRUE=
                   17673:   INSTALL_LTDL_FALSE='#'
                   17674: else
                   17675:   INSTALL_LTDL_TRUE='#'
                   17676:   INSTALL_LTDL_FALSE=
                   17677: fi
                   17678: 
                   17679: 
                   17680: 
                   17681: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17682:   CONVENIENCE_LTDL_TRUE=
                   17683:   CONVENIENCE_LTDL_FALSE='#'
                   17684: else
                   17685:   CONVENIENCE_LTDL_TRUE='#'
                   17686:   CONVENIENCE_LTDL_FALSE=
                   17687: fi
                   17688: 
                   17689: 
                   17690: 
                   17691: 
                   17692: 
                   17693: subdirs="$subdirs src/lib/ltdl"
                   17694: 
                   17695: 
                   17696: 
                   17697: 
                   17698: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17699: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17700: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17701: # definitions required by ltdl.c.
                   17702: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17703: 
                   17704: 
                   17705: 
                   17706: 
                   17707: 
                   17708: 
                   17709: 
1.79      paf      17710: 
                   17711: 
1.128     moko     17712: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17713: do
                   17714: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17715: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17716: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17717: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      17718:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17719: else
1.66      paf      17720:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17721: /* confdefs.h.  */
                   17722: _ACEOF
                   17723: cat confdefs.h >>conftest.$ac_ext
                   17724: cat >>conftest.$ac_ext <<_ACEOF
                   17725: /* end confdefs.h.  */
1.128     moko     17726: $ac_includes_default
                   17727: 
                   17728: #include <$ac_header>
1.62      paf      17729: _ACEOF
1.128     moko     17730: rm -f conftest.$ac_objext
                   17731: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17732:   (eval $ac_compile) 2>conftest.er1
1.62      paf      17733:   ac_status=$?
1.66      paf      17734:   grep -v '^ *+' conftest.er1 >conftest.err
                   17735:   rm -f conftest.er1
                   17736:   cat conftest.err >&5
1.62      paf      17737:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17738:   (exit $ac_status); } &&
                   17739:         { ac_try='test -z "$ac_c_werror_flag"
                   17740:                         || test ! -s conftest.err'
                   17741:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17742:   (eval $ac_try) 2>&5
                   17743:   ac_status=$?
                   17744:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17745:   (exit $ac_status); }; } &&
                   17746:         { ac_try='test -s conftest.$ac_objext'
                   17747:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17748:   (eval $ac_try) 2>&5
                   17749:   ac_status=$?
                   17750:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17751:   (exit $ac_status); }; }; then
                   17752:   eval "$as_ac_Header=yes"
1.62      paf      17753: else
                   17754:   echo "$as_me: failed program was:" >&5
                   17755: sed 's/^/| /' conftest.$ac_ext >&5
                   17756: 
1.128     moko     17757: eval "$as_ac_Header=no"
                   17758: fi
                   17759: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17760: fi
1.128     moko     17761: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17762: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17763: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17764:   cat >>confdefs.h <<_ACEOF
                   17765: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17766: _ACEOF
                   17767: 
                   17768: fi
1.66      paf      17769: 
                   17770: done
1.64      paf      17771: 
                   17772: 
1.128     moko     17773: 
                   17774: 
                   17775: 
                   17776: for ac_func in closedir opendir readdir
                   17777: do
                   17778: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17779: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17780: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17781: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17782:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      17783: else
                   17784:   cat >conftest.$ac_ext <<_ACEOF
                   17785: /* confdefs.h.  */
                   17786: _ACEOF
                   17787: cat confdefs.h >>conftest.$ac_ext
                   17788: cat >>conftest.$ac_ext <<_ACEOF
                   17789: /* end confdefs.h.  */
1.128     moko     17790: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17791:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17792: #define $ac_func innocuous_$ac_func
                   17793: 
                   17794: /* System header to define __stub macros and hopefully few prototypes,
                   17795:     which can conflict with char $ac_func (); below.
                   17796:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17797:     <limits.h> exists even on freestanding compilers.  */
                   17798: 
1.66      paf      17799: #ifdef __STDC__
                   17800: # include <limits.h>
                   17801: #else
                   17802: # include <assert.h>
1.64      paf      17803: #endif
1.128     moko     17804: 
                   17805: #undef $ac_func
                   17806: 
                   17807: /* Override any gcc2 internal prototype to avoid an error.  */
                   17808: #ifdef __cplusplus
                   17809: extern "C"
                   17810: {
                   17811: #endif
                   17812: /* We use char because int might match the return type of a gcc2
                   17813:    builtin and then its argument prototype would still apply.  */
                   17814: char $ac_func ();
                   17815: /* The GNU C library defines this for functions which it implements
                   17816:     to always fail with ENOSYS.  Some functions are actually named
                   17817:     something starting with __ and the normal name is an alias.  */
                   17818: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17819: choke me
                   17820: #else
                   17821: char (*f) () = $ac_func;
                   17822: #endif
                   17823: #ifdef __cplusplus
                   17824: }
                   17825: #endif
                   17826: 
                   17827: int
                   17828: main ()
                   17829: {
                   17830: return f != $ac_func;
                   17831:   ;
                   17832:   return 0;
                   17833: }
1.64      paf      17834: _ACEOF
1.128     moko     17835: rm -f conftest.$ac_objext conftest$ac_exeext
                   17836: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17837:   (eval $ac_link) 2>conftest.er1
1.64      paf      17838:   ac_status=$?
1.66      paf      17839:   grep -v '^ *+' conftest.er1 >conftest.err
                   17840:   rm -f conftest.er1
                   17841:   cat conftest.err >&5
1.64      paf      17842:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17843:   (exit $ac_status); } &&
                   17844:         { ac_try='test -z "$ac_c_werror_flag"
                   17845:                         || test ! -s conftest.err'
                   17846:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17847:   (eval $ac_try) 2>&5
                   17848:   ac_status=$?
                   17849:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17850:   (exit $ac_status); }; } &&
                   17851:         { ac_try='test -s conftest$ac_exeext'
                   17852:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17853:   (eval $ac_try) 2>&5
1.62      paf      17854:   ac_status=$?
                   17855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     17856:   (exit $ac_status); }; }; then
                   17857:   eval "$as_ac_var=yes"
1.62      paf      17858: else
                   17859:   echo "$as_me: failed program was:" >&5
                   17860: sed 's/^/| /' conftest.$ac_ext >&5
                   17861: 
1.128     moko     17862: eval "$as_ac_var=no"
                   17863: fi
                   17864: rm -f conftest.err conftest.$ac_objext \
                   17865:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      17866: fi
1.128     moko     17867: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17868: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17869: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17870:   cat >>confdefs.h <<_ACEOF
                   17871: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17872: _ACEOF
1.66      paf      17873: 
                   17874: else
1.64      paf      17875: 
1.66      paf      17876: 
1.128     moko     17877:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17878: 
1.66      paf      17879: fi
1.128     moko     17880: done
                   17881: 
1.66      paf      17882: 
                   17883: 
1.128     moko     17884: for ac_func in strlcat strlcpy
                   17885: do
                   17886: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17887: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17888: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17889: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      17890:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      17891: else
1.66      paf      17892:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      17893: /* confdefs.h.  */
                   17894: _ACEOF
                   17895: cat confdefs.h >>conftest.$ac_ext
                   17896: cat >>conftest.$ac_ext <<_ACEOF
                   17897: /* end confdefs.h.  */
1.128     moko     17898: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17899:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17900: #define $ac_func innocuous_$ac_func
                   17901: 
                   17902: /* System header to define __stub macros and hopefully few prototypes,
                   17903:     which can conflict with char $ac_func (); below.
                   17904:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17905:     <limits.h> exists even on freestanding compilers.  */
                   17906: 
                   17907: #ifdef __STDC__
                   17908: # include <limits.h>
                   17909: #else
                   17910: # include <assert.h>
                   17911: #endif
                   17912: 
                   17913: #undef $ac_func
                   17914: 
                   17915: /* Override any gcc2 internal prototype to avoid an error.  */
                   17916: #ifdef __cplusplus
                   17917: extern "C"
                   17918: {
                   17919: #endif
                   17920: /* We use char because int might match the return type of a gcc2
                   17921:    builtin and then its argument prototype would still apply.  */
                   17922: char $ac_func ();
                   17923: /* The GNU C library defines this for functions which it implements
                   17924:     to always fail with ENOSYS.  Some functions are actually named
                   17925:     something starting with __ and the normal name is an alias.  */
                   17926: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17927: choke me
                   17928: #else
                   17929: char (*f) () = $ac_func;
                   17930: #endif
                   17931: #ifdef __cplusplus
                   17932: }
                   17933: #endif
1.62      paf      17934: 
                   17935: int
                   17936: main ()
                   17937: {
1.128     moko     17938: return f != $ac_func;
1.62      paf      17939:   ;
                   17940:   return 0;
                   17941: }
                   17942: _ACEOF
1.128     moko     17943: rm -f conftest.$ac_objext conftest$ac_exeext
                   17944: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17945:   (eval $ac_link) 2>conftest.er1
1.62      paf      17946:   ac_status=$?
1.86      paf      17947:   grep -v '^ *+' conftest.er1 >conftest.err
                   17948:   rm -f conftest.er1
                   17949:   cat conftest.err >&5
1.62      paf      17950:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17951:   (exit $ac_status); } &&
1.86      paf      17952:         { ac_try='test -z "$ac_c_werror_flag"
                   17953:                         || test ! -s conftest.err'
                   17954:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17955:   (eval $ac_try) 2>&5
                   17956:   ac_status=$?
                   17957:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17958:   (exit $ac_status); }; } &&
1.128     moko     17959:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      17960:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17961:   (eval $ac_try) 2>&5
                   17962:   ac_status=$?
                   17963:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17964:   (exit $ac_status); }; }; then
1.128     moko     17965:   eval "$as_ac_var=yes"
1.62      paf      17966: else
                   17967:   echo "$as_me: failed program was:" >&5
                   17968: sed 's/^/| /' conftest.$ac_ext >&5
                   17969: 
1.128     moko     17970: eval "$as_ac_var=no"
                   17971: fi
                   17972: rm -f conftest.err conftest.$ac_objext \
                   17973:       conftest$ac_exeext conftest.$ac_ext
                   17974: fi
                   17975: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17976: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17977: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17978:   cat >>confdefs.h <<_ACEOF
                   17979: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17980: _ACEOF
                   17981: 
                   17982: else
                   17983: 
                   17984: 
                   17985:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17986: 
1.62      paf      17987: fi
1.128     moko     17988: done
                   17989: 
                   17990: 
1.64      paf      17991: 
1.128     moko     17992: cat >>confdefs.h <<_ACEOF
                   17993: #define LT_LIBEXT "$libext"
1.62      paf      17994: _ACEOF
1.64      paf      17995: 
1.128     moko     17996: 
                   17997: name=
                   17998: eval "lt_libprefix=\"$libname_spec\""
                   17999: 
                   18000: cat >>confdefs.h <<_ACEOF
                   18001: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      18002: _ACEOF
1.128     moko     18003: 
                   18004: 
                   18005: name=ltdl
                   18006: eval "LTDLOPEN=\"$libname_spec\""
                   18007: 
                   18008: 
                   18009: 
                   18010: 
                   18011: 
                   18012: 
                   18013: 
                   18014: 
                   18015: # Only expand once:
                   18016: 
                   18017: 
                   18018: 
                   18019: 
                   18020: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   18021: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   18022: if test "${ac_cv_c_bigendian+set}" = set; then
                   18023:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18024: else
                   18025:   # See if sys/param.h defines the BYTE_ORDER macro.
                   18026: cat >conftest.$ac_ext <<_ACEOF
1.66      paf      18027: /* confdefs.h.  */
                   18028: _ACEOF
                   18029: cat confdefs.h >>conftest.$ac_ext
                   18030: cat >>conftest.$ac_ext <<_ACEOF
                   18031: /* end confdefs.h.  */
1.128     moko     18032: #include <sys/types.h>
                   18033: #include <sys/param.h>
                   18034: 
                   18035: int
                   18036: main ()
                   18037: {
                   18038: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   18039:  bogus endian macros
                   18040: #endif
1.64      paf      18041: 
1.128     moko     18042:   ;
                   18043:   return 0;
                   18044: }
1.66      paf      18045: _ACEOF
1.128     moko     18046: rm -f conftest.$ac_objext
                   18047: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18048:   (eval $ac_compile) 2>conftest.er1
                   18049:   ac_status=$?
                   18050:   grep -v '^ *+' conftest.er1 >conftest.err
                   18051:   rm -f conftest.er1
                   18052:   cat conftest.err >&5
                   18053:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18054:   (exit $ac_status); } &&
                   18055:         { ac_try='test -z "$ac_c_werror_flag"
                   18056:                         || test ! -s conftest.err'
                   18057:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18058:   (eval $ac_try) 2>&5
                   18059:   ac_status=$?
                   18060:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18061:   (exit $ac_status); }; } &&
                   18062:         { ac_try='test -s conftest.$ac_objext'
                   18063:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18064:   (eval $ac_try) 2>&5
                   18065:   ac_status=$?
                   18066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18067:   (exit $ac_status); }; }; then
                   18068:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   18069: cat >conftest.$ac_ext <<_ACEOF
1.64      paf      18070: /* confdefs.h.  */
                   18071: _ACEOF
                   18072: cat confdefs.h >>conftest.$ac_ext
                   18073: cat >>conftest.$ac_ext <<_ACEOF
                   18074: /* end confdefs.h.  */
1.128     moko     18075: #include <sys/types.h>
                   18076: #include <sys/param.h>
1.64      paf      18077: 
                   18078: int
                   18079: main ()
1.128     moko     18080: {
                   18081: #if BYTE_ORDER != BIG_ENDIAN
                   18082:  not big endian
                   18083: #endif
                   18084: 
                   18085:   ;
                   18086:   return 0;
1.64      paf      18087: }
                   18088: _ACEOF
1.128     moko     18089: rm -f conftest.$ac_objext
                   18090: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   18091:   (eval $ac_compile) 2>conftest.er1
                   18092:   ac_status=$?
                   18093:   grep -v '^ *+' conftest.er1 >conftest.err
                   18094:   rm -f conftest.er1
                   18095:   cat conftest.err >&5
                   18096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18097:   (exit $ac_status); } &&
                   18098:         { ac_try='test -z "$ac_c_werror_flag"
                   18099:                         || test ! -s conftest.err'
                   18100:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18101:   (eval $ac_try) 2>&5
1.64      paf      18102:   ac_status=$?
                   18103:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.128     moko     18104:   (exit $ac_status); }; } &&
                   18105:         { ac_try='test -s conftest.$ac_objext'
1.64      paf      18106:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18107:   (eval $ac_try) 2>&5
                   18108:   ac_status=$?
                   18109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18110:   (exit $ac_status); }; }; then
1.128     moko     18111:   ac_cv_c_bigendian=yes
1.64      paf      18112: else
1.128     moko     18113:   echo "$as_me: failed program was:" >&5
1.64      paf      18114: sed 's/^/| /' conftest.$ac_ext >&5
                   18115: 
1.128     moko     18116: ac_cv_c_bigendian=no
1.66      paf      18117: fi
1.128     moko     18118: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18119: else
                   18120:   echo "$as_me: failed program was:" >&5
                   18121: sed 's/^/| /' conftest.$ac_ext >&5
1.66      paf      18122: 
1.128     moko     18123: # It does not; compile a test program.
                   18124: if test "$cross_compiling" = yes; then
                   18125:   # try to guess the endianness by grepping values into an object file
                   18126:   ac_cv_c_bigendian=unknown
1.62      paf      18127:   cat >conftest.$ac_ext <<_ACEOF
                   18128: /* confdefs.h.  */
                   18129: _ACEOF
                   18130: cat confdefs.h >>conftest.$ac_ext
                   18131: cat >>conftest.$ac_ext <<_ACEOF
                   18132: /* end confdefs.h.  */
1.128     moko     18133: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   18134: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   18135: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   18136: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   18137: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   18138: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   18139: int
                   18140: main ()
                   18141: {
                   18142:  _ascii (); _ebcdic ();
                   18143:   ;
                   18144:   return 0;
                   18145: }
1.62      paf      18146: _ACEOF
1.66      paf      18147: rm -f conftest.$ac_objext
                   18148: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18149:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18150:   ac_status=$?
1.86      paf      18151:   grep -v '^ *+' conftest.er1 >conftest.err
                   18152:   rm -f conftest.er1
                   18153:   cat conftest.err >&5
1.66      paf      18154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18155:   (exit $ac_status); } &&
1.86      paf      18156:         { ac_try='test -z "$ac_c_werror_flag"
                   18157:                         || test ! -s conftest.err'
                   18158:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18159:   (eval $ac_try) 2>&5
                   18160:   ac_status=$?
                   18161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18162:   (exit $ac_status); }; } &&
                   18163:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18164:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18165:   (eval $ac_try) 2>&5
1.62      paf      18166:   ac_status=$?
                   18167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18168:   (exit $ac_status); }; }; then
1.128     moko     18169:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   18170:   ac_cv_c_bigendian=yes
                   18171: fi
                   18172: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   18173:   if test "$ac_cv_c_bigendian" = unknown; then
                   18174:     ac_cv_c_bigendian=no
                   18175:   else
                   18176:     # finding both strings is unlikely to happen, but who knows?
                   18177:     ac_cv_c_bigendian=unknown
                   18178:   fi
                   18179: fi
1.62      paf      18180: else
                   18181:   echo "$as_me: failed program was:" >&5
                   18182: sed 's/^/| /' conftest.$ac_ext >&5
                   18183: 
1.128     moko     18184: fi
                   18185: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   18186: else
                   18187:   cat >conftest.$ac_ext <<_ACEOF
                   18188: /* confdefs.h.  */
                   18189: _ACEOF
                   18190: cat confdefs.h >>conftest.$ac_ext
                   18191: cat >>conftest.$ac_ext <<_ACEOF
                   18192: /* end confdefs.h.  */
                   18193: int
                   18194: main ()
                   18195: {
                   18196:   /* Are we little or big endian?  From Harbison&Steele.  */
                   18197:   union
                   18198:   {
                   18199:     long l;
                   18200:     char c[sizeof (long)];
                   18201:   } u;
                   18202:   u.l = 1;
                   18203:   exit (u.c[sizeof (long) - 1] == 1);
                   18204: }
                   18205: _ACEOF
                   18206: rm -f conftest$ac_exeext
                   18207: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   18208:   (eval $ac_link) 2>&5
                   18209:   ac_status=$?
                   18210:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18211:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   18212:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18213:   (eval $ac_try) 2>&5
                   18214:   ac_status=$?
                   18215:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18216:   (exit $ac_status); }; }; then
                   18217:   ac_cv_c_bigendian=no
                   18218: else
                   18219:   echo "$as_me: program exited with status $ac_status" >&5
                   18220: echo "$as_me: failed program was:" >&5
                   18221: sed 's/^/| /' conftest.$ac_ext >&5
                   18222: 
                   18223: ( exit $ac_status )
                   18224: ac_cv_c_bigendian=yes
                   18225: fi
                   18226: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   18227: fi
1.66      paf      18228: fi
1.86      paf      18229: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18230: fi
1.128     moko     18231: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   18232: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   18233: case $ac_cv_c_bigendian in
                   18234:   yes)
                   18235: 
                   18236: cat >>confdefs.h <<\_ACEOF
                   18237: #define PA_BIG_ENDIAN
1.66      paf      18238: _ACEOF
                   18239: 
1.128     moko     18240:  ;;
                   18241:   no)
                   18242: 
                   18243: cat >>confdefs.h <<\_ACEOF
                   18244: #define PA_LITTLE_ENDIAN
                   18245: _ACEOF
1.1       paf      18246: 
1.128     moko     18247:  ;;
                   18248:   *)
                   18249:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   18250: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   18251:    { (exit 1); exit 1; }; }
                   18252:  ;;
                   18253: esac
1.66      paf      18254: 
                   18255: 
                   18256: echo "$as_me:$LINENO: checking for size_t" >&5
                   18257: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   18258: if test "${ac_cv_type_size_t+set}" = set; then
                   18259:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18260: else
1.62      paf      18261:   cat >conftest.$ac_ext <<_ACEOF
                   18262: /* confdefs.h.  */
                   18263: _ACEOF
                   18264: cat confdefs.h >>conftest.$ac_ext
                   18265: cat >>conftest.$ac_ext <<_ACEOF
                   18266: /* end confdefs.h.  */
1.66      paf      18267: $ac_includes_default
                   18268: int
                   18269: main ()
                   18270: {
                   18271: if ((size_t *) 0)
                   18272:   return 0;
                   18273: if (sizeof (size_t))
                   18274:   return 0;
                   18275:   ;
                   18276:   return 0;
                   18277: }
1.62      paf      18278: _ACEOF
1.66      paf      18279: rm -f conftest.$ac_objext
                   18280: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18281:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18282:   ac_status=$?
1.86      paf      18283:   grep -v '^ *+' conftest.er1 >conftest.err
                   18284:   rm -f conftest.er1
                   18285:   cat conftest.err >&5
1.66      paf      18286:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18287:   (exit $ac_status); } &&
1.86      paf      18288:         { ac_try='test -z "$ac_c_werror_flag"
                   18289:                         || test ! -s conftest.err'
                   18290:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18291:   (eval $ac_try) 2>&5
                   18292:   ac_status=$?
                   18293:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18294:   (exit $ac_status); }; } &&
                   18295:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18296:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18297:   (eval $ac_try) 2>&5
1.62      paf      18298:   ac_status=$?
                   18299:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18300:   (exit $ac_status); }; }; then
                   18301:   ac_cv_type_size_t=yes
1.1       paf      18302: else
1.62      paf      18303:   echo "$as_me: failed program was:" >&5
                   18304: sed 's/^/| /' conftest.$ac_ext >&5
                   18305: 
1.66      paf      18306: ac_cv_type_size_t=no
1.1       paf      18307: fi
1.86      paf      18308: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18309: fi
1.66      paf      18310: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   18311: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   18312: if test $ac_cv_type_size_t = yes; then
                   18313:   :
                   18314: else
1.1       paf      18315: 
1.66      paf      18316: cat >>confdefs.h <<_ACEOF
                   18317: #define size_t unsigned
                   18318: _ACEOF
1.62      paf      18319: 
                   18320: fi
1.66      paf      18321: 
1.128     moko     18322: 
                   18323: 
1.66      paf      18324: echo "$as_me:$LINENO: checking for off_t" >&5
                   18325: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   18326: if test "${ac_cv_type_off_t+set}" = set; then
                   18327:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      18328: else
                   18329:   cat >conftest.$ac_ext <<_ACEOF
                   18330: /* confdefs.h.  */
                   18331: _ACEOF
                   18332: cat confdefs.h >>conftest.$ac_ext
                   18333: cat >>conftest.$ac_ext <<_ACEOF
                   18334: /* end confdefs.h.  */
1.66      paf      18335: $ac_includes_default
                   18336: int
                   18337: main ()
                   18338: {
                   18339: if ((off_t *) 0)
                   18340:   return 0;
                   18341: if (sizeof (off_t))
                   18342:   return 0;
                   18343:   ;
                   18344:   return 0;
                   18345: }
1.62      paf      18346: _ACEOF
1.66      paf      18347: rm -f conftest.$ac_objext
                   18348: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18349:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18350:   ac_status=$?
1.86      paf      18351:   grep -v '^ *+' conftest.er1 >conftest.err
                   18352:   rm -f conftest.er1
                   18353:   cat conftest.err >&5
1.66      paf      18354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18355:   (exit $ac_status); } &&
1.86      paf      18356:         { ac_try='test -z "$ac_c_werror_flag"
                   18357:                         || test ! -s conftest.err'
                   18358:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18359:   (eval $ac_try) 2>&5
                   18360:   ac_status=$?
                   18361:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18362:   (exit $ac_status); }; } &&
                   18363:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18364:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18365:   (eval $ac_try) 2>&5
1.62      paf      18366:   ac_status=$?
                   18367:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18368:   (exit $ac_status); }; }; then
                   18369:   ac_cv_type_off_t=yes
1.62      paf      18370: else
1.66      paf      18371:   echo "$as_me: failed program was:" >&5
                   18372: sed 's/^/| /' conftest.$ac_ext >&5
                   18373: 
                   18374: ac_cv_type_off_t=no
                   18375: fi
1.86      paf      18376: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18377: fi
1.66      paf      18378: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   18379: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   18380: if test $ac_cv_type_off_t = yes; then
1.62      paf      18381:   :
                   18382: else
1.1       paf      18383: 
1.66      paf      18384: cat >>confdefs.h <<_ACEOF
                   18385: #define off_t long
                   18386: _ACEOF
                   18387: 
1.62      paf      18388: fi
1.1       paf      18389: 
1.66      paf      18390: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   18391: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   18392: if test "${ac_cv_type_ssize_t+set}" = set; then
                   18393:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18394: else
1.62      paf      18395:   cat >conftest.$ac_ext <<_ACEOF
                   18396: /* confdefs.h.  */
                   18397: _ACEOF
                   18398: cat confdefs.h >>conftest.$ac_ext
                   18399: cat >>conftest.$ac_ext <<_ACEOF
                   18400: /* end confdefs.h.  */
1.66      paf      18401: $ac_includes_default
                   18402: int
                   18403: main ()
                   18404: {
                   18405: if ((ssize_t *) 0)
                   18406:   return 0;
                   18407: if (sizeof (ssize_t))
                   18408:   return 0;
                   18409:   ;
                   18410:   return 0;
                   18411: }
1.62      paf      18412: _ACEOF
1.66      paf      18413: rm -f conftest.$ac_objext
                   18414: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18415:   (eval $ac_compile) 2>conftest.er1
1.66      paf      18416:   ac_status=$?
1.86      paf      18417:   grep -v '^ *+' conftest.er1 >conftest.err
                   18418:   rm -f conftest.er1
                   18419:   cat conftest.err >&5
1.66      paf      18420:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18421:   (exit $ac_status); } &&
1.86      paf      18422:         { ac_try='test -z "$ac_c_werror_flag"
                   18423:                         || test ! -s conftest.err'
                   18424:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18425:   (eval $ac_try) 2>&5
                   18426:   ac_status=$?
                   18427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18428:   (exit $ac_status); }; } &&
                   18429:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      18430:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18431:   (eval $ac_try) 2>&5
1.62      paf      18432:   ac_status=$?
                   18433:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18434:   (exit $ac_status); }; }; then
                   18435:   ac_cv_type_ssize_t=yes
1.1       paf      18436: else
1.62      paf      18437:   echo "$as_me: failed program was:" >&5
                   18438: sed 's/^/| /' conftest.$ac_ext >&5
                   18439: 
1.66      paf      18440: ac_cv_type_ssize_t=no
                   18441: fi
1.86      paf      18442: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18443: fi
1.66      paf      18444: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   18445: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   18446: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      18447:   :
                   18448: else
1.66      paf      18449: 
                   18450: cat >>confdefs.h <<_ACEOF
                   18451: #define ssize_t int
                   18452: _ACEOF
                   18453: 
1.1       paf      18454: fi
1.62      paf      18455: 
                   18456: 
                   18457: 
1.66      paf      18458: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   18459: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   18460: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      18461:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18462: else
                   18463:   cat >conftest.$ac_ext <<_ACEOF
                   18464: /* confdefs.h.  */
                   18465: _ACEOF
                   18466: cat confdefs.h >>conftest.$ac_ext
                   18467: cat >>conftest.$ac_ext <<_ACEOF
                   18468: /* end confdefs.h.  */
1.66      paf      18469: #include <sys/types.h>
                   18470: #include <sys/time.h>
                   18471: #include <time.h>
1.62      paf      18472: 
                   18473: int
                   18474: main ()
                   18475: {
1.66      paf      18476: if ((struct tm *) 0)
                   18477: return 0;
1.62      paf      18478:   ;
                   18479:   return 0;
                   18480: }
                   18481: _ACEOF
                   18482: rm -f conftest.$ac_objext
                   18483: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18484:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18485:   ac_status=$?
1.86      paf      18486:   grep -v '^ *+' conftest.er1 >conftest.err
                   18487:   rm -f conftest.er1
                   18488:   cat conftest.err >&5
1.62      paf      18489:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18490:   (exit $ac_status); } &&
1.86      paf      18491:         { ac_try='test -z "$ac_c_werror_flag"
                   18492:                         || test ! -s conftest.err'
                   18493:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18494:   (eval $ac_try) 2>&5
                   18495:   ac_status=$?
                   18496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18497:   (exit $ac_status); }; } &&
                   18498:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18500:   (eval $ac_try) 2>&5
                   18501:   ac_status=$?
                   18502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18503:   (exit $ac_status); }; }; then
1.66      paf      18504:   ac_cv_header_time=yes
1.1       paf      18505: else
1.62      paf      18506:   echo "$as_me: failed program was:" >&5
                   18507: sed 's/^/| /' conftest.$ac_ext >&5
                   18508: 
1.66      paf      18509: ac_cv_header_time=no
1.1       paf      18510: fi
1.86      paf      18511: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18512: fi
                   18513: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   18514: echo "${ECHO_T}$ac_cv_header_time" >&6
                   18515: if test $ac_cv_header_time = yes; then
1.1       paf      18516: 
1.66      paf      18517: cat >>confdefs.h <<\_ACEOF
                   18518: #define TIME_WITH_SYS_TIME 1
1.62      paf      18519: _ACEOF
                   18520: 
1.1       paf      18521: fi
                   18522: 
                   18523: 
1.62      paf      18524: 
1.1       paf      18525: 
1.66      paf      18526: 
                   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: 
1.128     moko     18554: 
1.67      paf      18555: for ac_header in assert.h \
                   18556: signal.h \
1.66      paf      18557: unistd.h \
                   18558: process.h \
                   18559: stddef.h \
                   18560: stdarg.h \
                   18561: fcntl.h \
                   18562: sys/stat.h \
                   18563: io.h \
                   18564: stdio.h \
                   18565: errno.h \
                   18566: ctype.h \
                   18567: math.h \
                   18568: crypt.h \
                   18569: time.h sys/time.h \
                   18570: string.h \
                   18571: direct.h \
                   18572: setjmp.h \
                   18573: memory.h \
1.128     moko     18574: limits.h \
1.66      paf      18575: sys/file.h \
                   18576: sys/locking.h \
                   18577: sys/types.h \
                   18578: sys/select.h \
                   18579: sys/resource.h \
                   18580: winsock.h \
                   18581: sys/socket.h \
                   18582: netinet/in.h \
                   18583: arpa/inet.h \
                   18584: netdb.h
                   18585: 
                   18586: do
                   18587: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18588: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18589:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18590: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18591: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18592:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      18593: fi
1.66      paf      18594: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18595: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18596: else
1.66      paf      18597:   # Is the header compilable?
                   18598: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   18599: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   18600: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18601: /* confdefs.h.  */
                   18602: _ACEOF
                   18603: cat confdefs.h >>conftest.$ac_ext
                   18604: cat >>conftest.$ac_ext <<_ACEOF
                   18605: /* end confdefs.h.  */
1.66      paf      18606: $ac_includes_default
                   18607: #include <$ac_header>
1.62      paf      18608: _ACEOF
1.66      paf      18609: rm -f conftest.$ac_objext
                   18610: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      18611:   (eval $ac_compile) 2>conftest.er1
1.62      paf      18612:   ac_status=$?
1.86      paf      18613:   grep -v '^ *+' conftest.er1 >conftest.err
                   18614:   rm -f conftest.er1
                   18615:   cat conftest.err >&5
1.62      paf      18616:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      18617:   (exit $ac_status); } &&
1.86      paf      18618:         { ac_try='test -z "$ac_c_werror_flag"
                   18619:                         || test ! -s conftest.err'
                   18620:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18621:   (eval $ac_try) 2>&5
                   18622:   ac_status=$?
                   18623:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18624:   (exit $ac_status); }; } &&
                   18625:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      18626:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18627:   (eval $ac_try) 2>&5
                   18628:   ac_status=$?
                   18629:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18630:   (exit $ac_status); }; }; then
1.66      paf      18631:   ac_header_compiler=yes
1.1       paf      18632: else
1.66      paf      18633:   echo "$as_me: failed program was:" >&5
1.62      paf      18634: sed 's/^/| /' conftest.$ac_ext >&5
                   18635: 
1.66      paf      18636: ac_header_compiler=no
1.1       paf      18637: fi
1.86      paf      18638: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18639: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   18640: echo "${ECHO_T}$ac_header_compiler" >&6
                   18641: 
                   18642: # Is the header present?
                   18643: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   18644: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   18645: cat >conftest.$ac_ext <<_ACEOF
                   18646: /* confdefs.h.  */
                   18647: _ACEOF
                   18648: cat confdefs.h >>conftest.$ac_ext
                   18649: cat >>conftest.$ac_ext <<_ACEOF
                   18650: /* end confdefs.h.  */
                   18651: #include <$ac_header>
                   18652: _ACEOF
                   18653: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   18654:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   18655:   ac_status=$?
                   18656:   grep -v '^ *+' conftest.er1 >conftest.err
                   18657:   rm -f conftest.er1
                   18658:   cat conftest.err >&5
                   18659:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18660:   (exit $ac_status); } >/dev/null; then
                   18661:   if test -s conftest.err; then
                   18662:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      18663:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      18664:   else
                   18665:     ac_cpp_err=
                   18666:   fi
                   18667: else
                   18668:   ac_cpp_err=yes
1.1       paf      18669: fi
1.66      paf      18670: if test -z "$ac_cpp_err"; then
                   18671:   ac_header_preproc=yes
                   18672: else
                   18673:   echo "$as_me: failed program was:" >&5
                   18674: sed 's/^/| /' conftest.$ac_ext >&5
                   18675: 
                   18676:   ac_header_preproc=no
1.1       paf      18677: fi
1.66      paf      18678: rm -f conftest.err conftest.$ac_ext
                   18679: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   18680: echo "${ECHO_T}$ac_header_preproc" >&6
                   18681: 
                   18682: # So?  What about this header?
1.86      paf      18683: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   18684:   yes:no: )
1.66      paf      18685:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   18686: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      18687:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   18688: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   18689:     ac_header_preproc=yes
1.66      paf      18690:     ;;
1.86      paf      18691:   no:yes:* )
1.66      paf      18692:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   18693: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      18694:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   18695: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   18696:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   18697: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   18698:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   18699: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      18700:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   18701: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      18702:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   18703: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      18704:     (
                   18705:       cat <<\_ASBOX
1.128     moko     18706: ## --------------------------------- ##
                   18707: ## Report this to the parser lists.  ##
                   18708: ## --------------------------------- ##
1.66      paf      18709: _ASBOX
                   18710:     ) |
                   18711:       sed "s/^/$as_me: WARNING:     /" >&2
                   18712:     ;;
                   18713: esac
                   18714: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   18715: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   18716: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   18717:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18718: else
1.86      paf      18719:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      18720: fi
1.66      paf      18721: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   18722: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      18723: 
1.66      paf      18724: fi
                   18725: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   18726:   cat >>confdefs.h <<_ACEOF
                   18727: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18728: _ACEOF
                   18729: 
                   18730: fi
                   18731: 
1.66      paf      18732: done
1.62      paf      18733: 
                   18734: 
                   18735: 
1.128     moko     18736: 
                   18737: 
1.66      paf      18738: case "$host" in
1.107     misha    18739:   *-freebsd4*)
                   18740: 
                   18741: cat >>confdefs.h <<\_ACEOF
                   18742: #define FREEBSD4
                   18743: _ACEOF
                   18744: 
                   18745:   ;;
1.66      paf      18746:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      18747: 
1.66      paf      18748: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   18749: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   18750: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      18751:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18752: else
1.66      paf      18753:   ac_check_lib_save_LIBS=$LIBS
                   18754: LIBS="-lxnet  $LIBS"
                   18755: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18756: /* confdefs.h.  */
                   18757: _ACEOF
                   18758: cat confdefs.h >>conftest.$ac_ext
                   18759: cat >>conftest.$ac_ext <<_ACEOF
                   18760: /* end confdefs.h.  */
                   18761: 
1.66      paf      18762: 
                   18763: int
                   18764: main ()
                   18765: {
                   18766: main ();
                   18767:   ;
                   18768:   return 0;
                   18769: }
1.62      paf      18770: _ACEOF
1.66      paf      18771: rm -f conftest.$ac_objext conftest$ac_exeext
                   18772: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18773:   (eval $ac_link) 2>conftest.er1
1.62      paf      18774:   ac_status=$?
1.86      paf      18775:   grep -v '^ *+' conftest.er1 >conftest.err
                   18776:   rm -f conftest.er1
                   18777:   cat conftest.err >&5
1.62      paf      18778:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18779:   (exit $ac_status); } &&
1.86      paf      18780:         { ac_try='test -z "$ac_c_werror_flag"
                   18781:                         || test ! -s conftest.err'
                   18782:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18783:   (eval $ac_try) 2>&5
                   18784:   ac_status=$?
                   18785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18786:   (exit $ac_status); }; } &&
                   18787:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18788:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18789:   (eval $ac_try) 2>&5
                   18790:   ac_status=$?
                   18791:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18792:   (exit $ac_status); }; }; then
1.66      paf      18793:   ac_cv_lib_xnet_main=yes
1.62      paf      18794: else
                   18795:   echo "$as_me: failed program was:" >&5
                   18796: sed 's/^/| /' conftest.$ac_ext >&5
                   18797: 
1.66      paf      18798: ac_cv_lib_xnet_main=no
1.62      paf      18799: fi
1.86      paf      18800: rm -f conftest.err conftest.$ac_objext \
                   18801:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18802: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18803: fi
1.66      paf      18804: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   18805: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   18806: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      18807:   cat >>confdefs.h <<_ACEOF
1.66      paf      18808: #define HAVE_LIBXNET 1
1.62      paf      18809: _ACEOF
1.1       paf      18810: 
1.66      paf      18811:   LIBS="-lxnet $LIBS"
                   18812: 
1.1       paf      18813: fi
                   18814: 
1.66      paf      18815:   ;;
                   18816:   *-sunos5* | *-solaris2*)
1.62      paf      18817: 
1.66      paf      18818: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   18819: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   18820: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      18821:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18822: else
1.66      paf      18823:   ac_check_lib_save_LIBS=$LIBS
                   18824: LIBS="-lsocket  $LIBS"
                   18825: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18826: /* confdefs.h.  */
                   18827: _ACEOF
                   18828: cat confdefs.h >>conftest.$ac_ext
                   18829: cat >>conftest.$ac_ext <<_ACEOF
                   18830: /* end confdefs.h.  */
1.66      paf      18831: 
                   18832: 
1.62      paf      18833: int
                   18834: main ()
                   18835: {
1.66      paf      18836: main ();
1.62      paf      18837:   ;
                   18838:   return 0;
                   18839: }
                   18840: _ACEOF
1.66      paf      18841: rm -f conftest.$ac_objext conftest$ac_exeext
                   18842: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18843:   (eval $ac_link) 2>conftest.er1
1.62      paf      18844:   ac_status=$?
1.86      paf      18845:   grep -v '^ *+' conftest.er1 >conftest.err
                   18846:   rm -f conftest.er1
                   18847:   cat conftest.err >&5
1.62      paf      18848:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18849:   (exit $ac_status); } &&
1.86      paf      18850:         { ac_try='test -z "$ac_c_werror_flag"
                   18851:                         || test ! -s conftest.err'
                   18852:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18853:   (eval $ac_try) 2>&5
                   18854:   ac_status=$?
                   18855:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18856:   (exit $ac_status); }; } &&
                   18857:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18858:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18859:   (eval $ac_try) 2>&5
                   18860:   ac_status=$?
                   18861:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18862:   (exit $ac_status); }; }; then
1.66      paf      18863:   ac_cv_lib_socket_main=yes
1.1       paf      18864: else
1.62      paf      18865:   echo "$as_me: failed program was:" >&5
                   18866: sed 's/^/| /' conftest.$ac_ext >&5
                   18867: 
1.66      paf      18868: ac_cv_lib_socket_main=no
1.1       paf      18869: fi
1.86      paf      18870: rm -f conftest.err conftest.$ac_objext \
                   18871:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18872: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18873: fi
1.66      paf      18874: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   18875: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   18876: if test $ac_cv_lib_socket_main = yes; then
                   18877:   cat >>confdefs.h <<_ACEOF
                   18878: #define HAVE_LIBSOCKET 1
                   18879: _ACEOF
1.1       paf      18880: 
1.66      paf      18881:   LIBS="-lsocket $LIBS"
1.1       paf      18882: 
                   18883: fi
                   18884: 
1.66      paf      18885: 
                   18886: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   18887: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   18888: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      18889:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18890: else
1.66      paf      18891:   ac_check_lib_save_LIBS=$LIBS
                   18892: LIBS="-lnsl  $LIBS"
                   18893: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18894: /* confdefs.h.  */
                   18895: _ACEOF
                   18896: cat confdefs.h >>conftest.$ac_ext
                   18897: cat >>conftest.$ac_ext <<_ACEOF
                   18898: /* end confdefs.h.  */
1.66      paf      18899: 
                   18900: 
1.62      paf      18901: int
                   18902: main ()
                   18903: {
1.66      paf      18904: main ();
1.62      paf      18905:   ;
                   18906:   return 0;
                   18907: }
                   18908: _ACEOF
1.66      paf      18909: rm -f conftest.$ac_objext conftest$ac_exeext
                   18910: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18911:   (eval $ac_link) 2>conftest.er1
1.62      paf      18912:   ac_status=$?
1.86      paf      18913:   grep -v '^ *+' conftest.er1 >conftest.err
                   18914:   rm -f conftest.er1
                   18915:   cat conftest.err >&5
1.62      paf      18916:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18917:   (exit $ac_status); } &&
1.86      paf      18918:         { ac_try='test -z "$ac_c_werror_flag"
                   18919:                         || test ! -s conftest.err'
                   18920:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18921:   (eval $ac_try) 2>&5
                   18922:   ac_status=$?
                   18923:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18924:   (exit $ac_status); }; } &&
                   18925:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      18926:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18927:   (eval $ac_try) 2>&5
                   18928:   ac_status=$?
                   18929:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18930:   (exit $ac_status); }; }; then
1.66      paf      18931:   ac_cv_lib_nsl_main=yes
1.30      paf      18932: else
1.62      paf      18933:   echo "$as_me: failed program was:" >&5
                   18934: sed 's/^/| /' conftest.$ac_ext >&5
                   18935: 
1.66      paf      18936: ac_cv_lib_nsl_main=no
1.30      paf      18937: fi
1.86      paf      18938: rm -f conftest.err conftest.$ac_objext \
                   18939:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      18940: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18941: fi
1.66      paf      18942: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   18943: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   18944: if test $ac_cv_lib_nsl_main = yes; then
                   18945:   cat >>confdefs.h <<_ACEOF
                   18946: #define HAVE_LIBNSL 1
                   18947: _ACEOF
1.30      paf      18948: 
1.66      paf      18949:   LIBS="-lnsl $LIBS"
1.30      paf      18950: 
                   18951: fi
                   18952: 
1.66      paf      18953:   ;;
                   18954:   *-nec-sysv4*)
                   18955: 
                   18956: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   18957: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   18958: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      18959:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   18960: else
1.66      paf      18961:   ac_check_lib_save_LIBS=$LIBS
                   18962: LIBS="-lnsl  $LIBS"
                   18963: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      18964: /* confdefs.h.  */
                   18965: _ACEOF
                   18966: cat confdefs.h >>conftest.$ac_ext
                   18967: cat >>conftest.$ac_ext <<_ACEOF
                   18968: /* end confdefs.h.  */
1.66      paf      18969: 
                   18970: /* Override any gcc2 internal prototype to avoid an error.  */
                   18971: #ifdef __cplusplus
                   18972: extern "C"
                   18973: #endif
                   18974: /* We use char because int might match the return type of a gcc2
                   18975:    builtin and then its argument prototype would still apply.  */
                   18976: char gethostbyname ();
1.62      paf      18977: int
                   18978: main ()
                   18979: {
1.66      paf      18980: gethostbyname ();
1.62      paf      18981:   ;
                   18982:   return 0;
                   18983: }
                   18984: _ACEOF
1.66      paf      18985: rm -f conftest.$ac_objext conftest$ac_exeext
                   18986: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      18987:   (eval $ac_link) 2>conftest.er1
1.62      paf      18988:   ac_status=$?
1.86      paf      18989:   grep -v '^ *+' conftest.er1 >conftest.err
                   18990:   rm -f conftest.er1
                   18991:   cat conftest.err >&5
1.62      paf      18992:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18993:   (exit $ac_status); } &&
1.86      paf      18994:         { ac_try='test -z "$ac_c_werror_flag"
                   18995:                         || test ! -s conftest.err'
                   18996:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   18997:   (eval $ac_try) 2>&5
                   18998:   ac_status=$?
                   18999:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19000:   (exit $ac_status); }; } &&
                   19001:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19002:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19003:   (eval $ac_try) 2>&5
                   19004:   ac_status=$?
                   19005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19006:   (exit $ac_status); }; }; then
1.66      paf      19007:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      19008: else
1.62      paf      19009:   echo "$as_me: failed program was:" >&5
                   19010: sed 's/^/| /' conftest.$ac_ext >&5
                   19011: 
1.66      paf      19012: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      19013: fi
1.86      paf      19014: rm -f conftest.err conftest.$ac_objext \
                   19015:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19016: LIBS=$ac_check_lib_save_LIBS
1.62      paf      19017: fi
1.66      paf      19018: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   19019: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   19020: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   19021:   cat >>confdefs.h <<_ACEOF
                   19022: #define HAVE_LIBNSL 1
                   19023: _ACEOF
1.30      paf      19024: 
1.66      paf      19025:   LIBS="-lnsl $LIBS"
1.30      paf      19026: 
                   19027: fi
                   19028: 
                   19029: 
1.66      paf      19030: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   19031: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   19032: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      19033:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      19034: else
1.66      paf      19035:   ac_check_lib_save_LIBS=$LIBS
                   19036: LIBS="-lsocket  $LIBS"
                   19037: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19038: /* confdefs.h.  */
                   19039: _ACEOF
                   19040: cat confdefs.h >>conftest.$ac_ext
                   19041: cat >>conftest.$ac_ext <<_ACEOF
                   19042: /* end confdefs.h.  */
                   19043: 
1.66      paf      19044: /* Override any gcc2 internal prototype to avoid an error.  */
                   19045: #ifdef __cplusplus
                   19046: extern "C"
                   19047: #endif
                   19048: /* We use char because int might match the return type of a gcc2
                   19049:    builtin and then its argument prototype would still apply.  */
                   19050: char socket ();
1.62      paf      19051: int
                   19052: main ()
                   19053: {
1.66      paf      19054: socket ();
1.62      paf      19055:   ;
                   19056:   return 0;
                   19057: }
                   19058: _ACEOF
1.66      paf      19059: rm -f conftest.$ac_objext conftest$ac_exeext
                   19060: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19061:   (eval $ac_link) 2>conftest.er1
1.62      paf      19062:   ac_status=$?
1.86      paf      19063:   grep -v '^ *+' conftest.er1 >conftest.err
                   19064:   rm -f conftest.er1
                   19065:   cat conftest.err >&5
1.62      paf      19066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19067:   (exit $ac_status); } &&
1.86      paf      19068:         { ac_try='test -z "$ac_c_werror_flag"
                   19069:                         || test ! -s conftest.err'
                   19070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19071:   (eval $ac_try) 2>&5
                   19072:   ac_status=$?
                   19073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19074:   (exit $ac_status); }; } &&
                   19075:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19076:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19077:   (eval $ac_try) 2>&5
                   19078:   ac_status=$?
                   19079:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19080:   (exit $ac_status); }; }; then
1.66      paf      19081:   ac_cv_lib_socket_socket=yes
1.8       paf      19082: else
1.62      paf      19083:   echo "$as_me: failed program was:" >&5
                   19084: sed 's/^/| /' conftest.$ac_ext >&5
                   19085: 
1.66      paf      19086: ac_cv_lib_socket_socket=no
1.8       paf      19087: fi
1.86      paf      19088: rm -f conftest.err conftest.$ac_objext \
                   19089:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19090: LIBS=$ac_check_lib_save_LIBS
1.8       paf      19091: fi
1.66      paf      19092: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   19093: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   19094: if test $ac_cv_lib_socket_socket = yes; then
                   19095:   cat >>confdefs.h <<_ACEOF
1.128     moko     19096: #define HAVE_LIBSOCKET 1
1.66      paf      19097: _ACEOF
                   19098: 
1.128     moko     19099:   LIBS="-lsocket $LIBS"
1.66      paf      19100: 
1.62      paf      19101: fi
                   19102: 
1.66      paf      19103:   ;;
1.128     moko     19104:   *-cygwin*)
                   19105: 
                   19106: cat >>confdefs.h <<\_ACEOF
                   19107: #define WIN32
                   19108: _ACEOF
1.66      paf      19109: 
1.128     moko     19110: 
                   19111: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   19112: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   19113: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.66      paf      19114:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19115: else
                   19116:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     19117: LIBS="-lwsock32  $LIBS"
1.62      paf      19118: cat >conftest.$ac_ext <<_ACEOF
                   19119: /* confdefs.h.  */
                   19120: _ACEOF
                   19121: cat confdefs.h >>conftest.$ac_ext
                   19122: cat >>conftest.$ac_ext <<_ACEOF
                   19123: /* end confdefs.h.  */
1.66      paf      19124: 
1.128     moko     19125: /* Override any gcc2 internal prototype to avoid an error.  */
                   19126: #ifdef __cplusplus
                   19127: extern "C"
                   19128: #endif
                   19129: /* We use char because int might match the return type of a gcc2
                   19130:    builtin and then its argument prototype would still apply.  */
                   19131: char socket ();
1.66      paf      19132: int
                   19133: main ()
                   19134: {
1.128     moko     19135: socket ();
1.66      paf      19136:   ;
                   19137:   return 0;
                   19138: }
1.62      paf      19139: _ACEOF
1.66      paf      19140: rm -f conftest.$ac_objext conftest$ac_exeext
                   19141: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19142:   (eval $ac_link) 2>conftest.er1
1.66      paf      19143:   ac_status=$?
1.86      paf      19144:   grep -v '^ *+' conftest.er1 >conftest.err
                   19145:   rm -f conftest.er1
                   19146:   cat conftest.err >&5
1.66      paf      19147:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19148:   (exit $ac_status); } &&
1.86      paf      19149:         { ac_try='test -z "$ac_c_werror_flag"
                   19150:                         || test ! -s conftest.err'
                   19151:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19152:   (eval $ac_try) 2>&5
                   19153:   ac_status=$?
                   19154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19155:   (exit $ac_status); }; } &&
                   19156:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      19157:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19158:   (eval $ac_try) 2>&5
1.62      paf      19159:   ac_status=$?
                   19160:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      19161:   (exit $ac_status); }; }; then
1.128     moko     19162:   ac_cv_lib_wsock32_socket=yes
1.62      paf      19163: else
                   19164:   echo "$as_me: failed program was:" >&5
                   19165: sed 's/^/| /' conftest.$ac_ext >&5
                   19166: 
1.128     moko     19167: ac_cv_lib_wsock32_socket=no
1.62      paf      19168: fi
1.86      paf      19169: rm -f conftest.err conftest.$ac_objext \
                   19170:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      19171: LIBS=$ac_check_lib_save_LIBS
1.1       paf      19172: fi
1.128     moko     19173: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   19174: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   19175: if test $ac_cv_lib_wsock32_socket = yes; then
1.62      paf      19176:   cat >>confdefs.h <<_ACEOF
1.128     moko     19177: #define HAVE_LIBWSOCK32 1
1.62      paf      19178: _ACEOF
                   19179: 
1.128     moko     19180:   LIBS="-lwsock32 $LIBS"
1.66      paf      19181: 
1.1       paf      19182: fi
1.62      paf      19183: 
1.66      paf      19184:   ;;
                   19185: esac
1.1       paf      19186: 
                   19187: 
1.66      paf      19188: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   19189: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   19190: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      19191:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19192: else
1.62      paf      19193:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19194: LIBS="-lm  $LIBS"
1.62      paf      19195: cat >conftest.$ac_ext <<_ACEOF
                   19196: /* confdefs.h.  */
                   19197: _ACEOF
                   19198: cat confdefs.h >>conftest.$ac_ext
                   19199: cat >>conftest.$ac_ext <<_ACEOF
                   19200: /* end confdefs.h.  */
                   19201: 
1.66      paf      19202: /* Override any gcc2 internal prototype to avoid an error.  */
                   19203: #ifdef __cplusplus
                   19204: extern "C"
                   19205: #endif
                   19206: /* We use char because int might match the return type of a gcc2
                   19207:    builtin and then its argument prototype would still apply.  */
                   19208: char sin ();
1.62      paf      19209: int
                   19210: main ()
                   19211: {
1.66      paf      19212: sin ();
1.62      paf      19213:   ;
                   19214:   return 0;
                   19215: }
                   19216: _ACEOF
                   19217: rm -f conftest.$ac_objext conftest$ac_exeext
                   19218: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19219:   (eval $ac_link) 2>conftest.er1
1.62      paf      19220:   ac_status=$?
1.86      paf      19221:   grep -v '^ *+' conftest.er1 >conftest.err
                   19222:   rm -f conftest.er1
                   19223:   cat conftest.err >&5
1.62      paf      19224:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19225:   (exit $ac_status); } &&
1.86      paf      19226:         { ac_try='test -z "$ac_c_werror_flag"
                   19227:                         || test ! -s conftest.err'
                   19228:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19229:   (eval $ac_try) 2>&5
                   19230:   ac_status=$?
                   19231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19232:   (exit $ac_status); }; } &&
                   19233:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19234:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19235:   (eval $ac_try) 2>&5
                   19236:   ac_status=$?
                   19237:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19238:   (exit $ac_status); }; }; then
1.66      paf      19239:   ac_cv_lib_m_sin=yes
1.62      paf      19240: else
                   19241:   echo "$as_me: failed program was:" >&5
                   19242: sed 's/^/| /' conftest.$ac_ext >&5
                   19243: 
1.66      paf      19244: ac_cv_lib_m_sin=no
1.62      paf      19245: fi
1.86      paf      19246: rm -f conftest.err conftest.$ac_objext \
                   19247:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19248: LIBS=$ac_check_lib_save_LIBS
                   19249: fi
1.66      paf      19250: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   19251: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   19252: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      19253:   cat >>confdefs.h <<_ACEOF
1.66      paf      19254: #define HAVE_LIBM 1
1.62      paf      19255: _ACEOF
1.1       paf      19256: 
1.66      paf      19257:   LIBS="-lm $LIBS"
1.1       paf      19258: 
                   19259: fi
                   19260: 
1.62      paf      19261: 
1.66      paf      19262: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   19263: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   19264: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      19265:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19266: else
1.62      paf      19267:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      19268: LIBS="-lcrypt  $LIBS"
1.62      paf      19269: cat >conftest.$ac_ext <<_ACEOF
                   19270: /* confdefs.h.  */
                   19271: _ACEOF
                   19272: cat confdefs.h >>conftest.$ac_ext
                   19273: cat >>conftest.$ac_ext <<_ACEOF
                   19274: /* end confdefs.h.  */
                   19275: 
1.66      paf      19276: /* Override any gcc2 internal prototype to avoid an error.  */
                   19277: #ifdef __cplusplus
                   19278: extern "C"
                   19279: #endif
                   19280: /* We use char because int might match the return type of a gcc2
                   19281:    builtin and then its argument prototype would still apply.  */
                   19282: char crypt ();
1.62      paf      19283: int
                   19284: main ()
                   19285: {
1.66      paf      19286: crypt ();
1.62      paf      19287:   ;
                   19288:   return 0;
                   19289: }
                   19290: _ACEOF
                   19291: rm -f conftest.$ac_objext conftest$ac_exeext
                   19292: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19293:   (eval $ac_link) 2>conftest.er1
1.62      paf      19294:   ac_status=$?
1.86      paf      19295:   grep -v '^ *+' conftest.er1 >conftest.err
                   19296:   rm -f conftest.er1
                   19297:   cat conftest.err >&5
1.62      paf      19298:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19299:   (exit $ac_status); } &&
1.86      paf      19300:         { ac_try='test -z "$ac_c_werror_flag"
                   19301:                         || test ! -s conftest.err'
                   19302:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19303:   (eval $ac_try) 2>&5
                   19304:   ac_status=$?
                   19305:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19306:   (exit $ac_status); }; } &&
                   19307:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19308:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19309:   (eval $ac_try) 2>&5
                   19310:   ac_status=$?
                   19311:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19312:   (exit $ac_status); }; }; then
1.66      paf      19313:   ac_cv_lib_crypt_crypt=yes
1.62      paf      19314: else
                   19315:   echo "$as_me: failed program was:" >&5
                   19316: sed 's/^/| /' conftest.$ac_ext >&5
                   19317: 
1.66      paf      19318: ac_cv_lib_crypt_crypt=no
1.62      paf      19319: fi
1.86      paf      19320: rm -f conftest.err conftest.$ac_objext \
                   19321:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19322: LIBS=$ac_check_lib_save_LIBS
                   19323: fi
1.66      paf      19324: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   19325: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   19326: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      19327:   cat >>confdefs.h <<_ACEOF
1.66      paf      19328: #define HAVE_LIBCRYPT 1
1.62      paf      19329: _ACEOF
1.1       paf      19330: 
1.66      paf      19331:   LIBS="-lcrypt $LIBS"
                   19332: 
                   19333: fi
                   19334: 
                   19335: 
                   19336: 
                   19337: 
                   19338: 
                   19339: 
                   19340: 
                   19341: 
                   19342: 
                   19343: 
                   19344: 
                   19345: 
1.80      paf      19346: 
1.92      misha    19347: 
1.112     misha    19348: 
1.67      paf      19349: for ac_func in flock \
1.66      paf      19350: _locking \
                   19351: fcntl \
                   19352: lockf \
                   19353: ftruncate \
1.112     misha    19354: fchmod \
1.66      paf      19355: getrusage \
                   19356: gettimeofday \
                   19357: crypt \
1.80      paf      19358: sigsetjmp \
1.92      misha    19359: siglongjmp \
                   19360: unsetenv
1.66      paf      19361: 
                   19362: do
                   19363: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19364: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19365: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19366: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   19367:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   19368: else
                   19369:   cat >conftest.$ac_ext <<_ACEOF
                   19370: /* confdefs.h.  */
                   19371: _ACEOF
                   19372: cat confdefs.h >>conftest.$ac_ext
                   19373: cat >>conftest.$ac_ext <<_ACEOF
                   19374: /* end confdefs.h.  */
1.86      paf      19375: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19376:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19377: #define $ac_func innocuous_$ac_func
                   19378: 
1.66      paf      19379: /* System header to define __stub macros and hopefully few prototypes,
                   19380:     which can conflict with char $ac_func (); below.
                   19381:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19382:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19383: 
1.66      paf      19384: #ifdef __STDC__
                   19385: # include <limits.h>
                   19386: #else
                   19387: # include <assert.h>
                   19388: #endif
1.86      paf      19389: 
                   19390: #undef $ac_func
                   19391: 
1.66      paf      19392: /* Override any gcc2 internal prototype to avoid an error.  */
                   19393: #ifdef __cplusplus
                   19394: extern "C"
                   19395: {
                   19396: #endif
                   19397: /* We use char because int might match the return type of a gcc2
                   19398:    builtin and then its argument prototype would still apply.  */
                   19399: char $ac_func ();
                   19400: /* The GNU C library defines this for functions which it implements
                   19401:     to always fail with ENOSYS.  Some functions are actually named
                   19402:     something starting with __ and the normal name is an alias.  */
                   19403: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19404: choke me
                   19405: #else
                   19406: char (*f) () = $ac_func;
                   19407: #endif
                   19408: #ifdef __cplusplus
                   19409: }
                   19410: #endif
1.62      paf      19411: 
                   19412: int
                   19413: main ()
                   19414: {
1.66      paf      19415: return f != $ac_func;
1.62      paf      19416:   ;
                   19417:   return 0;
                   19418: }
                   19419: _ACEOF
                   19420: rm -f conftest.$ac_objext conftest$ac_exeext
                   19421: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19422:   (eval $ac_link) 2>conftest.er1
1.62      paf      19423:   ac_status=$?
1.86      paf      19424:   grep -v '^ *+' conftest.er1 >conftest.err
                   19425:   rm -f conftest.er1
                   19426:   cat conftest.err >&5
1.62      paf      19427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19428:   (exit $ac_status); } &&
1.86      paf      19429:         { ac_try='test -z "$ac_c_werror_flag"
                   19430:                         || test ! -s conftest.err'
                   19431:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19432:   (eval $ac_try) 2>&5
                   19433:   ac_status=$?
                   19434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19435:   (exit $ac_status); }; } &&
                   19436:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19437:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19438:   (eval $ac_try) 2>&5
                   19439:   ac_status=$?
                   19440:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19441:   (exit $ac_status); }; }; then
1.66      paf      19442:   eval "$as_ac_var=yes"
1.62      paf      19443: else
                   19444:   echo "$as_me: failed program was:" >&5
                   19445: sed 's/^/| /' conftest.$ac_ext >&5
                   19446: 
1.66      paf      19447: eval "$as_ac_var=no"
1.62      paf      19448: fi
1.86      paf      19449: rm -f conftest.err conftest.$ac_objext \
                   19450:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19451: fi
1.66      paf      19452: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19453: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19454: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19455:   cat >>confdefs.h <<_ACEOF
1.66      paf      19456: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19457: _ACEOF
1.1       paf      19458: 
1.66      paf      19459: fi
                   19460: done
                   19461: 
1.1       paf      19462: 
                   19463: 
1.67      paf      19464: pa_func=sigsetjmp
                   19465: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   19466: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   19467: cat >conftest.$ac_ext <<_ACEOF
                   19468: /* confdefs.h.  */
                   19469: _ACEOF
                   19470: cat confdefs.h >>conftest.$ac_ext
                   19471: cat >>conftest.$ac_ext <<_ACEOF
                   19472: /* end confdefs.h.  */
                   19473: 
                   19474: #ifdef HAVE_SETJMP_H
                   19475: #      include <setjmp.h>
                   19476: #endif
                   19477: 
                   19478: int
                   19479: main ()
                   19480: {
                   19481: 
                   19482:         $pa_func(0,0);
                   19483: 
                   19484:   ;
                   19485:   return 0;
                   19486: }
                   19487: _ACEOF
                   19488: rm -f conftest.$ac_objext
                   19489: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19490:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19491:   ac_status=$?
1.86      paf      19492:   grep -v '^ *+' conftest.er1 >conftest.err
                   19493:   rm -f conftest.er1
                   19494:   cat conftest.err >&5
1.67      paf      19495:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19496:   (exit $ac_status); } &&
1.86      paf      19497:         { ac_try='test -z "$ac_c_werror_flag"
                   19498:                         || test ! -s conftest.err'
                   19499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19500:   (eval $ac_try) 2>&5
                   19501:   ac_status=$?
                   19502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19503:   (exit $ac_status); }; } &&
                   19504:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19505:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19506:   (eval $ac_try) 2>&5
                   19507:   ac_status=$?
                   19508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19509:   (exit $ac_status); }; }; then
                   19510:   echo "$as_me:$LINENO: result: yes" >&5
                   19511: echo "${ECHO_T}yes" >&6
                   19512: cat >>confdefs.h <<_ACEOF
                   19513: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   19514: _ACEOF
                   19515: 
                   19516: 
                   19517: else
                   19518:   echo "$as_me: failed program was:" >&5
                   19519: sed 's/^/| /' conftest.$ac_ext >&5
                   19520: 
                   19521: echo "$as_me:$LINENO: result: no" >&5
                   19522: echo "${ECHO_T}no" >&6
                   19523: 
                   19524: fi
1.86      paf      19525: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19526: 
                   19527: 
                   19528: 
                   19529: ac_ext=cc
                   19530: ac_cpp='$CXXCPP $CPPFLAGS'
                   19531: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19532: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19533: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   19534: 
                   19535: 
                   19536: 
                   19537: 
                   19538: 
                   19539: 
                   19540: for pa_func in trunc \
                   19541: round \
                   19542: sign
                   19543: 
                   19544: do
                   19545: 
                   19546: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   19547: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   19548: cat >conftest.$ac_ext <<_ACEOF
                   19549: /* confdefs.h.  */
                   19550: _ACEOF
                   19551: cat confdefs.h >>conftest.$ac_ext
                   19552: cat >>conftest.$ac_ext <<_ACEOF
                   19553: /* end confdefs.h.  */
                   19554: 
                   19555: #ifdef HAVE_MATH_H
                   19556: #       include <math.h>
                   19557: #endif
                   19558: 
                   19559: int
                   19560: main ()
                   19561: {
                   19562: 
                   19563:         double result=$pa_func(1.6);
                   19564: 
                   19565:   ;
                   19566:   return 0;
                   19567: }
                   19568: _ACEOF
                   19569: rm -f conftest.$ac_objext
                   19570: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19571:   (eval $ac_compile) 2>conftest.er1
1.67      paf      19572:   ac_status=$?
1.86      paf      19573:   grep -v '^ *+' conftest.er1 >conftest.err
                   19574:   rm -f conftest.er1
                   19575:   cat conftest.err >&5
1.67      paf      19576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19577:   (exit $ac_status); } &&
1.86      paf      19578:         { ac_try='test -z "$ac_cxx_werror_flag"
                   19579:                         || test ! -s conftest.err'
                   19580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19581:   (eval $ac_try) 2>&5
                   19582:   ac_status=$?
                   19583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19584:   (exit $ac_status); }; } &&
                   19585:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      19586:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19587:   (eval $ac_try) 2>&5
                   19588:   ac_status=$?
                   19589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19590:   (exit $ac_status); }; }; then
                   19591:   echo "$as_me:$LINENO: result: yes" >&5
                   19592: echo "${ECHO_T}yes" >&6
                   19593: cat >>confdefs.h <<_ACEOF
                   19594: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   19595: _ACEOF
                   19596: 
                   19597: else
                   19598:   echo "$as_me: failed program was:" >&5
                   19599: sed 's/^/| /' conftest.$ac_ext >&5
                   19600: 
                   19601: echo "$as_me:$LINENO: result: no" >&5
                   19602: echo "${ECHO_T}no" >&6
                   19603: 
                   19604: fi
1.86      paf      19605: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      19606: 
                   19607: done
                   19608: 
                   19609: ac_ext=c
                   19610: ac_cpp='$CPP $CPPFLAGS'
                   19611: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19612: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19613: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19614: 
                   19615: 
                   19616: 
1.62      paf      19617: 
1.66      paf      19618: for ac_func in qsort
                   19619: do
                   19620: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19621: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   19622: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   19623: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      19624:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      19625: else
1.66      paf      19626:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      19627: /* confdefs.h.  */
                   19628: _ACEOF
                   19629: cat confdefs.h >>conftest.$ac_ext
                   19630: cat >>conftest.$ac_ext <<_ACEOF
                   19631: /* end confdefs.h.  */
1.86      paf      19632: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   19633:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   19634: #define $ac_func innocuous_$ac_func
                   19635: 
1.66      paf      19636: /* System header to define __stub macros and hopefully few prototypes,
                   19637:     which can conflict with char $ac_func (); below.
                   19638:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   19639:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      19640: 
1.66      paf      19641: #ifdef __STDC__
                   19642: # include <limits.h>
                   19643: #else
                   19644: # include <assert.h>
                   19645: #endif
1.86      paf      19646: 
                   19647: #undef $ac_func
                   19648: 
1.1       paf      19649: /* Override any gcc2 internal prototype to avoid an error.  */
                   19650: #ifdef __cplusplus
                   19651: extern "C"
1.66      paf      19652: {
1.1       paf      19653: #endif
                   19654: /* We use char because int might match the return type of a gcc2
1.62      paf      19655:    builtin and then its argument prototype would still apply.  */
1.66      paf      19656: char $ac_func ();
                   19657: /* The GNU C library defines this for functions which it implements
                   19658:     to always fail with ENOSYS.  Some functions are actually named
                   19659:     something starting with __ and the normal name is an alias.  */
                   19660: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   19661: choke me
                   19662: #else
                   19663: char (*f) () = $ac_func;
                   19664: #endif
                   19665: #ifdef __cplusplus
                   19666: }
                   19667: #endif
                   19668: 
1.62      paf      19669: int
                   19670: main ()
                   19671: {
1.66      paf      19672: return f != $ac_func;
1.62      paf      19673:   ;
                   19674:   return 0;
                   19675: }
                   19676: _ACEOF
                   19677: rm -f conftest.$ac_objext conftest$ac_exeext
                   19678: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      19679:   (eval $ac_link) 2>conftest.er1
1.62      paf      19680:   ac_status=$?
1.86      paf      19681:   grep -v '^ *+' conftest.er1 >conftest.err
                   19682:   rm -f conftest.er1
                   19683:   cat conftest.err >&5
1.62      paf      19684:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19685:   (exit $ac_status); } &&
1.86      paf      19686:         { ac_try='test -z "$ac_c_werror_flag"
                   19687:                         || test ! -s conftest.err'
                   19688:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19689:   (eval $ac_try) 2>&5
                   19690:   ac_status=$?
                   19691:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19692:   (exit $ac_status); }; } &&
                   19693:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      19694:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19695:   (eval $ac_try) 2>&5
                   19696:   ac_status=$?
                   19697:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19698:   (exit $ac_status); }; }; then
1.66      paf      19699:   eval "$as_ac_var=yes"
1.62      paf      19700: else
                   19701:   echo "$as_me: failed program was:" >&5
                   19702: sed 's/^/| /' conftest.$ac_ext >&5
                   19703: 
1.66      paf      19704: eval "$as_ac_var=no"
1.62      paf      19705: fi
1.86      paf      19706: rm -f conftest.err conftest.$ac_objext \
                   19707:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      19708: fi
1.66      paf      19709: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   19710: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   19711: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      19712:   cat >>confdefs.h <<_ACEOF
1.66      paf      19713: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      19714: _ACEOF
1.1       paf      19715: 
1.66      paf      19716: else
                   19717:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   19718: echo "$as_me: error: No qsort library function." >&2;}
                   19719:    { (exit 1); exit 1; }; }
1.1       paf      19720: fi
1.66      paf      19721: done
1.1       paf      19722: 
                   19723: 
1.62      paf      19724: 
1.66      paf      19725: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   19726: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      19727: cat >conftest.$ac_ext <<_ACEOF
                   19728: /* confdefs.h.  */
                   19729: _ACEOF
                   19730: cat confdefs.h >>conftest.$ac_ext
                   19731: cat >>conftest.$ac_ext <<_ACEOF
                   19732: /* end confdefs.h.  */
1.66      paf      19733: #include <time.h>
1.62      paf      19734: int
                   19735: main ()
                   19736: {
1.66      paf      19737: 
                   19738: time_t test=timezone;
                   19739: 
1.62      paf      19740:   ;
                   19741:   return 0;
                   19742: }
                   19743: _ACEOF
1.66      paf      19744: rm -f conftest.$ac_objext
                   19745: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19746:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19747:   ac_status=$?
1.86      paf      19748:   grep -v '^ *+' conftest.er1 >conftest.err
                   19749:   rm -f conftest.er1
                   19750:   cat conftest.err >&5
1.62      paf      19751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19752:   (exit $ac_status); } &&
1.86      paf      19753:         { ac_try='test -z "$ac_c_werror_flag"
                   19754:                         || test ! -s conftest.err'
                   19755:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19756:   (eval $ac_try) 2>&5
                   19757:   ac_status=$?
                   19758:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19759:   (exit $ac_status); }; } &&
                   19760:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19761:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19762:   (eval $ac_try) 2>&5
                   19763:   ac_status=$?
                   19764:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19765:   (exit $ac_status); }; }; then
1.66      paf      19766:   cat >>confdefs.h <<\_ACEOF
                   19767: #define HAVE_TIMEZONE 1
                   19768: _ACEOF
                   19769: 
                   19770: echo "$as_me:$LINENO: result: yes" >&5
                   19771: echo "${ECHO_T}yes" >&6
1.62      paf      19772: else
                   19773:   echo "$as_me: failed program was:" >&5
                   19774: sed 's/^/| /' conftest.$ac_ext >&5
                   19775: 
1.66      paf      19776: echo "$as_me:$LINENO: result: no" >&5
                   19777: echo "${ECHO_T}no" >&6
1.62      paf      19778: fi
1.86      paf      19779: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19780: 
1.66      paf      19781: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   19782: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      19783: cat >conftest.$ac_ext <<_ACEOF
                   19784: /* confdefs.h.  */
                   19785: _ACEOF
                   19786: cat confdefs.h >>conftest.$ac_ext
                   19787: cat >>conftest.$ac_ext <<_ACEOF
                   19788: /* end confdefs.h.  */
1.66      paf      19789: #include <time.h>
1.62      paf      19790: int
                   19791: main ()
                   19792: {
1.66      paf      19793: 
                   19794: int test=daylight;
                   19795: 
1.62      paf      19796:   ;
                   19797:   return 0;
                   19798: }
                   19799: _ACEOF
1.66      paf      19800: rm -f conftest.$ac_objext
                   19801: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19802:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19803:   ac_status=$?
1.86      paf      19804:   grep -v '^ *+' conftest.er1 >conftest.err
                   19805:   rm -f conftest.er1
                   19806:   cat conftest.err >&5
1.62      paf      19807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19808:   (exit $ac_status); } &&
1.86      paf      19809:         { ac_try='test -z "$ac_c_werror_flag"
                   19810:                         || test ! -s conftest.err'
                   19811:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19812:   (eval $ac_try) 2>&5
                   19813:   ac_status=$?
                   19814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19815:   (exit $ac_status); }; } &&
                   19816:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19818:   (eval $ac_try) 2>&5
                   19819:   ac_status=$?
                   19820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19821:   (exit $ac_status); }; }; then
1.66      paf      19822:   cat >>confdefs.h <<\_ACEOF
                   19823: #define HAVE_DAYLIGHT 1
                   19824: _ACEOF
                   19825: 
                   19826: echo "$as_me:$LINENO: result: yes" >&5
                   19827: echo "${ECHO_T}yes" >&6
1.62      paf      19828: else
                   19829:   echo "$as_me: failed program was:" >&5
                   19830: sed 's/^/| /' conftest.$ac_ext >&5
                   19831: 
1.66      paf      19832: echo "$as_me:$LINENO: result: no" >&5
                   19833: echo "${ECHO_T}no" >&6
1.62      paf      19834: fi
1.86      paf      19835: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      19836: 
1.66      paf      19837: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   19838: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      19839: cat >conftest.$ac_ext <<_ACEOF
                   19840: /* confdefs.h.  */
                   19841: _ACEOF
                   19842: cat confdefs.h >>conftest.$ac_ext
                   19843: cat >>conftest.$ac_ext <<_ACEOF
                   19844: /* end confdefs.h.  */
1.66      paf      19845: #include <time.h>
1.62      paf      19846: int
                   19847: main ()
                   19848: {
1.66      paf      19849: struct tm tm;
                   19850: tm.tm_gmtoff=0;
                   19851: 
1.62      paf      19852:   ;
                   19853:   return 0;
                   19854: }
                   19855: _ACEOF
1.66      paf      19856: rm -f conftest.$ac_objext
                   19857: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19858:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19859:   ac_status=$?
1.86      paf      19860:   grep -v '^ *+' conftest.er1 >conftest.err
                   19861:   rm -f conftest.er1
                   19862:   cat conftest.err >&5
1.62      paf      19863:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19864:   (exit $ac_status); } &&
1.86      paf      19865:         { ac_try='test -z "$ac_c_werror_flag"
                   19866:                         || test ! -s conftest.err'
                   19867:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19868:   (eval $ac_try) 2>&5
                   19869:   ac_status=$?
                   19870:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19871:   (exit $ac_status); }; } &&
                   19872:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19873:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19874:   (eval $ac_try) 2>&5
                   19875:   ac_status=$?
                   19876:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19877:   (exit $ac_status); }; }; then
1.66      paf      19878:   cat >>confdefs.h <<\_ACEOF
                   19879: #define HAVE_TM_GMTOFF 1
                   19880: _ACEOF
                   19881: 
                   19882: echo "$as_me:$LINENO: result: yes" >&5
                   19883: echo "${ECHO_T}yes" >&6
1.62      paf      19884: else
                   19885:   echo "$as_me: failed program was:" >&5
                   19886: sed 's/^/| /' conftest.$ac_ext >&5
                   19887: 
1.66      paf      19888: echo "$as_me:$LINENO: result: no" >&5
                   19889: echo "${ECHO_T}no" >&6
1.62      paf      19890: fi
1.86      paf      19891: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      19892: 
1.66      paf      19893: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   19894: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      19895: cat >conftest.$ac_ext <<_ACEOF
                   19896: /* confdefs.h.  */
                   19897: _ACEOF
                   19898: cat confdefs.h >>conftest.$ac_ext
                   19899: cat >>conftest.$ac_ext <<_ACEOF
                   19900: /* end confdefs.h.  */
1.66      paf      19901: #include <time.h>
1.62      paf      19902: int
                   19903: main ()
                   19904: {
1.66      paf      19905: struct tm tm;
                   19906: tm.tm_tzadj=0;
                   19907: 
1.62      paf      19908:   ;
                   19909:   return 0;
                   19910: }
                   19911: _ACEOF
1.66      paf      19912: rm -f conftest.$ac_objext
                   19913: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      19914:   (eval $ac_compile) 2>conftest.er1
1.62      paf      19915:   ac_status=$?
1.86      paf      19916:   grep -v '^ *+' conftest.er1 >conftest.err
                   19917:   rm -f conftest.er1
                   19918:   cat conftest.err >&5
1.62      paf      19919:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19920:   (exit $ac_status); } &&
1.86      paf      19921:         { ac_try='test -z "$ac_c_werror_flag"
                   19922:                         || test ! -s conftest.err'
                   19923:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19924:   (eval $ac_try) 2>&5
                   19925:   ac_status=$?
                   19926:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19927:   (exit $ac_status); }; } &&
                   19928:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      19929:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   19930:   (eval $ac_try) 2>&5
                   19931:   ac_status=$?
                   19932:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19933:   (exit $ac_status); }; }; then
1.66      paf      19934:   cat >>confdefs.h <<\_ACEOF
                   19935: #define HAVE_TM_TZADJ 1
                   19936: _ACEOF
                   19937: 
                   19938: echo "$as_me:$LINENO: result: yes" >&5
                   19939: echo "${ECHO_T}yes" >&6
1.62      paf      19940: else
                   19941:   echo "$as_me: failed program was:" >&5
                   19942: sed 's/^/| /' conftest.$ac_ext >&5
                   19943: 
1.66      paf      19944: echo "$as_me:$LINENO: result: no" >&5
                   19945: echo "${ECHO_T}no" >&6
1.62      paf      19946: fi
1.86      paf      19947: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      19948: 
                   19949: 
                   19950: 
                   19951: 
1.1       paf      19952: 
                   19953: 
                   19954: 
1.62      paf      19955: 
                   19956: 
                   19957: 
                   19958: 
                   19959: 
                   19960: 
                   19961: 
                   19962: 
                   19963: 
                   19964: 
                   19965: 
                   19966: 
                   19967: 
                   19968: 
                   19969: 
                   19970: 
                   19971: 
                   19972: 
                   19973: 
                   19974: 
                   19975: 
                   19976: 
                   19977: 
                   19978: 
1.128     moko     19979:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19980: 
                   19981: 
1.130     moko     19982:                                                                                                                                                                                                                                                                                                             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      19983: cat >confcache <<\_ACEOF
1.1       paf      19984: # This file is a shell script that caches the results of configure
                   19985: # tests run on this system so they can be shared between configure
1.62      paf      19986: # scripts and configure runs, see configure's option --config-cache.
                   19987: # It is not useful on other systems.  If it contains results you don't
                   19988: # want to keep, you may remove or edit it.
1.1       paf      19989: #
1.62      paf      19990: # config.status only pays attention to the cache file if you give it
                   19991: # the --recheck option to rerun configure.
1.1       paf      19992: #
1.62      paf      19993: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19994: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19995: # following values.
                   19996: 
                   19997: _ACEOF
                   19998: 
1.1       paf      19999: # The following way of writing the cache mishandles newlines in values,
                   20000: # but we know of no workaround that is simple, portable, and efficient.
                   20001: # So, don't put newlines in cache variables' values.
                   20002: # Ultrix sh set writes to stderr and can't be redirected directly,
                   20003: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      20004: {
                   20005:   (set) 2>&1 |
                   20006:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   20007:     *ac_space=\ *)
                   20008:       # `set' does not quote correctly, so add quotes (double-quote
                   20009:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   20010:       sed -n \
1.86      paf      20011:        "s/'/'\\\\''/g;
                   20012:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      20013:       ;;
                   20014:     *)
                   20015:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   20016:       sed -n \
1.86      paf      20017:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      20018:       ;;
                   20019:     esac;
                   20020: } |
                   20021:   sed '
                   20022:      t clear
                   20023:      : clear
                   20024:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   20025:      t end
                   20026:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   20027:      : end' >>confcache
                   20028: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      20029:   if test -w $cache_file; then
1.62      paf      20030:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   20031:     cat confcache >$cache_file
1.1       paf      20032:   else
                   20033:     echo "not updating unwritable cache $cache_file"
                   20034:   fi
                   20035: fi
                   20036: rm -f confcache
                   20037: 
                   20038: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   20039: # Let make expand exec_prefix.
                   20040: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   20041: 
1.62      paf      20042: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   20043: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   20044: # trailing colons and then remove the whole line if VPATH becomes empty
                   20045: # (actually we leave an empty line to preserve line numbers).
1.1       paf      20046: if test "x$srcdir" = x.; then
1.86      paf      20047:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      20048: s/:*\$(srcdir):*/:/;
                   20049: s/:*\${srcdir}:*/:/;
                   20050: s/:*@srcdir@:*/:/;
1.86      paf      20051: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      20052: s/:*$//;
1.86      paf      20053: s/^[^=]*=[      ]*$//;
1.62      paf      20054: }'
1.1       paf      20055: fi
                   20056: 
1.62      paf      20057: DEFS=-DHAVE_CONFIG_H
                   20058: 
                   20059: ac_libobjs=
                   20060: ac_ltlibobjs=
                   20061: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20062:   # 1. Remove the extension, and $U if already installed.
                   20063:   ac_i=`echo "$ac_i" |
1.86      paf      20064:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      20065:   # 2. Add them.
                   20066:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   20067:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   20068: done
                   20069: LIBOBJS=$ac_libobjs
                   20070: 
                   20071: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      20072: 
                   20073: 
1.62      paf      20074: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20075:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   20076: Usually this means the macro was only invoked conditionally." >&5
                   20077: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   20078: Usually this means the macro was only invoked conditionally." >&2;}
                   20079:    { (exit 1); exit 1; }; }
                   20080: fi
1.66      paf      20081: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   20082:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20083: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20084: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      20085: Usually this means the macro was only invoked conditionally." >&2;}
                   20086:    { (exit 1); exit 1; }; }
                   20087: fi
1.66      paf      20088: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20089:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20090: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      20091: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      20092: Usually this means the macro was only invoked conditionally." >&2;}
                   20093:    { (exit 1); exit 1; }; }
                   20094: fi
1.122     moko     20095: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   20096:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20097: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     20098: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      20099: Usually this means the macro was only invoked conditionally." >&2;}
                   20100:    { (exit 1); exit 1; }; }
                   20101: fi
1.128     moko     20102: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   20103:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   20104: Usually this means the macro was only invoked conditionally." >&5
                   20105: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   20106: Usually this means the macro was only invoked conditionally." >&2;}
                   20107:    { (exit 1); exit 1; }; }
                   20108: fi
                   20109: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   20110:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20111: Usually this means the macro was only invoked conditionally." >&5
                   20112: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   20113: Usually this means the macro was only invoked conditionally." >&2;}
                   20114:    { (exit 1); exit 1; }; }
                   20115: fi
                   20116: LT_CONFIG_H=`echo " src/include/pa_config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   20117: 
                   20118:     _ltdl_libobjs=
                   20119:     _ltdl_ltlibobjs=
                   20120:     if test -n "$_LT_LIBOBJS"; then
                   20121:       # Remove the extension.
                   20122:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   20123:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   20124:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   20125:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   20126:       done
                   20127:     fi
                   20128:     ltdl_LIBOBJS=$_ltdl_libobjs
                   20129: 
                   20130:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   20131: 
                   20132: 
1.62      paf      20133: 
1.1       paf      20134: : ${CONFIG_STATUS=./config.status}
1.62      paf      20135: ac_clean_files_save=$ac_clean_files
                   20136: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20137: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   20138: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   20139: cat >$CONFIG_STATUS <<_ACEOF
                   20140: #! $SHELL
                   20141: # Generated by $as_me.
                   20142: # Run this file to recreate the current configuration.
                   20143: # Compiler output produced by configure, useful for debugging
                   20144: # configure, is in config.log if it exists.
                   20145: 
                   20146: debug=false
                   20147: ac_cs_recheck=false
                   20148: ac_cs_silent=false
                   20149: SHELL=\${CONFIG_SHELL-$SHELL}
                   20150: _ACEOF
                   20151: 
                   20152: cat >>$CONFIG_STATUS <<\_ACEOF
                   20153: ## --------------------- ##
                   20154: ## M4sh Initialization.  ##
                   20155: ## --------------------- ##
                   20156: 
                   20157: # Be Bourne compatible
                   20158: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   20159:   emulate sh
                   20160:   NULLCMD=:
                   20161:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   20162:   # is contrary to our usage.  Disable this feature.
                   20163:   alias -g '${1+"$@"}'='"$@"'
                   20164: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   20165:   set -o posix
                   20166: fi
1.86      paf      20167: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      20168: 
                   20169: # Support unset when possible.
1.86      paf      20170: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      20171:   as_unset=unset
                   20172: else
                   20173:   as_unset=false
                   20174: fi
                   20175: 
                   20176: 
                   20177: # Work around bugs in pre-3.0 UWIN ksh.
                   20178: $as_unset ENV MAIL MAILPATH
                   20179: PS1='$ '
                   20180: PS2='> '
                   20181: PS4='+ '
                   20182: 
                   20183: # NLS nuisances.
                   20184: for as_var in \
                   20185:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   20186:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   20187:   LC_TELEPHONE LC_TIME
                   20188: do
1.86      paf      20189:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      20190:     eval $as_var=C; export $as_var
                   20191:   else
                   20192:     $as_unset $as_var
                   20193:   fi
                   20194: done
1.1       paf      20195: 
1.62      paf      20196: # Required to use basename.
                   20197: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20198:   as_expr=expr
                   20199: else
                   20200:   as_expr=false
                   20201: fi
                   20202: 
                   20203: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   20204:   as_basename=basename
                   20205: else
                   20206:   as_basename=false
                   20207: fi
                   20208: 
                   20209: 
                   20210: # Name of the executable.
                   20211: as_me=`$as_basename "$0" ||
                   20212: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   20213:         X"$0" : 'X\(//\)$' \| \
                   20214:         X"$0" : 'X\(/\)$' \| \
                   20215:         .     : '\(.\)' 2>/dev/null ||
                   20216: echo X/"$0" |
                   20217:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   20218:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   20219:          /^X\/\(\/\).*/{ s//\1/; q; }
                   20220:          s/.*/./; q'`
                   20221: 
                   20222: 
                   20223: # PATH needs CR, and LINENO needs CR and PATH.
                   20224: # Avoid depending upon Character Ranges.
                   20225: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   20226: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   20227: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   20228: as_cr_digits='0123456789'
                   20229: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   20230: 
                   20231: # The user is always right.
                   20232: if test "${PATH_SEPARATOR+set}" != set; then
                   20233:   echo "#! /bin/sh" >conf$$.sh
                   20234:   echo  "exit 0"   >>conf$$.sh
                   20235:   chmod +x conf$$.sh
                   20236:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   20237:     PATH_SEPARATOR=';'
                   20238:   else
                   20239:     PATH_SEPARATOR=:
                   20240:   fi
                   20241:   rm -f conf$$.sh
                   20242: fi
                   20243: 
                   20244: 
                   20245:   as_lineno_1=$LINENO
                   20246:   as_lineno_2=$LINENO
                   20247:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20248:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20249:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   20250:   # Find who we are.  Look in the path if we contain no path at all
                   20251:   # relative or not.
                   20252:   case $0 in
                   20253:     *[\\/]* ) as_myself=$0 ;;
                   20254:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20255: for as_dir in $PATH
                   20256: do
                   20257:   IFS=$as_save_IFS
                   20258:   test -z "$as_dir" && as_dir=.
                   20259:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   20260: done
                   20261: 
                   20262:        ;;
                   20263:   esac
                   20264:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   20265:   # in which case we are not to be found in the path.
                   20266:   if test "x$as_myself" = x; then
                   20267:     as_myself=$0
                   20268:   fi
                   20269:   if test ! -f "$as_myself"; then
                   20270:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   20271: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   20272:    { (exit 1); exit 1; }; }
                   20273:   fi
                   20274:   case $CONFIG_SHELL in
                   20275:   '')
                   20276:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   20277: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   20278: do
                   20279:   IFS=$as_save_IFS
                   20280:   test -z "$as_dir" && as_dir=.
                   20281:   for as_base in sh bash ksh sh5; do
                   20282:         case $as_dir in
                   20283:         /*)
                   20284:           if ("$as_dir/$as_base" -c '
                   20285:   as_lineno_1=$LINENO
                   20286:   as_lineno_2=$LINENO
                   20287:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   20288:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   20289:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   20290:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   20291:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   20292:             CONFIG_SHELL=$as_dir/$as_base
                   20293:             export CONFIG_SHELL
                   20294:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   20295:           fi;;
                   20296:         esac
                   20297:        done
                   20298: done
                   20299: ;;
                   20300:   esac
                   20301: 
                   20302:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   20303:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   20304:   # line-number line before each line; the second 'sed' does the real
                   20305:   # work.  The second script uses 'N' to pair each line-number line
                   20306:   # with the numbered line, and appends trailing '-' during
                   20307:   # substitution so that $LINENO is not a special case at line end.
                   20308:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   20309:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   20310:   sed '=' <$as_myself |
                   20311:     sed '
                   20312:       N
                   20313:       s,$,-,
                   20314:       : loop
                   20315:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   20316:       t loop
                   20317:       s,-$,,
                   20318:       s,^['$as_cr_digits']*\n,,
                   20319:     ' >$as_me.lineno &&
                   20320:   chmod +x $as_me.lineno ||
                   20321:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   20322: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   20323:    { (exit 1); exit 1; }; }
                   20324: 
                   20325:   # Don't try to exec as it changes $[0], causing all sort of problems
                   20326:   # (the dirname of $[0] is not the place where we might find the
                   20327:   # original and so on.  Autoconf is especially sensible to this).
                   20328:   . ./$as_me.lineno
                   20329:   # Exit status is that of the last command.
                   20330:   exit
                   20331: }
                   20332: 
                   20333: 
                   20334: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   20335:   *c*,-n*) ECHO_N= ECHO_C='
                   20336: ' ECHO_T='     ' ;;
                   20337:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   20338:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   20339: esac
                   20340: 
                   20341: if expr a : '\(a\)' >/dev/null 2>&1; then
                   20342:   as_expr=expr
                   20343: else
                   20344:   as_expr=false
                   20345: fi
                   20346: 
                   20347: rm -f conf$$ conf$$.exe conf$$.file
                   20348: echo >conf$$.file
                   20349: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   20350:   # We could just check for DJGPP; but this test a) works b) is more generic
                   20351:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   20352:   if test -f conf$$.exe; then
                   20353:     # Don't use ln at all; we don't have any links
                   20354:     as_ln_s='cp -p'
                   20355:   else
                   20356:     as_ln_s='ln -s'
                   20357:   fi
                   20358: elif ln conf$$.file conf$$ 2>/dev/null; then
                   20359:   as_ln_s=ln
                   20360: else
                   20361:   as_ln_s='cp -p'
                   20362: fi
                   20363: rm -f conf$$ conf$$.exe conf$$.file
                   20364: 
                   20365: if mkdir -p . 2>/dev/null; then
                   20366:   as_mkdir_p=:
                   20367: else
1.86      paf      20368:   test -d ./-p && rmdir ./-p
1.62      paf      20369:   as_mkdir_p=false
                   20370: fi
                   20371: 
                   20372: as_executable_p="test -f"
                   20373: 
                   20374: # Sed expression to map a string onto a valid CPP name.
1.86      paf      20375: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20376: 
                   20377: # Sed expression to map a string onto a valid variable name.
1.86      paf      20378: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      20379: 
                   20380: 
                   20381: # IFS
                   20382: # We need space, tab and new line, in precisely that order.
                   20383: as_nl='
                   20384: '
                   20385: IFS="  $as_nl"
                   20386: 
                   20387: # CDPATH.
                   20388: $as_unset CDPATH
                   20389: 
                   20390: exec 6>&1
                   20391: 
                   20392: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   20393: # report actual input values of CONFIG_FILES etc. instead of their
                   20394: # values after options handling.  Logging --version etc. is OK.
                   20395: exec 5>>config.log
                   20396: {
                   20397:   echo
                   20398:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   20399: ## Running $as_me. ##
                   20400: _ASBOX
                   20401: } >&5
                   20402: cat >&5 <<_CSEOF
                   20403: 
1.147     moko     20404: This file was extended by parser $as_me 3.4.2, which was
1.86      paf      20405: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      20406: 
                   20407:   CONFIG_FILES    = $CONFIG_FILES
                   20408:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   20409:   CONFIG_LINKS    = $CONFIG_LINKS
                   20410:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   20411:   $ $0 $@
                   20412: 
                   20413: _CSEOF
                   20414: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   20415: echo >&5
                   20416: _ACEOF
                   20417: 
                   20418: # Files that config.status was made for.
                   20419: if test -n "$ac_config_files"; then
                   20420:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   20421: fi
                   20422: 
                   20423: if test -n "$ac_config_headers"; then
                   20424:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   20425: fi
                   20426: 
                   20427: if test -n "$ac_config_links"; then
                   20428:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   20429: fi
                   20430: 
                   20431: if test -n "$ac_config_commands"; then
                   20432:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   20433: fi
                   20434: 
                   20435: cat >>$CONFIG_STATUS <<\_ACEOF
                   20436: 
                   20437: ac_cs_usage="\
                   20438: \`$as_me' instantiates files from templates according to the
                   20439: current configuration.
                   20440: 
                   20441: Usage: $0 [OPTIONS] [FILE]...
                   20442: 
                   20443:   -h, --help       print this help, then exit
                   20444:   -V, --version    print version number, then exit
                   20445:   -q, --quiet      do not print progress messages
                   20446:   -d, --debug      don't remove temporary files
                   20447:       --recheck    update $as_me by reconfiguring in the same conditions
                   20448:   --file=FILE[:TEMPLATE]
1.86      paf      20449:                   instantiate the configuration file FILE
1.62      paf      20450:   --header=FILE[:TEMPLATE]
1.86      paf      20451:                   instantiate the configuration header FILE
1.62      paf      20452: 
                   20453: Configuration files:
                   20454: $config_files
                   20455: 
                   20456: Configuration headers:
                   20457: $config_headers
                   20458: 
                   20459: Configuration commands:
                   20460: $config_commands
                   20461: 
                   20462: Report bugs to <bug-autoconf@gnu.org>."
                   20463: _ACEOF
                   20464: 
                   20465: cat >>$CONFIG_STATUS <<_ACEOF
                   20466: ac_cs_version="\\
1.147     moko     20467: parser config.status 3.4.2
1.86      paf      20468: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      20469:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   20470: 
1.86      paf      20471: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      20472: This config.status script is free software; the Free Software Foundation
                   20473: gives unlimited permission to copy, distribute and modify it."
                   20474: srcdir=$srcdir
                   20475: INSTALL="$INSTALL"
                   20476: _ACEOF
                   20477: 
                   20478: cat >>$CONFIG_STATUS <<\_ACEOF
                   20479: # If no file are specified by the user, then we need to provide default
                   20480: # value.  By we need to know if files were specified by the user.
                   20481: ac_need_defaults=:
                   20482: while test $# != 0
                   20483: do
                   20484:   case $1 in
                   20485:   --*=*)
                   20486:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   20487:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   20488:     ac_shift=:
                   20489:     ;;
                   20490:   -*)
                   20491:     ac_option=$1
                   20492:     ac_optarg=$2
                   20493:     ac_shift=shift
                   20494:     ;;
                   20495:   *) # This is not an option, so the user has probably given explicit
                   20496:      # arguments.
                   20497:      ac_option=$1
                   20498:      ac_need_defaults=false;;
                   20499:   esac
                   20500: 
                   20501:   case $ac_option in
                   20502:   # Handling of the options.
                   20503: _ACEOF
                   20504: cat >>$CONFIG_STATUS <<\_ACEOF
                   20505:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   20506:     ac_cs_recheck=: ;;
                   20507:   --version | --vers* | -V )
                   20508:     echo "$ac_cs_version"; exit 0 ;;
                   20509:   --he | --h)
                   20510:     # Conflict between --help and --header
                   20511:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   20512: Try \`$0 --help' for more information." >&5
                   20513: echo "$as_me: error: ambiguous option: $1
                   20514: Try \`$0 --help' for more information." >&2;}
                   20515:    { (exit 1); exit 1; }; };;
                   20516:   --help | --hel | -h )
                   20517:     echo "$ac_cs_usage"; exit 0 ;;
                   20518:   --debug | --d* | -d )
                   20519:     debug=: ;;
                   20520:   --file | --fil | --fi | --f )
                   20521:     $ac_shift
                   20522:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   20523:     ac_need_defaults=false;;
                   20524:   --header | --heade | --head | --hea )
                   20525:     $ac_shift
                   20526:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   20527:     ac_need_defaults=false;;
                   20528:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   20529:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   20530:     ac_cs_silent=: ;;
                   20531: 
                   20532:   # This is an error.
                   20533:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   20534: Try \`$0 --help' for more information." >&5
                   20535: echo "$as_me: error: unrecognized option: $1
                   20536: Try \`$0 --help' for more information." >&2;}
                   20537:    { (exit 1); exit 1; }; } ;;
                   20538: 
                   20539:   *) ac_config_targets="$ac_config_targets $1" ;;
                   20540: 
                   20541:   esac
                   20542:   shift
                   20543: done
                   20544: 
                   20545: ac_configure_extra_args=
                   20546: 
                   20547: if $ac_cs_silent; then
                   20548:   exec 6>/dev/null
                   20549:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   20550: fi
                   20551: 
                   20552: _ACEOF
                   20553: cat >>$CONFIG_STATUS <<_ACEOF
                   20554: if \$ac_cs_recheck; then
                   20555:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   20556:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   20557: fi
                   20558: 
                   20559: _ACEOF
                   20560: 
                   20561: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      20562: #
1.62      paf      20563: # INIT-COMMANDS section.
1.1       paf      20564: #
                   20565: 
1.62      paf      20566: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   20567: 
1.128     moko     20568: 
                   20569: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   20570: # if CDPATH is set.
                   20571: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   20572: 
                   20573: sed_quote_subst='$sed_quote_subst'
                   20574: double_quote_subst='$double_quote_subst'
                   20575: delay_variable_subst='$delay_variable_subst'
                   20576: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   20577: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   20578: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   20579: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   20580: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     20581: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     20582: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     20583: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     20584: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   20585: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   20586: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   20587: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   20588: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   20589: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   20590: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   20591: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   20592: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   20593: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   20594: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   20595: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   20596: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   20597: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   20598: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   20599: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   20600: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   20601: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   20602: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   20603: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   20604: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   20605: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   20606: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   20607: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   20608: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20609: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   20610: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   20611: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   20612: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   20613: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   20614: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   20615: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   20616: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   20617: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   20618: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   20619: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   20620: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   20621: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   20622: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20623: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20624: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20625: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   20626: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   20627: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   20628: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   20629: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   20630: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   20631: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   20632: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   20633: 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"`'
                   20634: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20635: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   20636: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   20637: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   20638: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   20639: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   20640: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   20641: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   20642: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   20643: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   20644: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   20645: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   20646: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   20647: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   20648: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   20649: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   20650: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   20651: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   20652: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20653: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   20654: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   20655: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20656: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20657: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   20658: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   20659: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   20660: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   20661: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20662: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   20663: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   20664: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   20665: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20666: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   20667: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   20668: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   20669: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   20670: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   20671: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   20672: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20673: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   20674: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   20675: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   20676: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   20677: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   20678: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   20679: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   20680: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   20681: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   20682: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   20683: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   20684: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   20685: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   20686: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   20687: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   20688: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   20689: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   20690: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   20691: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   20692: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   20693: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   20694: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20695: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   20696: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   20697: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   20698: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   20699: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   20700: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   20701: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   20702: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   20703: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   20704: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   20705: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   20706: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   20707: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   20708: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   20709: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   20710: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   20711: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   20712: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   20713: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   20714: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20715: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20716: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20717: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   20718: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   20719: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20720: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   20721: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   20722: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   20723: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   20724: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   20725: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   20726: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20727: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20728: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   20729: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20730: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20731: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20732: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20733: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20734: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20735: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   20736: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20737: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   20738: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20739: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   20740: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   20741: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   20742: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   20743: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   20744: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   20745: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   20746: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   20747: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   20748: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20749: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20750: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   20751: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20752: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   20753: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   20754: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   20755: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   20756: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20757: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   20758: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20759: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   20760: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   20761: 
                   20762: LTCC='$LTCC'
                   20763: LTCFLAGS='$LTCFLAGS'
                   20764: compiler='$compiler_DEFAULT'
                   20765: 
                   20766: # A function that is used when there is no print builtin or printf.
                   20767: func_fallback_echo ()
                   20768: {
                   20769:   eval 'cat <<_LTECHO_EOF
                   20770: \$1
                   20771: _LTECHO_EOF'
                   20772: }
                   20773: 
                   20774: # Quote evaled strings.
                   20775: for var in AS \
                   20776: DLLTOOL \
                   20777: OBJDUMP \
                   20778: SHELL \
                   20779: ECHO \
                   20780: PATH_SEPARATOR \
                   20781: SED \
                   20782: GREP \
                   20783: EGREP \
                   20784: FGREP \
                   20785: LD \
                   20786: NM \
                   20787: LN_S \
                   20788: lt_SP2NL \
                   20789: lt_NL2SP \
                   20790: reload_flag \
                   20791: deplibs_check_method \
                   20792: file_magic_cmd \
                   20793: file_magic_glob \
                   20794: want_nocaseglob \
                   20795: sharedlib_from_linklib_cmd \
                   20796: AR \
                   20797: AR_FLAGS \
                   20798: archiver_list_spec \
                   20799: STRIP \
                   20800: RANLIB \
                   20801: CC \
                   20802: CFLAGS \
                   20803: compiler \
                   20804: lt_cv_sys_global_symbol_pipe \
                   20805: lt_cv_sys_global_symbol_to_cdecl \
                   20806: lt_cv_sys_global_symbol_to_c_name_address \
                   20807: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20808: nm_file_list_spec \
                   20809: lt_prog_compiler_no_builtin_flag \
                   20810: lt_prog_compiler_pic \
                   20811: lt_prog_compiler_wl \
                   20812: lt_prog_compiler_static \
                   20813: lt_cv_prog_compiler_c_o \
                   20814: need_locks \
                   20815: MANIFEST_TOOL \
                   20816: DSYMUTIL \
                   20817: NMEDIT \
                   20818: LIPO \
                   20819: OTOOL \
                   20820: OTOOL64 \
                   20821: shrext_cmds \
                   20822: export_dynamic_flag_spec \
                   20823: whole_archive_flag_spec \
                   20824: compiler_needs_object \
                   20825: with_gnu_ld \
                   20826: allow_undefined_flag \
                   20827: no_undefined_flag \
                   20828: hardcode_libdir_flag_spec \
                   20829: hardcode_libdir_separator \
                   20830: exclude_expsyms \
                   20831: include_expsyms \
                   20832: file_list_spec \
                   20833: variables_saved_for_relink \
                   20834: libname_spec \
                   20835: library_names_spec \
                   20836: soname_spec \
                   20837: install_override_mode \
                   20838: finish_eval \
                   20839: old_striplib \
                   20840: striplib \
                   20841: compiler_lib_search_dirs \
                   20842: predep_objects \
                   20843: postdep_objects \
                   20844: predeps \
                   20845: postdeps \
                   20846: compiler_lib_search_path \
                   20847: LD_CXX \
                   20848: reload_flag_CXX \
                   20849: compiler_CXX \
                   20850: lt_prog_compiler_no_builtin_flag_CXX \
                   20851: lt_prog_compiler_pic_CXX \
                   20852: lt_prog_compiler_wl_CXX \
                   20853: lt_prog_compiler_static_CXX \
                   20854: lt_cv_prog_compiler_c_o_CXX \
                   20855: export_dynamic_flag_spec_CXX \
                   20856: whole_archive_flag_spec_CXX \
                   20857: compiler_needs_object_CXX \
                   20858: with_gnu_ld_CXX \
                   20859: allow_undefined_flag_CXX \
                   20860: no_undefined_flag_CXX \
                   20861: hardcode_libdir_flag_spec_CXX \
                   20862: hardcode_libdir_separator_CXX \
                   20863: exclude_expsyms_CXX \
                   20864: include_expsyms_CXX \
                   20865: file_list_spec_CXX \
                   20866: compiler_lib_search_dirs_CXX \
                   20867: predep_objects_CXX \
                   20868: postdep_objects_CXX \
                   20869: predeps_CXX \
                   20870: postdeps_CXX \
                   20871: compiler_lib_search_path_CXX; do
                   20872:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20873:     *[\\\\\\\`\\"\\\$]*)
                   20874:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20875:       ;;
                   20876:     *)
                   20877:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20878:       ;;
                   20879:     esac
                   20880: done
                   20881: 
                   20882: # Double-quote double-evaled strings.
                   20883: for var in reload_cmds \
                   20884: old_postinstall_cmds \
                   20885: old_postuninstall_cmds \
                   20886: old_archive_cmds \
                   20887: extract_expsyms_cmds \
                   20888: old_archive_from_new_cmds \
                   20889: old_archive_from_expsyms_cmds \
                   20890: archive_cmds \
                   20891: archive_expsym_cmds \
                   20892: module_cmds \
                   20893: module_expsym_cmds \
                   20894: export_symbols_cmds \
                   20895: prelink_cmds \
                   20896: postlink_cmds \
                   20897: postinstall_cmds \
                   20898: postuninstall_cmds \
                   20899: finish_cmds \
                   20900: sys_lib_search_path_spec \
                   20901: sys_lib_dlsearch_path_spec \
                   20902: reload_cmds_CXX \
                   20903: old_archive_cmds_CXX \
                   20904: old_archive_from_new_cmds_CXX \
                   20905: old_archive_from_expsyms_cmds_CXX \
                   20906: archive_cmds_CXX \
                   20907: archive_expsym_cmds_CXX \
                   20908: module_cmds_CXX \
                   20909: module_expsym_cmds_CXX \
                   20910: export_symbols_cmds_CXX \
                   20911: prelink_cmds_CXX \
                   20912: postlink_cmds_CXX; do
                   20913:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20914:     *[\\\\\\\`\\"\\\$]*)
                   20915:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20916:       ;;
                   20917:     *)
                   20918:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20919:       ;;
                   20920:     esac
                   20921: done
                   20922: 
                   20923: ac_aux_dir='$ac_aux_dir'
                   20924: xsi_shell='$xsi_shell'
                   20925: lt_shell_append='$lt_shell_append'
                   20926: 
                   20927: # See if we are running on zsh, and set the options which allow our
                   20928: # commands through without removal of \ escapes INIT.
                   20929: if test -n "\${ZSH_VERSION+set}" ; then
                   20930:    setopt NO_GLOB_SUBST
                   20931: fi
                   20932: 
                   20933: 
                   20934:     PACKAGE='$PACKAGE'
                   20935:     VERSION='$VERSION'
                   20936:     TIMESTAMP='$TIMESTAMP'
                   20937:     RM='$RM'
                   20938:     ofile='$ofile'
                   20939: 
                   20940: 
                   20941: 
                   20942: 
                   20943: 
                   20944: 
1.62      paf      20945: _ACEOF
                   20946: 
                   20947: 
                   20948: 
                   20949: cat >>$CONFIG_STATUS <<\_ACEOF
                   20950: for ac_config_target in $ac_config_targets
1.1       paf      20951: do
1.62      paf      20952:   case "$ac_config_target" in
                   20953:   # Handling of arguments.
                   20954:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20955:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20956:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20957:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20958:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20959:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20960:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20961:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      20962:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20963:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      20964:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20965:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    20966:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      20967:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20968:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20969:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      20970:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      20971:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
1.124     moko     20972:   "src/lib/sdbm/pa-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
1.120     misha    20973:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.126     moko     20974:   "src/lib/memcached/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
1.127     moko     20975:   "src/lib/curl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
1.62      paf      20976:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20977:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     20978:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      20979:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20980:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20981:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   20982:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   20983:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   20984:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.128     moko     20985:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.62      paf      20986:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20987:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   20988: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   20989:    { (exit 1); exit 1; }; };;
1.1       paf      20990:   esac
                   20991: done
                   20992: 
1.62      paf      20993: # If the user did not use the arguments to specify the items to instantiate,
                   20994: # then the envvar interface is used.  Set only those that are not.
                   20995: # We use the long form for the default assignment because of an extremely
                   20996: # bizarre bug on SunOS 4.1.3.
                   20997: if $ac_need_defaults; then
                   20998:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20999:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   21000:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   21001: fi
                   21002: 
                   21003: # Have a temporary directory for convenience.  Make it in the build tree
                   21004: # simply because there is no reason to put it here, and in addition,
                   21005: # creating and moving files from /tmp can sometimes cause problems.
                   21006: # Create a temporary directory, and hook for its removal unless debugging.
                   21007: $debug ||
                   21008: {
                   21009:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   21010:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   21011: }
                   21012: 
                   21013: # Create a (secure) tmp directory for tmp files.
                   21014: 
                   21015: {
                   21016:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   21017:   test -n "$tmp" && test -d "$tmp"
                   21018: }  ||
                   21019: {
                   21020:   tmp=./confstat$$-$RANDOM
                   21021:   (umask 077 && mkdir $tmp)
                   21022: } ||
                   21023: {
                   21024:    echo "$me: cannot create a temporary directory in ." >&2
                   21025:    { (exit 1); exit 1; }
                   21026: }
                   21027: 
                   21028: _ACEOF
1.1       paf      21029: 
1.62      paf      21030: cat >>$CONFIG_STATUS <<_ACEOF
                   21031: 
                   21032: #
                   21033: # CONFIG_FILES section.
                   21034: #
1.1       paf      21035: 
1.62      paf      21036: # No need to generate the scripts if there are no CONFIG_FILES.
                   21037: # This happens for instance when ./config.status config.h
                   21038: if test -n "\$CONFIG_FILES"; then
                   21039:   # Protect against being on the right side of a sed subst in config.status.
                   21040:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   21041:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   21042: s,@SHELL@,$SHELL,;t t
                   21043: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   21044: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   21045: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   21046: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   21047: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   21048: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   21049: s,@exec_prefix@,$exec_prefix,;t t
                   21050: s,@prefix@,$prefix,;t t
                   21051: s,@program_transform_name@,$program_transform_name,;t t
                   21052: s,@bindir@,$bindir,;t t
                   21053: s,@sbindir@,$sbindir,;t t
                   21054: s,@libexecdir@,$libexecdir,;t t
                   21055: s,@datadir@,$datadir,;t t
                   21056: s,@sysconfdir@,$sysconfdir,;t t
                   21057: s,@sharedstatedir@,$sharedstatedir,;t t
                   21058: s,@localstatedir@,$localstatedir,;t t
                   21059: s,@libdir@,$libdir,;t t
                   21060: s,@includedir@,$includedir,;t t
                   21061: s,@oldincludedir@,$oldincludedir,;t t
                   21062: s,@infodir@,$infodir,;t t
                   21063: s,@mandir@,$mandir,;t t
                   21064: s,@build_alias@,$build_alias,;t t
                   21065: s,@host_alias@,$host_alias,;t t
                   21066: s,@target_alias@,$target_alias,;t t
                   21067: s,@DEFS@,$DEFS,;t t
                   21068: s,@ECHO_C@,$ECHO_C,;t t
                   21069: s,@ECHO_N@,$ECHO_N,;t t
                   21070: s,@ECHO_T@,$ECHO_T,;t t
                   21071: s,@LIBS@,$LIBS,;t t
                   21072: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   21073: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   21074: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   21075: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   21076: s,@PACKAGE@,$PACKAGE,;t t
                   21077: s,@VERSION@,$VERSION,;t t
                   21078: s,@ACLOCAL@,$ACLOCAL,;t t
                   21079: s,@AUTOCONF@,$AUTOCONF,;t t
                   21080: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   21081: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   21082: s,@MAKEINFO@,$MAKEINFO,;t t
                   21083: s,@install_sh@,$install_sh,;t t
                   21084: s,@STRIP@,$STRIP,;t t
                   21085: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   21086: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      21087: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      21088: s,@AWK@,$AWK,;t t
                   21089: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      21090: s,@am__leading_dot@,$am__leading_dot,;t t
                   21091: s,@AMTAR@,$AMTAR,;t t
                   21092: s,@am__tar@,$am__tar,;t t
                   21093: s,@am__untar@,$am__untar,;t t
1.62      paf      21094: s,@P3S@,$P3S,;t t
                   21095: s,@build@,$build,;t t
                   21096: s,@build_cpu@,$build_cpu,;t t
                   21097: s,@build_vendor@,$build_vendor,;t t
                   21098: s,@build_os@,$build_os,;t t
                   21099: s,@host@,$host,;t t
                   21100: s,@host_cpu@,$host_cpu,;t t
                   21101: s,@host_vendor@,$host_vendor,;t t
                   21102: s,@host_os@,$host_os,;t t
                   21103: s,@YACC@,$YACC,;t t
1.66      paf      21104: s,@CXX@,$CXX,;t t
                   21105: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      21106: s,@LDFLAGS@,$LDFLAGS,;t t
                   21107: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      21108: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      21109: s,@EXEEXT@,$EXEEXT,;t t
                   21110: s,@OBJEXT@,$OBJEXT,;t t
                   21111: s,@DEPDIR@,$DEPDIR,;t t
                   21112: s,@am__include@,$am__include,;t t
                   21113: s,@am__quote@,$am__quote,;t t
                   21114: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   21115: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   21116: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      21117: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   21118: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   21119: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   21120: s,@CC@,$CC,;t t
                   21121: s,@CFLAGS@,$CFLAGS,;t t
                   21122: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      21123: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   21124: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   21125: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   21126: s,@dll_extension@,$dll_extension,;t t
1.67      paf      21127: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    21128: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   21129: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      21130: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   21131: s,@XML_LIBS@,$XML_LIBS,;t t
                   21132: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   21133: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     21134: s,@APACHE@,$APACHE,;t t
                   21135: s,@APACHE_INC@,$APACHE_INC,;t t
                   21136: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   21137: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   21138: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.128     moko     21139: s,@AS@,$AS,;t t
                   21140: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   21141: s,@DLLTOOL@,$DLLTOOL,;t t
                   21142: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   21143: s,@OBJDUMP@,$OBJDUMP,;t t
                   21144: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   21145: s,@LIBTOOL@,$LIBTOOL,;t t
                   21146: s,@SED@,$SED,;t t
                   21147: s,@EGREP@,$EGREP,;t t
                   21148: s,@FGREP@,$FGREP,;t t
                   21149: s,@GREP@,$GREP,;t t
                   21150: s,@LD@,$LD,;t t
                   21151: s,@DUMPBIN@,$DUMPBIN,;t t
                   21152: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   21153: s,@NM@,$NM,;t t
                   21154: s,@LN_S@,$LN_S,;t t
                   21155: s,@AR@,$AR,;t t
                   21156: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   21157: s,@RANLIB@,$RANLIB,;t t
                   21158: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   21159: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   21160: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   21161: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   21162: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   21163: s,@NMEDIT@,$NMEDIT,;t t
                   21164: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   21165: s,@LIPO@,$LIPO,;t t
                   21166: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   21167: s,@OTOOL@,$OTOOL,;t t
                   21168: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   21169: s,@OTOOL64@,$OTOOL64,;t t
                   21170: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   21171: s,@CPP@,$CPP,;t t
                   21172: s,@CXXCPP@,$CXXCPP,;t t
                   21173: s,@LIBLTDL@,$LIBLTDL,;t t
                   21174: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   21175: s,@LTDLINCL@,$LTDLINCL,;t t
1.62      paf      21176: s,@INCLTDL@,$INCLTDL,;t t
1.128     moko     21177: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   21178: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   21179: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   21180: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   21181: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   21182: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   21183: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   21184: s,@ARGZ_H@,$ARGZ_H,;t t
                   21185: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   21186: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   21187: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   21188: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
1.62      paf      21189: s,@subdirs@,$subdirs,;t t
1.128     moko     21190: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   21191: s,@LTDLOPEN@,$LTDLOPEN,;t t
1.62      paf      21192: s,@LIBOBJS@,$LIBOBJS,;t t
                   21193: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.128     moko     21194: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   21195: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
1.1       paf      21196: CEOF
                   21197: 
1.62      paf      21198: _ACEOF
1.1       paf      21199: 
1.62      paf      21200:   cat >>$CONFIG_STATUS <<\_ACEOF
                   21201:   # Split the substitutions into bite-sized pieces for seds with
                   21202:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   21203:   ac_max_sed_lines=48
                   21204:   ac_sed_frag=1 # Number of current file.
                   21205:   ac_beg=1 # First line for current file.
                   21206:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   21207:   ac_more_lines=:
                   21208:   ac_sed_cmds=
                   21209:   while $ac_more_lines; do
                   21210:     if test $ac_beg -gt 1; then
                   21211:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21212:     else
                   21213:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   21214:     fi
                   21215:     if test ! -s $tmp/subs.frag; then
                   21216:       ac_more_lines=false
1.1       paf      21217:     else
1.62      paf      21218:       # The purpose of the label and of the branching condition is to
                   21219:       # speed up the sed processing (if there are no `@' at all, there
                   21220:       # is no need to browse any of the substitutions).
                   21221:       # These are the two extra sed commands mentioned above.
                   21222:       (echo ':t
                   21223:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   21224:       if test -z "$ac_sed_cmds"; then
1.86      paf      21225:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21226:       else
1.86      paf      21227:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      21228:       fi
                   21229:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   21230:       ac_beg=$ac_end
                   21231:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      21232:     fi
1.62      paf      21233:   done
                   21234:   if test -z "$ac_sed_cmds"; then
                   21235:     ac_sed_cmds=cat
1.1       paf      21236:   fi
1.62      paf      21237: fi # test -n "$CONFIG_FILES"
1.1       paf      21238: 
1.62      paf      21239: _ACEOF
                   21240: cat >>$CONFIG_STATUS <<\_ACEOF
                   21241: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      21242:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21243:   case $ac_file in
                   21244:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21245:        cat >$tmp/stdin
                   21246:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21247:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21248:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21249:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21250:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21251:   esac
                   21252: 
1.62      paf      21253:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   21254:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21255: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21256:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21257:         X"$ac_file" : 'X\(//\)$' \| \
                   21258:         X"$ac_file" : 'X\(/\)' \| \
                   21259:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21260: echo X"$ac_file" |
                   21261:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21262:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21263:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21264:          /^X\(\/\).*/{ s//\1/; q; }
                   21265:          s/.*/./; q'`
                   21266:   { if $as_mkdir_p; then
                   21267:     mkdir -p "$ac_dir"
                   21268:   else
                   21269:     as_dir="$ac_dir"
                   21270:     as_dirs=
                   21271:     while test ! -d "$as_dir"; do
                   21272:       as_dirs="$as_dir $as_dirs"
                   21273:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21274: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21275:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21276:         X"$as_dir" : 'X\(//\)$' \| \
                   21277:         X"$as_dir" : 'X\(/\)' \| \
                   21278:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21279: echo X"$as_dir" |
                   21280:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21281:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21282:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21283:          /^X\(\/\).*/{ s//\1/; q; }
                   21284:          s/.*/./; q'`
                   21285:     done
                   21286:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21287:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21288: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21289:    { (exit 1); exit 1; }; }; }
                   21290: 
                   21291:   ac_builddir=.
                   21292: 
                   21293: if test "$ac_dir" != .; then
                   21294:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21295:   # A "../" for each directory in $ac_dir_suffix.
                   21296:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21297: else
                   21298:   ac_dir_suffix= ac_top_builddir=
                   21299: fi
                   21300: 
                   21301: case $srcdir in
                   21302:   .)  # No --srcdir option.  We are building in place.
                   21303:     ac_srcdir=.
                   21304:     if test -z "$ac_top_builddir"; then
                   21305:        ac_top_srcdir=.
                   21306:     else
                   21307:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21308:     fi ;;
                   21309:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21310:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21311:     ac_top_srcdir=$srcdir ;;
                   21312:   *) # Relative path.
                   21313:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21314:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21315: esac
1.86      paf      21316: 
                   21317: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21318: # the directories may not exist.
                   21319: case `pwd` in
                   21320: .) ac_abs_builddir="$ac_dir";;
                   21321: *)
                   21322:   case "$ac_dir" in
                   21323:   .) ac_abs_builddir=`pwd`;;
                   21324:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21325:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21326:   esac;;
                   21327: esac
                   21328: case $ac_abs_builddir in
                   21329: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21330: *)
                   21331:   case ${ac_top_builddir}. in
                   21332:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21333:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21334:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21335:   esac;;
                   21336: esac
                   21337: case $ac_abs_builddir in
                   21338: .) ac_abs_srcdir=$ac_srcdir;;
                   21339: *)
                   21340:   case $ac_srcdir in
                   21341:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21342:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21343:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21344:   esac;;
                   21345: esac
                   21346: case $ac_abs_builddir in
                   21347: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21348: *)
                   21349:   case $ac_top_srcdir in
                   21350:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21351:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21352:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21353:   esac;;
                   21354: esac
1.62      paf      21355: 
1.1       paf      21356: 
1.62      paf      21357:   case $INSTALL in
                   21358:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   21359:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      21360:   esac
                   21361: 
1.62      paf      21362:   if test x"$ac_file" != x-; then
                   21363:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21364: echo "$as_me: creating $ac_file" >&6;}
                   21365:     rm -f "$ac_file"
                   21366:   fi
                   21367:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21368:   # use $as_me), people would be surprised to read:
                   21369:   #    /* config.h.  Generated by config.status.  */
                   21370:   if test x"$ac_file" = x-; then
                   21371:     configure_input=
                   21372:   else
                   21373:     configure_input="$ac_file.  "
                   21374:   fi
                   21375:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      21376:                                     sed 's,.*/,,'` by configure."
1.62      paf      21377: 
                   21378:   # First look for the input files in the build tree, otherwise in the
                   21379:   # src tree.
                   21380:   ac_file_inputs=`IFS=:
                   21381:     for f in $ac_file_in; do
                   21382:       case $f in
                   21383:       -) echo $tmp/stdin ;;
                   21384:       [\\/$]*)
1.86      paf      21385:         # Absolute (can't be DOS-style, as IFS=:)
                   21386:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21387: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21388:    { (exit 1); exit 1; }; }
1.86      paf      21389:         echo "$f";;
1.62      paf      21390:       *) # Relative
1.86      paf      21391:         if test -f "$f"; then
                   21392:           # Build tree
                   21393:           echo "$f"
                   21394:         elif test -f "$srcdir/$f"; then
                   21395:           # Source tree
                   21396:           echo "$srcdir/$f"
                   21397:         else
                   21398:           # /dev/null tree
                   21399:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21400: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21401:    { (exit 1); exit 1; }; }
1.86      paf      21402:         fi;;
1.62      paf      21403:       esac
                   21404:     done` || { (exit 1); exit 1; }
                   21405: _ACEOF
                   21406: cat >>$CONFIG_STATUS <<_ACEOF
                   21407:   sed "$ac_vpsub
                   21408: $extrasub
                   21409: _ACEOF
                   21410: cat >>$CONFIG_STATUS <<\_ACEOF
                   21411: :t
                   21412: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   21413: s,@configure_input@,$configure_input,;t t
                   21414: s,@srcdir@,$ac_srcdir,;t t
                   21415: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   21416: s,@top_srcdir@,$ac_top_srcdir,;t t
                   21417: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   21418: s,@builddir@,$ac_builddir,;t t
                   21419: s,@abs_builddir@,$ac_abs_builddir,;t t
                   21420: s,@top_builddir@,$ac_top_builddir,;t t
                   21421: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   21422: s,@INSTALL@,$ac_INSTALL,;t t
                   21423: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   21424:   rm -f $tmp/stdin
                   21425:   if test x"$ac_file" != x-; then
                   21426:     mv $tmp/out $ac_file
                   21427:   else
                   21428:     cat $tmp/out
                   21429:     rm -f $tmp/out
                   21430:   fi
1.1       paf      21431: 
1.62      paf      21432: done
                   21433: _ACEOF
                   21434: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      21435: 
1.62      paf      21436: #
                   21437: # CONFIG_HEADER section.
                   21438: #
1.1       paf      21439: 
                   21440: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   21441: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   21442: #
                   21443: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      21444: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   21445: ac_dB='[        ].*$,\1#\2'
1.62      paf      21446: ac_dC=' '
                   21447: ac_dD=',;t'
                   21448: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      21449: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      21450: ac_uB='$,\1#\2define\3'
1.1       paf      21451: ac_uC=' '
1.62      paf      21452: ac_uD=',;t'
                   21453: 
                   21454: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      21455:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      21456:   case $ac_file in
                   21457:   - | *:- | *:-:* ) # input from stdin
1.86      paf      21458:        cat >$tmp/stdin
                   21459:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21460:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21461:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      21462:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      21463:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      21464:   esac
                   21465: 
1.62      paf      21466:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   21467: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      21468: 
1.62      paf      21469:   # First look for the input files in the build tree, otherwise in the
                   21470:   # src tree.
                   21471:   ac_file_inputs=`IFS=:
                   21472:     for f in $ac_file_in; do
                   21473:       case $f in
                   21474:       -) echo $tmp/stdin ;;
                   21475:       [\\/$]*)
1.86      paf      21476:         # Absolute (can't be DOS-style, as IFS=:)
                   21477:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21478: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21479:    { (exit 1); exit 1; }; }
1.86      paf      21480:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   21481:         echo "$f";;
1.62      paf      21482:       *) # Relative
1.86      paf      21483:         if test -f "$f"; then
                   21484:           # Build tree
                   21485:           echo "$f"
                   21486:         elif test -f "$srcdir/$f"; then
                   21487:           # Source tree
                   21488:           echo "$srcdir/$f"
                   21489:         else
                   21490:           # /dev/null tree
                   21491:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      21492: echo "$as_me: error: cannot find input file: $f" >&2;}
                   21493:    { (exit 1); exit 1; }; }
1.86      paf      21494:         fi;;
1.62      paf      21495:       esac
                   21496:     done` || { (exit 1); exit 1; }
                   21497:   # Remove the trailing spaces.
1.86      paf      21498:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      21499: 
                   21500: _ACEOF
                   21501: 
                   21502: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   21503: # `conftest.undefs', that substitutes the proper values into
                   21504: # config.h.in to produce config.h.  The first handles `#define'
                   21505: # templates, and the second `#undef' templates.
                   21506: # And first: Protect against being on the right side of a sed subst in
                   21507: # config.status.  Protect against being in an unquoted here document
                   21508: # in config.status.
                   21509: rm -f conftest.defines conftest.undefs
                   21510: # Using a here document instead of a string reduces the quoting nightmare.
                   21511: # Putting comments in sed scripts is not portable.
                   21512: #
                   21513: # `end' is used to avoid that the second main sed command (meant for
                   21514: # 0-ary CPP macros) applies to n-ary macro definitions.
                   21515: # See the Autoconf documentation for `clear'.
                   21516: cat >confdef2sed.sed <<\_ACEOF
                   21517: s/[\\&,]/\\&/g
                   21518: s,[\\$`],\\&,g
                   21519: t clear
                   21520: : clear
1.86      paf      21521: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      21522: t end
1.86      paf      21523: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      21524: : end
                   21525: _ACEOF
                   21526: # If some macros were called several times there might be several times
                   21527: # the same #defines, which is useless.  Nevertheless, we may not want to
                   21528: # sort them, since we want the *last* AC-DEFINE to be honored.
                   21529: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   21530: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   21531: rm -f confdef2sed.sed
1.1       paf      21532: 
                   21533: # This sed command replaces #undef with comments.  This is necessary, for
                   21534: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   21535: # on some systems where configure will not decide to define it.
1.62      paf      21536: cat >>conftest.undefs <<\_ACEOF
1.86      paf      21537: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      21538: _ACEOF
                   21539: 
                   21540: # Break up conftest.defines because some shells have a limit on the size
                   21541: # of here documents, and old seds have small limits too (100 cmds).
                   21542: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      21543: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      21544: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   21545: echo '  :' >>$CONFIG_STATUS
                   21546: rm -f conftest.tail
                   21547: while grep . conftest.defines >/dev/null
                   21548: do
                   21549:   # Write a limited-size here document to $tmp/defines.sed.
                   21550:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   21551:   # Speed up: don't consider the non `#define' lines.
1.86      paf      21552:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      21553:   # Work around the forget-to-reset-the-flag bug.
                   21554:   echo 't clr' >>$CONFIG_STATUS
                   21555:   echo ': clr' >>$CONFIG_STATUS
                   21556:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   21557:   echo 'CEOF
                   21558:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   21559:   rm -f $tmp/in
                   21560:   mv $tmp/out $tmp/in
                   21561: ' >>$CONFIG_STATUS
                   21562:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   21563:   rm -f conftest.defines
                   21564:   mv conftest.tail conftest.defines
                   21565: done
                   21566: rm -f conftest.defines
                   21567: echo '  fi # grep' >>$CONFIG_STATUS
                   21568: echo >>$CONFIG_STATUS
                   21569: 
                   21570: # Break up conftest.undefs because some shells have a limit on the size
                   21571: # of here documents, and old seds have small limits too (100 cmds).
                   21572: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      21573: rm -f conftest.tail
1.62      paf      21574: while grep . conftest.undefs >/dev/null
1.1       paf      21575: do
1.62      paf      21576:   # Write a limited-size here document to $tmp/undefs.sed.
                   21577:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   21578:   # Speed up: don't consider the non `#undef'
1.86      paf      21579:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      21580:   # Work around the forget-to-reset-the-flag bug.
                   21581:   echo 't clr' >>$CONFIG_STATUS
                   21582:   echo ': clr' >>$CONFIG_STATUS
                   21583:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      21584:   echo 'CEOF
1.62      paf      21585:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   21586:   rm -f $tmp/in
                   21587:   mv $tmp/out $tmp/in
                   21588: ' >>$CONFIG_STATUS
                   21589:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   21590:   rm -f conftest.undefs
                   21591:   mv conftest.tail conftest.undefs
                   21592: done
                   21593: rm -f conftest.undefs
                   21594: 
                   21595: cat >>$CONFIG_STATUS <<\_ACEOF
                   21596:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   21597:   # use $as_me), people would be surprised to read:
                   21598:   #    /* config.h.  Generated by config.status.  */
                   21599:   if test x"$ac_file" = x-; then
                   21600:     echo "/* Generated by configure.  */" >$tmp/config.h
                   21601:   else
                   21602:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   21603:   fi
                   21604:   cat $tmp/in >>$tmp/config.h
                   21605:   rm -f $tmp/in
                   21606:   if test x"$ac_file" != x-; then
                   21607:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   21608:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   21609: echo "$as_me: $ac_file is unchanged" >&6;}
                   21610:     else
                   21611:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   21612: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21613:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   21614:         X"$ac_file" : 'X\(//\)$' \| \
                   21615:         X"$ac_file" : 'X\(/\)' \| \
                   21616:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21617: echo X"$ac_file" |
                   21618:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21619:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21620:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21621:          /^X\(\/\).*/{ s//\1/; q; }
                   21622:          s/.*/./; q'`
                   21623:       { if $as_mkdir_p; then
                   21624:     mkdir -p "$ac_dir"
                   21625:   else
                   21626:     as_dir="$ac_dir"
                   21627:     as_dirs=
                   21628:     while test ! -d "$as_dir"; do
                   21629:       as_dirs="$as_dir $as_dirs"
                   21630:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21631: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21632:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21633:         X"$as_dir" : 'X\(//\)$' \| \
                   21634:         X"$as_dir" : 'X\(/\)' \| \
                   21635:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21636: echo X"$as_dir" |
                   21637:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21638:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21639:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21640:          /^X\(\/\).*/{ s//\1/; q; }
                   21641:          s/.*/./; q'`
                   21642:     done
                   21643:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21644:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21645: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21646:    { (exit 1); exit 1; }; }; }
                   21647: 
                   21648:       rm -f $ac_file
                   21649:       mv $tmp/config.h $ac_file
                   21650:     fi
                   21651:   else
                   21652:     cat $tmp/config.h
                   21653:     rm -f $tmp/config.h
                   21654:   fi
1.86      paf      21655: # Compute $ac_file's index in $config_headers.
                   21656: _am_stamp_count=1
                   21657: for _am_header in $config_headers :; do
                   21658:   case $_am_header in
                   21659:     $ac_file | $ac_file:* )
                   21660:       break ;;
                   21661:     * )
                   21662:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   21663:   esac
                   21664: done
1.62      paf      21665: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   21666: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21667:         X$ac_file : 'X\(//\)[^/]' \| \
                   21668:         X$ac_file : 'X\(//\)$' \| \
                   21669:         X$ac_file : 'X\(/\)' \| \
                   21670:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21671: echo X$ac_file |
                   21672:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21673:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21674:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21675:          /^X\(\/\).*/{ s//\1/; q; }
                   21676:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   21677: done
                   21678: _ACEOF
                   21679: cat >>$CONFIG_STATUS <<\_ACEOF
                   21680: 
                   21681: #
                   21682: # CONFIG_COMMANDS section.
                   21683: #
                   21684: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   21685:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   21686:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   21687:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   21688: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21689:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   21690:         X"$ac_dest" : 'X\(//\)$' \| \
                   21691:         X"$ac_dest" : 'X\(/\)' \| \
                   21692:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21693: echo X"$ac_dest" |
                   21694:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21695:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21696:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21697:          /^X\(\/\).*/{ s//\1/; q; }
                   21698:          s/.*/./; q'`
1.86      paf      21699:   { if $as_mkdir_p; then
                   21700:     mkdir -p "$ac_dir"
                   21701:   else
                   21702:     as_dir="$ac_dir"
                   21703:     as_dirs=
                   21704:     while test ! -d "$as_dir"; do
                   21705:       as_dirs="$as_dir $as_dirs"
                   21706:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21707: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21708:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21709:         X"$as_dir" : 'X\(//\)$' \| \
                   21710:         X"$as_dir" : 'X\(/\)' \| \
                   21711:         .     : '\(.\)' 2>/dev/null ||
                   21712: echo X"$as_dir" |
                   21713:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21714:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21715:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21716:          /^X\(\/\).*/{ s//\1/; q; }
                   21717:          s/.*/./; q'`
                   21718:     done
                   21719:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21720:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   21721: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   21722:    { (exit 1); exit 1; }; }; }
                   21723: 
1.62      paf      21724:   ac_builddir=.
                   21725: 
                   21726: if test "$ac_dir" != .; then
                   21727:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   21728:   # A "../" for each directory in $ac_dir_suffix.
                   21729:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   21730: else
                   21731:   ac_dir_suffix= ac_top_builddir=
                   21732: fi
                   21733: 
                   21734: case $srcdir in
                   21735:   .)  # No --srcdir option.  We are building in place.
                   21736:     ac_srcdir=.
                   21737:     if test -z "$ac_top_builddir"; then
                   21738:        ac_top_srcdir=.
                   21739:     else
                   21740:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   21741:     fi ;;
                   21742:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   21743:     ac_srcdir=$srcdir$ac_dir_suffix;
                   21744:     ac_top_srcdir=$srcdir ;;
                   21745:   *) # Relative path.
                   21746:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   21747:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   21748: esac
1.86      paf      21749: 
                   21750: # Do not use `cd foo && pwd` to compute absolute paths, because
                   21751: # the directories may not exist.
                   21752: case `pwd` in
                   21753: .) ac_abs_builddir="$ac_dir";;
                   21754: *)
                   21755:   case "$ac_dir" in
                   21756:   .) ac_abs_builddir=`pwd`;;
                   21757:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   21758:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   21759:   esac;;
                   21760: esac
                   21761: case $ac_abs_builddir in
                   21762: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21763: *)
                   21764:   case ${ac_top_builddir}. in
                   21765:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   21766:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   21767:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   21768:   esac;;
                   21769: esac
                   21770: case $ac_abs_builddir in
                   21771: .) ac_abs_srcdir=$ac_srcdir;;
                   21772: *)
                   21773:   case $ac_srcdir in
                   21774:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   21775:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   21776:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   21777:   esac;;
                   21778: esac
                   21779: case $ac_abs_builddir in
                   21780: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21781: *)
                   21782:   case $ac_top_srcdir in
                   21783:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   21784:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   21785:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   21786:   esac;;
                   21787: esac
1.62      paf      21788: 
                   21789: 
                   21790:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   21791: echo "$as_me: executing $ac_dest commands" >&6;}
                   21792:   case $ac_dest in
                   21793:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   21794:   # Strip MF so we end up with the name of the file.
                   21795:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   21796:   # Check whether this is an Automake generated Makefile or not.
                   21797:   # We used to match only the files named `Makefile.in', but
                   21798:   # some people rename them; so instead we look at the file content.
                   21799:   # Grep'ing the first line is not enough: some people post-process
                   21800:   # each Makefile.in and add a new line on top of each file to say so.
                   21801:   # So let's grep whole file.
                   21802:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   21803:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   21804: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21805:         X"$mf" : 'X\(//\)[^/]' \| \
                   21806:         X"$mf" : 'X\(//\)$' \| \
                   21807:         X"$mf" : 'X\(/\)' \| \
                   21808:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21809: echo X"$mf" |
                   21810:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21811:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21812:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21813:          /^X\(\/\).*/{ s//\1/; q; }
                   21814:          s/.*/./; q'`
                   21815:   else
                   21816:     continue
                   21817:   fi
1.86      paf      21818:   # Extract the definition of DEPDIR, am__include, and am__quote
                   21819:   # from the Makefile without running `make'.
                   21820:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      21821:   test -z "$DEPDIR" && continue
1.86      paf      21822:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   21823:   test -z "am__include" && continue
                   21824:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      21825:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      21826:   U=`sed -n 's/^U = //p' < "$mf"`
                   21827:   # Find all dependency output files, they are included files with
                   21828:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   21829:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   21830:   # expansion.
                   21831:   for file in `sed -n "
                   21832:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      21833:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   21834:     # Make sure the directory exists.
                   21835:     test -f "$dirpart/$file" && continue
                   21836:     fdir=`(dirname "$file") 2>/dev/null ||
                   21837: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21838:         X"$file" : 'X\(//\)[^/]' \| \
                   21839:         X"$file" : 'X\(//\)$' \| \
                   21840:         X"$file" : 'X\(/\)' \| \
                   21841:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21842: echo X"$file" |
                   21843:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21844:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21845:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21846:          /^X\(\/\).*/{ s//\1/; q; }
                   21847:          s/.*/./; q'`
                   21848:     { if $as_mkdir_p; then
                   21849:     mkdir -p $dirpart/$fdir
                   21850:   else
                   21851:     as_dir=$dirpart/$fdir
                   21852:     as_dirs=
                   21853:     while test ! -d "$as_dir"; do
                   21854:       as_dirs="$as_dir $as_dirs"
                   21855:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   21856: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      21857:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21858:         X"$as_dir" : 'X\(//\)$' \| \
                   21859:         X"$as_dir" : 'X\(/\)' \| \
                   21860:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      21861: echo X"$as_dir" |
                   21862:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   21863:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   21864:          /^X\(\/\/\)$/{ s//\1/; q; }
                   21865:          /^X\(\/\).*/{ s//\1/; q; }
                   21866:          s/.*/./; q'`
                   21867:     done
                   21868:     test ! -n "$as_dirs" || mkdir $as_dirs
                   21869:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   21870: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   21871:    { (exit 1); exit 1; }; }; }
1.1       paf      21872: 
1.62      paf      21873:     # echo "creating $dirpart/$file"
                   21874:     echo '# dummy' > "$dirpart/$file"
                   21875:   done
                   21876: done
                   21877:  ;;
1.128     moko     21878:     libtool )
                   21879: 
                   21880:     # See if we are running on zsh, and set the options which allow our
                   21881:     # commands through without removal of \ escapes.
                   21882:     if test -n "${ZSH_VERSION+set}" ; then
                   21883:       setopt NO_GLOB_SUBST
                   21884:     fi
                   21885: 
                   21886:     cfgfile="${ofile}T"
                   21887:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   21888:     $RM "$cfgfile"
                   21889: 
                   21890:     cat <<_LT_EOF >> "$cfgfile"
                   21891: #! $SHELL
                   21892: 
                   21893: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   21894: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   21895: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   21896: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   21897: #
                   21898: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   21899: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   21900: #                 Foundation, Inc.
                   21901: #   Written by Gordon Matzigkeit, 1996
                   21902: #
                   21903: #   This file is part of GNU Libtool.
                   21904: #
                   21905: # GNU Libtool is free software; you can redistribute it and/or
                   21906: # modify it under the terms of the GNU General Public License as
                   21907: # published by the Free Software Foundation; either version 2 of
                   21908: # the License, or (at your option) any later version.
                   21909: #
                   21910: # As a special exception to the GNU General Public License,
                   21911: # if you distribute this file as part of a program or library that
                   21912: # is built using GNU Libtool, you may include this file under the
                   21913: # same distribution terms that you use for the rest of that program.
                   21914: #
                   21915: # GNU Libtool is distributed in the hope that it will be useful,
                   21916: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   21917: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   21918: # GNU General Public License for more details.
                   21919: #
                   21920: # You should have received a copy of the GNU General Public License
                   21921: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   21922: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   21923: # obtained by writing to the Free Software Foundation, Inc.,
                   21924: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   21925: 
                   21926: 
                   21927: # The names of the tagged configurations supported by this script.
                   21928: available_tags="CXX "
                   21929: 
                   21930: # ### BEGIN LIBTOOL CONFIG
                   21931: 
                   21932: # Which release of libtool.m4 was used?
                   21933: macro_version=$macro_version
                   21934: macro_revision=$macro_revision
                   21935: 
                   21936: # Assembler program.
                   21937: AS=$lt_AS
                   21938: 
                   21939: # DLL creation program.
                   21940: DLLTOOL=$lt_DLLTOOL
                   21941: 
                   21942: # Object dumper program.
                   21943: OBJDUMP=$lt_OBJDUMP
                   21944: 
1.145     moko     21945: # What type of objects to build.
                   21946: pic_mode=$pic_mode
                   21947: 
1.128     moko     21948: # Whether or not to build shared libraries.
                   21949: build_libtool_libs=$enable_shared
                   21950: 
1.138     moko     21951: # Whether or not to build static libraries.
                   21952: build_old_libs=$enable_static
                   21953: 
1.128     moko     21954: # Whether or not to optimize for fast installation.
                   21955: fast_install=$enable_fast_install
                   21956: 
                   21957: # Shell to use when invoking shell scripts.
                   21958: SHELL=$lt_SHELL
                   21959: 
                   21960: # An echo program that protects backslashes.
                   21961: ECHO=$lt_ECHO
                   21962: 
                   21963: # The PATH separator for the build system.
                   21964: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   21965: 
                   21966: # The host system.
                   21967: host_alias=$host_alias
                   21968: host=$host
                   21969: host_os=$host_os
                   21970: 
                   21971: # The build system.
                   21972: build_alias=$build_alias
                   21973: build=$build
                   21974: build_os=$build_os
                   21975: 
                   21976: # A sed program that does not truncate output.
                   21977: SED=$lt_SED
                   21978: 
                   21979: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   21980: Xsed="\$SED -e 1s/^X//"
                   21981: 
                   21982: # A grep program that handles long lines.
                   21983: GREP=$lt_GREP
                   21984: 
                   21985: # An ERE matcher.
                   21986: EGREP=$lt_EGREP
                   21987: 
                   21988: # A literal string matcher.
                   21989: FGREP=$lt_FGREP
                   21990: 
                   21991: # A BSD- or MS-compatible name lister.
                   21992: NM=$lt_NM
                   21993: 
                   21994: # Whether we need soft or hard links.
                   21995: LN_S=$lt_LN_S
                   21996: 
                   21997: # What is the maximum length of a command?
                   21998: max_cmd_len=$max_cmd_len
                   21999: 
                   22000: # Object file suffix (normally "o").
                   22001: objext=$ac_objext
                   22002: 
                   22003: # Executable file suffix (normally "").
                   22004: exeext=$exeext
                   22005: 
                   22006: # whether the shell understands "unset".
                   22007: lt_unset=$lt_unset
                   22008: 
                   22009: # turn spaces into newlines.
                   22010: SP2NL=$lt_lt_SP2NL
                   22011: 
                   22012: # turn newlines into spaces.
                   22013: NL2SP=$lt_lt_NL2SP
                   22014: 
                   22015: # convert \$build file names to \$host format.
                   22016: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   22017: 
                   22018: # convert \$build files to toolchain format.
                   22019: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   22020: 
                   22021: # Method to check whether dependent libraries are shared objects.
                   22022: deplibs_check_method=$lt_deplibs_check_method
                   22023: 
                   22024: # Command to use when deplibs_check_method = "file_magic".
                   22025: file_magic_cmd=$lt_file_magic_cmd
                   22026: 
                   22027: # How to find potential files when deplibs_check_method = "file_magic".
                   22028: file_magic_glob=$lt_file_magic_glob
                   22029: 
                   22030: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   22031: want_nocaseglob=$lt_want_nocaseglob
                   22032: 
                   22033: # Command to associate shared and link libraries.
                   22034: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   22035: 
                   22036: # The archiver.
                   22037: AR=$lt_AR
                   22038: 
                   22039: # Flags to create an archive.
                   22040: AR_FLAGS=$lt_AR_FLAGS
                   22041: 
                   22042: # How to feed a file listing to the archiver.
                   22043: archiver_list_spec=$lt_archiver_list_spec
                   22044: 
                   22045: # A symbol stripping program.
                   22046: STRIP=$lt_STRIP
                   22047: 
                   22048: # Commands used to install an old-style archive.
                   22049: RANLIB=$lt_RANLIB
                   22050: old_postinstall_cmds=$lt_old_postinstall_cmds
                   22051: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   22052: 
                   22053: # Whether to use a lock for old archive extraction.
                   22054: lock_old_archive_extraction=$lock_old_archive_extraction
                   22055: 
                   22056: # A C compiler.
                   22057: LTCC=$lt_CC
                   22058: 
                   22059: # LTCC compiler flags.
                   22060: LTCFLAGS=$lt_CFLAGS
                   22061: 
                   22062: # Take the output of nm and produce a listing of raw symbols and C names.
                   22063: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22064: 
                   22065: # Transform the output of nm in a proper C declaration.
                   22066: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22067: 
                   22068: # Transform the output of nm in a C name address pair.
                   22069: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22070: 
                   22071: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22072: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22073: 
                   22074: # Specify filename containing input files for \$NM.
                   22075: nm_file_list_spec=$lt_nm_file_list_spec
                   22076: 
                   22077: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22078: lt_sysroot=$lt_sysroot
                   22079: 
                   22080: # The name of the directory that contains temporary libtool files.
                   22081: objdir=$objdir
                   22082: 
                   22083: # Used to examine libraries when file_magic_cmd begins with "file".
                   22084: MAGIC_CMD=$MAGIC_CMD
                   22085: 
                   22086: # Must we lock files when doing compilation?
                   22087: need_locks=$lt_need_locks
                   22088: 
                   22089: # Manifest tool.
                   22090: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22091: 
                   22092: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22093: DSYMUTIL=$lt_DSYMUTIL
                   22094: 
                   22095: # Tool to change global to local symbols on Mac OS X.
                   22096: NMEDIT=$lt_NMEDIT
                   22097: 
                   22098: # Tool to manipulate fat objects and archives on Mac OS X.
                   22099: LIPO=$lt_LIPO
                   22100: 
                   22101: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22102: OTOOL=$lt_OTOOL
                   22103: 
                   22104: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22105: OTOOL64=$lt_OTOOL64
                   22106: 
                   22107: # Old archive suffix (normally "a").
                   22108: libext=$libext
                   22109: 
                   22110: # Shared library suffix (normally ".so").
                   22111: shrext_cmds=$lt_shrext_cmds
                   22112: 
                   22113: # The commands to extract the exported symbol list from a shared archive.
                   22114: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22115: 
                   22116: # Variables whose values should be saved in libtool wrapper scripts and
                   22117: # restored at link time.
                   22118: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22119: 
                   22120: # Do we need the "lib" prefix for modules?
                   22121: need_lib_prefix=$need_lib_prefix
                   22122: 
                   22123: # Do we need a version for libraries?
                   22124: need_version=$need_version
                   22125: 
                   22126: # Library versioning type.
                   22127: version_type=$version_type
                   22128: 
                   22129: # Shared library runtime path variable.
                   22130: runpath_var=$runpath_var
                   22131: 
                   22132: # Shared library path variable.
                   22133: shlibpath_var=$shlibpath_var
                   22134: 
                   22135: # Is shlibpath searched before the hard-coded library search path?
                   22136: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22137: 
                   22138: # Format of library name prefix.
                   22139: libname_spec=$lt_libname_spec
                   22140: 
                   22141: # List of archive names.  First name is the real one, the rest are links.
                   22142: # The last name is the one that the linker finds with -lNAME
                   22143: library_names_spec=$lt_library_names_spec
                   22144: 
                   22145: # The coded name of the library, if different from the real name.
                   22146: soname_spec=$lt_soname_spec
                   22147: 
                   22148: # Permission mode override for installation of shared libraries.
                   22149: install_override_mode=$lt_install_override_mode
                   22150: 
                   22151: # Command to use after installation of a shared archive.
                   22152: postinstall_cmds=$lt_postinstall_cmds
                   22153: 
                   22154: # Command to use after uninstallation of a shared archive.
                   22155: postuninstall_cmds=$lt_postuninstall_cmds
                   22156: 
                   22157: # Commands used to finish a libtool library installation in a directory.
                   22158: finish_cmds=$lt_finish_cmds
                   22159: 
                   22160: # As "finish_cmds", except a single script fragment to be evaled but
                   22161: # not shown.
                   22162: finish_eval=$lt_finish_eval
                   22163: 
                   22164: # Whether we should hardcode library paths into libraries.
                   22165: hardcode_into_libs=$hardcode_into_libs
                   22166: 
                   22167: # Compile-time system search path for libraries.
                   22168: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22169: 
                   22170: # Run-time system search path for libraries.
                   22171: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22172: 
                   22173: # Whether dlopen is supported.
                   22174: dlopen_support=$enable_dlopen
                   22175: 
                   22176: # Whether dlopen of programs is supported.
                   22177: dlopen_self=$enable_dlopen_self
                   22178: 
                   22179: # Whether dlopen of statically linked programs is supported.
                   22180: dlopen_self_static=$enable_dlopen_self_static
                   22181: 
                   22182: # Commands to strip libraries.
                   22183: old_striplib=$lt_old_striplib
                   22184: striplib=$lt_striplib
                   22185: 
                   22186: 
                   22187: # The linker used to build libraries.
                   22188: LD=$lt_LD
                   22189: 
                   22190: # How to create reloadable object files.
                   22191: reload_flag=$lt_reload_flag
                   22192: reload_cmds=$lt_reload_cmds
                   22193: 
                   22194: # Commands used to build an old-style archive.
                   22195: old_archive_cmds=$lt_old_archive_cmds
                   22196: 
                   22197: # A language specific compiler.
                   22198: CC=$lt_compiler
                   22199: 
                   22200: # Is the compiler the GNU compiler?
                   22201: with_gcc=$GCC
                   22202: 
                   22203: # Compiler flag to turn off builtin functions.
                   22204: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22205: 
                   22206: # Additional compiler flags for building library objects.
                   22207: pic_flag=$lt_lt_prog_compiler_pic
                   22208: 
                   22209: # How to pass a linker flag through the compiler.
                   22210: wl=$lt_lt_prog_compiler_wl
                   22211: 
                   22212: # Compiler flag to prevent dynamic linking.
                   22213: link_static_flag=$lt_lt_prog_compiler_static
                   22214: 
                   22215: # Does compiler simultaneously support -c and -o options?
                   22216: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22217: 
                   22218: # Whether or not to add -lc for building shared libraries.
                   22219: build_libtool_need_lc=$archive_cmds_need_lc
                   22220: 
                   22221: # Whether or not to disallow shared libs when runtime libs are static.
                   22222: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22223: 
                   22224: # Compiler flag to allow reflexive dlopens.
                   22225: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22226: 
                   22227: # Compiler flag to generate shared objects directly from archives.
                   22228: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22229: 
                   22230: # Whether the compiler copes with passing no objects directly.
                   22231: compiler_needs_object=$lt_compiler_needs_object
                   22232: 
                   22233: # Create an old-style archive from a shared archive.
                   22234: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22235: 
                   22236: # Create a temporary old-style archive to link instead of a shared archive.
                   22237: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22238: 
                   22239: # Commands used to build a shared archive.
                   22240: archive_cmds=$lt_archive_cmds
                   22241: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22242: 
                   22243: # Commands used to build a loadable module if different from building
                   22244: # a shared archive.
                   22245: module_cmds=$lt_module_cmds
                   22246: module_expsym_cmds=$lt_module_expsym_cmds
                   22247: 
                   22248: # Whether we are building with GNU ld or not.
                   22249: with_gnu_ld=$lt_with_gnu_ld
                   22250: 
                   22251: # Flag that allows shared libraries with undefined symbols to be built.
                   22252: allow_undefined_flag=$lt_allow_undefined_flag
                   22253: 
                   22254: # Flag that enforces no undefined symbols.
                   22255: no_undefined_flag=$lt_no_undefined_flag
                   22256: 
                   22257: # Flag to hardcode \$libdir into a binary during linking.
                   22258: # This must work even if \$libdir does not exist
                   22259: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22260: 
                   22261: # Whether we need a single "-rpath" flag with a separated argument.
                   22262: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22263: 
                   22264: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22265: # DIR into the resulting binary.
                   22266: hardcode_direct=$hardcode_direct
                   22267: 
                   22268: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22269: # DIR into the resulting binary and the resulting library dependency is
                   22270: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22271: # library is relocated.
                   22272: hardcode_direct_absolute=$hardcode_direct_absolute
                   22273: 
                   22274: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22275: # into the resulting binary.
                   22276: hardcode_minus_L=$hardcode_minus_L
                   22277: 
                   22278: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22279: # into the resulting binary.
                   22280: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22281: 
                   22282: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22283: # into the library and all subsequent libraries and executables linked
                   22284: # against it.
                   22285: hardcode_automatic=$hardcode_automatic
                   22286: 
                   22287: # Set to yes if linker adds runtime paths of dependent libraries
                   22288: # to runtime path list.
                   22289: inherit_rpath=$inherit_rpath
                   22290: 
                   22291: # Whether libtool must link a program against all its dependency libraries.
                   22292: link_all_deplibs=$link_all_deplibs
                   22293: 
                   22294: # Set to "yes" if exported symbols are required.
                   22295: always_export_symbols=$always_export_symbols
                   22296: 
                   22297: # The commands to list exported symbols.
                   22298: export_symbols_cmds=$lt_export_symbols_cmds
                   22299: 
                   22300: # Symbols that should not be listed in the preloaded symbols.
                   22301: exclude_expsyms=$lt_exclude_expsyms
                   22302: 
                   22303: # Symbols that must always be exported.
                   22304: include_expsyms=$lt_include_expsyms
                   22305: 
                   22306: # Commands necessary for linking programs (against libraries) with templates.
                   22307: prelink_cmds=$lt_prelink_cmds
                   22308: 
                   22309: # Commands necessary for finishing linking programs.
                   22310: postlink_cmds=$lt_postlink_cmds
                   22311: 
                   22312: # Specify filename containing input files.
                   22313: file_list_spec=$lt_file_list_spec
                   22314: 
                   22315: # How to hardcode a shared library path into an executable.
                   22316: hardcode_action=$hardcode_action
                   22317: 
                   22318: # The directories searched by this compiler when creating a shared library.
                   22319: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   22320: 
                   22321: # Dependencies to place before and after the objects being linked to
                   22322: # create a shared library.
                   22323: predep_objects=$lt_predep_objects
                   22324: postdep_objects=$lt_postdep_objects
                   22325: predeps=$lt_predeps
                   22326: postdeps=$lt_postdeps
                   22327: 
                   22328: # The library search path used internally by the compiler when linking
                   22329: # a shared library.
                   22330: compiler_lib_search_path=$lt_compiler_lib_search_path
                   22331: 
                   22332: # ### END LIBTOOL CONFIG
                   22333: 
                   22334: _LT_EOF
                   22335: 
                   22336:   case $host_os in
                   22337:   aix3*)
                   22338:     cat <<\_LT_EOF >> "$cfgfile"
                   22339: # AIX sometimes has problems with the GCC collect2 program.  For some
                   22340: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   22341: # vanish in a puff of smoke.
                   22342: if test "X${COLLECT_NAMES+set}" != Xset; then
                   22343:   COLLECT_NAMES=
                   22344:   export COLLECT_NAMES
                   22345: fi
                   22346: _LT_EOF
                   22347:     ;;
                   22348:   esac
                   22349: 
                   22350: 
                   22351: ltmain="$ac_aux_dir/ltmain.sh"
                   22352: 
                   22353: 
                   22354:   # We use sed instead of cat because bash on DJGPP gets confused if
                   22355:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   22356:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   22357:   # is reportedly fixed, but why not run on old versions too?
                   22358:   sed '$q' "$ltmain" >> "$cfgfile" \
                   22359:      || (rm -f "$cfgfile"; exit 1)
                   22360: 
                   22361:   if test x"$xsi_shell" = xyes; then
                   22362:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   22363: func_dirname ()\
                   22364: {\
                   22365: \    case ${1} in\
                   22366: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22367: \      *  ) func_dirname_result="${3}" ;;\
                   22368: \    esac\
                   22369: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   22370:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22371:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22372: test 0 -eq $? || _lt_function_replace_fail=:
                   22373: 
                   22374: 
                   22375:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   22376: func_basename ()\
                   22377: {\
                   22378: \    func_basename_result="${1##*/}"\
                   22379: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22380:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22381:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22382: test 0 -eq $? || _lt_function_replace_fail=:
                   22383: 
                   22384: 
                   22385:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   22386: func_dirname_and_basename ()\
                   22387: {\
                   22388: \    case ${1} in\
                   22389: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   22390: \      *  ) func_dirname_result="${3}" ;;\
                   22391: \    esac\
                   22392: \    func_basename_result="${1##*/}"\
                   22393: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   22394:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22395:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22396: test 0 -eq $? || _lt_function_replace_fail=:
                   22397: 
                   22398: 
                   22399:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   22400: func_stripname ()\
                   22401: {\
                   22402: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   22403: \    # positional parameters, so assign one to ordinary parameter first.\
                   22404: \    func_stripname_result=${3}\
                   22405: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   22406: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   22407: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   22408:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22409:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22410: test 0 -eq $? || _lt_function_replace_fail=:
                   22411: 
                   22412: 
                   22413:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   22414: func_split_long_opt ()\
                   22415: {\
                   22416: \    func_split_long_opt_name=${1%%=*}\
                   22417: \    func_split_long_opt_arg=${1#*=}\
                   22418: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22419:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22420:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22421: test 0 -eq $? || _lt_function_replace_fail=:
                   22422: 
                   22423: 
                   22424:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   22425: func_split_short_opt ()\
                   22426: {\
                   22427: \    func_split_short_opt_arg=${1#??}\
                   22428: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   22429: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   22430:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22431:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22432: test 0 -eq $? || _lt_function_replace_fail=:
                   22433: 
                   22434: 
                   22435:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   22436: func_lo2o ()\
                   22437: {\
                   22438: \    case ${1} in\
                   22439: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   22440: \      *)    func_lo2o_result=${1} ;;\
                   22441: \    esac\
                   22442: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   22443:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22444:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22445: test 0 -eq $? || _lt_function_replace_fail=:
                   22446: 
                   22447: 
                   22448:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   22449: func_xform ()\
                   22450: {\
                   22451:     func_xform_result=${1%.*}.lo\
                   22452: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   22453:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22454:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22455: test 0 -eq $? || _lt_function_replace_fail=:
                   22456: 
                   22457: 
                   22458:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   22459: func_arith ()\
                   22460: {\
                   22461:     func_arith_result=$(( $* ))\
                   22462: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   22463:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22464:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22465: test 0 -eq $? || _lt_function_replace_fail=:
                   22466: 
                   22467: 
                   22468:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   22469: func_len ()\
                   22470: {\
                   22471:     func_len_result=${#1}\
                   22472: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   22473:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22474:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22475: test 0 -eq $? || _lt_function_replace_fail=:
                   22476: 
                   22477: fi
                   22478: 
                   22479: if test x"$lt_shell_append" = xyes; then
                   22480:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   22481: func_append ()\
                   22482: {\
                   22483:     eval "${1}+=\\${2}"\
                   22484: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   22485:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22486:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22487: test 0 -eq $? || _lt_function_replace_fail=:
                   22488: 
                   22489: 
                   22490:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   22491: func_append_quoted ()\
                   22492: {\
                   22493: \    func_quote_for_eval "${2}"\
                   22494: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   22495: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   22496:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22497:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22498: test 0 -eq $? || _lt_function_replace_fail=:
                   22499: 
                   22500: 
                   22501:   # Save a `func_append' function call where possible by direct use of '+='
                   22502:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   22503:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22504:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22505:   test 0 -eq $? || _lt_function_replace_fail=:
                   22506: else
                   22507:   # Save a `func_append' function call even when '+=' is not available
                   22508:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   22509:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   22510:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   22511:   test 0 -eq $? || _lt_function_replace_fail=:
                   22512: fi
                   22513: 
                   22514: if test x"$_lt_function_replace_fail" = x":"; then
                   22515:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   22516: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   22517: fi
                   22518: 
                   22519: 
                   22520:    mv -f "$cfgfile" "$ofile" ||
                   22521:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   22522:   chmod +x "$ofile"
                   22523: 
                   22524: 
                   22525:     cat <<_LT_EOF >> "$ofile"
                   22526: 
                   22527: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   22528: 
                   22529: # The linker used to build libraries.
                   22530: LD=$lt_LD_CXX
                   22531: 
                   22532: # How to create reloadable object files.
                   22533: reload_flag=$lt_reload_flag_CXX
                   22534: reload_cmds=$lt_reload_cmds_CXX
                   22535: 
                   22536: # Commands used to build an old-style archive.
                   22537: old_archive_cmds=$lt_old_archive_cmds_CXX
                   22538: 
                   22539: # A language specific compiler.
                   22540: CC=$lt_compiler_CXX
                   22541: 
                   22542: # Is the compiler the GNU compiler?
                   22543: with_gcc=$GCC_CXX
                   22544: 
                   22545: # Compiler flag to turn off builtin functions.
                   22546: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   22547: 
                   22548: # Additional compiler flags for building library objects.
                   22549: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   22550: 
                   22551: # How to pass a linker flag through the compiler.
                   22552: wl=$lt_lt_prog_compiler_wl_CXX
                   22553: 
                   22554: # Compiler flag to prevent dynamic linking.
                   22555: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   22556: 
                   22557: # Does compiler simultaneously support -c and -o options?
                   22558: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   22559: 
                   22560: # Whether or not to add -lc for building shared libraries.
                   22561: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   22562: 
                   22563: # Whether or not to disallow shared libs when runtime libs are static.
                   22564: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   22565: 
                   22566: # Compiler flag to allow reflexive dlopens.
                   22567: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   22568: 
                   22569: # Compiler flag to generate shared objects directly from archives.
                   22570: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   22571: 
                   22572: # Whether the compiler copes with passing no objects directly.
                   22573: compiler_needs_object=$lt_compiler_needs_object_CXX
                   22574: 
                   22575: # Create an old-style archive from a shared archive.
                   22576: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   22577: 
                   22578: # Create a temporary old-style archive to link instead of a shared archive.
                   22579: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   22580: 
                   22581: # Commands used to build a shared archive.
                   22582: archive_cmds=$lt_archive_cmds_CXX
                   22583: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   22584: 
                   22585: # Commands used to build a loadable module if different from building
                   22586: # a shared archive.
                   22587: module_cmds=$lt_module_cmds_CXX
                   22588: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   22589: 
                   22590: # Whether we are building with GNU ld or not.
                   22591: with_gnu_ld=$lt_with_gnu_ld_CXX
                   22592: 
                   22593: # Flag that allows shared libraries with undefined symbols to be built.
                   22594: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   22595: 
                   22596: # Flag that enforces no undefined symbols.
                   22597: no_undefined_flag=$lt_no_undefined_flag_CXX
                   22598: 
                   22599: # Flag to hardcode \$libdir into a binary during linking.
                   22600: # This must work even if \$libdir does not exist
                   22601: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   22602: 
                   22603: # Whether we need a single "-rpath" flag with a separated argument.
                   22604: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   22605: 
                   22606: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22607: # DIR into the resulting binary.
                   22608: hardcode_direct=$hardcode_direct_CXX
                   22609: 
                   22610: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22611: # DIR into the resulting binary and the resulting library dependency is
                   22612: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22613: # library is relocated.
                   22614: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   22615: 
                   22616: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22617: # into the resulting binary.
                   22618: hardcode_minus_L=$hardcode_minus_L_CXX
                   22619: 
                   22620: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22621: # into the resulting binary.
                   22622: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   22623: 
                   22624: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22625: # into the library and all subsequent libraries and executables linked
                   22626: # against it.
                   22627: hardcode_automatic=$hardcode_automatic_CXX
                   22628: 
                   22629: # Set to yes if linker adds runtime paths of dependent libraries
                   22630: # to runtime path list.
                   22631: inherit_rpath=$inherit_rpath_CXX
                   22632: 
                   22633: # Whether libtool must link a program against all its dependency libraries.
                   22634: link_all_deplibs=$link_all_deplibs_CXX
                   22635: 
                   22636: # Set to "yes" if exported symbols are required.
                   22637: always_export_symbols=$always_export_symbols_CXX
                   22638: 
                   22639: # The commands to list exported symbols.
                   22640: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   22641: 
                   22642: # Symbols that should not be listed in the preloaded symbols.
                   22643: exclude_expsyms=$lt_exclude_expsyms_CXX
                   22644: 
                   22645: # Symbols that must always be exported.
                   22646: include_expsyms=$lt_include_expsyms_CXX
                   22647: 
                   22648: # Commands necessary for linking programs (against libraries) with templates.
                   22649: prelink_cmds=$lt_prelink_cmds_CXX
                   22650: 
                   22651: # Commands necessary for finishing linking programs.
                   22652: postlink_cmds=$lt_postlink_cmds_CXX
                   22653: 
                   22654: # Specify filename containing input files.
                   22655: file_list_spec=$lt_file_list_spec_CXX
                   22656: 
                   22657: # How to hardcode a shared library path into an executable.
                   22658: hardcode_action=$hardcode_action_CXX
                   22659: 
                   22660: # The directories searched by this compiler when creating a shared library.
                   22661: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   22662: 
                   22663: # Dependencies to place before and after the objects being linked to
                   22664: # create a shared library.
                   22665: predep_objects=$lt_predep_objects_CXX
                   22666: postdep_objects=$lt_postdep_objects_CXX
                   22667: predeps=$lt_predeps_CXX
                   22668: postdeps=$lt_postdeps_CXX
                   22669: 
                   22670: # The library search path used internally by the compiler when linking
                   22671: # a shared library.
                   22672: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   22673: 
                   22674: # ### END LIBTOOL TAG CONFIG: CXX
                   22675: _LT_EOF
                   22676: 
                   22677:  ;;
1.62      paf      22678:   esac
                   22679: done
                   22680: _ACEOF
                   22681: 
                   22682: cat >>$CONFIG_STATUS <<\_ACEOF
                   22683: 
                   22684: { (exit 0); exit 0; }
                   22685: _ACEOF
1.1       paf      22686: chmod +x $CONFIG_STATUS
1.62      paf      22687: ac_clean_files=$ac_clean_files_save
                   22688: 
1.1       paf      22689: 
1.62      paf      22690: # configure is writing to config.log, and then calls config.status.
                   22691: # config.status does its own redirection, appending to config.log.
                   22692: # Unfortunately, on DOS this fails, as config.log is still kept open
                   22693: # by configure, so config.status won't be able to write to it; its
                   22694: # output is simply discarded.  So we exec the FD to /dev/null,
                   22695: # effectively closing config.log, so it can be properly (re)opened and
                   22696: # appended to by config.status.  When coming back to configure, we
                   22697: # need to make the FD available again.
                   22698: if test "$no_create" != yes; then
                   22699:   ac_cs_success=:
                   22700:   ac_config_status_args=
                   22701:   test "$silent" = yes &&
                   22702:     ac_config_status_args="$ac_config_status_args --quiet"
                   22703:   exec 5>/dev/null
                   22704:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   22705:   exec 5>>config.log
                   22706:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   22707:   # would make configure fail if this is the last instruction.
                   22708:   $ac_cs_success || { (exit 1); exit 1; }
                   22709: fi
                   22710: 
                   22711: #
                   22712: # CONFIG_SUBDIRS section.
                   22713: #
1.1       paf      22714: if test "$no_recursion" != yes; then
                   22715: 
                   22716:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   22717:   ac_sub_configure_args=
                   22718:   ac_prev=
                   22719:   for ac_arg in $ac_configure_args; do
                   22720:     if test -n "$ac_prev"; then
                   22721:       ac_prev=
                   22722:       continue
                   22723:     fi
1.62      paf      22724:     case $ac_arg in
1.1       paf      22725:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   22726:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   22727:       ac_prev=cache_file ;;
                   22728:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      22729:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   22730:     | --c=*)
                   22731:       ;;
                   22732:     --config-cache | -C)
1.1       paf      22733:       ;;
                   22734:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   22735:       ac_prev=srcdir ;;
                   22736:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   22737:       ;;
1.62      paf      22738:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   22739:       ac_prev=prefix ;;
                   22740:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   22741:       ;;
1.1       paf      22742:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   22743:     esac
                   22744:   done
                   22745: 
1.62      paf      22746:   # Always prepend --prefix to ensure using the same prefix
                   22747:   # in subdir configurations.
                   22748:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   22749: 
                   22750:   ac_popdir=`pwd`
                   22751:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      22752: 
                   22753:     # Do not complain, so a configure script can configure whichever
                   22754:     # parts of a large source tree are present.
1.62      paf      22755:     test -d $srcdir/$ac_dir || continue
1.1       paf      22756: 
1.62      paf      22757:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   22758: echo "$as_me: configuring in $ac_dir" >&6;}
                   22759:     { if $as_mkdir_p; then
                   22760:     mkdir -p "$ac_dir"
                   22761:   else
                   22762:     as_dir="$ac_dir"
                   22763:     as_dirs=
                   22764:     while test ! -d "$as_dir"; do
                   22765:       as_dirs="$as_dir $as_dirs"
                   22766:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   22767: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      22768:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   22769:         X"$as_dir" : 'X\(//\)$' \| \
                   22770:         X"$as_dir" : 'X\(/\)' \| \
                   22771:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      22772: echo X"$as_dir" |
                   22773:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   22774:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   22775:          /^X\(\/\/\)$/{ s//\1/; q; }
                   22776:          /^X\(\/\).*/{ s//\1/; q; }
                   22777:          s/.*/./; q'`
                   22778:     done
                   22779:     test ! -n "$as_dirs" || mkdir $as_dirs
                   22780:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   22781: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   22782:    { (exit 1); exit 1; }; }; }
                   22783: 
                   22784:     ac_builddir=.
                   22785: 
                   22786: if test "$ac_dir" != .; then
                   22787:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   22788:   # A "../" for each directory in $ac_dir_suffix.
                   22789:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   22790: else
                   22791:   ac_dir_suffix= ac_top_builddir=
                   22792: fi
                   22793: 
                   22794: case $srcdir in
                   22795:   .)  # No --srcdir option.  We are building in place.
                   22796:     ac_srcdir=.
                   22797:     if test -z "$ac_top_builddir"; then
                   22798:        ac_top_srcdir=.
                   22799:     else
                   22800:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   22801:     fi ;;
                   22802:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   22803:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22804:     ac_top_srcdir=$srcdir ;;
                   22805:   *) # Relative path.
                   22806:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   22807:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   22808: esac
1.86      paf      22809: 
                   22810: # Do not use `cd foo && pwd` to compute absolute paths, because
                   22811: # the directories may not exist.
                   22812: case `pwd` in
                   22813: .) ac_abs_builddir="$ac_dir";;
                   22814: *)
                   22815:   case "$ac_dir" in
                   22816:   .) ac_abs_builddir=`pwd`;;
                   22817:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   22818:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   22819:   esac;;
                   22820: esac
                   22821: case $ac_abs_builddir in
                   22822: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22823: *)
                   22824:   case ${ac_top_builddir}. in
                   22825:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   22826:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   22827:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   22828:   esac;;
                   22829: esac
                   22830: case $ac_abs_builddir in
                   22831: .) ac_abs_srcdir=$ac_srcdir;;
                   22832: *)
                   22833:   case $ac_srcdir in
                   22834:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   22835:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   22836:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   22837:   esac;;
                   22838: esac
                   22839: case $ac_abs_builddir in
                   22840: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22841: *)
                   22842:   case $ac_top_srcdir in
                   22843:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   22844:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   22845:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   22846:   esac;;
                   22847: esac
1.1       paf      22848: 
                   22849: 
1.62      paf      22850:     cd $ac_dir
1.1       paf      22851: 
                   22852:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      22853:     if test -f $ac_srcdir/configure.gnu; then
                   22854:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   22855:     elif test -f $ac_srcdir/configure; then
                   22856:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   22857:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      22858:       ac_sub_configure=$ac_configure
                   22859:     else
1.62      paf      22860:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   22861: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      22862:       ac_sub_configure=
                   22863:     fi
                   22864: 
                   22865:     # The recursion is here.
                   22866:     if test -n "$ac_sub_configure"; then
                   22867:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      22868:       case $cache_file in
                   22869:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      22870:       *) # Relative path.
1.86      paf      22871:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      22872:       esac
                   22873: 
1.62      paf      22874:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   22875: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      22876:       # The eval makes quoting arguments work.
1.62      paf      22877:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      22878:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   22879:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      22880: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   22881:    { (exit 1); exit 1; }; }
1.1       paf      22882:     fi
                   22883: 
                   22884:     cd $ac_popdir
                   22885:   done
                   22886: fi
                   22887: 

E-mail: